2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GCC Quad-precision Math Library 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GCC Quad-precision Math Library'
558 PACKAGE_TARNAME
='libquadmath'
559 PACKAGE_VERSION
='0.1'
560 PACKAGE_STRING
='GCC Quad-precision Math Library 0.1'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
606 BUILD_LIBQUADMATH_FALSE
607 BUILD_LIBQUADMATH_TRUE
608 LIBQUAD_USE_SYMVER_SUN_FALSE
609 LIBQUAD_USE_SYMVER_SUN_TRUE
610 LIBQUAD_USE_SYMVER_GNU_FALSE
611 LIBQUAD_USE_SYMVER_GNU_TRUE
612 LIBQUAD_USE_SYMVER_FALSE
613 LIBQUAD_USE_SYMVER_TRUE
618 MAINTAINER_MODE_FALSE
670 INSTALL_STRIP_PROGRAM
725 program_transform_name
738 enable_option_checking
739 enable_version_specific_runtime_libs
740 enable_dependency_tracking
748 enable_maintainer_mode
750 enable_generated_files_in_srcdir
752 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir |
--docdir |
--docdi |
--doc |
--do)
883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
891 -enable-* |
--enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1365 --build=BUILD configure
for building on BUILD
[guessed
]
1366 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1371 if test -n "$ac_init_help"; then
1372 case $ac_init_help in
1373 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1378 --disable-option-checking ignore unrecognized
--enable/--with options
1379 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1380 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1381 --enable-version-specific-runtime-libs
1382 specify that runtime libraries should be installed
1383 in a compiler-specific directory
1384 --disable-dependency-tracking speeds up one-time build
1385 --enable-dependency-tracking do not reject slow dependency extractors
1386 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1387 --enable-static[=PKGS
] build static libraries
[default
=yes]
1388 --enable-fast-install[=PKGS
]
1389 optimize
for fast installation
[default
=yes]
1390 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1391 --enable-maintainer-mode enable make rules and dependencies not useful
1392 (and sometimes confusing
) to the casual installer
1393 --enable-multilib build many library versions
(default
)
1394 --enable-generated-files-in-srcdir
1395 put copies of generated files
in source dir intended
1396 for creating
source tarballs
for users without
1397 texinfo bison or flex
1400 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1401 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1402 --with-bugurl=URL Direct users to URL to report a bug
1403 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1405 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1407 Some influential environment variables
:
1408 CC C compiler
command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1411 nonstandard directory
<lib dir
>
1412 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1413 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1414 you have headers
in a nonstandard directory
<include dir
>
1417 Use these variables to override the choices made by
`configure' or to help
1418 it to find libraries and programs with nonstandard names/locations.
1420 Report bugs to the package provider.
1425 if test "$ac_init_help" = "recursive"; then
1426 # If there are subdirs, report their specific --help.
1427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1437 # A ".." for each directory in $ac_dir_suffix.
1438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1439 case $ac_top_builddir_sub in
1440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1444 ac_abs_top_builddir=$ac_pwd
1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir=$ac_top_build_prefix
1450 .) # We are building in place.
1452 ac_top_srcdir=$ac_top_builddir_sub
1453 ac_abs_top_srcdir=$ac_pwd ;;
1454 [\\/]* | ?:[\\/]* ) # Absolute name.
1455 ac_srcdir=$srcdir$ac_dir_suffix;
1456 ac_top_srcdir=$srcdir
1457 ac_abs_top_srcdir=$srcdir ;;
1459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460 ac_top_srcdir=$ac_top_build_prefix$srcdir
1461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1465 cd "$ac_dir" || { ac_status=$?; continue; }
1466 # Check for guested configure.
1467 if test -f "$ac_srcdir/configure.gnu"; then
1469 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470 elif test -f "$ac_srcdir/configure"; then
1472 $SHELL "$ac_srcdir/configure" --help=recursive
1474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 cd "$ac_pwd" || { ac_status=$?; break; }
1480 test -n "$ac_init_help" && exit $ac_status
1481 if $ac_init_version; then
1483 GCC Quad-precision Math Library configure 0.1
1484 generated by GNU Autoconf 2.64
1486 Copyright (C) 2009 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile ()
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext
1504 if { { ac_try="$ac_compile"
1506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1507 *) ac_try_echo
=$ac_try;;
1509 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1513 if test -s conftest.err
; then
1514 grep -v '^ *+' conftest.err
>conftest.er1
1515 cat conftest.er1
>&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.
$ac_objext; then :
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.
$ac_ext >&5
1530 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1533 } # ac_fn_c_try_compile
1535 # ac_fn_c_try_cpp LINENO
1536 # ----------------------
1537 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1540 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1541 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } >/dev/null && {
1557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1572 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1573 # -------------------------------------------------------
1574 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1575 # the include files in INCLUDES and setting the cache variable VAR
1577 ac_fn_c_check_header_mongrel ()
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1582 $as_echo_n "checking for $2... " >&6; }
1583 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1584 $as_echo_n "(cached) " >&6
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1590 # Is the header compilable?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1592 $as_echo_n "checking $2 usability... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1598 if ac_fn_c_try_compile "$LINENO"; then :
1599 ac_header_compiler=yes
1601 ac_header_compiler=no
1603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1605 $as_echo "$ac_header_compiler" >&6; }
1607 # Is the header present?
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1609 $as_echo_n "checking $2 presence... " >&6; }
1610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1614 if ac_fn_c_try_cpp "$LINENO"; then :
1615 ac_header_preproc=yes
1617 ac_header_preproc=no
1619 rm -f conftest.err conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1621 $as_echo "$ac_header_preproc" >&6; }
1623 # So? What about this header?
1624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1627 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1629 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1633 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1635 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1637 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1639 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647 $as_echo_n "(cached) " >&6
1649 eval "$3=\$ac_header_compiler"
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1657 } # ac_fn_c_check_header_mongrel
1659 # ac_fn_c_try_run LINENO
1660 # ----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662 # that executables *can* be run.
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if { { ac_try="$ac_link"
1668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1669 *) ac_try_echo
=$ac_try;;
1671 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_link") 2>&5
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1677 { { case "(($ac_try" in
1678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_try") 2>&5
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; }; }; then :
1689 $as_echo "$as_me: program exited with status $ac_status" >&5
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1693 ac_retval=$ac_status
1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1702 # -------------------------------------------------------
1703 # Tests whether HEADER exists and can be compiled using the include files in
1704 # INCLUDES, setting the cache variable VAR accordingly.
1705 ac_fn_c_check_header_compile ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1711 $as_echo_n "(cached) " >&6
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1718 if ac_fn_c_try_compile "$LINENO"; then :
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 } # ac_fn_c_check_header_compile
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext conftest$ac_exeext
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>conftest.err
1748 if test -s conftest.err
; then
1749 grep -v '^ *+' conftest.err
>conftest.er1
1750 cat conftest.er1
>&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest
$ac_exeext && {
1758 test "$cross_compiling" = yes ||
1759 $as_test_x conftest
$ac_exeext
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.
$ac_ext >&5
1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770 # interfere with the next link command; also delete a directory that is
1771 # left behind by Apple's compiler. We do this before executing the actions.
1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1776 } # ac_fn_c_try_link
1778 # ac_fn_c_check_func LINENO FUNC VAR
1779 # ----------------------------------
1780 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1781 ac_fn_c_check_func
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 $as_echo_n "(cached) " >&6
1789 if test x
$gcc_no_link = xyes
; then
1790 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1796 #define $2 innocuous_$2
1798 /* System header to define __stub macros and hopefully few prototypes,
1799 which can conflict with char $2 (); below.
1800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801 <limits.h> exists even on freestanding compilers. */
1804 # include <limits.h>
1806 # include <assert.h>
1811 /* Override any GCC internal prototype to avoid an error.
1812 Use char because int might match the return type of a GCC
1813 builtin and then its argument prototype would still apply. */
1818 /* The GNU C library defines this for functions which it implements
1819 to always fail with ENOSYS. Some functions are actually named
1820 something starting with __ and the normal name is an alias. */
1821 #if defined __stub_$2 || defined __stub___$2
1833 if ac_fn_c_try_link
"$LINENO"; then :
1838 rm -f core conftest.err conftest.
$ac_objext \
1839 conftest
$ac_exeext conftest.
$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1846 } # ac_fn_c_check_func
1847 cat >config.log
<<_ACEOF
1848 This file contains any messages produced by compilers while
1849 running configure, to aid debugging if configure makes a mistake.
1851 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1852 generated by GNU Autoconf 2.64. Invocation command line was
1864 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1865 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1866 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1867 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1868 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1870 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1871 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1873 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1874 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1875 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1876 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1877 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1878 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1879 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir
=.
1888 $as_echo "PATH: $as_dir"
1904 # Keep a trace of the command line.
1905 # Strip out --no-create and --no-recursion so they do not pile up.
1906 # Strip out --silent because we don't want to record it for future runs.
1907 # Also quote any args containing shell meta-characters.
1908 # Make two passes to allow for proper duplicate-argument suppression.
1912 ac_must_keep_next
=false
1918 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1919 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1920 |
-silent |
--silent |
--silen |
--sile |
--sil)
1923 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1926 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1928 as_fn_append ac_configure_args1
" '$ac_arg'"
1929 if test $ac_must_keep_next = true
; then
1930 ac_must_keep_next
=false
# Got value, back to normal.
1933 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1934 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1935 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1936 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1937 case "$ac_configure_args0 " in
1938 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1941 -* ) ac_must_keep_next
=true
;;
1944 as_fn_append ac_configure_args
" '$ac_arg'"
1949 { ac_configure_args0
=; unset ac_configure_args0
;}
1950 { ac_configure_args1
=; unset ac_configure_args1
;}
1952 # When interrupted or exit'd, cleanup temporary files, and complete
1953 # config.log. We remove comments because anyway the quotes in there
1954 # would cause problems or look ugly.
1955 # WARNING: Use '\'' to represent an apostrophe within the trap.
1956 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1957 trap 'exit_status=$?
1958 # Save into config.log some information that might help in debugging.
1963 ## ---------------- ##
1964 ## Cache variables. ##
1965 ## ---------------- ##
1968 # The following way of writing the cache mishandles newlines in values,
1970 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1971 eval ac_val=\$$ac_var
1975 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1979 _ | IFS | as_nl) ;; #(
1980 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1981 *) { eval $ac_var=; unset $ac_var;} ;;
1986 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1987 *${as_nl}ac_space=\ *)
1989 "s/'\''/'\''\\\\'\'''\''/g;
1990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2001 ## ----------------- ##
2002 ## Output variables. ##
2003 ## ----------------- ##
2006 for ac_var in $ac_subst_vars
2008 eval ac_val=\$$ac_var
2010 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2012 $as_echo "$ac_var='\''$ac_val'\''"
2016 if test -n "$ac_subst_files"; then
2018 ## ------------------- ##
2019 ## File substitutions. ##
2020 ## ------------------- ##
2023 for ac_var
in $ac_subst_files
2025 eval ac_val
=\$
$ac_var
2027 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2029 $as_echo "$ac_var='\''$ac_val'\''"
2034 if test -s confdefs.h; then
2044 test "$ac_signal" != 0 &&
2045 $as_echo "$as_me: caught signal $ac_signal"
2046 $as_echo "$as_me: exit $exit_status"
2048 rm -f core *.core core.conftest.* &&
2049 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2052 for ac_signal
in 1 2 13 15; do
2053 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2058 rm -f -r conftest
* confdefs.h
2060 $as_echo "/* confdefs.h */" > confdefs.h
2062 # Predefined preprocessor variables.
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_NAME "$PACKAGE_NAME"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2072 cat >>confdefs.h
<<_ACEOF
2073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_STRING "$PACKAGE_STRING"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_URL "$PACKAGE_URL"
2089 # Let the site file select an alternate cache file if it wants to.
2090 # Prefer an explicitly selected file to automatically selected ones.
2093 if test -n "$CONFIG_SITE"; then
2094 ac_site_file1
=$CONFIG_SITE
2095 elif test "x$prefix" != xNONE
; then
2096 ac_site_file1
=$prefix/share
/config.site
2097 ac_site_file2
=$prefix/etc
/config.site
2099 ac_site_file1
=$ac_default_prefix/share
/config.site
2100 ac_site_file2
=$ac_default_prefix/etc
/config.site
2102 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2104 test "x$ac_site_file" = xNONE
&& continue
2105 if test -r "$ac_site_file"; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2107 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2108 sed 's/^/| /' "$ac_site_file" >&5
2113 if test -r "$cache_file"; then
2114 # Some versions of bash will fail to source /dev/null (special
2115 # files actually), so we avoid doing that.
2116 if test -f "$cache_file"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2118 $as_echo "$as_me: loading cache $cache_file" >&6;}
2120 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2121 *) .
"./$cache_file";;
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2126 $as_echo "$as_me: creating cache $cache_file" >&6;}
2130 # Check that the precious variables saved in the cache have kept the same
2132 ac_cache_corrupted
=false
2133 for ac_var
in $ac_precious_vars; do
2134 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2135 eval ac_new_set
=\
$ac_env_${ac_var}_set
2136 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2137 eval ac_new_val
=\
$ac_env_${ac_var}_value
2138 case $ac_old_set,$ac_new_set in
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2141 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2142 ac_cache_corrupted
=: ;;
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2145 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2146 ac_cache_corrupted
=: ;;
2149 if test "x$ac_old_val" != "x$ac_new_val"; then
2150 # differences in whitespace do not lead to failure.
2151 ac_old_val_w
=`echo x $ac_old_val`
2152 ac_new_val_w
=`echo x $ac_new_val`
2153 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2155 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2156 ac_cache_corrupted
=:
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2159 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2160 eval $ac_var=\
$ac_old_val
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2163 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2165 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2168 # Pass precious variables to config.status.
2169 if test "$ac_new_set" = set; then
2171 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2172 *) ac_arg
=$ac_var=$ac_new_val ;;
2174 case " $ac_configure_args " in
2175 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2176 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2180 if $ac_cache_corrupted; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2185 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2187 ## -------------------- ##
2188 ## Main body of script. ##
2189 ## -------------------- ##
2192 ac_cpp
='$CPP $CPPFLAGS'
2193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2201 ac_config_headers
="$ac_config_headers config.h"
2204 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2206 # You will slowly go insane if you do not grok the following fact: when
2207 # building this library, the top-level /target/ becomes the library's /host/.
2209 # configure then causes --target to default to --host, exactly like any
2210 # other package using autoconf. Therefore, 'target' and 'host' will
2211 # always be the same. This makes sense both for native and cross compilers
2212 # just think about it for a little while. :-)
2214 # Also, if this library is being configured as part of a cross compiler, the
2215 # top-level configure script will pass the "real" host as $with_cross_host.
2217 # Do not delete or change the following two lines. For why, see
2218 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2220 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2221 for ac_t
in install-sh
install.sh shtool
; do
2222 if test -f "$ac_dir/$ac_t"; then
2224 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2229 if test -z "$ac_aux_dir"; then
2230 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2233 # These three variables are undocumented and unsupported,
2234 # and are intended to be withdrawn in a future Autoconf release.
2235 # They can cause serious problems if a builder's source tree is in a directory
2236 # whose full name contains unusual characters.
2237 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2238 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2239 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2242 # Make sure we can run config.sub.
2243 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2244 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2247 $as_echo_n "checking build system type... " >&6; }
2248 if test "${ac_cv_build+set}" = set; then :
2249 $as_echo_n "(cached) " >&6
2251 ac_build_alias
=$build_alias
2252 test "x$ac_build_alias" = x
&&
2253 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2254 test "x$ac_build_alias" = x
&&
2255 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2256 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2257 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2261 $as_echo "$ac_cv_build" >&6; }
2262 case $ac_cv_build in
2264 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2267 ac_save_IFS
=$IFS; IFS
='-'
2273 # Remember, the first character of IFS is used to create $*,
2274 # except with old shells:
2277 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2281 $as_echo_n "checking host system type... " >&6; }
2282 if test "${ac_cv_host+set}" = set; then :
2283 $as_echo_n "(cached) " >&6
2285 if test "x$host_alias" = x
; then
2286 ac_cv_host
=$ac_cv_build
2288 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2289 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2294 $as_echo "$ac_cv_host" >&6; }
2297 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2300 ac_save_IFS
=$IFS; IFS
='-'
2306 # Remember, the first character of IFS is used to create $*,
2307 # except with old shells:
2310 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2314 $as_echo_n "checking target system type... " >&6; }
2315 if test "${ac_cv_target+set}" = set; then :
2316 $as_echo_n "(cached) " >&6
2318 if test "x$target_alias" = x
; then
2319 ac_cv_target
=$ac_cv_host
2321 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2322 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2327 $as_echo "$ac_cv_target" >&6; }
2328 case $ac_cv_target in
2330 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2332 target
=$ac_cv_target
2333 ac_save_IFS
=$IFS; IFS
='-'
2339 # Remember, the first character of IFS is used to create $*,
2340 # except with old shells:
2343 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2346 # The aliases save the names the user supplied, while $host etc.
2347 # will get canonicalized.
2348 test -n "$target_alias" &&
2349 test "$program_prefix$program_suffix$program_transform_name" = \
2351 program_prefix
=${target_alias}-
2353 case ${build_alias} in
2354 "") build_noncanonical
=${build} ;;
2355 *) build_noncanonical
=${build_alias} ;;
2358 case ${host_alias} in
2359 "") host_noncanonical
=${build_noncanonical} ;;
2360 *) host_noncanonical
=${host_alias} ;;
2363 case ${target_alias} in
2364 "") target_noncanonical
=${host_noncanonical} ;;
2365 *) target_noncanonical
=${target_alias} ;;
2371 target_alias
=${target_alias-$host_alias}
2374 am__api_version
='1.11'
2376 # Find a good install program. We prefer a C program (faster),
2377 # so one script is as good as another. But avoid the broken or
2378 # incompatible versions:
2379 # SysV /etc/install, /usr/sbin/install
2380 # SunOS /usr/etc/install
2381 # IRIX /sbin/install
2383 # AmigaOS /C/install, which installs bootblocks on floppy discs
2384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2387 # OS/2's system install, which has a completely different semantic
2388 # ./install, which can be erroneously created by make from ./install.sh.
2389 # Reject install programs that cannot install multiple files.
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2391 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2392 if test -z "$INSTALL"; then
2393 if test "${ac_cv_path_install+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir
=.
2401 # Account for people who put trailing slashes in PATH elements.
2402 case $as_dir/ in #((
2403 .
/ | .
// |
/[cC
]/* | \
2404 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2405 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2408 # OSF1 and SCO ODT 3.0 have their own names for install.
2409 # Don't use installbsd from OSF since it installs stuff as root
2411 for ac_prog
in ginstall scoinst
install; do
2412 for ac_exec_ext
in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2414 if test $ac_prog = install &&
2415 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2416 # AIX install. It has an incompatible calling convention.
2418 elif test $ac_prog = install &&
2419 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2420 # program-specific install script used by HP pwplus--don't use.
2423 rm -rf conftest.one conftest.two conftest.dir
2424 echo one
> conftest.one
2425 echo two
> conftest.two
2427 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2428 test -s conftest.one
&& test -s conftest.two
&&
2429 test -s conftest.dir
/conftest.one
&&
2430 test -s conftest.dir
/conftest.two
2432 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2445 rm -rf conftest.one conftest.two conftest.dir
2448 if test "${ac_cv_path_install+set}" = set; then
2449 INSTALL
=$ac_cv_path_install
2451 # As a last resort, use the slow shell script. Don't cache a
2452 # value for INSTALL within a source directory, because that will
2453 # break other packages using the cache if that directory is
2454 # removed, or if the value is a relative name.
2455 INSTALL
=$ac_install_sh
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2459 $as_echo "$INSTALL" >&6; }
2461 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2462 # It thinks the first close brace ends the variable substitution.
2463 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2465 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2467 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2470 $as_echo_n "checking whether build environment is sane... " >&6; }
2473 echo timestamp
> conftest.
file
2474 # Reject unsafe characters in $srcdir or the absolute working directory
2475 # name. Accept space and tab only in the latter.
2479 *[\\\"\
#\$\&\'\`$am_lf]*)
2480 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2483 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2484 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2487 # Do `set' in a subshell so we don't clobber the current shell's
2488 # arguments. Must try -L first in case configure is actually a
2489 # symlink; some systems play weird games with the mod time of symlinks
2490 # (eg FreeBSD returns the mod time of the symlink's containing
2493 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2494 if test "$*" = "X"; then
2496 set X
`ls -t "$srcdir/configure" conftest.file`
2499 if test "$*" != "X $srcdir/configure conftest.file" \
2500 && test "$*" != "X conftest.file $srcdir/configure"; then
2502 # If neither matched, then we have a broken ls. This can happen
2503 # if, for instance, CONFIG_SHELL is bash and it inherits a
2504 # broken ls alias from the environment. This has actually
2505 # happened. Such a system could not be considered "sane".
2506 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2507 alias in your environment" "$LINENO" 5
2510 test "$2" = conftest.
file
2516 as_fn_error
"newly created file is older than distributed files!
2517 Check your system clock" "$LINENO" 5
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520 $as_echo "yes" >&6; }
2521 test "$program_prefix" != NONE
&&
2522 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2523 # Use a double $ so make ignores it.
2524 test "$program_suffix" != NONE
&&
2525 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2526 # Double any \ or $.
2527 # By default was `s,x,x', remove it if useless.
2528 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2529 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2531 # expand $ac_aux_dir to an absolute path
2532 am_aux_dir
=`cd $ac_aux_dir && pwd`
2534 if test x
"${MISSING+set}" != xset
; then
2537 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2539 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2542 # Use eval to expand $SHELL
2543 if eval "$MISSING --run true"; then
2544 am_missing_run
="$MISSING --run "
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2548 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2551 if test x
"${install_sh}" != xset
; then
2554 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2556 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2560 # Installed binaries are usually stripped using `strip' when the user
2561 # run `make install-strip'. However `strip' might not be the right
2562 # tool to use in cross-compilation environments, therefore Automake
2563 # will honor the `STRIP' environment variable to overrule this program.
2564 if test "$cross_compiling" != no
; then
2565 if test -n "$ac_tool_prefix"; then
2566 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2567 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_STRIP+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$STRIP"; then
2574 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 STRIP
=$ac_cv_prog_STRIP
2594 if test -n "$STRIP"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2596 $as_echo "$STRIP" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2604 if test -z "$ac_cv_prog_STRIP"; then
2606 # Extract the first word of "strip", so it can be a program name with args.
2607 set dummy strip
; ac_word
=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2611 $as_echo_n "(cached) " >&6
2613 if test -n "$ac_ct_STRIP"; then
2614 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 ac_cv_prog_ac_ct_STRIP
="strip"
2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2634 if test -n "$ac_ct_STRIP"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2636 $as_echo "$ac_ct_STRIP" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2642 if test "x$ac_ct_STRIP" = x
; then
2645 case $cross_compiling:$ac_tool_warned in
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2649 ac_tool_warned
=yes ;;
2654 STRIP
="$ac_cv_prog_STRIP"
2658 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2661 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2662 if test -z "$MKDIR_P"; then
2663 if test "${ac_cv_path_mkdir+set}" = set; then :
2664 $as_echo_n "(cached) " >&6
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_prog
in mkdir gmkdir
; do
2672 for ac_exec_ext
in '' $ac_executable_extensions; do
2673 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2674 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2675 'mkdir (GNU coreutils) '* | \
2676 'mkdir (coreutils) '* | \
2677 'mkdir (fileutils) '4.1*)
2678 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2688 if test "${ac_cv_path_mkdir+set}" = set; then
2689 MKDIR_P
="$ac_cv_path_mkdir -p"
2691 # As a last resort, use the slow shell script. Don't cache a
2692 # value for MKDIR_P within a source directory, because that will
2693 # break other packages using the cache if that directory is
2694 # removed, or if the value is a relative name.
2695 test -d .
/--version && rmdir .
/--version
2696 MKDIR_P
="$ac_install_sh -d"
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2700 $as_echo "$MKDIR_P" >&6; }
2704 [\\/$
]* | ?
:[\\/]*) ;;
2705 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2708 for ac_prog
in gawk mawk nawk
awk
2710 # Extract the first word of "$ac_prog", so it can be a program name with args.
2711 set dummy
$ac_prog; ac_word
=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if test "${ac_cv_prog_AWK+set}" = set; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$AWK"; then
2718 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_AWK
="$ac_prog"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 if test -n "$AWK"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2740 $as_echo "$AWK" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2747 test -n "$AWK" && break
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2753 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2754 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2755 $as_echo_n "(cached) " >&6
2757 cat >conftest.
make <<\_ACEOF
2760 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2765 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2767 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2771 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2773 $as_echo "yes" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2778 SET_MAKE
="MAKE=${MAKE-make}"
2781 rm -rf .tst
2>/dev
/null
2782 mkdir .tst
2>/dev
/null
2783 if test -d .tst
; then
2788 rmdir .tst
2>/dev
/null
2790 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2791 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2792 # is not polluted with repeated "-I."
2793 am__isrc
=' -I$(srcdir)'
2794 # test to see if srcdir already configured
2795 if test -f $srcdir/config.status
; then
2796 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2800 # test whether we have cygpath
2801 if test -z "$CYGPATH_W"; then
2802 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2803 CYGPATH_W
='cygpath -w'
2810 # Define the identity of the package.
2811 PACKAGE
='libquadmath'
2815 cat >>confdefs.h
<<_ACEOF
2816 #define PACKAGE "$PACKAGE"
2820 cat >>confdefs.h
<<_ACEOF
2821 #define VERSION "$VERSION"
2824 # Some tools Automake needs.
2826 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2829 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2832 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2835 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2838 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2840 # We need awk for the "check" target. The system "awk" is bad on
2842 # Always define AMTAR for backward compatibility.
2844 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2846 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2854 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2855 # Check whether --enable-version-specific-runtime-libs was given.
2856 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2857 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2858 yes) version_specific_libs
=yes ;;
2859 no
) version_specific_libs
=no
;;
2860 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2863 version_specific_libs
=no
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2867 $as_echo "$version_specific_libs" >&6; }
2871 DEPDIR
="${am__leading_dot}deps"
2873 ac_config_commands
="$ac_config_commands depfiles"
2876 am_make
=${MAKE-make}
2877 cat > confinc
<< 'END'
2879 @
echo this is the am__doit target
2882 # If we don't find an include directive, just comment out the code.
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2884 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2888 # First try GNU make style include.
2889 echo "include confinc" > confmf
2890 # Ignore all kinds of additional output from `make'.
2891 case `$am_make -s -f confmf 2> /dev/null` in #(
2892 *the\ am__doit\ target
*)
2898 # Now try BSD make style include.
2899 if test "$am__include" = "#"; then
2900 echo '.include "confinc"' > confmf
2901 case `$am_make -s -f confmf 2> /dev/null` in #(
2902 *the\ am__doit\ target
*)
2903 am__include
=.include
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2912 $as_echo "$_am_result" >&6; }
2913 rm -f confinc confmf
2915 # Check whether --enable-dependency-tracking was given.
2916 if test "${enable_dependency_tracking+set}" = set; then :
2917 enableval
=$enable_dependency_tracking;
2920 if test "x$enable_dependency_tracking" != xno
; then
2921 am_depcomp
="$ac_aux_dir/depcomp"
2924 if test "x$enable_dependency_tracking" != xno; then
2934 ac_cpp
='$CPP $CPPFLAGS'
2935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2940 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if test "${ac_cv_prog_CC+set}" = set; then :
2944 $as_echo_n "(cached) " >&6
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC
="$CC" # Let the user override the test.
2949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir
=.
2954 for ac_exec_ext
in '' $ac_executable_extensions; do
2955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2956 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2977 if test -z "$ac_cv_prog_CC"; then
2979 # Extract the first word of "gcc", so it can be a program name with args.
2980 set dummy gcc
; ac_word
=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$ac_ct_CC"; then
2987 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir
=.
2994 for ac_exec_ext
in '' $ac_executable_extensions; do
2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996 ac_cv_prog_ac_ct_CC
="gcc"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3007 if test -n "$ac_ct_CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3009 $as_echo "$ac_ct_CC" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3015 if test "x$ac_ct_CC" = x
; then
3018 case $cross_compiling:$ac_tool_warned in
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned
=yes ;;
3030 if test -z "$CC"; then
3031 if test -n "$ac_tool_prefix"; then
3032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3033 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if test "${ac_cv_prog_CC+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$CC"; then
3040 ac_cv_prog_CC
="$CC" # Let the user override the test.
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 for ac_exec_ext
in '' $ac_executable_extensions; do
3048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 if test -n "$CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3071 if test -z "$CC"; then
3072 # Extract the first word of "cc", so it can be a program name with args.
3073 set dummy cc
; ac_word
=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if test "${ac_cv_prog_CC+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$CC"; then
3080 ac_cv_prog_CC
="$CC" # Let the user override the test.
3083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir
=.
3088 for ac_exec_ext
in '' $ac_executable_extensions; do
3089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3091 ac_prog_rejected
=yes
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 if test $ac_prog_rejected = yes; then
3103 # We found a bogon in the path, so make sure we never use it.
3104 set dummy
$ac_cv_prog_CC
3106 if test $# != 0; then
3107 # We chose a different compiler from the bogus one.
3108 # However, it has the same basename, so the bogon will be chosen
3109 # first if we set CC to just the basename; use the full file name.
3111 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3117 if test -n "$CC"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3119 $as_echo "$CC" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3127 if test -z "$CC"; then
3128 if test -n "$ac_tool_prefix"; then
3129 for ac_prog
in cl.exe
3131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3132 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_CC+set}" = set; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC
="$CC" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168 test -n "$CC" && break
3171 if test -z "$CC"; then
3173 for ac_prog
in cl.exe
3175 # Extract the first word of "$ac_prog", so it can be a program name with args.
3176 set dummy
$ac_prog; ac_word
=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_ac_ct_CC
="$ac_prog"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3203 if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3205 $as_echo "$ac_ct_CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3212 test -n "$ac_ct_CC" && break
3215 if test "x$ac_ct_CC" = x
; then
3218 case $cross_compiling:$ac_tool_warned in
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3222 ac_tool_warned
=yes ;;
3231 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error
"no acceptable C compiler found in \$PATH
3234 See \`config.log' for more details." "$LINENO" 5; }
3236 # Provide some information about the compiler.
3237 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3240 for ac_option
in --version -v -V -qversion; do
3241 { { ac_try
="$ac_compiler $ac_option >&5"
3243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3250 if test -s conftest.err; then
3252 ... rest of stderr output deleted ...
3253 10q' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3255 rm -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3274 (eval $ac_link) 2>&5
3276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 test $ac_status = 0; }; then :
3282 if test x$gcc_no_link = xyes; then
3283 # Setting cross_compile will disable run tests; it will
3284 # also disable AC_CHECK_FILE but that's generally
3285 # correct if we can't link.
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 ac_clean_files_save=$ac_clean_files
3301 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3302 # Try to create an executable without -o first, disregard a.out.
3303 # It will help us diagnose broken compilers, and finding out an intuition
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3306 $as_echo_n "checking for C compiler default output file name... " >&6; }
3307 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3309 # The possible output files:
3310 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3313 for ac_file in $ac_files
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3317 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3322 if { { ac_try="$ac_link_default"
3324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3325 *) ac_try_echo
=$ac_try;;
3327 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
3329 (eval "$ac_link_default") 2>&5
3331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3332 test $ac_status = 0; }; then :
3333 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3334 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3335 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3336 # so that the user can short-circuit this test for compilers unknown to
3338 for ac_file
in $ac_files ''
3340 test -f "$ac_file" ||
continue
3342 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3345 # We found the default executable, but exeext='' is most
3349 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3351 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3353 # We set ac_cv_exeext here because the later test for it is not
3354 # safe: cross compilers may not add the suffix if given an `-o'
3355 # argument, so we may need to know it at that point already.
3356 # Even if this section looks crufty: it has the advantage of
3363 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3369 $as_echo "$ac_file" >&6; }
3370 if test -z "$ac_file"; then :
3371 $as_echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 { as_fn_set_status
77
3377 as_fn_error
"C compiler cannot create executables
3378 See \`config.log' for more details." "$LINENO" 5; }; }
3380 ac_exeext
=$ac_cv_exeext
3382 # Check that the compiler produces executables we can run. If not, either
3383 # the compiler is broken, or we cross compile.
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3385 $as_echo_n "checking whether the C compiler works... " >&6; }
3386 # If not cross compiling, check that we can run a simple program.
3387 if test "$cross_compiling" != yes; then
3388 if { ac_try
='./$ac_file'
3389 { { case "(($ac_try" in
3390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_try") 2>&5
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }; }; then
3401 if test "$cross_compiling" = maybe; then
3404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error "cannot run C compiled programs.
3407 If you meant to cross compile
, use \
`--host'.
3408 See \`config.log
' for more details." "$LINENO" 5; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3413 $as_echo "yes" >&6; }
3415 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3416 ac_clean_files=$ac_clean_files_save
3417 # Check that the compiler produces executables we can run. If not, either
3418 # the compiler is broken, or we cross compile.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3420 $as_echo_n "checking whether we are cross compiling... " >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3422 $as_echo "$cross_compiling" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3425 $as_echo_n "checking for suffix of executables... " >&6; }
3426 if { { ac_try="$ac_link"
3428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429 *) ac_try_echo=$ac_try;;
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_link") 2>&5
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }; then :
3437 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3438 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3439 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3441 for ac_file
in conftest.exe conftest conftest.
*; do
3442 test -f "$ac_file" ||
continue
3444 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3445 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3454 See \`config.log' for more details." "$LINENO" 5; }
3456 rm -f conftest
$ac_cv_exeext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3458 $as_echo "$ac_cv_exeext" >&6; }
3460 rm -f conftest.
$ac_ext
3461 EXEEXT
=$ac_cv_exeext
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3465 $as_echo_n "checking for suffix of object files... " >&6; }
3466 if test "${ac_cv_objext+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3480 rm -f conftest.o conftest.obj
3481 if { { ac_try
="$ac_compile"
3483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3487 $as_echo "$ac_try_echo"; } >&5
3488 (eval "$ac_compile") 2>&5
3490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3491 test $ac_status = 0; }; then :
3492 for ac_file in conftest.o conftest.obj conftest.*; do
3493 test -f "$ac_file" || continue;
3495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3496 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3501 $as_echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506 as_fn_error "cannot compute suffix of object files
: cannot compile
3507 See \
`config.log' for more details." "$LINENO" 5; }
3509 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3512 $as_echo "$ac_cv_objext" >&6; }
3513 OBJEXT=$ac_cv_objext
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3516 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3517 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3518 $as_echo_n "(cached) " >&6
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3534 if ac_fn_c_try_compile "$LINENO"; then :
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3544 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3545 if test $ac_compiler_gnu = yes; then
3550 ac_test_CFLAGS=${CFLAGS+set}
3551 ac_save_CFLAGS=$CFLAGS
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3553 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3554 if test "${ac_cv_prog_cc_g+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3557 ac_save_c_werror_flag=$ac_c_werror_flag
3558 ac_c_werror_flag=yes
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3572 if ac_fn_c_try_compile "$LINENO"; then :
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3587 if ac_fn_c_try_compile "$LINENO"; then :
3590 ac_c_werror_flag=$ac_save_c_werror_flag
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 if ac_fn_c_try_compile "$LINENO"; then :
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611 ac_c_werror_flag=$ac_save_c_werror_flag
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3614 $as_echo "$ac_cv_prog_cc_g" >&6; }
3615 if test "$ac_test_CFLAGS" = set; then
3616 CFLAGS=$ac_save_CFLAGS
3617 elif test $ac_cv_prog_cc_g = yes; then
3618 if test "$GCC" = yes; then
3624 if test "$GCC" = yes; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3631 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3632 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3633 $as_echo_n "(cached) " >&6
3635 ac_cv_prog_cc_c89=no
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3641 #include <sys/types.h>
3642 #include <sys/stat.h>
3643 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3644 struct buf { int x; };
3645 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3646 static char *e (p, i)
3652 static char *f (char * (*g) (char **, int), char **p, ...)
3657 s = g (p, va_arg (v,int));
3662 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3663 function prototypes and stuff, but not '\xHH' hex character constants.
3664 These don't provoke an error unfortunately, instead are silently treated
3665 as 'x'. The following induces an error, until -std is added to get
3666 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3667 array size at least. It's necessary to write '\x00'==0 to get something
3668 that's true only with -std. */
3669 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3671 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3672 inside strings and character constants. */
3674 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3676 int test (int i, double x);
3677 struct s1 {int (*f) (int a);};
3678 struct s2 {int (*f) (double a);};
3679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3690 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3691 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3693 CC="$ac_save_CC $ac_arg"
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695 ac_cv_prog_cc_c89=$ac_arg
3697 rm -f core conftest.err conftest.$ac_objext
3698 test "x$ac_cv_prog_cc_c89" != "xno" && break
3700 rm -f conftest.$ac_ext
3705 case "x$ac_cv_prog_cc_c89" in
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3708 $as_echo "none needed" >&6; } ;;
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3711 $as_echo "unsupported" >&6; } ;;
3713 CC="$CC $ac_cv_prog_cc_c89"
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3715 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3717 if test "x$ac_cv_prog_cc_c89" != xno; then :
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3727 depcc="$CC" am_compiler_list=
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3730 $as_echo_n "checking dependency style of $depcc... " >&6; }
3731 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3734 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3735 # We make a subdir and do the tests there. Otherwise we can end up
3736 # making bogus files that we don't know about and never remove. For
3737 # instance it was reported that on HP-UX the gcc test will end up
3738 # making a dummy file named `D
' -- because `-MD' means
`put the output
3741 # Copy depcomp to subdir because otherwise we won't find it if we're
3742 # using a relative directory.
3743 cp "$am_depcomp" conftest.dir
3745 # We will build objects and dependencies in a subdirectory because
3746 # it helps to detect inapplicable dependency modes. For instance
3747 # both Tru64's cc and ICC support -MD to output dependencies as a
3748 # side effect of compilation, but ICC will put the dependencies in
3749 # the current directory while Tru64 will put them in the object
3753 am_cv_CC_dependencies_compiler_type=none
3754 if test "$am_compiler_list" = ""; then
3755 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3758 case " $depcc " in #(
3759 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3762 for depmode in $am_compiler_list; do
3763 # Setup a source with many dependencies, because some compilers
3764 # like to wrap large dependency lists on column 80 (with \), and
3765 # we should not choose a depcomp mode which is confused by this.
3767 # We need to recreate these files for each test, as the compiler may
3768 # overwrite some of them when testing with obscure command lines.
3769 # This happens at least with the AIX C compiler.
3771 for i in 1 2 3 4 5 6; do
3772 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3773 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3774 # Solaris 8's
{/usr
,}/bin
/sh.
3775 touch sub
/conftst
$i.h
3777 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3779 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3780 # mode. It turns out that the SunPro C++ compiler does not properly
3781 # handle `-M -o', and we need to detect this. Also, some Intel
3782 # versions had trouble with output in subdirs
3783 am__obj
=sub
/conftest.
${OBJEXT-o}
3784 am__minus_obj
="-o $am__obj"
3787 # This depmode causes a compiler race in universal mode.
3788 test "$am__universal" = false ||
continue
3791 # after this tag, mechanisms are not by side-effect, so they'll
3792 # only be used when explicitly requested
3793 if test "x$enable_dependency_tracking" = xyes
; then
3799 msvisualcpp | msvcmsys
)
3800 # This compiler won't grok `-c -o', but also, the minuso test has
3801 # not run yet. These depmodes are late enough in the game, and
3802 # so weak that their functioning should not be impacted.
3803 am__obj
=conftest.
${OBJEXT-o}
3808 if depmode
=$depmode \
3809 source=sub
/conftest.c object
=$am__obj \
3810 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3811 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3812 >/dev
/null
2>conftest.err
&&
3813 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3814 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3815 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3816 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3817 # icc doesn't choke on unknown options, it will just issue warnings
3818 # or remarks (even with -Werror). So we grep stderr for any message
3819 # that says an option was ignored or not supported.
3820 # When given -MP, icc 7.0 and 7.1 complain thusly:
3821 # icc: Command line warning: ignoring option '-M'; no argument required
3822 # The diagnosis changed in icc 8.0:
3823 # icc: Command line remark: option '-MP' not supported
3824 if (grep 'ignoring option' conftest.err ||
3825 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3826 am_cv_CC_dependencies_compiler_type
=$depmode
3835 am_cv_CC_dependencies_compiler_type
=none
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3840 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3841 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3844 test "x$enable_dependency_tracking" != xno \
3845 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3847 am__fastdepCC_FALSE
='#'
3849 am__fastdepCC_TRUE
='#'
3850 am__fastdepCC_FALSE
=
3856 ac_cpp
='$CPP $CPPFLAGS'
3857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3861 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3862 # On Suns, sometimes $CPP names a directory.
3863 if test -n "$CPP" && test -d "$CPP"; then
3866 if test -z "$CPP"; then
3867 if test "${ac_cv_prog_CPP+set}" = set; then :
3868 $as_echo_n "(cached) " >&6
3870 # Double quotes because CPP needs to be expanded
3871 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3874 for ac_c_preproc_warn_flag
in '' yes
3876 # Use a header file that comes with gcc, so configuring glibc
3877 # with a fresh cross-compiler works.
3878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3879 # <limits.h> exists even on freestanding compilers.
3880 # On the NeXT, cc -E runs the code through the compiler's parser,
3881 # not just through cpp. "Syntax error" is here to catch this case.
3882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3885 # include <limits.h>
3887 # include <assert.h>
3891 if ac_fn_c_try_cpp
"$LINENO"; then :
3894 # Broken: fails on valid input.
3897 rm -f conftest.err conftest.
$ac_ext
3899 # OK, works on sane cases. Now check whether nonexistent headers
3900 # can be detected and how.
3901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3903 #include <ac_nonexistent.h>
3905 if ac_fn_c_try_cpp
"$LINENO"; then :
3906 # Broken: success on invalid input.
3909 # Passes both tests.
3913 rm -f conftest.err conftest.
$ac_ext
3916 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3917 rm -f conftest.err conftest.
$ac_ext
3918 if $ac_preproc_ok; then :
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3931 $as_echo "$CPP" >&6; }
3933 for ac_c_preproc_warn_flag
in '' yes
3935 # Use a header file that comes with gcc, so configuring glibc
3936 # with a fresh cross-compiler works.
3937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3938 # <limits.h> exists even on freestanding compilers.
3939 # On the NeXT, cc -E runs the code through the compiler's parser,
3940 # not just through cpp. "Syntax error" is here to catch this case.
3941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3944 # include <limits.h>
3946 # include <assert.h>
3950 if ac_fn_c_try_cpp
"$LINENO"; then :
3953 # Broken: fails on valid input.
3956 rm -f conftest.err conftest.
$ac_ext
3958 # OK, works on sane cases. Now check whether nonexistent headers
3959 # can be detected and how.
3960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3962 #include <ac_nonexistent.h>
3964 if ac_fn_c_try_cpp
"$LINENO"; then :
3965 # Broken: success on invalid input.
3968 # Passes both tests.
3972 rm -f conftest.err conftest.
$ac_ext
3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976 rm -f conftest.err conftest.
$ac_ext
3977 if $ac_preproc_ok; then :
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3983 See \`config.log' for more details." "$LINENO" 5; }
3987 ac_cpp
='$CPP $CPPFLAGS'
3988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3994 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3995 if test "${ac_cv_path_GREP+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3998 if test -z "$GREP"; then
3999 ac_path_GREP_found
=false
4000 # Loop through the user's path and test for each of PROGNAME-LIST
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4002 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4005 test -z "$as_dir" && as_dir
=.
4006 for ac_prog
in grep ggrep
; do
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4009 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4010 # Check for GNU ac_path_GREP and select it if it is found.
4011 # Check for GNU $ac_path_GREP
4012 case `"$ac_path_GREP" --version 2>&1` in
4014 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4017 $as_echo_n 0123456789 >"conftest.in"
4020 cat "conftest.in" "conftest.in" >"conftest.tmp"
4021 mv "conftest.tmp" "conftest.in"
4022 cp "conftest.in" "conftest.nl"
4023 $as_echo 'GREP' >> "conftest.nl"
4024 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4025 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4026 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4027 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4028 # Best one so far, save it but keep looking for a better one
4029 ac_cv_path_GREP
="$ac_path_GREP"
4030 ac_path_GREP_max
=$ac_count
4032 # 10*(2^10) chars as input seems more than enough
4033 test $ac_count -gt 10 && break
4035 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4038 $ac_path_GREP_found && break 3
4043 if test -z "$ac_cv_path_GREP"; then
4044 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4047 ac_cv_path_GREP
=$GREP
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4052 $as_echo "$ac_cv_path_GREP" >&6; }
4053 GREP
="$ac_cv_path_GREP"
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4057 $as_echo_n "checking for egrep... " >&6; }
4058 if test "${ac_cv_path_EGREP+set}" = set; then :
4059 $as_echo_n "(cached) " >&6
4061 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4062 then ac_cv_path_EGREP
="$GREP -E"
4064 if test -z "$EGREP"; then
4065 ac_path_EGREP_found
=false
4066 # Loop through the user's path and test for each of PROGNAME-LIST
4067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4068 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4071 test -z "$as_dir" && as_dir
=.
4072 for ac_prog
in egrep; do
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4075 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4076 # Check for GNU ac_path_EGREP and select it if it is found.
4077 # Check for GNU $ac_path_EGREP
4078 case `"$ac_path_EGREP" --version 2>&1` in
4080 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4083 $as_echo_n 0123456789 >"conftest.in"
4086 cat "conftest.in" "conftest.in" >"conftest.tmp"
4087 mv "conftest.tmp" "conftest.in"
4088 cp "conftest.in" "conftest.nl"
4089 $as_echo 'EGREP' >> "conftest.nl"
4090 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4091 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4092 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4093 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4094 # Best one so far, save it but keep looking for a better one
4095 ac_cv_path_EGREP
="$ac_path_EGREP"
4096 ac_path_EGREP_max
=$ac_count
4098 # 10*(2^10) chars as input seems more than enough
4099 test $ac_count -gt 10 && break
4101 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4104 $ac_path_EGREP_found && break 3
4109 if test -z "$ac_cv_path_EGREP"; then
4110 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4113 ac_cv_path_EGREP
=$EGREP
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4119 $as_echo "$ac_cv_path_EGREP" >&6; }
4120 EGREP
="$ac_cv_path_EGREP"
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4124 $as_echo_n "checking for ANSI C header files... " >&6; }
4125 if test "${ac_cv_header_stdc+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4143 if ac_fn_c_try_compile
"$LINENO"; then :
4144 ac_cv_header_stdc
=yes
4146 ac_cv_header_stdc
=no
4148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4150 if test $ac_cv_header_stdc = yes; then
4151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4158 $EGREP "memchr" >/dev
/null
2>&1; then :
4161 ac_cv_header_stdc
=no
4167 if test $ac_cv_header_stdc = yes; then
4168 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4175 $EGREP "free" >/dev
/null
2>&1; then :
4178 ac_cv_header_stdc
=no
4184 if test $ac_cv_header_stdc = yes; then
4185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4186 if test "$cross_compiling" = yes; then :
4189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4193 #if ((' ' & 0x0FF) == 0x020)
4194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4197 # define ISLOWER(c) \
4198 (('a' <= (c) && (c) <= 'i') \
4199 || ('j' <= (c) && (c) <= 'r') \
4200 || ('s' <= (c) && (c) <= 'z'))
4201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4209 for (i = 0; i < 256; i++)
4210 if (XOR (islower (i), ISLOWER (i))
4211 || toupper (i) != TOUPPER (i))
4216 if ac_fn_c_try_run
"$LINENO"; then :
4219 ac_cv_header_stdc
=no
4221 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4222 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4228 $as_echo "$ac_cv_header_stdc" >&6; }
4229 if test $ac_cv_header_stdc = yes; then
4231 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4235 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4236 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4237 inttypes.h stdint.h unistd.h
4239 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4240 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4242 eval as_val
=\$
$as_ac_Header
4243 if test "x$as_val" = x
""yes; then :
4244 cat >>confdefs.h
<<_ACEOF
4245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4254 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4255 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4262 if test "$MINIX" = yes; then
4264 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4267 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4270 $as_echo "#define _MINIX 1" >>confdefs.h
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4276 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4277 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4283 # define __EXTENSIONS__ 1
4284 $ac_includes_default
4293 if ac_fn_c_try_compile
"$LINENO"; then :
4294 ac_cv_safe_to_define___extensions__
=yes
4296 ac_cv_safe_to_define___extensions__
=no
4298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4301 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4302 test $ac_cv_safe_to_define___extensions__ = yes &&
4303 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4305 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4307 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4309 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4311 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4315 # See if makeinfo has been installed and is modern enough
4316 # that we can use it.
4318 # Extract the first word of "makeinfo", so it can be a program name with args.
4319 set dummy makeinfo
; ac_word
=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4323 $as_echo_n "(cached) " >&6
4325 if test -n "$MAKEINFO"; then
4326 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir
=.
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4335 ac_cv_prog_MAKEINFO
="makeinfo"
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 MAKEINFO
=$ac_cv_prog_MAKEINFO
4346 if test -n "$MAKEINFO"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4348 $as_echo "$MAKEINFO" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4355 if test -n "$MAKEINFO"; then
4356 # Found it, now check the version.
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4358 $as_echo_n "checking for modern makeinfo... " >&6; }
4359 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4362 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4363 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4365 case $ac_prog_version in
4366 '') gcc_cv_prog_makeinfo_modern
=no
;;
4367 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4368 *) gcc_cv_prog_makeinfo_modern
=no
;;
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4373 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4375 gcc_cv_prog_makeinfo_modern
=no
4377 if test $gcc_cv_prog_makeinfo_modern = no
; then
4378 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4381 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4383 BUILD_INFO_FALSE
='#'
4392 # Check whether --with-bugurl was given.
4393 if test "${with_bugurl+set}" = set; then :
4394 withval
=$with_bugurl; case "$withval" in
4395 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
4398 *) BUGURL
="$withval"
4402 BUGURL
="http://gcc.gnu.org/bugs.html"
4412 REPORT_BUGS_TO
="<$BUGURL>"
4413 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4424 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4429 macro_version
='2.2.7a'
4430 macro_revision
='1.3134'
4444 ltmain
="$ac_aux_dir/ltmain.sh"
4446 # Backslashify metacharacters that are still active within
4447 # double-quoted strings.
4448 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4450 # Same as above, but do not quote variable references.
4451 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4453 # Sed substitution to delay expansion of an escaped shell variable in a
4454 # double_quote_subst'ed string.
4455 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4457 # Sed substitution to delay expansion of an escaped single quote.
4458 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4460 # Sed substitution to avoid accidental globbing in evaled expressions
4461 no_glob_subst
='s/\*/\\\*/g'
4463 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4464 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4465 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4468 $as_echo_n "checking how to print strings... " >&6; }
4469 # Test print first, because it will be a builtin if present.
4470 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4471 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4473 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4476 # Use this function as a fallback that always works.
4477 func_fallback_echo ()
4479 eval 'cat <<_LTECHO_EOF
4483 ECHO='func_fallback_echo
'
4486 # func_echo_all arg...
4487 # Invoke $ECHO with all args, space-separated.
4494 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4495 $as_echo "printf" >&6; } ;;
4496 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4497 $as_echo "print -r" >&6; } ;;
4498 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4499 $as_echo "cat" >&6; } ;;
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4516 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4517 if test "${ac_cv_path_SED+set}" = set; then :
4518 $as_echo_n "(cached) " >&6
4520 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4521 for ac_i in 1 2 3 4 5 6 7; do
4522 ac_script="$ac_script$as_nl$ac_script"
4524 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4525 { ac_script=; unset ac_script;}
4526 if test -z "$SED"; then
4527 ac_path_SED_found=false
4528 # Loop through the user's path and
test for each of PROGNAME-LIST
4529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4533 test -z "$as_dir" && as_dir
=.
4534 for ac_prog
in sed gsed
; do
4535 for ac_exec_ext
in '' $ac_executable_extensions; do
4536 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4537 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4538 # Check for GNU ac_path_SED and select it if it is found.
4539 # Check for GNU $ac_path_SED
4540 case `"$ac_path_SED" --version 2>&1` in
4542 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4545 $as_echo_n 0123456789 >"conftest.in"
4548 cat "conftest.in" "conftest.in" >"conftest.tmp"
4549 mv "conftest.tmp" "conftest.in"
4550 cp "conftest.in" "conftest.nl"
4551 $as_echo '' >> "conftest.nl"
4552 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4553 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4554 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4555 if test $ac_count -gt ${ac_path_SED_max-0}; then
4556 # Best one so far, save it but keep looking for a better one
4557 ac_cv_path_SED
="$ac_path_SED"
4558 ac_path_SED_max
=$ac_count
4560 # 10*(2^10) chars as input seems more than enough
4561 test $ac_count -gt 10 && break
4563 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4566 $ac_path_SED_found && break 3
4571 if test -z "$ac_cv_path_SED"; then
4572 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4580 $as_echo "$ac_cv_path_SED" >&6; }
4581 SED
="$ac_cv_path_SED"
4584 test -z "$SED" && SED
=sed
4585 Xsed
="$SED -e 1s/^X//"
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4598 $as_echo_n "checking for fgrep... " >&6; }
4599 if test "${ac_cv_path_FGREP+set}" = set; then :
4600 $as_echo_n "(cached) " >&6
4602 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4603 then ac_cv_path_FGREP
="$GREP -F"
4605 if test -z "$FGREP"; then
4606 ac_path_FGREP_found
=false
4607 # Loop through the user's path and test for each of PROGNAME-LIST
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_prog
in fgrep
; do
4614 for ac_exec_ext
in '' $ac_executable_extensions; do
4615 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4616 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4617 # Check for GNU ac_path_FGREP and select it if it is found.
4618 # Check for GNU $ac_path_FGREP
4619 case `"$ac_path_FGREP" --version 2>&1` in
4621 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4624 $as_echo_n 0123456789 >"conftest.in"
4627 cat "conftest.in" "conftest.in" >"conftest.tmp"
4628 mv "conftest.tmp" "conftest.in"
4629 cp "conftest.in" "conftest.nl"
4630 $as_echo 'FGREP' >> "conftest.nl"
4631 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4632 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4633 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4634 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4635 # Best one so far, save it but keep looking for a better one
4636 ac_cv_path_FGREP
="$ac_path_FGREP"
4637 ac_path_FGREP_max
=$ac_count
4639 # 10*(2^10) chars as input seems more than enough
4640 test $ac_count -gt 10 && break
4642 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4645 $ac_path_FGREP_found && break 3
4650 if test -z "$ac_cv_path_FGREP"; then
4651 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4654 ac_cv_path_FGREP
=$FGREP
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4660 $as_echo "$ac_cv_path_FGREP" >&6; }
4661 FGREP
="$ac_cv_path_FGREP"
4664 test -z "$GREP" && GREP
=grep
4684 # Check whether --with-gnu-ld was given.
4685 if test "${with_gnu_ld+set}" = set; then :
4686 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4692 if test "$GCC" = yes; then
4693 # Check if gcc -print-prog-name=ld gives a path.
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4695 $as_echo_n "checking for ld used by $CC... " >&6; }
4698 # gcc leaves a trailing carriage return which upsets mingw
4699 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4701 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4704 # Accept absolute paths.
4706 re_direlt
='/[^/][^/]*/\.\./'
4707 # Canonicalize the pathname of ld
4708 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4709 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4710 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4712 test -z "$LD" && LD
="$ac_prog"
4715 # If it fails, then pretend we aren't using GCC.
4719 # If it is relative, then search for the first ld in PATH.
4723 elif test "$with_gnu_ld" = yes; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4725 $as_echo_n "checking for GNU ld... " >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4728 $as_echo_n "checking for non-GNU ld... " >&6; }
4730 if test "${lt_cv_path_LD+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -z "$LD"; then
4734 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4735 for ac_dir
in $PATH; do
4737 test -z "$ac_dir" && ac_dir
=.
4738 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4739 lt_cv_path_LD
="$ac_dir/$ac_prog"
4740 # Check to see if the program is GNU ld. I'd rather use --version,
4741 # but apparently some variants of GNU ld only accept -v.
4742 # Break only if it was the GNU/non-GNU ld that we prefer.
4743 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4744 *GNU
* |
*'with BFD'*)
4745 test "$with_gnu_ld" != no
&& break
4748 test "$with_gnu_ld" != yes && break
4755 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4760 if test -n "$LD"; then
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4762 $as_echo "$LD" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4767 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4769 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4770 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4773 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4774 case `$LD -v 2>&1 </dev/null` in
4775 *GNU
* |
*'with BFD'*)
4776 lt_cv_prog_gnu_ld
=yes
4779 lt_cv_prog_gnu_ld
=no
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4784 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4785 with_gnu_ld
=$lt_cv_prog_gnu_ld
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4796 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4797 if test "${lt_cv_path_NM+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$NM"; then
4801 # Let the user override the test.
4804 lt_nm_to_check
="${ac_tool_prefix}nm"
4805 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4806 lt_nm_to_check
="$lt_nm_to_check nm"
4808 for lt_tmp_nm
in $lt_nm_to_check; do
4809 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4810 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4812 test -z "$ac_dir" && ac_dir
=.
4813 tmp_nm
="$ac_dir/$lt_tmp_nm"
4814 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4815 # Check to see if the nm accepts a BSD-compat flag.
4816 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4817 # nm: unknown option "B" ignored
4818 # Tru64's nm complains that /dev/null is an invalid object file
4819 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4820 */dev
/null
* |
*'Invalid file or object type'*)
4821 lt_cv_path_NM
="$tmp_nm -B"
4825 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4827 lt_cv_path_NM
="$tmp_nm -p"
4831 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4832 continue # so that we can try to find one that supports BSD flags
4841 : ${lt_cv_path_NM=no}
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4845 $as_echo "$lt_cv_path_NM" >&6; }
4846 if test "$lt_cv_path_NM" != "no"; then
4849 # Didn't find any BSD compatible name lister, look for dumpbin.
4850 if test -n "$DUMPBIN"; then :
4851 # Let the user override the test.
4853 if test -n "$ac_tool_prefix"; then
4854 for ac_prog
in dumpbin
"link -dump"
4856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4857 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$DUMPBIN"; then
4864 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 DUMPBIN
=$ac_cv_prog_DUMPBIN
4884 if test -n "$DUMPBIN"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4886 $as_echo "$DUMPBIN" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4893 test -n "$DUMPBIN" && break
4896 if test -z "$DUMPBIN"; then
4897 ac_ct_DUMPBIN
=$DUMPBIN
4898 for ac_prog
in dumpbin
"link -dump"
4900 # Extract the first word of "$ac_prog", so it can be a program name with args.
4901 set dummy
$ac_prog; ac_word
=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -n "$ac_ct_DUMPBIN"; then
4908 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_exec_ext
in '' $ac_executable_extensions; do
4916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4928 if test -n "$ac_ct_DUMPBIN"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4930 $as_echo "$ac_ct_DUMPBIN" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4937 test -n "$ac_ct_DUMPBIN" && break
4940 if test "x$ac_ct_DUMPBIN" = x
; then
4943 case $cross_compiling:$ac_tool_warned in
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4947 ac_tool_warned
=yes ;;
4949 DUMPBIN
=$ac_ct_DUMPBIN
4953 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4955 DUMPBIN
="$DUMPBIN -symbols"
4963 if test "$DUMPBIN" != ":"; then
4967 test -z "$NM" && NM
=nm
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4975 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4976 if test "${lt_cv_nm_interface+set}" = set; then :
4977 $as_echo_n "(cached) " >&6
4979 lt_cv_nm_interface
="BSD nm"
4980 echo "int some_variable = 0;" > conftest.
$ac_ext
4981 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4982 (eval "$ac_compile" 2>conftest.err
)
4983 cat conftest.err
>&5
4984 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4985 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4986 cat conftest.err
>&5
4987 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4988 cat conftest.out
>&5
4989 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4990 lt_cv_nm_interface
="MS dumpbin"
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4995 $as_echo "$lt_cv_nm_interface" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5008 # find the maximum length of command line arguments
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5010 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5011 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5012 $as_echo_n "(cached) " >&6
5019 # On DJGPP, this test can blow up pretty badly due to problems in libc
5020 # (any single argument exceeding 2000 bytes causes a buffer overrun
5021 # during glob expansion). Even if it were fixed, the result of this
5022 # check would be larger than it should be.
5023 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5027 # Under GNU Hurd, this test is not required because there is
5028 # no limit to the length of command line arguments.
5029 # Libtool will interpret -1 as no limit whatsoever
5030 lt_cv_sys_max_cmd_len
=-1;
5033 cygwin
* | mingw
* | cegcc
*)
5034 # On Win9x/ME, this test blows up -- it succeeds, but takes
5035 # about 5 minutes as the teststring grows exponentially.
5036 # Worse, since 9x/ME are not pre-emptively multitasking,
5037 # you end up with a "frozen" computer, even though with patience
5038 # the test eventually succeeds (with a max line length of 256k).
5039 # Instead, let's just punt: use the minimum linelength reported by
5040 # all of the supported platforms: 8192 (on NT/2K/XP).
5041 lt_cv_sys_max_cmd_len
=8192;
5045 # On MiNT this can take a long time and run out of memory.
5046 lt_cv_sys_max_cmd_len
=8192;
5050 # On AmigaOS with pdksh, this test takes hours, literally.
5051 # So we just punt and use a minimum line length of 8192.
5052 lt_cv_sys_max_cmd_len
=8192;
5055 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5056 # This has been around since 386BSD, at least. Likely further.
5057 if test -x /sbin
/sysctl
; then
5058 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5059 elif test -x /usr
/sbin
/sysctl
; then
5060 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5062 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5064 # And add a safety zone
5065 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5066 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5070 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5071 lt_cv_sys_max_cmd_len
=196608
5075 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5076 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5077 # nice to cause kernel panics so lets avoid the loop below.
5078 # First set a reasonable default.
5079 lt_cv_sys_max_cmd_len
=16384
5081 if test -x /sbin
/sysconfig
; then
5082 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5083 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5088 lt_cv_sys_max_cmd_len
=102400
5090 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5091 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5092 if test -n "$kargmax"; then
5093 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5095 lt_cv_sys_max_cmd_len
=32768
5099 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5100 if test -n "$lt_cv_sys_max_cmd_len"; then
5101 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5102 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5104 # Make teststring a little bigger before we do anything with it.
5105 # a 1K string should be a reasonable start.
5106 for i
in 1 2 3 4 5 6 7 8 ; do
5107 teststring
=$teststring$teststring
5109 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5110 # If test is not a shell built-in, we'll probably end up computing a
5111 # maximum length that is only half of the actual maximum length, but
5113 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5114 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5115 test $i != 17 # 1/2 MB should be enough
5118 teststring
=$teststring$teststring
5120 # Only check the string length outside the loop.
5121 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5123 # Add a significant safety factor because C++ compilers can tack on
5124 # massive amounts of additional arguments before passing them to the
5125 # linker. It appears as though 1/2 is a usable value.
5126 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5133 if test -n $lt_cv_sys_max_cmd_len ; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5135 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5138 $as_echo "none" >&6; }
5140 max_cmd_len
=$lt_cv_sys_max_cmd_len
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5152 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5153 # Try some XSI features
5156 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5158 && eval 'test $(( 1 + 1 )) -eq 2 \
5159 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5162 $as_echo "$xsi_shell" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5166 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5168 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5170 && lt_shell_append=yes
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5172 $as_echo "$lt_shell_append" >&6; }
5175 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5185 # test EBCDIC or ASCII
5186 case `echo X|tr X '\101'` in
5187 A) # ASCII based system
5188 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5189 lt_SP2NL='tr \040 \012'
5190 lt_NL2SP='tr \015\012 \040\040'
5192 *) # EBCDIC based system
5193 lt_SP2NL='tr \100 \n'
5194 lt_NL2SP='tr \r\n \100\100'
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5207 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5208 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5209 $as_echo_n "(cached
) " >&6
5211 lt_cv_ld_reload_flag='-r'
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5214 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5215 reload_flag=$lt_cv_ld_reload_flag
5216 case $reload_flag in
5218 *) reload_flag=" $reload_flag" ;;
5220 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5223 if test "$GCC" = yes; then
5224 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5226 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5239 if test -n "$ac_tool_prefix"; then
5240 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5241 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5243 $as_echo_n "checking
for $ac_word...
" >&6; }
5244 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5245 $as_echo_n "(cached
) " >&6
5247 if test -n "$OBJDUMP"; then
5248 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5267 OBJDUMP=$ac_cv_prog_OBJDUMP
5268 if test -n "$OBJDUMP"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5270 $as_echo "$OBJDUMP" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5273 $as_echo "no
" >&6; }
5278 if test -z "$ac_cv_prog_OBJDUMP"; then
5279 ac_ct_OBJDUMP=$OBJDUMP
5280 # Extract the first word of "objdump
", so it can be a program name with args.
5281 set dummy objdump; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5283 $as_echo_n "checking
for $ac_word...
" >&6; }
5284 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5285 $as_echo_n "(cached
) " >&6
5287 if test -n "$ac_ct_OBJDUMP"; then
5288 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5307 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5308 if test -n "$ac_ct_OBJDUMP"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5310 $as_echo "$ac_ct_OBJDUMP" >&6; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5313 $as_echo "no
" >&6; }
5316 if test "x
$ac_ct_OBJDUMP" = x; then
5319 case $cross_compiling:$ac_tool_warned in
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5322 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5323 ac_tool_warned=yes ;;
5325 OBJDUMP=$ac_ct_OBJDUMP
5328 OBJDUMP="$ac_cv_prog_OBJDUMP"
5331 test -z "$OBJDUMP" && OBJDUMP=objdump
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5342 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5343 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5344 $as_echo_n "(cached
) " >&6
5346 lt_cv_file_magic_cmd='$MAGIC_CMD'
5347 lt_cv_file_magic_test_file=
5348 lt_cv_deplibs_check_method='unknown'
5349 # Need to set the preceding variable on all platforms that support
5350 # interlibrary dependencies.
5351 # 'none' -- dependencies not supported.
5352 # `unknown' -- same as none, but documents that we really don't know.
5353 # 'pass_all' -- all dependencies passed with no checks.
5354 # 'test_compile' -- check by making test program.
5355 # 'file_magic [[regex]]' -- check by looking for files in library path
5356 # which responds to the $file_magic_cmd with a given extended regex.
5357 # If you have `file' or equivalent on your system and you're not sure
5358 # whether `pass_all' will *always* work, you probably want this one.
5362 lt_cv_deplibs_check_method=pass_all
5366 lt_cv_deplibs_check_method=pass_all
5370 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5371 lt_cv_file_magic_cmd='/usr/bin/file -L'
5372 lt_cv_file_magic_test_file=/shlib/libc.so
5376 # func_win32_libid is a shell function defined in ltmain.sh
5377 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5378 lt_cv_file_magic_cmd='func_win32_libid'
5382 # Base MSYS/MinGW do not provide the 'file' command needed by
5383 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5384 # unless we find 'file', for example because we are cross-compiling.
5385 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5386 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5387 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5388 lt_cv_file_magic_cmd='func_win32_libid'
5390 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5391 lt_cv_file_magic_cmd='$OBJDUMP -f'
5396 # use the weaker test based on 'objdump'. See mingw*.
5397 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5398 lt_cv_file_magic_cmd='$OBJDUMP -f'
5401 darwin* | rhapsody*)
5402 lt_cv_deplibs_check_method=pass_all
5405 freebsd* | dragonfly*)
5406 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5409 # Not sure whether the presence of OpenBSD here was a mistake.
5410 # Let's accept both of them until this is cleared up.
5411 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5412 lt_cv_file_magic_cmd=/usr/bin/file
5413 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5417 lt_cv_deplibs_check_method=pass_all
5422 lt_cv_deplibs_check_method=pass_all
5426 lt_cv_deplibs_check_method=pass_all
5429 hpux10.20* | hpux11*)
5430 lt_cv_file_magic_cmd=/usr/bin/file
5433 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5434 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5437 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]'
5438 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5441 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5442 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5448 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5449 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5452 irix5* | irix6* | nonstopux*)
5454 *-32|*"-32 ") libmagic=32-bit;;
5455 *-n32|*"-n32 ") libmagic=N32;;
5456 *-64|*"-64 ") libmagic=64-bit;;
5457 *) libmagic=never-match;;
5459 lt_cv_deplibs_check_method=pass_all
5462 # This must be Linux ELF.
5463 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5464 lt_cv_deplibs_check_method=pass_all
5468 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5469 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5476 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5477 lt_cv_file_magic_cmd=/usr/bin/file
5478 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5482 lt_cv_deplibs_check_method=pass_all
5486 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5487 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5489 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5493 osf3* | osf4* | osf5*)
5494 lt_cv_deplibs_check_method=pass_all
5498 lt_cv_deplibs_check_method=pass_all
5502 lt_cv_deplibs_check_method=pass_all
5505 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5506 lt_cv_deplibs_check_method=pass_all
5510 case $host_vendor in
5512 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]'
5513 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5516 lt_cv_deplibs_check_method=pass_all
5519 lt_cv_file_magic_cmd='/bin/file'
5520 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5523 lt_cv_file_magic_cmd='/bin/file'
5524 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5525 lt_cv_file_magic_test_file=/lib/libc.so
5528 lt_cv_deplibs_check_method=pass_all
5531 lt_cv_deplibs_check_method=pass_all
5537 lt_cv_deplibs_check_method=pass_all
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5543 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5544 file_magic_cmd=$lt_cv_file_magic_cmd
5545 deplibs_check_method=$lt_cv_deplibs_check_method
5546 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5559 if test -n "$ac_tool_prefix"; then
5560 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}ar; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5563 $as_echo_n "checking
for $ac_word...
" >&6; }
5564 if test "${ac_cv_prog_AR+set}" = set; then :
5565 $as_echo_n "(cached
) " >&6
5567 if test -n "$AR"; then
5568 ac_cv_prog_AR="$AR" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_AR="${ac_tool_prefix}ar"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5588 if test -n "$AR"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5590 $as_echo "$AR" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5593 $as_echo "no
" >&6; }
5598 if test -z "$ac_cv_prog_AR"; then
5600 # Extract the first word of "ar", so it can be a program name with args.
5601 set dummy ar; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5603 $as_echo_n "checking
for $ac_word...
" >&6; }
5604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5605 $as_echo_n "(cached
) " >&6
5607 if test -n "$ac_ct_AR"; then
5608 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617 ac_cv_prog_ac_ct_AR="ar"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5628 if test -n "$ac_ct_AR"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5630 $as_echo "$ac_ct_AR" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5633 $as_echo "no
" >&6; }
5636 if test "x
$ac_ct_AR" = x; then
5639 case $cross_compiling:$ac_tool_warned in
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5642 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5643 ac_tool_warned=yes ;;
5651 test -z "$AR" && AR=ar
5652 test -z "$AR_FLAGS" && AR_FLAGS=cru
5664 if test -n "$ac_tool_prefix"; then
5665 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5666 set dummy ${ac_tool_prefix}strip; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5668 $as_echo_n "checking
for $ac_word...
" >&6; }
5669 if test "${ac_cv_prog_STRIP+set}" = set; then :
5670 $as_echo_n "(cached
) " >&6
5672 if test -n "$STRIP"; then
5673 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5692 STRIP=$ac_cv_prog_STRIP
5693 if test -n "$STRIP"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5695 $as_echo "$STRIP" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5698 $as_echo "no
" >&6; }
5703 if test -z "$ac_cv_prog_STRIP"; then
5705 # Extract the first word of "strip
", so it can be a program name with args.
5706 set dummy strip; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5708 $as_echo_n "checking
for $ac_word...
" >&6; }
5709 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5710 $as_echo_n "(cached
) " >&6
5712 if test -n "$ac_ct_STRIP"; then
5713 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722 ac_cv_prog_ac_ct_STRIP="strip
"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5733 if test -n "$ac_ct_STRIP"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5735 $as_echo "$ac_ct_STRIP" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5738 $as_echo "no
" >&6; }
5741 if test "x
$ac_ct_STRIP" = x; then
5744 case $cross_compiling:$ac_tool_warned in
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5747 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5748 ac_tool_warned=yes ;;
5753 STRIP="$ac_cv_prog_STRIP"
5756 test -z "$STRIP" && STRIP=:
5763 if test -n "$ac_tool_prefix"; then
5764 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5765 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5767 $as_echo_n "checking
for $ac_word...
" >&6; }
5768 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5769 $as_echo_n "(cached
) " >&6
5771 if test -n "$RANLIB"; then
5772 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5791 RANLIB=$ac_cv_prog_RANLIB
5792 if test -n "$RANLIB"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5794 $as_echo "$RANLIB" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5797 $as_echo "no
" >&6; }
5802 if test -z "$ac_cv_prog_RANLIB"; then
5803 ac_ct_RANLIB=$RANLIB
5804 # Extract the first word of "ranlib
", so it can be a program name with args.
5805 set dummy ranlib; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5807 $as_echo_n "checking
for $ac_word...
" >&6; }
5808 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5809 $as_echo_n "(cached
) " >&6
5811 if test -n "$ac_ct_RANLIB"; then
5812 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5831 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5832 if test -n "$ac_ct_RANLIB"; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5834 $as_echo "$ac_ct_RANLIB" >&6; }
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5837 $as_echo "no
" >&6; }
5840 if test "x
$ac_ct_RANLIB" = x; then
5843 case $cross_compiling:$ac_tool_warned in
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5846 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5847 ac_tool_warned=yes ;;
5849 RANLIB=$ac_ct_RANLIB
5852 RANLIB="$ac_cv_prog_RANLIB"
5855 test -z "$RANLIB" && RANLIB=:
5862 # Determine commands to create old-style static archives.
5863 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5864 old_postinstall_cmds='chmod 644 $oldlib'
5865 old_postuninstall_cmds=
5867 if test -n "$RANLIB"; then
5870 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5873 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5876 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5881 lock_old_archive_extraction=yes ;;
5883 lock_old_archive_extraction=no ;;
5924 # If no C compiler was specified, use CC.
5927 # If no C compiler flags were specified, use CFLAGS.
5928 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5930 # Allow CC to be a program name with arguments.
5934 # Check for command to grab the raw symbol name followed by C symbol from nm.
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5936 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5937 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5938 $as_echo_n "(cached
) " >&6
5941 # These are sane defaults that work on at least a few old systems.
5942 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5944 # Character class describing NM global symbol codes.
5945 symcode='[BCDEGRST]'
5947 # Regexp to match symbols that can be accessed directly from C.
5948 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5950 # Define system-specific variables.
5955 cygwin* | mingw* | pw32* | cegcc*)
5956 symcode='[ABCDGISTW]'
5959 if test "$host_cpu" = ia64; then
5960 symcode='[ABCDEGRST]'
5964 symcode='[BCDEGRST]'
5967 symcode='[BCDEGQRST]'
5978 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5986 # If we're using GNU nm, then use its standard symbol codes.
5987 case `$NM -V 2>&1` in
5988 *GNU* | *'with BFD'*)
5989 symcode='[ABCDGIRSTW]' ;;
5992 # Transform an extracted symbol line into a proper C declaration.
5993 # Some systems (esp. on ia64) link data and code symbols differently,
5994 # so use this general approach.
5995 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5997 # Transform an extracted symbol line into symbol name and symbol address
5998 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5999 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'"
6001 # Handle CRLF in mingw tool chain
6005 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6009 # Try without a prefix underscore, then with it.
6010 for ac_symprfx in "" "_
"; do
6012 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6013 symxfrm="\\1 $ac_symprfx\\2 \\2"
6015 # Write the raw and C identifiers.
6016 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6017 # Fake it for dumpbin and say T for any non-static function
6018 # and D for any global variable.
6019 # Also find C++ and __fastcall symbols from MSVC++,
6020 # which start with @ or ?.
6021 lt_cv_sys_global_symbol_pipe="$AWK '"\
6022 " {last_section=section; section=\$ 3};"\
6023 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6024 " \$ 0!~/External *\|/{next};"\
6025 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6026 " {if(hide[section]) next};"\
6027 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6028 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6029 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6030 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6031 " ' prfx
=^
$ac_symprfx"
6033 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6036 # Check to see that the pipe works correctly.
6040 cat > conftest.$ac_ext <<_LT_EOF
6045 void nm_test_func(void);
6046 void nm_test_func(void){}
6050 int main(){nm_test_var='a';nm_test_func();return(0);}
6053 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6054 (eval $ac_compile) 2>&5
6056 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6057 test $ac_status = 0; }; then
6058 # Now try to grab the symbols.
6060 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6061 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6063 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6064 test $ac_status = 0; } && test -s "$nlist"; then
6065 # Try sorting and uniquifying the output.
6066 if sort "$nlist" | uniq > "$nlist"T; then
6067 mv -f "$nlist"T "$nlist"
6072 # Make sure that we snagged all the symbols we need.
6073 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6074 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6075 cat <<_LT_EOF > conftest.$ac_ext
6081 # Now generate the symbol file.
6082 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6084 cat <<_LT_EOF >> conftest.$ac_ext
6086 /* The mapping between symbol names and symbols. */
6091 lt__PROGRAM__LTX_preloaded_symbols[] =
6093 { "@PROGRAM@
", (void *) 0 },
6095 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6096 cat <<\_LT_EOF >> conftest.$ac_ext
6100 /* This works around a problem in FreeBSD linker */
6101 #ifdef FREEBSD_WORKAROUND
6102 static const void *lt_preloaded_setup() {
6103 return lt__PROGRAM__LTX_preloaded_symbols;
6111 # Now try linking the two files.
6112 mv conftest.$ac_objext conftstm.$ac_objext
6113 lt_save_LIBS="$LIBS"
6114 lt_save_CFLAGS="$CFLAGS"
6115 LIBS="conftstm.
$ac_objext"
6116 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6117 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6118 (eval $ac_link) 2>&5
6120 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6121 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6124 LIBS="$lt_save_LIBS"
6125 CFLAGS="$lt_save_CFLAGS"
6127 echo "cannot
find nm_test_func
in $nlist" >&5
6130 echo "cannot
find nm_test_var
in $nlist" >&5
6133 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6136 echo "$progname: failed program was
:" >&5
6137 cat conftest.$ac_ext >&5
6139 rm -rf conftest* conftst*
6141 # Do not use the global_symbol_pipe unless it works.
6142 if test "$pipe_works" = yes; then
6145 lt_cv_sys_global_symbol_pipe=
6151 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6152 lt_cv_sys_global_symbol_to_cdecl=
6154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6156 $as_echo "failed
" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6159 $as_echo "ok
" >&6; }
6183 # Check whether --enable-libtool-lock was given.
6184 if test "${enable_libtool_lock+set}" = set; then :
6185 enableval=$enable_libtool_lock;
6188 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6190 # Some flags need to be propagated to the compiler or linker for good
6194 # Find out which ABI we are using.
6195 echo 'int i;' > conftest.$ac_ext
6196 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6197 (eval $ac_compile) 2>&5
6199 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6200 test $ac_status = 0; }; then
6201 case `/usr/bin/file conftest.$ac_objext` in
6213 # Find out which ABI we are using.
6214 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6215 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6216 (eval $ac_compile) 2>&5
6218 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6219 test $ac_status = 0; }; then
6220 if test "$lt_cv_prog_gnu_ld" = yes; then
6221 case `/usr/bin/file conftest.$ac_objext` in
6223 LD="${LD-ld} -melf32bsmip"
6226 LD="${LD-ld} -melf32bmipn32"
6229 LD="${LD-ld} -melf64bmip"
6233 case `/usr/bin/file conftest.$ac_objext` in
6249 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6250 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6251 # Find out which ABI we are using.
6252 echo 'int i;' > conftest.$ac_ext
6253 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6254 (eval $ac_compile) 2>&5
6256 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6257 test $ac_status = 0; }; then
6258 case `/usr/bin/file conftest.o` in
6261 x86_64-*kfreebsd*-gnu)
6262 LD="${LD-ld} -m elf_i386_fbsd
"
6265 LD="${LD-ld} -m elf_i386
"
6267 ppc64-*linux*|powerpc64-*linux*)
6268 LD="${LD-ld} -m elf32ppclinux
"
6271 LD="${LD-ld} -m elf_s390
"
6274 LD="${LD-ld} -m elf32_sparc
"
6280 x86_64-*kfreebsd*-gnu)
6281 LD="${LD-ld} -m elf_x86_64_fbsd
"
6284 LD="${LD-ld} -m elf_x86_64
"
6286 ppc*-*linux*|powerpc*-*linux*)
6287 LD="${LD-ld} -m elf64ppc
"
6289 s390*-*linux*|s390*-*tpf*)
6290 LD="${LD-ld} -m elf64_s390
"
6293 LD="${LD-ld} -m elf64_sparc
"
6303 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6304 SAVE_CFLAGS="$CFLAGS"
6305 CFLAGS="$CFLAGS -belf"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6307 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6308 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6309 $as_echo_n "(cached
) " >&6
6312 ac_cpp='$CPP $CPPFLAGS'
6313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6317 if test x$gcc_no_link = xyes; then
6318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6331 if ac_fn_c_try_link "$LINENO"; then :
6332 lt_cv_cc_needs_belf=yes
6334 lt_cv_cc_needs_belf=no
6336 rm -f core conftest.err conftest.$ac_objext \
6337 conftest$ac_exeext conftest.$ac_ext
6339 ac_cpp='$CPP $CPPFLAGS'
6340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6346 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6347 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6348 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6349 CFLAGS="$SAVE_CFLAGS"
6353 # Find out which ABI we are using.
6354 echo 'int i;' > conftest.$ac_ext
6355 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6356 (eval $ac_compile) 2>&5
6358 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6359 test $ac_status = 0; }; then
6360 case `/usr/bin/file conftest.o` in
6362 case $lt_cv_prog_gnu_ld in
6363 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6365 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6377 need_locks="$enable_libtool_lock"
6381 rhapsody* | darwin*)
6382 if test -n "$ac_tool_prefix"; then
6383 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6384 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6386 $as_echo_n "checking
for $ac_word...
" >&6; }
6387 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6388 $as_echo_n "(cached
) " >&6
6390 if test -n "$DSYMUTIL"; then
6391 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6410 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6411 if test -n "$DSYMUTIL"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6413 $as_echo "$DSYMUTIL" >&6; }
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6416 $as_echo "no
" >&6; }
6421 if test -z "$ac_cv_prog_DSYMUTIL"; then
6422 ac_ct_DSYMUTIL=$DSYMUTIL
6423 # Extract the first word of "dsymutil
", so it can be a program name with args.
6424 set dummy dsymutil; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6426 $as_echo_n "checking
for $ac_word...
" >&6; }
6427 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6428 $as_echo_n "(cached
) " >&6
6430 if test -n "$ac_ct_DSYMUTIL"; then
6431 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6450 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6451 if test -n "$ac_ct_DSYMUTIL"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6453 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6456 $as_echo "no
" >&6; }
6459 if test "x
$ac_ct_DSYMUTIL" = x; then
6462 case $cross_compiling:$ac_tool_warned in
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6465 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6466 ac_tool_warned=yes ;;
6468 DSYMUTIL=$ac_ct_DSYMUTIL
6471 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6474 if test -n "$ac_tool_prefix"; then
6475 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6476 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6478 $as_echo_n "checking
for $ac_word...
" >&6; }
6479 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6480 $as_echo_n "(cached
) " >&6
6482 if test -n "$NMEDIT"; then
6483 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6502 NMEDIT=$ac_cv_prog_NMEDIT
6503 if test -n "$NMEDIT"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6505 $as_echo "$NMEDIT" >&6; }
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6508 $as_echo "no
" >&6; }
6513 if test -z "$ac_cv_prog_NMEDIT"; then
6514 ac_ct_NMEDIT=$NMEDIT
6515 # Extract the first word of "nmedit
", so it can be a program name with args.
6516 set dummy nmedit; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6518 $as_echo_n "checking
for $ac_word...
" >&6; }
6519 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6520 $as_echo_n "(cached
) " >&6
6522 if test -n "$ac_ct_NMEDIT"; then
6523 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6532 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6542 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6543 if test -n "$ac_ct_NMEDIT"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6545 $as_echo "$ac_ct_NMEDIT" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6548 $as_echo "no
" >&6; }
6551 if test "x
$ac_ct_NMEDIT" = x; then
6554 case $cross_compiling:$ac_tool_warned in
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6557 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6558 ac_tool_warned=yes ;;
6560 NMEDIT=$ac_ct_NMEDIT
6563 NMEDIT="$ac_cv_prog_NMEDIT"
6566 if test -n "$ac_tool_prefix"; then
6567 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6568 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6570 $as_echo_n "checking
for $ac_word...
" >&6; }
6571 if test "${ac_cv_prog_LIPO+set}" = set; then :
6572 $as_echo_n "(cached
) " >&6
6574 if test -n "$LIPO"; then
6575 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6594 LIPO=$ac_cv_prog_LIPO
6595 if test -n "$LIPO"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6597 $as_echo "$LIPO" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6600 $as_echo "no
" >&6; }
6605 if test -z "$ac_cv_prog_LIPO"; then
6607 # Extract the first word of "lipo
", so it can be a program name with args.
6608 set dummy lipo; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6610 $as_echo_n "checking
for $ac_word...
" >&6; }
6611 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6612 $as_echo_n "(cached
) " >&6
6614 if test -n "$ac_ct_LIPO"; then
6615 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_ac_ct_LIPO="lipo
"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6634 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6635 if test -n "$ac_ct_LIPO"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6637 $as_echo "$ac_ct_LIPO" >&6; }
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6640 $as_echo "no
" >&6; }
6643 if test "x
$ac_ct_LIPO" = x; then
6646 case $cross_compiling:$ac_tool_warned in
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6649 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6650 ac_tool_warned=yes ;;
6655 LIPO="$ac_cv_prog_LIPO"
6658 if test -n "$ac_tool_prefix"; then
6659 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6660 set dummy ${ac_tool_prefix}otool; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6662 $as_echo_n "checking
for $ac_word...
" >&6; }
6663 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6664 $as_echo_n "(cached
) " >&6
6666 if test -n "$OTOOL"; then
6667 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6686 OTOOL=$ac_cv_prog_OTOOL
6687 if test -n "$OTOOL"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6689 $as_echo "$OTOOL" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6692 $as_echo "no
" >&6; }
6697 if test -z "$ac_cv_prog_OTOOL"; then
6699 # Extract the first word of "otool
", so it can be a program name with args.
6700 set dummy otool; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6702 $as_echo_n "checking
for $ac_word...
" >&6; }
6703 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6704 $as_echo_n "(cached
) " >&6
6706 if test -n "$ac_ct_OTOOL"; then
6707 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716 ac_cv_prog_ac_ct_OTOOL="otool
"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6726 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6727 if test -n "$ac_ct_OTOOL"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6729 $as_echo "$ac_ct_OTOOL" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6732 $as_echo "no
" >&6; }
6735 if test "x
$ac_ct_OTOOL" = x; then
6738 case $cross_compiling:$ac_tool_warned in
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6741 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6742 ac_tool_warned=yes ;;
6747 OTOOL="$ac_cv_prog_OTOOL"
6750 if test -n "$ac_tool_prefix"; then
6751 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6752 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6754 $as_echo_n "checking
for $ac_word...
" >&6; }
6755 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6756 $as_echo_n "(cached
) " >&6
6758 if test -n "$OTOOL64"; then
6759 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir=.
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6778 OTOOL64=$ac_cv_prog_OTOOL64
6779 if test -n "$OTOOL64"; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6781 $as_echo "$OTOOL64" >&6; }
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6784 $as_echo "no
" >&6; }
6789 if test -z "$ac_cv_prog_OTOOL64"; then
6790 ac_ct_OTOOL64=$OTOOL64
6791 # Extract the first word of "otool64
", so it can be a program name with args.
6792 set dummy otool64; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6794 $as_echo_n "checking
for $ac_word...
" >&6; }
6795 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6796 $as_echo_n "(cached
) " >&6
6798 if test -n "$ac_ct_OTOOL64"; then
6799 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir=.
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6818 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6819 if test -n "$ac_ct_OTOOL64"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6821 $as_echo "$ac_ct_OTOOL64" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6824 $as_echo "no
" >&6; }
6827 if test "x
$ac_ct_OTOOL64" = x; then
6830 case $cross_compiling:$ac_tool_warned in
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6833 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6834 ac_tool_warned=yes ;;
6836 OTOOL64=$ac_ct_OTOOL64
6839 OTOOL64="$ac_cv_prog_OTOOL64"
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6869 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6870 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6871 $as_echo_n "(cached
) " >&6
6873 lt_cv_apple_cc_single_mod=no
6874 if test -z "${LT_MULTI_MODULE}"; then
6875 # By default we will add the -single_module flag. You can override
6876 # by either setting the environment variable LT_MULTI_MODULE
6877 # non-empty at configure time, or by adding -multi_module to the
6879 rm -rf libconftest.dylib*
6880 echo "int foo
(void
){return 1;}" > conftest.c
6881 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6882 -dynamiclib -Wl,-single_module conftest.c
" >&5
6883 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6884 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6886 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6887 lt_cv_apple_cc_single_mod=yes
6889 cat conftest.err >&5
6891 rm -rf libconftest.dylib*
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6896 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6898 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6899 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6900 $as_echo_n "(cached
) " >&6
6902 lt_cv_ld_exported_symbols_list=no
6903 save_LDFLAGS=$LDFLAGS
6904 echo "_main
" > conftest.sym
6905 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6906 if test x$gcc_no_link = xyes; then
6907 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6920 if ac_fn_c_try_link "$LINENO"; then :
6921 lt_cv_ld_exported_symbols_list=yes
6923 lt_cv_ld_exported_symbols_list=no
6925 rm -f core conftest.err conftest.$ac_objext \
6926 conftest$ac_exeext conftest.$ac_ext
6927 LDFLAGS="$save_LDFLAGS"
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6931 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6933 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6934 if test "${lt_cv_ld_force_load+set}" = set; then :
6935 $as_echo_n "(cached
) " >&6
6937 lt_cv_ld_force_load=no
6938 cat > conftest.c << _LT_EOF
6939 int forced_loaded() { return 2;}
6941 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6942 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6943 echo "$AR cru libconftest.a conftest.o
" >&5
6944 $AR cru libconftest.a conftest.o 2>&5
6945 cat > conftest.c << _LT_EOF
6946 int main() { return 0;}
6948 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6949 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6951 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6952 lt_cv_ld_force_load=yes
6954 cat conftest.err >&5
6956 rm -f conftest.err libconftest.a conftest conftest.c
6957 rm -rf conftest.dSYM
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6961 $as_echo "$lt_cv_ld_force_load" >&6; }
6963 rhapsody* | darwin1.[012])
6964 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6966 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6967 darwin*) # darwin 5.x on
6968 # if running on 10.5 or later, the deployment target defaults
6969 # to the OS version, if on x86, and 10.4, the deployment
6970 # target defaults to 10.4. Don't you love it?
6971 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6972 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6973 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6975 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6977 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6981 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6982 _lt_dar_single_mod='$single_module'
6984 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6985 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6987 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6989 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6990 _lt_dsymutil='~$DSYMUTIL $lib || :'
6997 for ac_header in dlfcn.h
6999 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7001 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7002 cat >>confdefs.h <<_ACEOF
7003 #define HAVE_DLFCN_H 1
7024 # Check whether --enable-shared was given.
7025 if test "${enable_shared+set}" = set; then :
7026 enableval=$enable_shared; p=${PACKAGE-default}
7028 yes) enable_shared=yes ;;
7029 no) enable_shared=no ;;
7032 # Look at the argument we got. We use all the common list separators.
7033 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7034 for pkg in $enableval; do
7036 if test "X
$pkg" = "X
$p"; then
7055 # Check whether --enable-static was given.
7056 if test "${enable_static+set}" = set; then :
7057 enableval=$enable_static; p=${PACKAGE-default}
7059 yes) enable_static=yes ;;
7060 no) enable_static=no ;;
7063 # Look at the argument we got. We use all the common list separators.
7064 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7065 for pkg in $enableval; do
7067 if test "X
$pkg" = "X
$p"; then
7087 # Check whether --with-pic was given.
7088 if test "${with_pic+set}" = set; then :
7089 withval=$with_pic; pic_mode="$withval"
7095 test -z "$pic_mode" && pic_mode=default
7103 # Check whether --enable-fast-install was given.
7104 if test "${enable_fast_install+set}" = set; then :
7105 enableval=$enable_fast_install; p=${PACKAGE-default}
7107 yes) enable_fast_install=yes ;;
7108 no) enable_fast_install=no ;;
7110 enable_fast_install=no
7111 # Look at the argument we got. We use all the common list separators.
7112 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7113 for pkg in $enableval; do
7115 if test "X
$pkg" = "X
$p"; then
7116 enable_fast_install=yes
7123 enable_fast_install=yes
7136 # This can be used to rebuild libtool when needed
7137 LIBTOOL_DEPS="$ltmain"
7139 # Always use our own libtool.
7140 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7167 test -z "$LN_S" && LN_S="ln -s"
7182 if test -n "${ZSH_VERSION+set}" ; then
7183 setopt NO_GLOB_SUBST
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7187 $as_echo_n "checking
for objdir...
" >&6; }
7188 if test "${lt_cv_objdir+set}" = set; then :
7189 $as_echo_n "(cached
) " >&6
7191 rm -f .libs 2>/dev/null
7192 mkdir .libs 2>/dev/null
7193 if test -d .libs; then
7196 # MS-DOS does not allow filenames that begin with a dot.
7199 rmdir .libs 2>/dev/null
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7202 $as_echo "$lt_cv_objdir" >&6; }
7203 objdir=$lt_cv_objdir
7209 cat >>confdefs.h <<_ACEOF
7210 #define LT_OBJDIR "$lt_cv_objdir/"
7218 # AIX sometimes has problems with the GCC collect2 program. For some
7219 # reason, if we set the COLLECT_NAMES environment variable, the problems
7220 # vanish in a puff of smoke.
7221 if test "X
${COLLECT_NAMES+set}" != Xset; then
7223 export COLLECT_NAMES
7230 can_build_shared=yes
7232 # All known linkers require a `.a' archive for static linking (except MSVC,
7233 # which needs '.lib').
7236 with_gnu_ld="$lt_cv_prog_gnu_ld"
7239 old_CFLAGS="$CFLAGS"
7241 # Set sane defaults for various variables
7242 test -z "$CC" && CC=cc
7243 test -z "$LTCC" && LTCC=$CC
7244 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7245 test -z "$LD" && LD=ld
7246 test -z "$ac_objext" && ac_objext=o
7248 for cc_temp in $compiler""; do
7250 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7251 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7256 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7259 # Only perform the check for file, if the check method requires it
7260 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7261 case $deplibs_check_method in
7263 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7265 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7266 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7267 $as_echo_n "(cached
) " >&6
7271 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7274 lt_save_MAGIC_CMD="$MAGIC_CMD"
7275 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7276 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7277 for ac_dir in $ac_dummy; do
7279 test -z "$ac_dir" && ac_dir=.
7280 if test -f $ac_dir/${ac_tool_prefix}file; then
7281 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7282 if test -n "$file_magic_test_file"; then
7283 case $deplibs_check_method in
7285 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7287 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7288 $EGREP "$file_magic_regex" > /dev/null; then
7293 *** Warning: the command libtool uses to detect shared libraries,
7294 *** $file_magic_cmd, produces output that libtool cannot recognize.
7295 *** The result is that libtool may fail to recognize shared libraries
7296 *** as such. This will affect the creation of libtool libraries that
7297 *** depend on shared libraries, but programs linked with such libtool
7298 *** libraries will work regardless of this problem. Nevertheless, you
7299 *** may want to report the problem to your system manager and/or to
7300 *** bug-libtool@gnu.org
7310 MAGIC_CMD="$lt_save_MAGIC_CMD"
7315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7316 if test -n "$MAGIC_CMD"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7318 $as_echo "$MAGIC_CMD" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7321 $as_echo "no
" >&6; }
7328 if test -z "$lt_cv_path_MAGIC_CMD"; then
7329 if test -n "$ac_tool_prefix"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7331 $as_echo_n "checking
for file...
" >&6; }
7332 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7333 $as_echo_n "(cached
) " >&6
7337 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7340 lt_save_MAGIC_CMD="$MAGIC_CMD"
7341 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7342 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7343 for ac_dir in $ac_dummy; do
7345 test -z "$ac_dir" && ac_dir=.
7346 if test -f $ac_dir/file; then
7347 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7348 if test -n "$file_magic_test_file"; then
7349 case $deplibs_check_method in
7351 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7353 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7354 $EGREP "$file_magic_regex" > /dev/null; then
7359 *** Warning: the command libtool uses to detect shared libraries,
7360 *** $file_magic_cmd, produces output that libtool cannot recognize.
7361 *** The result is that libtool may fail to recognize shared libraries
7362 *** as such. This will affect the creation of libtool libraries that
7363 *** depend on shared libraries, but programs linked with such libtool
7364 *** libraries will work regardless of this problem. Nevertheless, you
7365 *** may want to report the problem to your system manager and/or to
7366 *** bug-libtool@gnu.org
7376 MAGIC_CMD="$lt_save_MAGIC_CMD"
7381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7382 if test -n "$MAGIC_CMD"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7384 $as_echo "$MAGIC_CMD" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7387 $as_echo "no
" >&6; }
7400 # Use C for the default configuration in the libtool script
7404 ac_cpp='$CPP $CPPFLAGS'
7405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7410 # Source file extension for C test sources.
7413 # Object file extension for compiled C test sources.
7417 # Code to be used in simple compile tests
7418 lt_simple_compile_test_code="int some_variable
= 0;"
7420 # Code to be used in simple link tests
7421 lt_simple_link_test_code='int main(){return(0);}'
7429 # If no C compiler was specified, use CC.
7432 # If no C compiler flags were specified, use CFLAGS.
7433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7435 # Allow CC to be a program name with arguments.
7438 # Save the default compiler, since it gets overwritten when the other
7439 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7440 compiler_DEFAULT=$CC
7442 # save warnings/boilerplate of simple test code
7443 ac_outfile=conftest.$ac_objext
7444 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7445 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7446 _lt_compiler_boilerplate=`cat conftest.err`
7449 ac_outfile=conftest.$ac_objext
7450 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7451 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7452 _lt_linker_boilerplate=`cat conftest.err`
7457 ## There is no encapsulation within the following macros, do not change
7458 ## the running order or otherwise move them around unless you know exactly
7459 ## what you are doing...
7460 if test -n "$compiler"; then
7462 lt_prog_compiler_no_builtin_flag=
7464 if test "$GCC" = yes; then
7465 case $cc_basename in
7467 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7469 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7473 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7474 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7475 $as_echo_n "(cached
) " >&6
7477 lt_cv_prog_compiler_rtti_exceptions=no
7478 ac_outfile=conftest.$ac_objext
7479 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7480 lt_compiler_flag="-fno-rtti -fno-exceptions"
7481 # Insert the option either (1) after the last *FLAGS variable, or
7482 # (2) before a word containing "conftest.
", or (3) at the end.
7483 # Note that $ac_compile itself does not contain backslashes and begins
7484 # with a dollar sign (not a hyphen), so the echo should work correctly.
7485 # The option is referenced via a variable to avoid confusing sed.
7486 lt_compile=`echo "$ac_compile" | $SED \
7487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7489 -e 's:$: $lt_compiler_flag:'`
7490 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7491 (eval "$lt_compile" 2>conftest.err)
7493 cat conftest.err >&5
7494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7495 if (exit $ac_status) && test -s "$ac_outfile"; then
7496 # The compiler can only warn and ignore the option if not recognized
7497 # So say no if there are warnings other than the usual output.
7498 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7499 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7500 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7501 lt_cv_prog_compiler_rtti_exceptions=yes
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7508 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7510 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7511 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7523 lt_prog_compiler_wl=
7524 lt_prog_compiler_pic=
7525 lt_prog_compiler_static=
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7528 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7530 if test "$GCC" = yes; then
7531 lt_prog_compiler_wl='-Wl,'
7532 lt_prog_compiler_static='-static'
7536 # All AIX code is PIC.
7537 if test "$host_cpu" = ia64; then
7538 # AIX 5 now supports IA64 processor
7539 lt_prog_compiler_static='-Bstatic'
7546 # see comment about AmigaOS4 .so support
7547 lt_prog_compiler_pic='-fPIC'
7550 # FIXME: we need at least 68020 code to build shared libraries, but
7551 # adding the `-m68020' flag to GCC prevents building anything better,
7553 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7558 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7559 # PIC is the default for these OSes.
7562 mingw* | cygwin* | pw32* | os2* | cegcc*)
7563 # This hack is so that the source file can tell whether it is being
7564 # built for inclusion in a dll (and should export symbols for example).
7565 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7566 # (--disable-auto-import) libraries
7567 lt_prog_compiler_pic='-DDLL_EXPORT'
7570 darwin* | rhapsody*)
7571 # PIC is the default on this platform
7572 # Common symbols not allowed in MH_DYLIB files
7573 lt_prog_compiler_pic='-fno-common'
7577 # PIC is the default for Haiku.
7578 # The "-static" flag exists, but is broken.
7579 lt_prog_compiler_static=
7583 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7584 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7585 # sets the default TLS model and affects inlining.
7591 lt_prog_compiler_pic='-fPIC'
7597 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7598 # Instead, we relocate shared libraries at runtime.
7602 # Just because we use GCC doesn't mean we suddenly get shared libraries
7603 # on systems that don't support them.
7604 lt_prog_compiler_can_build_shared=no
7609 # QNX uses GNU C++, but need to define -shared option too, otherwise
7611 lt_prog_compiler_pic='-fPIC -shared'
7615 if test -d /usr/nec; then
7616 lt_prog_compiler_pic=-Kconform_pic
7621 lt_prog_compiler_pic='-fPIC'
7625 case $cc_basename in
7626 nvcc*) # Cuda Compiler Driver 2.2
7627 lt_prog_compiler_wl='-Xlinker '
7628 lt_prog_compiler_pic='-Xcompiler -fPIC'
7632 # PORTME Check for flag to pass linker flags through the system compiler.
7635 lt_prog_compiler_wl='-Wl,'
7636 if test "$host_cpu" = ia64; then
7637 # AIX 5 now supports IA64 processor
7638 lt_prog_compiler_static='-Bstatic'
7640 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7644 mingw* | cygwin* | pw32* | os2* | cegcc*)
7645 # This hack is so that the source file can tell whether it is being
7646 # built for inclusion in a dll (and should export symbols for example).
7647 lt_prog_compiler_pic='-DDLL_EXPORT'
7650 hpux9* | hpux10* | hpux11*)
7651 lt_prog_compiler_wl='-Wl,'
7652 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7659 lt_prog_compiler_pic='+Z'
7662 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7663 lt_prog_compiler_static='${wl}-a ${wl}archive'
7666 irix5* | irix6* | nonstopux*)
7667 lt_prog_compiler_wl='-Wl,'
7668 # PIC (with -KPIC) is the default.
7669 lt_prog_compiler_static='-non_shared'
7672 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7673 case $cc_basename in
7674 # old Intel for x86_64 which still supported -KPIC.
7676 lt_prog_compiler_wl='-Wl,'
7677 lt_prog_compiler_pic='-KPIC'
7678 lt_prog_compiler_static='-static'
7680 # icc used to be incompatible with GCC.
7681 # ICC 10 doesn't accept -KPIC any more.
7683 lt_prog_compiler_wl='-Wl,'
7684 lt_prog_compiler_pic='-fPIC'
7685 lt_prog_compiler_static='-static'
7687 # Lahey Fortran 8.1.
7689 lt_prog_compiler_wl='-Wl,'
7690 lt_prog_compiler_pic='--shared'
7691 lt_prog_compiler_static='--static'
7693 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7694 # Portland Group compilers (*not* the Pentium gcc compiler,
7695 # which looks to be a dead project)
7696 lt_prog_compiler_wl='-Wl,'
7697 lt_prog_compiler_pic='-fpic'
7698 lt_prog_compiler_static='-Bstatic'
7701 lt_prog_compiler_wl='-Wl,'
7702 # All Alpha code is PIC.
7703 lt_prog_compiler_static='-non_shared'
7705 xl* | bgxl* | bgf* | mpixl*)
7706 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7707 lt_prog_compiler_wl='-Wl,'
7708 lt_prog_compiler_pic='-qpic'
7709 lt_prog_compiler_static='-qstaticlink'
7712 case `$CC -V 2>&1 | sed 5q` in
7713 *Sun\ F* | *Sun*Fortran*)
7714 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7715 lt_prog_compiler_pic='-KPIC'
7716 lt_prog_compiler_static='-Bstatic'
7717 lt_prog_compiler_wl=''
7721 lt_prog_compiler_pic='-KPIC'
7722 lt_prog_compiler_static='-Bstatic'
7723 lt_prog_compiler_wl='-Wl,'
7731 lt_prog_compiler_pic='-KPIC'
7732 lt_prog_compiler_static='-Bstatic'
7736 # QNX uses GNU C++, but need to define -shared option too, otherwise
7738 lt_prog_compiler_pic='-fPIC -shared'
7741 osf3* | osf4* | osf5*)
7742 lt_prog_compiler_wl='-Wl,'
7743 # All OSF/1 code is PIC.
7744 lt_prog_compiler_static='-non_shared'
7748 lt_prog_compiler_static='-non_shared'
7752 lt_prog_compiler_pic='-KPIC'
7753 lt_prog_compiler_static='-Bstatic'
7754 case $cc_basename in
7756 lt_prog_compiler_wl='-Qoption ld ';;
7758 lt_prog_compiler_wl='-Wl,';;
7763 lt_prog_compiler_wl='-Qoption ld '
7764 lt_prog_compiler_pic='-PIC'
7765 lt_prog_compiler_static='-Bstatic'
7768 sysv4 | sysv4.2uw2* | sysv4.3*)
7769 lt_prog_compiler_wl='-Wl,'
7770 lt_prog_compiler_pic='-KPIC'
7771 lt_prog_compiler_static='-Bstatic'
7775 if test -d /usr/nec ;then
7776 lt_prog_compiler_pic='-Kconform_pic'
7777 lt_prog_compiler_static='-Bstatic'
7781 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7782 lt_prog_compiler_wl='-Wl,'
7783 lt_prog_compiler_pic='-KPIC'
7784 lt_prog_compiler_static='-Bstatic'
7788 lt_prog_compiler_wl='-Wl,'
7789 lt_prog_compiler_can_build_shared=no
7793 lt_prog_compiler_pic='-pic'
7794 lt_prog_compiler_static='-Bstatic'
7798 lt_prog_compiler_can_build_shared=no
7804 # For platforms which do not support PIC, -DPIC is meaningless:
7806 lt_prog_compiler_pic=
7809 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
7813 $as_echo "$lt_prog_compiler_pic" >&6; }
7821 # Check to make sure the PIC flag actually works.
7823 if test -n "$lt_prog_compiler_pic"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7825 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
7826 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7827 $as_echo_n "(cached
) " >&6
7829 lt_cv_prog_compiler_pic_works=no
7830 ac_outfile=conftest.$ac_objext
7831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7832 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7833 # Insert the option either (1) after the last *FLAGS variable, or
7834 # (2) before a word containing "conftest.
", or (3) at the end.
7835 # Note that $ac_compile itself does not contain backslashes and begins
7836 # with a dollar sign (not a hyphen), so the echo should work correctly.
7837 # The option is referenced via a variable to avoid confusing sed.
7838 lt_compile=`echo "$ac_compile" | $SED \
7839 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7841 -e 's:$: $lt_compiler_flag:'`
7842 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7843 (eval "$lt_compile" 2>conftest.err)
7845 cat conftest.err >&5
7846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7847 if (exit $ac_status) && test -s "$ac_outfile"; then
7848 # The compiler can only warn and ignore the option if not recognized
7849 # So say no if there are warnings other than the usual output.
7850 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7851 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7852 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7853 lt_cv_prog_compiler_pic_works=yes
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
7860 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7862 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7863 case $lt_prog_compiler_pic in
7865 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7868 lt_prog_compiler_pic=
7869 lt_prog_compiler_can_build_shared=no
7880 # Check to make sure the static flag actually works.
7882 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7884 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
7885 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7886 $as_echo_n "(cached
) " >&6
7888 lt_cv_prog_compiler_static_works=no
7889 save_LDFLAGS="$LDFLAGS"
7890 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7891 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7892 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7893 # The linker can only warn and ignore the option if not recognized
7894 # So say no if there are warnings
7895 if test -s conftest.err; then
7896 # Append any errors to the config.log.
7897 cat conftest.err 1>&5
7898 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7899 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7900 if diff conftest.exp conftest.er2 >/dev/null; then
7901 lt_cv_prog_compiler_static_works=yes
7904 lt_cv_prog_compiler_static_works=yes
7908 LDFLAGS="$save_LDFLAGS"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
7912 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7914 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7917 lt_prog_compiler_static=
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7927 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
7928 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7929 $as_echo_n "(cached
) " >&6
7931 lt_cv_prog_compiler_c_o=no
7932 $RM -r conftest 2>/dev/null
7936 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7938 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7939 # Insert the option either (1) after the last *FLAGS variable, or
7940 # (2) before a word containing "conftest.
", or (3) at the end.
7941 # Note that $ac_compile itself does not contain backslashes and begins
7942 # with a dollar sign (not a hyphen), so the echo should work correctly.
7943 lt_compile=`echo "$ac_compile" | $SED \
7944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7946 -e 's:$: $lt_compiler_flag:'`
7947 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7948 (eval "$lt_compile" 2>out/conftest.err)
7950 cat out/conftest.err >&5
7951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7952 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7954 # The compiler can only warn and ignore the option if not recognized
7955 # So say no if there are warnings
7956 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7957 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7958 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7959 lt_cv_prog_compiler_c_o=yes
7964 # SGI C++ compiler will create directory out/ii_files/ for
7965 # template instantiation
7966 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7967 $RM out/* && rmdir out
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
7974 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7982 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
7983 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7984 $as_echo_n "(cached
) " >&6
7986 lt_cv_prog_compiler_c_o=no
7987 $RM -r conftest 2>/dev/null
7991 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7993 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7994 # Insert the option either (1) after the last *FLAGS variable, or
7995 # (2) before a word containing "conftest.
", or (3) at the end.
7996 # Note that $ac_compile itself does not contain backslashes and begins
7997 # with a dollar sign (not a hyphen), so the echo should work correctly.
7998 lt_compile=`echo "$ac_compile" | $SED \
7999 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8000 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8001 -e 's:$: $lt_compiler_flag:'`
8002 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8003 (eval "$lt_compile" 2>out/conftest.err)
8005 cat out/conftest.err >&5
8006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8007 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8009 # The compiler can only warn and ignore the option if not recognized
8010 # So say no if there are warnings
8011 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8012 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8013 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8014 lt_cv_prog_compiler_c_o=yes
8019 # SGI C++ compiler will create directory out/ii_files/ for
8020 # template instantiation
8021 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8022 $RM out/* && rmdir out
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8029 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8034 hard_links="nottested
"
8035 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8036 # do not overwrite the value of need_locks provided by the user
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8038 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8041 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8043 ln conftest.a conftest.b 2>&5 || hard_links=no
8044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8046 $as_echo "$hard_links" >&6; }
8047 if test "$hard_links" = no; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8049 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8062 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8065 allow_undefined_flag=
8066 always_export_symbols=no
8068 archive_expsym_cmds=
8069 compiler_needs_object=no
8070 enable_shared_with_static_runtimes=no
8071 export_dynamic_flag_spec=
8072 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8073 hardcode_automatic=no
8075 hardcode_direct_absolute=no
8076 hardcode_libdir_flag_spec=
8077 hardcode_libdir_flag_spec_ld=
8078 hardcode_libdir_separator=
8080 hardcode_shlibpath_var=unsupported
8082 link_all_deplibs=unknown
8085 old_archive_from_new_cmds=
8086 old_archive_from_expsyms_cmds=
8087 thread_safe_flag_spec=
8088 whole_archive_flag_spec=
8089 # include_expsyms should be a list of space-separated symbols to be *always*
8090 # included in the symbol list
8092 # exclude_expsyms can be an extended regexp of symbols to exclude
8093 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8094 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8095 # as well as any symbol that contains `d'.
8096 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8097 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8098 # platforms (ab)use it in PIC code, but their linkers get confused if
8099 # the symbol is explicitly referenced. Since portable code cannot
8100 # rely on this symbol name, it's probably fine to never include it in
8101 # preloaded symbol tables.
8102 # Exclude shared library initialization/finalization symbols.
8103 extract_expsyms_cmds=
8106 cygwin* | mingw* | pw32* | cegcc*)
8107 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8108 # When not using gcc, we currently assume that we are using
8109 # Microsoft Visual C++.
8110 if test "$GCC" != yes; then
8115 # we just hope/assume this is gcc and not c89 (= MSVC++)
8125 # On some targets, GNU ld is compatible enough with the native linker
8126 # that we're better off using the native interface for both.
8127 lt_use_gnu_ld_interface=no
8128 if test "$with_gnu_ld" = yes; then
8131 # The AIX port of GNU ld has always aspired to compatibility
8132 # with the native linker. However, as the warning in the GNU ld
8133 # block says, versions before 2.19.5* couldn't really create working
8134 # shared libraries, regardless of the interface used.
8135 case `$LD -v 2>&1` in
8136 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8137 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8138 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8140 lt_use_gnu_ld_interface=yes
8145 lt_use_gnu_ld_interface=yes
8150 if test "$lt_use_gnu_ld_interface" = yes; then
8151 # If archive_cmds runs LD, not CC, wlarc should be empty
8154 # Set some defaults for GNU ld with shared library support. These
8155 # are reset later if shared libraries are not supported. Putting them
8156 # here allows them to be overridden if necessary.
8157 runpath_var=LD_RUN_PATH
8158 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8159 export_dynamic_flag_spec='${wl}--export-dynamic'
8160 # ancient GNU ld didn't support --whole-archive et. al.
8161 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8162 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8164 whole_archive_flag_spec=
8166 supports_anon_versioning=no
8167 case `$LD -v 2>&1` in
8168 *GNU\ gold*) supports_anon_versioning=yes ;;
8169 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8170 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8171 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8172 *\ 2.11.*) ;; # other 2.11 versions
8173 *) supports_anon_versioning=yes ;;
8176 # See if GNU ld supports shared libraries.
8179 # On AIX/PPC, the GNU linker is very broken
8180 if test "$host_cpu" != ia64; then
8184 *** Warning: the GNU linker, at least up to release 2.19, is reported
8185 *** to be unable to reliably create shared libraries on AIX.
8186 *** Therefore, libtool is disabling shared libraries support. If you
8187 *** really care for shared libraries, you may want to install binutils
8188 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8189 *** You will then need to restart the configuration process.
8198 # see comment about AmigaOS4 .so support
8199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8200 archive_expsym_cmds=''
8203 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)'
8204 hardcode_libdir_flag_spec
='-L$libdir'
8205 hardcode_minus_L
=yes
8211 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8212 allow_undefined_flag
=unsupported
8213 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8214 # support --undefined. This deserves some investigation. FIXME
8215 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8221 cygwin
* | mingw
* | pw32
* | cegcc
*)
8222 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8223 # as there is no search path for DLLs.
8224 hardcode_libdir_flag_spec
='-L$libdir'
8225 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8226 allow_undefined_flag
=unsupported
8227 always_export_symbols
=no
8228 enable_shared_with_static_runtimes
=yes
8229 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8231 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8232 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8233 # If the export-symbols file already is a .def file (1st line
8234 # is EXPORTS), use it as is; otherwise, prepend...
8235 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8236 cp $export_symbols $output_objdir/$soname.def;
8238 echo EXPORTS > $output_objdir/$soname.def;
8239 cat $export_symbols >> $output_objdir/$soname.def;
8241 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8249 link_all_deplibs
=yes
8254 hardcode_shlibpath_var
=no
8255 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8256 export_dynamic_flag_spec
='${wl}-E'
8257 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8258 # Instead, shared libraries are loaded at an image base (0x10000000 by
8259 # default) and relocated if they conflict, which is a slow very memory
8260 # consuming and fragmenting process. To avoid this, we pick a random,
8261 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8262 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8263 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8264 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'
8267 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8269 if test "$host_os" = linux-dietlibc
; then
8270 case $cc_basename in
8271 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8274 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8275 && test "$tmp_diet" = no
8278 tmp_sharedflag
='-shared'
8279 case $cc_basename,$host_cpu in
8280 pgcc
*) # Portland Group C compiler
8281 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'
8282 tmp_addflag
=' $pic_flag'
8284 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8285 # Portland Group f77 and f90 compilers
8286 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'
8287 tmp_addflag
=' $pic_flag -Mnomain' ;;
8288 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8289 tmp_addflag
=' -i_dynamic' ;;
8290 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8291 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8292 ifc
* | ifort
*) # Intel Fortran compiler
8293 tmp_addflag
=' -nofor_main' ;;
8294 lf95
*) # Lahey Fortran 8.1
8295 whole_archive_flag_spec
=
8296 tmp_sharedflag
='--shared' ;;
8297 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8298 tmp_sharedflag
='-qmkshrobj'
8300 nvcc
*) # Cuda Compiler Driver 2.2
8301 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'
8302 compiler_needs_object
=yes
8305 case `$CC -V 2>&1 | sed 5q` in
8306 *Sun\ C
*) # Sun C 5.9
8307 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'
8308 compiler_needs_object
=yes
8309 tmp_sharedflag
='-G' ;;
8310 *Sun\ F
*) # Sun Fortran 8.3
8311 tmp_sharedflag
='-G' ;;
8313 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8315 if test "x$supports_anon_versioning" = xyes
; then
8316 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8317 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8318 echo "local: *; };" >> $output_objdir/$libname.ver~
8319 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8322 case $cc_basename in
8323 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8324 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8325 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8326 hardcode_libdir_flag_spec
=
8327 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8328 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8329 if test "x$supports_anon_versioning" = xyes
; then
8330 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8331 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8332 echo "local: *; };" >> $output_objdir/$libname.ver~
8333 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8343 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8344 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8347 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8348 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8353 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8357 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8358 *** create shared libraries on Solaris systems. Therefore, libtool
8359 *** is disabling shared libraries support. We urge you to upgrade GNU
8360 *** binutils to release 2.9.1 or newer. Another option is to modify
8361 *** your PATH or compiler configuration so that the native linker is
8362 *** used, and then restart.
8365 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8366 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8367 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8373 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8374 case `$LD -v 2>&1` in
8375 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8379 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8380 *** reliably create shared libraries on SCO systems. Therefore, libtool
8381 *** is disabling shared libraries support. We urge you to upgrade GNU
8382 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8383 *** your PATH or compiler configuration so that the native linker is
8384 *** used, and then restart.
8389 # For security reasons, it is highly recommended that you always
8390 # use absolute paths for naming shared libraries, and exclude the
8391 # DT_RUNPATH tag from executables and libraries. But doing so
8392 # requires that you compile everything twice, which is a pain.
8393 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8394 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8395 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8396 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8405 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8408 hardcode_shlibpath_var
=no
8412 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8413 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8414 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8421 if test "$ld_shlibs" = no
; then
8423 hardcode_libdir_flag_spec
=
8424 export_dynamic_flag_spec
=
8425 whole_archive_flag_spec
=
8428 # PORTME fill in a description of your system's linker (not GNU ld)
8431 allow_undefined_flag
=unsupported
8432 always_export_symbols
=yes
8433 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'
8434 # Note: this linker hardcodes the directories in LIBPATH if there
8435 # are no directories specified by -L.
8436 hardcode_minus_L
=yes
8437 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8438 # Neither direct hardcoding nor static linking is supported with a
8440 hardcode_direct
=unsupported
8445 if test "$host_cpu" = ia64
; then
8446 # On IA64, the linker does run time linking by default, so we don't
8447 # have to do anything special.
8448 aix_use_runtimelinking
=no
8449 exp_sym_flag
='-Bexport'
8452 # If we're using GNU nm, then we don't want the "-C" option.
8453 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8454 # Also, AIX nm treats weak defined symbols like other global
8455 # defined symbols, whereas GNU nm marks them as "W".
8456 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8457 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'
8459 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8461 aix_use_runtimelinking
=no
8463 # Test if we are trying to use run time linking or normal
8464 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8465 # need to do runtime linking.
8466 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8467 for ld_flag
in $LDFLAGS; do
8468 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8469 aix_use_runtimelinking
=yes
8476 exp_sym_flag
='-bexport'
8477 no_entry_flag
='-bnoentry'
8480 # When large executables or shared objects are built, AIX ld can
8481 # have problems creating the table of contents. If linking a library
8482 # or program results in "error TOC overflow" add -mminimal-toc to
8483 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8484 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8488 hardcode_direct_absolute
=yes
8489 hardcode_libdir_separator
=':'
8490 link_all_deplibs
=yes
8491 file_list_spec
='${wl}-f,'
8493 if test "$GCC" = yes; then
8494 case $host_os in aix4.
[012]|aix4.
[012].
*)
8495 # We only want to do this on AIX 4.2 and lower, the check
8496 # below for broken collect2 doesn't work under 4.3+
8497 collect2name
=`${CC} -print-prog-name=collect2`
8498 if test -f "$collect2name" &&
8499 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8501 # We have reworked collect2
8504 # We have old collect2
8505 hardcode_direct
=unsupported
8506 # It fails to find uninstalled libraries when the uninstalled
8507 # path is not listed in the libpath. Setting hardcode_minus_L
8508 # to unsupported forces relinking
8509 hardcode_minus_L
=yes
8510 hardcode_libdir_flag_spec
='-L$libdir'
8511 hardcode_libdir_separator
=
8515 shared_flag
='-shared'
8516 if test "$aix_use_runtimelinking" = yes; then
8517 shared_flag
="$shared_flag "'${wl}-G'
8521 if test "$host_cpu" = ia64
; then
8522 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8523 # chokes on -Wl,-G. The following line is correct:
8526 if test "$aix_use_runtimelinking" = yes; then
8527 shared_flag
='${wl}-G'
8529 shared_flag
='${wl}-bM:SRE'
8534 export_dynamic_flag_spec
='${wl}-bexpall'
8535 # It seems that -bexpall does not export symbols beginning with
8536 # underscore (_), so it is better to generate a list of symbols to export.
8537 always_export_symbols
=yes
8538 if test "$aix_use_runtimelinking" = yes; then
8539 # Warning - without using the other runtime loading flags (-brtl),
8540 # -berok will link without error, but may produce a broken library.
8541 allow_undefined_flag
='-berok'
8542 # Determine the default libpath from the value encoded in an
8544 if test x
$gcc_no_link = xyes
; then
8545 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8558 if ac_fn_c_try_link
"$LINENO"; then :
8560 lt_aix_libpath_sed
='
8561 /Import File Strings/,/^$/ {
8567 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8568 # Check for a 64-bit object if we didn't find anything.
8569 if test -z "$aix_libpath"; then
8570 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8573 rm -f core conftest.err conftest.
$ac_objext \
8574 conftest
$ac_exeext conftest.
$ac_ext
8575 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8577 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8578 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"
8580 if test "$host_cpu" = ia64
; then
8581 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8582 allow_undefined_flag
="-z nodefs"
8583 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"
8585 # Determine the default libpath from the value encoded in an
8587 if test x
$gcc_no_link = xyes
; then
8588 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8601 if ac_fn_c_try_link
"$LINENO"; then :
8603 lt_aix_libpath_sed
='
8604 /Import File Strings/,/^$/ {
8610 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8611 # Check for a 64-bit object if we didn't find anything.
8612 if test -z "$aix_libpath"; then
8613 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8616 rm -f core conftest.err conftest.
$ac_objext \
8617 conftest
$ac_exeext conftest.
$ac_ext
8618 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8620 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8621 # Warning - without using the other run time loading flags,
8622 # -berok will link without error, but may produce a broken library.
8623 no_undefined_flag
=' ${wl}-bernotok'
8624 allow_undefined_flag
=' ${wl}-berok'
8625 if test "$with_gnu_ld" = yes; then
8626 # We only use this code for GNU lds that support --whole-archive.
8627 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8629 # Exported symbols can be pulled into shared objects from archives
8630 whole_archive_flag_spec
='$convenience'
8632 archive_cmds_need_lc
=yes
8633 # This is similar to how AIX traditionally builds its shared libraries.
8634 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'
8642 # see comment about AmigaOS4 .so support
8643 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8644 archive_expsym_cmds
=''
8647 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)'
8648 hardcode_libdir_flag_spec
='-L$libdir'
8649 hardcode_minus_L
=yes
8655 export_dynamic_flag_spec
=-rdynamic
8658 cygwin
* | mingw
* | pw32
* | cegcc
*)
8659 # When not using gcc, we currently assume that we are using
8660 # Microsoft Visual C++.
8661 # hardcode_libdir_flag_spec is actually meaningless, as there is
8662 # no search path for DLLs.
8663 hardcode_libdir_flag_spec
=' '
8664 allow_undefined_flag
=unsupported
8665 # Tell ltmain to make .lib files, not .a files.
8667 # Tell ltmain to make .dll files, not .so files.
8669 # FIXME: Setting linknames here is a bad hack.
8670 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8671 # The linker will automatically build a .lib file if we build a DLL.
8672 old_archive_from_new_cmds
='true'
8673 # FIXME: Should let the user specify the lib program.
8674 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8675 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8676 enable_shared_with_static_runtimes
=yes
8679 darwin
* | rhapsody
*)
8682 archive_cmds_need_lc
=no
8684 hardcode_automatic
=yes
8685 hardcode_shlibpath_var
=unsupported
8686 if test "$lt_cv_ld_force_load" = "yes"; then
8687 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\"`'
8689 whole_archive_flag_spec
=''
8691 link_all_deplibs
=yes
8692 allow_undefined_flag
="$_lt_dar_allow_undefined"
8693 case $cc_basename in
8694 ifort
*) _lt_dar_can_shared
=yes ;;
8695 *) _lt_dar_can_shared
=$GCC ;;
8697 if test "$_lt_dar_can_shared" = "yes"; then
8698 output_verbose_link_cmd
=func_echo_all
8699 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8700 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8701 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}"
8702 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}"
8711 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8712 hardcode_libdir_flag_spec
='-L$libdir'
8713 hardcode_shlibpath_var
=no
8716 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8717 # support. Future versions do this automatically, but an explicit c++rt0.o
8718 # does not break anything, and helps significantly (at the cost of a little
8721 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8722 hardcode_libdir_flag_spec
='-R$libdir'
8724 hardcode_shlibpath_var
=no
8727 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8729 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8731 hardcode_minus_L
=yes
8732 hardcode_shlibpath_var
=no
8735 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8736 freebsd
* | dragonfly
*)
8737 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8738 hardcode_libdir_flag_spec
='-R$libdir'
8740 hardcode_shlibpath_var
=no
8744 if test "$GCC" = yes; then
8745 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'
8747 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'
8749 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8750 hardcode_libdir_separator
=:
8753 # hardcode_minus_L: Not really in the search PATH,
8754 # but as the default location of the library.
8755 hardcode_minus_L
=yes
8756 export_dynamic_flag_spec
='${wl}-E'
8760 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8761 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8763 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8765 if test "$with_gnu_ld" = no
; then
8766 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8767 hardcode_libdir_flag_spec_ld
='+b $libdir'
8768 hardcode_libdir_separator
=:
8770 hardcode_direct_absolute
=yes
8771 export_dynamic_flag_spec
='${wl}-E'
8772 # hardcode_minus_L: Not really in the search PATH,
8773 # but as the default location of the library.
8774 hardcode_minus_L
=yes
8779 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8782 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8785 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8788 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8794 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8797 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8801 # Older versions of the 11.00 compiler do not understand -b yet
8802 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8804 $as_echo_n "checking if $CC understands -b... " >&6; }
8805 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8806 $as_echo_n "(cached) " >&6
8808 lt_cv_prog_compiler__b
=no
8809 save_LDFLAGS
="$LDFLAGS"
8810 LDFLAGS
="$LDFLAGS -b"
8811 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8812 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8813 # The linker can only warn and ignore the option if not recognized
8814 # So say no if there are warnings
8815 if test -s conftest.err
; then
8816 # Append any errors to the config.log.
8817 cat conftest.err
1>&5
8818 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8819 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8820 if diff conftest.exp conftest.er2
>/dev
/null
; then
8821 lt_cv_prog_compiler__b
=yes
8824 lt_cv_prog_compiler__b
=yes
8828 LDFLAGS
="$save_LDFLAGS"
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8832 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8834 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8835 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8837 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8843 if test "$with_gnu_ld" = no
; then
8844 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8845 hardcode_libdir_separator
=:
8850 hardcode_shlibpath_var
=no
8854 hardcode_direct_absolute
=yes
8855 export_dynamic_flag_spec
='${wl}-E'
8857 # hardcode_minus_L: Not really in the search PATH,
8858 # but as the default location of the library.
8859 hardcode_minus_L
=yes
8865 irix5
* | irix6
* | nonstopux
*)
8866 if test "$GCC" = yes; then
8867 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'
8868 # Try to use the -exported_symbol ld option, if it does not
8869 # work, assume that -exports_file does not work either and
8870 # implicitly export all symbols.
8871 save_LDFLAGS
="$LDFLAGS"
8872 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8873 if test x
$gcc_no_link = xyes
; then
8874 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8880 if ac_fn_c_try_link
"$LINENO"; then :
8881 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'
8884 rm -f core conftest.err conftest.
$ac_objext \
8885 conftest
$ac_exeext conftest.
$ac_ext
8886 LDFLAGS
="$save_LDFLAGS"
8888 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'
8889 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'
8891 archive_cmds_need_lc
='no'
8892 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8893 hardcode_libdir_separator
=:
8895 link_all_deplibs
=yes
8899 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8900 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8902 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8904 hardcode_libdir_flag_spec
='-R$libdir'
8906 hardcode_shlibpath_var
=no
8910 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8912 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8913 hardcode_libdir_separator
=:
8914 hardcode_shlibpath_var
=no
8921 if test -f /usr
/libexec
/ld.so
; then
8923 hardcode_shlibpath_var
=no
8924 hardcode_direct_absolute
=yes
8925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8926 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8927 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8928 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8929 export_dynamic_flag_spec
='${wl}-E'
8932 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8933 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8934 hardcode_libdir_flag_spec
='-R$libdir'
8937 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8938 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8948 hardcode_libdir_flag_spec
='-L$libdir'
8949 hardcode_minus_L
=yes
8950 allow_undefined_flag
=unsupported
8951 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'
8952 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8956 if test "$GCC" = yes; then
8957 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8958 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'
8960 allow_undefined_flag
=' -expect_unresolved \*'
8961 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'
8963 archive_cmds_need_lc
='no'
8964 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8965 hardcode_libdir_separator
=:
8968 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8969 if test "$GCC" = yes; then
8970 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8971 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'
8972 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8974 allow_undefined_flag
=' -expect_unresolved \*'
8975 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'
8976 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~
8977 $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'
8979 # Both c and cxx compiler support -rpath directly
8980 hardcode_libdir_flag_spec
='-rpath $libdir'
8982 archive_cmds_need_lc
='no'
8983 hardcode_libdir_separator
=:
8987 no_undefined_flag
=' -z defs'
8988 if test "$GCC" = yes; then
8990 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8991 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8992 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8994 case `$CC -V 2>&1` in
8997 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8998 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8999 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9003 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9004 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9005 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9009 hardcode_libdir_flag_spec
='-R$libdir'
9010 hardcode_shlibpath_var
=no
9012 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9014 # The compiler driver will combine and reorder linker options,
9015 # but understands `-z linker_flag'. GCC discards it without `$wl',
9016 # but is careful enough not to reorder.
9017 # Supported since Solaris 2.6 (maybe 2.5.1?)
9018 if test "$GCC" = yes; then
9019 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9021 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9025 link_all_deplibs
=yes
9029 if test "x$host_vendor" = xsequent
; then
9030 # Use $CC to link under sequent, because it throws in some extra .o
9031 # files that make .init and .fini sections work.
9032 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9034 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9036 hardcode_libdir_flag_spec
='-L$libdir'
9038 hardcode_minus_L
=yes
9039 hardcode_shlibpath_var
=no
9043 case $host_vendor in
9045 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9046 hardcode_direct
=yes # is this really true???
9049 ## LD is ld it makes a PLAMLIB
9050 ## CC just makes a GrossModule.
9051 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9052 reload_cmds
='$CC -r -o $output$reload_objs'
9056 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9057 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9060 runpath_var
='LD_RUN_PATH'
9061 hardcode_shlibpath_var
=no
9065 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9066 hardcode_shlibpath_var
=no
9067 export_dynamic_flag_spec
='-Bexport'
9071 if test -d /usr
/nec
; then
9072 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_shlibpath_var
=no
9074 runpath_var
=LD_RUN_PATH
9075 hardcode_runpath_var
=yes
9080 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9081 no_undefined_flag
='${wl}-z,text'
9082 archive_cmds_need_lc
=no
9083 hardcode_shlibpath_var
=no
9084 runpath_var
='LD_RUN_PATH'
9086 if test "$GCC" = yes; then
9087 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9088 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9090 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9091 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9095 sysv5
* | sco3.2v5
* | sco5v6
*)
9096 # Note: We can NOT use -z defs as we might desire, because we do not
9097 # link with -lc, and that would cause any symbols used from libc to
9098 # always be unresolved, which means just about no library would
9099 # ever link correctly. If we're not using GNU ld we use -z text
9100 # though, which does catch some bad symbols but isn't as heavy-handed
9102 no_undefined_flag
='${wl}-z,text'
9103 allow_undefined_flag
='${wl}-z,nodefs'
9104 archive_cmds_need_lc
=no
9105 hardcode_shlibpath_var
=no
9106 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9107 hardcode_libdir_separator
=':'
9108 link_all_deplibs
=yes
9109 export_dynamic_flag_spec
='${wl}-Bexport'
9110 runpath_var
='LD_RUN_PATH'
9112 if test "$GCC" = yes; then
9113 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9116 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9122 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9123 hardcode_libdir_flag_spec
='-L$libdir'
9124 hardcode_shlibpath_var
=no
9132 if test x
$host_vendor = xsni
; then
9134 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9135 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9142 $as_echo "$ld_shlibs" >&6; }
9143 test "$ld_shlibs" = no
&& can_build_shared
=no
9145 with_gnu_ld
=$with_gnu_ld
9162 # Do we need to explicitly link libc?
9164 case "x$archive_cmds_need_lc" in
9166 # Assume -lc should be added
9167 archive_cmds_need_lc
=yes
9169 if test "$enable_shared" = yes && test "$GCC" = yes; then
9170 case $archive_cmds in
9172 # FIXME: we may have to deal with multi-command sequences.
9175 # Test whether the compiler implicitly links with -lc since on some
9176 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9177 # to ld, don't add -lc before -lgcc.
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9179 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9180 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9181 $as_echo_n "(cached) " >&6
9184 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9187 (eval $ac_compile) 2>&5
9189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9190 test $ac_status = 0; } 2>conftest.err
; then
9193 libobjs
=conftest.
$ac_objext
9195 wl
=$lt_prog_compiler_wl
9196 pic_flag
=$lt_prog_compiler_pic
9202 lt_save_allow_undefined_flag
=$allow_undefined_flag
9203 allow_undefined_flag
=
9204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9205 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9208 test $ac_status = 0; }
9210 lt_cv_archive_cmds_need_lc
=no
9212 lt_cv_archive_cmds_need_lc
=yes
9214 allow_undefined_flag
=$lt_save_allow_undefined_flag
9216 cat conftest.err
1>&5
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9222 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9223 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9387 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9389 if test "$GCC" = yes; then
9391 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9392 *) lt_awk_arg
="/^libraries:/" ;;
9395 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9396 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9398 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9399 case $lt_search_path_spec in
9401 # if the path contains ";" then we assume it to be the separator
9402 # otherwise default to the standard path separator (i.e. ":") - it is
9403 # assumed that no part of a normal pathname contains ";" but that should
9404 # okay in the real world where ";" in dirpaths is itself problematic.
9405 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9408 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9411 # Ok, now we have the path, separated by spaces, we can step through it
9412 # and add multilib dir if necessary.
9413 lt_tmp_lt_search_path_spec
=
9414 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9415 for lt_sys_path
in $lt_search_path_spec; do
9416 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9417 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9419 test -d "$lt_sys_path" && \
9420 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9423 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9424 BEGIN {RS=" "; FS="/|\n";} {
9427 for (lt_i = NF; lt_i > 0; lt_i--) {
9428 if ($lt_i != "" && $lt_i != ".") {
9429 if ($lt_i == "..") {
9432 if (lt_count == 0) {
9433 lt_foo="/" $lt_i lt_foo;
9440 if (lt_foo != "") { lt_freq[lt_foo]++; }
9441 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9443 # AWK program above erroneously prepends '/' to C:/dos/paths
9446 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9447 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9449 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9451 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9454 libname_spec
='lib$name'
9462 shlibpath_overrides_runpath
=unknown
9464 dynamic_linker
="$host_os ld.so"
9465 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9466 need_lib_prefix
=unknown
9467 hardcode_into_libs
=no
9469 # when you set need_version to no, make sure it does not cause -set_version
9470 # flags to be left without arguments
9471 need_version
=unknown
9476 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9477 shlibpath_var
=LIBPATH
9479 # AIX 3 has no versioning support, so we append a major version to the name.
9480 soname_spec
='${libname}${release}${shared_ext}$major'
9487 hardcode_into_libs
=yes
9488 if test "$host_cpu" = ia64
; then
9489 # AIX 5 supports IA64
9490 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9491 shlibpath_var
=LD_LIBRARY_PATH
9493 # With GCC up to 2.95.x, collect2 would create an import file
9494 # for dependence libraries. The import file would start with
9495 # the line `#! .'. This would cause the generated library to
9496 # depend on `.', always an invalid library. This was fixed in
9497 # development snapshots of GCC prior to 3.0.
9499 aix4 | aix4.
[01] | aix4.
[01].
*)
9500 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9502 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9509 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9510 # soname into executable. Probably we can add versioning support to
9511 # collect2, so additional links can be useful in future.
9512 if test "$aix_use_runtimelinking" = yes; then
9513 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9514 # instead of lib<name>.a to let people know that these are not
9515 # typical AIX shared libraries.
9516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9518 # We preserve .a as extension for shared libraries through AIX4.2
9519 # and later when we are not doing run time linking.
9520 library_names_spec
='${libname}${release}.a $libname.a'
9521 soname_spec
='${libname}${release}${shared_ext}$major'
9523 shlibpath_var
=LIBPATH
9530 # Since July 2007 AmigaOS4 officially supports .so libraries.
9531 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9535 library_names_spec
='$libname.ixlibrary $libname.a'
9536 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9537 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'
9543 library_names_spec
='${libname}${shared_ext}'
9544 dynamic_linker
="$host_os ld.so"
9545 shlibpath_var
=LIBRARY_PATH
9551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9552 soname_spec
='${libname}${release}${shared_ext}$major'
9553 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9554 shlibpath_var
=LD_LIBRARY_PATH
9555 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9556 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9557 # the default ld.so.conf also contains /usr/contrib/lib and
9558 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9559 # libtool to hard-code these into programs
9562 cygwin
* | mingw
* | pw32
* | cegcc
*)
9563 version_type
=windows
9568 case $GCC,$host_os in
9569 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9570 library_names_spec
='$libname.dll.a'
9571 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9572 postinstall_cmds
='base_file=`basename \${file}`~
9573 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9574 dldir=$destdir/`dirname \$dlpath`~
9575 test -d \$dldir || mkdir -p \$dldir~
9576 $install_prog $dir/$dlname \$dldir/$dlname~
9577 chmod a+x \$dldir/$dlname~
9578 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9579 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9581 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9582 dlpath=$dir/\$dldll~
9584 shlibpath_overrides_runpath
=yes
9588 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9589 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9591 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9594 # MinGW DLLs use traditional 'lib' prefix
9595 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9598 # pw32 DLLs use 'pw' prefix rather than 'lib'
9599 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9605 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9608 dynamic_linker
='Win32 ld.exe'
9609 # FIXME: first we should search . and the directory the executable is in
9613 darwin
* | rhapsody
*)
9614 dynamic_linker
="$host_os dyld"
9618 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9619 soname_spec
='${libname}${release}${major}$shared_ext'
9620 shlibpath_overrides_runpath
=yes
9621 shlibpath_var
=DYLD_LIBRARY_PATH
9622 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9624 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9625 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9633 soname_spec
='${libname}${release}${shared_ext}$major'
9634 shlibpath_var
=LD_LIBRARY_PATH
9637 freebsd
* | dragonfly
*)
9638 # DragonFly does not have aout. When/if they implement a new
9639 # versioning mechanism, adjust this.
9640 if test -x /usr
/bin
/objformat
; then
9641 objformat
=`/usr/bin/objformat`
9644 freebsd
[123]*) objformat
=aout
;;
9648 version_type
=freebsd-
$objformat
9649 case $version_type in
9651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9656 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9660 shlibpath_var
=LD_LIBRARY_PATH
9663 shlibpath_overrides_runpath
=yes
9665 freebsd3.
[01]* | freebsdelf3.
[01]*)
9666 shlibpath_overrides_runpath
=yes
9667 hardcode_into_libs
=yes
9669 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9670 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9671 shlibpath_overrides_runpath
=no
9672 hardcode_into_libs
=yes
9674 *) # from 4.6 on, and DragonFly
9675 shlibpath_overrides_runpath
=yes
9676 hardcode_into_libs
=yes
9685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9686 soname_spec
='${libname}${release}${shared_ext}$major'
9687 shlibpath_var
=LD_LIBRARY_PATH
9688 hardcode_into_libs
=yes
9695 dynamic_linker
="$host_os runtime_loader"
9696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9697 soname_spec
='${libname}${release}${shared_ext}$major'
9698 shlibpath_var
=LIBRARY_PATH
9699 shlibpath_overrides_runpath
=yes
9700 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9701 hardcode_into_libs
=yes
9704 hpux9
* | hpux10
* | hpux11
*)
9705 # Give a soname corresponding to the major version so that dld.sl refuses to
9706 # link against other versions.
9713 hardcode_into_libs
=yes
9714 dynamic_linker
="$host_os dld.so"
9715 shlibpath_var
=LD_LIBRARY_PATH
9716 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9718 soname_spec
='${libname}${release}${shared_ext}$major'
9719 if test "X$HPUX_IA64_MODE" = X32
; then
9720 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9722 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9724 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9728 hardcode_into_libs
=yes
9729 dynamic_linker
="$host_os dld.sl"
9730 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9731 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9733 soname_spec
='${libname}${release}${shared_ext}$major'
9734 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9735 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9739 dynamic_linker
="$host_os dld.sl"
9740 shlibpath_var
=SHLIB_PATH
9741 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743 soname_spec
='${libname}${release}${shared_ext}$major'
9746 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9747 postinstall_cmds
='chmod 555 $lib'
9748 # or fails outright, so override atomically:
9749 install_override_mode
=555
9756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9757 soname_spec
='${libname}${release}${shared_ext}$major'
9758 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9759 shlibpath_var
=LD_LIBRARY_PATH
9760 shlibpath_overrides_runpath
=no
9761 hardcode_into_libs
=yes
9764 irix5
* | irix6
* | nonstopux
*)
9766 nonstopux
*) version_type
=nonstopux
;;
9768 if test "$lt_cv_prog_gnu_ld" = yes; then
9776 soname_spec
='${libname}${release}${shared_ext}$major'
9777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9779 irix5
* | nonstopux
*)
9783 case $LD in # libtool.m4 will add one of these switches to LD
9784 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9785 libsuff
= shlibsuff
= libmagic
=32-bit;;
9786 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9787 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9788 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9789 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9790 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9794 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9795 shlibpath_overrides_runpath
=no
9796 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9797 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9798 hardcode_into_libs
=yes
9801 # No shared lib support for Linux oldld, aout, or coff.
9802 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9806 # This must be Linux ELF.
9807 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9812 soname_spec
='${libname}${release}${shared_ext}$major'
9813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9814 shlibpath_var
=LD_LIBRARY_PATH
9815 shlibpath_overrides_runpath
=no
9817 # Some binutils ld are patched to set DT_RUNPATH
9818 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9819 $as_echo_n "(cached) " >&6
9821 lt_cv_shlibpath_overrides_runpath
=no
9822 save_LDFLAGS
=$LDFLAGS
9824 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9825 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9826 if test x
$gcc_no_link = xyes
; then
9827 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9840 if ac_fn_c_try_link
"$LINENO"; then :
9841 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9842 lt_cv_shlibpath_overrides_runpath
=yes
9845 rm -f core conftest.err conftest.
$ac_objext \
9846 conftest
$ac_exeext conftest.
$ac_ext
9847 LDFLAGS
=$save_LDFLAGS
9852 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9854 # This implies no fast_install, which is unacceptable.
9855 # Some rework will be needed to allow for fast_install
9856 # before this can be enabled.
9857 hardcode_into_libs
=yes
9859 # Append ld.so.conf contents to the search path
9860 if test -f /etc
/ld.so.conf
; then
9861 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' ' '`
9862 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9865 # We used to test for /lib/ld.so.1 and disable shared libraries on
9866 # powerpc, because MkLinux only supported shared libraries with the
9867 # GNU dynamic linker. Since this was broken with cross compilers,
9868 # most powerpc-linux boxes support dynamic linking these days and
9869 # people can always --disable-shared, the test was removed, and we
9870 # assume the GNU/Linux dynamic linker is in use.
9871 dynamic_linker
='GNU/Linux ld.so'
9878 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9881 dynamic_linker
='NetBSD (a.out) ld.so'
9883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9884 soname_spec
='${libname}${release}${shared_ext}$major'
9885 dynamic_linker
='NetBSD ld.elf_so'
9887 shlibpath_var
=LD_LIBRARY_PATH
9888 shlibpath_overrides_runpath
=yes
9889 hardcode_into_libs
=yes
9894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895 shlibpath_var
=LD_LIBRARY_PATH
9896 shlibpath_overrides_runpath
=yes
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904 soname_spec
='${libname}${release}${shared_ext}$major'
9905 shlibpath_var
=LD_LIBRARY_PATH
9906 shlibpath_overrides_runpath
=no
9907 hardcode_into_libs
=yes
9908 dynamic_linker
='ldqnx.so'
9913 sys_lib_dlsearch_path_spec
="/usr/lib"
9915 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9917 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9918 *) need_version
=no
;;
9920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9921 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9922 shlibpath_var
=LD_LIBRARY_PATH
9923 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9925 openbsd2.
[89] | openbsd2.
[89].
*)
9926 shlibpath_overrides_runpath
=no
9929 shlibpath_overrides_runpath
=yes
9933 shlibpath_overrides_runpath
=yes
9938 libname_spec
='$name'
9941 library_names_spec
='$libname${shared_ext} $libname.a'
9942 dynamic_linker
='OS/2 ld.exe'
9943 shlibpath_var
=LIBPATH
9946 osf3
* | osf4
* | osf5
*)
9950 soname_spec
='${libname}${release}${shared_ext}$major'
9951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9952 shlibpath_var
=LD_LIBRARY_PATH
9953 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9954 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966 soname_spec
='${libname}${release}${shared_ext}$major'
9967 shlibpath_var
=LD_LIBRARY_PATH
9968 shlibpath_overrides_runpath
=yes
9969 hardcode_into_libs
=yes
9970 # ldd complains unless libraries are executable
9971 postinstall_cmds
='chmod +x $lib'
9976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9977 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9978 shlibpath_var
=LD_LIBRARY_PATH
9979 shlibpath_overrides_runpath
=yes
9980 if test "$with_gnu_ld" = yes; then
9988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989 soname_spec
='${libname}${release}${shared_ext}$major'
9990 shlibpath_var
=LD_LIBRARY_PATH
9991 case $host_vendor in
9993 shlibpath_overrides_runpath
=no
9995 runpath_var
=LD_RUN_PATH
10003 shlibpath_overrides_runpath
=no
10004 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10010 if test -d /usr
/nec
;then
10012 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10013 soname_spec
='$libname${shared_ext}.$major'
10014 shlibpath_var
=LD_LIBRARY_PATH
10018 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10019 version_type
=freebsd-elf
10022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10023 soname_spec
='${libname}${release}${shared_ext}$major'
10024 shlibpath_var
=LD_LIBRARY_PATH
10025 shlibpath_overrides_runpath
=yes
10026 hardcode_into_libs
=yes
10027 if test "$with_gnu_ld" = yes; then
10028 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10030 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10033 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10037 sys_lib_dlsearch_path_spec
='/usr/lib'
10041 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046 shlibpath_var
=LD_LIBRARY_PATH
10047 shlibpath_overrides_runpath
=no
10048 hardcode_into_libs
=yes
10053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10054 soname_spec
='${libname}${release}${shared_ext}$major'
10055 shlibpath_var
=LD_LIBRARY_PATH
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10063 $as_echo "$dynamic_linker" >&6; }
10064 test "$dynamic_linker" = no
&& can_build_shared
=no
10066 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10067 if test "$GCC" = yes; then
10068 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10071 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10072 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10074 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10075 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10170 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10172 if test -n "$hardcode_libdir_flag_spec" ||
10173 test -n "$runpath_var" ||
10174 test "X$hardcode_automatic" = "Xyes" ; then
10176 # We can hardcode non-existent directories.
10177 if test "$hardcode_direct" != no
&&
10178 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10179 # have to relink, otherwise we might link with an installed library
10180 # when we should be linking with a yet-to-be-installed one
10181 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10182 test "$hardcode_minus_L" != no
; then
10183 # Linking always hardcodes the temporary library directory.
10184 hardcode_action
=relink
10186 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10187 hardcode_action
=immediate
10190 # We cannot hardcode anything, or else we can only hardcode existing
10192 hardcode_action
=unsupported
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10195 $as_echo "$hardcode_action" >&6; }
10197 if test "$hardcode_action" = relink ||
10198 test "$inherit_rpath" = yes; then
10199 # Fast installation is not supported
10200 enable_fast_install
=no
10201 elif test "$shlibpath_overrides_runpath" = yes ||
10202 test "$enable_shared" = no
; then
10203 # Fast installation is not necessary
10204 enable_fast_install
=needless
10212 if test "x$enable_dlopen" != xyes
; then
10213 enable_dlopen
=unknown
10214 enable_dlopen_self
=unknown
10215 enable_dlopen_self_static
=unknown
10222 lt_cv_dlopen
="load_add_on"
10224 lt_cv_dlopen_self
=yes
10227 mingw
* | pw32
* | cegcc
*)
10228 lt_cv_dlopen
="LoadLibrary"
10233 lt_cv_dlopen
="dlopen"
10238 # if libdl is installed we need to link against it
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10240 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10241 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_lib_save_LIBS
=$LIBS
10246 if test x
$gcc_no_link = xyes
; then
10247 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10267 if ac_fn_c_try_link
"$LINENO"; then :
10268 ac_cv_lib_dl_dlopen
=yes
10270 ac_cv_lib_dl_dlopen
=no
10272 rm -f core conftest.err conftest.
$ac_objext \
10273 conftest
$ac_exeext conftest.
$ac_ext
10274 LIBS
=$ac_check_lib_save_LIBS
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10277 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10278 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10279 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10282 lt_cv_dlopen
="dyld"
10284 lt_cv_dlopen_self
=yes
10291 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10292 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10293 lt_cv_dlopen
="shl_load"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10296 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10297 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10298 $as_echo_n "(cached) " >&6
10300 ac_check_lib_save_LIBS
=$LIBS
10302 if test x
$gcc_no_link = xyes
; then
10303 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10318 return shl_load ();
10323 if ac_fn_c_try_link
"$LINENO"; then :
10324 ac_cv_lib_dld_shl_load
=yes
10326 ac_cv_lib_dld_shl_load
=no
10328 rm -f core conftest.err conftest.
$ac_objext \
10329 conftest
$ac_exeext conftest.
$ac_ext
10330 LIBS
=$ac_check_lib_save_LIBS
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10333 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10334 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10335 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10337 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10338 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10339 lt_cv_dlopen
="dlopen"
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10342 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10343 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10344 $as_echo_n "(cached) " >&6
10346 ac_check_lib_save_LIBS
=$LIBS
10348 if test x
$gcc_no_link = xyes
; then
10349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10369 if ac_fn_c_try_link
"$LINENO"; then :
10370 ac_cv_lib_dl_dlopen
=yes
10372 ac_cv_lib_dl_dlopen
=no
10374 rm -f core conftest.err conftest.
$ac_objext \
10375 conftest
$ac_exeext conftest.
$ac_ext
10376 LIBS
=$ac_check_lib_save_LIBS
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10380 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10381 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10384 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10385 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10386 $as_echo_n "(cached) " >&6
10388 ac_check_lib_save_LIBS
=$LIBS
10389 LIBS
="-lsvld $LIBS"
10390 if test x
$gcc_no_link = xyes
; then
10391 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10396 /* Override any GCC internal prototype to avoid an error.
10397 Use char because int might match the return type of a GCC
10398 builtin and then its argument prototype would still apply. */
10411 if ac_fn_c_try_link
"$LINENO"; then :
10412 ac_cv_lib_svld_dlopen
=yes
10414 ac_cv_lib_svld_dlopen
=no
10416 rm -f core conftest.err conftest.
$ac_objext \
10417 conftest
$ac_exeext conftest.
$ac_ext
10418 LIBS
=$ac_check_lib_save_LIBS
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10421 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10422 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10423 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10426 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10427 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10428 $as_echo_n "(cached) " >&6
10430 ac_check_lib_save_LIBS
=$LIBS
10432 if test x
$gcc_no_link = xyes
; then
10433 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10448 return dld_link ();
10453 if ac_fn_c_try_link
"$LINENO"; then :
10454 ac_cv_lib_dld_dld_link
=yes
10456 ac_cv_lib_dld_dld_link
=no
10458 rm -f core conftest.err conftest.
$ac_objext \
10459 conftest
$ac_exeext conftest.
$ac_ext
10460 LIBS
=$ac_check_lib_save_LIBS
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10463 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10464 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10465 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10486 if test "x$lt_cv_dlopen" != xno
; then
10492 case $lt_cv_dlopen in
10494 save_CPPFLAGS
="$CPPFLAGS"
10495 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10497 save_LDFLAGS
="$LDFLAGS"
10498 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10501 LIBS
="$lt_cv_dlopen_libs $LIBS"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10504 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10505 if test "${lt_cv_dlopen_self+set}" = set; then :
10506 $as_echo_n "(cached) " >&6
10508 if test "$cross_compiling" = yes; then :
10509 lt_cv_dlopen_self
=cross
10511 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10512 lt_status
=$lt_dlunknown
10513 cat > conftest.
$ac_ext <<_LT_EOF
10514 #line 10514 "configure"
10515 #include "confdefs.h"
10524 # define LT_DLGLOBAL RTLD_GLOBAL
10527 # define LT_DLGLOBAL DL_GLOBAL
10529 # define LT_DLGLOBAL 0
10533 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10534 find out it does not work in some platform. */
10535 #ifndef LT_DLLAZY_OR_NOW
10537 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10540 # define LT_DLLAZY_OR_NOW DL_LAZY
10543 # define LT_DLLAZY_OR_NOW RTLD_NOW
10546 # define LT_DLLAZY_OR_NOW DL_NOW
10548 # define LT_DLLAZY_OR_NOW 0
10555 /* When -fvisbility=hidden is used, assume the code has been annotated
10556 correspondingly for the symbols needed. */
10557 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10558 void fnord () __attribute__((visibility("default")));
10561 void fnord () { int i=42; }
10564 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10565 int status = $lt_dlunknown;
10569 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10572 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10573 else puts (dlerror ());
10575 /* dlclose (self); */
10583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10584 (eval $ac_link) 2>&5
10586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10587 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10588 (.
/conftest
; exit; ) >&5 2>/dev
/null
10590 case x
$lt_status in
10591 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10592 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10593 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10596 # compilation failed
10597 lt_cv_dlopen_self
=no
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10605 $as_echo "$lt_cv_dlopen_self" >&6; }
10607 if test "x$lt_cv_dlopen_self" = xyes
; then
10608 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10610 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10611 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10612 $as_echo_n "(cached) " >&6
10614 if test "$cross_compiling" = yes; then :
10615 lt_cv_dlopen_self_static
=cross
10617 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10618 lt_status
=$lt_dlunknown
10619 cat > conftest.
$ac_ext <<_LT_EOF
10620 #line 10620 "configure"
10621 #include "confdefs.h"
10630 # define LT_DLGLOBAL RTLD_GLOBAL
10633 # define LT_DLGLOBAL DL_GLOBAL
10635 # define LT_DLGLOBAL 0
10639 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10640 find out it does not work in some platform. */
10641 #ifndef LT_DLLAZY_OR_NOW
10643 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10646 # define LT_DLLAZY_OR_NOW DL_LAZY
10649 # define LT_DLLAZY_OR_NOW RTLD_NOW
10652 # define LT_DLLAZY_OR_NOW DL_NOW
10654 # define LT_DLLAZY_OR_NOW 0
10661 /* When -fvisbility=hidden is used, assume the code has been annotated
10662 correspondingly for the symbols needed. */
10663 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10664 void fnord () __attribute__((visibility("default")));
10667 void fnord () { int i=42; }
10670 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10671 int status = $lt_dlunknown;
10675 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10678 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10679 else puts (dlerror ());
10681 /* dlclose (self); */
10689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10690 (eval $ac_link) 2>&5
10692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10693 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10694 (.
/conftest
; exit; ) >&5 2>/dev
/null
10696 case x
$lt_status in
10697 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10698 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10699 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10702 # compilation failed
10703 lt_cv_dlopen_self_static
=no
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10711 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10714 CPPFLAGS
="$save_CPPFLAGS"
10715 LDFLAGS
="$save_LDFLAGS"
10720 case $lt_cv_dlopen_self in
10721 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10722 *) enable_dlopen_self
=unknown
;;
10725 case $lt_cv_dlopen_self_static in
10726 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10727 *) enable_dlopen_self_static
=unknown
;;
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10750 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10751 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10752 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10753 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10755 $as_echo "yes" >&6; }
10757 # FIXME - insert some real tests, host_os isn't really good enough
10760 if test -n "$STRIP" ; then
10761 striplib
="$STRIP -x"
10762 old_striplib
="$STRIP -S"
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10764 $as_echo "yes" >&6; }
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10767 $as_echo "no" >&6; }
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10772 $as_echo "no" >&6; }
10788 # Report which library types will actually be built
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10790 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10792 $as_echo "$can_build_shared" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10795 $as_echo_n "checking whether to build shared libraries... " >&6; }
10796 test "$can_build_shared" = "no" && enable_shared
=no
10798 # On AIX, shared libraries and static libraries use the same namespace, and
10799 # are all built from PIC.
10802 test "$enable_shared" = yes && enable_static
=no
10803 if test -n "$RANLIB"; then
10804 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10805 postinstall_cmds
='$RANLIB $lib'
10810 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10811 test "$enable_shared" = yes && enable_static
=no
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10816 $as_echo "$enable_shared" >&6; }
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10819 $as_echo_n "checking whether to build static libraries... " >&6; }
10820 # Make sure either enable_shared or enable_static is yes.
10821 test "$enable_shared" = yes || enable_static
=yes
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10823 $as_echo "$enable_static" >&6; }
10830 ac_cpp
='$CPP $CPPFLAGS'
10831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10849 ac_config_commands
="$ac_config_commands libtool"
10854 # Only expand once:
10861 *-cygwin* |
*-mingw*)
10862 # 'host' will be top-level target in the case of a target lib,
10863 # we must compare to with_cross_host to decide if this is a native
10864 # or cross-compiler and select where to install dlls appropriately.
10865 if test -n "$with_cross_host" &&
10866 test x
"$with_cross_host" != x
"no"; then
10867 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
10869 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10884 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10885 # Check whether --enable-maintainer-mode was given.
10886 if test "${enable_maintainer_mode+set}" = set; then :
10887 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
10889 USE_MAINTAINER_MODE
=no
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10893 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10894 if test $USE_MAINTAINER_MODE = yes; then
10895 MAINTAINER_MODE_TRUE
=
10896 MAINTAINER_MODE_FALSE
='#'
10898 MAINTAINER_MODE_TRUE
='#'
10899 MAINTAINER_MODE_FALSE
=
10902 MAINT
=$MAINTAINER_MODE_TRUE
10905 # Default to --enable-multilib
10906 # Check whether --enable-multilib was given.
10907 if test "${enable_multilib+set}" = set; then :
10908 enableval
=$enable_multilib; case "$enableval" in
10909 yes) multilib
=yes ;;
10911 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
10918 # We may get other options which we leave undocumented:
10919 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10920 # See config-ml.in if you want the gory details.
10922 if test "$srcdir" = "."; then
10923 if test "$with_target_subdir" != "."; then
10924 multi_basedir
="$srcdir/$with_multisrctop../.."
10926 multi_basedir
="$srcdir/$with_multisrctop.."
10929 multi_basedir
="$srcdir/.."
10933 # Even if the default multilib is not a cross compilation,
10934 # it may be that some of the other multilibs are.
10935 if test $cross_compiling = no
&& test $multilib = yes \
10936 && test "x${with_multisubdir}" != x
; then
10937 cross_compiling
=maybe
10940 ac_config_commands
="$ac_config_commands default-1"
10944 ac_cpp
='$CPP $CPPFLAGS'
10945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10949 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10950 # We must force CC to /not/ be precious variables; otherwise
10951 # the wrong, non-multilib-adjusted value will be used in multilibs.
10952 # As a side effect, we have to subst CFLAGS ourselves.
10957 ac_cpp
='$CPP $CPPFLAGS'
10958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10961 if test -n "$ac_tool_prefix"; then
10962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10963 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10965 $as_echo_n "checking for $ac_word... " >&6; }
10966 if test "${ac_cv_prog_CC+set}" = set; then :
10967 $as_echo_n "(cached) " >&6
10969 if test -n "$CC"; then
10970 ac_cv_prog_CC
="$CC" # Let the user override the test.
10972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10973 for as_dir
in $PATH
10976 test -z "$as_dir" && as_dir
=.
10977 for ac_exec_ext
in '' $ac_executable_extensions; do
10978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10979 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10990 if test -n "$CC"; then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10992 $as_echo "$CC" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
11000 if test -z "$ac_cv_prog_CC"; then
11002 # Extract the first word of "gcc", so it can be a program name with args.
11003 set dummy gcc
; ac_word
=$2
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11005 $as_echo_n "checking for $ac_word... " >&6; }
11006 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11007 $as_echo_n "(cached) " >&6
11009 if test -n "$ac_ct_CC"; then
11010 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11013 for as_dir
in $PATH
11016 test -z "$as_dir" && as_dir
=.
11017 for ac_exec_ext
in '' $ac_executable_extensions; do
11018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11019 ac_cv_prog_ac_ct_CC
="gcc"
11020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11029 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11030 if test -n "$ac_ct_CC"; then
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11032 $as_echo "$ac_ct_CC" >&6; }
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11035 $as_echo "no" >&6; }
11038 if test "x$ac_ct_CC" = x
; then
11041 case $cross_compiling:$ac_tool_warned in
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11045 ac_tool_warned
=yes ;;
11050 CC
="$ac_cv_prog_CC"
11053 if test -z "$CC"; then
11054 if test -n "$ac_tool_prefix"; then
11055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11056 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11058 $as_echo_n "checking for $ac_word... " >&6; }
11059 if test "${ac_cv_prog_CC+set}" = set; then :
11060 $as_echo_n "(cached) " >&6
11062 if test -n "$CC"; then
11063 ac_cv_prog_CC
="$CC" # Let the user override the test.
11065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11066 for as_dir
in $PATH
11069 test -z "$as_dir" && as_dir
=.
11070 for ac_exec_ext
in '' $ac_executable_extensions; do
11071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11072 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11083 if test -n "$CC"; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11085 $as_echo "$CC" >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11088 $as_echo "no" >&6; }
11094 if test -z "$CC"; then
11095 # Extract the first word of "cc", so it can be a program name with args.
11096 set dummy cc
; ac_word
=$2
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11098 $as_echo_n "checking for $ac_word... " >&6; }
11099 if test "${ac_cv_prog_CC+set}" = set; then :
11100 $as_echo_n "(cached) " >&6
11102 if test -n "$CC"; then
11103 ac_cv_prog_CC
="$CC" # Let the user override the test.
11105 ac_prog_rejected
=no
11106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11107 for as_dir
in $PATH
11110 test -z "$as_dir" && as_dir
=.
11111 for ac_exec_ext
in '' $ac_executable_extensions; do
11112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11114 ac_prog_rejected
=yes
11118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11125 if test $ac_prog_rejected = yes; then
11126 # We found a bogon in the path, so make sure we never use it.
11127 set dummy
$ac_cv_prog_CC
11129 if test $# != 0; then
11130 # We chose a different compiler from the bogus one.
11131 # However, it has the same basename, so the bogon will be chosen
11132 # first if we set CC to just the basename; use the full file name.
11134 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11140 if test -n "$CC"; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11142 $as_echo "$CC" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11145 $as_echo "no" >&6; }
11150 if test -z "$CC"; then
11151 if test -n "$ac_tool_prefix"; then
11152 for ac_prog
in cl.exe
11154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11155 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11157 $as_echo_n "checking for $ac_word... " >&6; }
11158 if test "${ac_cv_prog_CC+set}" = set; then :
11159 $as_echo_n "(cached) " >&6
11161 if test -n "$CC"; then
11162 ac_cv_prog_CC
="$CC" # Let the user override the test.
11164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11165 for as_dir
in $PATH
11168 test -z "$as_dir" && as_dir
=.
11169 for ac_exec_ext
in '' $ac_executable_extensions; do
11170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11171 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11182 if test -n "$CC"; then
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11184 $as_echo "$CC" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11187 $as_echo "no" >&6; }
11191 test -n "$CC" && break
11194 if test -z "$CC"; then
11196 for ac_prog
in cl.exe
11198 # Extract the first word of "$ac_prog", so it can be a program name with args.
11199 set dummy
$ac_prog; ac_word
=$2
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11201 $as_echo_n "checking for $ac_word... " >&6; }
11202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11203 $as_echo_n "(cached) " >&6
11205 if test -n "$ac_ct_CC"; then
11206 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11209 for as_dir
in $PATH
11212 test -z "$as_dir" && as_dir
=.
11213 for ac_exec_ext
in '' $ac_executable_extensions; do
11214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11215 ac_cv_prog_ac_ct_CC
="$ac_prog"
11216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11226 if test -n "$ac_ct_CC"; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11228 $as_echo "$ac_ct_CC" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11235 test -n "$ac_ct_CC" && break
11238 if test "x$ac_ct_CC" = x
; then
11241 case $cross_compiling:$ac_tool_warned in
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11245 ac_tool_warned
=yes ;;
11254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11256 as_fn_error
"no acceptable C compiler found in \$PATH
11257 See \`config.log' for more details." "$LINENO" 5; }
11259 # Provide some information about the compiler.
11260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11263 for ac_option
in --version -v -V -qversion; do
11264 { { ac_try
="$ac_compiler $ac_option >&5"
11265 case "(($ac_try" in
11266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11267 *) ac_try_echo=$ac_try;;
11269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11270 $as_echo "$ac_try_echo"; } >&5
11271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11273 if test -s conftest.err; then
11275 ... rest of stderr output deleted ...
11276 10q' conftest.err >conftest.er1
11277 cat conftest.er1 >&5
11278 rm -f conftest.er1 conftest.err
11280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11281 test $ac_status = 0; }
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11285 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11286 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11287 $as_echo_n "(cached) " >&6
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11303 if ac_fn_c_try_compile "$LINENO"; then :
11304 ac_compiler_gnu=yes
11308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11309 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11313 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11314 if test $ac_compiler_gnu = yes; then
11319 ac_test_CFLAGS=${CFLAGS+set}
11320 ac_save_CFLAGS=$CFLAGS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11322 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11323 if test "${ac_cv_prog_cc_g+set}" = set; then :
11324 $as_echo_n "(cached) " >&6
11326 ac_save_c_werror_flag=$ac_c_werror_flag
11327 ac_c_werror_flag=yes
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11341 if ac_fn_c_try_compile "$LINENO"; then :
11342 ac_cv_prog_cc_g=yes
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11356 if ac_fn_c_try_compile "$LINENO"; then :
11359 ac_c_werror_flag=$ac_save_c_werror_flag
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11372 if ac_fn_c_try_compile "$LINENO"; then :
11373 ac_cv_prog_cc_g=yes
11375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11380 ac_c_werror_flag=$ac_save_c_werror_flag
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11383 $as_echo "$ac_cv_prog_cc_g" >&6; }
11384 if test "$ac_test_CFLAGS" = set; then
11385 CFLAGS=$ac_save_CFLAGS
11386 elif test $ac_cv_prog_cc_g = yes; then
11387 if test "$GCC" = yes; then
11393 if test "$GCC" = yes; then
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11400 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11401 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11402 $as_echo_n "(cached) " >&6
11404 ac_cv_prog_cc_c89=no
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11408 #include <stdarg.h>
11410 #include <sys/types.h>
11411 #include <sys/stat.h>
11412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11413 struct buf { int x; };
11414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11415 static char *e (p, i)
11421 static char *f (char * (*g) (char **, int), char **p, ...)
11426 s = g (p, va_arg (v,int));
11431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11432 function prototypes and stuff, but not '\xHH' hex character constants.
11433 These don't provoke an error unfortunately, instead are silently treated
11434 as 'x'. The following induces an error, until -std is added to get
11435 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11436 array size at least. It's necessary to write '\x00'==0 to get something
11437 that's true only with -std. */
11438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11441 inside strings and character constants. */
11443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11445 int test (int i, double x);
11446 struct s1 {int (*f) (int a);};
11447 struct s2 {int (*f) (double a);};
11448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11454 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11460 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11462 CC="$ac_save_CC $ac_arg"
11463 if ac_fn_c_try_compile "$LINENO"; then :
11464 ac_cv_prog_cc_c89=$ac_arg
11466 rm -f core conftest.err conftest.$ac_objext
11467 test "x$ac_cv_prog_cc_c89" != "xno" && break
11469 rm -f conftest.$ac_ext
11474 case "x$ac_cv_prog_cc_c89" in
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11477 $as_echo "none needed" >&6; } ;;
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11480 $as_echo "unsupported" >&6; } ;;
11482 CC="$CC $ac_cv_prog_cc_c89"
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11484 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11486 if test "x$ac_cv_prog_cc_c89" != xno; then :
11491 ac_cpp='$CPP $CPPFLAGS'
11492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11496 depcc="$CC" am_compiler_list=
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11499 $as_echo_n "checking dependency style of $depcc... " >&6; }
11500 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11501 $as_echo_n "(cached) " >&6
11503 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11504 # We make a subdir and do the tests there. Otherwise we can end up
11505 # making bogus files that we don't know about and never remove. For
11506 # instance it was reported that on HP-UX the gcc test will end up
11507 # making a dummy file named `D
' -- because `-MD' means
`put the output
11510 # Copy depcomp to subdir because otherwise we won't find it if we're
11511 # using a relative directory.
11512 cp "$am_depcomp" conftest.dir
11514 # We will build objects and dependencies in a subdirectory because
11515 # it helps to detect inapplicable dependency modes. For instance
11516 # both Tru64's cc and ICC support -MD to output dependencies as a
11517 # side effect of compilation, but ICC will put the dependencies in
11518 # the current directory while Tru64 will put them in the object
11522 am_cv_CC_dependencies_compiler_type=none
11523 if test "$am_compiler_list" = ""; then
11524 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11526 am__universal=false
11527 case " $depcc " in #(
11528 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11531 for depmode in $am_compiler_list; do
11532 # Setup a source with many dependencies, because some compilers
11533 # like to wrap large dependency lists on column 80 (with \), and
11534 # we should not choose a depcomp mode which is confused by this.
11536 # We need to recreate these files for each test, as the compiler may
11537 # overwrite some of them when testing with obscure command lines.
11538 # This happens at least with the AIX C compiler.
11540 for i in 1 2 3 4 5 6; do
11541 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11542 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11543 # Solaris 8's
{/usr
,}/bin
/sh.
11544 touch sub
/conftst
$i.h
11546 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11548 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11549 # mode. It turns out that the SunPro C++ compiler does not properly
11550 # handle `-M -o', and we need to detect this. Also, some Intel
11551 # versions had trouble with output in subdirs
11552 am__obj
=sub
/conftest.
${OBJEXT-o}
11553 am__minus_obj
="-o $am__obj"
11556 # This depmode causes a compiler race in universal mode.
11557 test "$am__universal" = false ||
continue
11560 # after this tag, mechanisms are not by side-effect, so they'll
11561 # only be used when explicitly requested
11562 if test "x$enable_dependency_tracking" = xyes
; then
11568 msvisualcpp | msvcmsys
)
11569 # This compiler won't grok `-c -o', but also, the minuso test has
11570 # not run yet. These depmodes are late enough in the game, and
11571 # so weak that their functioning should not be impacted.
11572 am__obj
=conftest.
${OBJEXT-o}
11577 if depmode
=$depmode \
11578 source=sub
/conftest.c object
=$am__obj \
11579 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11580 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11581 >/dev
/null
2>conftest.err
&&
11582 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11583 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11584 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11585 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11586 # icc doesn't choke on unknown options, it will just issue warnings
11587 # or remarks (even with -Werror). So we grep stderr for any message
11588 # that says an option was ignored or not supported.
11589 # When given -MP, icc 7.0 and 7.1 complain thusly:
11590 # icc: Command line warning: ignoring option '-M'; no argument required
11591 # The diagnosis changed in icc 8.0:
11592 # icc: Command line remark: option '-MP' not supported
11593 if (grep 'ignoring option' conftest.err ||
11594 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11595 am_cv_CC_dependencies_compiler_type
=$depmode
11602 rm -rf conftest.dir
11604 am_cv_CC_dependencies_compiler_type
=none
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11609 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11610 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11613 test "x$enable_dependency_tracking" != xno \
11614 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11615 am__fastdepCC_TRUE
=
11616 am__fastdepCC_FALSE
='#'
11618 am__fastdepCC_TRUE
='#'
11619 am__fastdepCC_FALSE
=
11627 if test "x$CC" != xcc
; then
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11629 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11632 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11634 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11635 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11636 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11637 $as_echo_n "(cached) " >&6
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11650 # Make sure it works both with $CC and with simple cc.
11651 # We do the test twice because some compilers refuse to overwrite an
11652 # existing .o file with -o, though they will create one.
11653 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11655 if { { case "(($ac_try" in
11656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11657 *) ac_try_echo=$ac_try;;
11659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11660 $as_echo "$ac_try_echo"; } >&5
11661 (eval "$ac_try") 2>&5
11663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11664 test $ac_status = 0; } &&
11665 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11667 *) ac_try_echo
=$ac_try;;
11669 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11670 $as_echo "$ac_try_echo"; } >&5
11671 (eval "$ac_try") 2>&5
11673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11674 test $ac_status = 0; };
11676 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11677 if test "x$CC" != xcc
; then
11678 # Test first that cc exists at all.
11679 if { ac_try
='cc -c conftest.$ac_ext >&5'
11680 { { case "(($ac_try" in
11681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11682 *) ac_try_echo=$ac_try;;
11684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11685 $as_echo "$ac_try_echo"; } >&5
11686 (eval "$ac_try") 2>&5
11688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11689 test $ac_status = 0; }; }; then
11690 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11692 if { { case "(($ac_try" in
11693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11694 *) ac_try_echo
=$ac_try;;
11696 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11697 $as_echo "$ac_try_echo"; } >&5
11698 (eval "$ac_try") 2>&5
11700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11701 test $ac_status = 0; } &&
11702 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11704 *) ac_try_echo=$ac_try;;
11706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11707 $as_echo "$ac_try_echo"; } >&5
11708 (eval "$ac_try") 2>&5
11710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11711 test $ac_status = 0; };
11716 # cc exists but doesn't like -o.
11717 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11722 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11724 rm -f core conftest*
11727 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11729 $as_echo "yes" >&6; }
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11732 $as_echo "no" >&6; }
11734 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11738 # FIXME: we rely on the cache variable name because
11739 # there is no other way.
11741 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11742 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11743 if test "$am_t" != yes; then
11744 # Losing compiler, so override with the script.
11745 # FIXME: It is wrong to rewrite CC.
11746 # But if we don't then we get into trouble of one sort or another.
11747 # A longer-term fix would be to have automake use am__CC in this case,
11748 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11749 CC="$am_aux_dir/compile $CC"
11754 if test "x$GCC" != "xyes"; then
11755 as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11758 ac_cpp='$CPP $CPPFLAGS'
11759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11763 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11764 # On Suns, sometimes $CPP names a directory.
11765 if test -n "$CPP" && test -d "$CPP"; then
11768 if test -z "$CPP"; then
11769 if test "${ac_cv_prog_CPP+set}" = set; then :
11770 $as_echo_n "(cached) " >&6
11772 # Double quotes because CPP needs to be expanded
11773 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11775 ac_preproc_ok=false
11776 for ac_c_preproc_warn_flag in '' yes
11778 # Use a header file that comes with gcc, so configuring glibc
11779 # with a fresh cross-compiler works.
11780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11781 # <limits.h> exists even on freestanding compilers.
11782 # On the NeXT, cc -E runs the code through the compiler's parser,
11783 # not just through cpp. "Syntax error" is here to catch this case.
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 # include <limits.h>
11789 # include <assert.h>
11793 if ac_fn_c_try_cpp "$LINENO"; then :
11796 # Broken: fails on valid input.
11799 rm -f conftest.err conftest.$ac_ext
11801 # OK, works on sane cases. Now check whether nonexistent headers
11802 # can be detected and how.
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11805 #include <ac_nonexistent.h>
11807 if ac_fn_c_try_cpp "$LINENO"; then :
11808 # Broken: success on invalid input.
11811 # Passes both tests.
11815 rm -f conftest.err conftest.$ac_ext
11818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11819 rm -f conftest.err conftest.
$ac_ext
11820 if $ac_preproc_ok; then :
11825 ac_cv_prog_CPP
=$CPP
11828 CPP
=$ac_cv_prog_CPP
11830 ac_cv_prog_CPP
=$CPP
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11833 $as_echo "$CPP" >&6; }
11834 ac_preproc_ok
=false
11835 for ac_c_preproc_warn_flag
in '' yes
11837 # Use a header file that comes with gcc, so configuring glibc
11838 # with a fresh cross-compiler works.
11839 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11840 # <limits.h> exists even on freestanding compilers.
11841 # On the NeXT, cc -E runs the code through the compiler's parser,
11842 # not just through cpp. "Syntax error" is here to catch this case.
11843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 # include <limits.h>
11848 # include <assert.h>
11852 if ac_fn_c_try_cpp
"$LINENO"; then :
11855 # Broken: fails on valid input.
11858 rm -f conftest.err conftest.
$ac_ext
11860 # OK, works on sane cases. Now check whether nonexistent headers
11861 # can be detected and how.
11862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11864 #include <ac_nonexistent.h>
11866 if ac_fn_c_try_cpp
"$LINENO"; then :
11867 # Broken: success on invalid input.
11870 # Passes both tests.
11874 rm -f conftest.err conftest.
$ac_ext
11877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11878 rm -f conftest.err conftest.
$ac_ext
11879 if $ac_preproc_ok; then :
11882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11884 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
11885 See \`config.log' for more details." "$LINENO" 5; }
11889 ac_cpp
='$CPP $CPPFLAGS'
11890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11895 # Calculate toolexeclibdir
11896 # Also toolexecdir, though it's only used in toolexeclibdir
11897 case ${version_specific_libs} in
11899 # Need the gcc compiler version to know where to install libraries
11900 # and header files if --enable-version-specific-runtime-libs option
11902 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11903 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11906 if test -n "$with_cross_host" &&
11907 test x
"$with_cross_host" != x
"no"; then
11908 # Install a library built with a cross compiler in tooldir, not libdir.
11909 toolexecdir
='$(exec_prefix)/$(target_alias)'
11910 toolexeclibdir
='$(toolexecdir)/lib'
11912 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11913 toolexeclibdir
='$(libdir)'
11915 multi_os_directory
=`$CC -print-multi-os-directory`
11916 case $multi_os_directory in
11917 .
) ;; # Avoid trailing /.
11918 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11925 for ac_header
in fenv.h langinfo.h wchar.h wctype.h limits.h ctype.h
printf.h errno.h
11927 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11928 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11929 eval as_val
=\$
$as_ac_Header
11930 if test "x$as_val" = x
""yes; then :
11931 cat >>confdefs.h
<<_ACEOF
11932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11940 # If available, sqrtl and cbrtl speed up the calculation -
11941 # but they are not required
11942 if test x
$gcc_no_link != xyes
; then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11944 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11945 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11946 $as_echo_n "(cached) " >&6
11948 ac_check_lib_save_LIBS
=$LIBS
11950 if test x
$gcc_no_link = xyes
; then
11951 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11971 if ac_fn_c_try_link
"$LINENO"; then :
11972 ac_cv_lib_m_sqrtl
=yes
11974 ac_cv_lib_m_sqrtl
=no
11976 rm -f core conftest.err conftest.
$ac_objext \
11977 conftest
$ac_exeext conftest.
$ac_ext
11978 LIBS
=$ac_check_lib_save_LIBS
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
11981 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
11982 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
11984 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
11989 $as_echo_n "checking for cbrtl in -lm... " >&6; }
11990 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
11991 $as_echo_n "(cached) " >&6
11993 ac_check_lib_save_LIBS
=$LIBS
11995 if test x
$gcc_no_link = xyes
; then
11996 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12016 if ac_fn_c_try_link
"$LINENO"; then :
12017 ac_cv_lib_m_cbrtl
=yes
12019 ac_cv_lib_m_cbrtl
=no
12021 rm -f core conftest.err conftest.
$ac_objext \
12022 conftest
$ac_exeext conftest.
$ac_ext
12023 LIBS
=$ac_check_lib_save_LIBS
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
12026 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
12027 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then :
12029 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
12034 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
12035 if test "${ac_cv_lib_m_feholdexcept+set}" = set; then :
12036 $as_echo_n "(cached) " >&6
12038 ac_check_lib_save_LIBS
=$LIBS
12040 if test x
$gcc_no_link = xyes
; then
12041 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12052 char feholdexcept ();
12056 return feholdexcept ();
12061 if ac_fn_c_try_link
"$LINENO"; then :
12062 ac_cv_lib_m_feholdexcept
=yes
12064 ac_cv_lib_m_feholdexcept
=no
12066 rm -f core conftest.err conftest.
$ac_objext \
12067 conftest
$ac_exeext conftest.
$ac_ext
12068 LIBS
=$ac_check_lib_save_LIBS
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feholdexcept" >&5
12071 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12072 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then :
12074 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12079 $as_echo_n "checking for fesetround in -lm... " >&6; }
12080 if test "${ac_cv_lib_m_fesetround+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12083 ac_check_lib_save_LIBS
=$LIBS
12085 if test x
$gcc_no_link = xyes
; then
12086 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12097 char fesetround ();
12101 return fesetround ();
12106 if ac_fn_c_try_link
"$LINENO"; then :
12107 ac_cv_lib_m_fesetround
=yes
12109 ac_cv_lib_m_fesetround
=no
12111 rm -f core conftest.err conftest.
$ac_objext \
12112 conftest
$ac_exeext conftest.
$ac_ext
12113 LIBS
=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12116 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12117 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then :
12119 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12124 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12125 if test "${ac_cv_lib_m_feupdateenv+set}" = set; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12130 if test x
$gcc_no_link = xyes
; then
12131 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12142 char feupdateenv ();
12146 return feupdateenv ();
12151 if ac_fn_c_try_link
"$LINENO"; then :
12152 ac_cv_lib_m_feupdateenv
=yes
12154 ac_cv_lib_m_feupdateenv
=no
12156 rm -f core conftest.err conftest.
$ac_objext \
12157 conftest
$ac_exeext conftest.
$ac_ext
12158 LIBS
=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12161 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12162 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then :
12164 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12169 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12170 if test "${ac_cv_lib_m_fesetenv+set}" = set; then :
12171 $as_echo_n "(cached) " >&6
12173 ac_check_lib_save_LIBS
=$LIBS
12175 if test x
$gcc_no_link = xyes
; then
12176 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12191 return fesetenv ();
12196 if ac_fn_c_try_link
"$LINENO"; then :
12197 ac_cv_lib_m_fesetenv
=yes
12199 ac_cv_lib_m_fesetenv
=no
12201 rm -f core conftest.err conftest.
$ac_objext \
12202 conftest
$ac_exeext conftest.
$ac_ext
12203 LIBS
=$ac_check_lib_save_LIBS
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12206 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12207 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then :
12209 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12214 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12215 if test "${ac_cv_lib_m_fetestexcept+set}" = set; then :
12216 $as_echo_n "(cached) " >&6
12218 ac_check_lib_save_LIBS
=$LIBS
12220 if test x
$gcc_no_link = xyes
; then
12221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12232 char fetestexcept ();
12236 return fetestexcept ();
12241 if ac_fn_c_try_link
"$LINENO"; then :
12242 ac_cv_lib_m_fetestexcept
=yes
12244 ac_cv_lib_m_fetestexcept
=no
12246 rm -f core conftest.err conftest.
$ac_objext \
12247 conftest
$ac_exeext conftest.
$ac_ext
12248 LIBS
=$ac_check_lib_save_LIBS
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12251 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12252 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then :
12254 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12259 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then
12261 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12264 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then
12266 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12269 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then
12271 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12274 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then
12276 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12279 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then
12281 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12284 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then
12286 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12289 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then
12291 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12296 # Check for hidden visibility (copied from libssp).
12297 saved_CFLAGS
="$CFLAGS"
12298 CFLAGS
="$CFLAGS -Werror"
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
12300 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
12301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12304 void __attribute__((visibility ("hidden"))) bar (void) {}
12313 if ac_fn_c_try_compile
"$LINENO"; then :
12314 quadmath_hidden
=yes
12318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_hidden" >&5
12320 $as_echo "$quadmath_hidden" >&6; }
12321 if test x
$quadmath_hidden = xyes
; then
12323 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
12326 CFLAGS
="$saved_CFLAGS"
12328 # Check for symbol versioning (copied from libssp).
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12330 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12331 if test x
$gcc_no_link = xyes
; then
12332 # If we cannot link, we cannot build shared libraries, so do not use
12333 # symbol versioning.
12334 quadmath_use_symver
=no
12336 save_LDFLAGS
="$LDFLAGS"
12337 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12338 cat > conftest.map
<<EOF
12340 global: *foo*; bar; local: *;
12343 if test x
$gcc_no_link = xyes
; then
12344 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12357 if ac_fn_c_try_link
"$LINENO"; then :
12358 quadmath_use_symver
=gnu
12360 quadmath_use_symver
=no
12362 rm -f core conftest.err conftest.
$ac_objext \
12363 conftest
$ac_exeext conftest.
$ac_ext
12364 if test x
$quadmath_use_symver = xno
; then
12365 case "$target_os" in
12367 LDFLAGS
="$save_LDFLAGS"
12368 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12369 # Sun ld cannot handle wildcards and treats all entries as undefined.
12370 cat > conftest.map
<<EOF
12372 global: foo; local: *;
12375 if test x
$gcc_no_link = xyes
; then
12376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12389 if ac_fn_c_try_link
"$LINENO"; then :
12390 quadmath_use_symver
=sun
12392 quadmath_use_symver
=no
12394 rm -f core conftest.err conftest.
$ac_objext \
12395 conftest
$ac_exeext conftest.
$ac_ext
12399 LDFLAGS
="$save_LDFLAGS"
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12402 $as_echo "$quadmath_use_symver" >&6; }
12403 if test "x$quadmath_use_symver" != xno
; then
12404 LIBQUAD_USE_SYMVER_TRUE
=
12405 LIBQUAD_USE_SYMVER_FALSE
='#'
12407 LIBQUAD_USE_SYMVER_TRUE
='#'
12408 LIBQUAD_USE_SYMVER_FALSE
=
12411 if test "x$quadmath_use_symver" = xgnu
; then
12412 LIBQUAD_USE_SYMVER_GNU_TRUE
=
12413 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
12415 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
12416 LIBQUAD_USE_SYMVER_GNU_FALSE
=
12419 if test "x$quadmath_use_symver" = xsun
; then
12420 LIBQUAD_USE_SYMVER_SUN_TRUE
=
12421 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
12423 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
12424 LIBQUAD_USE_SYMVER_SUN_FALSE
=
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12429 $as_echo_n "checking whether __float128 is supported... " >&6; }
12430 if test "${libquad_cv_have_float128+set}" = set; then :
12431 $as_echo_n "(cached) " >&6
12433 if test x
$gcc_no_link = xyes
; then
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 typedef _Complex float __attribute__((mode(TC))) __complex128;
12439 __float128 foo (__float128 x)
12442 __complex128 z1, z2;
12448 return (__float128) z2;
12451 __float128 bar (__float128 x)
12453 return x * __builtin_huge_valq ();
12467 if ac_fn_c_try_compile
"$LINENO"; then :
12469 libquad_cv_have_float128
=yes
12473 libquad_cv_have_float128
=no
12476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12478 if test x
$gcc_no_link = xyes
; then
12479 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 typedef _Complex float __attribute__((mode(TC))) __complex128;
12486 __float128 foo (__float128 x)
12489 __complex128 z1, z2;
12495 return (__float128) z2;
12498 __float128 bar (__float128 x)
12500 return x * __builtin_huge_valq ();
12514 if ac_fn_c_try_link
"$LINENO"; then :
12516 libquad_cv_have_float128
=yes
12520 libquad_cv_have_float128
=no
12523 rm -f core conftest.err conftest.
$ac_objext \
12524 conftest
$ac_exeext conftest.
$ac_ext
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12528 $as_echo "$libquad_cv_have_float128" >&6; }
12529 if test "x$libquad_cv_have_float128" = xyes
; then
12530 BUILD_LIBQUADMATH_TRUE
=
12531 BUILD_LIBQUADMATH_FALSE
='#'
12533 BUILD_LIBQUADMATH_TRUE
='#'
12534 BUILD_LIBQUADMATH_FALSE
=
12538 # Check for printf hook support.
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf hooks are supported" >&5
12540 $as_echo_n "checking whether printf hooks are supported... " >&6; }
12541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 #include <printf.h>
12545 #include <stdarg.h>
12546 #include <stdlib.h>
12547 extern void flt128_va (void *, va_list *);
12548 extern int flt128_ais (const struct printf_info *, size_t, int *, int *);
12549 extern int flt128_printf_fp (FILE *, const struct printf_info *, const void *const *);
12555 int pa_flt128 = register_printf_type (flt128_va);
12556 int mod_Q = register_printf_modifier (L"Q");
12557 int res = register_printf_specifier ('f', flt128_printf_fp, flt128_ais);
12558 struct printf_info info = { .user = -1 };
12564 if ac_fn_c_try_compile
"$LINENO"; then :
12565 quadmath_printf_hooks
=yes
12567 quadmath_printf_hooks
=no
12569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_printf_hooks" >&5
12571 $as_echo "$quadmath_printf_hooks" >&6; }
12572 if test x
$quadmath_printf_hooks = xyes
; then
12574 $as_echo "#define HAVE_PRINTF_HOOKS 1" >>confdefs.h
12578 # Check for whether locale support for quadmath_snprintf or Q printf hooks
12579 # should be provided.
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale support for quadmath_snprintf should be added" >&5
12581 $as_echo_n "checking whether locale support for quadmath_snprintf should be added... " >&6; }
12582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12584 #include <langinfo.h>
12590 s = nl_langinfo (DECIMAL_POINT);
12591 s = nl_langinfo (MON_DECIMAL_POINT);
12592 s = nl_langinfo (GROUPING);
12593 s = nl_langinfo (MON_GROUPING);
12594 s = nl_langinfo (THOUSANDS_SEP);
12595 s = nl_langinfo (MON_THOUSANDS_SEP);
12596 s = nl_langinfo (_NL_NUMERIC_DECIMAL_POINT_WC);
12597 s = nl_langinfo (_NL_MONETARY_DECIMAL_POINT_WC);
12598 s = nl_langinfo (_NL_NUMERIC_THOUSANDS_SEP_WC);
12599 s = nl_langinfo (_NL_MONETARY_THOUSANDS_SEP_WC);
12600 s = nl_langinfo (_NL_CTYPE_MB_CUR_MAX);
12607 if ac_fn_c_try_compile
"$LINENO"; then :
12608 quadmath_use_locale_support
=yes
12610 quadmath_use_locale_support
=no
12612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_locale_support" >&5
12614 $as_echo "$quadmath_use_locale_support" >&6; }
12615 if test x
$quadmath_use_locale_support = xyes
; then
12617 $as_echo "#define USE_LOCALE_SUPPORT 1" >>confdefs.h
12621 # Check for whether i18n number rewriting support for quadmath_snprintf
12622 # or Q printf hooks should be provided.
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether i18n number rewriting support for quadmath_snprintf should be added" >&5
12624 $as_echo_n "checking whether i18n number rewriting support for quadmath_snprintf should be added... " >&6; }
12625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12627 #include <langinfo.h>
12628 #include <limits.h>
12629 #include <string.h>
12631 #include <wctype.h>
12637 char decimal[MB_LEN_MAX];
12638 wctrans_t map = wctrans ("to_outpunct");
12639 wint_t wdecimal = towctrans (L'.', map);
12641 memset (&state, '\0', sizeof (state));
12642 wcrtomb (decimal, wdecimal, &state);
12643 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_MB);
12644 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_WC);
12651 if ac_fn_c_try_compile
"$LINENO"; then :
12652 quadmath_use_i18n_number_h
=yes
12654 quadmath_use_i18n_number_h
=no
12656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_i18n_number_h" >&5
12658 $as_echo "$quadmath_use_i18n_number_h" >&6; }
12659 if test x
$quadmath_use_i18n_number_h = xyes
; then
12661 $as_echo "#define USE_I18N_NUMBER_H 1" >>confdefs.h
12665 cat >confcache
<<\_ACEOF
12666 # This file is a shell script that caches the results of configure
12667 # tests run on this system so they can be shared between configure
12668 # scripts and configure runs, see configure's option --config-cache.
12669 # It is not useful on other systems. If it contains results you don't
12670 # want to keep, you may remove or edit it.
12672 # config.status only pays attention to the cache file if you give it
12673 # the --recheck option to rerun configure.
12675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12677 # following values.
12681 # The following way of writing the cache mishandles newlines in values,
12682 # but we know of no workaround that is simple, portable, and efficient.
12683 # So, we kill variables containing newlines.
12684 # Ultrix sh set writes to stderr and can't be redirected directly,
12685 # and sets the high bit in the cache file unless we assign to the vars.
12687 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12688 eval ac_val
=\$
$ac_var
12692 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12696 _ | IFS | as_nl
) ;; #(
12697 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12698 *) { eval $ac_var=; unset $ac_var;} ;;
12704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12705 *${as_nl}ac_space
=\
*)
12706 # `set' does not quote correctly, so add quotes: double-quote
12707 # substitution turns \\\\ into \\, and sed turns \\ into \.
12710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12713 # `set' quotes correctly as required by POSIX, so do not add quotes.
12714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12727 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12728 if test -w "$cache_file"; then
12729 test "x$cache_file" != "x/dev/null" &&
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12731 $as_echo "$as_me: updating cache $cache_file" >&6;}
12732 cat confcache
>$cache_file
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12735 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12740 if test ${multilib} = yes; then
12741 multilib_arg
="--enable-multilib"
12747 # We would like our source tree to be readonly. However when releases or
12748 # pre-releases are generated, the flex/bison generated files as well as the
12749 # various formats of manuals need to be included along with the rest of the
12750 # sources. Therefore we have --enable-generated-files-in-srcdir to do
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
12753 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
12754 # Check whether --enable-generated-files-in-srcdir was given.
12755 if test "${enable_generated_files_in_srcdir+set}" = set; then :
12756 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
12757 yes) enable_generated_files_in_srcdir
=yes ;;
12758 no
) enable_generated_files_in_srcdir
=no
;;
12759 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
12762 enable_generated_files_in_srcdir
=no
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
12766 $as_echo "$enable_generated_files_in_srcdir" >&6; }
12767 if test "$enable_generated_files_in_srcdir" = yes; then
12777 ac_config_files
="$ac_config_files Makefile"
12779 cat >confcache
<<\_ACEOF
12780 # This file is a shell script that caches the results of configure
12781 # tests run on this system so they can be shared between configure
12782 # scripts and configure runs, see configure's option --config-cache.
12783 # It is not useful on other systems. If it contains results you don't
12784 # want to keep, you may remove or edit it.
12786 # config.status only pays attention to the cache file if you give it
12787 # the --recheck option to rerun configure.
12789 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12790 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12791 # following values.
12795 # The following way of writing the cache mishandles newlines in values,
12796 # but we know of no workaround that is simple, portable, and efficient.
12797 # So, we kill variables containing newlines.
12798 # Ultrix sh set writes to stderr and can't be redirected directly,
12799 # and sets the high bit in the cache file unless we assign to the vars.
12801 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12802 eval ac_val
=\$
$ac_var
12806 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12807 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12810 _ | IFS | as_nl
) ;; #(
12811 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12812 *) { eval $ac_var=; unset $ac_var;} ;;
12818 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12819 *${as_nl}ac_space
=\
*)
12820 # `set' does not quote correctly, so add quotes: double-quote
12821 # substitution turns \\\\ into \\, and sed turns \\ into \.
12824 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12827 # `set' quotes correctly as required by POSIX, so do not add quotes.
12828 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12837 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12839 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12841 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12842 if test -w "$cache_file"; then
12843 test "x$cache_file" != "x/dev/null" &&
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12845 $as_echo "$as_me: updating cache $cache_file" >&6;}
12846 cat confcache
>$cache_file
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12849 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12854 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12855 # Let make expand exec_prefix.
12856 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12858 DEFS
=-DHAVE_CONFIG_H
12862 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12863 # 1. Remove the extension, and $U if already installed.
12864 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12865 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12866 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12867 # will be set to the directory where LIBOBJS objects are built.
12868 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12869 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12871 LIBOBJS
=$ac_libobjs
12873 LTLIBOBJS
=$ac_ltlibobjs
12876 if test -n "$EXEEXT"; then
12878 am__EXEEXT_FALSE
='#'
12880 am__EXEEXT_TRUE
='#'
12884 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12885 as_fn_error
"conditional \"AMDEP\" was never defined.
12886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12888 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12889 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12892 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
12893 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
12894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12896 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12897 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12900 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12901 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12904 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
12905 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
12906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12908 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
12909 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
12910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12912 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
12913 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
12914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12916 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
12917 as_fn_error
"conditional \"BUILD_LIBQUADMATH\" was never defined.
12918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12920 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
12921 as_fn_error
"conditional \"GENINSRC\" was never defined.
12922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12925 : ${CONFIG_STATUS=./config.status}
12927 ac_clean_files_save
=$ac_clean_files
12928 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12930 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12932 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12934 # Generated by $as_me.
12935 # Run this file to recreate the current configuration.
12936 # Compiler output produced by configure, useful for debugging
12937 # configure, is in config.log if it exists.
12940 ac_cs_recheck=false
12943 SHELL=\${CONFIG_SHELL-$SHELL}
12946 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12947 ## -------------------- ##
12948 ## M4sh Initialization. ##
12949 ## -------------------- ##
12951 # Be more Bourne compatible
12952 DUALCASE
=1; export DUALCASE
# for MKS sh
12953 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12956 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12957 # is contrary to our usage. Disable this feature.
12958 alias -g '${1+"$@"}'='"$@"'
12959 setopt NO_GLOB_SUBST
12961 case `(set -o) 2>/dev/null` in #(
12973 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12974 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12975 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12976 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12977 # Prefer a ksh shell builtin over an external printf program on Solaris,
12978 # but without wasting forks for bash or zsh.
12979 if test -z "$BASH_VERSION$ZSH_VERSION" \
12980 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12981 as_echo='print
-r --'
12982 as_echo_n='print
-rn --'
12983 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12984 as_echo='printf %s
\n'
12985 as_echo_n='printf %s
'
12987 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12988 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12989 as_echo_n='/usr
/ucb
/echo -n'
12991 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12992 as_echo_n_body='eval
12996 expr "X$arg" : "X\\(.*\\)$as_nl";
12997 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12999 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13001 export as_echo_n_body
13002 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13004 export as_echo_body
13005 as_echo='sh
-c $as_echo_body as_echo
'
13008 # The user is always right.
13009 if test "${PATH_SEPARATOR+set}" != set; then
13011 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13012 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13019 # We need space, tab and new line, in precisely that order. Quoting is
13020 # there to prevent editors from complaining about space-tab.
13021 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13022 # splitting by setting IFS to empty value.)
13025 # Find who we are. Look in the path if we contain no directory separator.
13027 *[\\/]* ) as_myself=$0 ;;
13028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13029 for as_dir in $PATH
13032 test -z "$as_dir" && as_dir=.
13033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13039 # We did not find ourselves, most probably we were run as `sh COMMAND'
13040 # in which case we are not to be found in the path.
13041 if test "x$as_myself" = x
; then
13044 if test ! -f "$as_myself"; then
13045 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13049 # Unset variables that we do not need and which cause bugs (e.g. in
13050 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13051 # suppresses any "Segmentation fault" message there. '((' could
13052 # trigger a bug in pdksh 5.2.14.
13053 for as_var
in BASH_ENV ENV MAIL MAILPATH
13054 do eval test x\
${$as_var+set} = xset \
13055 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13068 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13071 # as_fn_error ERROR [LINENO LOG_FD]
13072 # ---------------------------------
13073 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13074 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13075 # script with status $?, using 1 if that was 0.
13078 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13080 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13081 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13083 $as_echo "$as_me: error: $1" >&2
13084 as_fn_exit
$as_status
13088 # as_fn_set_status STATUS
13089 # -----------------------
13090 # Set $? to STATUS, without forking.
13091 as_fn_set_status
()
13094 } # as_fn_set_status
13096 # as_fn_exit STATUS
13097 # -----------------
13098 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13102 as_fn_set_status
$1
13108 # Portably unset VAR.
13111 { eval $1=; unset $1;}
13113 as_unset
=as_fn_unset
13114 # as_fn_append VAR VALUE
13115 # ----------------------
13116 # Append the text in VALUE to the end of the definition contained in VAR. Take
13117 # advantage of any shell optimizations that allow amortized linear growth over
13118 # repeated appends, instead of the typical quadratic growth present in naive
13120 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13121 eval 'as_fn_append ()
13132 # as_fn_arith ARG...
13133 # ------------------
13134 # Perform arithmetic evaluation on the ARGs, and store the result in the
13135 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13136 # must be portable across $(()) and expr.
13137 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13138 eval 'as_fn_arith ()
13145 as_val
=`expr "$@" || test $? -eq 1`
13150 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13151 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13157 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13158 as_basename
=basename
13163 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13169 as_me
=`$as_basename -- "$0" ||
13170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13171 X"$0" : 'X\(//\)$' \| \
13172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13174 sed '/^.*\/\([^/][^/]*\)\/*$/{
13188 # Avoid depending upon Character Ranges.
13189 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13190 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13191 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13192 as_cr_digits
='0123456789'
13193 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13195 ECHO_C
= ECHO_N
= ECHO_T
=
13196 case `echo -n x` in #(((((
13198 case `echo 'xy\c'` in
13199 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13201 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13208 rm -f conf$$ conf$$.exe conf$$.
file
13209 if test -d conf$$.dir
; then
13210 rm -f conf$$.dir
/conf$$.
file
13213 mkdir conf$$.dir
2>/dev
/null
13215 if (echo >conf$$.
file) 2>/dev
/null
; then
13216 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13218 # ... but there are two gotchas:
13219 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13220 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13221 # In both cases, we have to default to `cp -p'.
13222 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13224 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13232 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13233 rmdir conf$$.dir
2>/dev
/null
13238 # Create "$as_dir" as a directory, including parents if necessary.
13243 -*) as_dir
=.
/$as_dir;;
13245 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13249 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13250 *) as_qdir
=$as_dir;;
13252 as_dirs
="'$as_qdir' $as_dirs"
13253 as_dir
=`$as_dirname -- "$as_dir" ||
13254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13255 X"$as_dir" : 'X\(//\)[^/]' \| \
13256 X"$as_dir" : 'X\(//\)$' \| \
13257 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13258 $as_echo X"$as_dir" |
13259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13263 /^X\(\/\/\)[^/].*/{
13276 test -d "$as_dir" && break
13278 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13279 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13283 if mkdir
-p .
2>/dev
/null
; then
13284 as_mkdir_p
='mkdir -p "$as_dir"'
13286 test -d .
/-p && rmdir .
/-p
13290 if test -x / >/dev
/null
2>&1; then
13291 as_test_x
='test -x'
13293 if ls -dL / >/dev
/null
2>&1; then
13300 if test -d "$1"; then
13306 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13307 ???[sx]*):;;*)false;;esac;fi
13311 as_executable_p
=$as_test_x
13313 # Sed expression to map a string onto a valid CPP name.
13314 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13316 # Sed expression to map a string onto a valid variable name.
13317 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13321 ## ----------------------------------- ##
13322 ## Main body of $CONFIG_STATUS script. ##
13323 ## ----------------------------------- ##
13325 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13328 # Save the log message, to keep $0 and so on meaningful, and to
13329 # report actual input values of CONFIG_FILES etc. instead of their
13330 # values after options handling.
13332 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13333 generated by GNU Autoconf 2.64. Invocation command line was
13335 CONFIG_FILES = $CONFIG_FILES
13336 CONFIG_HEADERS = $CONFIG_HEADERS
13337 CONFIG_LINKS = $CONFIG_LINKS
13338 CONFIG_COMMANDS = $CONFIG_COMMANDS
13341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13346 case $ac_config_files in *"
13347 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13350 case $ac_config_headers in *"
13351 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13356 # Files that config.status was made for.
13357 config_files="$ac_config_files"
13358 config_headers="$ac_config_headers"
13359 config_commands="$ac_config_commands"
13363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13365 \`$as_me' instantiates files and other configuration actions
13366 from templates according to the current configuration. Unless the files
13367 and actions are specified as TAGs, all are instantiated by default.
13369 Usage: $0 [OPTION]... [TAG]...
13371 -h, --help print this help, then exit
13372 -V, --version print version number and configuration settings, then exit
13373 -q, --quiet, --silent
13374 do not print progress messages
13375 -d, --debug don't remove temporary files
13376 --recheck update $as_me by reconfiguring in the same conditions
13377 --file=FILE[:TEMPLATE]
13378 instantiate the configuration file FILE
13379 --header=FILE[:TEMPLATE]
13380 instantiate the configuration header FILE
13382 Configuration files:
13385 Configuration headers:
13388 Configuration commands:
13391 Report bugs to the package provider."
13394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13396 GCC Quad-precision Math Library config.status 0.1
13397 configured by $0, generated by GNU Autoconf 2.64,
13398 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13400 Copyright (C) 2009 Free Software Foundation, Inc.
13401 This config.status script is free software; the Free Software Foundation
13402 gives unlimited permission to copy, distribute and modify it."
13409 test -n "\$AWK" || AWK=awk
13412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13413 # The default lists apply if the user does not specify any file.
13419 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13420 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13431 # Handling of the options.
13432 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13434 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13435 $as_echo "$ac_cs_version"; exit ;;
13436 --debug |
--debu |
--deb |
--de |
--d |
-d )
13438 --file |
--fil |
--fi |
--f )
13441 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13443 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13444 ac_need_defaults
=false
;;
13445 --header |
--heade |
--head |
--hea )
13448 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13450 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13451 ac_need_defaults
=false
;;
13453 # Conflict between --help and --header
13454 as_fn_error
"ambiguous option: \`$1'
13455 Try \`$0 --help' for more information.";;
13456 --help |
--hel |
-h )
13457 $as_echo "$ac_cs_usage"; exit ;;
13458 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13459 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13462 # This is an error.
13463 -*) as_fn_error
"unrecognized option: \`$1'
13464 Try \`$0 --help' for more information." ;;
13466 *) as_fn_append ac_config_targets
" $1"
13467 ac_need_defaults
=false
;;
13473 ac_configure_extra_args
=
13475 if $ac_cs_silent; then
13477 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13482 if \$ac_cs_recheck; then
13483 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13485 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13486 CONFIG_SHELL='$SHELL'
13487 export CONFIG_SHELL
13492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13497 ## Running $as_me. ##
13503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13507 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13510 # The HP-UX ksh and POSIX shell print the target directory to stdout
13511 # if CDPATH is set.
13512 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13514 sed_quote_subst='$sed_quote_subst'
13515 double_quote_subst='$double_quote_subst'
13516 delay_variable_subst='$delay_variable_subst'
13517 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13518 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13519 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13520 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13521 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13522 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13523 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13524 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13525 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13526 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13527 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13528 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13529 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13530 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13531 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13532 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13533 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13534 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13535 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13536 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13537 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13538 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13539 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13540 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13541 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13542 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13543 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13544 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13545 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13546 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13547 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13548 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13549 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13550 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13551 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13552 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13553 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13554 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13555 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13556 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13557 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13558 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13559 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13560 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13561 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13562 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13563 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13564 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13565 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"`'
13566 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13567 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13568 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13569 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13570 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13571 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13572 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13573 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13574 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13575 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13576 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13577 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13578 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13579 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13580 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13581 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13582 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13583 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13584 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13585 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13586 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13587 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13588 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13589 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13590 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13591 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13592 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13593 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13594 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13595 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13596 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13597 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13598 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13599 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13600 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13601 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13602 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13603 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13604 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13605 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13606 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13607 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13608 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13609 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13610 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13611 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13612 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13613 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13614 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13615 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13616 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13617 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13618 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13619 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13620 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13621 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13622 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13623 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13624 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13625 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13626 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13627 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13628 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13629 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13630 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13631 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13632 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13633 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13634 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13635 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13636 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13639 LTCFLAGS='$LTCFLAGS'
13640 compiler='$compiler_DEFAULT'
13642 # A function that is used when there is no print builtin or printf.
13643 func_fallback_echo ()
13645 eval 'cat <<_LTECHO_EOF
13650 # Quote evaled strings.
13664 deplibs_check_method \
13673 lt_cv_sys_global_symbol_pipe \
13674 lt_cv_sys_global_symbol_to_cdecl \
13675 lt_cv_sys_global_symbol_to_c_name_address \
13676 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13677 lt_prog_compiler_no_builtin_flag \
13678 lt_prog_compiler_wl \
13679 lt_prog_compiler_pic \
13680 lt_prog_compiler_static \
13681 lt_cv_prog_compiler_c_o \
13689 export_dynamic_flag_spec \
13690 whole_archive_flag_spec \
13691 compiler_needs_object \
13693 allow_undefined_flag \
13694 no_undefined_flag \
13695 hardcode_libdir_flag_spec \
13696 hardcode_libdir_flag_spec_ld \
13697 hardcode_libdir_separator \
13702 variables_saved_for_relink \
13704 library_names_spec \
13706 install_override_mode \
13710 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13711 *[\\\\\\\`\\"\\\$]*)
13712 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13715 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13720 # Double-quote double-evaled strings.
13721 for var in reload_cmds \
13722 old_postinstall_cmds \
13723 old_postuninstall_cmds \
13725 extract_expsyms_cmds \
13726 old_archive_from_new_cmds \
13727 old_archive_from_expsyms_cmds \
13729 archive_expsym_cmds \
13731 module_expsym_cmds \
13732 export_symbols_cmds \
13735 postuninstall_cmds \
13737 sys_lib_search_path_spec \
13738 sys_lib_dlsearch_path_spec; do
13739 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13740 *[\\\\\\\`\\"\\\$]*)
13741 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13744 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13749 ac_aux_dir='$ac_aux_dir'
13750 xsi_shell='$xsi_shell'
13751 lt_shell_append='$lt_shell_append'
13753 # See if we are running on zsh, and set the options which allow our
13754 # commands through without removal of \ escapes INIT.
13755 if test -n "\${ZSH_VERSION+set}" ; then
13756 setopt NO_GLOB_SUBST
13762 TIMESTAMP='$TIMESTAMP'
13772 with_multisubdir="$with_multisubdir"
13773 with_multisrctop="$with_multisrctop"
13774 with_target_subdir="$with_target_subdir"
13775 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13776 multi_basedir="$multi_basedir"
13777 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13780 GFORTRAN="$GFORTRAN"
13785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13787 # Handling of arguments.
13788 for ac_config_target
in $ac_config_targets
13790 case $ac_config_target in
13791 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13792 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13793 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13794 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13795 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13797 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13802 # If the user did not use the arguments to specify the items to instantiate,
13803 # then the envvar interface is used. Set only those that are not.
13804 # We use the long form for the default assignment because of an extremely
13805 # bizarre bug on SunOS 4.1.3.
13806 if $ac_need_defaults; then
13807 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13808 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13809 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13812 # Have a temporary directory for convenience. Make it in the build tree
13813 # simply because there is no reason against having it here, and in addition,
13814 # creating and moving files from /tmp can sometimes cause problems.
13815 # Hook for its removal unless debugging.
13816 # Note that there is a small window in which the directory will not be cleaned:
13817 # after its creation but before its name has been assigned to `$tmp'.
13821 trap 'exit_status=$?
13822 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13824 trap 'as_fn_exit 1' 1 2 13 15
13826 # Create a (secure) tmp directory for tmp files.
13829 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13830 test -n "$tmp" && test -d "$tmp"
13833 tmp
=.
/conf$$
-$RANDOM
13834 (umask 077 && mkdir
"$tmp")
13835 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13837 # Set up the scripts for CONFIG_FILES section.
13838 # No need to generate them if there are no CONFIG_FILES.
13839 # This happens for instance with `./config.status config.h'.
13840 if test -n "$CONFIG_FILES"; then
13843 ac_cr
=`echo X | tr X '\015'`
13844 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13845 # But we know of no other shell where ac_cr would be empty at this
13846 # point, so we can use a bashism as a fallback.
13847 if test "x$ac_cr" = x
; then
13848 eval ac_cr
=\$
\'\\r
\'
13850 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13851 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13854 ac_cs_awk_cr
=$ac_cr
13857 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13862 echo "cat >conf$$subs.awk <<_ACEOF" &&
13863 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13865 } >conf$$subs.sh ||
13866 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13867 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13869 for ac_last_try in false false false false false :; do
13870 . ./conf$$subs.sh ||
13871 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13873 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13874 if test $ac_delim_n = $ac_delim_num; then
13876 elif $ac_last_try; then
13877 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13879 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13882 rm -f conf$$subs.sh
13884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13885 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13889 s/^/S["/; s
/!.
*/"]=/
13899 s/\(.\{148\}\).*/\1/
13901 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13906 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13913 s/\(.\{148\}\).*/\1/
13915 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13919 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13924 ' <conf$$subs.awk | sed '
13929 ' >>$CONFIG_STATUS || ac_write_fail=1
13930 rm -f conf$$subs.awk
13931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13933 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13934 for (key in S) S_is_set[key] = 1
13940 nfields = split(line, field, "@
")
13942 len = length(field[1])
13943 for (i = 2; i < nfields; i++) {
13945 keylen = length(key)
13946 if (S_is_set[key]) {
13948 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13949 len += length(value) + length(field[++i])
13960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13961 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13962 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13965 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13966 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13969 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13970 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13971 # trailing colons and then remove the whole line if VPATH becomes empty
13972 # (actually we leave an empty line to preserve line numbers).
13973 if test "x
$srcdir" = x.; then
13974 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13975 s/:*\$(srcdir):*/:/
13976 s/:*\${srcdir}:*/:/
13978 s/^\([^=]*=[ ]*\):*/\1/
13984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13985 fi # test -n "$CONFIG_FILES"
13987 # Set up the scripts for CONFIG_HEADERS section.
13988 # No need to generate them if there are no CONFIG_HEADERS.
13989 # This happens for instance with `./config.status Makefile'.
13990 if test -n "$CONFIG_HEADERS"; then
13991 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13995 # Transform confdefs.h into an awk script `defines.awk', embedded as
13996 # here-document in config.status, that substitutes the proper values into
13997 # config.h.in to produce config.h.
13999 # Create a delimiter string that does not exist in confdefs.h, to ease
14000 # handling of long lines.
14002 for ac_last_try in false false :; do
14003 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14004 if test -z "$ac_t"; then
14006 elif $ac_last_try; then
14007 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14009 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14013 # For the awk script, D is an array of macro values keyed by name,
14014 # likewise P contains macro parameters if any. Preserve backslash
14015 # newline sequences.
14017 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14019 s/.\{148\}/&'"$ac_delim"'/g
14022 s/^[ ]*#[ ]*define[ ][ ]*/ /
14029 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14031 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14035 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14036 D["\
1"]=" \
3\\\\\\n
"\\/p
14038 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14043 s/.\{148\}/&'"$ac_delim"'/g
14048 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14051 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14053 ' <confdefs.h | sed '
14054 s/'"$ac_delim"'/"\\\
14055 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14058 for (key in D) D_is_set[key] = 1
14061 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14063 split(line, arg, " ")
14064 if (arg[1] == "#") {
14068 defundef
= substr
(arg
[1], 2)
14071 split(mac1
, mac2
, "(") #)
14073 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14074 if (D_is_set
[macro
]) {
14075 # Preserve the white space surrounding the "#".
14076 print prefix
"define", macro P
[macro
] D
[macro
]
14079 # Replace #undef with comments. This is necessary, for example,
14080 # in the case of _POSIX_SOURCE, which is predefined and required
14081 # on some systems where configure will not decide to define it.
14082 if (defundef
== "undef") {
14083 print
"/*", prefix defundef
, macro
, "*/"
14091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14092 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14093 fi # test -n "$CONFIG_HEADERS"
14096 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14101 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14103 case $ac_mode$ac_tag in
14105 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14106 :[FH
]-) ac_tag
=-:-;;
14107 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14124 -) ac_f
="$tmp/stdin";;
14125 *) # Look for the file first in the build tree, then in the source tree
14126 # (if the path is not absolute). The absolute path cannot be DOS-style,
14127 # because $ac_f cannot contain `:'.
14131 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14133 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14135 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14136 as_fn_append ac_file_inputs
" '$ac_f'"
14139 # Let's still pretend it is `configure' which instantiates (i.e., don't
14140 # use $as_me), people would be surprised to read:
14141 # /* config.h. Generated by config.status. */
14142 configure_input
='Generated from '`
14143 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14145 if test x
"$ac_file" != x-
; then
14146 configure_input
="$ac_file. $configure_input"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14148 $as_echo "$as_me: creating $ac_file" >&6;}
14150 # Neutralize special characters interpreted by sed in replacement strings.
14151 case $configure_input in #(
14152 *\
&* |
*\|
* |
*\\* )
14153 ac_sed_conf_input
=`$as_echo "$configure_input" |
14154 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14155 *) ac_sed_conf_input
=$configure_input;;
14159 *:-:* |
*:-) cat >"$tmp/stdin" \
14160 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14165 ac_dir
=`$as_dirname -- "$ac_file" ||
14166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14167 X"$ac_file" : 'X\(//\)[^/]' \| \
14168 X"$ac_file" : 'X\(//\)$' \| \
14169 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14170 $as_echo X"$ac_file" |
14171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14175 /^X\(\/\/\)[^/].*/{
14188 as_dir
="$ac_dir"; as_fn_mkdir_p
14192 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14194 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14195 # A ".." for each directory in $ac_dir_suffix.
14196 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14197 case $ac_top_builddir_sub in
14198 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14199 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14202 ac_abs_top_builddir
=$ac_pwd
14203 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14204 # for backward compatibility:
14205 ac_top_builddir
=$ac_top_build_prefix
14208 .
) # We are building in place.
14210 ac_top_srcdir
=$ac_top_builddir_sub
14211 ac_abs_top_srcdir
=$ac_pwd ;;
14212 [\\/]* | ?
:[\\/]* ) # Absolute name.
14213 ac_srcdir
=$srcdir$ac_dir_suffix;
14214 ac_top_srcdir
=$srcdir
14215 ac_abs_top_srcdir
=$srcdir ;;
14216 *) # Relative name.
14217 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14218 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14219 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14221 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14231 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14232 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14234 ac_MKDIR_P
=$MKDIR_P
14236 [\\/$
]* | ?
:[\\/]* ) ;;
14237 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14242 # If the template does not know about datarootdir, expand it.
14243 # FIXME: This hack should be removed a few years after 2.60.
14244 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14255 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14256 *datarootdir
*) ac_datarootdir_seen
=yes;;
14257 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14259 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14262 ac_datarootdir_hack='
14263 s&@datadir@&$datadir&g
14264 s&@docdir@&$docdir&g
14265 s&@infodir@&$infodir&g
14266 s&@localedir@&$localedir&g
14267 s&@mandir@&$mandir&g
14268 s&\\\${datarootdir}&$datarootdir&g' ;;
14272 # Neutralize VPATH when `$srcdir' = `.'.
14273 # Shell code in configure.ac might set extrasub.
14274 # FIXME: do we really want to maintain this feature?
14275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14276 ac_sed_extra="$ac_vpsub
14279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14281 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14282 s|@configure_input@|
$ac_sed_conf_input|
;t t
14283 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14284 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14285 s
&@srcdir@
&$ac_srcdir&;t t
14286 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14287 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14288 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14289 s
&@builddir@
&$ac_builddir&;t t
14290 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14291 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14292 s
&@INSTALL@
&$ac_INSTALL&;t t
14293 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14294 $ac_datarootdir_hack
14296 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14297 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14299 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14300 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14301 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14303 which seems to be undefined. Please make sure it is defined." >&5
14304 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14305 which seems to be undefined. Please make sure it is defined." >&2;}
14309 -) cat "$tmp/out" && rm -f "$tmp/out";;
14310 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14312 || as_fn_error "could not create $ac_file" "$LINENO" 5
14318 if test x"$ac_file" != x-; then
14320 $as_echo "/* $configure_input */" \
14321 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14322 } >"$tmp/config.h" \
14323 || as_fn_error "could not create $ac_file" "$LINENO" 5
14324 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14326 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14329 mv "$tmp/config.h" "$ac_file" \
14330 || as_fn_error "could not create $ac_file" "$LINENO" 5
14333 $as_echo "/* $configure_input */" \
14334 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14335 || as_fn_error "could not create -" "$LINENO" 5
14337 # Compute "$ac_file"'s index
in $config_headers.
14340 for _am_header
in $config_headers :; do
14341 case $_am_header in
14342 $_am_arg |
$_am_arg:* )
14345 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14348 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14349 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14350 X"$_am_arg" : 'X\(//\)[^/]' \| \
14351 X"$_am_arg" : 'X\(//\)$' \| \
14352 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14353 $as_echo X"$_am_arg" |
14354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14358 /^X\(\/\/\)[^/].*/{
14370 s/.*/./; q'`/stamp-h
$_am_stamp_count
14373 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14374 $as_echo "$as_me: executing $ac_file commands" >&6;}
14379 case $ac_file$ac_mode in
14380 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14381 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14382 # are listed without --file. Let's play safe and only enable the eval
14383 # if we detect the quoting.
14384 case $CONFIG_FILES in
14385 *\'*) eval set x
"$CONFIG_FILES" ;;
14386 *) set x
$CONFIG_FILES ;;
14391 # Strip MF so we end up with the name of the file.
14392 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14393 # Check whether this is an Automake generated Makefile or not.
14394 # We used to match only the files named `Makefile.in', but
14395 # some people rename them; so instead we look at the file content.
14396 # Grep'ing the first line is not enough: some people post-process
14397 # each Makefile.in and add a new line on top of each file to say so.
14398 # Grep'ing the whole file is not good either: AIX grep has a line
14399 # limit of 2048, but all sed's we know have understand at least 4000.
14400 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14401 dirpart
=`$as_dirname -- "$mf" ||
14402 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14403 X"$mf" : 'X\(//\)[^/]' \| \
14404 X"$mf" : 'X\(//\)$' \| \
14405 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14411 /^X\(\/\/\)[^/].*/{
14427 # Extract the definition of DEPDIR, am__include, and am__quote
14428 # from the Makefile without running `make'.
14429 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14430 test -z "$DEPDIR" && continue
14431 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14432 test -z "am__include" && continue
14433 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14434 # When using ansi2knr, U may be empty or an underscore; expand it
14435 U
=`sed -n 's/^U = //p' < "$mf"`
14436 # Find all dependency output files, they are included files with
14437 # $(DEPDIR) in their names. We invoke sed twice because it is the
14438 # simplest approach to changing $(DEPDIR) to its actual value in the
14440 for file in `sed -n "
14441 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14442 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14443 # Make sure the directory exists.
14444 test -f "$dirpart/$file" && continue
14445 fdir
=`$as_dirname -- "$file" ||
14446 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14447 X"$file" : 'X\(//\)[^/]' \| \
14448 X"$file" : 'X\(//\)$' \| \
14449 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14450 $as_echo X"$file" |
14451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14455 /^X\(\/\/\)[^/].*/{
14468 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14469 # echo "creating $dirpart/$file"
14470 echo '# dummy' > "$dirpart/$file"
14477 # See if we are running on zsh, and set the options which allow our
14478 # commands through without removal of \ escapes.
14479 if test -n "${ZSH_VERSION+set}" ; then
14480 setopt NO_GLOB_SUBST
14483 cfgfile
="${ofile}T"
14484 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14487 cat <<_LT_EOF >> "$cfgfile"
14490 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14491 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14492 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14495 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14496 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14497 # Written by Gordon Matzigkeit, 1996
14499 # This file is part of GNU Libtool.
14501 # GNU Libtool is free software; you can redistribute it and/or
14502 # modify it under the terms of the GNU General Public License as
14503 # published by the Free Software Foundation; either version 2 of
14504 # the License, or (at your option) any later version.
14506 # As a special exception to the GNU General Public License,
14507 # if you distribute this file as part of a program or library that
14508 # is built using GNU Libtool, you may include this file under the
14509 # same distribution terms that you use for the rest of that program.
14511 # GNU Libtool is distributed in the hope that it will be useful,
14512 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14513 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14514 # GNU General Public License for more details.
14516 # You should have received a copy of the GNU General Public License
14517 # along with GNU Libtool; see the file COPYING. If not, a copy
14518 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14519 # obtained by writing to the Free Software Foundation, Inc.,
14520 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14523 # The names of the tagged configurations supported by this script.
14526 # ### BEGIN LIBTOOL CONFIG
14528 # Which release of libtool.m4 was used?
14529 macro_version=$macro_version
14530 macro_revision=$macro_revision
14532 # Whether or not to build shared libraries.
14533 build_libtool_libs=$enable_shared
14535 # Whether or not to build static libraries.
14536 build_old_libs=$enable_static
14538 # What type of objects to build.
14541 # Whether or not to optimize for fast installation.
14542 fast_install=$enable_fast_install
14544 # Shell to use when invoking shell scripts.
14547 # An echo program that protects backslashes.
14551 host_alias=$host_alias
14555 # The build system.
14556 build_alias=$build_alias
14560 # A sed program that does not truncate output.
14563 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14564 Xsed="\$SED -e 1s/^X//"
14566 # A grep program that handles long lines.
14572 # A literal string matcher.
14575 # A BSD- or MS-compatible name lister.
14578 # Whether we need soft or hard links.
14581 # What is the maximum length of a command?
14582 max_cmd_len=$max_cmd_len
14584 # Object file suffix (normally "o").
14587 # Executable file suffix (normally "").
14590 # whether the shell understands "unset".
14593 # turn spaces into newlines.
14596 # turn newlines into spaces.
14599 # An object symbol dumper.
14600 OBJDUMP=$lt_OBJDUMP
14602 # Method to check whether dependent libraries are shared objects.
14603 deplibs_check_method=$lt_deplibs_check_method
14605 # Command to use when deplibs_check_method == "file_magic".
14606 file_magic_cmd=$lt_file_magic_cmd
14610 AR_FLAGS=$lt_AR_FLAGS
14612 # A symbol stripping program.
14615 # Commands used to install an old-style archive.
14617 old_postinstall_cmds=$lt_old_postinstall_cmds
14618 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14620 # Whether to use a lock for old archive extraction.
14621 lock_old_archive_extraction=$lock_old_archive_extraction
14626 # LTCC compiler flags.
14627 LTCFLAGS=$lt_CFLAGS
14629 # Take the output of nm and produce a listing of raw symbols and C names.
14630 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14632 # Transform the output of nm in a proper C declaration.
14633 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14635 # Transform the output of nm in a C name address pair.
14636 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14638 # Transform the output of nm in a C name address pair when lib prefix is needed.
14639 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14641 # The name of the directory that contains temporary libtool files.
14644 # Used to examine libraries when file_magic_cmd begins with "file".
14645 MAGIC_CMD=$MAGIC_CMD
14647 # Must we lock files when doing compilation?
14648 need_locks=$lt_need_locks
14650 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14651 DSYMUTIL=$lt_DSYMUTIL
14653 # Tool to change global to local symbols on Mac OS X.
14656 # Tool to manipulate fat objects and archives on Mac OS X.
14659 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14662 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14663 OTOOL64=$lt_OTOOL64
14665 # Old archive suffix (normally "a").
14668 # Shared library suffix (normally ".so").
14669 shrext_cmds=$lt_shrext_cmds
14671 # The commands to extract the exported symbol list from a shared archive.
14672 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14674 # Variables whose values should be saved in libtool wrapper scripts and
14675 # restored at link time.
14676 variables_saved_for_relink=$lt_variables_saved_for_relink
14678 # Do we need the "lib" prefix for modules?
14679 need_lib_prefix=$need_lib_prefix
14681 # Do we need a version for libraries?
14682 need_version=$need_version
14684 # Library versioning type.
14685 version_type=$version_type
14687 # Shared library runtime path variable.
14688 runpath_var=$runpath_var
14690 # Shared library path variable.
14691 shlibpath_var=$shlibpath_var
14693 # Is shlibpath searched before the hard-coded library search path?
14694 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14696 # Format of library name prefix.
14697 libname_spec=$lt_libname_spec
14699 # List of archive names. First name is the real one, the rest are links.
14700 # The last name is the one that the linker finds with -lNAME
14701 library_names_spec=$lt_library_names_spec
14703 # The coded name of the library, if different from the real name.
14704 soname_spec=$lt_soname_spec
14706 # Permission mode override for installation of shared libraries.
14707 install_override_mode=$lt_install_override_mode
14709 # Command to use after installation of a shared archive.
14710 postinstall_cmds=$lt_postinstall_cmds
14712 # Command to use after uninstallation of a shared archive.
14713 postuninstall_cmds=$lt_postuninstall_cmds
14715 # Commands used to finish a libtool library installation in a directory.
14716 finish_cmds=$lt_finish_cmds
14718 # As "finish_cmds", except a single script fragment to be evaled but
14720 finish_eval=$lt_finish_eval
14722 # Whether we should hardcode library paths into libraries.
14723 hardcode_into_libs=$hardcode_into_libs
14725 # Compile-time system search path for libraries.
14726 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14728 # Run-time system search path for libraries.
14729 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14731 # Whether dlopen is supported.
14732 dlopen_support=$enable_dlopen
14734 # Whether dlopen of programs is supported.
14735 dlopen_self=$enable_dlopen_self
14737 # Whether dlopen of statically linked programs is supported.
14738 dlopen_self_static=$enable_dlopen_self_static
14740 # Commands to strip libraries.
14741 old_striplib=$lt_old_striplib
14742 striplib=$lt_striplib
14745 # The linker used to build libraries.
14748 # How to create reloadable object files.
14749 reload_flag=$lt_reload_flag
14750 reload_cmds=$lt_reload_cmds
14752 # Commands used to build an old-style archive.
14753 old_archive_cmds=$lt_old_archive_cmds
14755 # A language specific compiler.
14758 # Is the compiler the GNU compiler?
14761 # Compiler flag to turn off builtin functions.
14762 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14764 # How to pass a linker flag through the compiler.
14765 wl=$lt_lt_prog_compiler_wl
14767 # Additional compiler flags for building library objects.
14768 pic_flag=$lt_lt_prog_compiler_pic
14770 # Compiler flag to prevent dynamic linking.
14771 link_static_flag=$lt_lt_prog_compiler_static
14773 # Does compiler simultaneously support -c and -o options?
14774 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14776 # Whether or not to add -lc for building shared libraries.
14777 build_libtool_need_lc=$archive_cmds_need_lc
14779 # Whether or not to disallow shared libs when runtime libs are static.
14780 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14782 # Compiler flag to allow reflexive dlopens.
14783 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14785 # Compiler flag to generate shared objects directly from archives.
14786 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14788 # Whether the compiler copes with passing no objects directly.
14789 compiler_needs_object=$lt_compiler_needs_object
14791 # Create an old-style archive from a shared archive.
14792 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14794 # Create a temporary old-style archive to link instead of a shared archive.
14795 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14797 # Commands used to build a shared archive.
14798 archive_cmds=$lt_archive_cmds
14799 archive_expsym_cmds=$lt_archive_expsym_cmds
14801 # Commands used to build a loadable module if different from building
14802 # a shared archive.
14803 module_cmds=$lt_module_cmds
14804 module_expsym_cmds=$lt_module_expsym_cmds
14806 # Whether we are building with GNU ld or not.
14807 with_gnu_ld=$lt_with_gnu_ld
14809 # Flag that allows shared libraries with undefined symbols to be built.
14810 allow_undefined_flag=$lt_allow_undefined_flag
14812 # Flag that enforces no undefined symbols.
14813 no_undefined_flag=$lt_no_undefined_flag
14815 # Flag to hardcode \$libdir into a binary during linking.
14816 # This must work even if \$libdir does not exist
14817 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14819 # If ld is used when linking, flag to hardcode \$libdir into a binary
14820 # during linking. This must work even if \$libdir does not exist.
14821 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14823 # Whether we need a single "-rpath" flag with a separated argument.
14824 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14826 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14827 # DIR into the resulting binary.
14828 hardcode_direct=$hardcode_direct
14830 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14831 # DIR into the resulting binary and the resulting library dependency is
14832 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14833 # library is relocated.
14834 hardcode_direct_absolute=$hardcode_direct_absolute
14836 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14837 # into the resulting binary.
14838 hardcode_minus_L=$hardcode_minus_L
14840 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14841 # into the resulting binary.
14842 hardcode_shlibpath_var=$hardcode_shlibpath_var
14844 # Set to "yes" if building a shared library automatically hardcodes DIR
14845 # into the library and all subsequent libraries and executables linked
14847 hardcode_automatic=$hardcode_automatic
14849 # Set to yes if linker adds runtime paths of dependent libraries
14850 # to runtime path list.
14851 inherit_rpath=$inherit_rpath
14853 # Whether libtool must link a program against all its dependency libraries.
14854 link_all_deplibs=$link_all_deplibs
14856 # Fix the shell variable \$srcfile for the compiler.
14857 fix_srcfile_path=$lt_fix_srcfile_path
14859 # Set to "yes" if exported symbols are required.
14860 always_export_symbols=$always_export_symbols
14862 # The commands to list exported symbols.
14863 export_symbols_cmds=$lt_export_symbols_cmds
14865 # Symbols that should not be listed in the preloaded symbols.
14866 exclude_expsyms=$lt_exclude_expsyms
14868 # Symbols that must always be exported.
14869 include_expsyms=$lt_include_expsyms
14871 # Commands necessary for linking programs (against libraries) with templates.
14872 prelink_cmds=$lt_prelink_cmds
14874 # Specify filename containing input files.
14875 file_list_spec=$lt_file_list_spec
14877 # How to hardcode a shared library path into an executable.
14878 hardcode_action=$hardcode_action
14880 # ### END LIBTOOL CONFIG
14886 cat <<\_LT_EOF
>> "$cfgfile"
14887 # AIX sometimes has problems with the GCC collect2 program. For some
14888 # reason, if we set the COLLECT_NAMES environment variable, the problems
14889 # vanish in a puff of smoke.
14890 if test "X${COLLECT_NAMES+set}" != Xset
; then
14892 export COLLECT_NAMES
14899 ltmain
="$ac_aux_dir/ltmain.sh"
14902 # We use sed instead of cat because bash on DJGPP gets confused if
14903 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14904 # text mode, it properly converts lines to CR/LF. This bash problem
14905 # is reportedly fixed, but why not run on old versions too?
14906 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14907 ||
(rm -f "$cfgfile"; exit 1)
14911 cat << \_LT_EOF
>> "$cfgfile"
14913 # func_dirname file append nondir_replacement
14914 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14915 # otherwise set result to NONDIR_REPLACEMENT.
14919 */*) func_dirname_result
="${1%/*}${2}" ;;
14920 * ) func_dirname_result
="${3}" ;;
14924 # func_basename file
14927 func_basename_result
="${1##*/}"
14930 # func_dirname_and_basename file append nondir_replacement
14931 # perform func_basename and func_dirname in a single function
14933 # dirname: Compute the dirname of FILE. If nonempty,
14934 # add APPEND to the result, otherwise set result
14935 # to NONDIR_REPLACEMENT.
14936 # value returned in "$func_dirname_result"
14937 # basename: Compute filename of FILE.
14938 # value retuned in "$func_basename_result"
14939 # Implementation must be kept synchronized with func_dirname
14940 # and func_basename. For efficiency, we do not delegate to
14941 # those functions but instead duplicate the functionality here.
14942 func_dirname_and_basename
()
14945 */*) func_dirname_result
="${1%/*}${2}" ;;
14946 * ) func_dirname_result
="${3}" ;;
14948 func_basename_result
="${1##*/}"
14951 # func_stripname prefix suffix name
14952 # strip PREFIX and SUFFIX off of NAME.
14953 # PREFIX and SUFFIX must not contain globbing or regex special
14954 # characters, hashes, percent signs, but SUFFIX may contain a leading
14955 # dot (in which case that matches only a dot).
14958 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14959 # positional parameters, so assign one to ordinary parameter first.
14960 func_stripname_result
=${3}
14961 func_stripname_result
=${func_stripname_result#"${1}"}
14962 func_stripname_result
=${func_stripname_result%"${2}"}
14968 func_opt_split_opt
=${1%%=*}
14969 func_opt_split_arg
=${1#*=}
14976 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14977 *) func_lo2o_result
=${1} ;;
14981 # func_xform libobj-or-source
14984 func_xform_result
=${1%.*}.lo
14987 # func_arith arithmetic-term...
14990 func_arith_result
=$
(( $
* ))
14994 # STRING may not start with a hyphen.
14997 func_len_result
=${#1}
15002 *) # Bourne compatible functions.
15003 cat << \_LT_EOF
>> "$cfgfile"
15005 # func_dirname file append nondir_replacement
15006 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15007 # otherwise set result to NONDIR_REPLACEMENT.
15010 # Extract subdirectory from the argument.
15011 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15012 if test "X$func_dirname_result" = "X${1}"; then
15013 func_dirname_result
="${3}"
15015 func_dirname_result
="$func_dirname_result${2}"
15019 # func_basename file
15022 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15026 # func_stripname prefix suffix name
15027 # strip PREFIX and SUFFIX off of NAME.
15028 # PREFIX and SUFFIX must not contain globbing or regex special
15029 # characters, hashes, percent signs, but SUFFIX may contain a leading
15030 # dot (in which case that matches only a dot).
15031 # func_strip_suffix prefix name
15035 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15036 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15041 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15042 my_sed_long_arg
='1s/^-[^=]*=//'
15047 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15048 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15054 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15057 # func_xform libobj-or-source
15060 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15063 # func_arith arithmetic-term...
15066 func_arith_result
=`expr "$@"`
15070 # STRING may not start with a hyphen.
15073 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15079 case $lt_shell_append in
15081 cat << \_LT_EOF
>> "$cfgfile"
15083 # func_append var value
15084 # Append VALUE to the end of shell variable VAR.
15092 cat << \_LT_EOF
>> "$cfgfile"
15094 # func_append var value
15095 # Append VALUE to the end of shell variable VAR.
15106 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15107 ||
(rm -f "$cfgfile"; exit 1)
15109 mv -f "$cfgfile" "$ofile" ||
15110 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15115 # Only add multilib support code if we just rebuilt the top-level
15117 case " $CONFIG_FILES " in
15119 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15129 ac_clean_files
=$ac_clean_files_save
15131 test $ac_write_fail = 0 ||
15132 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15135 # configure is writing to config.log, and then calls config.status.
15136 # config.status does its own redirection, appending to config.log.
15137 # Unfortunately, on DOS this fails, as config.log is still kept open
15138 # by configure, so config.status won't be able to write to it; its
15139 # output is simply discarded. So we exec the FD to /dev/null,
15140 # effectively closing config.log, so it can be properly (re)opened and
15141 # appended to by config.status. When coming back to configure, we
15142 # need to make the FD available again.
15143 if test "$no_create" != yes; then
15145 ac_config_status_args
=
15146 test "$silent" = yes &&
15147 ac_config_status_args
="$ac_config_status_args --quiet"
15149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15151 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15152 # would make configure fail if this is the last instruction.
15153 $ac_cs_success || as_fn_exit $?
15155 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15157 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}