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
607 BUILD_LIBQUADMATH_FALSE
608 BUILD_LIBQUADMATH_TRUE
609 LIBQUAD_USE_SYMVER_SUN_FALSE
610 LIBQUAD_USE_SYMVER_SUN_TRUE
611 LIBQUAD_USE_SYMVER_GNU_FALSE
612 LIBQUAD_USE_SYMVER_GNU_TRUE
613 LIBQUAD_USE_SYMVER_FALSE
614 LIBQUAD_USE_SYMVER_TRUE
618 MAINTAINER_MODE_FALSE
671 INSTALL_STRIP_PROGRAM
727 program_transform_name
740 enable_option_checking
742 enable_version_specific_runtime_libs
743 enable_dependency_tracking
751 enable_maintainer_mode
753 enable_generated_files_in_srcdir
754 with_gcc_major_version_only
756 ac_precious_vars
='build_alias
767 # Initialize some variables set by options.
769 ac_init_version
=false
770 ac_unrecognized_opts
=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name
=s
,x
,x
,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir
='${exec_prefix}/bin'
796 sbindir
='${exec_prefix}/sbin'
797 libexecdir
='${exec_prefix}/libexec'
798 datarootdir
='${prefix}/share'
799 datadir
='${datarootdir}'
800 sysconfdir
='${prefix}/etc'
801 sharedstatedir
='${prefix}/com'
802 localstatedir
='${prefix}/var'
803 includedir
='${prefix}/include'
804 oldincludedir
='/usr/include'
805 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir
='${datarootdir}/info'
811 libdir
='${exec_prefix}/lib'
812 localedir
='${datarootdir}/locale'
813 mandir
='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\
$ac_option
827 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
837 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
839 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
842 -build |
--build |
--buil |
--bui |
--bu)
843 ac_prev
=build_alias
;;
844 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
845 build_alias
=$ac_optarg ;;
847 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
848 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
849 ac_prev
=cache_file
;;
850 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
851 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
852 cache_file
=$ac_optarg ;;
855 cache_file
=config.cache
;;
857 -datadir |
--datadir |
--datadi |
--datad)
859 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
860 datadir
=$ac_optarg ;;
862 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
863 |
--dataroo |
--dataro |
--datar)
864 ac_prev
=datarootdir
;;
865 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
866 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
867 datarootdir
=$ac_optarg ;;
869 -disable-* |
--disable-*)
870 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
873 as_fn_error
"invalid feature name: $ac_useropt"
874 ac_useropt_orig
=$ac_useropt
875 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep
=', ';;
883 eval enable_
$ac_useropt=no
;;
885 -docdir |
--docdir |
--docdi |
--doc |
--do)
887 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
890 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
892 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
895 -enable-* |
--enable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=\
$ac_optarg ;;
911 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
912 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
913 |
--exec |
--exe |
--ex)
914 ac_prev
=exec_prefix
;;
915 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
916 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
917 |
--exec=* |
--exe=* |
--ex=*)
918 exec_prefix
=$ac_optarg ;;
920 -gas |
--gas |
--ga |
--g)
921 # Obsolete; use --with-gas.
924 -help |
--help |
--hel |
--he |
-h)
926 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
927 ac_init_help
=recursive
;;
928 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
929 ac_init_help
=short
;;
931 -host |
--host |
--hos |
--ho)
932 ac_prev
=host_alias
;;
933 -host=* |
--host=* |
--hos=* |
--ho=*)
934 host_alias
=$ac_optarg ;;
936 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
938 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
940 htmldir
=$ac_optarg ;;
942 -includedir |
--includedir |
--includedi |
--included |
--include \
943 |
--includ |
--inclu |
--incl |
--inc)
944 ac_prev
=includedir
;;
945 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
946 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
947 includedir
=$ac_optarg ;;
949 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
951 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
952 infodir
=$ac_optarg ;;
954 -libdir |
--libdir |
--libdi |
--libd)
956 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
959 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
960 |
--libexe |
--libex |
--libe)
961 ac_prev
=libexecdir
;;
962 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
963 |
--libexe=* |
--libex=* |
--libe=*)
964 libexecdir
=$ac_optarg ;;
966 -localedir |
--localedir |
--localedi |
--localed |
--locale)
968 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
969 localedir
=$ac_optarg ;;
971 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
972 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
973 ac_prev
=localstatedir
;;
974 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
975 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
976 localstatedir
=$ac_optarg ;;
978 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
980 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
984 # Obsolete; use --without-fp.
987 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
988 |
--no-cr |
--no-c |
-n)
991 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
992 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
995 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
996 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
997 |
--oldin |
--oldi |
--old |
--ol |
--o)
998 ac_prev
=oldincludedir
;;
999 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1000 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1001 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1002 oldincludedir
=$ac_optarg ;;
1004 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1006 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1007 prefix
=$ac_optarg ;;
1009 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1010 |
--program-pre |
--program-pr |
--program-p)
1011 ac_prev
=program_prefix
;;
1012 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1013 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1014 program_prefix
=$ac_optarg ;;
1016 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1017 |
--program-suf |
--program-su |
--program-s)
1018 ac_prev
=program_suffix
;;
1019 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1020 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1021 program_suffix
=$ac_optarg ;;
1023 -program-transform-name |
--program-transform-name \
1024 |
--program-transform-nam |
--program-transform-na \
1025 |
--program-transform-n |
--program-transform- \
1026 |
--program-transform |
--program-transfor \
1027 |
--program-transfo |
--program-transf \
1028 |
--program-trans |
--program-tran \
1029 |
--progr-tra |
--program-tr |
--program-t)
1030 ac_prev
=program_transform_name
;;
1031 -program-transform-name=* |
--program-transform-name=* \
1032 |
--program-transform-nam=* |
--program-transform-na=* \
1033 |
--program-transform-n=* |
--program-transform-=* \
1034 |
--program-transform=* |
--program-transfor=* \
1035 |
--program-transfo=* |
--program-transf=* \
1036 |
--program-trans=* |
--program-tran=* \
1037 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1038 program_transform_name
=$ac_optarg ;;
1040 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1042 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1043 pdfdir
=$ac_optarg ;;
1045 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1047 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1051 |
-silent |
--silent |
--silen |
--sile |
--sil)
1054 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1056 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1058 sbindir
=$ac_optarg ;;
1060 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1061 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1062 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1064 ac_prev
=sharedstatedir
;;
1065 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1066 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1067 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1069 sharedstatedir
=$ac_optarg ;;
1071 -site |
--site |
--sit)
1073 -site=* |
--site=* |
--sit=*)
1076 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1078 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1079 srcdir
=$ac_optarg ;;
1081 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1082 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1083 ac_prev
=sysconfdir
;;
1084 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1085 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1086 sysconfdir
=$ac_optarg ;;
1088 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1089 ac_prev
=target_alias
;;
1090 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1091 target_alias
=$ac_optarg ;;
1093 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1096 -version |
--version |
--versio |
--versi |
--vers |
-V)
1097 ac_init_version
=: ;;
1100 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error
"invalid package name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=\
$ac_optarg ;;
1115 -without-* |
--without-*)
1116 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) as_fn_error
"unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information."
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 case $ac_envvar in #(
1157 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1158 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 as_fn_error
"missing argument to $ac_option"
1179 if test -n "$ac_unrecognized_opts"; then
1180 case $enable_option_checking in
1182 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val
=\$
$ac_var
1194 # Remove trailing slashes.
1197 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\
$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$
]* | ?
:[\\/]* ) continue;;
1203 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1205 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1213 target
=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x
; then
1217 if test "x$build_alias" = x
; then
1218 cross_compiling
=maybe
1219 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220 If a cross compiler is detected then cross compile mode will be used." >&2
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1229 test "$silent" = yes && exec 6>/dev
/null
1232 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di
=`ls -di .` &&
1234 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error
"working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error
"pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted
=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir
=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1272 ac_srcdir_defaulted
=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1276 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1290 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 for ac_var
in $ac_precious_vars; do
1293 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1295 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1306 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1355 --htmldir=DIR html documentation [DOCDIR]
1356 --dvidir=DIR dvi documentation [DOCDIR]
1357 --pdfdir=DIR pdf documentation [DOCDIR]
1358 --psdir=DIR ps documentation [DOCDIR]
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1369 --build=BUILD configure
for building on BUILD
[guessed
]
1370 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1371 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-multilib build many library versions
(default
)
1386 --enable-version-specific-runtime-libs
1387 specify that runtime libraries should be installed
1388 in a compiler-specific directory
1389 --disable-dependency-tracking speeds up one-time build
1390 --enable-dependency-tracking do not reject slow dependency extractors
1391 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1392 --enable-static[=PKGS
] build static libraries
[default
=yes]
1393 --enable-fast-install[=PKGS
]
1394 optimize
for fast installation
[default
=yes]
1395 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1396 --enable-maintainer-mode enable make rules and dependencies not useful
1397 (and sometimes confusing
) to the casual installer
1398 --disable-symvers disable symbol versioning
for libquadmath
1399 --enable-generated-files-in-srcdir
1400 put copies of generated files
in source dir intended
1401 for creating
source tarballs
for users without
1402 texinfo bison or flex
1405 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1406 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1407 --with-bugurl=URL Direct users to URL to report a bug
1408 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1410 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1411 --with-gcc-major-version-only
1412 use only GCC major number
in filesystem paths
1414 Some influential environment variables
:
1415 CC C compiler
command
1416 CFLAGS C compiler flags
1417 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1418 nonstandard directory
<lib dir
>
1419 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1420 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1421 you have headers
in a nonstandard directory
<include dir
>
1424 Use these variables to override the choices made by
`configure' or to help
1425 it to find libraries and programs with nonstandard names/locations.
1427 Report bugs to the package provider.
1432 if test "$ac_init_help" = "recursive"; then
1433 # If there are subdirs, report their specific --help.
1434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1435 test -d "$ac_dir" ||
1436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1457 .) # We are building in place.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1490 GCC Quad-precision Math Library configure 0.1
1491 generated by GNU Autoconf 2.64
1493 Copyright (C) 2009 Free Software Foundation, Inc.
1494 This configure script is free software; the Free Software Foundation
1495 gives unlimited permission to copy, distribute and modify it.
1500 ## ------------------------ ##
1501 ## Autoconf initialization. ##
1502 ## ------------------------ ##
1504 # ac_fn_c_try_compile LINENO
1505 # --------------------------
1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_compile ()
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext
1511 if { { ac_try="$ac_compile"
1513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1514 *) ac_try_echo
=$ac_try;;
1516 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_compile") 2>conftest.err
1520 if test -s conftest.err
; then
1521 grep -v '^ *+' conftest.err
>conftest.er1
1522 cat conftest.er1
>&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest.
$ac_objext; then :
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.
$ac_ext >&5
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1540 } # ac_fn_c_try_compile
1542 # ac_fn_c_try_cpp LINENO
1543 # ----------------------
1544 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1547 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1548 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1557 if test -s conftest.err; then
1558 grep -v '^ *+' conftest.err >conftest.er1
1559 cat conftest.er1 >&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } >/dev/null && {
1564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1569 $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.$ac_ext >&5
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1579 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1580 # -------------------------------------------------------
1581 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1582 # the include files in INCLUDES and setting the cache variable VAR
1584 ac_fn_c_check_header_mongrel ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589 $as_echo_n "checking for $2... " >&6; }
1590 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1591 $as_echo_n "(cached) " >&6
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1597 # Is the header compilable?
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1599 $as_echo_n "checking $2 usability... " >&6; }
1600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1601 /* end confdefs.h. */
1605 if ac_fn_c_try_compile "$LINENO"; then :
1606 ac_header_compiler=yes
1608 ac_header_compiler=no
1610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1612 $as_echo "$ac_header_compiler" >&6; }
1614 # Is the header present?
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1616 $as_echo_n "checking $2 presence... " >&6; }
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1621 if ac_fn_c_try_cpp "$LINENO"; then :
1622 ac_header_preproc=yes
1624 ac_header_preproc=no
1626 rm -f conftest.err conftest.$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1628 $as_echo "$ac_header_preproc" >&6; }
1630 # So? What about this header?
1631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1634 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1640 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1642 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1644 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1646 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1652 $as_echo_n "checking for $2... " >&6; }
1653 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1654 $as_echo_n "(cached) " >&6
1656 eval "$3=\$ac_header_compiler"
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1660 $as_echo "$ac_res" >&6; }
1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 } # ac_fn_c_check_header_mongrel
1666 # ac_fn_c_try_run LINENO
1667 # ----------------------
1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1669 # that executables *can* be run.
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if { { ac_try="$ac_link"
1675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1676 *) ac_try_echo
=$ac_try;;
1678 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_link") 2>&5
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1684 { { case "(($ac_try" in
1685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_try") 2>&5
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; }; }; then :
1696 $as_echo "$as_me: program exited with status $ac_status" >&5
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1700 ac_retval=$ac_status
1702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1703 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1709 # -------------------------------------------------------
1710 # Tests whether HEADER exists and can be compiled using the include files in
1711 # INCLUDES, setting the cache variable VAR accordingly.
1712 ac_fn_c_check_header_compile ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1718 $as_echo_n "(cached) " >&6
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1725 if ac_fn_c_try_compile "$LINENO"; then :
1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 } # ac_fn_c_check_header_compile
1739 # ac_fn_c_try_link LINENO
1740 # -----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded.
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 rm -f conftest.$ac_objext conftest$ac_exeext
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>conftest.err
1755 if test -s conftest.err
; then
1756 grep -v '^ *+' conftest.err
>conftest.er1
1757 cat conftest.er1
>&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } && {
1762 test -z "$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1764 } && test -s conftest
$ac_exeext && {
1765 test "$cross_compiling" = yes ||
1766 $as_test_x conftest
$ac_exeext
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.
$ac_ext >&5
1775 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1776 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1777 # interfere with the next link command; also delete a directory that is
1778 # left behind by Apple's compiler. We do this before executing the actions.
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1783 } # ac_fn_c_try_link
1785 # ac_fn_c_check_func LINENO FUNC VAR
1786 # ----------------------------------
1787 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1788 ac_fn_c_check_func
()
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1794 $as_echo_n "(cached) " >&6
1796 if test x
$gcc_no_link = xyes
; then
1797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1801 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1803 #define $2 innocuous_$2
1805 /* System header to define __stub macros and hopefully few prototypes,
1806 which can conflict with char $2 (); below.
1807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1808 <limits.h> exists even on freestanding compilers. */
1811 # include <limits.h>
1813 # include <assert.h>
1818 /* Override any GCC internal prototype to avoid an error.
1819 Use char because int might match the return type of a GCC
1820 builtin and then its argument prototype would still apply. */
1825 /* The GNU C library defines this for functions which it implements
1826 to always fail with ENOSYS. Some functions are actually named
1827 something starting with __ and the normal name is an alias. */
1828 #if defined __stub_$2 || defined __stub___$2
1840 if ac_fn_c_try_link
"$LINENO"; then :
1845 rm -f core conftest.err conftest.
$ac_objext \
1846 conftest
$ac_exeext conftest.
$ac_ext
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850 $as_echo "$ac_res" >&6; }
1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1853 } # ac_fn_c_check_func
1854 cat >config.log
<<_ACEOF
1855 This file contains any messages produced by compilers while
1856 running configure, to aid debugging if configure makes a mistake.
1858 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1859 generated by GNU Autoconf 2.64. Invocation command line was
1871 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1872 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1873 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1874 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1875 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1877 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1878 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1880 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1881 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1882 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1883 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1884 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1885 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1886 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 $as_echo "PATH: $as_dir"
1911 # Keep a trace of the command line.
1912 # Strip out --no-create and --no-recursion so they do not pile up.
1913 # Strip out --silent because we don't want to record it for future runs.
1914 # Also quote any args containing shell meta-characters.
1915 # Make two passes to allow for proper duplicate-argument suppression.
1919 ac_must_keep_next
=false
1925 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1926 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1927 |
-silent |
--silent |
--silen |
--sile |
--sil)
1930 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1935 as_fn_append ac_configure_args1
" '$ac_arg'"
1936 if test $ac_must_keep_next = true
; then
1937 ac_must_keep_next
=false
# Got value, back to normal.
1940 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1941 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1942 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1943 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1944 case "$ac_configure_args0 " in
1945 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1948 -* ) ac_must_keep_next
=true
;;
1951 as_fn_append ac_configure_args
" '$ac_arg'"
1956 { ac_configure_args0
=; unset ac_configure_args0
;}
1957 { ac_configure_args1
=; unset ac_configure_args1
;}
1959 # When interrupted or exit'd, cleanup temporary files, and complete
1960 # config.log. We remove comments because anyway the quotes in there
1961 # would cause problems or look ugly.
1962 # WARNING: Use '\'' to represent an apostrophe within the trap.
1963 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1964 trap 'exit_status=$?
1965 # Save into config.log some information that might help in debugging.
1970 ## ---------------- ##
1971 ## Cache variables. ##
1972 ## ---------------- ##
1975 # The following way of writing the cache mishandles newlines in values,
1977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1978 eval ac_val=\$$ac_var
1982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1986 _ | IFS | as_nl) ;; #(
1987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1988 *) { eval $ac_var=; unset $ac_var;} ;;
1993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1994 *${as_nl}ac_space=\ *)
1996 "s/'\''/'\''\\\\'\'''\''/g;
1997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2008 ## ----------------- ##
2009 ## Output variables. ##
2010 ## ----------------- ##
2013 for ac_var in $ac_subst_vars
2015 eval ac_val=\$$ac_var
2017 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2019 $as_echo "$ac_var='\''$ac_val'\''"
2023 if test -n "$ac_subst_files"; then
2025 ## ------------------- ##
2026 ## File substitutions. ##
2027 ## ------------------- ##
2030 for ac_var
in $ac_subst_files
2032 eval ac_val
=\$
$ac_var
2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 $as_echo "$ac_var='\''$ac_val'\''"
2041 if test -s confdefs.h; then
2051 test "$ac_signal" != 0 &&
2052 $as_echo "$as_me: caught signal $ac_signal"
2053 $as_echo "$as_me: exit $exit_status"
2055 rm -f core *.core core.conftest.* &&
2056 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2059 for ac_signal
in 1 2 13 15; do
2060 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2064 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2065 rm -f -r conftest
* confdefs.h
2067 $as_echo "/* confdefs.h */" > confdefs.h
2069 # Predefined preprocessor variables.
2071 cat >>confdefs.h
<<_ACEOF
2072 #define PACKAGE_NAME "$PACKAGE_NAME"
2075 cat >>confdefs.h
<<_ACEOF
2076 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2079 cat >>confdefs.h
<<_ACEOF
2080 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2083 cat >>confdefs.h
<<_ACEOF
2084 #define PACKAGE_STRING "$PACKAGE_STRING"
2087 cat >>confdefs.h
<<_ACEOF
2088 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_URL "$PACKAGE_URL"
2096 # Let the site file select an alternate cache file if it wants to.
2097 # Prefer an explicitly selected file to automatically selected ones.
2100 if test -n "$CONFIG_SITE"; then
2101 ac_site_file1
=$CONFIG_SITE
2102 elif test "x$prefix" != xNONE
; then
2103 ac_site_file1
=$prefix/share
/config.site
2104 ac_site_file2
=$prefix/etc
/config.site
2106 ac_site_file1
=$ac_default_prefix/share
/config.site
2107 ac_site_file2
=$ac_default_prefix/etc
/config.site
2109 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2111 test "x$ac_site_file" = xNONE
&& continue
2112 if test -r "$ac_site_file"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2114 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2115 sed 's/^/| /' "$ac_site_file" >&5
2120 if test -r "$cache_file"; then
2121 # Some versions of bash will fail to source /dev/null (special
2122 # files actually), so we avoid doing that.
2123 if test -f "$cache_file"; then
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2125 $as_echo "$as_me: loading cache $cache_file" >&6;}
2127 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2128 *) .
"./$cache_file";;
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2133 $as_echo "$as_me: creating cache $cache_file" >&6;}
2137 # Check that the precious variables saved in the cache have kept the same
2139 ac_cache_corrupted
=false
2140 for ac_var
in $ac_precious_vars; do
2141 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2142 eval ac_new_set
=\
$ac_env_${ac_var}_set
2143 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2144 eval ac_new_val
=\
$ac_env_${ac_var}_value
2145 case $ac_old_set,$ac_new_set in
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2148 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2149 ac_cache_corrupted
=: ;;
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2152 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2153 ac_cache_corrupted
=: ;;
2156 if test "x$ac_old_val" != "x$ac_new_val"; then
2157 # differences in whitespace do not lead to failure.
2158 ac_old_val_w
=`echo x $ac_old_val`
2159 ac_new_val_w
=`echo x $ac_new_val`
2160 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2162 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2163 ac_cache_corrupted
=:
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2166 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2167 eval $ac_var=\
$ac_old_val
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2170 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2172 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2175 # Pass precious variables to config.status.
2176 if test "$ac_new_set" = set; then
2178 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2179 *) ac_arg
=$ac_var=$ac_new_val ;;
2181 case " $ac_configure_args " in
2182 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2183 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2187 if $ac_cache_corrupted; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2191 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2192 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2194 ## -------------------- ##
2195 ## Main body of script. ##
2196 ## -------------------- ##
2199 ac_cpp
='$CPP $CPPFLAGS'
2200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2208 ac_config_headers
="$ac_config_headers config.h"
2211 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2213 # You will slowly go insane if you do not grok the following fact: when
2214 # building this library, the top-level /target/ becomes the library's /host/.
2216 # configure then causes --target to default to --host, exactly like any
2217 # other package using autoconf. Therefore, 'target' and 'host' will
2218 # always be the same. This makes sense both for native and cross compilers
2219 # just think about it for a little while. :-)
2221 # Also, if this library is being configured as part of a cross compiler, the
2222 # top-level configure script will pass the "real" host as $with_cross_host.
2224 # Do not delete or change the following two lines. For why, see
2225 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2227 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2228 for ac_t
in install-sh
install.sh shtool
; do
2229 if test -f "$ac_dir/$ac_t"; then
2231 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2236 if test -z "$ac_aux_dir"; then
2237 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2240 # These three variables are undocumented and unsupported,
2241 # and are intended to be withdrawn in a future Autoconf release.
2242 # They can cause serious problems if a builder's source tree is in a directory
2243 # whose full name contains unusual characters.
2244 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2245 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2246 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2249 # Make sure we can run config.sub.
2250 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2251 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2254 $as_echo_n "checking build system type... " >&6; }
2255 if test "${ac_cv_build+set}" = set; then :
2256 $as_echo_n "(cached) " >&6
2258 ac_build_alias
=$build_alias
2259 test "x$ac_build_alias" = x
&&
2260 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2261 test "x$ac_build_alias" = x
&&
2262 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2263 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2264 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2268 $as_echo "$ac_cv_build" >&6; }
2269 case $ac_cv_build in
2271 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2274 ac_save_IFS
=$IFS; IFS
='-'
2280 # Remember, the first character of IFS is used to create $*,
2281 # except with old shells:
2284 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2288 $as_echo_n "checking host system type... " >&6; }
2289 if test "${ac_cv_host+set}" = set; then :
2290 $as_echo_n "(cached) " >&6
2292 if test "x$host_alias" = x
; then
2293 ac_cv_host
=$ac_cv_build
2295 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2296 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2301 $as_echo "$ac_cv_host" >&6; }
2304 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2307 ac_save_IFS
=$IFS; IFS
='-'
2313 # Remember, the first character of IFS is used to create $*,
2314 # except with old shells:
2317 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2321 $as_echo_n "checking target system type... " >&6; }
2322 if test "${ac_cv_target+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2325 if test "x$target_alias" = x
; then
2326 ac_cv_target
=$ac_cv_host
2328 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2329 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2334 $as_echo "$ac_cv_target" >&6; }
2335 case $ac_cv_target in
2337 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2339 target
=$ac_cv_target
2340 ac_save_IFS
=$IFS; IFS
='-'
2346 # Remember, the first character of IFS is used to create $*,
2347 # except with old shells:
2350 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2353 # The aliases save the names the user supplied, while $host etc.
2354 # will get canonicalized.
2355 test -n "$target_alias" &&
2356 test "$program_prefix$program_suffix$program_transform_name" = \
2358 program_prefix
=${target_alias}-
2360 case ${build_alias} in
2361 "") build_noncanonical
=${build} ;;
2362 *) build_noncanonical
=${build_alias} ;;
2365 case ${host_alias} in
2366 "") host_noncanonical
=${build_noncanonical} ;;
2367 *) host_noncanonical
=${host_alias} ;;
2370 case ${target_alias} in
2371 "") target_noncanonical
=${host_noncanonical} ;;
2372 *) target_noncanonical
=${target_alias} ;;
2378 # Default to --enable-multilib
2379 # Check whether --enable-multilib was given.
2380 if test "${enable_multilib+set}" = set; then :
2381 enableval
=$enable_multilib; case "$enableval" in
2382 yes) multilib
=yes ;;
2384 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2391 # We may get other options which we leave undocumented:
2392 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2393 # See config-ml.in if you want the gory details.
2395 if test "$srcdir" = "."; then
2396 if test "$with_target_subdir" != "."; then
2397 multi_basedir
="$srcdir/$with_multisrctop../.."
2399 multi_basedir
="$srcdir/$with_multisrctop.."
2402 multi_basedir
="$srcdir/.."
2406 # Even if the default multilib is not a cross compilation,
2407 # it may be that some of the other multilibs are.
2408 if test $cross_compiling = no
&& test $multilib = yes \
2409 && test "x${with_multisubdir}" != x
; then
2410 cross_compiling
=maybe
2413 ac_config_commands
="$ac_config_commands default-1"
2416 target_alias
=${target_alias-$host_alias}
2419 am__api_version
='1.11'
2421 # Find a good install program. We prefer a C program (faster),
2422 # so one script is as good as another. But avoid the broken or
2423 # incompatible versions:
2424 # SysV /etc/install, /usr/sbin/install
2425 # SunOS /usr/etc/install
2426 # IRIX /sbin/install
2428 # AmigaOS /C/install, which installs bootblocks on floppy discs
2429 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2430 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2431 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2432 # OS/2's system install, which has a completely different semantic
2433 # ./install, which can be erroneously created by make from ./install.sh.
2434 # Reject install programs that cannot install multiple files.
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2436 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2437 if test -z "$INSTALL"; then
2438 if test "${ac_cv_path_install+set}" = set; then :
2439 $as_echo_n "(cached) " >&6
2441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir
=.
2446 # Account for people who put trailing slashes in PATH elements.
2447 case $as_dir/ in #((
2448 .
/ | .
// |
/[cC
]/* | \
2449 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2450 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2453 # OSF1 and SCO ODT 3.0 have their own names for install.
2454 # Don't use installbsd from OSF since it installs stuff as root
2456 for ac_prog
in ginstall scoinst
install; do
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2459 if test $ac_prog = install &&
2460 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2461 # AIX install. It has an incompatible calling convention.
2463 elif test $ac_prog = install &&
2464 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2465 # program-specific install script used by HP pwplus--don't use.
2468 rm -rf conftest.one conftest.two conftest.dir
2469 echo one
> conftest.one
2470 echo two
> conftest.two
2472 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2473 test -s conftest.one
&& test -s conftest.two
&&
2474 test -s conftest.dir
/conftest.one
&&
2475 test -s conftest.dir
/conftest.two
2477 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2490 rm -rf conftest.one conftest.two conftest.dir
2493 if test "${ac_cv_path_install+set}" = set; then
2494 INSTALL
=$ac_cv_path_install
2496 # As a last resort, use the slow shell script. Don't cache a
2497 # value for INSTALL within a source directory, because that will
2498 # break other packages using the cache if that directory is
2499 # removed, or if the value is a relative name.
2500 INSTALL
=$ac_install_sh
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2504 $as_echo "$INSTALL" >&6; }
2506 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2507 # It thinks the first close brace ends the variable substitution.
2508 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2510 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2512 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2515 $as_echo_n "checking whether build environment is sane... " >&6; }
2518 echo timestamp
> conftest.
file
2519 # Reject unsafe characters in $srcdir or the absolute working directory
2520 # name. Accept space and tab only in the latter.
2524 *[\\\"\
#\$\&\'\`$am_lf]*)
2525 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2528 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2529 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2532 # Do `set' in a subshell so we don't clobber the current shell's
2533 # arguments. Must try -L first in case configure is actually a
2534 # symlink; some systems play weird games with the mod time of symlinks
2535 # (eg FreeBSD returns the mod time of the symlink's containing
2538 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2539 if test "$*" = "X"; then
2541 set X
`ls -t "$srcdir/configure" conftest.file`
2544 if test "$*" != "X $srcdir/configure conftest.file" \
2545 && test "$*" != "X conftest.file $srcdir/configure"; then
2547 # If neither matched, then we have a broken ls. This can happen
2548 # if, for instance, CONFIG_SHELL is bash and it inherits a
2549 # broken ls alias from the environment. This has actually
2550 # happened. Such a system could not be considered "sane".
2551 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2552 alias in your environment" "$LINENO" 5
2555 test "$2" = conftest.
file
2561 as_fn_error
"newly created file is older than distributed files!
2562 Check your system clock" "$LINENO" 5
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2565 $as_echo "yes" >&6; }
2566 test "$program_prefix" != NONE
&&
2567 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2568 # Use a double $ so make ignores it.
2569 test "$program_suffix" != NONE
&&
2570 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2571 # Double any \ or $.
2572 # By default was `s,x,x', remove it if useless.
2573 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2574 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2576 # expand $ac_aux_dir to an absolute path
2577 am_aux_dir
=`cd $ac_aux_dir && pwd`
2579 if test x
"${MISSING+set}" != xset
; then
2582 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2584 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2587 # Use eval to expand $SHELL
2588 if eval "$MISSING --run true"; then
2589 am_missing_run
="$MISSING --run "
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2593 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2596 if test x
"${install_sh}" != xset
; then
2599 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2601 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2605 # Installed binaries are usually stripped using `strip' when the user
2606 # run `make install-strip'. However `strip' might not be the right
2607 # tool to use in cross-compilation environments, therefore Automake
2608 # will honor the `STRIP' environment variable to overrule this program.
2609 if test "$cross_compiling" != no
; then
2610 if test -n "$ac_tool_prefix"; then
2611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2612 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if test "${ac_cv_prog_STRIP+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$STRIP"; then
2619 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 STRIP
=$ac_cv_prog_STRIP
2639 if test -n "$STRIP"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2641 $as_echo "$STRIP" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2649 if test -z "$ac_cv_prog_STRIP"; then
2651 # Extract the first word of "strip", so it can be a program name with args.
2652 set dummy strip
; ac_word
=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$ac_ct_STRIP"; then
2659 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_ac_ct_STRIP
="strip"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2679 if test -n "$ac_ct_STRIP"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2681 $as_echo "$ac_ct_STRIP" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2687 if test "x$ac_ct_STRIP" = x
; then
2690 case $cross_compiling:$ac_tool_warned in
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694 ac_tool_warned
=yes ;;
2699 STRIP
="$ac_cv_prog_STRIP"
2703 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2706 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2707 if test -z "$MKDIR_P"; then
2708 if test "${ac_cv_path_mkdir+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2712 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2715 test -z "$as_dir" && as_dir
=.
2716 for ac_prog
in mkdir gmkdir
; do
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2719 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2720 'mkdir (GNU coreutils) '* | \
2721 'mkdir (coreutils) '* | \
2722 'mkdir (fileutils) '4.1*)
2723 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2733 if test "${ac_cv_path_mkdir+set}" = set; then
2734 MKDIR_P
="$ac_cv_path_mkdir -p"
2736 # As a last resort, use the slow shell script. Don't cache a
2737 # value for MKDIR_P within a source directory, because that will
2738 # break other packages using the cache if that directory is
2739 # removed, or if the value is a relative name.
2740 test -d .
/--version && rmdir .
/--version
2741 MKDIR_P
="$ac_install_sh -d"
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2745 $as_echo "$MKDIR_P" >&6; }
2749 [\\/$
]* | ?
:[\\/]*) ;;
2750 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2753 for ac_prog
in gawk mawk nawk
awk
2755 # Extract the first word of "$ac_prog", so it can be a program name with args.
2756 set dummy
$ac_prog; ac_word
=$2
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758 $as_echo_n "checking for $ac_word... " >&6; }
2759 if test "${ac_cv_prog_AWK+set}" = set; then :
2760 $as_echo_n "(cached) " >&6
2762 if test -n "$AWK"; then
2763 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir
=.
2770 for ac_exec_ext
in '' $ac_executable_extensions; do
2771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2772 ac_cv_prog_AWK
="$ac_prog"
2773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 if test -n "$AWK"; then
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2785 $as_echo "$AWK" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2792 test -n "$AWK" && break
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2796 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2798 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2799 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2800 $as_echo_n "(cached) " >&6
2802 cat >conftest.
make <<\_ACEOF
2805 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2810 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2812 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2816 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2818 $as_echo "yes" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2823 SET_MAKE
="MAKE=${MAKE-make}"
2826 rm -rf .tst
2>/dev
/null
2827 mkdir .tst
2>/dev
/null
2828 if test -d .tst
; then
2833 rmdir .tst
2>/dev
/null
2835 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2836 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2837 # is not polluted with repeated "-I."
2838 am__isrc
=' -I$(srcdir)'
2839 # test to see if srcdir already configured
2840 if test -f $srcdir/config.status
; then
2841 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2845 # test whether we have cygpath
2846 if test -z "$CYGPATH_W"; then
2847 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2848 CYGPATH_W
='cygpath -w'
2855 # Define the identity of the package.
2856 PACKAGE
='libquadmath'
2860 cat >>confdefs.h
<<_ACEOF
2861 #define PACKAGE "$PACKAGE"
2865 cat >>confdefs.h
<<_ACEOF
2866 #define VERSION "$VERSION"
2869 # Some tools Automake needs.
2871 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2874 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2877 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2880 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2883 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2885 # We need awk for the "check" target. The system "awk" is bad on
2887 # Always define AMTAR for backward compatibility. Yes, it's still used
2888 # in the wild :-( We should find a proper way to deprecate it ...
2891 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2899 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2900 # Check whether --enable-version-specific-runtime-libs was given.
2901 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2902 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2903 yes) version_specific_libs
=yes ;;
2904 no
) version_specific_libs
=no
;;
2905 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2908 version_specific_libs
=no
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2912 $as_echo "$version_specific_libs" >&6; }
2916 DEPDIR
="${am__leading_dot}deps"
2918 ac_config_commands
="$ac_config_commands depfiles"
2921 am_make
=${MAKE-make}
2922 cat > confinc
<< 'END'
2924 @
echo this is the am__doit target
2927 # If we don't find an include directive, just comment out the code.
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2929 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2933 # First try GNU make style include.
2934 echo "include confinc" > confmf
2935 # Ignore all kinds of additional output from `make'.
2936 case `$am_make -s -f confmf 2> /dev/null` in #(
2937 *the\ am__doit\ target
*)
2943 # Now try BSD make style include.
2944 if test "$am__include" = "#"; then
2945 echo '.include "confinc"' > confmf
2946 case `$am_make -s -f confmf 2> /dev/null` in #(
2947 *the\ am__doit\ target
*)
2948 am__include
=.include
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2957 $as_echo "$_am_result" >&6; }
2958 rm -f confinc confmf
2960 # Check whether --enable-dependency-tracking was given.
2961 if test "${enable_dependency_tracking+set}" = set; then :
2962 enableval
=$enable_dependency_tracking;
2965 if test "x$enable_dependency_tracking" != xno
; then
2966 am_depcomp
="$ac_aux_dir/depcomp"
2970 if test "x$enable_dependency_tracking" != xno; then
2980 ac_cpp
='$CPP $CPPFLAGS'
2981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2984 if test -n "$ac_tool_prefix"; then
2985 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2986 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if test "${ac_cv_prog_CC+set}" = set; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC
="$CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3002 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3015 $as_echo "$CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3023 if test -z "$ac_cv_prog_CC"; then
3025 # Extract the first word of "gcc", so it can be a program name with args.
3026 set dummy gcc
; ac_word
=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$ac_ct_CC"; then
3033 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_ac_ct_CC
="gcc"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3053 if test -n "$ac_ct_CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3055 $as_echo "$ac_ct_CC" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3061 if test "x$ac_ct_CC" = x
; then
3064 case $cross_compiling:$ac_tool_warned in
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3068 ac_tool_warned
=yes ;;
3076 if test -z "$CC"; then
3077 if test -n "$ac_tool_prefix"; then
3078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3079 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if test "${ac_cv_prog_CC+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$CC"; then
3086 ac_cv_prog_CC
="$CC" # Let the user override the test.
3088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir
=.
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3095 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 if test -n "$CC"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3108 $as_echo "$CC" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3117 if test -z "$CC"; then
3118 # Extract the first word of "cc", so it can be a program name with args.
3119 set dummy cc
; ac_word
=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if test "${ac_cv_prog_CC+set}" = set; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$CC"; then
3126 ac_cv_prog_CC
="$CC" # Let the user override the test.
3129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir
=.
3134 for ac_exec_ext
in '' $ac_executable_extensions; do
3135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3137 ac_prog_rejected
=yes
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test $ac_prog_rejected = yes; then
3149 # We found a bogon in the path, so make sure we never use it.
3150 set dummy
$ac_cv_prog_CC
3152 if test $# != 0; then
3153 # We chose a different compiler from the bogus one.
3154 # However, it has the same basename, so the bogon will be chosen
3155 # first if we set CC to just the basename; use the full file name.
3157 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3163 if test -n "$CC"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3165 $as_echo "$CC" >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3173 if test -z "$CC"; then
3174 if test -n "$ac_tool_prefix"; then
3175 for ac_prog
in cl.exe
3177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3178 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if test "${ac_cv_prog_CC+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$CC"; then
3185 ac_cv_prog_CC
="$CC" # Let the user override the test.
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3194 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205 if test -n "$CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3214 test -n "$CC" && break
3217 if test -z "$CC"; then
3219 for ac_prog
in cl.exe
3221 # Extract the first word of "$ac_prog", so it can be a program name with args.
3222 set dummy
$ac_prog; ac_word
=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$ac_ct_CC"; then
3229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3238 ac_cv_prog_ac_ct_CC
="$ac_prog"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3249 if test -n "$ac_ct_CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3251 $as_echo "$ac_ct_CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3258 test -n "$ac_ct_CC" && break
3261 if test "x$ac_ct_CC" = x
; then
3264 case $cross_compiling:$ac_tool_warned in
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3268 ac_tool_warned
=yes ;;
3277 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 as_fn_error
"no acceptable C compiler found in \$PATH
3280 See \`config.log' for more details." "$LINENO" 5; }
3282 # Provide some information about the compiler.
3283 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3286 for ac_option
in --version -v -V -qversion; do
3287 { { ac_try
="$ac_compiler $ac_option >&5"
3289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293 $as_echo "$ac_try_echo"; } >&5
3294 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3296 if test -s conftest.err; then
3298 ... rest of stderr output deleted ...
3299 10q' conftest.err >conftest.er1
3300 cat conftest.er1 >&5
3301 rm -f conftest.er1 conftest.err
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3320 (eval $ac_link) 2>&5
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323 test $ac_status = 0; }; then :
3328 if test x$gcc_no_link = xyes; then
3329 # Setting cross_compile will disable run tests; it will
3330 # also disable AC_CHECK_FILE but that's generally
3331 # correct if we can't link.
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 ac_clean_files_save=$ac_clean_files
3347 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3348 # Try to create an executable without -o first, disregard a.out.
3349 # It will help us diagnose broken compilers, and finding out an intuition
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3352 $as_echo_n "checking for C compiler default output file name... " >&6; }
3353 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3355 # The possible output files:
3356 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3359 for ac_file in $ac_files
3362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3363 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3368 if { { ac_try="$ac_link_default"
3370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3371 *) ac_try_echo
=$ac_try;;
3373 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374 $as_echo "$ac_try_echo"; } >&5
3375 (eval "$ac_link_default") 2>&5
3377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3378 test $ac_status = 0; }; then :
3379 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3380 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3381 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3382 # so that the user can short-circuit this test for compilers unknown to
3384 for ac_file
in $ac_files ''
3386 test -f "$ac_file" ||
continue
3388 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3391 # We found the default executable, but exeext='' is most
3395 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3397 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3399 # We set ac_cv_exeext here because the later test for it is not
3400 # safe: cross compilers may not add the suffix if given an `-o'
3401 # argument, so we may need to know it at that point already.
3402 # Even if this section looks crufty: it has the advantage of
3409 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3415 $as_echo "$ac_file" >&6; }
3416 if test -z "$ac_file"; then :
3417 $as_echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.
$ac_ext >&5
3420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3422 { as_fn_set_status
77
3423 as_fn_error
"C compiler cannot create executables
3424 See \`config.log' for more details." "$LINENO" 5; }; }
3426 ac_exeext
=$ac_cv_exeext
3428 # Check that the compiler produces executables we can run. If not, either
3429 # the compiler is broken, or we cross compile.
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3431 $as_echo_n "checking whether the C compiler works... " >&6; }
3432 # If not cross compiling, check that we can run a simple program.
3433 if test "$cross_compiling" != yes; then
3434 if { ac_try
='./$ac_file'
3435 { { case "(($ac_try" in
3436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 $as_echo "$ac_try_echo"; } >&5
3441 (eval "$ac_try") 2>&5
3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444 test $ac_status = 0; }; }; then
3447 if test "$cross_compiling" = maybe; then
3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error "cannot run C compiled programs.
3453 If you meant to cross compile
, use \
`--host'.
3454 See \`config.log
' for more details." "$LINENO" 5; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3459 $as_echo "yes" >&6; }
3461 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3462 ac_clean_files=$ac_clean_files_save
3463 # Check that the compiler produces executables we can run. If not, either
3464 # the compiler is broken, or we cross compile.
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3466 $as_echo_n "checking whether we are cross compiling... " >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3468 $as_echo "$cross_compiling" >&6; }
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3471 $as_echo_n "checking for suffix of executables... " >&6; }
3472 if { { ac_try="$ac_link"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_link") 2>&5
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }; then :
3483 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3484 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3485 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3487 for ac_file
in conftest.exe conftest conftest.
*; do
3488 test -f "$ac_file" ||
continue
3490 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3491 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3500 See \`config.log' for more details." "$LINENO" 5; }
3502 rm -f conftest
$ac_cv_exeext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3504 $as_echo "$ac_cv_exeext" >&6; }
3506 rm -f conftest.
$ac_ext
3507 EXEEXT
=$ac_cv_exeext
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3511 $as_echo_n "checking for suffix of object files... " >&6; }
3512 if test "${ac_cv_objext+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3526 rm -f conftest.o conftest.obj
3527 if { { ac_try
="$ac_compile"
3529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533 $as_echo "$ac_try_echo"; } >&5
3534 (eval "$ac_compile") 2>&5
3536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537 test $ac_status = 0; }; then :
3538 for ac_file in conftest.o conftest.obj conftest.*; do
3539 test -f "$ac_file" || continue;
3541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3542 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3547 $as_echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552 as_fn_error "cannot compute suffix of object files
: cannot compile
3553 See \
`config.log' for more details." "$LINENO" 5; }
3555 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3558 $as_echo "$ac_cv_objext" >&6; }
3559 OBJEXT=$ac_cv_objext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3562 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3563 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3564 $as_echo_n "(cached) " >&6
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3590 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3591 if test $ac_compiler_gnu = yes; then
3596 ac_test_CFLAGS=${CFLAGS+set}
3597 ac_save_CFLAGS=$CFLAGS
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3599 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3600 if test "${ac_cv_prog_cc_g+set}" = set; then :
3601 $as_echo_n "(cached) " >&6
3603 ac_save_c_werror_flag=$ac_c_werror_flag
3604 ac_c_werror_flag=yes
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3618 if ac_fn_c_try_compile "$LINENO"; then :
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3633 if ac_fn_c_try_compile "$LINENO"; then :
3636 ac_c_werror_flag=$ac_save_c_werror_flag
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3649 if ac_fn_c_try_compile "$LINENO"; then :
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 ac_c_werror_flag=$ac_save_c_werror_flag
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3660 $as_echo "$ac_cv_prog_cc_g" >&6; }
3661 if test "$ac_test_CFLAGS" = set; then
3662 CFLAGS=$ac_save_CFLAGS
3663 elif test $ac_cv_prog_cc_g = yes; then
3664 if test "$GCC" = yes; then
3670 if test "$GCC" = yes; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3677 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3678 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3681 ac_cv_prog_cc_c89=no
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3687 #include <sys/types.h>
3688 #include <sys/stat.h>
3689 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3690 struct buf { int x; };
3691 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3692 static char *e (p, i)
3698 static char *f (char * (*g) (char **, int), char **p, ...)
3703 s = g (p, va_arg (v,int));
3708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3709 function prototypes and stuff, but not '\xHH' hex character constants.
3710 These don't provoke an error unfortunately, instead are silently treated
3711 as 'x'. The following induces an error, until -std is added to get
3712 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3713 array size at least. It's necessary to write '\x00'==0 to get something
3714 that's true only with -std. */
3715 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3718 inside strings and character constants. */
3720 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3722 int test (int i, double x);
3723 struct s1 {int (*f) (int a);};
3724 struct s2 {int (*f) (double a);};
3725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3736 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3737 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3739 CC="$ac_save_CC $ac_arg"
3740 if ac_fn_c_try_compile "$LINENO"; then :
3741 ac_cv_prog_cc_c89=$ac_arg
3743 rm -f core conftest.err conftest.$ac_objext
3744 test "x$ac_cv_prog_cc_c89" != "xno" && break
3746 rm -f conftest.$ac_ext
3751 case "x$ac_cv_prog_cc_c89" in
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3754 $as_echo "none needed" >&6; } ;;
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3757 $as_echo "unsupported" >&6; } ;;
3759 CC="$CC $ac_cv_prog_cc_c89"
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3761 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3763 if test "x$ac_cv_prog_cc_c89" != xno; then :
3768 ac_cpp='$CPP $CPPFLAGS'
3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3773 depcc="$CC" am_compiler_list=
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3776 $as_echo_n "checking dependency style of $depcc... " >&6; }
3777 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3781 # We make a subdir and do the tests there. Otherwise we can end up
3782 # making bogus files that we don't know about and never remove. For
3783 # instance it was reported that on HP-UX the gcc test will end up
3784 # making a dummy file named `D
' -- because `-MD' means
`put the output
3788 # Copy depcomp to subdir because otherwise we won't find it if we're
3789 # using a relative directory.
3790 cp "$am_depcomp" conftest.dir
3792 # We will build objects and dependencies in a subdirectory because
3793 # it helps to detect inapplicable dependency modes. For instance
3794 # both Tru64's cc and ICC support -MD to output dependencies as a
3795 # side effect of compilation, but ICC will put the dependencies in
3796 # the current directory while Tru64 will put them in the object
3800 am_cv_CC_dependencies_compiler_type=none
3801 if test "$am_compiler_list" = ""; then
3802 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3805 case " $depcc " in #(
3806 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3809 for depmode in $am_compiler_list; do
3810 # Setup a source with many dependencies, because some compilers
3811 # like to wrap large dependency lists on column 80 (with \), and
3812 # we should not choose a depcomp mode which is confused by this.
3814 # We need to recreate these files for each test, as the compiler may
3815 # overwrite some of them when testing with obscure command lines.
3816 # This happens at least with the AIX C compiler.
3818 for i in 1 2 3 4 5 6; do
3819 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3820 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3821 # Solaris 8's
{/usr
,}/bin
/sh.
3822 touch sub
/conftst
$i.h
3824 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3826 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3827 # mode. It turns out that the SunPro C++ compiler does not properly
3828 # handle `-M -o', and we need to detect this. Also, some Intel
3829 # versions had trouble with output in subdirs
3830 am__obj
=sub
/conftest.
${OBJEXT-o}
3831 am__minus_obj
="-o $am__obj"
3834 # This depmode causes a compiler race in universal mode.
3835 test "$am__universal" = false ||
continue
3838 # after this tag, mechanisms are not by side-effect, so they'll
3839 # only be used when explicitly requested
3840 if test "x$enable_dependency_tracking" = xyes
; then
3846 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3847 # This compiler won't grok `-c -o', but also, the minuso test has
3848 # not run yet. These depmodes are late enough in the game, and
3849 # so weak that their functioning should not be impacted.
3850 am__obj
=conftest.
${OBJEXT-o}
3855 if depmode
=$depmode \
3856 source=sub
/conftest.c object
=$am__obj \
3857 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3858 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3859 >/dev
/null
2>conftest.err
&&
3860 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3861 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3862 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3863 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3864 # icc doesn't choke on unknown options, it will just issue warnings
3865 # or remarks (even with -Werror). So we grep stderr for any message
3866 # that says an option was ignored or not supported.
3867 # When given -MP, icc 7.0 and 7.1 complain thusly:
3868 # icc: Command line warning: ignoring option '-M'; no argument required
3869 # The diagnosis changed in icc 8.0:
3870 # icc: Command line remark: option '-MP' not supported
3871 if (grep 'ignoring option' conftest.err ||
3872 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3873 am_cv_CC_dependencies_compiler_type
=$depmode
3882 am_cv_CC_dependencies_compiler_type
=none
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3887 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3888 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3891 test "x$enable_dependency_tracking" != xno \
3892 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3894 am__fastdepCC_FALSE
='#'
3896 am__fastdepCC_TRUE
='#'
3897 am__fastdepCC_FALSE
=
3903 ac_cpp
='$CPP $CPPFLAGS'
3904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3908 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3909 # On Suns, sometimes $CPP names a directory.
3910 if test -n "$CPP" && test -d "$CPP"; then
3913 if test -z "$CPP"; then
3914 if test "${ac_cv_prog_CPP+set}" = set; then :
3915 $as_echo_n "(cached) " >&6
3917 # Double quotes because CPP needs to be expanded
3918 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3921 for ac_c_preproc_warn_flag
in '' yes
3923 # Use a header file that comes with gcc, so configuring glibc
3924 # with a fresh cross-compiler works.
3925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3926 # <limits.h> exists even on freestanding compilers.
3927 # On the NeXT, cc -E runs the code through the compiler's parser,
3928 # not just through cpp. "Syntax error" is here to catch this case.
3929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3932 # include <limits.h>
3934 # include <assert.h>
3938 if ac_fn_c_try_cpp
"$LINENO"; then :
3941 # Broken: fails on valid input.
3944 rm -f conftest.err conftest.
$ac_ext
3946 # OK, works on sane cases. Now check whether nonexistent headers
3947 # can be detected and how.
3948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3950 #include <ac_nonexistent.h>
3952 if ac_fn_c_try_cpp
"$LINENO"; then :
3953 # Broken: success on invalid input.
3956 # Passes both tests.
3960 rm -f conftest.err conftest.
$ac_ext
3963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3964 rm -f conftest.err conftest.
$ac_ext
3965 if $ac_preproc_ok; then :
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3978 $as_echo "$CPP" >&6; }
3980 for ac_c_preproc_warn_flag
in '' yes
3982 # Use a header file that comes with gcc, so configuring glibc
3983 # with a fresh cross-compiler works.
3984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3985 # <limits.h> exists even on freestanding compilers.
3986 # On the NeXT, cc -E runs the code through the compiler's parser,
3987 # not just through cpp. "Syntax error" is here to catch this case.
3988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3991 # include <limits.h>
3993 # include <assert.h>
3997 if ac_fn_c_try_cpp
"$LINENO"; then :
4000 # Broken: fails on valid input.
4003 rm -f conftest.err conftest.
$ac_ext
4005 # OK, works on sane cases. Now check whether nonexistent headers
4006 # can be detected and how.
4007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4008 /* end confdefs.h. */
4009 #include <ac_nonexistent.h>
4011 if ac_fn_c_try_cpp
"$LINENO"; then :
4012 # Broken: success on invalid input.
4015 # Passes both tests.
4019 rm -f conftest.err conftest.
$ac_ext
4022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4023 rm -f conftest.err conftest.
$ac_ext
4024 if $ac_preproc_ok; then :
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4030 See \`config.log' for more details." "$LINENO" 5; }
4034 ac_cpp
='$CPP $CPPFLAGS'
4035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4041 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4042 if test "${ac_cv_path_GREP+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -z "$GREP"; then
4046 ac_path_GREP_found
=false
4047 # Loop through the user's path and test for each of PROGNAME-LIST
4048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4052 test -z "$as_dir" && as_dir
=.
4053 for ac_prog
in grep ggrep
; do
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4056 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4057 # Check for GNU ac_path_GREP and select it if it is found.
4058 # Check for GNU $ac_path_GREP
4059 case `"$ac_path_GREP" --version 2>&1` in
4061 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4064 $as_echo_n 0123456789 >"conftest.in"
4067 cat "conftest.in" "conftest.in" >"conftest.tmp"
4068 mv "conftest.tmp" "conftest.in"
4069 cp "conftest.in" "conftest.nl"
4070 $as_echo 'GREP' >> "conftest.nl"
4071 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4072 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4073 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4074 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4075 # Best one so far, save it but keep looking for a better one
4076 ac_cv_path_GREP
="$ac_path_GREP"
4077 ac_path_GREP_max
=$ac_count
4079 # 10*(2^10) chars as input seems more than enough
4080 test $ac_count -gt 10 && break
4082 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4085 $ac_path_GREP_found && break 3
4090 if test -z "$ac_cv_path_GREP"; then
4091 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4094 ac_cv_path_GREP
=$GREP
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4099 $as_echo "$ac_cv_path_GREP" >&6; }
4100 GREP
="$ac_cv_path_GREP"
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4104 $as_echo_n "checking for egrep... " >&6; }
4105 if test "${ac_cv_path_EGREP+set}" = set; then :
4106 $as_echo_n "(cached) " >&6
4108 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4109 then ac_cv_path_EGREP
="$GREP -E"
4111 if test -z "$EGREP"; then
4112 ac_path_EGREP_found
=false
4113 # Loop through the user's path and test for each of PROGNAME-LIST
4114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4118 test -z "$as_dir" && as_dir
=.
4119 for ac_prog
in egrep; do
4120 for ac_exec_ext
in '' $ac_executable_extensions; do
4121 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4122 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4123 # Check for GNU ac_path_EGREP and select it if it is found.
4124 # Check for GNU $ac_path_EGREP
4125 case `"$ac_path_EGREP" --version 2>&1` in
4127 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4130 $as_echo_n 0123456789 >"conftest.in"
4133 cat "conftest.in" "conftest.in" >"conftest.tmp"
4134 mv "conftest.tmp" "conftest.in"
4135 cp "conftest.in" "conftest.nl"
4136 $as_echo 'EGREP' >> "conftest.nl"
4137 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4138 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4139 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4140 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4141 # Best one so far, save it but keep looking for a better one
4142 ac_cv_path_EGREP
="$ac_path_EGREP"
4143 ac_path_EGREP_max
=$ac_count
4145 # 10*(2^10) chars as input seems more than enough
4146 test $ac_count -gt 10 && break
4148 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4151 $ac_path_EGREP_found && break 3
4156 if test -z "$ac_cv_path_EGREP"; then
4157 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4160 ac_cv_path_EGREP
=$EGREP
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4166 $as_echo "$ac_cv_path_EGREP" >&6; }
4167 EGREP
="$ac_cv_path_EGREP"
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4171 $as_echo_n "checking for ANSI C header files... " >&6; }
4172 if test "${ac_cv_header_stdc+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4190 if ac_fn_c_try_compile
"$LINENO"; then :
4191 ac_cv_header_stdc
=yes
4193 ac_cv_header_stdc
=no
4195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4197 if test $ac_cv_header_stdc = yes; then
4198 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4205 $EGREP "memchr" >/dev
/null
2>&1; then :
4208 ac_cv_header_stdc
=no
4214 if test $ac_cv_header_stdc = yes; then
4215 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4222 $EGREP "free" >/dev
/null
2>&1; then :
4225 ac_cv_header_stdc
=no
4231 if test $ac_cv_header_stdc = yes; then
4232 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4233 if test "$cross_compiling" = yes; then :
4236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4240 #if ((' ' & 0x0FF) == 0x020)
4241 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4242 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4244 # define ISLOWER(c) \
4245 (('a' <= (c) && (c) <= 'i') \
4246 || ('j' <= (c) && (c) <= 'r') \
4247 || ('s' <= (c) && (c) <= 'z'))
4248 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4251 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4256 for (i = 0; i < 256; i++)
4257 if (XOR (islower (i), ISLOWER (i))
4258 || toupper (i) != TOUPPER (i))
4263 if ac_fn_c_try_run
"$LINENO"; then :
4266 ac_cv_header_stdc
=no
4268 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4269 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4275 $as_echo "$ac_cv_header_stdc" >&6; }
4276 if test $ac_cv_header_stdc = yes; then
4278 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4282 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4283 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4284 inttypes.h stdint.h unistd.h
4286 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4287 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4289 eval as_val
=\$
$as_ac_Header
4290 if test "x$as_val" = x
""yes; then :
4291 cat >>confdefs.h
<<_ACEOF
4292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4301 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4302 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4309 if test "$MINIX" = yes; then
4311 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4314 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4317 $as_echo "#define _MINIX 1" >>confdefs.h
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4323 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4324 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4330 # define __EXTENSIONS__ 1
4331 $ac_includes_default
4340 if ac_fn_c_try_compile
"$LINENO"; then :
4341 ac_cv_safe_to_define___extensions__
=yes
4343 ac_cv_safe_to_define___extensions__
=no
4345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4348 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4349 test $ac_cv_safe_to_define___extensions__ = yes &&
4350 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4352 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4354 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4356 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4358 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4362 # See if makeinfo has been installed and is modern enough
4363 # that we can use it.
4365 # Extract the first word of "makeinfo", so it can be a program name with args.
4366 set dummy makeinfo
; ac_word
=$2
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368 $as_echo_n "checking for $ac_word... " >&6; }
4369 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4370 $as_echo_n "(cached) " >&6
4372 if test -n "$MAKEINFO"; then
4373 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir
=.
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382 ac_cv_prog_MAKEINFO
="makeinfo"
4383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 MAKEINFO
=$ac_cv_prog_MAKEINFO
4393 if test -n "$MAKEINFO"; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4395 $as_echo "$MAKEINFO" >&6; }
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398 $as_echo "no" >&6; }
4402 if test -n "$MAKEINFO"; then
4403 # Found it, now check the version.
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4405 $as_echo_n "checking for modern makeinfo... " >&6; }
4406 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4407 $as_echo_n "(cached) " >&6
4409 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4410 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4412 case $ac_prog_version in
4413 '') gcc_cv_prog_makeinfo_modern
=no
;;
4414 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4415 *) gcc_cv_prog_makeinfo_modern
=no
;;
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4420 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4422 gcc_cv_prog_makeinfo_modern
=no
4424 if test $gcc_cv_prog_makeinfo_modern = no
; then
4425 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4428 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4430 BUILD_INFO_FALSE
='#'
4439 # Check whether --with-bugurl was given.
4440 if test "${with_bugurl+set}" = set; then :
4441 withval
=$with_bugurl; case "$withval" in
4442 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
4445 *) BUGURL
="$withval"
4449 BUGURL
="https://gcc.gnu.org/bugs/"
4459 REPORT_BUGS_TO
="<$BUGURL>"
4460 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4471 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4476 macro_version
='2.2.7a'
4477 macro_revision
='1.3134'
4491 ltmain
="$ac_aux_dir/ltmain.sh"
4493 # Backslashify metacharacters that are still active within
4494 # double-quoted strings.
4495 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4497 # Same as above, but do not quote variable references.
4498 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4500 # Sed substitution to delay expansion of an escaped shell variable in a
4501 # double_quote_subst'ed string.
4502 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4504 # Sed substitution to delay expansion of an escaped single quote.
4505 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4507 # Sed substitution to avoid accidental globbing in evaled expressions
4508 no_glob_subst
='s/\*/\\\*/g'
4510 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4511 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4512 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4515 $as_echo_n "checking how to print strings... " >&6; }
4516 # Test print first, because it will be a builtin if present.
4517 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4518 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4520 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4523 # Use this function as a fallback that always works.
4524 func_fallback_echo ()
4526 eval 'cat <<_LTECHO_EOF
4530 ECHO='func_fallback_echo
'
4533 # func_echo_all arg...
4534 # Invoke $ECHO with all args, space-separated.
4541 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4542 $as_echo "printf" >&6; } ;;
4543 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4544 $as_echo "print -r" >&6; } ;;
4545 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4546 $as_echo "cat" >&6; } ;;
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4563 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4564 if test "${ac_cv_path_SED+set}" = set; then :
4565 $as_echo_n "(cached) " >&6
4567 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4568 for ac_i in 1 2 3 4 5 6 7; do
4569 ac_script="$ac_script$as_nl$ac_script"
4571 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4572 { ac_script=; unset ac_script;}
4573 if test -z "$SED"; then
4574 ac_path_SED_found=false
4575 # Loop through the user's path and
test for each of PROGNAME-LIST
4576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir
=.
4581 for ac_prog
in sed gsed
; do
4582 for ac_exec_ext
in '' $ac_executable_extensions; do
4583 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4584 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4585 # Check for GNU ac_path_SED and select it if it is found.
4586 # Check for GNU $ac_path_SED
4587 case `"$ac_path_SED" --version 2>&1` in
4589 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4592 $as_echo_n 0123456789 >"conftest.in"
4595 cat "conftest.in" "conftest.in" >"conftest.tmp"
4596 mv "conftest.tmp" "conftest.in"
4597 cp "conftest.in" "conftest.nl"
4598 $as_echo '' >> "conftest.nl"
4599 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4600 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4601 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4602 if test $ac_count -gt ${ac_path_SED_max-0}; then
4603 # Best one so far, save it but keep looking for a better one
4604 ac_cv_path_SED
="$ac_path_SED"
4605 ac_path_SED_max
=$ac_count
4607 # 10*(2^10) chars as input seems more than enough
4608 test $ac_count -gt 10 && break
4610 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4613 $ac_path_SED_found && break 3
4618 if test -z "$ac_cv_path_SED"; then
4619 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4627 $as_echo "$ac_cv_path_SED" >&6; }
4628 SED
="$ac_cv_path_SED"
4631 test -z "$SED" && SED
=sed
4632 Xsed
="$SED -e 1s/^X//"
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4645 $as_echo_n "checking for fgrep... " >&6; }
4646 if test "${ac_cv_path_FGREP+set}" = set; then :
4647 $as_echo_n "(cached) " >&6
4649 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4650 then ac_cv_path_FGREP
="$GREP -F"
4652 if test -z "$FGREP"; then
4653 ac_path_FGREP_found
=false
4654 # Loop through the user's path and test for each of PROGNAME-LIST
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_prog
in fgrep
; do
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4663 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4664 # Check for GNU ac_path_FGREP and select it if it is found.
4665 # Check for GNU $ac_path_FGREP
4666 case `"$ac_path_FGREP" --version 2>&1` in
4668 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4671 $as_echo_n 0123456789 >"conftest.in"
4674 cat "conftest.in" "conftest.in" >"conftest.tmp"
4675 mv "conftest.tmp" "conftest.in"
4676 cp "conftest.in" "conftest.nl"
4677 $as_echo 'FGREP' >> "conftest.nl"
4678 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4679 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4680 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4681 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4682 # Best one so far, save it but keep looking for a better one
4683 ac_cv_path_FGREP
="$ac_path_FGREP"
4684 ac_path_FGREP_max
=$ac_count
4686 # 10*(2^10) chars as input seems more than enough
4687 test $ac_count -gt 10 && break
4689 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4692 $ac_path_FGREP_found && break 3
4697 if test -z "$ac_cv_path_FGREP"; then
4698 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4701 ac_cv_path_FGREP
=$FGREP
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4707 $as_echo "$ac_cv_path_FGREP" >&6; }
4708 FGREP
="$ac_cv_path_FGREP"
4711 test -z "$GREP" && GREP
=grep
4731 # Check whether --with-gnu-ld was given.
4732 if test "${with_gnu_ld+set}" = set; then :
4733 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4739 if test "$GCC" = yes; then
4740 # Check if gcc -print-prog-name=ld gives a path.
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4742 $as_echo_n "checking for ld used by $CC... " >&6; }
4745 # gcc leaves a trailing carriage return which upsets mingw
4746 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4748 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4751 # Accept absolute paths.
4753 re_direlt
='/[^/][^/]*/\.\./'
4754 # Canonicalize the pathname of ld
4755 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4756 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4757 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4759 test -z "$LD" && LD
="$ac_prog"
4762 # If it fails, then pretend we aren't using GCC.
4766 # If it is relative, then search for the first ld in PATH.
4770 elif test "$with_gnu_ld" = yes; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4772 $as_echo_n "checking for GNU ld... " >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4775 $as_echo_n "checking for non-GNU ld... " >&6; }
4777 if test "${lt_cv_path_LD+set}" = set; then :
4778 $as_echo_n "(cached) " >&6
4780 if test -z "$LD"; then
4781 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4782 for ac_dir
in $PATH; do
4784 test -z "$ac_dir" && ac_dir
=.
4785 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4786 lt_cv_path_LD
="$ac_dir/$ac_prog"
4787 # Check to see if the program is GNU ld. I'd rather use --version,
4788 # but apparently some variants of GNU ld only accept -v.
4789 # Break only if it was the GNU/non-GNU ld that we prefer.
4790 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4791 *GNU
* |
*'with BFD'*)
4792 test "$with_gnu_ld" != no
&& break
4795 test "$with_gnu_ld" != yes && break
4802 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4807 if test -n "$LD"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4809 $as_echo "$LD" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4814 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4816 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4817 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4820 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4821 case `$LD -v 2>&1 </dev/null` in
4822 *GNU
* |
*'with BFD'*)
4823 lt_cv_prog_gnu_ld
=yes
4826 lt_cv_prog_gnu_ld
=no
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4831 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4832 with_gnu_ld
=$lt_cv_prog_gnu_ld
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4843 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4844 if test "${lt_cv_path_NM+set}" = set; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$NM"; then
4848 # Let the user override the test.
4851 lt_nm_to_check
="${ac_tool_prefix}nm"
4852 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4853 lt_nm_to_check
="$lt_nm_to_check nm"
4855 for lt_tmp_nm
in $lt_nm_to_check; do
4856 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4857 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4859 test -z "$ac_dir" && ac_dir
=.
4860 tmp_nm
="$ac_dir/$lt_tmp_nm"
4861 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4862 # Check to see if the nm accepts a BSD-compat flag.
4863 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4864 # nm: unknown option "B" ignored
4865 # Tru64's nm complains that /dev/null is an invalid object file
4866 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4867 */dev
/null
* |
*'Invalid file or object type'*)
4868 lt_cv_path_NM
="$tmp_nm -B"
4872 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4874 lt_cv_path_NM
="$tmp_nm -p"
4878 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4879 continue # so that we can try to find one that supports BSD flags
4888 : ${lt_cv_path_NM=no}
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4892 $as_echo "$lt_cv_path_NM" >&6; }
4893 if test "$lt_cv_path_NM" != "no"; then
4896 # Didn't find any BSD compatible name lister, look for dumpbin.
4897 if test -n "$DUMPBIN"; then :
4898 # Let the user override the test.
4900 if test -n "$ac_tool_prefix"; then
4901 for ac_prog
in dumpbin
"link -dump"
4903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4904 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$DUMPBIN"; then
4911 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir
=.
4918 for ac_exec_ext
in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 DUMPBIN
=$ac_cv_prog_DUMPBIN
4931 if test -n "$DUMPBIN"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4933 $as_echo "$DUMPBIN" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4940 test -n "$DUMPBIN" && break
4943 if test -z "$DUMPBIN"; then
4944 ac_ct_DUMPBIN
=$DUMPBIN
4945 for ac_prog
in dumpbin
"link -dump"
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy
$ac_prog; ac_word
=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$ac_ct_DUMPBIN"; then
4955 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4964 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4975 if test -n "$ac_ct_DUMPBIN"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4977 $as_echo "$ac_ct_DUMPBIN" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4984 test -n "$ac_ct_DUMPBIN" && break
4987 if test "x$ac_ct_DUMPBIN" = x
; then
4990 case $cross_compiling:$ac_tool_warned in
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned
=yes ;;
4996 DUMPBIN
=$ac_ct_DUMPBIN
5000 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5002 DUMPBIN
="$DUMPBIN -symbols"
5010 if test "$DUMPBIN" != ":"; then
5014 test -z "$NM" && NM
=nm
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5022 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5023 if test "${lt_cv_nm_interface+set}" = set; then :
5024 $as_echo_n "(cached) " >&6
5026 lt_cv_nm_interface
="BSD nm"
5027 echo "int some_variable = 0;" > conftest.
$ac_ext
5028 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5029 (eval "$ac_compile" 2>conftest.err
)
5030 cat conftest.err
>&5
5031 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5032 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5033 cat conftest.err
>&5
5034 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5035 cat conftest.out
>&5
5036 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5037 lt_cv_nm_interface
="MS dumpbin"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5042 $as_echo "$lt_cv_nm_interface" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5045 $as_echo_n "checking whether ln -s works... " >&6; }
5047 if test "$LN_S" = "ln -s"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5052 $as_echo "no, using $LN_S" >&6; }
5055 # find the maximum length of command line arguments
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5057 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5058 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5066 # On DJGPP, this test can blow up pretty badly due to problems in libc
5067 # (any single argument exceeding 2000 bytes causes a buffer overrun
5068 # during glob expansion). Even if it were fixed, the result of this
5069 # check would be larger than it should be.
5070 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5074 # Under GNU Hurd, this test is not required because there is
5075 # no limit to the length of command line arguments.
5076 # Libtool will interpret -1 as no limit whatsoever
5077 lt_cv_sys_max_cmd_len
=-1;
5080 cygwin
* | mingw
* | cegcc
*)
5081 # On Win9x/ME, this test blows up -- it succeeds, but takes
5082 # about 5 minutes as the teststring grows exponentially.
5083 # Worse, since 9x/ME are not pre-emptively multitasking,
5084 # you end up with a "frozen" computer, even though with patience
5085 # the test eventually succeeds (with a max line length of 256k).
5086 # Instead, let's just punt: use the minimum linelength reported by
5087 # all of the supported platforms: 8192 (on NT/2K/XP).
5088 lt_cv_sys_max_cmd_len
=8192;
5092 # On MiNT this can take a long time and run out of memory.
5093 lt_cv_sys_max_cmd_len
=8192;
5097 # On AmigaOS with pdksh, this test takes hours, literally.
5098 # So we just punt and use a minimum line length of 8192.
5099 lt_cv_sys_max_cmd_len
=8192;
5102 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5103 # This has been around since 386BSD, at least. Likely further.
5104 if test -x /sbin
/sysctl
; then
5105 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5106 elif test -x /usr
/sbin
/sysctl
; then
5107 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5109 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5111 # And add a safety zone
5112 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5113 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5117 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5118 lt_cv_sys_max_cmd_len
=196608
5122 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5123 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5124 # nice to cause kernel panics so lets avoid the loop below.
5125 # First set a reasonable default.
5126 lt_cv_sys_max_cmd_len
=16384
5128 if test -x /sbin
/sysconfig
; then
5129 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5130 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5135 lt_cv_sys_max_cmd_len
=102400
5137 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5138 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5139 if test -n "$kargmax"; then
5140 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5142 lt_cv_sys_max_cmd_len
=32768
5146 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5147 if test -n "$lt_cv_sys_max_cmd_len"; then
5148 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5149 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5151 # Make teststring a little bigger before we do anything with it.
5152 # a 1K string should be a reasonable start.
5153 for i
in 1 2 3 4 5 6 7 8 ; do
5154 teststring
=$teststring$teststring
5156 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5157 # If test is not a shell built-in, we'll probably end up computing a
5158 # maximum length that is only half of the actual maximum length, but
5160 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5161 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5162 test $i != 17 # 1/2 MB should be enough
5165 teststring
=$teststring$teststring
5167 # Only check the string length outside the loop.
5168 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5170 # Add a significant safety factor because C++ compilers can tack on
5171 # massive amounts of additional arguments before passing them to the
5172 # linker. It appears as though 1/2 is a usable value.
5173 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5180 if test -n $lt_cv_sys_max_cmd_len ; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5182 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5185 $as_echo "none" >&6; }
5187 max_cmd_len
=$lt_cv_sys_max_cmd_len
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5199 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5200 # Try some XSI features
5203 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5205 && eval 'test $(( 1 + 1 )) -eq 2 \
5206 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5209 $as_echo "$xsi_shell" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5213 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5215 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5217 && lt_shell_append=yes
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5219 $as_echo "$lt_shell_append" >&6; }
5222 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5232 # test EBCDIC or ASCII
5233 case `echo X|tr X '\101'` in
5234 A) # ASCII based system
5235 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5236 lt_SP2NL='tr \040 \012'
5237 lt_NL2SP='tr \015\012 \040\040'
5239 *) # EBCDIC based system
5240 lt_SP2NL='tr \100 \n'
5241 lt_NL2SP='tr \r\n \100\100'
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5254 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5255 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5256 $as_echo_n "(cached
) " >&6
5258 lt_cv_ld_reload_flag='-r'
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5261 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5262 reload_flag=$lt_cv_ld_reload_flag
5263 case $reload_flag in
5265 *) reload_flag=" $reload_flag" ;;
5267 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5270 if test "$GCC" = yes; then
5271 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5273 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5288 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5290 $as_echo_n "checking
for $ac_word...
" >&6; }
5291 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5292 $as_echo_n "(cached
) " >&6
5294 if test -n "$OBJDUMP"; then
5295 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5314 OBJDUMP=$ac_cv_prog_OBJDUMP
5315 if test -n "$OBJDUMP"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5317 $as_echo "$OBJDUMP" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5320 $as_echo "no
" >&6; }
5325 if test -z "$ac_cv_prog_OBJDUMP"; then
5326 ac_ct_OBJDUMP=$OBJDUMP
5327 # Extract the first word of "objdump
", so it can be a program name with args.
5328 set dummy objdump; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5330 $as_echo_n "checking
for $ac_word...
" >&6; }
5331 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5332 $as_echo_n "(cached
) " >&6
5334 if test -n "$ac_ct_OBJDUMP"; then
5335 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5355 if test -n "$ac_ct_OBJDUMP"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5357 $as_echo "$ac_ct_OBJDUMP" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5360 $as_echo "no
" >&6; }
5363 if test "x
$ac_ct_OBJDUMP" = x; then
5366 case $cross_compiling:$ac_tool_warned in
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5369 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5370 ac_tool_warned=yes ;;
5372 OBJDUMP=$ac_ct_OBJDUMP
5375 OBJDUMP="$ac_cv_prog_OBJDUMP"
5378 test -z "$OBJDUMP" && OBJDUMP=objdump
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5389 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5390 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5391 $as_echo_n "(cached
) " >&6
5393 lt_cv_file_magic_cmd='$MAGIC_CMD'
5394 lt_cv_file_magic_test_file=
5395 lt_cv_deplibs_check_method='unknown'
5396 # Need to set the preceding variable on all platforms that support
5397 # interlibrary dependencies.
5398 # 'none' -- dependencies not supported.
5399 # `unknown' -- same as none, but documents that we really don't know.
5400 # 'pass_all' -- all dependencies passed with no checks.
5401 # 'test_compile' -- check by making test program.
5402 # 'file_magic [[regex]]' -- check by looking for files in library path
5403 # which responds to the $file_magic_cmd with a given extended regex.
5404 # If you have `file' or equivalent on your system and you're not sure
5405 # whether `pass_all' will *always* work, you probably want this one.
5409 lt_cv_deplibs_check_method=pass_all
5413 lt_cv_deplibs_check_method=pass_all
5417 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5418 lt_cv_file_magic_cmd='/usr/bin/file -L'
5419 lt_cv_file_magic_test_file=/shlib/libc.so
5423 # func_win32_libid is a shell function defined in ltmain.sh
5424 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5425 lt_cv_file_magic_cmd='func_win32_libid'
5429 # Base MSYS/MinGW do not provide the 'file' command needed by
5430 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5431 # unless we find 'file', for example because we are cross-compiling.
5432 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5433 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5434 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5435 lt_cv_file_magic_cmd='func_win32_libid'
5437 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5438 lt_cv_file_magic_cmd='$OBJDUMP -f'
5443 # use the weaker test based on 'objdump'. See mingw*.
5444 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5445 lt_cv_file_magic_cmd='$OBJDUMP -f'
5448 darwin* | rhapsody*)
5449 lt_cv_deplibs_check_method=pass_all
5452 freebsd* | dragonfly*)
5453 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5456 # Not sure whether the presence of OpenBSD here was a mistake.
5457 # Let's accept both of them until this is cleared up.
5458 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5459 lt_cv_file_magic_cmd=/usr/bin/file
5460 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5464 lt_cv_deplibs_check_method=pass_all
5469 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5476 hpux10.20* | hpux11*)
5477 lt_cv_file_magic_cmd=/usr/bin/file
5480 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5481 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5484 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]'
5485 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5488 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5489 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5495 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5496 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5499 irix5* | irix6* | nonstopux*)
5501 *-32|*"-32 ") libmagic=32-bit;;
5502 *-n32|*"-n32 ") libmagic=N32;;
5503 *-64|*"-64 ") libmagic=64-bit;;
5504 *) libmagic=never-match;;
5506 lt_cv_deplibs_check_method=pass_all
5509 # This must be Linux ELF.
5510 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5511 lt_cv_deplibs_check_method=pass_all
5515 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5516 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5518 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5523 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5524 lt_cv_file_magic_cmd=/usr/bin/file
5525 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5529 lt_cv_deplibs_check_method=pass_all
5533 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5534 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5536 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5540 osf3* | osf4* | osf5*)
5541 lt_cv_deplibs_check_method=pass_all
5545 lt_cv_deplibs_check_method=pass_all
5549 lt_cv_deplibs_check_method=pass_all
5552 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5553 lt_cv_deplibs_check_method=pass_all
5557 case $host_vendor in
5559 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]'
5560 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5563 lt_cv_deplibs_check_method=pass_all
5566 lt_cv_file_magic_cmd='/bin/file'
5567 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5570 lt_cv_file_magic_cmd='/bin/file'
5571 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5572 lt_cv_file_magic_test_file=/lib/libc.so
5575 lt_cv_deplibs_check_method=pass_all
5578 lt_cv_deplibs_check_method=pass_all
5584 lt_cv_deplibs_check_method=pass_all
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5590 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5591 file_magic_cmd=$lt_cv_file_magic_cmd
5592 deplibs_check_method=$lt_cv_deplibs_check_method
5593 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}ar; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5610 $as_echo_n "checking
for $ac_word...
" >&6; }
5611 if test "${ac_cv_prog_AR+set}" = set; then :
5612 $as_echo_n "(cached
) " >&6
5614 if test -n "$AR"; then
5615 ac_cv_prog_AR="$AR" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_AR="${ac_tool_prefix}ar"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5635 if test -n "$AR"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5637 $as_echo "$AR" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5640 $as_echo "no
" >&6; }
5645 if test -z "$ac_cv_prog_AR"; then
5647 # Extract the first word of "ar", so it can be a program name with args.
5648 set dummy ar; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5650 $as_echo_n "checking
for $ac_word...
" >&6; }
5651 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5652 $as_echo_n "(cached
) " >&6
5654 if test -n "$ac_ct_AR"; then
5655 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_AR="ar"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5675 if test -n "$ac_ct_AR"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5677 $as_echo "$ac_ct_AR" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5680 $as_echo "no
" >&6; }
5683 if test "x
$ac_ct_AR" = x; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5689 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5690 ac_tool_warned=yes ;;
5698 test -z "$AR" && AR=ar
5699 test -z "$AR_FLAGS" && AR_FLAGS=cru
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}strip; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5715 $as_echo_n "checking
for $ac_word...
" >&6; }
5716 if test "${ac_cv_prog_STRIP+set}" = set; then :
5717 $as_echo_n "(cached
) " >&6
5719 if test -n "$STRIP"; then
5720 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5729 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5739 STRIP=$ac_cv_prog_STRIP
5740 if test -n "$STRIP"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5742 $as_echo "$STRIP" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5745 $as_echo "no
" >&6; }
5750 if test -z "$ac_cv_prog_STRIP"; then
5752 # Extract the first word of "strip
", so it can be a program name with args.
5753 set dummy strip; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5755 $as_echo_n "checking
for $ac_word...
" >&6; }
5756 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5757 $as_echo_n "(cached
) " >&6
5759 if test -n "$ac_ct_STRIP"; then
5760 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_ac_ct_STRIP="strip
"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5779 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5780 if test -n "$ac_ct_STRIP"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5782 $as_echo "$ac_ct_STRIP" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5785 $as_echo "no
" >&6; }
5788 if test "x
$ac_ct_STRIP" = x; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5794 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5795 ac_tool_warned=yes ;;
5800 STRIP="$ac_cv_prog_STRIP"
5803 test -z "$STRIP" && STRIP=:
5810 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5814 $as_echo_n "checking
for $ac_word...
" >&6; }
5815 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5816 $as_echo_n "(cached
) " >&6
5818 if test -n "$RANLIB"; then
5819 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5838 RANLIB=$ac_cv_prog_RANLIB
5839 if test -n "$RANLIB"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5841 $as_echo "$RANLIB" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5844 $as_echo "no
" >&6; }
5849 if test -z "$ac_cv_prog_RANLIB"; then
5850 ac_ct_RANLIB=$RANLIB
5851 # Extract the first word of "ranlib
", so it can be a program name with args.
5852 set dummy ranlib; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5854 $as_echo_n "checking
for $ac_word...
" >&6; }
5855 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5856 $as_echo_n "(cached
) " >&6
5858 if test -n "$ac_ct_RANLIB"; then
5859 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5879 if test -n "$ac_ct_RANLIB"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5881 $as_echo "$ac_ct_RANLIB" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5884 $as_echo "no
" >&6; }
5887 if test "x
$ac_ct_RANLIB" = x; then
5890 case $cross_compiling:$ac_tool_warned in
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5894 ac_tool_warned=yes ;;
5896 RANLIB=$ac_ct_RANLIB
5899 RANLIB="$ac_cv_prog_RANLIB"
5902 test -z "$RANLIB" && RANLIB=:
5909 # Determine commands to create old-style static archives.
5910 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5911 old_postinstall_cmds='chmod 644 $oldlib'
5912 old_postuninstall_cmds=
5914 if test -n "$RANLIB"; then
5917 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5920 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5923 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5928 lock_old_archive_extraction=yes ;;
5930 lock_old_archive_extraction=no ;;
5971 # If no C compiler was specified, use CC.
5974 # If no C compiler flags were specified, use CFLAGS.
5975 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5977 # Allow CC to be a program name with arguments.
5981 # Check for command to grab the raw symbol name followed by C symbol from nm.
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5983 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5984 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5985 $as_echo_n "(cached
) " >&6
5988 # These are sane defaults that work on at least a few old systems.
5989 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5991 # Character class describing NM global symbol codes.
5992 symcode='[BCDEGRST]'
5994 # Regexp to match symbols that can be accessed directly from C.
5995 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5997 # Define system-specific variables.
6002 cygwin* | mingw* | pw32* | cegcc*)
6003 symcode='[ABCDGISTW]'
6006 if test "$host_cpu" = ia64; then
6007 symcode='[ABCDEGRST]'
6011 symcode='[BCDEGRST]'
6014 symcode='[BCDEGQRST]'
6025 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6033 # If we're using GNU nm, then use its standard symbol codes.
6034 case `$NM -V 2>&1` in
6035 *GNU* | *'with BFD'*)
6036 symcode='[ABCDGIRSTW]' ;;
6039 # Transform an extracted symbol line into a proper C declaration.
6040 # Some systems (esp. on ia64) link data and code symbols differently,
6041 # so use this general approach.
6042 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6044 # Transform an extracted symbol line into symbol name and symbol address
6045 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6046 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'"
6048 # Handle CRLF in mingw tool chain
6052 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6056 # Try without a prefix underscore, then with it.
6057 for ac_symprfx in "" "_
"; do
6059 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6060 symxfrm="\\1 $ac_symprfx\\2 \\2"
6062 # Write the raw and C identifiers.
6063 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6064 # Fake it for dumpbin and say T for any non-static function
6065 # and D for any global variable.
6066 # Also find C++ and __fastcall symbols from MSVC++,
6067 # which start with @ or ?.
6068 lt_cv_sys_global_symbol_pipe="$AWK '"\
6069 " {last_section=section; section=\$ 3};"\
6070 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6071 " \$ 0!~/External *\|/{next};"\
6072 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6073 " {if(hide[section]) next};"\
6074 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6075 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6076 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6077 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6078 " ' prfx
=^
$ac_symprfx"
6080 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6083 # Check to see that the pipe works correctly.
6087 cat > conftest.$ac_ext <<_LT_EOF
6092 void nm_test_func(void);
6093 void nm_test_func(void){}
6097 int main(){nm_test_var='a';nm_test_func();return(0);}
6100 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6101 (eval $ac_compile) 2>&5
6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6104 test $ac_status = 0; }; then
6105 # Now try to grab the symbols.
6107 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6108 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6110 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6111 test $ac_status = 0; } && test -s "$nlist"; then
6112 # Try sorting and uniquifying the output.
6113 if sort "$nlist" | uniq > "$nlist"T; then
6114 mv -f "$nlist"T "$nlist"
6119 # Make sure that we snagged all the symbols we need.
6120 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6121 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6122 cat <<_LT_EOF > conftest.$ac_ext
6128 # Now generate the symbol file.
6129 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6131 cat <<_LT_EOF >> conftest.$ac_ext
6133 /* The mapping between symbol names and symbols. */
6138 lt__PROGRAM__LTX_preloaded_symbols[] =
6140 { "@PROGRAM@
", (void *) 0 },
6142 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6143 cat <<\_LT_EOF >> conftest.$ac_ext
6147 /* This works around a problem in FreeBSD linker */
6148 #ifdef FREEBSD_WORKAROUND
6149 static const void *lt_preloaded_setup() {
6150 return lt__PROGRAM__LTX_preloaded_symbols;
6158 # Now try linking the two files.
6159 mv conftest.$ac_objext conftstm.$ac_objext
6160 lt_save_LIBS="$LIBS"
6161 lt_save_CFLAGS="$CFLAGS"
6162 LIBS="conftstm.
$ac_objext"
6163 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6164 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6165 (eval $ac_link) 2>&5
6167 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6168 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6171 LIBS="$lt_save_LIBS"
6172 CFLAGS="$lt_save_CFLAGS"
6174 echo "cannot
find nm_test_func
in $nlist" >&5
6177 echo "cannot
find nm_test_var
in $nlist" >&5
6180 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6183 echo "$progname: failed program was
:" >&5
6184 cat conftest.$ac_ext >&5
6186 rm -rf conftest* conftst*
6188 # Do not use the global_symbol_pipe unless it works.
6189 if test "$pipe_works" = yes; then
6192 lt_cv_sys_global_symbol_pipe=
6198 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6199 lt_cv_sys_global_symbol_to_cdecl=
6201 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6203 $as_echo "failed
" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6206 $as_echo "ok
" >&6; }
6230 # Check whether --enable-libtool-lock was given.
6231 if test "${enable_libtool_lock+set}" = set; then :
6232 enableval=$enable_libtool_lock;
6235 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6237 # Some flags need to be propagated to the compiler or linker for good
6241 # Find out which ABI we are using.
6242 echo 'int i;' > conftest.$ac_ext
6243 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6244 (eval $ac_compile) 2>&5
6246 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6247 test $ac_status = 0; }; then
6248 case `/usr/bin/file conftest.$ac_objext` in
6260 # Find out which ABI we are using.
6261 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6262 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6263 (eval $ac_compile) 2>&5
6265 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6266 test $ac_status = 0; }; then
6267 if test "$lt_cv_prog_gnu_ld" = yes; then
6268 case `/usr/bin/file conftest.$ac_objext` in
6270 LD="${LD-ld} -melf32bsmip"
6273 LD="${LD-ld} -melf32bmipn32"
6276 LD="${LD-ld} -melf64bmip"
6280 case `/usr/bin/file conftest.$ac_objext` in
6296 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6297 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6298 # Find out which ABI we are using.
6299 echo 'int i;' > conftest.$ac_ext
6300 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6301 (eval $ac_compile) 2>&5
6303 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6304 test $ac_status = 0; }; then
6305 case `/usr/bin/file conftest.o` in
6308 x86_64-*kfreebsd*-gnu)
6309 LD="${LD-ld} -m elf_i386_fbsd
"
6312 case `/usr/bin/file conftest.o` in
6314 LD="${LD-ld} -m elf32_x86_64
"
6317 LD="${LD-ld} -m elf_i386
"
6321 powerpc64le-*linux*)
6322 LD="${LD-ld} -m elf32lppclinux
"
6325 LD="${LD-ld} -m elf32ppclinux
"
6328 LD="${LD-ld} -m elf_s390
"
6331 LD="${LD-ld} -m elf32_sparc
"
6337 x86_64-*kfreebsd*-gnu)
6338 LD="${LD-ld} -m elf_x86_64_fbsd
"
6341 LD="${LD-ld} -m elf_x86_64
"
6344 LD="${LD-ld} -m elf64lppc
"
6347 LD="${LD-ld} -m elf64ppc
"
6349 s390*-*linux*|s390*-*tpf*)
6350 LD="${LD-ld} -m elf64_s390
"
6353 LD="${LD-ld} -m elf64_sparc
"
6363 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6364 SAVE_CFLAGS="$CFLAGS"
6365 CFLAGS="$CFLAGS -belf"
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6367 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6368 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6369 $as_echo_n "(cached
) " >&6
6372 ac_cpp='$CPP $CPPFLAGS'
6373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6377 if test x$gcc_no_link = xyes; then
6378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6391 if ac_fn_c_try_link "$LINENO"; then :
6392 lt_cv_cc_needs_belf=yes
6394 lt_cv_cc_needs_belf=no
6396 rm -f core conftest.err conftest.$ac_objext \
6397 conftest$ac_exeext conftest.$ac_ext
6399 ac_cpp='$CPP $CPPFLAGS'
6400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6406 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6407 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6408 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6409 CFLAGS="$SAVE_CFLAGS"
6413 # Find out which ABI we are using.
6414 echo 'int i;' > conftest.$ac_ext
6415 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6416 (eval $ac_compile) 2>&5
6418 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6419 test $ac_status = 0; }; then
6420 case `/usr/bin/file conftest.o` in
6422 case $lt_cv_prog_gnu_ld in
6423 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6425 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6437 need_locks="$enable_libtool_lock"
6441 rhapsody* | darwin*)
6442 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6444 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6446 $as_echo_n "checking
for $ac_word...
" >&6; }
6447 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6448 $as_echo_n "(cached
) " >&6
6450 if test -n "$DSYMUTIL"; then
6451 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6470 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6471 if test -n "$DSYMUTIL"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6473 $as_echo "$DSYMUTIL" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6476 $as_echo "no
" >&6; }
6481 if test -z "$ac_cv_prog_DSYMUTIL"; then
6482 ac_ct_DSYMUTIL=$DSYMUTIL
6483 # Extract the first word of "dsymutil
", so it can be a program name with args.
6484 set dummy dsymutil; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6486 $as_echo_n "checking
for $ac_word...
" >&6; }
6487 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6488 $as_echo_n "(cached
) " >&6
6490 if test -n "$ac_ct_DSYMUTIL"; then
6491 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6510 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6511 if test -n "$ac_ct_DSYMUTIL"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6513 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6516 $as_echo "no
" >&6; }
6519 if test "x
$ac_ct_DSYMUTIL" = x; then
6522 case $cross_compiling:$ac_tool_warned in
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6525 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6526 ac_tool_warned=yes ;;
6528 DSYMUTIL=$ac_ct_DSYMUTIL
6531 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6534 if test -n "$ac_tool_prefix"; then
6535 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6538 $as_echo_n "checking
for $ac_word...
" >&6; }
6539 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6540 $as_echo_n "(cached
) " >&6
6542 if test -n "$NMEDIT"; then
6543 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6562 NMEDIT=$ac_cv_prog_NMEDIT
6563 if test -n "$NMEDIT"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6565 $as_echo "$NMEDIT" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6568 $as_echo "no
" >&6; }
6573 if test -z "$ac_cv_prog_NMEDIT"; then
6574 ac_ct_NMEDIT=$NMEDIT
6575 # Extract the first word of "nmedit
", so it can be a program name with args.
6576 set dummy nmedit; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6578 $as_echo_n "checking
for $ac_word...
" >&6; }
6579 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6580 $as_echo_n "(cached
) " >&6
6582 if test -n "$ac_ct_NMEDIT"; then
6583 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6592 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6602 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6603 if test -n "$ac_ct_NMEDIT"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6605 $as_echo "$ac_ct_NMEDIT" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6608 $as_echo "no
" >&6; }
6611 if test "x
$ac_ct_NMEDIT" = x; then
6614 case $cross_compiling:$ac_tool_warned in
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6617 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6618 ac_tool_warned=yes ;;
6620 NMEDIT=$ac_ct_NMEDIT
6623 NMEDIT="$ac_cv_prog_NMEDIT"
6626 if test -n "$ac_tool_prefix"; then
6627 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6630 $as_echo_n "checking
for $ac_word...
" >&6; }
6631 if test "${ac_cv_prog_LIPO+set}" = set; then :
6632 $as_echo_n "(cached
) " >&6
6634 if test -n "$LIPO"; then
6635 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6644 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6654 LIPO=$ac_cv_prog_LIPO
6655 if test -n "$LIPO"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6657 $as_echo "$LIPO" >&6; }
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6660 $as_echo "no
" >&6; }
6665 if test -z "$ac_cv_prog_LIPO"; then
6667 # Extract the first word of "lipo
", so it can be a program name with args.
6668 set dummy lipo; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6670 $as_echo_n "checking
for $ac_word...
" >&6; }
6671 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6672 $as_echo_n "(cached
) " >&6
6674 if test -n "$ac_ct_LIPO"; then
6675 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684 ac_cv_prog_ac_ct_LIPO="lipo
"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6694 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6695 if test -n "$ac_ct_LIPO"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6697 $as_echo "$ac_ct_LIPO" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6700 $as_echo "no
" >&6; }
6703 if test "x
$ac_ct_LIPO" = x; then
6706 case $cross_compiling:$ac_tool_warned in
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6709 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6710 ac_tool_warned=yes ;;
6715 LIPO="$ac_cv_prog_LIPO"
6718 if test -n "$ac_tool_prefix"; then
6719 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6720 set dummy ${ac_tool_prefix}otool; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6722 $as_echo_n "checking
for $ac_word...
" >&6; }
6723 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6724 $as_echo_n "(cached
) " >&6
6726 if test -n "$OTOOL"; then
6727 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6736 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6746 OTOOL=$ac_cv_prog_OTOOL
6747 if test -n "$OTOOL"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6749 $as_echo "$OTOOL" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6752 $as_echo "no
" >&6; }
6757 if test -z "$ac_cv_prog_OTOOL"; then
6759 # Extract the first word of "otool
", so it can be a program name with args.
6760 set dummy otool; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6762 $as_echo_n "checking
for $ac_word...
" >&6; }
6763 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6764 $as_echo_n "(cached
) " >&6
6766 if test -n "$ac_ct_OTOOL"; then
6767 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773 test -z "$as_dir" && as_dir=.
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6776 ac_cv_prog_ac_ct_OTOOL="otool
"
6777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6786 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6787 if test -n "$ac_ct_OTOOL"; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6789 $as_echo "$ac_ct_OTOOL" >&6; }
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6792 $as_echo "no
" >&6; }
6795 if test "x
$ac_ct_OTOOL" = x; then
6798 case $cross_compiling:$ac_tool_warned in
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6801 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6802 ac_tool_warned=yes ;;
6807 OTOOL="$ac_cv_prog_OTOOL"
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6812 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6814 $as_echo_n "checking
for $ac_word...
" >&6; }
6815 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6816 $as_echo_n "(cached
) " >&6
6818 if test -n "$OTOOL64"; then
6819 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir=.
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6828 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6838 OTOOL64=$ac_cv_prog_OTOOL64
6839 if test -n "$OTOOL64"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6841 $as_echo "$OTOOL64" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6844 $as_echo "no
" >&6; }
6849 if test -z "$ac_cv_prog_OTOOL64"; then
6850 ac_ct_OTOOL64=$OTOOL64
6851 # Extract the first word of "otool64
", so it can be a program name with args.
6852 set dummy otool64; ac_word=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6854 $as_echo_n "checking
for $ac_word...
" >&6; }
6855 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6856 $as_echo_n "(cached
) " >&6
6858 if test -n "$ac_ct_OTOOL64"; then
6859 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir=.
6866 for ac_exec_ext in '' $ac_executable_extensions; do
6867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6868 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6878 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6879 if test -n "$ac_ct_OTOOL64"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6881 $as_echo "$ac_ct_OTOOL64" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6884 $as_echo "no
" >&6; }
6887 if test "x
$ac_ct_OTOOL64" = x; then
6890 case $cross_compiling:$ac_tool_warned in
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6894 ac_tool_warned=yes ;;
6896 OTOOL64=$ac_ct_OTOOL64
6899 OTOOL64="$ac_cv_prog_OTOOL64"
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6929 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6930 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6931 $as_echo_n "(cached
) " >&6
6933 lt_cv_apple_cc_single_mod=no
6934 if test -z "${LT_MULTI_MODULE}"; then
6935 # By default we will add the -single_module flag. You can override
6936 # by either setting the environment variable LT_MULTI_MODULE
6937 # non-empty at configure time, or by adding -multi_module to the
6939 rm -rf libconftest.dylib*
6940 echo "int foo
(void
){return 1;}" > conftest.c
6941 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6942 -dynamiclib -Wl,-single_module conftest.c
" >&5
6943 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6944 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6946 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6947 lt_cv_apple_cc_single_mod=yes
6949 cat conftest.err >&5
6951 rm -rf libconftest.dylib*
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6956 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6958 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6959 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6960 $as_echo_n "(cached
) " >&6
6962 lt_cv_ld_exported_symbols_list=no
6963 save_LDFLAGS=$LDFLAGS
6964 echo "_main
" > conftest.sym
6965 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6966 if test x$gcc_no_link = xyes; then
6967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6970 /* end confdefs.h. */
6980 if ac_fn_c_try_link "$LINENO"; then :
6981 lt_cv_ld_exported_symbols_list=yes
6983 lt_cv_ld_exported_symbols_list=no
6985 rm -f core conftest.err conftest.$ac_objext \
6986 conftest$ac_exeext conftest.$ac_ext
6987 LDFLAGS="$save_LDFLAGS"
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6991 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6993 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6994 if test "${lt_cv_ld_force_load+set}" = set; then :
6995 $as_echo_n "(cached
) " >&6
6997 lt_cv_ld_force_load=no
6998 cat > conftest.c << _LT_EOF
6999 int forced_loaded() { return 2;}
7001 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7002 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7003 echo "$AR cru libconftest.a conftest.o
" >&5
7004 $AR cru libconftest.a conftest.o 2>&5
7005 cat > conftest.c << _LT_EOF
7006 int main() { return 0;}
7008 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7009 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7011 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7012 lt_cv_ld_force_load=yes
7014 cat conftest.err >&5
7016 rm -f conftest.err libconftest.a conftest conftest.c
7017 rm -rf conftest.dSYM
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7021 $as_echo "$lt_cv_ld_force_load" >&6; }
7023 rhapsody* | darwin1.[012])
7024 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7026 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7027 darwin*) # darwin 5.x on
7028 # if running on 10.5 or later, the deployment target defaults
7029 # to the OS version, if on x86, and 10.4, the deployment
7030 # target defaults to 10.4. Don't you love it?
7031 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7032 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7033 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7035 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7037 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7041 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7042 _lt_dar_single_mod='$single_module'
7044 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7045 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7047 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7049 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7050 _lt_dsymutil='~$DSYMUTIL $lib || :'
7057 for ac_header in dlfcn.h
7059 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7061 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7062 cat >>confdefs.h <<_ACEOF
7063 #define HAVE_DLFCN_H 1
7084 # Check whether --enable-shared was given.
7085 if test "${enable_shared+set}" = set; then :
7086 enableval=$enable_shared; p=${PACKAGE-default}
7088 yes) enable_shared=yes ;;
7089 no) enable_shared=no ;;
7092 # Look at the argument we got. We use all the common list separators.
7093 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7094 for pkg in $enableval; do
7096 if test "X
$pkg" = "X
$p"; then
7115 # Check whether --enable-static was given.
7116 if test "${enable_static+set}" = set; then :
7117 enableval=$enable_static; p=${PACKAGE-default}
7119 yes) enable_static=yes ;;
7120 no) enable_static=no ;;
7123 # Look at the argument we got. We use all the common list separators.
7124 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7125 for pkg in $enableval; do
7127 if test "X
$pkg" = "X
$p"; then
7147 # Check whether --with-pic was given.
7148 if test "${with_pic+set}" = set; then :
7149 withval=$with_pic; pic_mode="$withval"
7155 test -z "$pic_mode" && pic_mode=default
7163 # Check whether --enable-fast-install was given.
7164 if test "${enable_fast_install+set}" = set; then :
7165 enableval=$enable_fast_install; p=${PACKAGE-default}
7167 yes) enable_fast_install=yes ;;
7168 no) enable_fast_install=no ;;
7170 enable_fast_install=no
7171 # Look at the argument we got. We use all the common list separators.
7172 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7173 for pkg in $enableval; do
7175 if test "X
$pkg" = "X
$p"; then
7176 enable_fast_install=yes
7183 enable_fast_install=yes
7196 # This can be used to rebuild libtool when needed
7197 LIBTOOL_DEPS="$ltmain"
7199 # Always use our own libtool.
7200 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7227 test -z "$LN_S" && LN_S="ln -s"
7242 if test -n "${ZSH_VERSION+set}" ; then
7243 setopt NO_GLOB_SUBST
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7247 $as_echo_n "checking
for objdir...
" >&6; }
7248 if test "${lt_cv_objdir+set}" = set; then :
7249 $as_echo_n "(cached
) " >&6
7251 rm -f .libs 2>/dev/null
7252 mkdir .libs 2>/dev/null
7253 if test -d .libs; then
7256 # MS-DOS does not allow filenames that begin with a dot.
7259 rmdir .libs 2>/dev/null
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7262 $as_echo "$lt_cv_objdir" >&6; }
7263 objdir=$lt_cv_objdir
7269 cat >>confdefs.h <<_ACEOF
7270 #define LT_OBJDIR "$lt_cv_objdir/"
7278 # AIX sometimes has problems with the GCC collect2 program. For some
7279 # reason, if we set the COLLECT_NAMES environment variable, the problems
7280 # vanish in a puff of smoke.
7281 if test "X
${COLLECT_NAMES+set}" != Xset; then
7283 export COLLECT_NAMES
7290 can_build_shared=yes
7292 # All known linkers require a `.a' archive for static linking (except MSVC,
7293 # which needs '.lib').
7296 with_gnu_ld="$lt_cv_prog_gnu_ld"
7299 old_CFLAGS="$CFLAGS"
7301 # Set sane defaults for various variables
7302 test -z "$CC" && CC=cc
7303 test -z "$LTCC" && LTCC=$CC
7304 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7305 test -z "$LD" && LD=ld
7306 test -z "$ac_objext" && ac_objext=o
7308 for cc_temp in $compiler""; do
7310 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7311 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7316 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7319 # Only perform the check for file, if the check method requires it
7320 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7321 case $deplibs_check_method in
7323 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7325 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7326 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7327 $as_echo_n "(cached
) " >&6
7331 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7334 lt_save_MAGIC_CMD="$MAGIC_CMD"
7335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7336 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7337 for ac_dir in $ac_dummy; do
7339 test -z "$ac_dir" && ac_dir=.
7340 if test -f $ac_dir/${ac_tool_prefix}file; then
7341 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7342 if test -n "$file_magic_test_file"; then
7343 case $deplibs_check_method in
7345 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7346 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7347 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7348 $EGREP "$file_magic_regex" > /dev/null; then
7353 *** Warning: the command libtool uses to detect shared libraries,
7354 *** $file_magic_cmd, produces output that libtool cannot recognize.
7355 *** The result is that libtool may fail to recognize shared libraries
7356 *** as such. This will affect the creation of libtool libraries that
7357 *** depend on shared libraries, but programs linked with such libtool
7358 *** libraries will work regardless of this problem. Nevertheless, you
7359 *** may want to report the problem to your system manager and/or to
7360 *** bug-libtool@gnu.org
7370 MAGIC_CMD="$lt_save_MAGIC_CMD"
7375 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7376 if test -n "$MAGIC_CMD"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7378 $as_echo "$MAGIC_CMD" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7381 $as_echo "no
" >&6; }
7388 if test -z "$lt_cv_path_MAGIC_CMD"; then
7389 if test -n "$ac_tool_prefix"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7391 $as_echo_n "checking
for file...
" >&6; }
7392 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7393 $as_echo_n "(cached
) " >&6
7397 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7400 lt_save_MAGIC_CMD="$MAGIC_CMD"
7401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7402 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7403 for ac_dir in $ac_dummy; do
7405 test -z "$ac_dir" && ac_dir=.
7406 if test -f $ac_dir/file; then
7407 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7408 if test -n "$file_magic_test_file"; then
7409 case $deplibs_check_method in
7411 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7413 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7414 $EGREP "$file_magic_regex" > /dev/null; then
7419 *** Warning: the command libtool uses to detect shared libraries,
7420 *** $file_magic_cmd, produces output that libtool cannot recognize.
7421 *** The result is that libtool may fail to recognize shared libraries
7422 *** as such. This will affect the creation of libtool libraries that
7423 *** depend on shared libraries, but programs linked with such libtool
7424 *** libraries will work regardless of this problem. Nevertheless, you
7425 *** may want to report the problem to your system manager and/or to
7426 *** bug-libtool@gnu.org
7436 MAGIC_CMD="$lt_save_MAGIC_CMD"
7441 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7442 if test -n "$MAGIC_CMD"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7444 $as_echo "$MAGIC_CMD" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7447 $as_echo "no
" >&6; }
7460 # Use C for the default configuration in the libtool script
7464 ac_cpp='$CPP $CPPFLAGS'
7465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7470 # Source file extension for C test sources.
7473 # Object file extension for compiled C test sources.
7477 # Code to be used in simple compile tests
7478 lt_simple_compile_test_code="int some_variable
= 0;"
7480 # Code to be used in simple link tests
7481 lt_simple_link_test_code='int main(){return(0);}'
7489 # If no C compiler was specified, use CC.
7492 # If no C compiler flags were specified, use CFLAGS.
7493 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7495 # Allow CC to be a program name with arguments.
7498 # Save the default compiler, since it gets overwritten when the other
7499 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7500 compiler_DEFAULT=$CC
7502 # save warnings/boilerplate of simple test code
7503 ac_outfile=conftest.$ac_objext
7504 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7505 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7506 _lt_compiler_boilerplate=`cat conftest.err`
7509 ac_outfile=conftest.$ac_objext
7510 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7511 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7512 _lt_linker_boilerplate=`cat conftest.err`
7517 ## There is no encapsulation within the following macros, do not change
7518 ## the running order or otherwise move them around unless you know exactly
7519 ## what you are doing...
7520 if test -n "$compiler"; then
7522 lt_prog_compiler_no_builtin_flag=
7524 if test "$GCC" = yes; then
7525 case $cc_basename in
7527 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7529 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7533 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7534 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7535 $as_echo_n "(cached
) " >&6
7537 lt_cv_prog_compiler_rtti_exceptions=no
7538 ac_outfile=conftest.$ac_objext
7539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7540 lt_compiler_flag="-fno-rtti -fno-exceptions"
7541 # Insert the option either (1) after the last *FLAGS variable, or
7542 # (2) before a word containing "conftest.
", or (3) at the end.
7543 # Note that $ac_compile itself does not contain backslashes and begins
7544 # with a dollar sign (not a hyphen), so the echo should work correctly.
7545 # The option is referenced via a variable to avoid confusing sed.
7546 lt_compile=`echo "$ac_compile" | $SED \
7547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7549 -e 's:$: $lt_compiler_flag:'`
7550 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7551 (eval "$lt_compile" 2>conftest.err)
7553 cat conftest.err >&5
7554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7555 if (exit $ac_status) && test -s "$ac_outfile"; then
7556 # The compiler can only warn and ignore the option if not recognized
7557 # So say no if there are warnings other than the usual output.
7558 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7559 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7560 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7561 lt_cv_prog_compiler_rtti_exceptions=yes
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7568 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7570 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7571 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7583 lt_prog_compiler_wl=
7584 lt_prog_compiler_pic=
7585 lt_prog_compiler_static=
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7588 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7590 if test "$GCC" = yes; then
7591 lt_prog_compiler_wl='-Wl,'
7592 lt_prog_compiler_static='-static'
7596 # All AIX code is PIC.
7597 if test "$host_cpu" = ia64; then
7598 # AIX 5 now supports IA64 processor
7599 lt_prog_compiler_static='-Bstatic'
7601 lt_prog_compiler_pic='-fPIC'
7607 # see comment about AmigaOS4 .so support
7608 lt_prog_compiler_pic='-fPIC'
7611 # FIXME: we need at least 68020 code to build shared libraries, but
7612 # adding the `-m68020' flag to GCC prevents building anything better,
7614 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7619 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7620 # PIC is the default for these OSes.
7623 mingw* | cygwin* | pw32* | os2* | cegcc*)
7624 # This hack is so that the source file can tell whether it is being
7625 # built for inclusion in a dll (and should export symbols for example).
7626 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7627 # (--disable-auto-import) libraries
7628 lt_prog_compiler_pic='-DDLL_EXPORT'
7631 darwin* | rhapsody*)
7632 # PIC is the default on this platform
7633 # Common symbols not allowed in MH_DYLIB files
7634 lt_prog_compiler_pic='-fno-common'
7638 # PIC is the default for Haiku.
7639 # The "-static" flag exists, but is broken.
7640 lt_prog_compiler_static=
7644 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7645 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7646 # sets the default TLS model and affects inlining.
7652 lt_prog_compiler_pic='-fPIC'
7658 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7659 # Instead, we relocate shared libraries at runtime.
7663 # Just because we use GCC doesn't mean we suddenly get shared libraries
7664 # on systems that don't support them.
7665 lt_prog_compiler_can_build_shared=no
7670 # QNX uses GNU C++, but need to define -shared option too, otherwise
7672 lt_prog_compiler_pic='-fPIC -shared'
7676 if test -d /usr/nec; then
7677 lt_prog_compiler_pic=-Kconform_pic
7682 lt_prog_compiler_pic='-fPIC'
7686 case $cc_basename in
7687 nvcc*) # Cuda Compiler Driver 2.2
7688 lt_prog_compiler_wl='-Xlinker '
7689 lt_prog_compiler_pic='-Xcompiler -fPIC'
7693 # PORTME Check for flag to pass linker flags through the system compiler.
7696 lt_prog_compiler_wl='-Wl,'
7697 if test "$host_cpu" = ia64; then
7698 # AIX 5 now supports IA64 processor
7699 lt_prog_compiler_static='-Bstatic'
7701 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7705 mingw* | cygwin* | pw32* | os2* | cegcc*)
7706 # This hack is so that the source file can tell whether it is being
7707 # built for inclusion in a dll (and should export symbols for example).
7708 lt_prog_compiler_pic='-DDLL_EXPORT'
7711 hpux9* | hpux10* | hpux11*)
7712 lt_prog_compiler_wl='-Wl,'
7713 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7720 lt_prog_compiler_pic='+Z'
7723 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7724 lt_prog_compiler_static='${wl}-a ${wl}archive'
7727 irix5* | irix6* | nonstopux*)
7728 lt_prog_compiler_wl='-Wl,'
7729 # PIC (with -KPIC) is the default.
7730 lt_prog_compiler_static='-non_shared'
7733 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7734 case $cc_basename in
7735 # old Intel for x86_64 which still supported -KPIC.
7737 lt_prog_compiler_wl='-Wl,'
7738 lt_prog_compiler_pic='-KPIC'
7739 lt_prog_compiler_static='-static'
7741 # icc used to be incompatible with GCC.
7742 # ICC 10 doesn't accept -KPIC any more.
7744 lt_prog_compiler_wl='-Wl,'
7745 lt_prog_compiler_pic='-fPIC'
7746 lt_prog_compiler_static='-static'
7748 # Lahey Fortran 8.1.
7750 lt_prog_compiler_wl='-Wl,'
7751 lt_prog_compiler_pic='--shared'
7752 lt_prog_compiler_static='--static'
7754 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7755 # Portland Group compilers (*not* the Pentium gcc compiler,
7756 # which looks to be a dead project)
7757 lt_prog_compiler_wl='-Wl,'
7758 lt_prog_compiler_pic='-fpic'
7759 lt_prog_compiler_static='-Bstatic'
7762 lt_prog_compiler_wl='-Wl,'
7763 # All Alpha code is PIC.
7764 lt_prog_compiler_static='-non_shared'
7766 xl* | bgxl* | bgf* | mpixl*)
7767 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7768 lt_prog_compiler_wl='-Wl,'
7769 lt_prog_compiler_pic='-qpic'
7770 lt_prog_compiler_static='-qstaticlink'
7773 case `$CC -V 2>&1 | sed 5q` in
7774 *Sun\ F* | *Sun*Fortran*)
7775 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7776 lt_prog_compiler_pic='-KPIC'
7777 lt_prog_compiler_static='-Bstatic'
7778 lt_prog_compiler_wl=''
7782 lt_prog_compiler_pic='-KPIC'
7783 lt_prog_compiler_static='-Bstatic'
7784 lt_prog_compiler_wl='-Wl,'
7792 lt_prog_compiler_pic='-KPIC'
7793 lt_prog_compiler_static='-Bstatic'
7797 # QNX uses GNU C++, but need to define -shared option too, otherwise
7799 lt_prog_compiler_pic='-fPIC -shared'
7802 osf3* | osf4* | osf5*)
7803 lt_prog_compiler_wl='-Wl,'
7804 # All OSF/1 code is PIC.
7805 lt_prog_compiler_static='-non_shared'
7809 lt_prog_compiler_static='-non_shared'
7813 lt_prog_compiler_pic='-KPIC'
7814 lt_prog_compiler_static='-Bstatic'
7815 case $cc_basename in
7817 lt_prog_compiler_wl='-Qoption ld ';;
7819 lt_prog_compiler_wl='-Wl,';;
7824 lt_prog_compiler_wl='-Qoption ld '
7825 lt_prog_compiler_pic='-PIC'
7826 lt_prog_compiler_static='-Bstatic'
7829 sysv4 | sysv4.2uw2* | sysv4.3*)
7830 lt_prog_compiler_wl='-Wl,'
7831 lt_prog_compiler_pic='-KPIC'
7832 lt_prog_compiler_static='-Bstatic'
7836 if test -d /usr/nec ;then
7837 lt_prog_compiler_pic='-Kconform_pic'
7838 lt_prog_compiler_static='-Bstatic'
7842 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7843 lt_prog_compiler_wl='-Wl,'
7844 lt_prog_compiler_pic='-KPIC'
7845 lt_prog_compiler_static='-Bstatic'
7849 lt_prog_compiler_wl='-Wl,'
7850 lt_prog_compiler_can_build_shared=no
7854 lt_prog_compiler_pic='-pic'
7855 lt_prog_compiler_static='-Bstatic'
7859 lt_prog_compiler_can_build_shared=no
7865 # For platforms which do not support PIC, -DPIC is meaningless:
7867 lt_prog_compiler_pic=
7870 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
7874 $as_echo "$lt_prog_compiler_pic" >&6; }
7882 # Check to make sure the PIC flag actually works.
7884 if test -n "$lt_prog_compiler_pic"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7886 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
7887 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7888 $as_echo_n "(cached
) " >&6
7890 lt_cv_prog_compiler_pic_works=no
7891 ac_outfile=conftest.$ac_objext
7892 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7893 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7894 # Insert the option either (1) after the last *FLAGS variable, or
7895 # (2) before a word containing "conftest.
", or (3) at the end.
7896 # Note that $ac_compile itself does not contain backslashes and begins
7897 # with a dollar sign (not a hyphen), so the echo should work correctly.
7898 # The option is referenced via a variable to avoid confusing sed.
7899 lt_compile=`echo "$ac_compile" | $SED \
7900 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7901 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7902 -e 's:$: $lt_compiler_flag:'`
7903 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7904 (eval "$lt_compile" 2>conftest.err)
7906 cat conftest.err >&5
7907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7908 if (exit $ac_status) && test -s "$ac_outfile"; then
7909 # The compiler can only warn and ignore the option if not recognized
7910 # So say no if there are warnings other than the usual output.
7911 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7912 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7913 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7914 lt_cv_prog_compiler_pic_works=yes
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
7921 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7923 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7924 case $lt_prog_compiler_pic in
7926 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7929 lt_prog_compiler_pic=
7930 lt_prog_compiler_can_build_shared=no
7941 # Check to make sure the static flag actually works.
7943 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7945 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
7946 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7947 $as_echo_n "(cached
) " >&6
7949 lt_cv_prog_compiler_static_works=no
7950 save_LDFLAGS="$LDFLAGS"
7951 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7952 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7953 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7954 # The linker can only warn and ignore the option if not recognized
7955 # So say no if there are warnings
7956 if test -s conftest.err; then
7957 # Append any errors to the config.log.
7958 cat conftest.err 1>&5
7959 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7960 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7961 if diff conftest.exp conftest.er2 >/dev/null; then
7962 lt_cv_prog_compiler_static_works=yes
7965 lt_cv_prog_compiler_static_works=yes
7969 LDFLAGS="$save_LDFLAGS"
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
7973 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7975 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7978 lt_prog_compiler_static=
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7988 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
7989 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7990 $as_echo_n "(cached
) " >&6
7992 lt_cv_prog_compiler_c_o=no
7993 $RM -r conftest 2>/dev/null
7997 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7999 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8000 # Insert the option either (1) after the last *FLAGS variable, or
8001 # (2) before a word containing "conftest.
", or (3) at the end.
8002 # Note that $ac_compile itself does not contain backslashes and begins
8003 # with a dollar sign (not a hyphen), so the echo should work correctly.
8004 lt_compile=`echo "$ac_compile" | $SED \
8005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8007 -e 's:$: $lt_compiler_flag:'`
8008 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8009 (eval "$lt_compile" 2>out/conftest.err)
8011 cat out/conftest.err >&5
8012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8013 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8015 # The compiler can only warn and ignore the option if not recognized
8016 # So say no if there are warnings
8017 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8018 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8019 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8020 lt_cv_prog_compiler_c_o=yes
8025 # SGI C++ compiler will create directory out/ii_files/ for
8026 # template instantiation
8027 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8028 $RM out/* && rmdir out
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8035 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8043 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8044 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8045 $as_echo_n "(cached
) " >&6
8047 lt_cv_prog_compiler_c_o=no
8048 $RM -r conftest 2>/dev/null
8052 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8054 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8055 # Insert the option either (1) after the last *FLAGS variable, or
8056 # (2) before a word containing "conftest.
", or (3) at the end.
8057 # Note that $ac_compile itself does not contain backslashes and begins
8058 # with a dollar sign (not a hyphen), so the echo should work correctly.
8059 lt_compile=`echo "$ac_compile" | $SED \
8060 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8061 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8062 -e 's:$: $lt_compiler_flag:'`
8063 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8064 (eval "$lt_compile" 2>out/conftest.err)
8066 cat out/conftest.err >&5
8067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8068 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8070 # The compiler can only warn and ignore the option if not recognized
8071 # So say no if there are warnings
8072 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8073 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8074 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8075 lt_cv_prog_compiler_c_o=yes
8080 # SGI C++ compiler will create directory out/ii_files/ for
8081 # template instantiation
8082 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8083 $RM out/* && rmdir out
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8090 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8095 hard_links="nottested
"
8096 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8097 # do not overwrite the value of need_locks provided by the user
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8099 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8102 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8104 ln conftest.a conftest.b 2>&5 || hard_links=no
8105 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8107 $as_echo "$hard_links" >&6; }
8108 if test "$hard_links" = no; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8110 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8123 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8126 allow_undefined_flag=
8127 always_export_symbols=no
8129 archive_expsym_cmds=
8130 compiler_needs_object=no
8131 enable_shared_with_static_runtimes=no
8132 export_dynamic_flag_spec=
8133 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8134 hardcode_automatic=no
8136 hardcode_direct_absolute=no
8137 hardcode_libdir_flag_spec=
8138 hardcode_libdir_flag_spec_ld=
8139 hardcode_libdir_separator=
8141 hardcode_shlibpath_var=unsupported
8143 link_all_deplibs=unknown
8146 old_archive_from_new_cmds=
8147 old_archive_from_expsyms_cmds=
8148 thread_safe_flag_spec=
8149 whole_archive_flag_spec=
8150 # include_expsyms should be a list of space-separated symbols to be *always*
8151 # included in the symbol list
8153 # exclude_expsyms can be an extended regexp of symbols to exclude
8154 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8155 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8156 # as well as any symbol that contains `d'.
8157 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8158 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8159 # platforms (ab)use it in PIC code, but their linkers get confused if
8160 # the symbol is explicitly referenced. Since portable code cannot
8161 # rely on this symbol name, it's probably fine to never include it in
8162 # preloaded symbol tables.
8163 # Exclude shared library initialization/finalization symbols.
8164 extract_expsyms_cmds=
8167 cygwin* | mingw* | pw32* | cegcc*)
8168 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8169 # When not using gcc, we currently assume that we are using
8170 # Microsoft Visual C++.
8171 if test "$GCC" != yes; then
8176 # we just hope/assume this is gcc and not c89 (= MSVC++)
8186 # On some targets, GNU ld is compatible enough with the native linker
8187 # that we're better off using the native interface for both.
8188 lt_use_gnu_ld_interface=no
8189 if test "$with_gnu_ld" = yes; then
8192 # The AIX port of GNU ld has always aspired to compatibility
8193 # with the native linker. However, as the warning in the GNU ld
8194 # block says, versions before 2.19.5* couldn't really create working
8195 # shared libraries, regardless of the interface used.
8196 case `$LD -v 2>&1` in
8197 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8198 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8199 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8201 lt_use_gnu_ld_interface=yes
8206 lt_use_gnu_ld_interface=yes
8211 if test "$lt_use_gnu_ld_interface" = yes; then
8212 # If archive_cmds runs LD, not CC, wlarc should be empty
8215 # Set some defaults for GNU ld with shared library support. These
8216 # are reset later if shared libraries are not supported. Putting them
8217 # here allows them to be overridden if necessary.
8218 runpath_var=LD_RUN_PATH
8219 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8220 export_dynamic_flag_spec='${wl}--export-dynamic'
8221 # ancient GNU ld didn't support --whole-archive et. al.
8222 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8223 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8225 whole_archive_flag_spec=
8227 supports_anon_versioning=no
8228 case `$LD -v 2>&1` in
8229 *GNU\ gold*) supports_anon_versioning=yes ;;
8230 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8231 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8232 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8233 *\ 2.11.*) ;; # other 2.11 versions
8234 *) supports_anon_versioning=yes ;;
8237 # See if GNU ld supports shared libraries.
8240 # On AIX/PPC, the GNU linker is very broken
8241 if test "$host_cpu" != ia64; then
8245 *** Warning: the GNU linker, at least up to release 2.19, is reported
8246 *** to be unable to reliably create shared libraries on AIX.
8247 *** Therefore, libtool is disabling shared libraries support. If you
8248 *** really care for shared libraries, you may want to install binutils
8249 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8250 *** You will then need to restart the configuration process.
8259 # see comment about AmigaOS4 .so support
8260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8261 archive_expsym_cmds=''
8264 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)'
8265 hardcode_libdir_flag_spec
='-L$libdir'
8266 hardcode_minus_L
=yes
8272 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8273 allow_undefined_flag
=unsupported
8274 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8275 # support --undefined. This deserves some investigation. FIXME
8276 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8282 cygwin
* | mingw
* | pw32
* | cegcc
*)
8283 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8284 # as there is no search path for DLLs.
8285 hardcode_libdir_flag_spec
='-L$libdir'
8286 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8287 allow_undefined_flag
=unsupported
8288 always_export_symbols
=no
8289 enable_shared_with_static_runtimes
=yes
8290 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8292 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8293 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8294 # If the export-symbols file already is a .def file (1st line
8295 # is EXPORTS), use it as is; otherwise, prepend...
8296 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8297 cp $export_symbols $output_objdir/$soname.def;
8299 echo EXPORTS > $output_objdir/$soname.def;
8300 cat $export_symbols >> $output_objdir/$soname.def;
8302 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8309 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8310 link_all_deplibs
=yes
8315 hardcode_shlibpath_var
=no
8316 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8317 export_dynamic_flag_spec
='${wl}-E'
8318 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8319 # Instead, shared libraries are loaded at an image base (0x10000000 by
8320 # default) and relocated if they conflict, which is a slow very memory
8321 # consuming and fragmenting process. To avoid this, we pick a random,
8322 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8323 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8324 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8325 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'
8328 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8330 if test "$host_os" = linux-dietlibc
; then
8331 case $cc_basename in
8332 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8335 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8336 && test "$tmp_diet" = no
8338 tmp_addflag
=' $pic_flag'
8339 tmp_sharedflag
='-shared'
8340 case $cc_basename,$host_cpu in
8341 pgcc
*) # Portland Group C compiler
8342 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'
8343 tmp_addflag
=' $pic_flag'
8345 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8346 # Portland Group f77 and f90 compilers
8347 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'
8348 tmp_addflag
=' $pic_flag -Mnomain' ;;
8349 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8350 tmp_addflag
=' -i_dynamic' ;;
8351 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8352 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8353 ifc
* | ifort
*) # Intel Fortran compiler
8354 tmp_addflag
=' -nofor_main' ;;
8355 lf95
*) # Lahey Fortran 8.1
8356 whole_archive_flag_spec
=
8357 tmp_sharedflag
='--shared' ;;
8358 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8359 tmp_sharedflag
='-qmkshrobj'
8361 nvcc
*) # Cuda Compiler Driver 2.2
8362 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'
8363 compiler_needs_object
=yes
8366 case `$CC -V 2>&1 | sed 5q` in
8367 *Sun\ C
*) # Sun C 5.9
8368 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'
8369 compiler_needs_object
=yes
8370 tmp_sharedflag
='-G' ;;
8371 *Sun\ F
*) # Sun Fortran 8.3
8372 tmp_sharedflag
='-G' ;;
8374 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8376 if test "x$supports_anon_versioning" = xyes
; then
8377 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8378 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8379 echo "local: *; };" >> $output_objdir/$libname.ver~
8380 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8383 case $cc_basename in
8384 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8385 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8386 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8387 hardcode_libdir_flag_spec
=
8388 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8389 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8390 if test "x$supports_anon_versioning" = xyes
; then
8391 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8392 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8393 echo "local: *; };" >> $output_objdir/$libname.ver~
8394 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8404 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8405 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8409 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8414 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8418 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8419 *** create shared libraries on Solaris systems. Therefore, libtool
8420 *** is disabling shared libraries support. We urge you to upgrade GNU
8421 *** binutils to release 2.9.1 or newer. Another option is to modify
8422 *** your PATH or compiler configuration so that the native linker is
8423 *** used, and then restart.
8426 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8427 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8428 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8434 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8435 case `$LD -v 2>&1` in
8436 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8440 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8441 *** reliably create shared libraries on SCO systems. Therefore, libtool
8442 *** is disabling shared libraries support. We urge you to upgrade GNU
8443 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8444 *** your PATH or compiler configuration so that the native linker is
8445 *** used, and then restart.
8450 # For security reasons, it is highly recommended that you always
8451 # use absolute paths for naming shared libraries, and exclude the
8452 # DT_RUNPATH tag from executables and libraries. But doing so
8453 # requires that you compile everything twice, which is a pain.
8454 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8455 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8456 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8457 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8466 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8469 hardcode_shlibpath_var
=no
8473 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8475 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8482 if test "$ld_shlibs" = no
; then
8484 hardcode_libdir_flag_spec
=
8485 export_dynamic_flag_spec
=
8486 whole_archive_flag_spec
=
8489 # PORTME fill in a description of your system's linker (not GNU ld)
8492 allow_undefined_flag
=unsupported
8493 always_export_symbols
=yes
8494 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'
8495 # Note: this linker hardcodes the directories in LIBPATH if there
8496 # are no directories specified by -L.
8497 hardcode_minus_L
=yes
8498 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8499 # Neither direct hardcoding nor static linking is supported with a
8501 hardcode_direct
=unsupported
8506 if test "$host_cpu" = ia64
; then
8507 # On IA64, the linker does run time linking by default, so we don't
8508 # have to do anything special.
8509 aix_use_runtimelinking
=no
8510 exp_sym_flag
='-Bexport'
8513 # If we're using GNU nm, then we don't want the "-C" option.
8514 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8515 # Also, AIX nm treats weak defined symbols like other global
8516 # defined symbols, whereas GNU nm marks them as "W".
8517 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8518 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'
8520 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8522 aix_use_runtimelinking
=no
8524 # Test if we are trying to use run time linking or normal
8525 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8526 # need to do runtime linking.
8527 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8528 for ld_flag
in $LDFLAGS; do
8529 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8530 aix_use_runtimelinking
=yes
8537 exp_sym_flag
='-bexport'
8538 no_entry_flag
='-bnoentry'
8541 # When large executables or shared objects are built, AIX ld can
8542 # have problems creating the table of contents. If linking a library
8543 # or program results in "error TOC overflow" add -mminimal-toc to
8544 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8545 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8549 hardcode_direct_absolute
=yes
8550 hardcode_libdir_separator
=':'
8551 link_all_deplibs
=yes
8552 file_list_spec
='${wl}-f,'
8554 if test "$GCC" = yes; then
8555 case $host_os in aix4.
[012]|aix4.
[012].
*)
8556 # We only want to do this on AIX 4.2 and lower, the check
8557 # below for broken collect2 doesn't work under 4.3+
8558 collect2name
=`${CC} -print-prog-name=collect2`
8559 if test -f "$collect2name" &&
8560 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8562 # We have reworked collect2
8565 # We have old collect2
8566 hardcode_direct
=unsupported
8567 # It fails to find uninstalled libraries when the uninstalled
8568 # path is not listed in the libpath. Setting hardcode_minus_L
8569 # to unsupported forces relinking
8570 hardcode_minus_L
=yes
8571 hardcode_libdir_flag_spec
='-L$libdir'
8572 hardcode_libdir_separator
=
8576 shared_flag
='-shared'
8577 if test "$aix_use_runtimelinking" = yes; then
8578 shared_flag
="$shared_flag "'${wl}-G'
8582 if test "$host_cpu" = ia64
; then
8583 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8584 # chokes on -Wl,-G. The following line is correct:
8587 if test "$aix_use_runtimelinking" = yes; then
8588 shared_flag
='${wl}-G'
8590 shared_flag
='${wl}-bM:SRE'
8595 export_dynamic_flag_spec
='${wl}-bexpall'
8596 # It seems that -bexpall does not export symbols beginning with
8597 # underscore (_), so it is better to generate a list of symbols to export.
8598 always_export_symbols
=yes
8599 if test "$aix_use_runtimelinking" = yes; then
8600 # Warning - without using the other runtime loading flags (-brtl),
8601 # -berok will link without error, but may produce a broken library.
8602 allow_undefined_flag
='-berok'
8603 # Determine the default libpath from the value encoded in an
8605 if test x
$gcc_no_link = xyes
; then
8606 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8619 if ac_fn_c_try_link
"$LINENO"; then :
8621 lt_aix_libpath_sed
='
8622 /Import File Strings/,/^$/ {
8628 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8629 # Check for a 64-bit object if we didn't find anything.
8630 if test -z "$aix_libpath"; then
8631 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8634 rm -f core conftest.err conftest.
$ac_objext \
8635 conftest
$ac_exeext conftest.
$ac_ext
8636 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8638 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8639 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"
8641 if test "$host_cpu" = ia64
; then
8642 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8643 allow_undefined_flag
="-z nodefs"
8644 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"
8646 # Determine the default libpath from the value encoded in an
8648 if test x
$gcc_no_link = xyes
; then
8649 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8662 if ac_fn_c_try_link
"$LINENO"; then :
8664 lt_aix_libpath_sed
='
8665 /Import File Strings/,/^$/ {
8671 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8672 # Check for a 64-bit object if we didn't find anything.
8673 if test -z "$aix_libpath"; then
8674 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8677 rm -f core conftest.err conftest.
$ac_objext \
8678 conftest
$ac_exeext conftest.
$ac_ext
8679 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8681 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8682 # Warning - without using the other run time loading flags,
8683 # -berok will link without error, but may produce a broken library.
8684 no_undefined_flag
=' ${wl}-bernotok'
8685 allow_undefined_flag
=' ${wl}-berok'
8686 if test "$with_gnu_ld" = yes; then
8687 # We only use this code for GNU lds that support --whole-archive.
8688 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8690 # Exported symbols can be pulled into shared objects from archives
8691 whole_archive_flag_spec
='$convenience'
8693 archive_cmds_need_lc
=yes
8694 # This is similar to how AIX traditionally builds its shared libraries.
8695 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'
8703 # see comment about AmigaOS4 .so support
8704 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705 archive_expsym_cmds
=''
8708 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)'
8709 hardcode_libdir_flag_spec
='-L$libdir'
8710 hardcode_minus_L
=yes
8716 export_dynamic_flag_spec
=-rdynamic
8719 cygwin
* | mingw
* | pw32
* | cegcc
*)
8720 # When not using gcc, we currently assume that we are using
8721 # Microsoft Visual C++.
8722 # hardcode_libdir_flag_spec is actually meaningless, as there is
8723 # no search path for DLLs.
8724 hardcode_libdir_flag_spec
=' '
8725 allow_undefined_flag
=unsupported
8726 # Tell ltmain to make .lib files, not .a files.
8728 # Tell ltmain to make .dll files, not .so files.
8730 # FIXME: Setting linknames here is a bad hack.
8731 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8732 # The linker will automatically build a .lib file if we build a DLL.
8733 old_archive_from_new_cmds
='true'
8734 # FIXME: Should let the user specify the lib program.
8735 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8736 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8737 enable_shared_with_static_runtimes
=yes
8740 darwin
* | rhapsody
*)
8743 archive_cmds_need_lc
=no
8745 hardcode_automatic
=yes
8746 hardcode_shlibpath_var
=unsupported
8747 if test "$lt_cv_ld_force_load" = "yes"; then
8748 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\"`'
8750 whole_archive_flag_spec
=''
8752 link_all_deplibs
=yes
8753 allow_undefined_flag
="$_lt_dar_allow_undefined"
8754 case $cc_basename in
8755 ifort
*) _lt_dar_can_shared
=yes ;;
8756 *) _lt_dar_can_shared
=$GCC ;;
8758 if test "$_lt_dar_can_shared" = "yes"; then
8759 output_verbose_link_cmd
=func_echo_all
8760 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8761 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8762 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}"
8763 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}"
8772 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8773 hardcode_libdir_flag_spec
='-L$libdir'
8774 hardcode_shlibpath_var
=no
8777 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8778 # support. Future versions do this automatically, but an explicit c++rt0.o
8779 # does not break anything, and helps significantly (at the cost of a little
8782 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8783 hardcode_libdir_flag_spec
='-R$libdir'
8785 hardcode_shlibpath_var
=no
8788 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8790 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8792 hardcode_minus_L
=yes
8793 hardcode_shlibpath_var
=no
8796 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8797 freebsd
* | dragonfly
*)
8798 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8799 hardcode_libdir_flag_spec
='-R$libdir'
8801 hardcode_shlibpath_var
=no
8805 if test "$GCC" = yes; then
8806 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'
8808 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'
8810 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8811 hardcode_libdir_separator
=:
8814 # hardcode_minus_L: Not really in the search PATH,
8815 # but as the default location of the library.
8816 hardcode_minus_L
=yes
8817 export_dynamic_flag_spec
='${wl}-E'
8821 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8822 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8824 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8826 if test "$with_gnu_ld" = no
; then
8827 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8828 hardcode_libdir_flag_spec_ld
='+b $libdir'
8829 hardcode_libdir_separator
=:
8831 hardcode_direct_absolute
=yes
8832 export_dynamic_flag_spec
='${wl}-E'
8833 # hardcode_minus_L: Not really in the search PATH,
8834 # but as the default location of the library.
8835 hardcode_minus_L
=yes
8840 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8843 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8846 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8849 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8855 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8858 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8862 # Older versions of the 11.00 compiler do not understand -b yet
8863 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8865 $as_echo_n "checking if $CC understands -b... " >&6; }
8866 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8867 $as_echo_n "(cached) " >&6
8869 lt_cv_prog_compiler__b
=no
8870 save_LDFLAGS
="$LDFLAGS"
8871 LDFLAGS
="$LDFLAGS -b"
8872 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8873 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8874 # The linker can only warn and ignore the option if not recognized
8875 # So say no if there are warnings
8876 if test -s conftest.err
; then
8877 # Append any errors to the config.log.
8878 cat conftest.err
1>&5
8879 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8880 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8881 if diff conftest.exp conftest.er2
>/dev
/null
; then
8882 lt_cv_prog_compiler__b
=yes
8885 lt_cv_prog_compiler__b
=yes
8889 LDFLAGS
="$save_LDFLAGS"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8893 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8895 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8896 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8898 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8904 if test "$with_gnu_ld" = no
; then
8905 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8906 hardcode_libdir_separator
=:
8911 hardcode_shlibpath_var
=no
8915 hardcode_direct_absolute
=yes
8916 export_dynamic_flag_spec
='${wl}-E'
8918 # hardcode_minus_L: Not really in the search PATH,
8919 # but as the default location of the library.
8920 hardcode_minus_L
=yes
8926 irix5
* | irix6
* | nonstopux
*)
8927 if test "$GCC" = yes; then
8928 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'
8929 # Try to use the -exported_symbol ld option, if it does not
8930 # work, assume that -exports_file does not work either and
8931 # implicitly export all symbols.
8932 save_LDFLAGS
="$LDFLAGS"
8933 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8934 if test x
$gcc_no_link = xyes
; then
8935 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8941 if ac_fn_c_try_link
"$LINENO"; then :
8942 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'
8945 rm -f core conftest.err conftest.
$ac_objext \
8946 conftest
$ac_exeext conftest.
$ac_ext
8947 LDFLAGS
="$save_LDFLAGS"
8949 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'
8950 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'
8952 archive_cmds_need_lc
='no'
8953 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8954 hardcode_libdir_separator
=:
8956 link_all_deplibs
=yes
8960 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8961 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8963 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8965 hardcode_libdir_flag_spec
='-R$libdir'
8967 hardcode_shlibpath_var
=no
8971 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8973 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8974 hardcode_libdir_separator
=:
8975 hardcode_shlibpath_var
=no
8982 if test -f /usr
/libexec
/ld.so
; then
8984 hardcode_shlibpath_var
=no
8985 hardcode_direct_absolute
=yes
8986 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8987 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8988 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8989 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8990 export_dynamic_flag_spec
='${wl}-E'
8993 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8994 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8995 hardcode_libdir_flag_spec
='-R$libdir'
8998 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8999 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9009 hardcode_libdir_flag_spec
='-L$libdir'
9010 hardcode_minus_L
=yes
9011 allow_undefined_flag
=unsupported
9012 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'
9013 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9017 if test "$GCC" = yes; then
9018 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9019 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'
9021 allow_undefined_flag
=' -expect_unresolved \*'
9022 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'
9024 archive_cmds_need_lc
='no'
9025 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9026 hardcode_libdir_separator
=:
9029 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9030 if test "$GCC" = yes; then
9031 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9032 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'
9033 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9035 allow_undefined_flag
=' -expect_unresolved \*'
9036 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'
9037 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~
9038 $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'
9040 # Both c and cxx compiler support -rpath directly
9041 hardcode_libdir_flag_spec
='-rpath $libdir'
9043 archive_cmds_need_lc
='no'
9044 hardcode_libdir_separator
=:
9048 no_undefined_flag
=' -z defs'
9049 if test "$GCC" = yes; then
9051 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9053 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9055 case `$CC -V 2>&1` in
9058 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9059 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9060 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9064 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9065 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9066 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9070 hardcode_libdir_flag_spec
='-R$libdir'
9071 hardcode_shlibpath_var
=no
9073 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9075 # The compiler driver will combine and reorder linker options,
9076 # but understands `-z linker_flag'. GCC discards it without `$wl',
9077 # but is careful enough not to reorder.
9078 # Supported since Solaris 2.6 (maybe 2.5.1?)
9079 if test "$GCC" = yes; then
9080 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9082 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9086 link_all_deplibs
=yes
9090 if test "x$host_vendor" = xsequent
; then
9091 # Use $CC to link under sequent, because it throws in some extra .o
9092 # files that make .init and .fini sections work.
9093 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9095 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9097 hardcode_libdir_flag_spec
='-L$libdir'
9099 hardcode_minus_L
=yes
9100 hardcode_shlibpath_var
=no
9104 case $host_vendor in
9106 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9107 hardcode_direct
=yes # is this really true???
9110 ## LD is ld it makes a PLAMLIB
9111 ## CC just makes a GrossModule.
9112 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9113 reload_cmds
='$CC -r -o $output$reload_objs'
9117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9118 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9121 runpath_var
='LD_RUN_PATH'
9122 hardcode_shlibpath_var
=no
9126 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9127 hardcode_shlibpath_var
=no
9128 export_dynamic_flag_spec
='-Bexport'
9132 if test -d /usr
/nec
; then
9133 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9134 hardcode_shlibpath_var
=no
9135 runpath_var
=LD_RUN_PATH
9136 hardcode_runpath_var
=yes
9141 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9142 no_undefined_flag
='${wl}-z,text'
9143 archive_cmds_need_lc
=no
9144 hardcode_shlibpath_var
=no
9145 runpath_var
='LD_RUN_PATH'
9147 if test "$GCC" = yes; then
9148 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9149 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9151 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9152 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9156 sysv5
* | sco3.2v5
* | sco5v6
*)
9157 # Note: We can NOT use -z defs as we might desire, because we do not
9158 # link with -lc, and that would cause any symbols used from libc to
9159 # always be unresolved, which means just about no library would
9160 # ever link correctly. If we're not using GNU ld we use -z text
9161 # though, which does catch some bad symbols but isn't as heavy-handed
9163 no_undefined_flag
='${wl}-z,text'
9164 allow_undefined_flag
='${wl}-z,nodefs'
9165 archive_cmds_need_lc
=no
9166 hardcode_shlibpath_var
=no
9167 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9168 hardcode_libdir_separator
=':'
9169 link_all_deplibs
=yes
9170 export_dynamic_flag_spec
='${wl}-Bexport'
9171 runpath_var
='LD_RUN_PATH'
9173 if test "$GCC" = yes; then
9174 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9175 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9177 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9178 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9183 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9184 hardcode_libdir_flag_spec
='-L$libdir'
9185 hardcode_shlibpath_var
=no
9193 if test x
$host_vendor = xsni
; then
9195 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9196 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9203 $as_echo "$ld_shlibs" >&6; }
9204 test "$ld_shlibs" = no
&& can_build_shared
=no
9206 with_gnu_ld
=$with_gnu_ld
9223 # Do we need to explicitly link libc?
9225 case "x$archive_cmds_need_lc" in
9227 # Assume -lc should be added
9228 archive_cmds_need_lc
=yes
9230 if test "$enable_shared" = yes && test "$GCC" = yes; then
9231 case $archive_cmds in
9233 # FIXME: we may have to deal with multi-command sequences.
9236 # Test whether the compiler implicitly links with -lc since on some
9237 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9238 # to ld, don't add -lc before -lgcc.
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9240 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9241 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9242 $as_echo_n "(cached) " >&6
9245 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9248 (eval $ac_compile) 2>&5
9250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9251 test $ac_status = 0; } 2>conftest.err
; then
9254 libobjs
=conftest.
$ac_objext
9256 wl
=$lt_prog_compiler_wl
9257 pic_flag
=$lt_prog_compiler_pic
9263 lt_save_allow_undefined_flag
=$allow_undefined_flag
9264 allow_undefined_flag
=
9265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9266 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9269 test $ac_status = 0; }
9271 lt_cv_archive_cmds_need_lc
=no
9273 lt_cv_archive_cmds_need_lc
=yes
9275 allow_undefined_flag
=$lt_save_allow_undefined_flag
9277 cat conftest.err
1>&5
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9283 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9284 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9448 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9450 if test "$GCC" = yes; then
9452 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9453 *) lt_awk_arg
="/^libraries:/" ;;
9456 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9457 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9459 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9460 case $lt_search_path_spec in
9462 # if the path contains ";" then we assume it to be the separator
9463 # otherwise default to the standard path separator (i.e. ":") - it is
9464 # assumed that no part of a normal pathname contains ";" but that should
9465 # okay in the real world where ";" in dirpaths is itself problematic.
9466 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9469 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9472 # Ok, now we have the path, separated by spaces, we can step through it
9473 # and add multilib dir if necessary.
9474 lt_tmp_lt_search_path_spec
=
9475 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9476 for lt_sys_path
in $lt_search_path_spec; do
9477 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9478 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9480 test -d "$lt_sys_path" && \
9481 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9484 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9485 BEGIN {RS=" "; FS="/|\n";} {
9488 for (lt_i = NF; lt_i > 0; lt_i--) {
9489 if ($lt_i != "" && $lt_i != ".") {
9490 if ($lt_i == "..") {
9493 if (lt_count == 0) {
9494 lt_foo="/" $lt_i lt_foo;
9501 if (lt_foo != "") { lt_freq[lt_foo]++; }
9502 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9504 # AWK program above erroneously prepends '/' to C:/dos/paths
9507 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9508 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9510 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9512 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9515 libname_spec
='lib$name'
9523 shlibpath_overrides_runpath
=unknown
9525 dynamic_linker
="$host_os ld.so"
9526 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9527 need_lib_prefix
=unknown
9528 hardcode_into_libs
=no
9530 # when you set need_version to no, make sure it does not cause -set_version
9531 # flags to be left without arguments
9532 need_version
=unknown
9537 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9538 shlibpath_var
=LIBPATH
9540 # AIX 3 has no versioning support, so we append a major version to the name.
9541 soname_spec
='${libname}${release}${shared_ext}$major'
9548 hardcode_into_libs
=yes
9549 if test "$host_cpu" = ia64
; then
9550 # AIX 5 supports IA64
9551 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9552 shlibpath_var
=LD_LIBRARY_PATH
9554 # With GCC up to 2.95.x, collect2 would create an import file
9555 # for dependence libraries. The import file would start with
9556 # the line `#! .'. This would cause the generated library to
9557 # depend on `.', always an invalid library. This was fixed in
9558 # development snapshots of GCC prior to 3.0.
9560 aix4 | aix4.
[01] | aix4.
[01].
*)
9561 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9563 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9570 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9571 # soname into executable. Probably we can add versioning support to
9572 # collect2, so additional links can be useful in future.
9573 if test "$aix_use_runtimelinking" = yes; then
9574 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9575 # instead of lib<name>.a to let people know that these are not
9576 # typical AIX shared libraries.
9577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9579 # We preserve .a as extension for shared libraries through AIX4.2
9580 # and later when we are not doing run time linking.
9581 library_names_spec
='${libname}${release}.a $libname.a'
9582 soname_spec
='${libname}${release}${shared_ext}$major'
9584 shlibpath_var
=LIBPATH
9591 # Since July 2007 AmigaOS4 officially supports .so libraries.
9592 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9596 library_names_spec
='$libname.ixlibrary $libname.a'
9597 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9598 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'
9604 library_names_spec
='${libname}${shared_ext}'
9605 dynamic_linker
="$host_os ld.so"
9606 shlibpath_var
=LIBRARY_PATH
9612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9613 soname_spec
='${libname}${release}${shared_ext}$major'
9614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9615 shlibpath_var
=LD_LIBRARY_PATH
9616 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9617 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9618 # the default ld.so.conf also contains /usr/contrib/lib and
9619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9620 # libtool to hard-code these into programs
9623 cygwin
* | mingw
* | pw32
* | cegcc
*)
9624 version_type
=windows
9629 case $GCC,$host_os in
9630 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9631 library_names_spec
='$libname.dll.a'
9632 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9633 postinstall_cmds
='base_file=`basename \${file}`~
9634 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9635 dldir=$destdir/`dirname \$dlpath`~
9636 test -d \$dldir || mkdir -p \$dldir~
9637 $install_prog $dir/$dlname \$dldir/$dlname~
9638 chmod a+x \$dldir/$dlname~
9639 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9640 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9642 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9643 dlpath=$dir/\$dldll~
9645 shlibpath_overrides_runpath
=yes
9649 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9650 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9652 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9655 # MinGW DLLs use traditional 'lib' prefix
9656 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9659 # pw32 DLLs use 'pw' prefix rather than 'lib'
9660 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9666 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9669 dynamic_linker
='Win32 ld.exe'
9670 # FIXME: first we should search . and the directory the executable is in
9674 darwin
* | rhapsody
*)
9675 dynamic_linker
="$host_os dyld"
9679 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9680 soname_spec
='${libname}${release}${major}$shared_ext'
9681 shlibpath_overrides_runpath
=yes
9682 shlibpath_var
=DYLD_LIBRARY_PATH
9683 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9685 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9686 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9694 soname_spec
='${libname}${release}${shared_ext}$major'
9695 shlibpath_var
=LD_LIBRARY_PATH
9698 freebsd
* | dragonfly
*)
9699 # DragonFly does not have aout. When/if they implement a new
9700 # versioning mechanism, adjust this.
9701 if test -x /usr
/bin
/objformat
; then
9702 objformat
=`/usr/bin/objformat`
9705 freebsd
[23].
*) objformat
=aout
;;
9709 version_type
=freebsd-
$objformat
9710 case $version_type in
9712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9717 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9721 shlibpath_var
=LD_LIBRARY_PATH
9724 shlibpath_overrides_runpath
=yes
9726 freebsd3.
[01]* | freebsdelf3.
[01]*)
9727 shlibpath_overrides_runpath
=yes
9728 hardcode_into_libs
=yes
9730 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9731 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9732 shlibpath_overrides_runpath
=no
9733 hardcode_into_libs
=yes
9735 *) # from 4.6 on, and DragonFly
9736 shlibpath_overrides_runpath
=yes
9737 hardcode_into_libs
=yes
9746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9747 soname_spec
='${libname}${release}${shared_ext}$major'
9748 shlibpath_var
=LD_LIBRARY_PATH
9749 hardcode_into_libs
=yes
9756 dynamic_linker
="$host_os runtime_loader"
9757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9758 soname_spec
='${libname}${release}${shared_ext}$major'
9759 shlibpath_var
=LIBRARY_PATH
9760 shlibpath_overrides_runpath
=yes
9761 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9762 hardcode_into_libs
=yes
9765 hpux9
* | hpux10
* | hpux11
*)
9766 # Give a soname corresponding to the major version so that dld.sl refuses to
9767 # link against other versions.
9774 hardcode_into_libs
=yes
9775 dynamic_linker
="$host_os dld.so"
9776 shlibpath_var
=LD_LIBRARY_PATH
9777 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9779 soname_spec
='${libname}${release}${shared_ext}$major'
9780 if test "X$HPUX_IA64_MODE" = X32
; then
9781 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9783 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9785 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9789 hardcode_into_libs
=yes
9790 dynamic_linker
="$host_os dld.sl"
9791 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9792 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec
='${libname}${release}${shared_ext}$major'
9795 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9796 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9800 dynamic_linker
="$host_os dld.sl"
9801 shlibpath_var
=SHLIB_PATH
9802 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9804 soname_spec
='${libname}${release}${shared_ext}$major'
9807 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9808 postinstall_cmds
='chmod 555 $lib'
9809 # or fails outright, so override atomically:
9810 install_override_mode
=555
9817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9818 soname_spec
='${libname}${release}${shared_ext}$major'
9819 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9820 shlibpath_var
=LD_LIBRARY_PATH
9821 shlibpath_overrides_runpath
=no
9822 hardcode_into_libs
=yes
9825 irix5
* | irix6
* | nonstopux
*)
9827 nonstopux
*) version_type
=nonstopux
;;
9829 if test "$lt_cv_prog_gnu_ld" = yes; then
9837 soname_spec
='${libname}${release}${shared_ext}$major'
9838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9840 irix5
* | nonstopux
*)
9844 case $LD in # libtool.m4 will add one of these switches to LD
9845 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9846 libsuff
= shlibsuff
= libmagic
=32-bit;;
9847 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9848 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9849 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9850 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9851 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9855 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9856 shlibpath_overrides_runpath
=no
9857 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9858 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9859 hardcode_into_libs
=yes
9862 # No shared lib support for Linux oldld, aout, or coff.
9863 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9867 # This must be Linux ELF.
9868 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9873 soname_spec
='${libname}${release}${shared_ext}$major'
9874 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9875 shlibpath_var
=LD_LIBRARY_PATH
9876 shlibpath_overrides_runpath
=no
9878 # Some binutils ld are patched to set DT_RUNPATH
9879 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9880 $as_echo_n "(cached) " >&6
9882 lt_cv_shlibpath_overrides_runpath
=no
9883 save_LDFLAGS
=$LDFLAGS
9885 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9886 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9887 if test x
$gcc_no_link = xyes
; then
9888 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9901 if ac_fn_c_try_link
"$LINENO"; then :
9902 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9903 lt_cv_shlibpath_overrides_runpath
=yes
9906 rm -f core conftest.err conftest.
$ac_objext \
9907 conftest
$ac_exeext conftest.
$ac_ext
9908 LDFLAGS
=$save_LDFLAGS
9913 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9915 # This implies no fast_install, which is unacceptable.
9916 # Some rework will be needed to allow for fast_install
9917 # before this can be enabled.
9918 hardcode_into_libs
=yes
9920 # Append ld.so.conf contents to the search path
9921 if test -f /etc
/ld.so.conf
; then
9922 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' ' '`
9923 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9926 # We used to test for /lib/ld.so.1 and disable shared libraries on
9927 # powerpc, because MkLinux only supported shared libraries with the
9928 # GNU dynamic linker. Since this was broken with cross compilers,
9929 # most powerpc-linux boxes support dynamic linking these days and
9930 # people can always --disable-shared, the test was removed, and we
9931 # assume the GNU/Linux dynamic linker is in use.
9932 dynamic_linker
='GNU/Linux ld.so'
9939 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9942 dynamic_linker
='NetBSD (a.out) ld.so'
9944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9945 soname_spec
='${libname}${release}${shared_ext}$major'
9946 dynamic_linker
='NetBSD ld.elf_so'
9948 shlibpath_var
=LD_LIBRARY_PATH
9949 shlibpath_overrides_runpath
=yes
9950 hardcode_into_libs
=yes
9955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9956 shlibpath_var
=LD_LIBRARY_PATH
9957 shlibpath_overrides_runpath
=yes
9964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9965 soname_spec
='${libname}${release}${shared_ext}$major'
9966 shlibpath_var
=LD_LIBRARY_PATH
9967 shlibpath_overrides_runpath
=no
9968 hardcode_into_libs
=yes
9969 dynamic_linker
='ldqnx.so'
9974 sys_lib_dlsearch_path_spec
="/usr/lib"
9976 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9978 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9979 *) need_version
=no
;;
9981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9982 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9983 shlibpath_var
=LD_LIBRARY_PATH
9984 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9986 openbsd2.
[89] | openbsd2.
[89].
*)
9987 shlibpath_overrides_runpath
=no
9990 shlibpath_overrides_runpath
=yes
9994 shlibpath_overrides_runpath
=yes
9999 libname_spec
='$name'
10002 library_names_spec
='$libname${shared_ext} $libname.a'
10003 dynamic_linker
='OS/2 ld.exe'
10004 shlibpath_var
=LIBPATH
10007 osf3
* | osf4
* | osf5
*)
10011 soname_spec
='${libname}${release}${shared_ext}$major'
10012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10013 shlibpath_var
=LD_LIBRARY_PATH
10014 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10015 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10027 soname_spec
='${libname}${release}${shared_ext}$major'
10028 shlibpath_var
=LD_LIBRARY_PATH
10029 shlibpath_overrides_runpath
=yes
10030 hardcode_into_libs
=yes
10031 # ldd complains unless libraries are executable
10032 postinstall_cmds
='chmod +x $lib'
10037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10038 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10039 shlibpath_var
=LD_LIBRARY_PATH
10040 shlibpath_overrides_runpath
=yes
10041 if test "$with_gnu_ld" = yes; then
10049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10050 soname_spec
='${libname}${release}${shared_ext}$major'
10051 shlibpath_var
=LD_LIBRARY_PATH
10052 case $host_vendor in
10054 shlibpath_overrides_runpath
=no
10056 runpath_var
=LD_RUN_PATH
10064 shlibpath_overrides_runpath
=no
10065 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10071 if test -d /usr
/nec
;then
10073 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10074 soname_spec
='$libname${shared_ext}.$major'
10075 shlibpath_var
=LD_LIBRARY_PATH
10079 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10080 version_type
=freebsd-elf
10083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10084 soname_spec
='${libname}${release}${shared_ext}$major'
10085 shlibpath_var
=LD_LIBRARY_PATH
10086 shlibpath_overrides_runpath
=yes
10087 hardcode_into_libs
=yes
10088 if test "$with_gnu_ld" = yes; then
10089 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10091 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10094 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10098 sys_lib_dlsearch_path_spec
='/usr/lib'
10102 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10107 shlibpath_var
=LD_LIBRARY_PATH
10108 shlibpath_overrides_runpath
=no
10109 hardcode_into_libs
=yes
10114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10115 soname_spec
='${libname}${release}${shared_ext}$major'
10116 shlibpath_var
=LD_LIBRARY_PATH
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10124 $as_echo "$dynamic_linker" >&6; }
10125 test "$dynamic_linker" = no
&& can_build_shared
=no
10127 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10128 if test "$GCC" = yes; then
10129 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10132 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10133 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10135 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10136 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10231 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10233 if test -n "$hardcode_libdir_flag_spec" ||
10234 test -n "$runpath_var" ||
10235 test "X$hardcode_automatic" = "Xyes" ; then
10237 # We can hardcode non-existent directories.
10238 if test "$hardcode_direct" != no
&&
10239 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10240 # have to relink, otherwise we might link with an installed library
10241 # when we should be linking with a yet-to-be-installed one
10242 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10243 test "$hardcode_minus_L" != no
; then
10244 # Linking always hardcodes the temporary library directory.
10245 hardcode_action
=relink
10247 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10248 hardcode_action
=immediate
10251 # We cannot hardcode anything, or else we can only hardcode existing
10253 hardcode_action
=unsupported
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10256 $as_echo "$hardcode_action" >&6; }
10258 if test "$hardcode_action" = relink ||
10259 test "$inherit_rpath" = yes; then
10260 # Fast installation is not supported
10261 enable_fast_install
=no
10262 elif test "$shlibpath_overrides_runpath" = yes ||
10263 test "$enable_shared" = no
; then
10264 # Fast installation is not necessary
10265 enable_fast_install
=needless
10273 if test "x$enable_dlopen" != xyes
; then
10274 enable_dlopen
=unknown
10275 enable_dlopen_self
=unknown
10276 enable_dlopen_self_static
=unknown
10283 lt_cv_dlopen
="load_add_on"
10285 lt_cv_dlopen_self
=yes
10288 mingw
* | pw32
* | cegcc
*)
10289 lt_cv_dlopen
="LoadLibrary"
10294 lt_cv_dlopen
="dlopen"
10299 # if libdl is installed we need to link against it
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10301 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10302 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10303 $as_echo_n "(cached) " >&6
10305 ac_check_lib_save_LIBS
=$LIBS
10307 if test x
$gcc_no_link = xyes
; then
10308 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10328 if ac_fn_c_try_link
"$LINENO"; then :
10329 ac_cv_lib_dl_dlopen
=yes
10331 ac_cv_lib_dl_dlopen
=no
10333 rm -f core conftest.err conftest.
$ac_objext \
10334 conftest
$ac_exeext conftest.
$ac_ext
10335 LIBS
=$ac_check_lib_save_LIBS
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10338 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10339 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10340 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10343 lt_cv_dlopen
="dyld"
10345 lt_cv_dlopen_self
=yes
10352 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10353 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10354 lt_cv_dlopen
="shl_load"
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10357 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10358 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10359 $as_echo_n "(cached) " >&6
10361 ac_check_lib_save_LIBS
=$LIBS
10363 if test x
$gcc_no_link = xyes
; then
10364 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10379 return shl_load ();
10384 if ac_fn_c_try_link
"$LINENO"; then :
10385 ac_cv_lib_dld_shl_load
=yes
10387 ac_cv_lib_dld_shl_load
=no
10389 rm -f core conftest.err conftest.
$ac_objext \
10390 conftest
$ac_exeext conftest.
$ac_ext
10391 LIBS
=$ac_check_lib_save_LIBS
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10394 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10395 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10396 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10398 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10399 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10400 lt_cv_dlopen
="dlopen"
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10403 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10404 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10405 $as_echo_n "(cached) " >&6
10407 ac_check_lib_save_LIBS
=$LIBS
10409 if test x
$gcc_no_link = xyes
; then
10410 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10430 if ac_fn_c_try_link
"$LINENO"; then :
10431 ac_cv_lib_dl_dlopen
=yes
10433 ac_cv_lib_dl_dlopen
=no
10435 rm -f core conftest.err conftest.
$ac_objext \
10436 conftest
$ac_exeext conftest.
$ac_ext
10437 LIBS
=$ac_check_lib_save_LIBS
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10440 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10441 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10442 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10445 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10446 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10447 $as_echo_n "(cached) " >&6
10449 ac_check_lib_save_LIBS
=$LIBS
10450 LIBS
="-lsvld $LIBS"
10451 if test x
$gcc_no_link = xyes
; then
10452 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10472 if ac_fn_c_try_link
"$LINENO"; then :
10473 ac_cv_lib_svld_dlopen
=yes
10475 ac_cv_lib_svld_dlopen
=no
10477 rm -f core conftest.err conftest.
$ac_objext \
10478 conftest
$ac_exeext conftest.
$ac_ext
10479 LIBS
=$ac_check_lib_save_LIBS
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10482 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10483 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10484 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10487 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10488 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10489 $as_echo_n "(cached) " >&6
10491 ac_check_lib_save_LIBS
=$LIBS
10493 if test x
$gcc_no_link = xyes
; then
10494 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10497 /* end confdefs.h. */
10499 /* Override any GCC internal prototype to avoid an error.
10500 Use char because int might match the return type of a GCC
10501 builtin and then its argument prototype would still apply. */
10509 return dld_link ();
10514 if ac_fn_c_try_link
"$LINENO"; then :
10515 ac_cv_lib_dld_dld_link
=yes
10517 ac_cv_lib_dld_dld_link
=no
10519 rm -f core conftest.err conftest.
$ac_objext \
10520 conftest
$ac_exeext conftest.
$ac_ext
10521 LIBS
=$ac_check_lib_save_LIBS
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10524 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10525 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10526 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10547 if test "x$lt_cv_dlopen" != xno
; then
10553 case $lt_cv_dlopen in
10555 save_CPPFLAGS
="$CPPFLAGS"
10556 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10558 save_LDFLAGS
="$LDFLAGS"
10559 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10562 LIBS
="$lt_cv_dlopen_libs $LIBS"
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10565 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10566 if test "${lt_cv_dlopen_self+set}" = set; then :
10567 $as_echo_n "(cached) " >&6
10569 if test "$cross_compiling" = yes; then :
10570 lt_cv_dlopen_self
=cross
10572 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10573 lt_status
=$lt_dlunknown
10574 cat > conftest.
$ac_ext <<_LT_EOF
10575 #line 10575 "configure"
10576 #include "confdefs.h"
10585 # define LT_DLGLOBAL RTLD_GLOBAL
10588 # define LT_DLGLOBAL DL_GLOBAL
10590 # define LT_DLGLOBAL 0
10594 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10595 find out it does not work in some platform. */
10596 #ifndef LT_DLLAZY_OR_NOW
10598 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10601 # define LT_DLLAZY_OR_NOW DL_LAZY
10604 # define LT_DLLAZY_OR_NOW RTLD_NOW
10607 # define LT_DLLAZY_OR_NOW DL_NOW
10609 # define LT_DLLAZY_OR_NOW 0
10616 /* When -fvisbility=hidden is used, assume the code has been annotated
10617 correspondingly for the symbols needed. */
10618 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10619 void fnord () __attribute__((visibility("default")));
10622 void fnord () { int i=42; }
10625 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10626 int status = $lt_dlunknown;
10630 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10633 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10634 else puts (dlerror ());
10636 /* dlclose (self); */
10644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10645 (eval $ac_link) 2>&5
10647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10648 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10649 (.
/conftest
; exit; ) >&5 2>/dev
/null
10651 case x
$lt_status in
10652 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10653 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10654 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10657 # compilation failed
10658 lt_cv_dlopen_self
=no
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10666 $as_echo "$lt_cv_dlopen_self" >&6; }
10668 if test "x$lt_cv_dlopen_self" = xyes
; then
10669 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10671 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10672 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10673 $as_echo_n "(cached) " >&6
10675 if test "$cross_compiling" = yes; then :
10676 lt_cv_dlopen_self_static
=cross
10678 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10679 lt_status
=$lt_dlunknown
10680 cat > conftest.
$ac_ext <<_LT_EOF
10681 #line 10681 "configure"
10682 #include "confdefs.h"
10691 # define LT_DLGLOBAL RTLD_GLOBAL
10694 # define LT_DLGLOBAL DL_GLOBAL
10696 # define LT_DLGLOBAL 0
10700 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10701 find out it does not work in some platform. */
10702 #ifndef LT_DLLAZY_OR_NOW
10704 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10707 # define LT_DLLAZY_OR_NOW DL_LAZY
10710 # define LT_DLLAZY_OR_NOW RTLD_NOW
10713 # define LT_DLLAZY_OR_NOW DL_NOW
10715 # define LT_DLLAZY_OR_NOW 0
10722 /* When -fvisbility=hidden is used, assume the code has been annotated
10723 correspondingly for the symbols needed. */
10724 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10725 void fnord () __attribute__((visibility("default")));
10728 void fnord () { int i=42; }
10731 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10732 int status = $lt_dlunknown;
10736 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10739 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10740 else puts (dlerror ());
10742 /* dlclose (self); */
10750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10751 (eval $ac_link) 2>&5
10753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10754 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10755 (.
/conftest
; exit; ) >&5 2>/dev
/null
10757 case x
$lt_status in
10758 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10759 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10760 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10763 # compilation failed
10764 lt_cv_dlopen_self_static
=no
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10772 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10775 CPPFLAGS
="$save_CPPFLAGS"
10776 LDFLAGS
="$save_LDFLAGS"
10781 case $lt_cv_dlopen_self in
10782 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10783 *) enable_dlopen_self
=unknown
;;
10786 case $lt_cv_dlopen_self_static in
10787 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10788 *) enable_dlopen_self_static
=unknown
;;
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10811 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10812 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10813 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10814 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10816 $as_echo "yes" >&6; }
10818 # FIXME - insert some real tests, host_os isn't really good enough
10821 if test -n "$STRIP" ; then
10822 striplib
="$STRIP -x"
10823 old_striplib
="$STRIP -S"
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10825 $as_echo "yes" >&6; }
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10828 $as_echo "no" >&6; }
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10833 $as_echo "no" >&6; }
10849 # Report which library types will actually be built
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10851 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10853 $as_echo "$can_build_shared" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10856 $as_echo_n "checking whether to build shared libraries... " >&6; }
10857 test "$can_build_shared" = "no" && enable_shared
=no
10859 # On AIX, shared libraries and static libraries use the same namespace, and
10860 # are all built from PIC.
10863 test "$enable_shared" = yes && enable_static
=no
10864 if test -n "$RANLIB"; then
10865 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10866 postinstall_cmds
='$RANLIB $lib'
10871 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10872 test "$enable_shared" = yes && enable_static
=no
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10877 $as_echo "$enable_shared" >&6; }
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10880 $as_echo_n "checking whether to build static libraries... " >&6; }
10881 # Make sure either enable_shared or enable_static is yes.
10882 test "$enable_shared" = yes || enable_static
=yes
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10884 $as_echo "$enable_static" >&6; }
10891 ac_cpp
='$CPP $CPPFLAGS'
10892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10910 ac_config_commands
="$ac_config_commands libtool"
10915 # Only expand once:
10922 *-cygwin* |
*-mingw*)
10923 # 'host' will be top-level target in the case of a target lib,
10924 # we must compare to with_cross_host to decide if this is a native
10925 # or cross-compiler and select where to install dlls appropriately.
10926 if test -n "$with_cross_host" &&
10927 test x
"$with_cross_host" != x
"no"; then
10928 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
10930 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10945 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10946 # Check whether --enable-maintainer-mode was given.
10947 if test "${enable_maintainer_mode+set}" = set; then :
10948 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
10950 USE_MAINTAINER_MODE
=no
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10954 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10955 if test $USE_MAINTAINER_MODE = yes; then
10956 MAINTAINER_MODE_TRUE
=
10957 MAINTAINER_MODE_FALSE
='#'
10959 MAINTAINER_MODE_TRUE
='#'
10960 MAINTAINER_MODE_FALSE
=
10963 MAINT
=$MAINTAINER_MODE_TRUE
10968 ac_cpp
='$CPP $CPPFLAGS'
10969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10973 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10974 # We must force CC to /not/ be precious variables; otherwise
10975 # the wrong, non-multilib-adjusted value will be used in multilibs.
10976 # As a side effect, we have to subst CFLAGS ourselves.
10981 ac_cpp
='$CPP $CPPFLAGS'
10982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10985 if test -n "$ac_tool_prefix"; then
10986 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10987 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10989 $as_echo_n "checking for $ac_word... " >&6; }
10990 if test "${ac_cv_prog_CC+set}" = set; then :
10991 $as_echo_n "(cached) " >&6
10993 if test -n "$CC"; then
10994 ac_cv_prog_CC
="$CC" # Let the user override the test.
10996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10997 for as_dir
in $PATH
11000 test -z "$as_dir" && as_dir
=.
11001 for ac_exec_ext
in '' $ac_executable_extensions; do
11002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11003 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11014 if test -n "$CC"; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11016 $as_echo "$CC" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11019 $as_echo "no" >&6; }
11024 if test -z "$ac_cv_prog_CC"; then
11026 # Extract the first word of "gcc", so it can be a program name with args.
11027 set dummy gcc
; ac_word
=$2
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11029 $as_echo_n "checking for $ac_word... " >&6; }
11030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11031 $as_echo_n "(cached) " >&6
11033 if test -n "$ac_ct_CC"; then
11034 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11037 for as_dir
in $PATH
11040 test -z "$as_dir" && as_dir
=.
11041 for ac_exec_ext
in '' $ac_executable_extensions; do
11042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11043 ac_cv_prog_ac_ct_CC
="gcc"
11044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11054 if test -n "$ac_ct_CC"; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11056 $as_echo "$ac_ct_CC" >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11059 $as_echo "no" >&6; }
11062 if test "x$ac_ct_CC" = x
; then
11065 case $cross_compiling:$ac_tool_warned in
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11069 ac_tool_warned
=yes ;;
11074 CC
="$ac_cv_prog_CC"
11077 if test -z "$CC"; then
11078 if test -n "$ac_tool_prefix"; then
11079 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11080 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11082 $as_echo_n "checking for $ac_word... " >&6; }
11083 if test "${ac_cv_prog_CC+set}" = set; then :
11084 $as_echo_n "(cached) " >&6
11086 if test -n "$CC"; then
11087 ac_cv_prog_CC
="$CC" # Let the user override the test.
11089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11090 for as_dir
in $PATH
11093 test -z "$as_dir" && as_dir
=.
11094 for ac_exec_ext
in '' $ac_executable_extensions; do
11095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11096 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11107 if test -n "$CC"; then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11109 $as_echo "$CC" >&6; }
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11112 $as_echo "no" >&6; }
11118 if test -z "$CC"; then
11119 # Extract the first word of "cc", so it can be a program name with args.
11120 set dummy cc
; ac_word
=$2
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11122 $as_echo_n "checking for $ac_word... " >&6; }
11123 if test "${ac_cv_prog_CC+set}" = set; then :
11124 $as_echo_n "(cached) " >&6
11126 if test -n "$CC"; then
11127 ac_cv_prog_CC
="$CC" # Let the user override the test.
11129 ac_prog_rejected
=no
11130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11131 for as_dir
in $PATH
11134 test -z "$as_dir" && as_dir
=.
11135 for ac_exec_ext
in '' $ac_executable_extensions; do
11136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11137 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11138 ac_prog_rejected
=yes
11142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11149 if test $ac_prog_rejected = yes; then
11150 # We found a bogon in the path, so make sure we never use it.
11151 set dummy
$ac_cv_prog_CC
11153 if test $# != 0; then
11154 # We chose a different compiler from the bogus one.
11155 # However, it has the same basename, so the bogon will be chosen
11156 # first if we set CC to just the basename; use the full file name.
11158 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11164 if test -n "$CC"; then
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11166 $as_echo "$CC" >&6; }
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11169 $as_echo "no" >&6; }
11174 if test -z "$CC"; then
11175 if test -n "$ac_tool_prefix"; then
11176 for ac_prog
in cl.exe
11178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11179 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11181 $as_echo_n "checking for $ac_word... " >&6; }
11182 if test "${ac_cv_prog_CC+set}" = set; then :
11183 $as_echo_n "(cached) " >&6
11185 if test -n "$CC"; then
11186 ac_cv_prog_CC
="$CC" # Let the user override the test.
11188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11189 for as_dir
in $PATH
11192 test -z "$as_dir" && as_dir
=.
11193 for ac_exec_ext
in '' $ac_executable_extensions; do
11194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11195 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11206 if test -n "$CC"; then
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11208 $as_echo "$CC" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11211 $as_echo "no" >&6; }
11215 test -n "$CC" && break
11218 if test -z "$CC"; then
11220 for ac_prog
in cl.exe
11222 # Extract the first word of "$ac_prog", so it can be a program name with args.
11223 set dummy
$ac_prog; ac_word
=$2
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11225 $as_echo_n "checking for $ac_word... " >&6; }
11226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11227 $as_echo_n "(cached) " >&6
11229 if test -n "$ac_ct_CC"; then
11230 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11233 for as_dir
in $PATH
11236 test -z "$as_dir" && as_dir
=.
11237 for ac_exec_ext
in '' $ac_executable_extensions; do
11238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11239 ac_cv_prog_ac_ct_CC
="$ac_prog"
11240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11249 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11250 if test -n "$ac_ct_CC"; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11252 $as_echo "$ac_ct_CC" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11255 $as_echo "no" >&6; }
11259 test -n "$ac_ct_CC" && break
11262 if test "x$ac_ct_CC" = x
; then
11265 case $cross_compiling:$ac_tool_warned in
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11269 ac_tool_warned
=yes ;;
11278 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11280 as_fn_error
"no acceptable C compiler found in \$PATH
11281 See \`config.log' for more details." "$LINENO" 5; }
11283 # Provide some information about the compiler.
11284 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11287 for ac_option
in --version -v -V -qversion; do
11288 { { ac_try
="$ac_compiler $ac_option >&5"
11289 case "(($ac_try" in
11290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11291 *) ac_try_echo=$ac_try;;
11293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11294 $as_echo "$ac_try_echo"; } >&5
11295 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11297 if test -s conftest.err; then
11299 ... rest of stderr output deleted ...
11300 10q' conftest.err >conftest.er1
11301 cat conftest.er1 >&5
11302 rm -f conftest.er1 conftest.err
11304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11305 test $ac_status = 0; }
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11310 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11311 $as_echo_n "(cached) " >&6
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11327 if ac_fn_c_try_compile "$LINENO"; then :
11328 ac_compiler_gnu=yes
11332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11338 if test $ac_compiler_gnu = yes; then
11343 ac_test_CFLAGS=${CFLAGS+set}
11344 ac_save_CFLAGS=$CFLAGS
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11347 if test "${ac_cv_prog_cc_g+set}" = set; then :
11348 $as_echo_n "(cached) " >&6
11350 ac_save_c_werror_flag=$ac_c_werror_flag
11351 ac_c_werror_flag=yes
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11365 if ac_fn_c_try_compile "$LINENO"; then :
11366 ac_cv_prog_cc_g=yes
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11380 if ac_fn_c_try_compile "$LINENO"; then :
11383 ac_c_werror_flag=$ac_save_c_werror_flag
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11396 if ac_fn_c_try_compile "$LINENO"; then :
11397 ac_cv_prog_cc_g=yes
11399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11404 ac_c_werror_flag=$ac_save_c_werror_flag
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11407 $as_echo "$ac_cv_prog_cc_g" >&6; }
11408 if test "$ac_test_CFLAGS" = set; then
11409 CFLAGS=$ac_save_CFLAGS
11410 elif test $ac_cv_prog_cc_g = yes; then
11411 if test "$GCC" = yes; then
11417 if test "$GCC" = yes; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11425 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11426 $as_echo_n "(cached) " >&6
11428 ac_cv_prog_cc_c89=no
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11432 #include <stdarg.h>
11434 #include <sys/types.h>
11435 #include <sys/stat.h>
11436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11437 struct buf { int x; };
11438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11439 static char *e (p, i)
11445 static char *f (char * (*g) (char **, int), char **p, ...)
11450 s = g (p, va_arg (v,int));
11455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11456 function prototypes and stuff, but not '\xHH' hex character constants.
11457 These don't provoke an error unfortunately, instead are silently treated
11458 as 'x'. The following induces an error, until -std is added to get
11459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11460 array size at least. It's necessary to write '\x00'==0 to get something
11461 that's true only with -std. */
11462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11465 inside strings and character constants. */
11467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11469 int test (int i, double x);
11470 struct s1 {int (*f) (int a);};
11471 struct s2 {int (*f) (double a);};
11472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11486 CC="$ac_save_CC $ac_arg"
11487 if ac_fn_c_try_compile "$LINENO"; then :
11488 ac_cv_prog_cc_c89=$ac_arg
11490 rm -f core conftest.err conftest.$ac_objext
11491 test "x$ac_cv_prog_cc_c89" != "xno" && break
11493 rm -f conftest.$ac_ext
11498 case "x$ac_cv_prog_cc_c89" in
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11501 $as_echo "none needed" >&6; } ;;
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11504 $as_echo "unsupported" >&6; } ;;
11506 CC="$CC $ac_cv_prog_cc_c89"
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11510 if test "x$ac_cv_prog_cc_c89" != xno; then :
11515 ac_cpp='$CPP $CPPFLAGS'
11516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11520 depcc="$CC" am_compiler_list=
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11523 $as_echo_n "checking dependency style of $depcc... " >&6; }
11524 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11525 $as_echo_n "(cached) " >&6
11527 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11528 # We make a subdir and do the tests there. Otherwise we can end up
11529 # making bogus files that we don't know about and never remove. For
11530 # instance it was reported that on HP-UX the gcc test will end up
11531 # making a dummy file named `D
' -- because `-MD' means
`put the output
11533 rm -rf conftest.dir
11535 # Copy depcomp to subdir because otherwise we won't find it if we're
11536 # using a relative directory.
11537 cp "$am_depcomp" conftest.dir
11539 # We will build objects and dependencies in a subdirectory because
11540 # it helps to detect inapplicable dependency modes. For instance
11541 # both Tru64's cc and ICC support -MD to output dependencies as a
11542 # side effect of compilation, but ICC will put the dependencies in
11543 # the current directory while Tru64 will put them in the object
11547 am_cv_CC_dependencies_compiler_type=none
11548 if test "$am_compiler_list" = ""; then
11549 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11551 am__universal=false
11552 case " $depcc " in #(
11553 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11556 for depmode in $am_compiler_list; do
11557 # Setup a source with many dependencies, because some compilers
11558 # like to wrap large dependency lists on column 80 (with \), and
11559 # we should not choose a depcomp mode which is confused by this.
11561 # We need to recreate these files for each test, as the compiler may
11562 # overwrite some of them when testing with obscure command lines.
11563 # This happens at least with the AIX C compiler.
11565 for i in 1 2 3 4 5 6; do
11566 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11567 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11568 # Solaris 8's
{/usr
,}/bin
/sh.
11569 touch sub
/conftst
$i.h
11571 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11573 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11574 # mode. It turns out that the SunPro C++ compiler does not properly
11575 # handle `-M -o', and we need to detect this. Also, some Intel
11576 # versions had trouble with output in subdirs
11577 am__obj
=sub
/conftest.
${OBJEXT-o}
11578 am__minus_obj
="-o $am__obj"
11581 # This depmode causes a compiler race in universal mode.
11582 test "$am__universal" = false ||
continue
11585 # after this tag, mechanisms are not by side-effect, so they'll
11586 # only be used when explicitly requested
11587 if test "x$enable_dependency_tracking" = xyes
; then
11593 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
11594 # This compiler won't grok `-c -o', but also, the minuso test has
11595 # not run yet. These depmodes are late enough in the game, and
11596 # so weak that their functioning should not be impacted.
11597 am__obj
=conftest.
${OBJEXT-o}
11602 if depmode
=$depmode \
11603 source=sub
/conftest.c object
=$am__obj \
11604 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11605 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11606 >/dev
/null
2>conftest.err
&&
11607 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11608 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11609 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11610 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11611 # icc doesn't choke on unknown options, it will just issue warnings
11612 # or remarks (even with -Werror). So we grep stderr for any message
11613 # that says an option was ignored or not supported.
11614 # When given -MP, icc 7.0 and 7.1 complain thusly:
11615 # icc: Command line warning: ignoring option '-M'; no argument required
11616 # The diagnosis changed in icc 8.0:
11617 # icc: Command line remark: option '-MP' not supported
11618 if (grep 'ignoring option' conftest.err ||
11619 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11620 am_cv_CC_dependencies_compiler_type
=$depmode
11627 rm -rf conftest.dir
11629 am_cv_CC_dependencies_compiler_type
=none
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11634 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11635 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11638 test "x$enable_dependency_tracking" != xno \
11639 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11640 am__fastdepCC_TRUE
=
11641 am__fastdepCC_FALSE
='#'
11643 am__fastdepCC_TRUE
='#'
11644 am__fastdepCC_FALSE
=
11652 if test "x$CC" != xcc
; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11654 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11657 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11659 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11660 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11661 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11662 $as_echo_n "(cached) " >&6
11664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11675 # Make sure it works both with $CC and with simple cc.
11676 # We do the test twice because some compilers refuse to overwrite an
11677 # existing .o file with -o, though they will create one.
11678 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11680 if { { 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; } &&
11690 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11692 *) ac_try_echo
=$ac_try;;
11694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11695 $as_echo "$ac_try_echo"; } >&5
11696 (eval "$ac_try") 2>&5
11698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11699 test $ac_status = 0; };
11701 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11702 if test "x$CC" != xcc
; then
11703 # Test first that cc exists at all.
11704 if { ac_try
='cc -c conftest.$ac_ext >&5'
11705 { { case "(($ac_try" in
11706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11707 *) ac_try_echo=$ac_try;;
11709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11710 $as_echo "$ac_try_echo"; } >&5
11711 (eval "$ac_try") 2>&5
11713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11714 test $ac_status = 0; }; }; then
11715 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11717 if { { case "(($ac_try" in
11718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11719 *) ac_try_echo
=$ac_try;;
11721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11722 $as_echo "$ac_try_echo"; } >&5
11723 (eval "$ac_try") 2>&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11726 test $ac_status = 0; } &&
11727 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11729 *) ac_try_echo=$ac_try;;
11731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11732 $as_echo "$ac_try_echo"; } >&5
11733 (eval "$ac_try") 2>&5
11735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11736 test $ac_status = 0; };
11741 # cc exists but doesn't like -o.
11742 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11747 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11749 rm -f core conftest*
11752 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11754 $as_echo "yes" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11757 $as_echo "no" >&6; }
11759 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11763 # FIXME: we rely on the cache variable name because
11764 # there is no other way.
11766 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11767 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11768 if test "$am_t" != yes; then
11769 # Losing compiler, so override with the script.
11770 # FIXME: It is wrong to rewrite CC.
11771 # But if we don't then we get into trouble of one sort or another.
11772 # A longer-term fix would be to have automake use am__CC in this case,
11773 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11774 CC="$am_aux_dir/compile $CC"
11779 if test "x$GCC" != "xyes"; then
11780 as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11783 ac_cpp='$CPP $CPPFLAGS'
11784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11788 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11789 # On Suns, sometimes $CPP names a directory.
11790 if test -n "$CPP" && test -d "$CPP"; then
11793 if test -z "$CPP"; then
11794 if test "${ac_cv_prog_CPP+set}" = set; then :
11795 $as_echo_n "(cached) " >&6
11797 # Double quotes because CPP needs to be expanded
11798 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11800 ac_preproc_ok=false
11801 for ac_c_preproc_warn_flag in '' yes
11803 # Use a header file that comes with gcc, so configuring glibc
11804 # with a fresh cross-compiler works.
11805 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11806 # <limits.h> exists even on freestanding compilers.
11807 # On the NeXT, cc -E runs the code through the compiler's parser,
11808 # not just through cpp. "Syntax error" is here to catch this case.
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 # include <limits.h>
11814 # include <assert.h>
11818 if ac_fn_c_try_cpp "$LINENO"; then :
11821 # Broken: fails on valid input.
11824 rm -f conftest.err conftest.$ac_ext
11826 # OK, works on sane cases. Now check whether nonexistent headers
11827 # can be detected and how.
11828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11829 /* end confdefs.h. */
11830 #include <ac_nonexistent.h>
11832 if ac_fn_c_try_cpp "$LINENO"; then :
11833 # Broken: success on invalid input.
11836 # Passes both tests.
11840 rm -f conftest.err conftest.$ac_ext
11843 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11844 rm -f conftest.err conftest.
$ac_ext
11845 if $ac_preproc_ok; then :
11850 ac_cv_prog_CPP
=$CPP
11853 CPP
=$ac_cv_prog_CPP
11855 ac_cv_prog_CPP
=$CPP
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11858 $as_echo "$CPP" >&6; }
11859 ac_preproc_ok
=false
11860 for ac_c_preproc_warn_flag
in '' yes
11862 # Use a header file that comes with gcc, so configuring glibc
11863 # with a fresh cross-compiler works.
11864 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11865 # <limits.h> exists even on freestanding compilers.
11866 # On the NeXT, cc -E runs the code through the compiler's parser,
11867 # not just through cpp. "Syntax error" is here to catch this case.
11868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 # include <limits.h>
11873 # include <assert.h>
11877 if ac_fn_c_try_cpp
"$LINENO"; then :
11880 # Broken: fails on valid input.
11883 rm -f conftest.err conftest.
$ac_ext
11885 # OK, works on sane cases. Now check whether nonexistent headers
11886 # can be detected and how.
11887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11889 #include <ac_nonexistent.h>
11891 if ac_fn_c_try_cpp
"$LINENO"; then :
11892 # Broken: success on invalid input.
11895 # Passes both tests.
11899 rm -f conftest.err conftest.
$ac_ext
11902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11903 rm -f conftest.err conftest.
$ac_ext
11904 if $ac_preproc_ok; then :
11907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11909 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
11910 See \`config.log' for more details." "$LINENO" 5; }
11914 ac_cpp
='$CPP $CPPFLAGS'
11915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11920 # Calculate toolexeclibdir
11921 # Also toolexecdir, though it's only used in toolexeclibdir
11922 case ${version_specific_libs} in
11924 # Need the gcc compiler version to know where to install libraries
11925 # and header files if --enable-version-specific-runtime-libs option
11927 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11928 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11931 if test -n "$with_cross_host" &&
11932 test x
"$with_cross_host" != x
"no"; then
11933 # Install a library built with a cross compiler in tooldir, not libdir.
11934 toolexecdir
='$(exec_prefix)/$(target_alias)'
11935 toolexeclibdir
='$(toolexecdir)/lib'
11937 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11938 toolexeclibdir
='$(libdir)'
11940 multi_os_directory
=`$CC -print-multi-os-directory`
11941 case $multi_os_directory in
11942 .
) ;; # Avoid trailing /.
11943 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11950 for ac_header
in fenv.h langinfo.h locale.h wchar.h wctype.h limits.h ctype.h
printf.h errno.h
11952 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11953 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11954 eval as_val
=\$
$as_ac_Header
11955 if test "x$as_val" = x
""yes; then :
11956 cat >>confdefs.h
<<_ACEOF
11957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the math.h includes POSIX's signgam" >&5
11966 $as_echo_n "checking whether the math.h includes POSIX's signgam... " >&6; }
11967 if test "${libgfor_cv_have_math_h_signgam+set}" = set; then :
11968 $as_echo_n "(cached) " >&6
11971 save_CFLAGS
="$CFLAGS"
11972 CFLAGS
="$CFLAGS -Werror"
11973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11977 void foo(void) { signgam = 1; }
11986 if ac_fn_c_try_compile
"$LINENO"; then :
11987 libgfor_cv_have_math_h_signgam
=yes
11989 libgfor_cv_have_math_h_signgam
=no
11991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11992 CFLAGS
="$save_CFLAGS"
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_math_h_signgam" >&5
11995 $as_echo "$libgfor_cv_have_math_h_signgam" >&6; }
11996 if test $libgfor_cv_have_math_h_signgam = yes; then
11998 $as_echo "#define HAVE_MATH_H_SIGNGAM 1" >>confdefs.h
12002 # If available, sqrtl and cbrtl speed up the calculation -
12003 # but they are not required
12004 if test x
$gcc_no_link != xyes
; then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
12006 $as_echo_n "checking for sqrtl in -lm... " >&6; }
12007 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
12008 $as_echo_n "(cached) " >&6
12010 ac_check_lib_save_LIBS
=$LIBS
12012 if test x
$gcc_no_link = xyes
; then
12013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12033 if ac_fn_c_try_link
"$LINENO"; then :
12034 ac_cv_lib_m_sqrtl
=yes
12036 ac_cv_lib_m_sqrtl
=no
12038 rm -f core conftest.err conftest.
$ac_objext \
12039 conftest
$ac_exeext conftest.
$ac_ext
12040 LIBS
=$ac_check_lib_save_LIBS
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
12043 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
12044 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
12046 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
12051 $as_echo_n "checking for cbrtl in -lm... " >&6; }
12052 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
12053 $as_echo_n "(cached) " >&6
12055 ac_check_lib_save_LIBS
=$LIBS
12057 if test x
$gcc_no_link = xyes
; then
12058 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12078 if ac_fn_c_try_link
"$LINENO"; then :
12079 ac_cv_lib_m_cbrtl
=yes
12081 ac_cv_lib_m_cbrtl
=no
12083 rm -f core conftest.err conftest.
$ac_objext \
12084 conftest
$ac_exeext conftest.
$ac_ext
12085 LIBS
=$ac_check_lib_save_LIBS
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
12088 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
12089 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then :
12091 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
12096 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
12097 if test "${ac_cv_lib_m_feholdexcept+set}" = set; then :
12098 $as_echo_n "(cached) " >&6
12100 ac_check_lib_save_LIBS
=$LIBS
12102 if test x
$gcc_no_link = xyes
; then
12103 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12114 char feholdexcept ();
12118 return feholdexcept ();
12123 if ac_fn_c_try_link
"$LINENO"; then :
12124 ac_cv_lib_m_feholdexcept
=yes
12126 ac_cv_lib_m_feholdexcept
=no
12128 rm -f core conftest.err conftest.
$ac_objext \
12129 conftest
$ac_exeext conftest.
$ac_ext
12130 LIBS
=$ac_check_lib_save_LIBS
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feholdexcept" >&5
12133 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12134 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then :
12136 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12141 $as_echo_n "checking for fesetround in -lm... " >&6; }
12142 if test "${ac_cv_lib_m_fesetround+set}" = set; then :
12143 $as_echo_n "(cached) " >&6
12145 ac_check_lib_save_LIBS
=$LIBS
12147 if test x
$gcc_no_link = xyes
; then
12148 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12159 char fesetround ();
12163 return fesetround ();
12168 if ac_fn_c_try_link
"$LINENO"; then :
12169 ac_cv_lib_m_fesetround
=yes
12171 ac_cv_lib_m_fesetround
=no
12173 rm -f core conftest.err conftest.
$ac_objext \
12174 conftest
$ac_exeext conftest.
$ac_ext
12175 LIBS
=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12178 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12179 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then :
12181 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12186 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12187 if test "${ac_cv_lib_m_feupdateenv+set}" = set; then :
12188 $as_echo_n "(cached) " >&6
12190 ac_check_lib_save_LIBS
=$LIBS
12192 if test x
$gcc_no_link = xyes
; then
12193 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12198 /* Override any GCC internal prototype to avoid an error.
12199 Use char because int might match the return type of a GCC
12200 builtin and then its argument prototype would still apply. */
12204 char feupdateenv ();
12208 return feupdateenv ();
12213 if ac_fn_c_try_link
"$LINENO"; then :
12214 ac_cv_lib_m_feupdateenv
=yes
12216 ac_cv_lib_m_feupdateenv
=no
12218 rm -f core conftest.err conftest.
$ac_objext \
12219 conftest
$ac_exeext conftest.
$ac_ext
12220 LIBS
=$ac_check_lib_save_LIBS
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12223 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12224 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then :
12226 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12231 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12232 if test "${ac_cv_lib_m_fesetenv+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12235 ac_check_lib_save_LIBS
=$LIBS
12237 if test x
$gcc_no_link = xyes
; then
12238 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12253 return fesetenv ();
12258 if ac_fn_c_try_link
"$LINENO"; then :
12259 ac_cv_lib_m_fesetenv
=yes
12261 ac_cv_lib_m_fesetenv
=no
12263 rm -f core conftest.err conftest.
$ac_objext \
12264 conftest
$ac_exeext conftest.
$ac_ext
12265 LIBS
=$ac_check_lib_save_LIBS
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12268 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12269 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then :
12271 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12276 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12277 if test "${ac_cv_lib_m_fetestexcept+set}" = set; then :
12278 $as_echo_n "(cached) " >&6
12280 ac_check_lib_save_LIBS
=$LIBS
12282 if test x
$gcc_no_link = xyes
; then
12283 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12294 char fetestexcept ();
12298 return fetestexcept ();
12303 if ac_fn_c_try_link
"$LINENO"; then :
12304 ac_cv_lib_m_fetestexcept
=yes
12306 ac_cv_lib_m_fetestexcept
=no
12308 rm -f core conftest.err conftest.
$ac_objext \
12309 conftest
$ac_exeext conftest.
$ac_ext
12310 LIBS
=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12313 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12314 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then :
12316 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12320 for ac_func
in strtoull
12322 ac_fn_c_check_func
"$LINENO" "strtoull" "ac_cv_func_strtoull"
12323 if test "x$ac_cv_func_strtoull" = x
""yes; then :
12324 cat >>confdefs.h
<<_ACEOF
12325 #define HAVE_STRTOULL 1
12332 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then
12334 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12337 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then
12339 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12342 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then
12344 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12347 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then
12349 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12352 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then
12354 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12357 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then
12359 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12362 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then
12364 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12369 # Check for hidden visibility (copied from libssp).
12370 saved_CFLAGS
="$CFLAGS"
12371 CFLAGS
="$CFLAGS -Werror"
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
12373 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
12374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12377 void __attribute__((visibility ("hidden"))) bar (void) {}
12386 if ac_fn_c_try_compile
"$LINENO"; then :
12387 quadmath_hidden
=yes
12391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_hidden" >&5
12393 $as_echo "$quadmath_hidden" >&6; }
12394 if test x
$quadmath_hidden = xyes
; then
12396 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
12399 CFLAGS
="$saved_CFLAGS"
12401 # Check for symbol versioning (copied from libssp).
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12403 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12404 # Check whether --enable-symvers was given.
12405 if test "${enable_symvers+set}" = set; then :
12406 enableval
=$enable_symvers; quadmath_use_symver
=$enableval
12408 quadmath_use_symver
=yes
12411 if test "x$quadmath_use_symver" != xno
; then
12412 if test x
$gcc_no_link = xyes
; then
12413 # If we cannot link, we cannot build shared libraries, so do not use
12414 # symbol versioning.
12415 quadmath_use_symver
=no
12417 save_LDFLAGS
="$LDFLAGS"
12418 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12419 cat > conftest.map
<<EOF
12421 global: *foo*; bar; local: *;
12424 if test x
$gcc_no_link = xyes
; then
12425 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12438 if ac_fn_c_try_link
"$LINENO"; then :
12439 quadmath_use_symver
=gnu
12441 quadmath_use_symver
=no
12443 rm -f core conftest.err conftest.
$ac_objext \
12444 conftest
$ac_exeext conftest.
$ac_ext
12445 if test x
$quadmath_use_symver = xno
; then
12446 case "$target_os" in
12448 LDFLAGS
="$save_LDFLAGS"
12449 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12450 # Sun ld cannot handle wildcards and treats all entries as undefined.
12451 cat > conftest.map
<<EOF
12453 global: foo; local: *;
12456 if test x
$gcc_no_link = xyes
; then
12457 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12470 if ac_fn_c_try_link
"$LINENO"; then :
12471 quadmath_use_symver
=sun
12473 quadmath_use_symver
=no
12475 rm -f core conftest.err conftest.
$ac_objext \
12476 conftest
$ac_exeext conftest.
$ac_ext
12480 LDFLAGS
="$save_LDFLAGS"
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12484 $as_echo "$quadmath_use_symver" >&6; }
12485 if test "x$quadmath_use_symver" != xno
; then
12486 LIBQUAD_USE_SYMVER_TRUE
=
12487 LIBQUAD_USE_SYMVER_FALSE
='#'
12489 LIBQUAD_USE_SYMVER_TRUE
='#'
12490 LIBQUAD_USE_SYMVER_FALSE
=
12493 if test "x$quadmath_use_symver" = xgnu
; then
12494 LIBQUAD_USE_SYMVER_GNU_TRUE
=
12495 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
12497 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
12498 LIBQUAD_USE_SYMVER_GNU_FALSE
=
12501 if test "x$quadmath_use_symver" = xsun
; then
12502 LIBQUAD_USE_SYMVER_SUN_TRUE
=
12503 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
12505 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
12506 LIBQUAD_USE_SYMVER_SUN_FALSE
=
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12511 $as_echo_n "checking whether __float128 is supported... " >&6; }
12512 if test "${libquad_cv_have_float128+set}" = set; then :
12513 $as_echo_n "(cached) " >&6
12515 if test x
$gcc_no_link = xyes
; then
12516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12520 typedef _Complex float __attribute__((mode(TC))) __complex128;
12522 typedef _Complex float __attribute__((mode(KC))) __complex128;
12525 __float128 foo (__float128 x)
12528 __complex128 z1, z2;
12534 return (__float128) z2;
12537 __float128 bar (__float128 x)
12539 return x * __builtin_huge_valq ();
12553 if ac_fn_c_try_compile
"$LINENO"; then :
12555 libquad_cv_have_float128
=yes
12559 libquad_cv_have_float128
=no
12562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12564 if test x
$gcc_no_link = xyes
; then
12565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12571 typedef _Complex float __attribute__((mode(TC))) __complex128;
12573 typedef _Complex float __attribute__((mode(KC))) __complex128;
12576 __float128 foo (__float128 x)
12579 __complex128 z1, z2;
12585 return (__float128) z2;
12588 __float128 bar (__float128 x)
12590 return x * __builtin_huge_valq ();
12604 if ac_fn_c_try_link
"$LINENO"; then :
12606 libquad_cv_have_float128
=yes
12610 libquad_cv_have_float128
=no
12613 rm -f core conftest.err conftest.
$ac_objext \
12614 conftest
$ac_exeext conftest.
$ac_ext
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12618 $as_echo "$libquad_cv_have_float128" >&6; }
12619 if test "x$libquad_cv_have_float128" = xyes
; then
12620 BUILD_LIBQUADMATH_TRUE
=
12621 BUILD_LIBQUADMATH_FALSE
='#'
12623 BUILD_LIBQUADMATH_TRUE
='#'
12624 BUILD_LIBQUADMATH_FALSE
=
12628 # Check for printf hook support.
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf hooks are supported" >&5
12630 $as_echo_n "checking whether printf hooks are supported... " >&6; }
12631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 #include <printf.h>
12635 #include <stdarg.h>
12636 #include <stdlib.h>
12637 extern void flt128_va (void *, va_list *);
12638 extern int flt128_ais (const struct printf_info *, size_t, int *, int *);
12639 extern int flt128_printf_fp (FILE *, const struct printf_info *, const void *const *);
12645 int pa_flt128 = register_printf_type (flt128_va);
12646 int mod_Q = register_printf_modifier (L"Q");
12647 int res = register_printf_specifier ('f', flt128_printf_fp, flt128_ais);
12648 struct printf_info info = { .user = -1 };
12654 if ac_fn_c_try_compile
"$LINENO"; then :
12655 quadmath_printf_hooks
=yes
12657 quadmath_printf_hooks
=no
12659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_printf_hooks" >&5
12661 $as_echo "$quadmath_printf_hooks" >&6; }
12662 if test x
$quadmath_printf_hooks = xyes
; then
12664 $as_echo "#define HAVE_PRINTF_HOOKS 1" >>confdefs.h
12668 # Check for whether locale support for quadmath_snprintf or Q printf hooks
12669 # should be provided.
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used" >&5
12671 $as_echo_n "checking whether nl_langinfo should be used... " >&6; }
12672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12674 #include <langinfo.h>
12680 s = nl_langinfo (DECIMAL_POINT);
12681 s = nl_langinfo (MON_DECIMAL_POINT);
12682 s = nl_langinfo (GROUPING);
12683 s = nl_langinfo (MON_GROUPING);
12684 s = nl_langinfo (THOUSANDS_SEP);
12685 s = nl_langinfo (MON_THOUSANDS_SEP);
12692 if ac_fn_c_try_compile
"$LINENO"; then :
12693 quadmath_use_nl_langinfo
=yes
12695 quadmath_use_nl_langinfo
=no
12697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo" >&5
12699 $as_echo "$quadmath_use_nl_langinfo" >&6; }
12700 if test x
$quadmath_use_nl_langinfo = xyes
; then
12702 $as_echo "#define USE_NL_LANGINFO 1" >>confdefs.h
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used for wide char locale info" >&5
12707 $as_echo_n "checking whether nl_langinfo should be used for wide char locale info... " >&6; }
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <langinfo.h>
12716 s = nl_langinfo (_NL_NUMERIC_DECIMAL_POINT_WC);
12717 s = nl_langinfo (_NL_MONETARY_DECIMAL_POINT_WC);
12718 s = nl_langinfo (_NL_NUMERIC_THOUSANDS_SEP_WC);
12719 s = nl_langinfo (_NL_MONETARY_THOUSANDS_SEP_WC);
12726 if ac_fn_c_try_compile
"$LINENO"; then :
12727 quadmath_use_nl_langinfo_wc
=yes
12729 quadmath_use_nl_langinfo_wc
=no
12731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo_wc" >&5
12733 $as_echo "$quadmath_use_nl_langinfo_wc" >&6; }
12734 if test x
$quadmath_use_nl_langinfo_wc = xyes
; then
12736 $as_echo "#define USE_NL_LANGINFO_WC 1" >>confdefs.h
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localeconv should be used" >&5
12741 $as_echo_n "checking whether localeconv should be used... " >&6; }
12742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12744 #include <locale.h>
12749 const struct lconv *l = localeconv ();
12751 s = l->decimal_point;
12752 s = l->mon_decimal_point;
12754 s = l->mon_grouping;
12755 s = l->thousands_sep;
12756 s = l->mon_thousands_sep;
12763 if ac_fn_c_try_compile
"$LINENO"; then :
12764 quadmath_use_localeconv
=yes
12766 quadmath_use_localeconv
=no
12768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_localeconv" >&5
12770 $as_echo "$quadmath_use_localeconv" >&6; }
12771 if test x
$quadmath_use_localeconv = xyes
; then
12773 $as_echo "#define USE_LOCALECONV 1" >>confdefs.h
12777 # Check for whether i18n number rewriting support for quadmath_snprintf
12778 # or Q printf hooks should be provided.
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether i18n number rewriting support for quadmath_snprintf should be added" >&5
12780 $as_echo_n "checking whether i18n number rewriting support for quadmath_snprintf should be added... " >&6; }
12781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12783 #include <langinfo.h>
12784 #include <limits.h>
12785 #include <string.h>
12787 #include <wctype.h>
12793 char decimal[MB_LEN_MAX];
12794 wctrans_t map = wctrans ("to_outpunct");
12795 wint_t wdecimal = towctrans (L'.', map);
12797 memset (&state, '\0', sizeof (state));
12798 wcrtomb (decimal, wdecimal, &state);
12799 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_MB);
12800 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_WC);
12801 s = nl_langinfo (_NL_CTYPE_MB_CUR_MAX);
12808 if ac_fn_c_try_compile
"$LINENO"; then :
12809 quadmath_use_i18n_number_h
=yes
12811 quadmath_use_i18n_number_h
=no
12813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_i18n_number_h" >&5
12815 $as_echo "$quadmath_use_i18n_number_h" >&6; }
12816 if test x
$quadmath_use_i18n_number_h = xyes
; then
12818 $as_echo "#define USE_I18N_NUMBER_H 1" >>confdefs.h
12822 cat >confcache
<<\_ACEOF
12823 # This file is a shell script that caches the results of configure
12824 # tests run on this system so they can be shared between configure
12825 # scripts and configure runs, see configure's option --config-cache.
12826 # It is not useful on other systems. If it contains results you don't
12827 # want to keep, you may remove or edit it.
12829 # config.status only pays attention to the cache file if you give it
12830 # the --recheck option to rerun configure.
12832 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12833 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12834 # following values.
12838 # The following way of writing the cache mishandles newlines in values,
12839 # but we know of no workaround that is simple, portable, and efficient.
12840 # So, we kill variables containing newlines.
12841 # Ultrix sh set writes to stderr and can't be redirected directly,
12842 # and sets the high bit in the cache file unless we assign to the vars.
12844 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12845 eval ac_val
=\$
$ac_var
12849 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12850 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12853 _ | IFS | as_nl
) ;; #(
12854 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12855 *) { eval $ac_var=; unset $ac_var;} ;;
12861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12862 *${as_nl}ac_space
=\
*)
12863 # `set' does not quote correctly, so add quotes: double-quote
12864 # substitution turns \\\\ into \\, and sed turns \\ into \.
12867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12870 # `set' quotes correctly as required by POSIX, so do not add quotes.
12871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12884 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12885 if test -w "$cache_file"; then
12886 test "x$cache_file" != "x/dev/null" &&
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12888 $as_echo "$as_me: updating cache $cache_file" >&6;}
12889 cat confcache
>$cache_file
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12892 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12897 if test ${multilib} = yes; then
12898 multilib_arg
="--enable-multilib"
12904 # We would like our source tree to be readonly. However when releases or
12905 # pre-releases are generated, the flex/bison generated files as well as the
12906 # various formats of manuals need to be included along with the rest of the
12907 # sources. Therefore we have --enable-generated-files-in-srcdir to do
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
12910 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
12911 # Check whether --enable-generated-files-in-srcdir was given.
12912 if test "${enable_generated_files_in_srcdir+set}" = set; then :
12913 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
12914 yes) enable_generated_files_in_srcdir
=yes ;;
12915 no
) enable_generated_files_in_srcdir
=no
;;
12916 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
12919 enable_generated_files_in_srcdir
=no
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
12923 $as_echo "$enable_generated_files_in_srcdir" >&6; }
12924 if test "$enable_generated_files_in_srcdir" = yes; then
12933 # Determine what GCC version number to use in filesystem paths.
12935 get_gcc_base_ver
="cat"
12937 # Check whether --with-gcc-major-version-only was given.
12938 if test "${with_gcc_major_version_only+set}" = set; then :
12939 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
12940 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
12948 ac_config_files
="$ac_config_files Makefile"
12950 cat >confcache
<<\_ACEOF
12951 # This file is a shell script that caches the results of configure
12952 # tests run on this system so they can be shared between configure
12953 # scripts and configure runs, see configure's option --config-cache.
12954 # It is not useful on other systems. If it contains results you don't
12955 # want to keep, you may remove or edit it.
12957 # config.status only pays attention to the cache file if you give it
12958 # the --recheck option to rerun configure.
12960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12962 # following values.
12966 # The following way of writing the cache mishandles newlines in values,
12967 # but we know of no workaround that is simple, portable, and efficient.
12968 # So, we kill variables containing newlines.
12969 # Ultrix sh set writes to stderr and can't be redirected directly,
12970 # and sets the high bit in the cache file unless we assign to the vars.
12972 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12973 eval ac_val
=\$
$ac_var
12977 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12981 _ | IFS | as_nl
) ;; #(
12982 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12983 *) { eval $ac_var=; unset $ac_var;} ;;
12989 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12990 *${as_nl}ac_space
=\
*)
12991 # `set' does not quote correctly, so add quotes: double-quote
12992 # substitution turns \\\\ into \\, and sed turns \\ into \.
12995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12998 # `set' quotes correctly as required by POSIX, so do not add quotes.
12999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13012 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13013 if test -w "$cache_file"; then
13014 test "x$cache_file" != "x/dev/null" &&
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13016 $as_echo "$as_me: updating cache $cache_file" >&6;}
13017 cat confcache
>$cache_file
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13020 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13025 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13026 # Let make expand exec_prefix.
13027 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13029 DEFS
=-DHAVE_CONFIG_H
13033 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13034 # 1. Remove the extension, and $U if already installed.
13035 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13036 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13037 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13038 # will be set to the directory where LIBOBJS objects are built.
13039 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13040 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13042 LIBOBJS
=$ac_libobjs
13044 LTLIBOBJS
=$ac_ltlibobjs
13047 if test -n "$EXEEXT"; then
13049 am__EXEEXT_FALSE
='#'
13051 am__EXEEXT_TRUE
='#'
13055 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13056 as_fn_error
"conditional \"AMDEP\" was never defined.
13057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13059 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13060 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13063 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
13064 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
13065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13068 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13071 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13072 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13075 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
13076 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
13077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13079 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
13080 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
13081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13083 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
13084 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
13085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13087 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
13088 as_fn_error
"conditional \"BUILD_LIBQUADMATH\" was never defined.
13089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13091 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
13092 as_fn_error
"conditional \"GENINSRC\" was never defined.
13093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13096 : ${CONFIG_STATUS=./config.status}
13098 ac_clean_files_save
=$ac_clean_files
13099 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13105 # Generated by $as_me.
13106 # Run this file to recreate the current configuration.
13107 # Compiler output produced by configure, useful for debugging
13108 # configure, is in config.log if it exists.
13111 ac_cs_recheck=false
13114 SHELL=\${CONFIG_SHELL-$SHELL}
13117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13118 ## -------------------- ##
13119 ## M4sh Initialization. ##
13120 ## -------------------- ##
13122 # Be more Bourne compatible
13123 DUALCASE
=1; export DUALCASE
# for MKS sh
13124 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13128 # is contrary to our usage. Disable this feature.
13129 alias -g '${1+"$@"}'='"$@"'
13130 setopt NO_GLOB_SUBST
13132 case `(set -o) 2>/dev/null` in #(
13144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13145 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13148 # Prefer a ksh shell builtin over an external printf program on Solaris,
13149 # but without wasting forks for bash or zsh.
13150 if test -z "$BASH_VERSION$ZSH_VERSION" \
13151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13152 as_echo='print
-r --'
13153 as_echo_n='print
-rn --'
13154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13155 as_echo='printf %s
\n'
13156 as_echo_n='printf %s
'
13158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13159 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13160 as_echo_n='/usr
/ucb
/echo -n'
13162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13163 as_echo_n_body='eval
13167 expr "X$arg" : "X\\(.*\\)$as_nl";
13168 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13170 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13172 export as_echo_n_body
13173 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13175 export as_echo_body
13176 as_echo='sh
-c $as_echo_body as_echo
'
13179 # The user is always right.
13180 if test "${PATH_SEPARATOR+set}" != set; then
13182 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13183 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13190 # We need space, tab and new line, in precisely that order. Quoting is
13191 # there to prevent editors from complaining about space-tab.
13192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13193 # splitting by setting IFS to empty value.)
13196 # Find who we are. Look in the path if we contain no directory separator.
13198 *[\\/]* ) as_myself=$0 ;;
13199 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13200 for as_dir in $PATH
13203 test -z "$as_dir" && as_dir=.
13204 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13210 # We did not find ourselves, most probably we were run as `sh COMMAND'
13211 # in which case we are not to be found in the path.
13212 if test "x$as_myself" = x
; then
13215 if test ! -f "$as_myself"; then
13216 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13220 # Unset variables that we do not need and which cause bugs (e.g. in
13221 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13222 # suppresses any "Segmentation fault" message there. '((' could
13223 # trigger a bug in pdksh 5.2.14.
13224 for as_var
in BASH_ENV ENV MAIL MAILPATH
13225 do eval test x\
${$as_var+set} = xset \
13226 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13239 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13242 # as_fn_error ERROR [LINENO LOG_FD]
13243 # ---------------------------------
13244 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13245 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13246 # script with status $?, using 1 if that was 0.
13249 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13251 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13252 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13254 $as_echo "$as_me: error: $1" >&2
13255 as_fn_exit
$as_status
13259 # as_fn_set_status STATUS
13260 # -----------------------
13261 # Set $? to STATUS, without forking.
13262 as_fn_set_status
()
13265 } # as_fn_set_status
13267 # as_fn_exit STATUS
13268 # -----------------
13269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13273 as_fn_set_status
$1
13279 # Portably unset VAR.
13282 { eval $1=; unset $1;}
13284 as_unset
=as_fn_unset
13285 # as_fn_append VAR VALUE
13286 # ----------------------
13287 # Append the text in VALUE to the end of the definition contained in VAR. Take
13288 # advantage of any shell optimizations that allow amortized linear growth over
13289 # repeated appends, instead of the typical quadratic growth present in naive
13291 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13292 eval 'as_fn_append ()
13303 # as_fn_arith ARG...
13304 # ------------------
13305 # Perform arithmetic evaluation on the ARGs, and store the result in the
13306 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13307 # must be portable across $(()) and expr.
13308 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13309 eval 'as_fn_arith ()
13316 as_val
=`expr "$@" || test $? -eq 1`
13321 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13322 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13328 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13329 as_basename
=basename
13334 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13340 as_me
=`$as_basename -- "$0" ||
13341 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13342 X"$0" : 'X\(//\)$' \| \
13343 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13345 sed '/^.*\/\([^/][^/]*\)\/*$/{
13359 # Avoid depending upon Character Ranges.
13360 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13361 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13362 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13363 as_cr_digits
='0123456789'
13364 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13366 ECHO_C
= ECHO_N
= ECHO_T
=
13367 case `echo -n x` in #(((((
13369 case `echo 'xy\c'` in
13370 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13372 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13379 rm -f conf$$ conf$$.exe conf$$.
file
13380 if test -d conf$$.dir
; then
13381 rm -f conf$$.dir
/conf$$.
file
13384 mkdir conf$$.dir
2>/dev
/null
13386 if (echo >conf$$.
file) 2>/dev
/null
; then
13387 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13389 # ... but there are two gotchas:
13390 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13391 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13392 # In both cases, we have to default to `cp -p'.
13393 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13395 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13403 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13404 rmdir conf$$.dir
2>/dev
/null
13409 # Create "$as_dir" as a directory, including parents if necessary.
13414 -*) as_dir
=.
/$as_dir;;
13416 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13420 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13421 *) as_qdir
=$as_dir;;
13423 as_dirs
="'$as_qdir' $as_dirs"
13424 as_dir
=`$as_dirname -- "$as_dir" ||
13425 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13426 X"$as_dir" : 'X\(//\)[^/]' \| \
13427 X"$as_dir" : 'X\(//\)$' \| \
13428 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13429 $as_echo X"$as_dir" |
13430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13434 /^X\(\/\/\)[^/].*/{
13447 test -d "$as_dir" && break
13449 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13450 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13454 if mkdir
-p .
2>/dev
/null
; then
13455 as_mkdir_p
='mkdir -p "$as_dir"'
13457 test -d .
/-p && rmdir .
/-p
13461 if test -x / >/dev
/null
2>&1; then
13462 as_test_x
='test -x'
13464 if ls -dL / >/dev
/null
2>&1; then
13471 if test -d "$1"; then
13477 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13478 ???[sx]*):;;*)false;;esac;fi
13482 as_executable_p
=$as_test_x
13484 # Sed expression to map a string onto a valid CPP name.
13485 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13487 # Sed expression to map a string onto a valid variable name.
13488 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13492 ## ----------------------------------- ##
13493 ## Main body of $CONFIG_STATUS script. ##
13494 ## ----------------------------------- ##
13496 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13499 # Save the log message, to keep $0 and so on meaningful, and to
13500 # report actual input values of CONFIG_FILES etc. instead of their
13501 # values after options handling.
13503 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13504 generated by GNU Autoconf 2.64. Invocation command line was
13506 CONFIG_FILES = $CONFIG_FILES
13507 CONFIG_HEADERS = $CONFIG_HEADERS
13508 CONFIG_LINKS = $CONFIG_LINKS
13509 CONFIG_COMMANDS = $CONFIG_COMMANDS
13512 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13517 case $ac_config_files in *"
13518 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13521 case $ac_config_headers in *"
13522 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13527 # Files that config.status was made for.
13528 config_files="$ac_config_files"
13529 config_headers="$ac_config_headers"
13530 config_commands="$ac_config_commands"
13534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13536 \`$as_me' instantiates files and other configuration actions
13537 from templates according to the current configuration. Unless the files
13538 and actions are specified as TAGs, all are instantiated by default.
13540 Usage: $0 [OPTION]... [TAG]...
13542 -h, --help print this help, then exit
13543 -V, --version print version number and configuration settings, then exit
13544 -q, --quiet, --silent
13545 do not print progress messages
13546 -d, --debug don't remove temporary files
13547 --recheck update $as_me by reconfiguring in the same conditions
13548 --file=FILE[:TEMPLATE]
13549 instantiate the configuration file FILE
13550 --header=FILE[:TEMPLATE]
13551 instantiate the configuration header FILE
13553 Configuration files:
13556 Configuration headers:
13559 Configuration commands:
13562 Report bugs to the package provider."
13565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13567 GCC Quad-precision Math Library config.status 0.1
13568 configured by $0, generated by GNU Autoconf 2.64,
13569 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13571 Copyright (C) 2009 Free Software Foundation, Inc.
13572 This config.status script is free software; the Free Software Foundation
13573 gives unlimited permission to copy, distribute and modify it."
13580 test -n "\$AWK" || AWK=awk
13583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13584 # The default lists apply if the user does not specify any file.
13590 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13591 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13602 # Handling of the options.
13603 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13605 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13606 $as_echo "$ac_cs_version"; exit ;;
13607 --debug |
--debu |
--deb |
--de |
--d |
-d )
13609 --file |
--fil |
--fi |
--f )
13612 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13614 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13615 ac_need_defaults
=false
;;
13616 --header |
--heade |
--head |
--hea )
13619 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13621 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13622 ac_need_defaults
=false
;;
13624 # Conflict between --help and --header
13625 as_fn_error
"ambiguous option: \`$1'
13626 Try \`$0 --help' for more information.";;
13627 --help |
--hel |
-h )
13628 $as_echo "$ac_cs_usage"; exit ;;
13629 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13630 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13633 # This is an error.
13634 -*) as_fn_error
"unrecognized option: \`$1'
13635 Try \`$0 --help' for more information." ;;
13637 *) as_fn_append ac_config_targets
" $1"
13638 ac_need_defaults
=false
;;
13644 ac_configure_extra_args
=
13646 if $ac_cs_silent; then
13648 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13653 if \$ac_cs_recheck; then
13654 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13656 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13657 CONFIG_SHELL='$SHELL'
13658 export CONFIG_SHELL
13663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13668 ## Running $as_me. ##
13674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13682 with_multisubdir="$with_multisubdir"
13683 with_multisrctop="$with_multisrctop"
13684 with_target_subdir="$with_target_subdir"
13685 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13686 multi_basedir="$multi_basedir"
13687 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13690 GFORTRAN="$GFORTRAN"
13691 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13694 # The HP-UX ksh and POSIX shell print the target directory to stdout
13695 # if CDPATH is set.
13696 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13698 sed_quote_subst='$sed_quote_subst'
13699 double_quote_subst='$double_quote_subst'
13700 delay_variable_subst='$delay_variable_subst'
13701 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13702 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13703 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13704 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13705 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13706 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13707 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13708 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13709 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13710 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13711 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13712 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13713 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13714 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13715 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13716 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13717 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13718 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13719 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13720 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13721 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13722 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13723 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13724 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13725 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13726 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13727 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13728 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13729 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13730 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13731 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13732 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13733 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13734 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13735 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13736 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13737 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13738 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13739 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13740 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13741 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13742 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13743 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13744 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13745 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13746 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13747 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13748 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13749 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"`'
13750 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13751 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13752 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13753 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13754 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13755 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13756 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13757 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13758 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13759 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13760 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13761 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13762 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13763 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13764 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13765 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13766 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13767 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13768 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13769 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13770 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13771 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13772 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13773 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13774 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13775 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13776 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13777 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13778 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13779 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13780 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13781 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13782 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13783 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13784 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13785 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13786 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13787 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13788 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13789 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13790 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13791 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13792 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13793 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13794 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13795 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13796 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13797 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13798 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13799 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13800 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13801 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13802 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13803 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13804 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13805 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13806 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13807 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13808 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13809 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13810 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13811 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13812 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13813 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13814 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13815 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13816 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13817 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13818 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13819 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13820 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13823 LTCFLAGS='$LTCFLAGS'
13824 compiler='$compiler_DEFAULT'
13826 # A function that is used when there is no print builtin or printf.
13827 func_fallback_echo ()
13829 eval 'cat <<_LTECHO_EOF
13834 # Quote evaled strings.
13848 deplibs_check_method \
13857 lt_cv_sys_global_symbol_pipe \
13858 lt_cv_sys_global_symbol_to_cdecl \
13859 lt_cv_sys_global_symbol_to_c_name_address \
13860 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13861 lt_prog_compiler_no_builtin_flag \
13862 lt_prog_compiler_wl \
13863 lt_prog_compiler_pic \
13864 lt_prog_compiler_static \
13865 lt_cv_prog_compiler_c_o \
13873 export_dynamic_flag_spec \
13874 whole_archive_flag_spec \
13875 compiler_needs_object \
13877 allow_undefined_flag \
13878 no_undefined_flag \
13879 hardcode_libdir_flag_spec \
13880 hardcode_libdir_flag_spec_ld \
13881 hardcode_libdir_separator \
13886 variables_saved_for_relink \
13888 library_names_spec \
13890 install_override_mode \
13894 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13895 *[\\\\\\\`\\"\\\$]*)
13896 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13899 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13904 # Double-quote double-evaled strings.
13905 for var in reload_cmds \
13906 old_postinstall_cmds \
13907 old_postuninstall_cmds \
13909 extract_expsyms_cmds \
13910 old_archive_from_new_cmds \
13911 old_archive_from_expsyms_cmds \
13913 archive_expsym_cmds \
13915 module_expsym_cmds \
13916 export_symbols_cmds \
13919 postuninstall_cmds \
13921 sys_lib_search_path_spec \
13922 sys_lib_dlsearch_path_spec; do
13923 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13924 *[\\\\\\\`\\"\\\$]*)
13925 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13928 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13933 ac_aux_dir='$ac_aux_dir'
13934 xsi_shell='$xsi_shell'
13935 lt_shell_append='$lt_shell_append'
13937 # See if we are running on zsh, and set the options which allow our
13938 # commands through without removal of \ escapes INIT.
13939 if test -n "\${ZSH_VERSION+set}" ; then
13940 setopt NO_GLOB_SUBST
13946 TIMESTAMP='$TIMESTAMP'
13955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13957 # Handling of arguments.
13958 for ac_config_target
in $ac_config_targets
13960 case $ac_config_target in
13961 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13962 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13963 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13964 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13965 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13967 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13972 # If the user did not use the arguments to specify the items to instantiate,
13973 # then the envvar interface is used. Set only those that are not.
13974 # We use the long form for the default assignment because of an extremely
13975 # bizarre bug on SunOS 4.1.3.
13976 if $ac_need_defaults; then
13977 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13978 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13979 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13982 # Have a temporary directory for convenience. Make it in the build tree
13983 # simply because there is no reason against having it here, and in addition,
13984 # creating and moving files from /tmp can sometimes cause problems.
13985 # Hook for its removal unless debugging.
13986 # Note that there is a small window in which the directory will not be cleaned:
13987 # after its creation but before its name has been assigned to `$tmp'.
13991 trap 'exit_status=$?
13992 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13994 trap 'as_fn_exit 1' 1 2 13 15
13996 # Create a (secure) tmp directory for tmp files.
13999 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14000 test -n "$tmp" && test -d "$tmp"
14003 tmp
=.
/conf$$
-$RANDOM
14004 (umask 077 && mkdir
"$tmp")
14005 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14007 # Set up the scripts for CONFIG_FILES section.
14008 # No need to generate them if there are no CONFIG_FILES.
14009 # This happens for instance with `./config.status config.h'.
14010 if test -n "$CONFIG_FILES"; then
14013 ac_cr
=`echo X | tr X '\015'`
14014 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14015 # But we know of no other shell where ac_cr would be empty at this
14016 # point, so we can use a bashism as a fallback.
14017 if test "x$ac_cr" = x
; then
14018 eval ac_cr
=\$
\'\\r
\'
14020 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14021 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14024 ac_cs_awk_cr
=$ac_cr
14027 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14032 echo "cat >conf$$subs.awk <<_ACEOF" &&
14033 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14035 } >conf$$subs.sh ||
14036 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14037 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14039 for ac_last_try in false false false false false :; do
14040 . ./conf$$subs.sh ||
14041 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14043 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14044 if test $ac_delim_n = $ac_delim_num; then
14046 elif $ac_last_try; then
14047 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14049 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14052 rm -f conf$$subs.sh
14054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14055 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14059 s/^/S["/; s
/!.
*/"]=/
14069 s/\(.\{148\}\).*/\1/
14071 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14076 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14083 s/\(.\{148\}\).*/\1/
14085 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14089 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14094 ' <conf$$subs.awk | sed '
14099 ' >>$CONFIG_STATUS || ac_write_fail=1
14100 rm -f conf$$subs.awk
14101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14103 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14104 for (key in S) S_is_set[key] = 1
14110 nfields = split(line, field, "@
")
14112 len = length(field[1])
14113 for (i = 2; i < nfields; i++) {
14115 keylen = length(key)
14116 if (S_is_set[key]) {
14118 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14119 len += length(value) + length(field[++i])
14130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14131 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14132 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14135 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14136 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14139 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14140 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14141 # trailing colons and then remove the whole line if VPATH becomes empty
14142 # (actually we leave an empty line to preserve line numbers).
14143 if test "x
$srcdir" = x.; then
14144 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14145 s/:*\$(srcdir):*/:/
14146 s/:*\${srcdir}:*/:/
14148 s/^\([^=]*=[ ]*\):*/\1/
14154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14155 fi # test -n "$CONFIG_FILES"
14157 # Set up the scripts for CONFIG_HEADERS section.
14158 # No need to generate them if there are no CONFIG_HEADERS.
14159 # This happens for instance with `./config.status Makefile'.
14160 if test -n "$CONFIG_HEADERS"; then
14161 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14165 # Transform confdefs.h into an awk script `defines.awk', embedded as
14166 # here-document in config.status, that substitutes the proper values into
14167 # config.h.in to produce config.h.
14169 # Create a delimiter string that does not exist in confdefs.h, to ease
14170 # handling of long lines.
14172 for ac_last_try in false false :; do
14173 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14174 if test -z "$ac_t"; then
14176 elif $ac_last_try; then
14177 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14179 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14183 # For the awk script, D is an array of macro values keyed by name,
14184 # likewise P contains macro parameters if any. Preserve backslash
14185 # newline sequences.
14187 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14189 s/.\{148\}/&'"$ac_delim"'/g
14192 s/^[ ]*#[ ]*define[ ][ ]*/ /
14199 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14201 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14205 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14206 D["\
1"]=" \
3\\\\\\n
"\\/p
14208 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14213 s/.\{148\}/&'"$ac_delim"'/g
14218 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14221 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14223 ' <confdefs.h | sed '
14224 s/'"$ac_delim"'/"\\\
14225 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14228 for (key in D) D_is_set[key] = 1
14231 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14233 split(line, arg, " ")
14234 if (arg[1] == "#") {
14238 defundef
= substr
(arg
[1], 2)
14241 split(mac1
, mac2
, "(") #)
14243 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14244 if (D_is_set
[macro
]) {
14245 # Preserve the white space surrounding the "#".
14246 print prefix
"define", macro P
[macro
] D
[macro
]
14249 # Replace #undef with comments. This is necessary, for example,
14250 # in the case of _POSIX_SOURCE, which is predefined and required
14251 # on some systems where configure will not decide to define it.
14252 if (defundef
== "undef") {
14253 print
"/*", prefix defundef
, macro
, "*/"
14261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14262 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14263 fi # test -n "$CONFIG_HEADERS"
14266 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14271 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14273 case $ac_mode$ac_tag in
14275 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14276 :[FH
]-) ac_tag
=-:-;;
14277 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14294 -) ac_f
="$tmp/stdin";;
14295 *) # Look for the file first in the build tree, then in the source tree
14296 # (if the path is not absolute). The absolute path cannot be DOS-style,
14297 # because $ac_f cannot contain `:'.
14301 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14303 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14305 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14306 as_fn_append ac_file_inputs
" '$ac_f'"
14309 # Let's still pretend it is `configure' which instantiates (i.e., don't
14310 # use $as_me), people would be surprised to read:
14311 # /* config.h. Generated by config.status. */
14312 configure_input
='Generated from '`
14313 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14315 if test x
"$ac_file" != x-
; then
14316 configure_input
="$ac_file. $configure_input"
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14318 $as_echo "$as_me: creating $ac_file" >&6;}
14320 # Neutralize special characters interpreted by sed in replacement strings.
14321 case $configure_input in #(
14322 *\
&* |
*\|
* |
*\\* )
14323 ac_sed_conf_input
=`$as_echo "$configure_input" |
14324 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14325 *) ac_sed_conf_input
=$configure_input;;
14329 *:-:* |
*:-) cat >"$tmp/stdin" \
14330 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14335 ac_dir
=`$as_dirname -- "$ac_file" ||
14336 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14337 X"$ac_file" : 'X\(//\)[^/]' \| \
14338 X"$ac_file" : 'X\(//\)$' \| \
14339 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14340 $as_echo X"$ac_file" |
14341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14345 /^X\(\/\/\)[^/].*/{
14358 as_dir
="$ac_dir"; as_fn_mkdir_p
14362 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14364 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14365 # A ".." for each directory in $ac_dir_suffix.
14366 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14367 case $ac_top_builddir_sub in
14368 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14369 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14372 ac_abs_top_builddir
=$ac_pwd
14373 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14374 # for backward compatibility:
14375 ac_top_builddir
=$ac_top_build_prefix
14378 .
) # We are building in place.
14380 ac_top_srcdir
=$ac_top_builddir_sub
14381 ac_abs_top_srcdir
=$ac_pwd ;;
14382 [\\/]* | ?
:[\\/]* ) # Absolute name.
14383 ac_srcdir
=$srcdir$ac_dir_suffix;
14384 ac_top_srcdir
=$srcdir
14385 ac_abs_top_srcdir
=$srcdir ;;
14386 *) # Relative name.
14387 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14388 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14389 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14391 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14401 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14402 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14404 ac_MKDIR_P
=$MKDIR_P
14406 [\\/$
]* | ?
:[\\/]* ) ;;
14407 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14412 # If the template does not know about datarootdir, expand it.
14413 # FIXME: This hack should be removed a few years after 2.60.
14414 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14425 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14426 *datarootdir
*) ac_datarootdir_seen
=yes;;
14427 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14429 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14432 ac_datarootdir_hack='
14433 s&@datadir@&$datadir&g
14434 s&@docdir@&$docdir&g
14435 s&@infodir@&$infodir&g
14436 s&@localedir@&$localedir&g
14437 s&@mandir@&$mandir&g
14438 s&\\\${datarootdir}&$datarootdir&g' ;;
14442 # Neutralize VPATH when `$srcdir' = `.'.
14443 # Shell code in configure.ac might set extrasub.
14444 # FIXME: do we really want to maintain this feature?
14445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14446 ac_sed_extra="$ac_vpsub
14449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14451 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14452 s|@configure_input@|
$ac_sed_conf_input|
;t t
14453 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14454 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14455 s
&@srcdir@
&$ac_srcdir&;t t
14456 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14457 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14458 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14459 s
&@builddir@
&$ac_builddir&;t t
14460 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14461 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14462 s
&@INSTALL@
&$ac_INSTALL&;t t
14463 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14464 $ac_datarootdir_hack
14466 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14467 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14469 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14470 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14471 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14473 which seems to be undefined. Please make sure it is defined." >&5
14474 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14475 which seems to be undefined. Please make sure it is defined." >&2;}
14479 -) cat "$tmp/out" && rm -f "$tmp/out";;
14480 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14482 || as_fn_error "could not create $ac_file" "$LINENO" 5
14488 if test x"$ac_file" != x-; then
14490 $as_echo "/* $configure_input */" \
14491 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14492 } >"$tmp/config.h" \
14493 || as_fn_error "could not create $ac_file" "$LINENO" 5
14494 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14496 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14499 mv "$tmp/config.h" "$ac_file" \
14500 || as_fn_error "could not create $ac_file" "$LINENO" 5
14503 $as_echo "/* $configure_input */" \
14504 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14505 || as_fn_error "could not create -" "$LINENO" 5
14507 # Compute "$ac_file"'s index
in $config_headers.
14510 for _am_header
in $config_headers :; do
14511 case $_am_header in
14512 $_am_arg |
$_am_arg:* )
14515 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14518 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14519 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14520 X"$_am_arg" : 'X\(//\)[^/]' \| \
14521 X"$_am_arg" : 'X\(//\)$' \| \
14522 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14523 $as_echo X"$_am_arg" |
14524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14528 /^X\(\/\/\)[^/].*/{
14540 s/.*/./; q'`/stamp-h
$_am_stamp_count
14543 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14544 $as_echo "$as_me: executing $ac_file commands" >&6;}
14549 case $ac_file$ac_mode in
14551 # Only add multilib support code if we just rebuilt the top-level
14553 case " $CONFIG_FILES " in
14555 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14558 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14559 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14560 # are listed without --file. Let's play safe and only enable the eval
14561 # if we detect the quoting.
14562 case $CONFIG_FILES in
14563 *\'*) eval set x
"$CONFIG_FILES" ;;
14564 *) set x
$CONFIG_FILES ;;
14569 # Strip MF so we end up with the name of the file.
14570 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14571 # Check whether this is an Automake generated Makefile or not.
14572 # We used to match only the files named `Makefile.in', but
14573 # some people rename them; so instead we look at the file content.
14574 # Grep'ing the first line is not enough: some people post-process
14575 # each Makefile.in and add a new line on top of each file to say so.
14576 # Grep'ing the whole file is not good either: AIX grep has a line
14577 # limit of 2048, but all sed's we know have understand at least 4000.
14578 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14579 dirpart
=`$as_dirname -- "$mf" ||
14580 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14581 X"$mf" : 'X\(//\)[^/]' \| \
14582 X"$mf" : 'X\(//\)$' \| \
14583 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14589 /^X\(\/\/\)[^/].*/{
14605 # Extract the definition of DEPDIR, am__include, and am__quote
14606 # from the Makefile without running `make'.
14607 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14608 test -z "$DEPDIR" && continue
14609 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14610 test -z "am__include" && continue
14611 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14612 # When using ansi2knr, U may be empty or an underscore; expand it
14613 U
=`sed -n 's/^U = //p' < "$mf"`
14614 # Find all dependency output files, they are included files with
14615 # $(DEPDIR) in their names. We invoke sed twice because it is the
14616 # simplest approach to changing $(DEPDIR) to its actual value in the
14618 for file in `sed -n "
14619 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14620 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14621 # Make sure the directory exists.
14622 test -f "$dirpart/$file" && continue
14623 fdir
=`$as_dirname -- "$file" ||
14624 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14625 X"$file" : 'X\(//\)[^/]' \| \
14626 X"$file" : 'X\(//\)$' \| \
14627 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14628 $as_echo X"$file" |
14629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14633 /^X\(\/\/\)[^/].*/{
14646 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14647 # echo "creating $dirpart/$file"
14648 echo '# dummy' > "$dirpart/$file"
14655 # See if we are running on zsh, and set the options which allow our
14656 # commands through without removal of \ escapes.
14657 if test -n "${ZSH_VERSION+set}" ; then
14658 setopt NO_GLOB_SUBST
14661 cfgfile
="${ofile}T"
14662 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14665 cat <<_LT_EOF >> "$cfgfile"
14668 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14669 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14670 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14671 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14673 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14674 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14675 # Written by Gordon Matzigkeit, 1996
14677 # This file is part of GNU Libtool.
14679 # GNU Libtool is free software; you can redistribute it and/or
14680 # modify it under the terms of the GNU General Public License as
14681 # published by the Free Software Foundation; either version 2 of
14682 # the License, or (at your option) any later version.
14684 # As a special exception to the GNU General Public License,
14685 # if you distribute this file as part of a program or library that
14686 # is built using GNU Libtool, you may include this file under the
14687 # same distribution terms that you use for the rest of that program.
14689 # GNU Libtool is distributed in the hope that it will be useful,
14690 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14691 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14692 # GNU General Public License for more details.
14694 # You should have received a copy of the GNU General Public License
14695 # along with GNU Libtool; see the file COPYING. If not, a copy
14696 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14697 # obtained by writing to the Free Software Foundation, Inc.,
14698 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14701 # The names of the tagged configurations supported by this script.
14704 # ### BEGIN LIBTOOL CONFIG
14706 # Which release of libtool.m4 was used?
14707 macro_version=$macro_version
14708 macro_revision=$macro_revision
14710 # Whether or not to build shared libraries.
14711 build_libtool_libs=$enable_shared
14713 # Whether or not to build static libraries.
14714 build_old_libs=$enable_static
14716 # What type of objects to build.
14719 # Whether or not to optimize for fast installation.
14720 fast_install=$enable_fast_install
14722 # Shell to use when invoking shell scripts.
14725 # An echo program that protects backslashes.
14729 host_alias=$host_alias
14733 # The build system.
14734 build_alias=$build_alias
14738 # A sed program that does not truncate output.
14741 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14742 Xsed="\$SED -e 1s/^X//"
14744 # A grep program that handles long lines.
14750 # A literal string matcher.
14753 # A BSD- or MS-compatible name lister.
14756 # Whether we need soft or hard links.
14759 # What is the maximum length of a command?
14760 max_cmd_len=$max_cmd_len
14762 # Object file suffix (normally "o").
14765 # Executable file suffix (normally "").
14768 # whether the shell understands "unset".
14771 # turn spaces into newlines.
14774 # turn newlines into spaces.
14777 # An object symbol dumper.
14778 OBJDUMP=$lt_OBJDUMP
14780 # Method to check whether dependent libraries are shared objects.
14781 deplibs_check_method=$lt_deplibs_check_method
14783 # Command to use when deplibs_check_method == "file_magic".
14784 file_magic_cmd=$lt_file_magic_cmd
14788 AR_FLAGS=$lt_AR_FLAGS
14790 # A symbol stripping program.
14793 # Commands used to install an old-style archive.
14795 old_postinstall_cmds=$lt_old_postinstall_cmds
14796 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14798 # Whether to use a lock for old archive extraction.
14799 lock_old_archive_extraction=$lock_old_archive_extraction
14804 # LTCC compiler flags.
14805 LTCFLAGS=$lt_CFLAGS
14807 # Take the output of nm and produce a listing of raw symbols and C names.
14808 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14810 # Transform the output of nm in a proper C declaration.
14811 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14813 # Transform the output of nm in a C name address pair.
14814 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14816 # Transform the output of nm in a C name address pair when lib prefix is needed.
14817 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14819 # The name of the directory that contains temporary libtool files.
14822 # Used to examine libraries when file_magic_cmd begins with "file".
14823 MAGIC_CMD=$MAGIC_CMD
14825 # Must we lock files when doing compilation?
14826 need_locks=$lt_need_locks
14828 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14829 DSYMUTIL=$lt_DSYMUTIL
14831 # Tool to change global to local symbols on Mac OS X.
14834 # Tool to manipulate fat objects and archives on Mac OS X.
14837 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14840 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14841 OTOOL64=$lt_OTOOL64
14843 # Old archive suffix (normally "a").
14846 # Shared library suffix (normally ".so").
14847 shrext_cmds=$lt_shrext_cmds
14849 # The commands to extract the exported symbol list from a shared archive.
14850 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14852 # Variables whose values should be saved in libtool wrapper scripts and
14853 # restored at link time.
14854 variables_saved_for_relink=$lt_variables_saved_for_relink
14856 # Do we need the "lib" prefix for modules?
14857 need_lib_prefix=$need_lib_prefix
14859 # Do we need a version for libraries?
14860 need_version=$need_version
14862 # Library versioning type.
14863 version_type=$version_type
14865 # Shared library runtime path variable.
14866 runpath_var=$runpath_var
14868 # Shared library path variable.
14869 shlibpath_var=$shlibpath_var
14871 # Is shlibpath searched before the hard-coded library search path?
14872 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14874 # Format of library name prefix.
14875 libname_spec=$lt_libname_spec
14877 # List of archive names. First name is the real one, the rest are links.
14878 # The last name is the one that the linker finds with -lNAME
14879 library_names_spec=$lt_library_names_spec
14881 # The coded name of the library, if different from the real name.
14882 soname_spec=$lt_soname_spec
14884 # Permission mode override for installation of shared libraries.
14885 install_override_mode=$lt_install_override_mode
14887 # Command to use after installation of a shared archive.
14888 postinstall_cmds=$lt_postinstall_cmds
14890 # Command to use after uninstallation of a shared archive.
14891 postuninstall_cmds=$lt_postuninstall_cmds
14893 # Commands used to finish a libtool library installation in a directory.
14894 finish_cmds=$lt_finish_cmds
14896 # As "finish_cmds", except a single script fragment to be evaled but
14898 finish_eval=$lt_finish_eval
14900 # Whether we should hardcode library paths into libraries.
14901 hardcode_into_libs=$hardcode_into_libs
14903 # Compile-time system search path for libraries.
14904 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14906 # Run-time system search path for libraries.
14907 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14909 # Whether dlopen is supported.
14910 dlopen_support=$enable_dlopen
14912 # Whether dlopen of programs is supported.
14913 dlopen_self=$enable_dlopen_self
14915 # Whether dlopen of statically linked programs is supported.
14916 dlopen_self_static=$enable_dlopen_self_static
14918 # Commands to strip libraries.
14919 old_striplib=$lt_old_striplib
14920 striplib=$lt_striplib
14923 # The linker used to build libraries.
14926 # How to create reloadable object files.
14927 reload_flag=$lt_reload_flag
14928 reload_cmds=$lt_reload_cmds
14930 # Commands used to build an old-style archive.
14931 old_archive_cmds=$lt_old_archive_cmds
14933 # A language specific compiler.
14936 # Is the compiler the GNU compiler?
14939 # Compiler flag to turn off builtin functions.
14940 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14942 # How to pass a linker flag through the compiler.
14943 wl=$lt_lt_prog_compiler_wl
14945 # Additional compiler flags for building library objects.
14946 pic_flag=$lt_lt_prog_compiler_pic
14948 # Compiler flag to prevent dynamic linking.
14949 link_static_flag=$lt_lt_prog_compiler_static
14951 # Does compiler simultaneously support -c and -o options?
14952 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14954 # Whether or not to add -lc for building shared libraries.
14955 build_libtool_need_lc=$archive_cmds_need_lc
14957 # Whether or not to disallow shared libs when runtime libs are static.
14958 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14960 # Compiler flag to allow reflexive dlopens.
14961 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14963 # Compiler flag to generate shared objects directly from archives.
14964 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14966 # Whether the compiler copes with passing no objects directly.
14967 compiler_needs_object=$lt_compiler_needs_object
14969 # Create an old-style archive from a shared archive.
14970 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14972 # Create a temporary old-style archive to link instead of a shared archive.
14973 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14975 # Commands used to build a shared archive.
14976 archive_cmds=$lt_archive_cmds
14977 archive_expsym_cmds=$lt_archive_expsym_cmds
14979 # Commands used to build a loadable module if different from building
14980 # a shared archive.
14981 module_cmds=$lt_module_cmds
14982 module_expsym_cmds=$lt_module_expsym_cmds
14984 # Whether we are building with GNU ld or not.
14985 with_gnu_ld=$lt_with_gnu_ld
14987 # Flag that allows shared libraries with undefined symbols to be built.
14988 allow_undefined_flag=$lt_allow_undefined_flag
14990 # Flag that enforces no undefined symbols.
14991 no_undefined_flag=$lt_no_undefined_flag
14993 # Flag to hardcode \$libdir into a binary during linking.
14994 # This must work even if \$libdir does not exist
14995 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14997 # If ld is used when linking, flag to hardcode \$libdir into a binary
14998 # during linking. This must work even if \$libdir does not exist.
14999 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15001 # Whether we need a single "-rpath" flag with a separated argument.
15002 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15004 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15005 # DIR into the resulting binary.
15006 hardcode_direct=$hardcode_direct
15008 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15009 # DIR into the resulting binary and the resulting library dependency is
15010 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15011 # library is relocated.
15012 hardcode_direct_absolute=$hardcode_direct_absolute
15014 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15015 # into the resulting binary.
15016 hardcode_minus_L=$hardcode_minus_L
15018 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15019 # into the resulting binary.
15020 hardcode_shlibpath_var=$hardcode_shlibpath_var
15022 # Set to "yes" if building a shared library automatically hardcodes DIR
15023 # into the library and all subsequent libraries and executables linked
15025 hardcode_automatic=$hardcode_automatic
15027 # Set to yes if linker adds runtime paths of dependent libraries
15028 # to runtime path list.
15029 inherit_rpath=$inherit_rpath
15031 # Whether libtool must link a program against all its dependency libraries.
15032 link_all_deplibs=$link_all_deplibs
15034 # Fix the shell variable \$srcfile for the compiler.
15035 fix_srcfile_path=$lt_fix_srcfile_path
15037 # Set to "yes" if exported symbols are required.
15038 always_export_symbols=$always_export_symbols
15040 # The commands to list exported symbols.
15041 export_symbols_cmds=$lt_export_symbols_cmds
15043 # Symbols that should not be listed in the preloaded symbols.
15044 exclude_expsyms=$lt_exclude_expsyms
15046 # Symbols that must always be exported.
15047 include_expsyms=$lt_include_expsyms
15049 # Commands necessary for linking programs (against libraries) with templates.
15050 prelink_cmds=$lt_prelink_cmds
15052 # Specify filename containing input files.
15053 file_list_spec=$lt_file_list_spec
15055 # How to hardcode a shared library path into an executable.
15056 hardcode_action=$hardcode_action
15058 # ### END LIBTOOL CONFIG
15064 cat <<\_LT_EOF
>> "$cfgfile"
15065 # AIX sometimes has problems with the GCC collect2 program. For some
15066 # reason, if we set the COLLECT_NAMES environment variable, the problems
15067 # vanish in a puff of smoke.
15068 if test "X${COLLECT_NAMES+set}" != Xset
; then
15070 export COLLECT_NAMES
15077 ltmain
="$ac_aux_dir/ltmain.sh"
15080 # We use sed instead of cat because bash on DJGPP gets confused if
15081 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15082 # text mode, it properly converts lines to CR/LF. This bash problem
15083 # is reportedly fixed, but why not run on old versions too?
15084 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15085 ||
(rm -f "$cfgfile"; exit 1)
15089 cat << \_LT_EOF
>> "$cfgfile"
15091 # func_dirname file append nondir_replacement
15092 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15093 # otherwise set result to NONDIR_REPLACEMENT.
15097 */*) func_dirname_result
="${1%/*}${2}" ;;
15098 * ) func_dirname_result
="${3}" ;;
15102 # func_basename file
15105 func_basename_result
="${1##*/}"
15108 # func_dirname_and_basename file append nondir_replacement
15109 # perform func_basename and func_dirname in a single function
15111 # dirname: Compute the dirname of FILE. If nonempty,
15112 # add APPEND to the result, otherwise set result
15113 # to NONDIR_REPLACEMENT.
15114 # value returned in "$func_dirname_result"
15115 # basename: Compute filename of FILE.
15116 # value retuned in "$func_basename_result"
15117 # Implementation must be kept synchronized with func_dirname
15118 # and func_basename. For efficiency, we do not delegate to
15119 # those functions but instead duplicate the functionality here.
15120 func_dirname_and_basename
()
15123 */*) func_dirname_result
="${1%/*}${2}" ;;
15124 * ) func_dirname_result
="${3}" ;;
15126 func_basename_result
="${1##*/}"
15129 # func_stripname prefix suffix name
15130 # strip PREFIX and SUFFIX off of NAME.
15131 # PREFIX and SUFFIX must not contain globbing or regex special
15132 # characters, hashes, percent signs, but SUFFIX may contain a leading
15133 # dot (in which case that matches only a dot).
15136 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15137 # positional parameters, so assign one to ordinary parameter first.
15138 func_stripname_result
=${3}
15139 func_stripname_result
=${func_stripname_result#"${1}"}
15140 func_stripname_result
=${func_stripname_result%"${2}"}
15146 func_opt_split_opt
=${1%%=*}
15147 func_opt_split_arg
=${1#*=}
15154 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15155 *) func_lo2o_result
=${1} ;;
15159 # func_xform libobj-or-source
15162 func_xform_result
=${1%.*}.lo
15165 # func_arith arithmetic-term...
15168 func_arith_result
=$
(( $
* ))
15172 # STRING may not start with a hyphen.
15175 func_len_result
=${#1}
15180 *) # Bourne compatible functions.
15181 cat << \_LT_EOF
>> "$cfgfile"
15183 # func_dirname file append nondir_replacement
15184 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15185 # otherwise set result to NONDIR_REPLACEMENT.
15188 # Extract subdirectory from the argument.
15189 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15190 if test "X$func_dirname_result" = "X${1}"; then
15191 func_dirname_result
="${3}"
15193 func_dirname_result
="$func_dirname_result${2}"
15197 # func_basename file
15200 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15204 # func_stripname prefix suffix name
15205 # strip PREFIX and SUFFIX off of NAME.
15206 # PREFIX and SUFFIX must not contain globbing or regex special
15207 # characters, hashes, percent signs, but SUFFIX may contain a leading
15208 # dot (in which case that matches only a dot).
15209 # func_strip_suffix prefix name
15213 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15214 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15219 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15220 my_sed_long_arg
='1s/^-[^=]*=//'
15225 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15226 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15232 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15235 # func_xform libobj-or-source
15238 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15241 # func_arith arithmetic-term...
15244 func_arith_result
=`expr "$@"`
15248 # STRING may not start with a hyphen.
15251 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15257 case $lt_shell_append in
15259 cat << \_LT_EOF
>> "$cfgfile"
15261 # func_append var value
15262 # Append VALUE to the end of shell variable VAR.
15270 cat << \_LT_EOF
>> "$cfgfile"
15272 # func_append var value
15273 # Append VALUE to the end of shell variable VAR.
15284 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15285 ||
(rm -f "$cfgfile"; exit 1)
15287 mv -f "$cfgfile" "$ofile" ||
15288 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15299 ac_clean_files
=$ac_clean_files_save
15301 test $ac_write_fail = 0 ||
15302 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15305 # configure is writing to config.log, and then calls config.status.
15306 # config.status does its own redirection, appending to config.log.
15307 # Unfortunately, on DOS this fails, as config.log is still kept open
15308 # by configure, so config.status won't be able to write to it; its
15309 # output is simply discarded. So we exec the FD to /dev/null,
15310 # effectively closing config.log, so it can be properly (re)opened and
15311 # appended to by config.status. When coming back to configure, we
15312 # need to make the FD available again.
15313 if test "$no_create" != yes; then
15315 ac_config_status_args
=
15316 test "$silent" = yes &&
15317 ac_config_status_args
="$ac_config_status_args --quiet"
15319 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15321 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15322 # would make configure fail if this is the last instruction.
15323 $ac_cs_success || as_fn_exit $?
15325 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15327 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}