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
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || 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
604 BUILD_LIBQUADMATH_FALSE
605 BUILD_LIBQUADMATH_TRUE
606 LIBQUAD_USE_SYMVER_SUN_FALSE
607 LIBQUAD_USE_SYMVER_SUN_TRUE
608 LIBQUAD_USE_SYMVER_GNU_FALSE
609 LIBQUAD_USE_SYMVER_GNU_TRUE
610 LIBQUAD_USE_SYMVER_FALSE
611 LIBQUAD_USE_SYMVER_TRUE
616 MAINTAINER_MODE_FALSE
663 INSTALL_STRIP_PROGRAM
718 program_transform_name
731 enable_option_checking
732 enable_version_specific_runtime_libs
737 enable_dependency_tracking
740 enable_maintainer_mode
743 ac_precious_vars
='build_alias
754 # Initialize some variables set by options.
756 ac_init_version
=false
757 ac_unrecognized_opts
=
759 # The variables have the same names as the options, with
760 # dashes changed to underlines.
768 program_transform_name
=s
,x
,x
,
776 # Installation directory options.
777 # These are left unexpanded so users can "make install exec_prefix=/foo"
778 # and all the variables that are supposed to be based on exec_prefix
779 # by default will actually change.
780 # Use braces instead of parens because sh, perl, etc. also accept them.
781 # (The list follows the same order as the GNU Coding Standards.)
782 bindir
='${exec_prefix}/bin'
783 sbindir
='${exec_prefix}/sbin'
784 libexecdir
='${exec_prefix}/libexec'
785 datarootdir
='${prefix}/share'
786 datadir
='${datarootdir}'
787 sysconfdir
='${prefix}/etc'
788 sharedstatedir
='${prefix}/com'
789 localstatedir
='${prefix}/var'
790 includedir
='${prefix}/include'
791 oldincludedir
='/usr/include'
792 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
793 infodir
='${datarootdir}/info'
798 libdir
='${exec_prefix}/lib'
799 localedir
='${datarootdir}/locale'
800 mandir
='${datarootdir}/man'
806 # If the previous option needs an argument, assign it.
807 if test -n "$ac_prev"; then
808 eval $ac_prev=\
$ac_option
814 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
824 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
826 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
829 -build |
--build |
--buil |
--bui |
--bu)
830 ac_prev
=build_alias
;;
831 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
832 build_alias
=$ac_optarg ;;
834 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
835 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
836 ac_prev
=cache_file
;;
837 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
838 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
839 cache_file
=$ac_optarg ;;
842 cache_file
=config.cache
;;
844 -datadir |
--datadir |
--datadi |
--datad)
846 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
847 datadir
=$ac_optarg ;;
849 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
850 |
--dataroo |
--dataro |
--datar)
851 ac_prev
=datarootdir
;;
852 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
853 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
854 datarootdir
=$ac_optarg ;;
856 -disable-* |
--disable-*)
857 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
860 as_fn_error
"invalid feature name: $ac_useropt"
861 ac_useropt_orig
=$ac_useropt
862 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep
=', ';;
870 eval enable_
$ac_useropt=no
;;
872 -docdir |
--docdir |
--docdi |
--doc |
--do)
874 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
877 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
879 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
882 -enable-* |
--enable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=\
$ac_optarg ;;
898 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
899 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
900 |
--exec |
--exe |
--ex)
901 ac_prev
=exec_prefix
;;
902 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
903 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
904 |
--exec=* |
--exe=* |
--ex=*)
905 exec_prefix
=$ac_optarg ;;
907 -gas |
--gas |
--ga |
--g)
908 # Obsolete; use --with-gas.
911 -help |
--help |
--hel |
--he |
-h)
913 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
914 ac_init_help
=recursive
;;
915 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
916 ac_init_help
=short
;;
918 -host |
--host |
--hos |
--ho)
919 ac_prev
=host_alias
;;
920 -host=* |
--host=* |
--hos=* |
--ho=*)
921 host_alias
=$ac_optarg ;;
923 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
925 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
927 htmldir
=$ac_optarg ;;
929 -includedir |
--includedir |
--includedi |
--included |
--include \
930 |
--includ |
--inclu |
--incl |
--inc)
931 ac_prev
=includedir
;;
932 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
933 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
934 includedir
=$ac_optarg ;;
936 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
938 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
939 infodir
=$ac_optarg ;;
941 -libdir |
--libdir |
--libdi |
--libd)
943 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
946 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
947 |
--libexe |
--libex |
--libe)
948 ac_prev
=libexecdir
;;
949 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
950 |
--libexe=* |
--libex=* |
--libe=*)
951 libexecdir
=$ac_optarg ;;
953 -localedir |
--localedir |
--localedi |
--localed |
--locale)
955 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
956 localedir
=$ac_optarg ;;
958 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
959 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
960 ac_prev
=localstatedir
;;
961 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
962 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
963 localstatedir
=$ac_optarg ;;
965 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
967 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
971 # Obsolete; use --without-fp.
974 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
975 |
--no-cr |
--no-c |
-n)
978 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
979 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
982 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
983 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
984 |
--oldin |
--oldi |
--old |
--ol |
--o)
985 ac_prev
=oldincludedir
;;
986 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
987 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
988 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
989 oldincludedir
=$ac_optarg ;;
991 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
993 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
996 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
997 |
--program-pre |
--program-pr |
--program-p)
998 ac_prev
=program_prefix
;;
999 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1000 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1001 program_prefix
=$ac_optarg ;;
1003 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1004 |
--program-suf |
--program-su |
--program-s)
1005 ac_prev
=program_suffix
;;
1006 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1007 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1008 program_suffix
=$ac_optarg ;;
1010 -program-transform-name |
--program-transform-name \
1011 |
--program-transform-nam |
--program-transform-na \
1012 |
--program-transform-n |
--program-transform- \
1013 |
--program-transform |
--program-transfor \
1014 |
--program-transfo |
--program-transf \
1015 |
--program-trans |
--program-tran \
1016 |
--progr-tra |
--program-tr |
--program-t)
1017 ac_prev
=program_transform_name
;;
1018 -program-transform-name=* |
--program-transform-name=* \
1019 |
--program-transform-nam=* |
--program-transform-na=* \
1020 |
--program-transform-n=* |
--program-transform-=* \
1021 |
--program-transform=* |
--program-transfor=* \
1022 |
--program-transfo=* |
--program-transf=* \
1023 |
--program-trans=* |
--program-tran=* \
1024 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1025 program_transform_name
=$ac_optarg ;;
1027 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1029 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1030 pdfdir
=$ac_optarg ;;
1032 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1034 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1037 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1038 |
-silent |
--silent |
--silen |
--sile |
--sil)
1041 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1043 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1045 sbindir
=$ac_optarg ;;
1047 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1048 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1049 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1051 ac_prev
=sharedstatedir
;;
1052 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1053 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1054 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1056 sharedstatedir
=$ac_optarg ;;
1058 -site |
--site |
--sit)
1060 -site=* |
--site=* |
--sit=*)
1063 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1065 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1066 srcdir
=$ac_optarg ;;
1068 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1069 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1070 ac_prev
=sysconfdir
;;
1071 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1072 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1073 sysconfdir
=$ac_optarg ;;
1075 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1076 ac_prev
=target_alias
;;
1077 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1078 target_alias
=$ac_optarg ;;
1080 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1083 -version |
--version |
--versio |
--versi |
--vers |
-V)
1084 ac_init_version
=: ;;
1087 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1090 as_fn_error
"invalid package name: $ac_useropt"
1091 ac_useropt_orig
=$ac_useropt
1092 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1098 ac_unrecognized_sep
=', ';;
1100 eval with_
$ac_useropt=\
$ac_optarg ;;
1102 -without-* |
--without-*)
1103 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 as_fn_error
"invalid package name: $ac_useropt"
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval with_
$ac_useropt=no
;;
1119 # Obsolete; use --with-x.
1122 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1123 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1124 ac_prev
=x_includes
;;
1125 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1126 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1127 x_includes
=$ac_optarg ;;
1129 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1130 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1131 ac_prev
=x_libraries
;;
1132 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1133 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1134 x_libraries
=$ac_optarg ;;
1136 -*) as_fn_error
"unrecognized option: \`$ac_option'
1137 Try \`$0 --help' for more information."
1141 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 case $ac_envvar in #(
1144 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1145 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1147 eval $ac_envvar=\
$ac_optarg
1148 export $ac_envvar ;;
1151 # FIXME: should be removed in autoconf 3.0.
1152 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1161 if test -n "$ac_prev"; then
1162 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1163 as_fn_error
"missing argument to $ac_option"
1166 if test -n "$ac_unrecognized_opts"; then
1167 case $enable_option_checking in
1169 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1170 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174 # Check all directory arguments for consistency.
1175 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val
=\$
$ac_var
1181 # Remove trailing slashes.
1184 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1185 eval $ac_var=\
$ac_val;;
1187 # Be sure to have absolute directory names.
1189 [\\/$
]* | ?
:[\\/]* ) continue;;
1190 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1192 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1200 target
=$target_alias
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x
; then
1204 if test "x$build_alias" = x
; then
1205 cross_compiling
=maybe
1206 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1207 If a cross compiler is detected then cross compile mode will be used." >&2
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1216 test "$silent" = yes && exec 6>/dev
/null
1219 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di
=`ls -di .` &&
1221 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1222 as_fn_error
"working directory cannot be determined"
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 as_fn_error
"pwd does not report name of working directory"
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted
=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir
=`$as_dirname -- "$as_myself" ||
1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$as_myself" : 'X\(//\)[^/]' \| \
1234 X"$as_myself" : 'X\(//\)$' \| \
1235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236 $as_echo X"$as_myself" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted
=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1263 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --program-prefix=PREFIX prepend PREFIX to installed program names
1352 --program-suffix=SUFFIX append SUFFIX to installed program names
1353 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1356 --build=BUILD configure
for building on BUILD
[guessed
]
1357 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1358 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1369 --disable-option-checking ignore unrecognized
--enable/--with options
1370 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1371 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1372 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1373 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1374 --enable-static[=PKGS
] build static libraries
[default
=yes]
1375 --enable-fast-install[=PKGS
]
1376 optimize
for fast installation
[default
=yes]
1377 --disable-dependency-tracking speeds up one-time build
1378 --enable-dependency-tracking do not reject slow dependency extractors
1379 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1380 --enable-maintainer-mode enable make rules and dependencies not useful
1381 (and sometimes confusing
) to the casual installer
1382 --enable-multilib build many library versions
(default
)
1385 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1386 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1387 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1389 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1391 Some influential environment variables
:
1392 CC C compiler
command
1393 CFLAGS C compiler flags
1394 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1395 nonstandard directory
<lib dir
>
1396 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1397 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1398 you have headers
in a nonstandard directory
<include dir
>
1401 Use these variables to override the choices made by
`configure' or to help
1402 it to find libraries and programs with nonstandard names/locations.
1404 Report bugs to the package provider.
1409 if test "$ac_init_help" = "recursive"; then
1410 # If there are subdirs, report their specific --help.
1411 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412 test -d "$ac_dir" ||
1413 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1421 # A ".." for each directory in $ac_dir_suffix.
1422 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1423 case $ac_top_builddir_sub in
1424 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1428 ac_abs_top_builddir=$ac_pwd
1429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430 # for backward compatibility:
1431 ac_top_builddir=$ac_top_build_prefix
1434 .) # We are building in place.
1436 ac_top_srcdir=$ac_top_builddir_sub
1437 ac_abs_top_srcdir=$ac_pwd ;;
1438 [\\/]* | ?:[\\/]* ) # Absolute name.
1439 ac_srcdir=$srcdir$ac_dir_suffix;
1440 ac_top_srcdir=$srcdir
1441 ac_abs_top_srcdir=$srcdir ;;
1443 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444 ac_top_srcdir=$ac_top_build_prefix$srcdir
1445 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449 cd "$ac_dir" || { ac_status=$?; continue; }
1450 # Check for guested configure.
1451 if test -f "$ac_srcdir/configure.gnu"; then
1453 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454 elif test -f "$ac_srcdir/configure"; then
1456 $SHELL "$ac_srcdir/configure" --help=recursive
1458 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460 cd "$ac_pwd" || { ac_status=$?; break; }
1464 test -n "$ac_init_help" && exit $ac_status
1465 if $ac_init_version; then
1467 GCC Quad-precision Math Library configure 0.1
1468 generated by GNU Autoconf 2.64
1470 Copyright (C) 2009 Free Software Foundation, Inc.
1471 This configure script is free software; the Free Software Foundation
1472 gives unlimited permission to copy, distribute and modify it.
1477 ## ------------------------ ##
1478 ## Autoconf initialization. ##
1479 ## ------------------------ ##
1481 # ac_fn_c_try_compile LINENO
1482 # --------------------------
1483 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1484 ac_fn_c_try_compile ()
1486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487 rm -f conftest.$ac_objext
1488 if { { ac_try="$ac_compile"
1490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1491 *) ac_try_echo
=$ac_try;;
1493 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494 $as_echo "$ac_try_echo"; } >&5
1495 (eval "$ac_compile") 2>conftest.err
1497 if test -s conftest.err
; then
1498 grep -v '^ *+' conftest.err
>conftest.er1
1499 cat conftest.er1
>&5
1500 mv -f conftest.er1 conftest.err
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; } && {
1504 test -z "$ac_c_werror_flag" ||
1505 test ! -s conftest.err
1506 } && test -s conftest.
$ac_objext; then :
1509 $as_echo "$as_me: failed program was:" >&5
1510 sed 's/^/| /' conftest.
$ac_ext >&5
1514 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1517 } # ac_fn_c_try_compile
1519 # ac_fn_c_try_link LINENO
1520 # -----------------------
1521 # Try to link conftest.$ac_ext, and return whether this succeeded.
1524 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1525 rm -f conftest.
$ac_objext conftest
$ac_exeext
1526 if { { ac_try
="$ac_link"
1528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_link") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && {
1542 test -z "$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1544 } && test -s conftest$ac_exeext && {
1545 test "$cross_compiling" = yes ||
1546 $as_test_x conftest$ac_exeext
1550 $as_echo "$as_me: failed program was:" >&5
1551 sed 's/^/| /' conftest.$ac_ext >&5
1555 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1556 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1557 # interfere with the next link command; also delete a directory that is
1558 # left behind by Apple's compiler. We do this before executing the actions.
1559 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1563 } # ac_fn_c_try_link
1565 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1566 # -------------------------------------------------------
1567 # Tests whether HEADER exists and can be compiled using the include files in
1568 # INCLUDES, setting the cache variable VAR accordingly.
1569 ac_fn_c_check_header_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1575 $as_echo_n "(cached) " >&6
1577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1578 /* end confdefs.h. */
1582 if ac_fn_c_try_compile "$LINENO"; then :
1587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1591 $as_echo "$ac_res" >&6; }
1592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594 } # ac_fn_c_check_header_compile
1596 # ac_fn_c_try_cpp LINENO
1597 # ----------------------
1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if { { ac_try="$ac_cpp conftest.$ac_ext"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611 if test -s conftest.err
; then
1612 grep -v '^ *+' conftest.err
>conftest.er1
1613 cat conftest.er1
>&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } >/dev
/null
&& {
1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.
$ac_ext >&5
1628 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1633 # ac_fn_c_try_run LINENO
1634 # ----------------------
1635 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1636 # that executables *can* be run.
1639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1640 if { { ac_try
="$ac_link"
1642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_link") 2>&5
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1651 { { case "(($ac_try" in
1652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1653 *) ac_try_echo
=$ac_try;;
1655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_try") 2>&5
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; }; }; then :
1663 $as_echo "$as_me: program exited with status $ac_status" >&5
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.
$ac_ext >&5
1667 ac_retval
=$ac_status
1669 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1675 # ac_fn_c_check_func LINENO FUNC VAR
1676 # ----------------------------------
1677 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1678 ac_fn_c_check_func
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 $as_echo_n "(cached) " >&6
1686 if test x
$gcc_no_link = xyes
; then
1687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1691 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1693 #define $2 innocuous_$2
1695 /* System header to define __stub macros and hopefully few prototypes,
1696 which can conflict with char $2 (); below.
1697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1698 <limits.h> exists even on freestanding compilers. */
1701 # include <limits.h>
1703 # include <assert.h>
1708 /* Override any GCC internal prototype to avoid an error.
1709 Use char because int might match the return type of a GCC
1710 builtin and then its argument prototype would still apply. */
1715 /* The GNU C library defines this for functions which it implements
1716 to always fail with ENOSYS. Some functions are actually named
1717 something starting with __ and the normal name is an alias. */
1718 #if defined __stub_$2 || defined __stub___$2
1730 if ac_fn_c_try_link
"$LINENO"; then :
1735 rm -f core conftest.err conftest.
$ac_objext \
1736 conftest
$ac_exeext conftest.
$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1743 } # ac_fn_c_check_func
1744 cat >config.log
<<_ACEOF
1745 This file contains any messages produced by compilers while
1746 running configure, to aid debugging if configure makes a mistake.
1748 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1749 generated by GNU Autoconf 2.64. Invocation command line was
1761 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1762 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1763 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1764 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1765 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1767 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1768 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1770 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1771 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1772 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1773 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1774 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1775 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1776 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1784 test -z "$as_dir" && as_dir
=.
1785 $as_echo "PATH: $as_dir"
1801 # Keep a trace of the command line.
1802 # Strip out --no-create and --no-recursion so they do not pile up.
1803 # Strip out --silent because we don't want to record it for future runs.
1804 # Also quote any args containing shell meta-characters.
1805 # Make two passes to allow for proper duplicate-argument suppression.
1809 ac_must_keep_next
=false
1815 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1816 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1817 |
-silent |
--silent |
--silen |
--sile |
--sil)
1820 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1823 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1825 as_fn_append ac_configure_args1
" '$ac_arg'"
1826 if test $ac_must_keep_next = true
; then
1827 ac_must_keep_next
=false
# Got value, back to normal.
1830 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1831 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1832 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1833 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1834 case "$ac_configure_args0 " in
1835 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1838 -* ) ac_must_keep_next
=true
;;
1841 as_fn_append ac_configure_args
" '$ac_arg'"
1846 { ac_configure_args0
=; unset ac_configure_args0
;}
1847 { ac_configure_args1
=; unset ac_configure_args1
;}
1849 # When interrupted or exit'd, cleanup temporary files, and complete
1850 # config.log. We remove comments because anyway the quotes in there
1851 # would cause problems or look ugly.
1852 # WARNING: Use '\'' to represent an apostrophe within the trap.
1853 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1854 trap 'exit_status=$?
1855 # Save into config.log some information that might help in debugging.
1860 ## ---------------- ##
1861 ## Cache variables. ##
1862 ## ---------------- ##
1865 # The following way of writing the cache mishandles newlines in values,
1867 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1868 eval ac_val=\$$ac_var
1872 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1873 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1876 _ | IFS | as_nl) ;; #(
1877 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1878 *) { eval $ac_var=; unset $ac_var;} ;;
1883 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1884 *${as_nl}ac_space=\ *)
1886 "s/'\''/'\''\\\\'\'''\''/g;
1887 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1898 ## ----------------- ##
1899 ## Output variables. ##
1900 ## ----------------- ##
1903 for ac_var in $ac_subst_vars
1905 eval ac_val=\$$ac_var
1907 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1909 $as_echo "$ac_var='\''$ac_val'\''"
1913 if test -n "$ac_subst_files"; then
1915 ## ------------------- ##
1916 ## File substitutions. ##
1917 ## ------------------- ##
1920 for ac_var
in $ac_subst_files
1922 eval ac_val
=\$
$ac_var
1924 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1926 $as_echo "$ac_var='\''$ac_val'\''"
1931 if test -s confdefs.h; then
1941 test "$ac_signal" != 0 &&
1942 $as_echo "$as_me: caught signal $ac_signal"
1943 $as_echo "$as_me: exit $exit_status"
1945 rm -f core *.core core.conftest.* &&
1946 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1949 for ac_signal
in 1 2 13 15; do
1950 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1954 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1955 rm -f -r conftest
* confdefs.h
1957 $as_echo "/* confdefs.h */" > confdefs.h
1959 # Predefined preprocessor variables.
1961 cat >>confdefs.h
<<_ACEOF
1962 #define PACKAGE_NAME "$PACKAGE_NAME"
1965 cat >>confdefs.h
<<_ACEOF
1966 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1969 cat >>confdefs.h
<<_ACEOF
1970 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1973 cat >>confdefs.h
<<_ACEOF
1974 #define PACKAGE_STRING "$PACKAGE_STRING"
1977 cat >>confdefs.h
<<_ACEOF
1978 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1981 cat >>confdefs.h
<<_ACEOF
1982 #define PACKAGE_URL "$PACKAGE_URL"
1986 # Let the site file select an alternate cache file if it wants to.
1987 # Prefer an explicitly selected file to automatically selected ones.
1990 if test -n "$CONFIG_SITE"; then
1991 ac_site_file1
=$CONFIG_SITE
1992 elif test "x$prefix" != xNONE
; then
1993 ac_site_file1
=$prefix/share
/config.site
1994 ac_site_file2
=$prefix/etc
/config.site
1996 ac_site_file1
=$ac_default_prefix/share
/config.site
1997 ac_site_file2
=$ac_default_prefix/etc
/config.site
1999 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2001 test "x$ac_site_file" = xNONE
&& continue
2002 if test -r "$ac_site_file"; then
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2004 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2005 sed 's/^/| /' "$ac_site_file" >&5
2010 if test -r "$cache_file"; then
2011 # Some versions of bash will fail to source /dev/null (special
2012 # files actually), so we avoid doing that.
2013 if test -f "$cache_file"; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2015 $as_echo "$as_me: loading cache $cache_file" >&6;}
2017 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2018 *) .
"./$cache_file";;
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2023 $as_echo "$as_me: creating cache $cache_file" >&6;}
2027 # Check that the precious variables saved in the cache have kept the same
2029 ac_cache_corrupted
=false
2030 for ac_var
in $ac_precious_vars; do
2031 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2032 eval ac_new_set
=\
$ac_env_${ac_var}_set
2033 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2034 eval ac_new_val
=\
$ac_env_${ac_var}_value
2035 case $ac_old_set,$ac_new_set in
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2038 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2039 ac_cache_corrupted
=: ;;
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2042 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2043 ac_cache_corrupted
=: ;;
2046 if test "x$ac_old_val" != "x$ac_new_val"; then
2047 # differences in whitespace do not lead to failure.
2048 ac_old_val_w
=`echo x $ac_old_val`
2049 ac_new_val_w
=`echo x $ac_new_val`
2050 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2052 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2053 ac_cache_corrupted
=:
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2056 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2057 eval $ac_var=\
$ac_old_val
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2060 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2062 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2065 # Pass precious variables to config.status.
2066 if test "$ac_new_set" = set; then
2068 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 *) ac_arg
=$ac_var=$ac_new_val ;;
2071 case " $ac_configure_args " in
2072 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2073 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2077 if $ac_cache_corrupted; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2081 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2082 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2084 ## -------------------- ##
2085 ## Main body of script. ##
2086 ## -------------------- ##
2089 ac_cpp
='$CPP $CPPFLAGS'
2090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2098 ac_config_headers
="$ac_config_headers config.h"
2101 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2103 # You will slowly go insane if you do not grok the following fact: when
2104 # building this library, the top-level /target/ becomes the library's /host/.
2106 # configure then causes --target to default to --host, exactly like any
2107 # other package using autoconf. Therefore, 'target' and 'host' will
2108 # always be the same. This makes sense both for native and cross compilers
2109 # just think about it for a little while. :-)
2111 # Also, if this library is being configured as part of a cross compiler, the
2112 # top-level configure script will pass the "real" host as $with_cross_host.
2114 # Do not delete or change the following two lines. For why, see
2115 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2117 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2118 for ac_t
in install-sh
install.sh shtool
; do
2119 if test -f "$ac_dir/$ac_t"; then
2121 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2126 if test -z "$ac_aux_dir"; then
2127 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2130 # These three variables are undocumented and unsupported,
2131 # and are intended to be withdrawn in a future Autoconf release.
2132 # They can cause serious problems if a builder's source tree is in a directory
2133 # whose full name contains unusual characters.
2134 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2135 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2136 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2139 # Make sure we can run config.sub.
2140 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2141 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2144 $as_echo_n "checking build system type... " >&6; }
2145 if test "${ac_cv_build+set}" = set; then :
2146 $as_echo_n "(cached) " >&6
2148 ac_build_alias
=$build_alias
2149 test "x$ac_build_alias" = x
&&
2150 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2151 test "x$ac_build_alias" = x
&&
2152 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2153 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2154 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2158 $as_echo "$ac_cv_build" >&6; }
2159 case $ac_cv_build in
2161 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2164 ac_save_IFS
=$IFS; IFS
='-'
2170 # Remember, the first character of IFS is used to create $*,
2171 # except with old shells:
2174 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2178 $as_echo_n "checking host system type... " >&6; }
2179 if test "${ac_cv_host+set}" = set; then :
2180 $as_echo_n "(cached) " >&6
2182 if test "x$host_alias" = x
; then
2183 ac_cv_host
=$ac_cv_build
2185 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2186 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2191 $as_echo "$ac_cv_host" >&6; }
2194 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2197 ac_save_IFS
=$IFS; IFS
='-'
2203 # Remember, the first character of IFS is used to create $*,
2204 # except with old shells:
2207 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2211 $as_echo_n "checking target system type... " >&6; }
2212 if test "${ac_cv_target+set}" = set; then :
2213 $as_echo_n "(cached) " >&6
2215 if test "x$target_alias" = x
; then
2216 ac_cv_target
=$ac_cv_host
2218 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2219 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2224 $as_echo "$ac_cv_target" >&6; }
2225 case $ac_cv_target in
2227 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2229 target
=$ac_cv_target
2230 ac_save_IFS
=$IFS; IFS
='-'
2236 # Remember, the first character of IFS is used to create $*,
2237 # except with old shells:
2240 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2243 # The aliases save the names the user supplied, while $host etc.
2244 # will get canonicalized.
2245 test -n "$target_alias" &&
2246 test "$program_prefix$program_suffix$program_transform_name" = \
2248 program_prefix
=${target_alias}-
2250 case ${build_alias} in
2251 "") build_noncanonical
=${build} ;;
2252 *) build_noncanonical
=${build_alias} ;;
2255 case ${host_alias} in
2256 "") host_noncanonical
=${build_noncanonical} ;;
2257 *) host_noncanonical
=${host_alias} ;;
2260 case ${target_alias} in
2261 "") target_noncanonical
=${host_noncanonical} ;;
2262 *) target_noncanonical
=${target_alias} ;;
2268 target_alias
=${target_alias-$host_alias}
2271 am__api_version
='1.11'
2273 # Find a good install program. We prefer a C program (faster),
2274 # so one script is as good as another. But avoid the broken or
2275 # incompatible versions:
2276 # SysV /etc/install, /usr/sbin/install
2277 # SunOS /usr/etc/install
2278 # IRIX /sbin/install
2280 # AmigaOS /C/install, which installs bootblocks on floppy discs
2281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2284 # OS/2's system install, which has a completely different semantic
2285 # ./install, which can be erroneously created by make from ./install.sh.
2286 # Reject install programs that cannot install multiple files.
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2288 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2289 if test -z "$INSTALL"; then
2290 if test "${ac_cv_path_install+set}" = set; then :
2291 $as_echo_n "(cached) " >&6
2293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir
=.
2298 # Account for people who put trailing slashes in PATH elements.
2299 case $as_dir/ in #((
2300 .
/ | .
// |
/[cC
]/* | \
2301 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2302 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2305 # OSF1 and SCO ODT 3.0 have their own names for install.
2306 # Don't use installbsd from OSF since it installs stuff as root
2308 for ac_prog
in ginstall scoinst
install; do
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2311 if test $ac_prog = install &&
2312 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2313 # AIX install. It has an incompatible calling convention.
2315 elif test $ac_prog = install &&
2316 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2317 # program-specific install script used by HP pwplus--don't use.
2320 rm -rf conftest.one conftest.two conftest.dir
2321 echo one
> conftest.one
2322 echo two
> conftest.two
2324 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2325 test -s conftest.one
&& test -s conftest.two
&&
2326 test -s conftest.dir
/conftest.one
&&
2327 test -s conftest.dir
/conftest.two
2329 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2342 rm -rf conftest.one conftest.two conftest.dir
2345 if test "${ac_cv_path_install+set}" = set; then
2346 INSTALL
=$ac_cv_path_install
2348 # As a last resort, use the slow shell script. Don't cache a
2349 # value for INSTALL within a source directory, because that will
2350 # break other packages using the cache if that directory is
2351 # removed, or if the value is a relative name.
2352 INSTALL
=$ac_install_sh
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2356 $as_echo "$INSTALL" >&6; }
2358 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2359 # It thinks the first close brace ends the variable substitution.
2360 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2362 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2364 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2367 $as_echo_n "checking whether build environment is sane... " >&6; }
2370 echo timestamp
> conftest.
file
2371 # Reject unsafe characters in $srcdir or the absolute working directory
2372 # name. Accept space and tab only in the latter.
2376 *[\\\"\
#\$\&\'\`$am_lf]*)
2377 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2380 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2381 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2384 # Do `set' in a subshell so we don't clobber the current shell's
2385 # arguments. Must try -L first in case configure is actually a
2386 # symlink; some systems play weird games with the mod time of symlinks
2387 # (eg FreeBSD returns the mod time of the symlink's containing
2390 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2391 if test "$*" = "X"; then
2393 set X
`ls -t "$srcdir/configure" conftest.file`
2396 if test "$*" != "X $srcdir/configure conftest.file" \
2397 && test "$*" != "X conftest.file $srcdir/configure"; then
2399 # If neither matched, then we have a broken ls. This can happen
2400 # if, for instance, CONFIG_SHELL is bash and it inherits a
2401 # broken ls alias from the environment. This has actually
2402 # happened. Such a system could not be considered "sane".
2403 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2404 alias in your environment" "$LINENO" 5
2407 test "$2" = conftest.
file
2413 as_fn_error
"newly created file is older than distributed files!
2414 Check your system clock" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417 $as_echo "yes" >&6; }
2418 test "$program_prefix" != NONE
&&
2419 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2420 # Use a double $ so make ignores it.
2421 test "$program_suffix" != NONE
&&
2422 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2423 # Double any \ or $.
2424 # By default was `s,x,x', remove it if useless.
2425 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2426 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2428 # expand $ac_aux_dir to an absolute path
2429 am_aux_dir
=`cd $ac_aux_dir && pwd`
2431 if test x
"${MISSING+set}" != xset
; then
2434 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2436 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2439 # Use eval to expand $SHELL
2440 if eval "$MISSING --run true"; then
2441 am_missing_run
="$MISSING --run "
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2445 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2448 if test x
"${install_sh}" != xset
; then
2451 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2453 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2457 # Installed binaries are usually stripped using `strip' when the user
2458 # run `make install-strip'. However `strip' might not be the right
2459 # tool to use in cross-compilation environments, therefore Automake
2460 # will honor the `STRIP' environment variable to overrule this program.
2461 if test "$cross_compiling" != no
; then
2462 if test -n "$ac_tool_prefix"; then
2463 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2464 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if test "${ac_cv_prog_STRIP+set}" = set; then :
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$STRIP"; then
2471 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 STRIP
=$ac_cv_prog_STRIP
2491 if test -n "$STRIP"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2493 $as_echo "$STRIP" >&6; }
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2501 if test -z "$ac_cv_prog_STRIP"; then
2503 # Extract the first word of "strip", so it can be a program name with args.
2504 set dummy strip
; ac_word
=$2
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2506 $as_echo_n "checking for $ac_word... " >&6; }
2507 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2508 $as_echo_n "(cached) " >&6
2510 if test -n "$ac_ct_STRIP"; then
2511 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir
=.
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520 ac_cv_prog_ac_ct_STRIP
="strip"
2521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2531 if test -n "$ac_ct_STRIP"; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2533 $as_echo "$ac_ct_STRIP" >&6; }
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536 $as_echo "no" >&6; }
2539 if test "x$ac_ct_STRIP" = x
; then
2542 case $cross_compiling:$ac_tool_warned in
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2546 ac_tool_warned
=yes ;;
2551 STRIP
="$ac_cv_prog_STRIP"
2555 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2558 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2559 if test -z "$MKDIR_P"; then
2560 if test "${ac_cv_path_mkdir+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_prog
in mkdir gmkdir
; do
2569 for ac_exec_ext
in '' $ac_executable_extensions; do
2570 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2571 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2572 'mkdir (GNU coreutils) '* | \
2573 'mkdir (coreutils) '* | \
2574 'mkdir (fileutils) '4.1*)
2575 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2585 if test "${ac_cv_path_mkdir+set}" = set; then
2586 MKDIR_P
="$ac_cv_path_mkdir -p"
2588 # As a last resort, use the slow shell script. Don't cache a
2589 # value for MKDIR_P within a source directory, because that will
2590 # break other packages using the cache if that directory is
2591 # removed, or if the value is a relative name.
2592 test -d .
/--version && rmdir .
/--version
2593 MKDIR_P
="$ac_install_sh -d"
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2597 $as_echo "$MKDIR_P" >&6; }
2601 [\\/$
]* | ?
:[\\/]*) ;;
2602 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2605 for ac_prog
in gawk mawk nawk
awk
2607 # Extract the first word of "$ac_prog", so it can be a program name with args.
2608 set dummy
$ac_prog; ac_word
=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if test "${ac_cv_prog_AWK+set}" = set; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$AWK"; then
2615 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir
=.
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_AWK
="$ac_prog"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$AWK"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2637 $as_echo "$AWK" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2644 test -n "$AWK" && break
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2648 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2650 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2651 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2652 $as_echo_n "(cached) " >&6
2654 cat >conftest.
make <<\_ACEOF
2657 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2659 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2660 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2662 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2664 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2668 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2670 $as_echo "yes" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2675 SET_MAKE
="MAKE=${MAKE-make}"
2678 rm -rf .tst
2>/dev
/null
2679 mkdir .tst
2>/dev
/null
2680 if test -d .tst
; then
2685 rmdir .tst
2>/dev
/null
2687 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2688 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2689 # is not polluted with repeated "-I."
2690 am__isrc
=' -I$(srcdir)'
2691 # test to see if srcdir already configured
2692 if test -f $srcdir/config.status
; then
2693 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2697 # test whether we have cygpath
2698 if test -z "$CYGPATH_W"; then
2699 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2700 CYGPATH_W
='cygpath -w'
2707 # Define the identity of the package.
2708 PACKAGE
='libquadmath'
2712 cat >>confdefs.h
<<_ACEOF
2713 #define PACKAGE "$PACKAGE"
2717 cat >>confdefs.h
<<_ACEOF
2718 #define VERSION "$VERSION"
2721 # Some tools Automake needs.
2723 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2726 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2729 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2732 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2735 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2737 # We need awk for the "check" target. The system "awk" is bad on
2739 # Always define AMTAR for backward compatibility.
2741 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2743 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2751 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2752 # Check whether --enable-version-specific-runtime-libs was given.
2753 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2754 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2755 yes) version_specific_libs
=yes ;;
2756 no
) version_specific_libs
=no
;;
2757 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2760 version_specific_libs
=no
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2764 $as_echo "$version_specific_libs" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2772 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2777 macro_version
='2.2.7a'
2778 macro_revision
='1.3134'
2792 ltmain
="$ac_aux_dir/ltmain.sh"
2794 # Backslashify metacharacters that are still active within
2795 # double-quoted strings.
2796 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
2798 # Same as above, but do not quote variable references.
2799 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
2801 # Sed substitution to delay expansion of an escaped shell variable in a
2802 # double_quote_subst'ed string.
2803 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
2805 # Sed substitution to delay expansion of an escaped single quote.
2806 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
2808 # Sed substitution to avoid accidental globbing in evaled expressions
2809 no_glob_subst
='s/\*/\\\*/g'
2811 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2812 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2813 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2816 $as_echo_n "checking how to print strings... " >&6; }
2817 # Test print first, because it will be a builtin if present.
2818 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
2819 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2821 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2824 # Use this function as a fallback that always works.
2825 func_fallback_echo ()
2827 eval 'cat <<_LTECHO_EOF
2831 ECHO='func_fallback_echo
'
2834 # func_echo_all arg...
2835 # Invoke $ECHO with all args, space-separated.
2842 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2843 $as_echo "printf" >&6; } ;;
2844 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2845 $as_echo "print -r" >&6; } ;;
2846 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2847 $as_echo "cat" >&6; } ;;
2863 DEPDIR="${am__leading_dot}deps"
2865 ac_config_commands="$ac_config_commands depfiles"
2868 am_make=${MAKE-make}
2869 cat > confinc << 'END
'
2871 @echo this is the am__doit target
2874 # If we don't
find an include directive
, just comment out the code.
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2876 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2880 # First try GNU make style include.
2881 echo "include confinc" > confmf
2882 # Ignore all kinds of additional output from `make'.
2883 case `$am_make -s -f confmf 2> /dev/null` in #(
2884 *the\ am__doit\ target
*)
2890 # Now try BSD make style include.
2891 if test "$am__include" = "#"; then
2892 echo '.include "confinc"' > confmf
2893 case `$am_make -s -f confmf 2> /dev/null` in #(
2894 *the\ am__doit\ target
*)
2895 am__include
=.include
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2904 $as_echo "$_am_result" >&6; }
2905 rm -f confinc confmf
2907 # Check whether --enable-dependency-tracking was given.
2908 if test "${enable_dependency_tracking+set}" = set; then :
2909 enableval
=$enable_dependency_tracking;
2912 if test "x$enable_dependency_tracking" != xno
; then
2913 am_depcomp
="$ac_aux_dir/depcomp"
2916 if test "x$enable_dependency_tracking" != xno; then
2926 ac_cpp
='$CPP $CPPFLAGS'
2927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2930 if test -n "$ac_tool_prefix"; then
2931 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2932 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_CC+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC
="$CC" # Let the user override the test.
2941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir
=.
2946 for ac_exec_ext
in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2969 if test -z "$ac_cv_prog_CC"; then
2971 # Extract the first word of "gcc", so it can be a program name with args.
2972 set dummy gcc
; ac_word
=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2976 $as_echo_n "(cached) " >&6
2978 if test -n "$ac_ct_CC"; then
2979 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_ac_ct_CC
="gcc"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2999 if test -n "$ac_ct_CC"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3001 $as_echo "$ac_ct_CC" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3007 if test "x$ac_ct_CC" = x
; then
3010 case $cross_compiling:$ac_tool_warned in
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014 ac_tool_warned
=yes ;;
3022 if test -z "$CC"; then
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3025 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if test "${ac_cv_prog_CC+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$CC"; then
3032 ac_cv_prog_CC
="$CC" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test -n "$CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054 $as_echo "$CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3063 if test -z "$CC"; then
3064 # Extract the first word of "cc", so it can be a program name with args.
3065 set dummy cc
; ac_word
=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if test "${ac_cv_prog_CC+set}" = set; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC
="$CC" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3083 ac_prog_rejected
=yes
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 if test $ac_prog_rejected = yes; then
3095 # We found a bogon in the path, so make sure we never use it.
3096 set dummy
$ac_cv_prog_CC
3098 if test $# != 0; then
3099 # We chose a different compiler from the bogus one.
3100 # However, it has the same basename, so the bogon will be chosen
3101 # first if we set CC to just the basename; use the full file name.
3103 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 for ac_prog
in cl.exe
3123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3124 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126 $as_echo_n "checking for $ac_word... " >&6; }
3127 if test "${ac_cv_prog_CC+set}" = set; then :
3128 $as_echo_n "(cached) " >&6
3130 if test -n "$CC"; then
3131 ac_cv_prog_CC
="$CC" # Let the user override the test.
3133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3137 test -z "$as_dir" && as_dir
=.
3138 for ac_exec_ext
in '' $ac_executable_extensions; do
3139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3140 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 if test -n "$CC"; then
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3153 $as_echo "$CC" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 $as_echo "no" >&6; }
3160 test -n "$CC" && break
3163 if test -z "$CC"; then
3165 for ac_prog
in cl.exe
3167 # Extract the first word of "$ac_prog", so it can be a program name with args.
3168 set dummy
$ac_prog; ac_word
=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -n "$ac_ct_CC"; then
3175 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3184 ac_cv_prog_ac_ct_CC
="$ac_prog"
3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3195 if test -n "$ac_ct_CC"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3197 $as_echo "$ac_ct_CC" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3204 test -n "$ac_ct_CC" && break
3207 if test "x$ac_ct_CC" = x
; then
3210 case $cross_compiling:$ac_tool_warned in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned
=yes ;;
3223 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error
"no acceptable C compiler found in \$PATH
3226 See \`config.log' for more details." "$LINENO" 5; }
3228 # Provide some information about the compiler.
3229 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3232 for ac_option
in --version -v -V -qversion; do
3233 { { ac_try
="$ac_compiler $ac_option >&5"
3235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3242 if test -s conftest.err; then
3244 ... rest of stderr output deleted ...
3245 10q' conftest.err >conftest.er1
3246 cat conftest.er1 >&5
3247 rm -f conftest.er1 conftest.err
3249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; }
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3266 (eval $ac_link) 2>&5
3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3269 test $ac_status = 0; }; then :
3274 if test x$gcc_no_link = xyes; then
3275 # Setting cross_compile will disable run tests; it will
3276 # also disable AC_CHECK_FILE but that's generally
3277 # correct if we can't link.
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3292 ac_clean_files_save=$ac_clean_files
3293 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3294 # Try to create an executable without -o first, disregard a.out.
3295 # It will help us diagnose broken compilers, and finding out an intuition
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3298 $as_echo_n "checking for C compiler default output file name... " >&6; }
3299 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3301 # The possible output files:
3302 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3305 for ac_file in $ac_files
3308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3309 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3314 if { { ac_try="$ac_link_default"
3316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3317 *) ac_try_echo
=$ac_try;;
3319 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_link_default") 2>&5
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }; then :
3325 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3326 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3327 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3328 # so that the user can short-circuit this test for compilers unknown to
3330 for ac_file
in $ac_files ''
3332 test -f "$ac_file" ||
continue
3334 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3337 # We found the default executable, but exeext='' is most
3341 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3343 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3345 # We set ac_cv_exeext here because the later test for it is not
3346 # safe: cross compilers may not add the suffix if given an `-o'
3347 # argument, so we may need to know it at that point already.
3348 # Even if this section looks crufty: it has the advantage of
3355 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3361 $as_echo "$ac_file" >&6; }
3362 if test -z "$ac_file"; then :
3363 $as_echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.
$ac_ext >&5
3366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368 { as_fn_set_status
77
3369 as_fn_error
"C compiler cannot create executables
3370 See \`config.log' for more details." "$LINENO" 5; }; }
3372 ac_exeext
=$ac_cv_exeext
3374 # Check that the compiler produces executables we can run. If not, either
3375 # the compiler is broken, or we cross compile.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3377 $as_echo_n "checking whether the C compiler works... " >&6; }
3378 # If not cross compiling, check that we can run a simple program.
3379 if test "$cross_compiling" != yes; then
3380 if { ac_try
='./$ac_file'
3381 { { case "(($ac_try" in
3382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3386 $as_echo "$ac_try_echo"; } >&5
3387 (eval "$ac_try") 2>&5
3389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3390 test $ac_status = 0; }; }; then
3393 if test "$cross_compiling" = maybe; then
3396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 as_fn_error "cannot run C compiled programs.
3399 If you meant to cross compile
, use \
`--host'.
3400 See \`config.log
' for more details." "$LINENO" 5; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3405 $as_echo "yes" >&6; }
3407 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3408 ac_clean_files=$ac_clean_files_save
3409 # Check that the compiler produces executables we can run. If not, either
3410 # the compiler is broken, or we cross compile.
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3412 $as_echo_n "checking whether we are cross compiling... " >&6; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3414 $as_echo "$cross_compiling" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3417 $as_echo_n "checking for suffix of executables... " >&6; }
3418 if { { ac_try="$ac_link"
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_link") 2>&5
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428 test $ac_status = 0; }; then :
3429 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3430 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3431 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3433 for ac_file
in conftest.exe conftest conftest.
*; do
3434 test -f "$ac_file" ||
continue
3436 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3437 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3446 See \`config.log' for more details." "$LINENO" 5; }
3448 rm -f conftest
$ac_cv_exeext
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3450 $as_echo "$ac_cv_exeext" >&6; }
3452 rm -f conftest.
$ac_ext
3453 EXEEXT
=$ac_cv_exeext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3457 $as_echo_n "checking for suffix of object files... " >&6; }
3458 if test "${ac_cv_objext+set}" = set; then :
3459 $as_echo_n "(cached) " >&6
3461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3472 rm -f conftest.o conftest.obj
3473 if { { ac_try
="$ac_compile"
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_compile") 2>&5
3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483 test $ac_status = 0; }; then :
3484 for ac_file in conftest.o conftest.obj conftest.*; do
3485 test -f "$ac_file" || continue;
3487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3493 $as_echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.$ac_ext >&5
3496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error "cannot compute suffix of object files
: cannot compile
3499 See \
`config.log' for more details." "$LINENO" 5; }
3501 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3504 $as_echo "$ac_cv_objext" >&6; }
3505 OBJEXT=$ac_cv_objext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3508 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3509 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3510 $as_echo_n "(cached) " >&6
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3526 if ac_fn_c_try_compile "$LINENO"; then :
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3536 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3537 if test $ac_compiler_gnu = yes; then
3542 ac_test_CFLAGS=${CFLAGS+set}
3543 ac_save_CFLAGS=$CFLAGS
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3545 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3546 if test "${ac_cv_prog_cc_g+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 ac_save_c_werror_flag=$ac_c_werror_flag
3550 ac_c_werror_flag=yes
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 if ac_fn_c_try_compile "$LINENO"; then :
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3579 if ac_fn_c_try_compile "$LINENO"; then :
3582 ac_c_werror_flag=$ac_save_c_werror_flag
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 if ac_fn_c_try_compile "$LINENO"; then :
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 ac_c_werror_flag=$ac_save_c_werror_flag
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3606 $as_echo "$ac_cv_prog_cc_g" >&6; }
3607 if test "$ac_test_CFLAGS" = set; then
3608 CFLAGS=$ac_save_CFLAGS
3609 elif test $ac_cv_prog_cc_g = yes; then
3610 if test "$GCC" = yes; then
3616 if test "$GCC" = yes; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3623 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3624 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3625 $as_echo_n "(cached) " >&6
3627 ac_cv_prog_cc_c89=no
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3633 #include <sys/types.h>
3634 #include <sys/stat.h>
3635 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3636 struct buf { int x; };
3637 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3638 static char *e (p, i)
3644 static char *f (char * (*g) (char **, int), char **p, ...)
3649 s = g (p, va_arg (v,int));
3654 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3655 function prototypes and stuff, but not '\xHH' hex character constants.
3656 These don't provoke an error unfortunately, instead are silently treated
3657 as 'x'. The following induces an error, until -std is added to get
3658 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3659 array size at least. It's necessary to write '\x00'==0 to get something
3660 that's true only with -std. */
3661 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3664 inside strings and character constants. */
3666 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668 int test (int i, double x);
3669 struct s1 {int (*f) (int a);};
3670 struct s2 {int (*f) (double a);};
3671 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3677 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3683 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685 CC="$ac_save_CC $ac_arg"
3686 if ac_fn_c_try_compile "$LINENO"; then :
3687 ac_cv_prog_cc_c89=$ac_arg
3689 rm -f core conftest.err conftest.$ac_objext
3690 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 rm -f conftest.$ac_ext
3697 case "x$ac_cv_prog_cc_c89" in
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3700 $as_echo "none needed" >&6; } ;;
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3703 $as_echo "unsupported" >&6; } ;;
3705 CC="$CC $ac_cv_prog_cc_c89"
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3707 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 if test "x$ac_cv_prog_cc_c89" != xno; then :
3714 ac_cpp='$CPP $CPPFLAGS'
3715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719 depcc="$CC" am_compiler_list=
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3722 $as_echo_n "checking dependency style of $depcc... " >&6; }
3723 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3727 # We make a subdir and do the tests there. Otherwise we can end up
3728 # making bogus files that we don't know about and never remove. For
3729 # instance it was reported that on HP-UX the gcc test will end up
3730 # making a dummy file named `D
' -- because `-MD' means
`put the output
3733 # Copy depcomp to subdir because otherwise we won't find it if we're
3734 # using a relative directory.
3735 cp "$am_depcomp" conftest.dir
3737 # We will build objects and dependencies in a subdirectory because
3738 # it helps to detect inapplicable dependency modes. For instance
3739 # both Tru64's cc and ICC support -MD to output dependencies as a
3740 # side effect of compilation, but ICC will put the dependencies in
3741 # the current directory while Tru64 will put them in the object
3745 am_cv_CC_dependencies_compiler_type=none
3746 if test "$am_compiler_list" = ""; then
3747 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3750 case " $depcc " in #(
3751 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3754 for depmode in $am_compiler_list; do
3755 # Setup a source with many dependencies, because some compilers
3756 # like to wrap large dependency lists on column 80 (with \), and
3757 # we should not choose a depcomp mode which is confused by this.
3759 # We need to recreate these files for each test, as the compiler may
3760 # overwrite some of them when testing with obscure command lines.
3761 # This happens at least with the AIX C compiler.
3763 for i in 1 2 3 4 5 6; do
3764 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3765 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3766 # Solaris 8's
{/usr
,}/bin
/sh.
3767 touch sub
/conftst
$i.h
3769 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3771 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3772 # mode. It turns out that the SunPro C++ compiler does not properly
3773 # handle `-M -o', and we need to detect this. Also, some Intel
3774 # versions had trouble with output in subdirs
3775 am__obj
=sub
/conftest.
${OBJEXT-o}
3776 am__minus_obj
="-o $am__obj"
3779 # This depmode causes a compiler race in universal mode.
3780 test "$am__universal" = false ||
continue
3783 # after this tag, mechanisms are not by side-effect, so they'll
3784 # only be used when explicitly requested
3785 if test "x$enable_dependency_tracking" = xyes
; then
3791 msvisualcpp | msvcmsys
)
3792 # This compiler won't grok `-c -o', but also, the minuso test has
3793 # not run yet. These depmodes are late enough in the game, and
3794 # so weak that their functioning should not be impacted.
3795 am__obj
=conftest.
${OBJEXT-o}
3800 if depmode
=$depmode \
3801 source=sub
/conftest.c object
=$am__obj \
3802 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3803 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3804 >/dev
/null
2>conftest.err
&&
3805 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3806 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3807 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3808 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3809 # icc doesn't choke on unknown options, it will just issue warnings
3810 # or remarks (even with -Werror). So we grep stderr for any message
3811 # that says an option was ignored or not supported.
3812 # When given -MP, icc 7.0 and 7.1 complain thusly:
3813 # icc: Command line warning: ignoring option '-M'; no argument required
3814 # The diagnosis changed in icc 8.0:
3815 # icc: Command line remark: option '-MP' not supported
3816 if (grep 'ignoring option' conftest.err ||
3817 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3818 am_cv_CC_dependencies_compiler_type
=$depmode
3827 am_cv_CC_dependencies_compiler_type
=none
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3832 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3833 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3836 test "x$enable_dependency_tracking" != xno \
3837 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3839 am__fastdepCC_FALSE
='#'
3841 am__fastdepCC_TRUE
='#'
3842 am__fastdepCC_FALSE
=
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3847 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3848 if test "${ac_cv_path_SED+set}" = set; then :
3849 $as_echo_n "(cached) " >&6
3851 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3852 for ac_i
in 1 2 3 4 5 6 7; do
3853 ac_script
="$ac_script$as_nl$ac_script"
3855 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3856 { ac_script
=; unset ac_script
;}
3857 if test -z "$SED"; then
3858 ac_path_SED_found
=false
3859 # Loop through the user's path and test for each of PROGNAME-LIST
3860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir
=.
3865 for ac_prog
in sed gsed
; do
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3868 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3869 # Check for GNU ac_path_SED and select it if it is found.
3870 # Check for GNU $ac_path_SED
3871 case `"$ac_path_SED" --version 2>&1` in
3873 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3876 $as_echo_n 0123456789 >"conftest.in"
3879 cat "conftest.in" "conftest.in" >"conftest.tmp"
3880 mv "conftest.tmp" "conftest.in"
3881 cp "conftest.in" "conftest.nl"
3882 $as_echo '' >> "conftest.nl"
3883 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3884 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3885 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3886 if test $ac_count -gt ${ac_path_SED_max-0}; then
3887 # Best one so far, save it but keep looking for a better one
3888 ac_cv_path_SED
="$ac_path_SED"
3889 ac_path_SED_max
=$ac_count
3891 # 10*(2^10) chars as input seems more than enough
3892 test $ac_count -gt 10 && break
3894 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3897 $ac_path_SED_found && break 3
3902 if test -z "$ac_cv_path_SED"; then
3903 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3911 $as_echo "$ac_cv_path_SED" >&6; }
3912 SED
="$ac_cv_path_SED"
3915 test -z "$SED" && SED
=sed
3916 Xsed
="$SED -e 1s/^X//"
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3929 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3930 if test "${ac_cv_path_GREP+set}" = set; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -z "$GREP"; then
3934 ac_path_GREP_found
=false
3935 # Loop through the user's path and test for each of PROGNAME-LIST
3936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3937 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3940 test -z "$as_dir" && as_dir
=.
3941 for ac_prog
in grep ggrep
; do
3942 for ac_exec_ext
in '' $ac_executable_extensions; do
3943 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3944 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3945 # Check for GNU ac_path_GREP and select it if it is found.
3946 # Check for GNU $ac_path_GREP
3947 case `"$ac_path_GREP" --version 2>&1` in
3949 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3952 $as_echo_n 0123456789 >"conftest.in"
3955 cat "conftest.in" "conftest.in" >"conftest.tmp"
3956 mv "conftest.tmp" "conftest.in"
3957 cp "conftest.in" "conftest.nl"
3958 $as_echo 'GREP' >> "conftest.nl"
3959 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3960 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3961 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3962 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3963 # Best one so far, save it but keep looking for a better one
3964 ac_cv_path_GREP
="$ac_path_GREP"
3965 ac_path_GREP_max
=$ac_count
3967 # 10*(2^10) chars as input seems more than enough
3968 test $ac_count -gt 10 && break
3970 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3973 $ac_path_GREP_found && break 3
3978 if test -z "$ac_cv_path_GREP"; then
3979 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3982 ac_cv_path_GREP
=$GREP
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3987 $as_echo "$ac_cv_path_GREP" >&6; }
3988 GREP
="$ac_cv_path_GREP"
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3992 $as_echo_n "checking for egrep... " >&6; }
3993 if test "${ac_cv_path_EGREP+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3997 then ac_cv_path_EGREP
="$GREP -E"
3999 if test -z "$EGREP"; then
4000 ac_path_EGREP_found
=false
4001 # Loop through the user's path and test for each of PROGNAME-LIST
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_prog
in egrep; do
4008 for ac_exec_ext
in '' $ac_executable_extensions; do
4009 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4010 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4011 # Check for GNU ac_path_EGREP and select it if it is found.
4012 # Check for GNU $ac_path_EGREP
4013 case `"$ac_path_EGREP" --version 2>&1` in
4015 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4018 $as_echo_n 0123456789 >"conftest.in"
4021 cat "conftest.in" "conftest.in" >"conftest.tmp"
4022 mv "conftest.tmp" "conftest.in"
4023 cp "conftest.in" "conftest.nl"
4024 $as_echo 'EGREP' >> "conftest.nl"
4025 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4026 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4027 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4028 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4029 # Best one so far, save it but keep looking for a better one
4030 ac_cv_path_EGREP
="$ac_path_EGREP"
4031 ac_path_EGREP_max
=$ac_count
4033 # 10*(2^10) chars as input seems more than enough
4034 test $ac_count -gt 10 && break
4036 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4039 $ac_path_EGREP_found && break 3
4044 if test -z "$ac_cv_path_EGREP"; then
4045 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4048 ac_cv_path_EGREP
=$EGREP
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4054 $as_echo "$ac_cv_path_EGREP" >&6; }
4055 EGREP
="$ac_cv_path_EGREP"
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4059 $as_echo_n "checking for fgrep... " >&6; }
4060 if test "${ac_cv_path_FGREP+set}" = set; then :
4061 $as_echo_n "(cached) " >&6
4063 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4064 then ac_cv_path_FGREP
="$GREP -F"
4066 if test -z "$FGREP"; then
4067 ac_path_FGREP_found
=false
4068 # Loop through the user's path and test for each of PROGNAME-LIST
4069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4070 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4073 test -z "$as_dir" && as_dir
=.
4074 for ac_prog
in fgrep
; do
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4077 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4078 # Check for GNU ac_path_FGREP and select it if it is found.
4079 # Check for GNU $ac_path_FGREP
4080 case `"$ac_path_FGREP" --version 2>&1` in
4082 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4085 $as_echo_n 0123456789 >"conftest.in"
4088 cat "conftest.in" "conftest.in" >"conftest.tmp"
4089 mv "conftest.tmp" "conftest.in"
4090 cp "conftest.in" "conftest.nl"
4091 $as_echo 'FGREP' >> "conftest.nl"
4092 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4093 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4094 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4095 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4096 # Best one so far, save it but keep looking for a better one
4097 ac_cv_path_FGREP
="$ac_path_FGREP"
4098 ac_path_FGREP_max
=$ac_count
4100 # 10*(2^10) chars as input seems more than enough
4101 test $ac_count -gt 10 && break
4103 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4106 $ac_path_FGREP_found && break 3
4111 if test -z "$ac_cv_path_FGREP"; then
4112 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4115 ac_cv_path_FGREP
=$FGREP
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4121 $as_echo "$ac_cv_path_FGREP" >&6; }
4122 FGREP
="$ac_cv_path_FGREP"
4125 test -z "$GREP" && GREP
=grep
4145 # Check whether --with-gnu-ld was given.
4146 if test "${with_gnu_ld+set}" = set; then :
4147 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4153 if test "$GCC" = yes; then
4154 # Check if gcc -print-prog-name=ld gives a path.
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4156 $as_echo_n "checking for ld used by $CC... " >&6; }
4159 # gcc leaves a trailing carriage return which upsets mingw
4160 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4162 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4165 # Accept absolute paths.
4167 re_direlt
='/[^/][^/]*/\.\./'
4168 # Canonicalize the pathname of ld
4169 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4170 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4171 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4173 test -z "$LD" && LD
="$ac_prog"
4176 # If it fails, then pretend we aren't using GCC.
4180 # If it is relative, then search for the first ld in PATH.
4184 elif test "$with_gnu_ld" = yes; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4186 $as_echo_n "checking for GNU ld... " >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4189 $as_echo_n "checking for non-GNU ld... " >&6; }
4191 if test "${lt_cv_path_LD+set}" = set; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -z "$LD"; then
4195 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4196 for ac_dir
in $PATH; do
4198 test -z "$ac_dir" && ac_dir
=.
4199 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4200 lt_cv_path_LD
="$ac_dir/$ac_prog"
4201 # Check to see if the program is GNU ld. I'd rather use --version,
4202 # but apparently some variants of GNU ld only accept -v.
4203 # Break only if it was the GNU/non-GNU ld that we prefer.
4204 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4205 *GNU
* |
*'with BFD'*)
4206 test "$with_gnu_ld" != no
&& break
4209 test "$with_gnu_ld" != yes && break
4216 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4221 if test -n "$LD"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4223 $as_echo "$LD" >&6; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4228 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4230 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4231 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4232 $as_echo_n "(cached) " >&6
4234 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4235 case `$LD -v 2>&1 </dev/null` in
4236 *GNU
* |
*'with BFD'*)
4237 lt_cv_prog_gnu_ld
=yes
4240 lt_cv_prog_gnu_ld
=no
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4245 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4246 with_gnu_ld
=$lt_cv_prog_gnu_ld
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4257 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4258 if test "${lt_cv_path_NM+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4261 if test -n "$NM"; then
4262 # Let the user override the test.
4265 lt_nm_to_check
="${ac_tool_prefix}nm"
4266 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4267 lt_nm_to_check
="$lt_nm_to_check nm"
4269 for lt_tmp_nm
in $lt_nm_to_check; do
4270 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4271 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4273 test -z "$ac_dir" && ac_dir
=.
4274 tmp_nm
="$ac_dir/$lt_tmp_nm"
4275 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4276 # Check to see if the nm accepts a BSD-compat flag.
4277 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4278 # nm: unknown option "B" ignored
4279 # Tru64's nm complains that /dev/null is an invalid object file
4280 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4281 */dev
/null
* |
*'Invalid file or object type'*)
4282 lt_cv_path_NM
="$tmp_nm -B"
4286 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4288 lt_cv_path_NM
="$tmp_nm -p"
4292 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4293 continue # so that we can try to find one that supports BSD flags
4302 : ${lt_cv_path_NM=no}
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4306 $as_echo "$lt_cv_path_NM" >&6; }
4307 if test "$lt_cv_path_NM" != "no"; then
4310 # Didn't find any BSD compatible name lister, look for dumpbin.
4311 if test -n "$DUMPBIN"; then :
4312 # Let the user override the test.
4314 if test -n "$ac_tool_prefix"; then
4315 for ac_prog
in dumpbin
"link -dump"
4317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4318 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4324 if test -n "$DUMPBIN"; then
4325 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4331 test -z "$as_dir" && as_dir
=.
4332 for ac_exec_ext
in '' $ac_executable_extensions; do
4333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 DUMPBIN
=$ac_cv_prog_DUMPBIN
4345 if test -n "$DUMPBIN"; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4347 $as_echo "$DUMPBIN" >&6; }
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4354 test -n "$DUMPBIN" && break
4357 if test -z "$DUMPBIN"; then
4358 ac_ct_DUMPBIN
=$DUMPBIN
4359 for ac_prog
in dumpbin
"link -dump"
4361 # Extract the first word of "$ac_prog", so it can be a program name with args.
4362 set dummy
$ac_prog; ac_word
=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4368 if test -n "$ac_ct_DUMPBIN"; then
4369 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4389 if test -n "$ac_ct_DUMPBIN"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4391 $as_echo "$ac_ct_DUMPBIN" >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4398 test -n "$ac_ct_DUMPBIN" && break
4401 if test "x$ac_ct_DUMPBIN" = x
; then
4404 case $cross_compiling:$ac_tool_warned in
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4408 ac_tool_warned
=yes ;;
4410 DUMPBIN
=$ac_ct_DUMPBIN
4414 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4416 DUMPBIN
="$DUMPBIN -symbols"
4424 if test "$DUMPBIN" != ":"; then
4428 test -z "$NM" && NM
=nm
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4436 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4437 if test "${lt_cv_nm_interface+set}" = set; then :
4438 $as_echo_n "(cached) " >&6
4440 lt_cv_nm_interface
="BSD nm"
4441 echo "int some_variable = 0;" > conftest.
$ac_ext
4442 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4443 (eval "$ac_compile" 2>conftest.err
)
4444 cat conftest.err
>&5
4445 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4446 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4447 cat conftest.err
>&5
4448 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4449 cat conftest.out
>&5
4450 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4451 lt_cv_nm_interface
="MS dumpbin"
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4456 $as_echo "$lt_cv_nm_interface" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4459 $as_echo_n "checking whether ln -s works... " >&6; }
4461 if test "$LN_S" = "ln -s"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4463 $as_echo "yes" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4466 $as_echo "no, using $LN_S" >&6; }
4469 # find the maximum length of command line arguments
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4471 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4472 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4473 $as_echo_n "(cached) " >&6
4480 # On DJGPP, this test can blow up pretty badly due to problems in libc
4481 # (any single argument exceeding 2000 bytes causes a buffer overrun
4482 # during glob expansion). Even if it were fixed, the result of this
4483 # check would be larger than it should be.
4484 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4488 # Under GNU Hurd, this test is not required because there is
4489 # no limit to the length of command line arguments.
4490 # Libtool will interpret -1 as no limit whatsoever
4491 lt_cv_sys_max_cmd_len
=-1;
4494 cygwin
* | mingw
* | cegcc
*)
4495 # On Win9x/ME, this test blows up -- it succeeds, but takes
4496 # about 5 minutes as the teststring grows exponentially.
4497 # Worse, since 9x/ME are not pre-emptively multitasking,
4498 # you end up with a "frozen" computer, even though with patience
4499 # the test eventually succeeds (with a max line length of 256k).
4500 # Instead, let's just punt: use the minimum linelength reported by
4501 # all of the supported platforms: 8192 (on NT/2K/XP).
4502 lt_cv_sys_max_cmd_len
=8192;
4506 # On MiNT this can take a long time and run out of memory.
4507 lt_cv_sys_max_cmd_len
=8192;
4511 # On AmigaOS with pdksh, this test takes hours, literally.
4512 # So we just punt and use a minimum line length of 8192.
4513 lt_cv_sys_max_cmd_len
=8192;
4516 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4517 # This has been around since 386BSD, at least. Likely further.
4518 if test -x /sbin
/sysctl
; then
4519 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4520 elif test -x /usr
/sbin
/sysctl
; then
4521 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4523 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4525 # And add a safety zone
4526 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4527 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4531 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4532 lt_cv_sys_max_cmd_len
=196608
4536 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4537 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4538 # nice to cause kernel panics so lets avoid the loop below.
4539 # First set a reasonable default.
4540 lt_cv_sys_max_cmd_len
=16384
4542 if test -x /sbin
/sysconfig
; then
4543 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4544 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4549 lt_cv_sys_max_cmd_len
=102400
4551 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4552 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4553 if test -n "$kargmax"; then
4554 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4556 lt_cv_sys_max_cmd_len
=32768
4560 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4561 if test -n "$lt_cv_sys_max_cmd_len"; then
4562 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4563 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4565 # Make teststring a little bigger before we do anything with it.
4566 # a 1K string should be a reasonable start.
4567 for i
in 1 2 3 4 5 6 7 8 ; do
4568 teststring
=$teststring$teststring
4570 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4571 # If test is not a shell built-in, we'll probably end up computing a
4572 # maximum length that is only half of the actual maximum length, but
4574 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4575 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4576 test $i != 17 # 1/2 MB should be enough
4579 teststring
=$teststring$teststring
4581 # Only check the string length outside the loop.
4582 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4584 # Add a significant safety factor because C++ compilers can tack on
4585 # massive amounts of additional arguments before passing them to the
4586 # linker. It appears as though 1/2 is a usable value.
4587 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4594 if test -n $lt_cv_sys_max_cmd_len ; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4596 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4599 $as_echo "none" >&6; }
4601 max_cmd_len
=$lt_cv_sys_max_cmd_len
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4613 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4614 # Try some XSI features
4617 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4619 && eval 'test $(( 1 + 1 )) -eq 2 \
4620 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4623 $as_echo "$xsi_shell" >&6; }
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4627 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4629 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4631 && lt_shell_append=yes
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4633 $as_echo "$lt_shell_append" >&6; }
4636 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4646 # test EBCDIC or ASCII
4647 case `echo X|tr X '\101'` in
4648 A) # ASCII based system
4649 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4650 lt_SP2NL='tr \040 \012'
4651 lt_NL2SP='tr \015\012 \040\040'
4653 *) # EBCDIC based system
4654 lt_SP2NL='tr \100 \n'
4655 lt_NL2SP='tr \r\n \100\100'
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4668 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4669 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4670 $as_echo_n "(cached
) " >&6
4672 lt_cv_ld_reload_flag='-r'
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4675 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4676 reload_flag=$lt_cv_ld_reload_flag
4677 case $reload_flag in
4679 *) reload_flag=" $reload_flag" ;;
4681 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4684 if test "$GCC" = yes; then
4685 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4687 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4700 if test -n "$ac_tool_prefix"; then
4701 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4702 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4704 $as_echo_n "checking
for $ac_word...
" >&6; }
4705 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4706 $as_echo_n "(cached
) " >&6
4708 if test -n "$OBJDUMP"; then
4709 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir=.
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4718 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4728 OBJDUMP=$ac_cv_prog_OBJDUMP
4729 if test -n "$OBJDUMP"; then
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4731 $as_echo "$OBJDUMP" >&6; }
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4734 $as_echo "no
" >&6; }
4739 if test -z "$ac_cv_prog_OBJDUMP"; then
4740 ac_ct_OBJDUMP=$OBJDUMP
4741 # Extract the first word of "objdump
", so it can be a program name with args.
4742 set dummy objdump; ac_word=$2
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4744 $as_echo_n "checking
for $ac_word...
" >&6; }
4745 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4746 $as_echo_n "(cached
) " >&6
4748 if test -n "$ac_ct_OBJDUMP"; then
4749 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir=.
4756 for ac_exec_ext in '' $ac_executable_extensions; do
4757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4758 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4768 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4769 if test -n "$ac_ct_OBJDUMP"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4771 $as_echo "$ac_ct_OBJDUMP" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4774 $as_echo "no
" >&6; }
4777 if test "x
$ac_ct_OBJDUMP" = x; then
4780 case $cross_compiling:$ac_tool_warned in
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4783 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4784 ac_tool_warned=yes ;;
4786 OBJDUMP=$ac_ct_OBJDUMP
4789 OBJDUMP="$ac_cv_prog_OBJDUMP"
4792 test -z "$OBJDUMP" && OBJDUMP=objdump
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4803 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4804 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4805 $as_echo_n "(cached
) " >&6
4807 lt_cv_file_magic_cmd='$MAGIC_CMD'
4808 lt_cv_file_magic_test_file=
4809 lt_cv_deplibs_check_method='unknown'
4810 # Need to set the preceding variable on all platforms that support
4811 # interlibrary dependencies.
4812 # 'none' -- dependencies not supported.
4813 # `unknown' -- same as none, but documents that we really don't know.
4814 # 'pass_all' -- all dependencies passed with no checks.
4815 # 'test_compile' -- check by making test program.
4816 # 'file_magic [[regex]]' -- check by looking for files in library path
4817 # which responds to the $file_magic_cmd with a given extended regex.
4818 # If you have `file' or equivalent on your system and you're not sure
4819 # whether `pass_all' will *always* work, you probably want this one.
4823 lt_cv_deplibs_check_method=pass_all
4827 lt_cv_deplibs_check_method=pass_all
4831 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4832 lt_cv_file_magic_cmd='/usr/bin/file -L'
4833 lt_cv_file_magic_test_file=/shlib/libc.so
4837 # func_win32_libid is a shell function defined in ltmain.sh
4838 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4839 lt_cv_file_magic_cmd='func_win32_libid'
4843 # Base MSYS/MinGW do not provide the 'file' command needed by
4844 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4845 # unless we find 'file', for example because we are cross-compiling.
4846 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4847 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
4848 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4849 lt_cv_file_magic_cmd='func_win32_libid'
4851 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4852 lt_cv_file_magic_cmd='$OBJDUMP -f'
4857 # use the weaker test based on 'objdump'. See mingw*.
4858 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4859 lt_cv_file_magic_cmd='$OBJDUMP -f'
4862 darwin* | rhapsody*)
4863 lt_cv_deplibs_check_method=pass_all
4866 freebsd* | dragonfly*)
4867 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4870 # Not sure whether the presence of OpenBSD here was a mistake.
4871 # Let's accept both of them until this is cleared up.
4872 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4873 lt_cv_file_magic_cmd=/usr/bin/file
4874 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4878 lt_cv_deplibs_check_method=pass_all
4883 lt_cv_deplibs_check_method=pass_all
4887 lt_cv_deplibs_check_method=pass_all
4890 hpux10.20* | hpux11*)
4891 lt_cv_file_magic_cmd=/usr/bin/file
4894 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4895 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4898 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]'
4899 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4902 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4903 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4909 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4910 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4913 irix5* | irix6* | nonstopux*)
4915 *-32|*"-32 ") libmagic=32-bit;;
4916 *-n32|*"-n32 ") libmagic=N32;;
4917 *-64|*"-64 ") libmagic=64-bit;;
4918 *) libmagic=never-match;;
4920 lt_cv_deplibs_check_method=pass_all
4923 # This must be Linux ELF.
4924 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4925 lt_cv_deplibs_check_method=pass_all
4929 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4930 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4932 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4937 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4938 lt_cv_file_magic_cmd=/usr/bin/file
4939 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4943 lt_cv_deplibs_check_method=pass_all
4947 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4948 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4950 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4954 osf3* | osf4* | osf5*)
4955 lt_cv_deplibs_check_method=pass_all
4959 lt_cv_deplibs_check_method=pass_all
4963 lt_cv_deplibs_check_method=pass_all
4966 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4967 lt_cv_deplibs_check_method=pass_all
4971 case $host_vendor in
4973 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]'
4974 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4977 lt_cv_deplibs_check_method=pass_all
4980 lt_cv_file_magic_cmd='/bin/file'
4981 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4984 lt_cv_file_magic_cmd='/bin/file'
4985 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4986 lt_cv_file_magic_test_file=/lib/libc.so
4989 lt_cv_deplibs_check_method=pass_all
4992 lt_cv_deplibs_check_method=pass_all
4998 lt_cv_deplibs_check_method=pass_all
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5004 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5005 file_magic_cmd=$lt_cv_file_magic_cmd
5006 deplibs_check_method=$lt_cv_deplibs_check_method
5007 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5024 $as_echo_n "checking
for $ac_word...
" >&6; }
5025 if test "${ac_cv_prog_AR+set}" = set; then :
5026 $as_echo_n "(cached
) " >&6
5028 if test -n "$AR"; then
5029 ac_cv_prog_AR="$AR" # Let the user override the test.
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_AR="${ac_tool_prefix}ar"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5049 if test -n "$AR"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5051 $as_echo "$AR" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5054 $as_echo "no
" >&6; }
5059 if test -z "$ac_cv_prog_AR"; then
5061 # Extract the first word of "ar", so it can be a program name with args.
5062 set dummy ar; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5064 $as_echo_n "checking
for $ac_word...
" >&6; }
5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5066 $as_echo_n "(cached
) " >&6
5068 if test -n "$ac_ct_AR"; then
5069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_AR="ar"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5089 if test -n "$ac_ct_AR"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5091 $as_echo "$ac_ct_AR" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5094 $as_echo "no
" >&6; }
5097 if test "x
$ac_ct_AR" = x; then
5100 case $cross_compiling:$ac_tool_warned in
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5103 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5104 ac_tool_warned=yes ;;
5112 test -z "$AR" && AR=ar
5113 test -z "$AR_FLAGS" && AR_FLAGS=cru
5125 if test -n "$ac_tool_prefix"; then
5126 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5127 set dummy ${ac_tool_prefix}strip; ac_word=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5129 $as_echo_n "checking
for $ac_word...
" >&6; }
5130 if test "${ac_cv_prog_STRIP+set}" = set; then :
5131 $as_echo_n "(cached
) " >&6
5133 if test -n "$STRIP"; then
5134 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir=.
5141 for ac_exec_ext in '' $ac_executable_extensions; do
5142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5153 STRIP=$ac_cv_prog_STRIP
5154 if test -n "$STRIP"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5156 $as_echo "$STRIP" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5159 $as_echo "no
" >&6; }
5164 if test -z "$ac_cv_prog_STRIP"; then
5166 # Extract the first word of "strip
", so it can be a program name with args.
5167 set dummy strip; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5169 $as_echo_n "checking
for $ac_word...
" >&6; }
5170 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5171 $as_echo_n "(cached
) " >&6
5173 if test -n "$ac_ct_STRIP"; then
5174 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_ac_ct_STRIP="strip
"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5193 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5194 if test -n "$ac_ct_STRIP"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5196 $as_echo "$ac_ct_STRIP" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5199 $as_echo "no
" >&6; }
5202 if test "x
$ac_ct_STRIP" = x; then
5205 case $cross_compiling:$ac_tool_warned in
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5208 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5209 ac_tool_warned=yes ;;
5214 STRIP="$ac_cv_prog_STRIP"
5217 test -z "$STRIP" && STRIP=:
5224 if test -n "$ac_tool_prefix"; then
5225 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5226 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5228 $as_echo_n "checking
for $ac_word...
" >&6; }
5229 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5230 $as_echo_n "(cached
) " >&6
5232 if test -n "$RANLIB"; then
5233 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5252 RANLIB=$ac_cv_prog_RANLIB
5253 if test -n "$RANLIB"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5255 $as_echo "$RANLIB" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5258 $as_echo "no
" >&6; }
5263 if test -z "$ac_cv_prog_RANLIB"; then
5264 ac_ct_RANLIB=$RANLIB
5265 # Extract the first word of "ranlib
", so it can be a program name with args.
5266 set dummy ranlib; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5268 $as_echo_n "checking
for $ac_word...
" >&6; }
5269 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5270 $as_echo_n "(cached
) " >&6
5272 if test -n "$ac_ct_RANLIB"; then
5273 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5292 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5293 if test -n "$ac_ct_RANLIB"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5295 $as_echo "$ac_ct_RANLIB" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5298 $as_echo "no
" >&6; }
5301 if test "x
$ac_ct_RANLIB" = x; then
5304 case $cross_compiling:$ac_tool_warned in
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5307 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5308 ac_tool_warned=yes ;;
5310 RANLIB=$ac_ct_RANLIB
5313 RANLIB="$ac_cv_prog_RANLIB"
5316 test -z "$RANLIB" && RANLIB=:
5323 # Determine commands to create old-style static archives.
5324 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5325 old_postinstall_cmds='chmod 644 $oldlib'
5326 old_postuninstall_cmds=
5328 if test -n "$RANLIB"; then
5331 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5334 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5337 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5342 lock_old_archive_extraction=yes ;;
5344 lock_old_archive_extraction=no ;;
5385 # If no C compiler was specified, use CC.
5388 # If no C compiler flags were specified, use CFLAGS.
5389 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5391 # Allow CC to be a program name with arguments.
5395 # Check for command to grab the raw symbol name followed by C symbol from nm.
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5397 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5398 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5399 $as_echo_n "(cached
) " >&6
5402 # These are sane defaults that work on at least a few old systems.
5403 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5405 # Character class describing NM global symbol codes.
5406 symcode='[BCDEGRST]'
5408 # Regexp to match symbols that can be accessed directly from C.
5409 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5411 # Define system-specific variables.
5416 cygwin* | mingw* | pw32* | cegcc*)
5417 symcode='[ABCDGISTW]'
5420 if test "$host_cpu" = ia64; then
5421 symcode='[ABCDEGRST]'
5425 symcode='[BCDEGRST]'
5428 symcode='[BCDEGQRST]'
5439 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5447 # If we're using GNU nm, then use its standard symbol codes.
5448 case `$NM -V 2>&1` in
5449 *GNU* | *'with BFD'*)
5450 symcode='[ABCDGIRSTW]' ;;
5453 # Transform an extracted symbol line into a proper C declaration.
5454 # Some systems (esp. on ia64) link data and code symbols differently,
5455 # so use this general approach.
5456 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5458 # Transform an extracted symbol line into symbol name and symbol address
5459 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5460 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'"
5462 # Handle CRLF in mingw tool chain
5466 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5470 # Try without a prefix underscore, then with it.
5471 for ac_symprfx in "" "_
"; do
5473 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5474 symxfrm="\\1 $ac_symprfx\\2 \\2"
5476 # Write the raw and C identifiers.
5477 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5478 # Fake it for dumpbin and say T for any non-static function
5479 # and D for any global variable.
5480 # Also find C++ and __fastcall symbols from MSVC++,
5481 # which start with @ or ?.
5482 lt_cv_sys_global_symbol_pipe="$AWK '"\
5483 " {last_section=section; section=\$ 3};"\
5484 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5485 " \$ 0!~/External *\|/{next};"\
5486 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5487 " {if(hide[section]) next};"\
5488 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5489 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5490 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5491 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5492 " ' prfx
=^
$ac_symprfx"
5494 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5497 # Check to see that the pipe works correctly.
5501 cat > conftest.$ac_ext <<_LT_EOF
5506 void nm_test_func(void);
5507 void nm_test_func(void){}
5511 int main(){nm_test_var='a';nm_test_func();return(0);}
5514 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5515 (eval $ac_compile) 2>&5
5517 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5518 test $ac_status = 0; }; then
5519 # Now try to grab the symbols.
5521 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5522 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5524 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5525 test $ac_status = 0; } && test -s "$nlist"; then
5526 # Try sorting and uniquifying the output.
5527 if sort "$nlist" | uniq > "$nlist"T; then
5528 mv -f "$nlist"T "$nlist"
5533 # Make sure that we snagged all the symbols we need.
5534 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5535 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5536 cat <<_LT_EOF > conftest.$ac_ext
5542 # Now generate the symbol file.
5543 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5545 cat <<_LT_EOF >> conftest.$ac_ext
5547 /* The mapping between symbol names and symbols. */
5552 lt__PROGRAM__LTX_preloaded_symbols[] =
5554 { "@PROGRAM@
", (void *) 0 },
5556 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5557 cat <<\_LT_EOF >> conftest.$ac_ext
5561 /* This works around a problem in FreeBSD linker */
5562 #ifdef FREEBSD_WORKAROUND
5563 static const void *lt_preloaded_setup() {
5564 return lt__PROGRAM__LTX_preloaded_symbols;
5572 # Now try linking the two files.
5573 mv conftest.$ac_objext conftstm.$ac_objext
5574 lt_save_LIBS="$LIBS"
5575 lt_save_CFLAGS="$CFLAGS"
5576 LIBS="conftstm.
$ac_objext"
5577 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5578 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5579 (eval $ac_link) 2>&5
5581 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5582 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5585 LIBS="$lt_save_LIBS"
5586 CFLAGS="$lt_save_CFLAGS"
5588 echo "cannot
find nm_test_func
in $nlist" >&5
5591 echo "cannot
find nm_test_var
in $nlist" >&5
5594 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5597 echo "$progname: failed program was
:" >&5
5598 cat conftest.$ac_ext >&5
5600 rm -rf conftest* conftst*
5602 # Do not use the global_symbol_pipe unless it works.
5603 if test "$pipe_works" = yes; then
5606 lt_cv_sys_global_symbol_pipe=
5612 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5613 lt_cv_sys_global_symbol_to_cdecl=
5615 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5617 $as_echo "failed
" >&6; }
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5620 $as_echo "ok
" >&6; }
5645 # Check whether --enable-libtool-lock was given.
5646 if test "${enable_libtool_lock+set}" = set; then :
5647 enableval=$enable_libtool_lock;
5650 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5652 # Some flags need to be propagated to the compiler or linker for good
5656 # Find out which ABI we are using.
5657 echo 'int i;' > conftest.$ac_ext
5658 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5659 (eval $ac_compile) 2>&5
5661 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5662 test $ac_status = 0; }; then
5663 case `/usr/bin/file conftest.$ac_objext` in
5675 # Find out which ABI we are using.
5676 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5677 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5678 (eval $ac_compile) 2>&5
5680 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5681 test $ac_status = 0; }; then
5682 if test "$lt_cv_prog_gnu_ld" = yes; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5685 LD="${LD-ld} -melf32bsmip"
5688 LD="${LD-ld} -melf32bmipn32"
5691 LD="${LD-ld} -melf64bmip"
5695 case `/usr/bin/file conftest.$ac_objext` in
5711 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5712 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5713 # Find out which ABI we are using.
5714 echo 'int i;' > conftest.$ac_ext
5715 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5716 (eval $ac_compile) 2>&5
5718 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5719 test $ac_status = 0; }; then
5720 case `/usr/bin/file conftest.o` in
5723 x86_64-*kfreebsd*-gnu)
5724 LD="${LD-ld} -m elf_i386_fbsd
"
5727 LD="${LD-ld} -m elf_i386
"
5729 ppc64-*linux*|powerpc64-*linux*)
5730 LD="${LD-ld} -m elf32ppclinux
"
5733 LD="${LD-ld} -m elf_s390
"
5736 LD="${LD-ld} -m elf32_sparc
"
5742 x86_64-*kfreebsd*-gnu)
5743 LD="${LD-ld} -m elf_x86_64_fbsd
"
5746 LD="${LD-ld} -m elf_x86_64
"
5748 ppc*-*linux*|powerpc*-*linux*)
5749 LD="${LD-ld} -m elf64ppc
"
5751 s390*-*linux*|s390*-*tpf*)
5752 LD="${LD-ld} -m elf64_s390
"
5755 LD="${LD-ld} -m elf64_sparc
"
5765 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5766 SAVE_CFLAGS="$CFLAGS"
5767 CFLAGS="$CFLAGS -belf"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5769 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5770 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5771 $as_echo_n "(cached
) " >&6
5774 ac_cpp='$CPP $CPPFLAGS'
5775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5779 if test x$gcc_no_link = xyes; then
5780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5793 if ac_fn_c_try_link "$LINENO"; then :
5794 lt_cv_cc_needs_belf=yes
5796 lt_cv_cc_needs_belf=no
5798 rm -f core conftest.err conftest.$ac_objext \
5799 conftest$ac_exeext conftest.$ac_ext
5801 ac_cpp='$CPP $CPPFLAGS'
5802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5808 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5809 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5810 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5811 CFLAGS="$SAVE_CFLAGS"
5815 # Find out which ABI we are using.
5816 echo 'int i;' > conftest.$ac_ext
5817 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5818 (eval $ac_compile) 2>&5
5820 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5821 test $ac_status = 0; }; then
5822 case `/usr/bin/file conftest.o` in
5824 case $lt_cv_prog_gnu_ld in
5825 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5827 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5839 need_locks="$enable_libtool_lock"
5843 rhapsody* | darwin*)
5844 if test -n "$ac_tool_prefix"; then
5845 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5846 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5848 $as_echo_n "checking
for $ac_word...
" >&6; }
5849 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5850 $as_echo_n "(cached
) " >&6
5852 if test -n "$DSYMUTIL"; then
5853 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir=.
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5862 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5872 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5873 if test -n "$DSYMUTIL"; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5875 $as_echo "$DSYMUTIL" >&6; }
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5878 $as_echo "no
" >&6; }
5883 if test -z "$ac_cv_prog_DSYMUTIL"; then
5884 ac_ct_DSYMUTIL=$DSYMUTIL
5885 # Extract the first word of "dsymutil
", so it can be a program name with args.
5886 set dummy dsymutil; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5888 $as_echo_n "checking
for $ac_word...
" >&6; }
5889 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5890 $as_echo_n "(cached
) " >&6
5892 if test -n "$ac_ct_DSYMUTIL"; then
5893 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5902 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5912 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5913 if test -n "$ac_ct_DSYMUTIL"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
5915 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5918 $as_echo "no
" >&6; }
5921 if test "x
$ac_ct_DSYMUTIL" = x; then
5924 case $cross_compiling:$ac_tool_warned in
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5927 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5928 ac_tool_warned=yes ;;
5930 DSYMUTIL=$ac_ct_DSYMUTIL
5933 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5936 if test -n "$ac_tool_prefix"; then
5937 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5938 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5940 $as_echo_n "checking
for $ac_word...
" >&6; }
5941 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5942 $as_echo_n "(cached
) " >&6
5944 if test -n "$NMEDIT"; then
5945 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 test -z "$as_dir" && as_dir=.
5952 for ac_exec_ext in '' $ac_executable_extensions; do
5953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5954 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5964 NMEDIT=$ac_cv_prog_NMEDIT
5965 if test -n "$NMEDIT"; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
5967 $as_echo "$NMEDIT" >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5970 $as_echo "no
" >&6; }
5975 if test -z "$ac_cv_prog_NMEDIT"; then
5976 ac_ct_NMEDIT=$NMEDIT
5977 # Extract the first word of "nmedit
", so it can be a program name with args.
5978 set dummy nmedit; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5980 $as_echo_n "checking
for $ac_word...
" >&6; }
5981 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5982 $as_echo_n "(cached
) " >&6
5984 if test -n "$ac_ct_NMEDIT"; then
5985 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6004 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6005 if test -n "$ac_ct_NMEDIT"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6007 $as_echo "$ac_ct_NMEDIT" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6010 $as_echo "no
" >&6; }
6013 if test "x
$ac_ct_NMEDIT" = x; then
6016 case $cross_compiling:$ac_tool_warned in
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6019 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6020 ac_tool_warned=yes ;;
6022 NMEDIT=$ac_ct_NMEDIT
6025 NMEDIT="$ac_cv_prog_NMEDIT"
6028 if test -n "$ac_tool_prefix"; then
6029 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6030 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6032 $as_echo_n "checking
for $ac_word...
" >&6; }
6033 if test "${ac_cv_prog_LIPO+set}" = set; then :
6034 $as_echo_n "(cached
) " >&6
6036 if test -n "$LIPO"; then
6037 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6056 LIPO=$ac_cv_prog_LIPO
6057 if test -n "$LIPO"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6059 $as_echo "$LIPO" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6062 $as_echo "no
" >&6; }
6067 if test -z "$ac_cv_prog_LIPO"; then
6069 # Extract the first word of "lipo
", so it can be a program name with args.
6070 set dummy lipo; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6072 $as_echo_n "checking
for $ac_word...
" >&6; }
6073 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6074 $as_echo_n "(cached
) " >&6
6076 if test -n "$ac_ct_LIPO"; then
6077 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6086 ac_cv_prog_ac_ct_LIPO="lipo
"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6096 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6097 if test -n "$ac_ct_LIPO"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6099 $as_echo "$ac_ct_LIPO" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6102 $as_echo "no
" >&6; }
6105 if test "x
$ac_ct_LIPO" = x; then
6108 case $cross_compiling:$ac_tool_warned in
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6111 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6112 ac_tool_warned=yes ;;
6117 LIPO="$ac_cv_prog_LIPO"
6120 if test -n "$ac_tool_prefix"; then
6121 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6122 set dummy ${ac_tool_prefix}otool; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6124 $as_echo_n "checking
for $ac_word...
" >&6; }
6125 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6126 $as_echo_n "(cached
) " >&6
6128 if test -n "$OTOOL"; then
6129 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6148 OTOOL=$ac_cv_prog_OTOOL
6149 if test -n "$OTOOL"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6151 $as_echo "$OTOOL" >&6; }
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6154 $as_echo "no
" >&6; }
6159 if test -z "$ac_cv_prog_OTOOL"; then
6161 # Extract the first word of "otool
", so it can be a program name with args.
6162 set dummy otool; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6164 $as_echo_n "checking
for $ac_word...
" >&6; }
6165 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6166 $as_echo_n "(cached
) " >&6
6168 if test -n "$ac_ct_OTOOL"; then
6169 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 ac_cv_prog_ac_ct_OTOOL="otool
"
6179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6188 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6189 if test -n "$ac_ct_OTOOL"; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6191 $as_echo "$ac_ct_OTOOL" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6194 $as_echo "no
" >&6; }
6197 if test "x
$ac_ct_OTOOL" = x; then
6200 case $cross_compiling:$ac_tool_warned in
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6203 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6204 ac_tool_warned=yes ;;
6209 OTOOL="$ac_cv_prog_OTOOL"
6212 if test -n "$ac_tool_prefix"; then
6213 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6214 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6216 $as_echo_n "checking
for $ac_word...
" >&6; }
6217 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6218 $as_echo_n "(cached
) " >&6
6220 if test -n "$OTOOL64"; then
6221 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6230 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6240 OTOOL64=$ac_cv_prog_OTOOL64
6241 if test -n "$OTOOL64"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6243 $as_echo "$OTOOL64" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6246 $as_echo "no
" >&6; }
6251 if test -z "$ac_cv_prog_OTOOL64"; then
6252 ac_ct_OTOOL64=$OTOOL64
6253 # Extract the first word of "otool64
", so it can be a program name with args.
6254 set dummy otool64; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6256 $as_echo_n "checking
for $ac_word...
" >&6; }
6257 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6258 $as_echo_n "(cached
) " >&6
6260 if test -n "$ac_ct_OTOOL64"; then
6261 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6280 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6281 if test -n "$ac_ct_OTOOL64"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6283 $as_echo "$ac_ct_OTOOL64" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6286 $as_echo "no
" >&6; }
6289 if test "x
$ac_ct_OTOOL64" = x; then
6292 case $cross_compiling:$ac_tool_warned in
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6295 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6296 ac_tool_warned=yes ;;
6298 OTOOL64=$ac_ct_OTOOL64
6301 OTOOL64="$ac_cv_prog_OTOOL64"
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6331 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6332 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6333 $as_echo_n "(cached
) " >&6
6335 lt_cv_apple_cc_single_mod=no
6336 if test -z "${LT_MULTI_MODULE}"; then
6337 # By default we will add the -single_module flag. You can override
6338 # by either setting the environment variable LT_MULTI_MODULE
6339 # non-empty at configure time, or by adding -multi_module to the
6341 rm -rf libconftest.dylib*
6342 echo "int foo
(void
){return 1;}" > conftest.c
6343 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6344 -dynamiclib -Wl,-single_module conftest.c
" >&5
6345 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6346 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6348 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6349 lt_cv_apple_cc_single_mod=yes
6351 cat conftest.err >&5
6353 rm -rf libconftest.dylib*
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6358 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6360 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6361 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6362 $as_echo_n "(cached
) " >&6
6364 lt_cv_ld_exported_symbols_list=no
6365 save_LDFLAGS=$LDFLAGS
6366 echo "_main
" > conftest.sym
6367 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6368 if test x$gcc_no_link = xyes; then
6369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6382 if ac_fn_c_try_link "$LINENO"; then :
6383 lt_cv_ld_exported_symbols_list=yes
6385 lt_cv_ld_exported_symbols_list=no
6387 rm -f core conftest.err conftest.$ac_objext \
6388 conftest$ac_exeext conftest.$ac_ext
6389 LDFLAGS="$save_LDFLAGS"
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6393 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6395 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6396 if test "${lt_cv_ld_force_load+set}" = set; then :
6397 $as_echo_n "(cached
) " >&6
6399 lt_cv_ld_force_load=no
6400 cat > conftest.c << _LT_EOF
6401 int forced_loaded() { return 2;}
6403 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6404 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6405 echo "$AR cru libconftest.a conftest.o
" >&5
6406 $AR cru libconftest.a conftest.o 2>&5
6407 cat > conftest.c << _LT_EOF
6408 int main() { return 0;}
6410 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6411 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6413 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6414 lt_cv_ld_force_load=yes
6416 cat conftest.err >&5
6418 rm -f conftest.err libconftest.a conftest conftest.c
6419 rm -rf conftest.dSYM
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6423 $as_echo "$lt_cv_ld_force_load" >&6; }
6425 rhapsody* | darwin1.[012])
6426 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6428 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6429 darwin*) # darwin 5.x on
6430 # if running on 10.5 or later, the deployment target defaults
6431 # to the OS version, if on x86, and 10.4, the deployment
6432 # target defaults to 10.4. Don't you love it?
6433 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6434 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6435 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6437 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6439 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6443 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6444 _lt_dar_single_mod='$single_module'
6446 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6447 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6449 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6451 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6452 _lt_dsymutil='~$DSYMUTIL $lib || :'
6460 ac_cpp='$CPP $CPPFLAGS'
6461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6465 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6466 # On Suns, sometimes $CPP names a directory.
6467 if test -n "$CPP" && test -d "$CPP"; then
6470 if test -z "$CPP"; then
6471 if test "${ac_cv_prog_CPP+set}" = set; then :
6472 $as_echo_n "(cached
) " >&6
6474 # Double quotes because CPP needs to be expanded
6475 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6478 for ac_c_preproc_warn_flag in '' yes
6480 # Use a header file that comes with gcc, so configuring glibc
6481 # with a fresh cross-compiler works.
6482 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6483 # <limits.h> exists even on freestanding compilers.
6484 # On the NeXT, cc -E runs the code through the compiler's parser,
6485 # not just through cpp. "Syntax error
" is here to catch this case.
6486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6487 /* end confdefs.h. */
6489 # include <limits.h>
6491 # include <assert.h>
6495 if ac_fn_c_try_cpp "$LINENO"; then :
6498 # Broken: fails on valid input.
6501 rm -f conftest.err conftest.$ac_ext
6503 # OK, works on sane cases. Now check whether nonexistent headers
6504 # can be detected and how.
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6507 #include <ac_nonexistent.h>
6509 if ac_fn_c_try_cpp "$LINENO"; then :
6510 # Broken: success on invalid input.
6513 # Passes both tests.
6517 rm -f conftest.err conftest.$ac_ext
6520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6521 rm -f conftest.err conftest.$ac_ext
6522 if $ac_preproc_ok; then :
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6535 $as_echo "$CPP" >&6; }
6537 for ac_c_preproc_warn_flag in '' yes
6539 # Use a header file that comes with gcc, so configuring glibc
6540 # with a fresh cross-compiler works.
6541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6542 # <limits.h> exists even on freestanding compilers.
6543 # On the NeXT, cc -E runs the code through the compiler's parser,
6544 # not just through cpp. "Syntax error
" is here to catch this case.
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6548 # include <limits.h>
6550 # include <assert.h>
6554 if ac_fn_c_try_cpp "$LINENO"; then :
6557 # Broken: fails on valid input.
6560 rm -f conftest.err conftest.$ac_ext
6562 # OK, works on sane cases. Now check whether nonexistent headers
6563 # can be detected and how.
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6566 #include <ac_nonexistent.h>
6568 if ac_fn_c_try_cpp "$LINENO"; then :
6569 # Broken: success on invalid input.
6572 # Passes both tests.
6576 rm -f conftest.err conftest.$ac_ext
6579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6580 rm -f conftest.err conftest.$ac_ext
6581 if $ac_preproc_ok; then :
6584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6586 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6587 See \`config.log' for more details.
" "$LINENO" 5; }
6591 ac_cpp='$CPP $CPPFLAGS'
6592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6598 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6599 if test "${ac_cv_header_stdc+set}" = set; then :
6600 $as_echo_n "(cached
) " >&6
6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6617 if ac_fn_c_try_compile "$LINENO"; then :
6618 ac_cv_header_stdc=yes
6620 ac_cv_header_stdc=no
6622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6624 if test $ac_cv_header_stdc = yes; then
6625 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6631 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6632 $EGREP "memchr
" >/dev/null 2>&1; then :
6635 ac_cv_header_stdc=no
6641 if test $ac_cv_header_stdc = yes; then
6642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6644 /* end confdefs.h. */
6648 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6649 $EGREP "free
" >/dev/null 2>&1; then :
6652 ac_cv_header_stdc=no
6658 if test $ac_cv_header_stdc = yes; then
6659 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6660 if test "$cross_compiling" = yes; then :
6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6667 #if ((' ' & 0x0FF) == 0x020)
6668 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6669 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6671 # define ISLOWER(c) \
6672 (('a' <= (c) && (c) <= 'i') \
6673 || ('j' <= (c) && (c) <= 'r') \
6674 || ('s' <= (c) && (c) <= 'z'))
6675 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6678 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6683 for (i = 0; i < 256; i++)
6684 if (XOR (islower (i), ISLOWER (i))
6685 || toupper (i) != TOUPPER (i))
6690 if ac_fn_c_try_run "$LINENO"; then :
6693 ac_cv_header_stdc=no
6695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6696 conftest.$ac_objext conftest.beam conftest.$ac_ext
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6702 $as_echo "$ac_cv_header_stdc" >&6; }
6703 if test $ac_cv_header_stdc = yes; then
6705 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6710 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6711 inttypes.h stdint.h unistd.h
6713 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6714 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6716 eval as_val
=\$
$as_ac_Header
6717 if test "x$as_val" = x
""yes; then :
6718 cat >>confdefs.h
<<_ACEOF
6719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 for ac_header
in dlfcn.h
6729 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6731 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6732 cat >>confdefs.h
<<_ACEOF
6733 #define HAVE_DLFCN_H 1
6754 # Check whether --enable-shared was given.
6755 if test "${enable_shared+set}" = set; then :
6756 enableval
=$enable_shared; p
=${PACKAGE-default}
6758 yes) enable_shared
=yes ;;
6759 no
) enable_shared
=no
;;
6762 # Look at the argument we got. We use all the common list separators.
6763 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6764 for pkg
in $enableval; do
6766 if test "X$pkg" = "X$p"; then
6785 # Check whether --enable-static was given.
6786 if test "${enable_static+set}" = set; then :
6787 enableval
=$enable_static; p
=${PACKAGE-default}
6789 yes) enable_static
=yes ;;
6790 no
) enable_static
=no
;;
6793 # Look at the argument we got. We use all the common list separators.
6794 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6795 for pkg
in $enableval; do
6797 if test "X$pkg" = "X$p"; then
6817 # Check whether --with-pic was given.
6818 if test "${with_pic+set}" = set; then :
6819 withval
=$with_pic; pic_mode
="$withval"
6825 test -z "$pic_mode" && pic_mode
=default
6833 # Check whether --enable-fast-install was given.
6834 if test "${enable_fast_install+set}" = set; then :
6835 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6837 yes) enable_fast_install
=yes ;;
6838 no
) enable_fast_install
=no
;;
6840 enable_fast_install
=no
6841 # Look at the argument we got. We use all the common list separators.
6842 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6843 for pkg
in $enableval; do
6845 if test "X$pkg" = "X$p"; then
6846 enable_fast_install
=yes
6853 enable_fast_install
=yes
6866 # This can be used to rebuild libtool when needed
6867 LIBTOOL_DEPS
="$ltmain"
6869 # Always use our own libtool.
6870 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6897 test -z "$LN_S" && LN_S
="ln -s"
6912 if test -n "${ZSH_VERSION+set}" ; then
6913 setopt NO_GLOB_SUBST
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6917 $as_echo_n "checking for objdir... " >&6; }
6918 if test "${lt_cv_objdir+set}" = set; then :
6919 $as_echo_n "(cached) " >&6
6921 rm -f .libs
2>/dev
/null
6922 mkdir .libs
2>/dev
/null
6923 if test -d .libs
; then
6926 # MS-DOS does not allow filenames that begin with a dot.
6929 rmdir .libs
2>/dev
/null
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6932 $as_echo "$lt_cv_objdir" >&6; }
6933 objdir
=$lt_cv_objdir
6939 cat >>confdefs.h
<<_ACEOF
6940 #define LT_OBJDIR "$lt_cv_objdir/"
6948 # AIX sometimes has problems with the GCC collect2 program. For some
6949 # reason, if we set the COLLECT_NAMES environment variable, the problems
6950 # vanish in a puff of smoke.
6951 if test "X${COLLECT_NAMES+set}" != Xset
; then
6953 export COLLECT_NAMES
6960 can_build_shared
=yes
6962 # All known linkers require a `.a' archive for static linking (except MSVC,
6963 # which needs '.lib').
6966 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6969 old_CFLAGS
="$CFLAGS"
6971 # Set sane defaults for various variables
6972 test -z "$CC" && CC
=cc
6973 test -z "$LTCC" && LTCC
=$CC
6974 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6975 test -z "$LD" && LD
=ld
6976 test -z "$ac_objext" && ac_objext
=o
6978 for cc_temp
in $compiler""; do
6980 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6981 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6986 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6989 # Only perform the check for file, if the check method requires it
6990 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6991 case $deplibs_check_method in
6993 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6995 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6996 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6997 $as_echo_n "(cached) " >&6
7001 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7004 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7005 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7006 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7007 for ac_dir
in $ac_dummy; do
7009 test -z "$ac_dir" && ac_dir
=.
7010 if test -f $ac_dir/${ac_tool_prefix}file; then
7011 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7012 if test -n "$file_magic_test_file"; then
7013 case $deplibs_check_method in
7015 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7016 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7017 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7018 $EGREP "$file_magic_regex" > /dev
/null
; then
7023 *** Warning: the command libtool uses to detect shared libraries,
7024 *** $file_magic_cmd, produces output that libtool cannot recognize.
7025 *** The result is that libtool may fail to recognize shared libraries
7026 *** as such. This will affect the creation of libtool libraries that
7027 *** depend on shared libraries, but programs linked with such libtool
7028 *** libraries will work regardless of this problem. Nevertheless, you
7029 *** may want to report the problem to your system manager and/or to
7030 *** bug-libtool@gnu.org
7040 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7045 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7046 if test -n "$MAGIC_CMD"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7048 $as_echo "$MAGIC_CMD" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7058 if test -z "$lt_cv_path_MAGIC_CMD"; then
7059 if test -n "$ac_tool_prefix"; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7061 $as_echo_n "checking for file... " >&6; }
7062 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7063 $as_echo_n "(cached) " >&6
7067 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7070 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7071 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7072 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7073 for ac_dir
in $ac_dummy; do
7075 test -z "$ac_dir" && ac_dir
=.
7076 if test -f $ac_dir/file; then
7077 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7078 if test -n "$file_magic_test_file"; then
7079 case $deplibs_check_method in
7081 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7082 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7083 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7084 $EGREP "$file_magic_regex" > /dev
/null
; then
7089 *** Warning: the command libtool uses to detect shared libraries,
7090 *** $file_magic_cmd, produces output that libtool cannot recognize.
7091 *** The result is that libtool may fail to recognize shared libraries
7092 *** as such. This will affect the creation of libtool libraries that
7093 *** depend on shared libraries, but programs linked with such libtool
7094 *** libraries will work regardless of this problem. Nevertheless, you
7095 *** may want to report the problem to your system manager and/or to
7096 *** bug-libtool@gnu.org
7106 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7111 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7112 if test -n "$MAGIC_CMD"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7114 $as_echo "$MAGIC_CMD" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7130 # Use C for the default configuration in the libtool script
7134 ac_cpp
='$CPP $CPPFLAGS'
7135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7140 # Source file extension for C test sources.
7143 # Object file extension for compiled C test sources.
7147 # Code to be used in simple compile tests
7148 lt_simple_compile_test_code
="int some_variable = 0;"
7150 # Code to be used in simple link tests
7151 lt_simple_link_test_code
='int main(){return(0);}'
7159 # If no C compiler was specified, use CC.
7162 # If no C compiler flags were specified, use CFLAGS.
7163 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7165 # Allow CC to be a program name with arguments.
7168 # Save the default compiler, since it gets overwritten when the other
7169 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7170 compiler_DEFAULT
=$CC
7172 # save warnings/boilerplate of simple test code
7173 ac_outfile
=conftest.
$ac_objext
7174 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7175 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7176 _lt_compiler_boilerplate
=`cat conftest.err`
7179 ac_outfile
=conftest.
$ac_objext
7180 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7181 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7182 _lt_linker_boilerplate
=`cat conftest.err`
7187 ## There is no encapsulation within the following macros, do not change
7188 ## the running order or otherwise move them around unless you know exactly
7189 ## what you are doing...
7190 if test -n "$compiler"; then
7192 lt_prog_compiler_no_builtin_flag
=
7194 if test "$GCC" = yes; then
7195 case $cc_basename in
7197 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7199 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7203 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7204 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7205 $as_echo_n "(cached) " >&6
7207 lt_cv_prog_compiler_rtti_exceptions
=no
7208 ac_outfile
=conftest.
$ac_objext
7209 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7210 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7211 # Insert the option either (1) after the last *FLAGS variable, or
7212 # (2) before a word containing "conftest.", or (3) at the end.
7213 # Note that $ac_compile itself does not contain backslashes and begins
7214 # with a dollar sign (not a hyphen), so the echo should work correctly.
7215 # The option is referenced via a variable to avoid confusing sed.
7216 lt_compile
=`echo "$ac_compile" | $SED \
7217 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7219 -e 's:$: $lt_compiler_flag:'`
7220 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7221 (eval "$lt_compile" 2>conftest.err
)
7223 cat conftest.err
>&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 if (exit $ac_status) && test -s "$ac_outfile"; then
7226 # The compiler can only warn and ignore the option if not recognized
7227 # So say no if there are warnings other than the usual output.
7228 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7229 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7230 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7231 lt_cv_prog_compiler_rtti_exceptions
=yes
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7238 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7240 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7241 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7253 lt_prog_compiler_wl
=
7254 lt_prog_compiler_pic
=
7255 lt_prog_compiler_static
=
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7258 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7260 if test "$GCC" = yes; then
7261 lt_prog_compiler_wl
='-Wl,'
7262 lt_prog_compiler_static
='-static'
7266 # All AIX code is PIC.
7267 if test "$host_cpu" = ia64
; then
7268 # AIX 5 now supports IA64 processor
7269 lt_prog_compiler_static
='-Bstatic'
7276 # see comment about AmigaOS4 .so support
7277 lt_prog_compiler_pic
='-fPIC'
7280 # FIXME: we need at least 68020 code to build shared libraries, but
7281 # adding the `-m68020' flag to GCC prevents building anything better,
7283 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7288 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7289 # PIC is the default for these OSes.
7292 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7293 # This hack is so that the source file can tell whether it is being
7294 # built for inclusion in a dll (and should export symbols for example).
7295 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7296 # (--disable-auto-import) libraries
7297 lt_prog_compiler_pic
='-DDLL_EXPORT'
7300 darwin
* | rhapsody
*)
7301 # PIC is the default on this platform
7302 # Common symbols not allowed in MH_DYLIB files
7303 lt_prog_compiler_pic
='-fno-common'
7307 # PIC is the default for Haiku.
7308 # The "-static" flag exists, but is broken.
7309 lt_prog_compiler_static
=
7313 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7314 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7315 # sets the default TLS model and affects inlining.
7321 lt_prog_compiler_pic
='-fPIC'
7327 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7328 # Instead, we relocate shared libraries at runtime.
7332 # Just because we use GCC doesn't mean we suddenly get shared libraries
7333 # on systems that don't support them.
7334 lt_prog_compiler_can_build_shared
=no
7339 # QNX uses GNU C++, but need to define -shared option too, otherwise
7341 lt_prog_compiler_pic
='-fPIC -shared'
7345 if test -d /usr
/nec
; then
7346 lt_prog_compiler_pic
=-Kconform_pic
7351 lt_prog_compiler_pic
='-fPIC'
7355 case $cc_basename in
7356 nvcc
*) # Cuda Compiler Driver 2.2
7357 lt_prog_compiler_wl
='-Xlinker '
7358 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7362 # PORTME Check for flag to pass linker flags through the system compiler.
7365 lt_prog_compiler_wl
='-Wl,'
7366 if test "$host_cpu" = ia64
; then
7367 # AIX 5 now supports IA64 processor
7368 lt_prog_compiler_static
='-Bstatic'
7370 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7374 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7375 # This hack is so that the source file can tell whether it is being
7376 # built for inclusion in a dll (and should export symbols for example).
7377 lt_prog_compiler_pic
='-DDLL_EXPORT'
7380 hpux9
* | hpux10
* | hpux11
*)
7381 lt_prog_compiler_wl
='-Wl,'
7382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7389 lt_prog_compiler_pic
='+Z'
7392 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7393 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7396 irix5
* | irix6
* | nonstopux
*)
7397 lt_prog_compiler_wl
='-Wl,'
7398 # PIC (with -KPIC) is the default.
7399 lt_prog_compiler_static
='-non_shared'
7402 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7403 case $cc_basename in
7404 # old Intel for x86_64 which still supported -KPIC.
7406 lt_prog_compiler_wl
='-Wl,'
7407 lt_prog_compiler_pic
='-KPIC'
7408 lt_prog_compiler_static
='-static'
7410 # icc used to be incompatible with GCC.
7411 # ICC 10 doesn't accept -KPIC any more.
7413 lt_prog_compiler_wl
='-Wl,'
7414 lt_prog_compiler_pic
='-fPIC'
7415 lt_prog_compiler_static
='-static'
7417 # Lahey Fortran 8.1.
7419 lt_prog_compiler_wl
='-Wl,'
7420 lt_prog_compiler_pic
='--shared'
7421 lt_prog_compiler_static
='--static'
7423 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7424 # Portland Group compilers (*not* the Pentium gcc compiler,
7425 # which looks to be a dead project)
7426 lt_prog_compiler_wl
='-Wl,'
7427 lt_prog_compiler_pic
='-fpic'
7428 lt_prog_compiler_static
='-Bstatic'
7431 lt_prog_compiler_wl
='-Wl,'
7432 # All Alpha code is PIC.
7433 lt_prog_compiler_static
='-non_shared'
7435 xl
* | bgxl
* | bgf
* | mpixl
*)
7436 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7437 lt_prog_compiler_wl
='-Wl,'
7438 lt_prog_compiler_pic
='-qpic'
7439 lt_prog_compiler_static
='-qstaticlink'
7442 case `$CC -V 2>&1 | sed 5q` in
7443 *Sun\ F
* |
*Sun
*Fortran
*)
7444 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7445 lt_prog_compiler_pic
='-KPIC'
7446 lt_prog_compiler_static
='-Bstatic'
7447 lt_prog_compiler_wl
=''
7451 lt_prog_compiler_pic
='-KPIC'
7452 lt_prog_compiler_static
='-Bstatic'
7453 lt_prog_compiler_wl
='-Wl,'
7461 lt_prog_compiler_pic
='-KPIC'
7462 lt_prog_compiler_static
='-Bstatic'
7466 # QNX uses GNU C++, but need to define -shared option too, otherwise
7468 lt_prog_compiler_pic
='-fPIC -shared'
7471 osf3
* | osf4
* | osf5
*)
7472 lt_prog_compiler_wl
='-Wl,'
7473 # All OSF/1 code is PIC.
7474 lt_prog_compiler_static
='-non_shared'
7478 lt_prog_compiler_static
='-non_shared'
7482 lt_prog_compiler_pic
='-KPIC'
7483 lt_prog_compiler_static
='-Bstatic'
7484 case $cc_basename in
7486 lt_prog_compiler_wl
='-Qoption ld ';;
7488 lt_prog_compiler_wl
='-Wl,';;
7493 lt_prog_compiler_wl
='-Qoption ld '
7494 lt_prog_compiler_pic
='-PIC'
7495 lt_prog_compiler_static
='-Bstatic'
7498 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7499 lt_prog_compiler_wl
='-Wl,'
7500 lt_prog_compiler_pic
='-KPIC'
7501 lt_prog_compiler_static
='-Bstatic'
7505 if test -d /usr
/nec
;then
7506 lt_prog_compiler_pic
='-Kconform_pic'
7507 lt_prog_compiler_static
='-Bstatic'
7511 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7512 lt_prog_compiler_wl
='-Wl,'
7513 lt_prog_compiler_pic
='-KPIC'
7514 lt_prog_compiler_static
='-Bstatic'
7518 lt_prog_compiler_wl
='-Wl,'
7519 lt_prog_compiler_can_build_shared
=no
7523 lt_prog_compiler_pic
='-pic'
7524 lt_prog_compiler_static
='-Bstatic'
7528 lt_prog_compiler_can_build_shared
=no
7534 # For platforms which do not support PIC, -DPIC is meaningless:
7536 lt_prog_compiler_pic
=
7539 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7543 $as_echo "$lt_prog_compiler_pic" >&6; }
7551 # Check to make sure the PIC flag actually works.
7553 if test -n "$lt_prog_compiler_pic"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7555 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7556 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7557 $as_echo_n "(cached) " >&6
7559 lt_cv_prog_compiler_pic_works
=no
7560 ac_outfile
=conftest.
$ac_objext
7561 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7562 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7563 # Insert the option either (1) after the last *FLAGS variable, or
7564 # (2) before a word containing "conftest.", or (3) at the end.
7565 # Note that $ac_compile itself does not contain backslashes and begins
7566 # with a dollar sign (not a hyphen), so the echo should work correctly.
7567 # The option is referenced via a variable to avoid confusing sed.
7568 lt_compile
=`echo "$ac_compile" | $SED \
7569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7571 -e 's:$: $lt_compiler_flag:'`
7572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7573 (eval "$lt_compile" 2>conftest.err
)
7575 cat conftest.err
>&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 if (exit $ac_status) && test -s "$ac_outfile"; then
7578 # The compiler can only warn and ignore the option if not recognized
7579 # So say no if there are warnings other than the usual output.
7580 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7581 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7582 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7583 lt_cv_prog_compiler_pic_works
=yes
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7590 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7592 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7593 case $lt_prog_compiler_pic in
7595 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7598 lt_prog_compiler_pic
=
7599 lt_prog_compiler_can_build_shared
=no
7610 # Check to make sure the static flag actually works.
7612 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7614 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7615 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7616 $as_echo_n "(cached) " >&6
7618 lt_cv_prog_compiler_static_works
=no
7619 save_LDFLAGS
="$LDFLAGS"
7620 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7621 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7622 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7623 # The linker can only warn and ignore the option if not recognized
7624 # So say no if there are warnings
7625 if test -s conftest.err
; then
7626 # Append any errors to the config.log.
7627 cat conftest.err
1>&5
7628 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7629 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7630 if diff conftest.exp conftest.er2
>/dev
/null
; then
7631 lt_cv_prog_compiler_static_works
=yes
7634 lt_cv_prog_compiler_static_works
=yes
7638 LDFLAGS
="$save_LDFLAGS"
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7642 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7644 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7647 lt_prog_compiler_static
=
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7658 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7661 lt_cv_prog_compiler_c_o
=no
7662 $RM -r conftest
2>/dev
/null
7666 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7668 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7669 # Insert the option either (1) after the last *FLAGS variable, or
7670 # (2) before a word containing "conftest.", or (3) at the end.
7671 # Note that $ac_compile itself does not contain backslashes and begins
7672 # with a dollar sign (not a hyphen), so the echo should work correctly.
7673 lt_compile
=`echo "$ac_compile" | $SED \
7674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7676 -e 's:$: $lt_compiler_flag:'`
7677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7678 (eval "$lt_compile" 2>out
/conftest.err
)
7680 cat out
/conftest.err
>&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7684 # The compiler can only warn and ignore the option if not recognized
7685 # So say no if there are warnings
7686 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7687 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7688 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7689 lt_cv_prog_compiler_c_o
=yes
7694 # SGI C++ compiler will create directory out/ii_files/ for
7695 # template instantiation
7696 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7697 $RM out
/* && rmdir out
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7704 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7712 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7713 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7714 $as_echo_n "(cached) " >&6
7716 lt_cv_prog_compiler_c_o
=no
7717 $RM -r conftest
2>/dev
/null
7721 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7723 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7724 # Insert the option either (1) after the last *FLAGS variable, or
7725 # (2) before a word containing "conftest.", or (3) at the end.
7726 # Note that $ac_compile itself does not contain backslashes and begins
7727 # with a dollar sign (not a hyphen), so the echo should work correctly.
7728 lt_compile
=`echo "$ac_compile" | $SED \
7729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7731 -e 's:$: $lt_compiler_flag:'`
7732 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7733 (eval "$lt_compile" 2>out
/conftest.err
)
7735 cat out
/conftest.err
>&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7739 # The compiler can only warn and ignore the option if not recognized
7740 # So say no if there are warnings
7741 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7742 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7743 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7744 lt_cv_prog_compiler_c_o
=yes
7749 # SGI C++ compiler will create directory out/ii_files/ for
7750 # template instantiation
7751 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7752 $RM out
/* && rmdir out
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7759 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7764 hard_links
="nottested"
7765 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7766 # do not overwrite the value of need_locks provided by the user
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7768 $as_echo_n "checking if we can lock with hard links... " >&6; }
7771 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7773 ln conftest.a conftest.b
2>&5 || hard_links
=no
7774 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7776 $as_echo "$hard_links" >&6; }
7777 if test "$hard_links" = no
; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7779 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7792 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7795 allow_undefined_flag
=
7796 always_export_symbols
=no
7798 archive_expsym_cmds
=
7799 compiler_needs_object
=no
7800 enable_shared_with_static_runtimes
=no
7801 export_dynamic_flag_spec
=
7802 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7803 hardcode_automatic
=no
7805 hardcode_direct_absolute
=no
7806 hardcode_libdir_flag_spec
=
7807 hardcode_libdir_flag_spec_ld
=
7808 hardcode_libdir_separator
=
7810 hardcode_shlibpath_var
=unsupported
7812 link_all_deplibs
=unknown
7815 old_archive_from_new_cmds
=
7816 old_archive_from_expsyms_cmds
=
7817 thread_safe_flag_spec
=
7818 whole_archive_flag_spec
=
7819 # include_expsyms should be a list of space-separated symbols to be *always*
7820 # included in the symbol list
7822 # exclude_expsyms can be an extended regexp of symbols to exclude
7823 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7824 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7825 # as well as any symbol that contains `d'.
7826 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7827 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7828 # platforms (ab)use it in PIC code, but their linkers get confused if
7829 # the symbol is explicitly referenced. Since portable code cannot
7830 # rely on this symbol name, it's probably fine to never include it in
7831 # preloaded symbol tables.
7832 # Exclude shared library initialization/finalization symbols.
7833 extract_expsyms_cmds
=
7836 cygwin
* | mingw
* | pw32
* | cegcc
*)
7837 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7838 # When not using gcc, we currently assume that we are using
7839 # Microsoft Visual C++.
7840 if test "$GCC" != yes; then
7845 # we just hope/assume this is gcc and not c89 (= MSVC++)
7855 # On some targets, GNU ld is compatible enough with the native linker
7856 # that we're better off using the native interface for both.
7857 lt_use_gnu_ld_interface
=no
7858 if test "$with_gnu_ld" = yes; then
7861 # The AIX port of GNU ld has always aspired to compatibility
7862 # with the native linker. However, as the warning in the GNU ld
7863 # block says, versions before 2.19.5* couldn't really create working
7864 # shared libraries, regardless of the interface used.
7865 case `$LD -v 2>&1` in
7866 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
7867 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
7868 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
7870 lt_use_gnu_ld_interface
=yes
7875 lt_use_gnu_ld_interface
=yes
7880 if test "$lt_use_gnu_ld_interface" = yes; then
7881 # If archive_cmds runs LD, not CC, wlarc should be empty
7884 # Set some defaults for GNU ld with shared library support. These
7885 # are reset later if shared libraries are not supported. Putting them
7886 # here allows them to be overridden if necessary.
7887 runpath_var
=LD_RUN_PATH
7888 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7889 export_dynamic_flag_spec
='${wl}--export-dynamic'
7890 # ancient GNU ld didn't support --whole-archive et. al.
7891 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7892 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7894 whole_archive_flag_spec
=
7896 supports_anon_versioning
=no
7897 case `$LD -v 2>&1` in
7898 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7899 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7900 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7901 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7902 *\
2.11.
*) ;; # other 2.11 versions
7903 *) supports_anon_versioning
=yes ;;
7906 # See if GNU ld supports shared libraries.
7909 # On AIX/PPC, the GNU linker is very broken
7910 if test "$host_cpu" != ia64
; then
7914 *** Warning: the GNU linker, at least up to release 2.19, is reported
7915 *** to be unable to reliably create shared libraries on AIX.
7916 *** Therefore, libtool is disabling shared libraries support. If you
7917 *** really care for shared libraries, you may want to install binutils
7918 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
7919 *** You will then need to restart the configuration process.
7928 # see comment about AmigaOS4 .so support
7929 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7930 archive_expsym_cmds
=''
7933 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)'
7934 hardcode_libdir_flag_spec
='-L$libdir'
7935 hardcode_minus_L
=yes
7941 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7942 allow_undefined_flag
=unsupported
7943 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7944 # support --undefined. This deserves some investigation. FIXME
7945 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7951 cygwin
* | mingw
* | pw32
* | cegcc
*)
7952 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7953 # as there is no search path for DLLs.
7954 hardcode_libdir_flag_spec
='-L$libdir'
7955 export_dynamic_flag_spec
='${wl}--export-all-symbols'
7956 allow_undefined_flag
=unsupported
7957 always_export_symbols
=no
7958 enable_shared_with_static_runtimes
=yes
7959 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7961 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7962 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7963 # If the export-symbols file already is a .def file (1st line
7964 # is EXPORTS), use it as is; otherwise, prepend...
7965 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7966 cp $export_symbols $output_objdir/$soname.def;
7968 echo EXPORTS > $output_objdir/$soname.def;
7969 cat $export_symbols >> $output_objdir/$soname.def;
7971 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7978 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7979 link_all_deplibs
=yes
7984 hardcode_shlibpath_var
=no
7985 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7986 export_dynamic_flag_spec
='${wl}-E'
7987 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7988 # Instead, shared libraries are loaded at an image base (0x10000000 by
7989 # default) and relocated if they conflict, which is a slow very memory
7990 # consuming and fragmenting process. To avoid this, we pick a random,
7991 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7992 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7993 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7994 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'
7997 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7999 if test "$host_os" = linux-dietlibc
; then
8000 case $cc_basename in
8001 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8004 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8005 && test "$tmp_diet" = no
8008 tmp_sharedflag
='-shared'
8009 case $cc_basename,$host_cpu in
8010 pgcc
*) # Portland Group C compiler
8011 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'
8012 tmp_addflag
=' $pic_flag'
8014 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8015 # Portland Group f77 and f90 compilers
8016 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'
8017 tmp_addflag
=' $pic_flag -Mnomain' ;;
8018 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8019 tmp_addflag
=' -i_dynamic' ;;
8020 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8021 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8022 ifc
* | ifort
*) # Intel Fortran compiler
8023 tmp_addflag
=' -nofor_main' ;;
8024 lf95
*) # Lahey Fortran 8.1
8025 whole_archive_flag_spec
=
8026 tmp_sharedflag
='--shared' ;;
8027 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8028 tmp_sharedflag
='-qmkshrobj'
8030 nvcc
*) # Cuda Compiler Driver 2.2
8031 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'
8032 compiler_needs_object
=yes
8035 case `$CC -V 2>&1 | sed 5q` in
8036 *Sun\ C
*) # Sun C 5.9
8037 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'
8038 compiler_needs_object
=yes
8039 tmp_sharedflag
='-G' ;;
8040 *Sun\ F
*) # Sun Fortran 8.3
8041 tmp_sharedflag
='-G' ;;
8043 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8045 if test "x$supports_anon_versioning" = xyes
; then
8046 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8047 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8048 echo "local: *; };" >> $output_objdir/$libname.ver~
8049 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8052 case $cc_basename in
8053 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8054 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8055 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8056 hardcode_libdir_flag_spec
=
8057 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8058 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8059 if test "x$supports_anon_versioning" = xyes
; then
8060 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8061 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8062 echo "local: *; };" >> $output_objdir/$libname.ver~
8063 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8073 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8074 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8077 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8078 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8083 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8087 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8088 *** create shared libraries on Solaris systems. Therefore, libtool
8089 *** is disabling shared libraries support. We urge you to upgrade GNU
8090 *** binutils to release 2.9.1 or newer. Another option is to modify
8091 *** your PATH or compiler configuration so that the native linker is
8092 *** used, and then restart.
8095 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8097 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8103 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8104 case `$LD -v 2>&1` in
8105 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8109 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8110 *** reliably create shared libraries on SCO systems. Therefore, libtool
8111 *** is disabling shared libraries support. We urge you to upgrade GNU
8112 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8113 *** your PATH or compiler configuration so that the native linker is
8114 *** used, and then restart.
8119 # For security reasons, it is highly recommended that you always
8120 # use absolute paths for naming shared libraries, and exclude the
8121 # DT_RUNPATH tag from executables and libraries. But doing so
8122 # requires that you compile everything twice, which is a pain.
8123 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8124 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8125 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8126 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8135 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8138 hardcode_shlibpath_var
=no
8142 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8143 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8144 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8151 if test "$ld_shlibs" = no
; then
8153 hardcode_libdir_flag_spec
=
8154 export_dynamic_flag_spec
=
8155 whole_archive_flag_spec
=
8158 # PORTME fill in a description of your system's linker (not GNU ld)
8161 allow_undefined_flag
=unsupported
8162 always_export_symbols
=yes
8163 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'
8164 # Note: this linker hardcodes the directories in LIBPATH if there
8165 # are no directories specified by -L.
8166 hardcode_minus_L
=yes
8167 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8168 # Neither direct hardcoding nor static linking is supported with a
8170 hardcode_direct
=unsupported
8175 if test "$host_cpu" = ia64
; then
8176 # On IA64, the linker does run time linking by default, so we don't
8177 # have to do anything special.
8178 aix_use_runtimelinking
=no
8179 exp_sym_flag
='-Bexport'
8182 # If we're using GNU nm, then we don't want the "-C" option.
8183 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8184 # Also, AIX nm treats weak defined symbols like other global
8185 # defined symbols, whereas GNU nm marks them as "W".
8186 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8187 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'
8189 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8191 aix_use_runtimelinking
=no
8193 # Test if we are trying to use run time linking or normal
8194 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8195 # need to do runtime linking.
8196 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8197 for ld_flag
in $LDFLAGS; do
8198 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8199 aix_use_runtimelinking
=yes
8206 exp_sym_flag
='-bexport'
8207 no_entry_flag
='-bnoentry'
8210 # When large executables or shared objects are built, AIX ld can
8211 # have problems creating the table of contents. If linking a library
8212 # or program results in "error TOC overflow" add -mminimal-toc to
8213 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8214 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8218 hardcode_direct_absolute
=yes
8219 hardcode_libdir_separator
=':'
8220 link_all_deplibs
=yes
8221 file_list_spec
='${wl}-f,'
8223 if test "$GCC" = yes; then
8224 case $host_os in aix4.
[012]|aix4.
[012].
*)
8225 # We only want to do this on AIX 4.2 and lower, the check
8226 # below for broken collect2 doesn't work under 4.3+
8227 collect2name
=`${CC} -print-prog-name=collect2`
8228 if test -f "$collect2name" &&
8229 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8231 # We have reworked collect2
8234 # We have old collect2
8235 hardcode_direct
=unsupported
8236 # It fails to find uninstalled libraries when the uninstalled
8237 # path is not listed in the libpath. Setting hardcode_minus_L
8238 # to unsupported forces relinking
8239 hardcode_minus_L
=yes
8240 hardcode_libdir_flag_spec
='-L$libdir'
8241 hardcode_libdir_separator
=
8245 shared_flag
='-shared'
8246 if test "$aix_use_runtimelinking" = yes; then
8247 shared_flag
="$shared_flag "'${wl}-G'
8251 if test "$host_cpu" = ia64
; then
8252 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8253 # chokes on -Wl,-G. The following line is correct:
8256 if test "$aix_use_runtimelinking" = yes; then
8257 shared_flag
='${wl}-G'
8259 shared_flag
='${wl}-bM:SRE'
8264 export_dynamic_flag_spec
='${wl}-bexpall'
8265 # It seems that -bexpall does not export symbols beginning with
8266 # underscore (_), so it is better to generate a list of symbols to export.
8267 always_export_symbols
=yes
8268 if test "$aix_use_runtimelinking" = yes; then
8269 # Warning - without using the other runtime loading flags (-brtl),
8270 # -berok will link without error, but may produce a broken library.
8271 allow_undefined_flag
='-berok'
8272 # Determine the default libpath from the value encoded in an
8274 if test x
$gcc_no_link = xyes
; then
8275 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8288 if ac_fn_c_try_link
"$LINENO"; then :
8290 lt_aix_libpath_sed
='
8291 /Import File Strings/,/^$/ {
8297 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8298 # Check for a 64-bit object if we didn't find anything.
8299 if test -z "$aix_libpath"; then
8300 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8303 rm -f core conftest.err conftest.
$ac_objext \
8304 conftest
$ac_exeext conftest.
$ac_ext
8305 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8307 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8308 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"
8310 if test "$host_cpu" = ia64
; then
8311 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8312 allow_undefined_flag
="-z nodefs"
8313 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"
8315 # Determine the default libpath from the value encoded in an
8317 if test x
$gcc_no_link = xyes
; then
8318 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8331 if ac_fn_c_try_link
"$LINENO"; then :
8333 lt_aix_libpath_sed
='
8334 /Import File Strings/,/^$/ {
8340 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8341 # Check for a 64-bit object if we didn't find anything.
8342 if test -z "$aix_libpath"; then
8343 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8346 rm -f core conftest.err conftest.
$ac_objext \
8347 conftest
$ac_exeext conftest.
$ac_ext
8348 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8350 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8351 # Warning - without using the other run time loading flags,
8352 # -berok will link without error, but may produce a broken library.
8353 no_undefined_flag
=' ${wl}-bernotok'
8354 allow_undefined_flag
=' ${wl}-berok'
8355 if test "$with_gnu_ld" = yes; then
8356 # We only use this code for GNU lds that support --whole-archive.
8357 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8359 # Exported symbols can be pulled into shared objects from archives
8360 whole_archive_flag_spec
='$convenience'
8362 archive_cmds_need_lc
=yes
8363 # This is similar to how AIX traditionally builds its shared libraries.
8364 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'
8372 # see comment about AmigaOS4 .so support
8373 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8374 archive_expsym_cmds
=''
8377 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)'
8378 hardcode_libdir_flag_spec
='-L$libdir'
8379 hardcode_minus_L
=yes
8385 export_dynamic_flag_spec
=-rdynamic
8388 cygwin
* | mingw
* | pw32
* | cegcc
*)
8389 # When not using gcc, we currently assume that we are using
8390 # Microsoft Visual C++.
8391 # hardcode_libdir_flag_spec is actually meaningless, as there is
8392 # no search path for DLLs.
8393 hardcode_libdir_flag_spec
=' '
8394 allow_undefined_flag
=unsupported
8395 # Tell ltmain to make .lib files, not .a files.
8397 # Tell ltmain to make .dll files, not .so files.
8399 # FIXME: Setting linknames here is a bad hack.
8400 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8401 # The linker will automatically build a .lib file if we build a DLL.
8402 old_archive_from_new_cmds
='true'
8403 # FIXME: Should let the user specify the lib program.
8404 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8405 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8406 enable_shared_with_static_runtimes
=yes
8409 darwin
* | rhapsody
*)
8412 archive_cmds_need_lc
=no
8414 hardcode_automatic
=yes
8415 hardcode_shlibpath_var
=unsupported
8416 if test "$lt_cv_ld_force_load" = "yes"; then
8417 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\"`'
8419 whole_archive_flag_spec
=''
8421 link_all_deplibs
=yes
8422 allow_undefined_flag
="$_lt_dar_allow_undefined"
8423 case $cc_basename in
8424 ifort
*) _lt_dar_can_shared
=yes ;;
8425 *) _lt_dar_can_shared
=$GCC ;;
8427 if test "$_lt_dar_can_shared" = "yes"; then
8428 output_verbose_link_cmd
=func_echo_all
8429 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8430 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8431 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}"
8432 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}"
8441 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8442 hardcode_libdir_flag_spec
='-L$libdir'
8443 hardcode_shlibpath_var
=no
8450 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8451 # support. Future versions do this automatically, but an explicit c++rt0.o
8452 # does not break anything, and helps significantly (at the cost of a little
8455 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8456 hardcode_libdir_flag_spec
='-R$libdir'
8458 hardcode_shlibpath_var
=no
8461 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8463 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8465 hardcode_minus_L
=yes
8466 hardcode_shlibpath_var
=no
8469 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8470 freebsd
* | dragonfly
*)
8471 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8472 hardcode_libdir_flag_spec
='-R$libdir'
8474 hardcode_shlibpath_var
=no
8478 if test "$GCC" = yes; then
8479 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'
8481 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'
8483 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8484 hardcode_libdir_separator
=:
8487 # hardcode_minus_L: Not really in the search PATH,
8488 # but as the default location of the library.
8489 hardcode_minus_L
=yes
8490 export_dynamic_flag_spec
='${wl}-E'
8494 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8495 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8497 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8499 if test "$with_gnu_ld" = no
; then
8500 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8501 hardcode_libdir_flag_spec_ld
='+b $libdir'
8502 hardcode_libdir_separator
=:
8504 hardcode_direct_absolute
=yes
8505 export_dynamic_flag_spec
='${wl}-E'
8506 # hardcode_minus_L: Not really in the search PATH,
8507 # but as the default location of the library.
8508 hardcode_minus_L
=yes
8513 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8516 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8519 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8522 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8528 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8531 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8535 # Older versions of the 11.00 compiler do not understand -b yet
8536 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8538 $as_echo_n "checking if $CC understands -b... " >&6; }
8539 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8540 $as_echo_n "(cached) " >&6
8542 lt_cv_prog_compiler__b
=no
8543 save_LDFLAGS
="$LDFLAGS"
8544 LDFLAGS
="$LDFLAGS -b"
8545 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8546 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8547 # The linker can only warn and ignore the option if not recognized
8548 # So say no if there are warnings
8549 if test -s conftest.err
; then
8550 # Append any errors to the config.log.
8551 cat conftest.err
1>&5
8552 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8553 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8554 if diff conftest.exp conftest.er2
>/dev
/null
; then
8555 lt_cv_prog_compiler__b
=yes
8558 lt_cv_prog_compiler__b
=yes
8562 LDFLAGS
="$save_LDFLAGS"
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8566 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8568 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8569 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8571 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8577 if test "$with_gnu_ld" = no
; then
8578 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8579 hardcode_libdir_separator
=:
8584 hardcode_shlibpath_var
=no
8588 hardcode_direct_absolute
=yes
8589 export_dynamic_flag_spec
='${wl}-E'
8591 # hardcode_minus_L: Not really in the search PATH,
8592 # but as the default location of the library.
8593 hardcode_minus_L
=yes
8599 irix5
* | irix6
* | nonstopux
*)
8600 if test "$GCC" = yes; then
8601 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'
8602 # Try to use the -exported_symbol ld option, if it does not
8603 # work, assume that -exports_file does not work either and
8604 # implicitly export all symbols.
8605 save_LDFLAGS
="$LDFLAGS"
8606 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8607 if test x
$gcc_no_link = xyes
; then
8608 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8614 if ac_fn_c_try_link
"$LINENO"; then :
8615 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'
8618 rm -f core conftest.err conftest.
$ac_objext \
8619 conftest
$ac_exeext conftest.
$ac_ext
8620 LDFLAGS
="$save_LDFLAGS"
8622 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'
8623 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'
8625 archive_cmds_need_lc
='no'
8626 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8627 hardcode_libdir_separator
=:
8629 link_all_deplibs
=yes
8633 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8634 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8636 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8638 hardcode_libdir_flag_spec
='-R$libdir'
8640 hardcode_shlibpath_var
=no
8644 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8646 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8647 hardcode_libdir_separator
=:
8648 hardcode_shlibpath_var
=no
8655 if test -f /usr
/libexec
/ld.so
; then
8657 hardcode_shlibpath_var
=no
8658 hardcode_direct_absolute
=yes
8659 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8660 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8661 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8662 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8663 export_dynamic_flag_spec
='${wl}-E'
8666 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8667 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8668 hardcode_libdir_flag_spec
='-R$libdir'
8671 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8672 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8682 hardcode_libdir_flag_spec
='-L$libdir'
8683 hardcode_minus_L
=yes
8684 allow_undefined_flag
=unsupported
8685 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'
8686 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8690 if test "$GCC" = yes; then
8691 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8692 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'
8694 allow_undefined_flag
=' -expect_unresolved \*'
8695 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'
8697 archive_cmds_need_lc
='no'
8698 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8699 hardcode_libdir_separator
=:
8702 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8703 if test "$GCC" = yes; then
8704 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8705 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'
8706 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8708 allow_undefined_flag
=' -expect_unresolved \*'
8709 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'
8710 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~
8711 $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'
8713 # Both c and cxx compiler support -rpath directly
8714 hardcode_libdir_flag_spec
='-rpath $libdir'
8716 archive_cmds_need_lc
='no'
8717 hardcode_libdir_separator
=:
8721 no_undefined_flag
=' -z defs'
8722 if test "$GCC" = yes; then
8724 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8725 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8726 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8728 case `$CC -V 2>&1` in
8731 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8732 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8733 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8737 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8738 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8739 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8743 hardcode_libdir_flag_spec
='-R$libdir'
8744 hardcode_shlibpath_var
=no
8746 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8748 # The compiler driver will combine and reorder linker options,
8749 # but understands `-z linker_flag'. GCC discards it without `$wl',
8750 # but is careful enough not to reorder.
8751 # Supported since Solaris 2.6 (maybe 2.5.1?)
8752 if test "$GCC" = yes; then
8753 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8755 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8759 link_all_deplibs
=yes
8763 if test "x$host_vendor" = xsequent
; then
8764 # Use $CC to link under sequent, because it throws in some extra .o
8765 # files that make .init and .fini sections work.
8766 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8768 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8770 hardcode_libdir_flag_spec
='-L$libdir'
8772 hardcode_minus_L
=yes
8773 hardcode_shlibpath_var
=no
8777 case $host_vendor in
8779 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8780 hardcode_direct
=yes # is this really true???
8783 ## LD is ld it makes a PLAMLIB
8784 ## CC just makes a GrossModule.
8785 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8786 reload_cmds
='$CC -r -o $output$reload_objs'
8790 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8791 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8794 runpath_var
='LD_RUN_PATH'
8795 hardcode_shlibpath_var
=no
8799 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8800 hardcode_shlibpath_var
=no
8801 export_dynamic_flag_spec
='-Bexport'
8805 if test -d /usr
/nec
; then
8806 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8807 hardcode_shlibpath_var
=no
8808 runpath_var
=LD_RUN_PATH
8809 hardcode_runpath_var
=yes
8814 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8815 no_undefined_flag
='${wl}-z,text'
8816 archive_cmds_need_lc
=no
8817 hardcode_shlibpath_var
=no
8818 runpath_var
='LD_RUN_PATH'
8820 if test "$GCC" = yes; then
8821 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8822 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8824 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8825 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8829 sysv5
* | sco3.2v5
* | sco5v6
*)
8830 # Note: We can NOT use -z defs as we might desire, because we do not
8831 # link with -lc, and that would cause any symbols used from libc to
8832 # always be unresolved, which means just about no library would
8833 # ever link correctly. If we're not using GNU ld we use -z text
8834 # though, which does catch some bad symbols but isn't as heavy-handed
8836 no_undefined_flag
='${wl}-z,text'
8837 allow_undefined_flag
='${wl}-z,nodefs'
8838 archive_cmds_need_lc
=no
8839 hardcode_shlibpath_var
=no
8840 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8841 hardcode_libdir_separator
=':'
8842 link_all_deplibs
=yes
8843 export_dynamic_flag_spec
='${wl}-Bexport'
8844 runpath_var
='LD_RUN_PATH'
8846 if test "$GCC" = yes; then
8847 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8848 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8850 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8851 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8857 hardcode_libdir_flag_spec
='-L$libdir'
8858 hardcode_shlibpath_var
=no
8866 if test x
$host_vendor = xsni
; then
8868 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8869 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8876 $as_echo "$ld_shlibs" >&6; }
8877 test "$ld_shlibs" = no
&& can_build_shared
=no
8879 with_gnu_ld
=$with_gnu_ld
8896 # Do we need to explicitly link libc?
8898 case "x$archive_cmds_need_lc" in
8900 # Assume -lc should be added
8901 archive_cmds_need_lc
=yes
8903 if test "$enable_shared" = yes && test "$GCC" = yes; then
8904 case $archive_cmds in
8906 # FIXME: we may have to deal with multi-command sequences.
8909 # Test whether the compiler implicitly links with -lc since on some
8910 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8911 # to ld, don't add -lc before -lgcc.
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8913 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8914 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
8915 $as_echo_n "(cached) " >&6
8918 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8921 (eval $ac_compile) 2>&5
8923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8924 test $ac_status = 0; } 2>conftest.err
; then
8927 libobjs
=conftest.
$ac_objext
8929 wl
=$lt_prog_compiler_wl
8930 pic_flag
=$lt_prog_compiler_pic
8936 lt_save_allow_undefined_flag
=$allow_undefined_flag
8937 allow_undefined_flag
=
8938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8939 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8942 test $ac_status = 0; }
8944 lt_cv_archive_cmds_need_lc
=no
8946 lt_cv_archive_cmds_need_lc
=yes
8948 allow_undefined_flag
=$lt_save_allow_undefined_flag
8950 cat conftest.err
1>&5
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
8956 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
8957 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9121 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9123 if test "$GCC" = yes; then
9125 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9126 *) lt_awk_arg
="/^libraries:/" ;;
9129 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9130 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9132 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9133 case $lt_search_path_spec in
9135 # if the path contains ";" then we assume it to be the separator
9136 # otherwise default to the standard path separator (i.e. ":") - it is
9137 # assumed that no part of a normal pathname contains ";" but that should
9138 # okay in the real world where ";" in dirpaths is itself problematic.
9139 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9142 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9145 # Ok, now we have the path, separated by spaces, we can step through it
9146 # and add multilib dir if necessary.
9147 lt_tmp_lt_search_path_spec
=
9148 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9149 for lt_sys_path
in $lt_search_path_spec; do
9150 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9151 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9153 test -d "$lt_sys_path" && \
9154 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9157 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9158 BEGIN {RS=" "; FS="/|\n";} {
9161 for (lt_i = NF; lt_i > 0; lt_i--) {
9162 if ($lt_i != "" && $lt_i != ".") {
9163 if ($lt_i == "..") {
9166 if (lt_count == 0) {
9167 lt_foo="/" $lt_i lt_foo;
9174 if (lt_foo != "") { lt_freq[lt_foo]++; }
9175 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9177 # AWK program above erroneously prepends '/' to C:/dos/paths
9180 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9181 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9183 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9185 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9188 libname_spec
='lib$name'
9196 shlibpath_overrides_runpath
=unknown
9198 dynamic_linker
="$host_os ld.so"
9199 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9200 need_lib_prefix
=unknown
9201 hardcode_into_libs
=no
9203 # when you set need_version to no, make sure it does not cause -set_version
9204 # flags to be left without arguments
9205 need_version
=unknown
9210 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9211 shlibpath_var
=LIBPATH
9213 # AIX 3 has no versioning support, so we append a major version to the name.
9214 soname_spec
='${libname}${release}${shared_ext}$major'
9221 hardcode_into_libs
=yes
9222 if test "$host_cpu" = ia64
; then
9223 # AIX 5 supports IA64
9224 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9225 shlibpath_var
=LD_LIBRARY_PATH
9227 # With GCC up to 2.95.x, collect2 would create an import file
9228 # for dependence libraries. The import file would start with
9229 # the line `#! .'. This would cause the generated library to
9230 # depend on `.', always an invalid library. This was fixed in
9231 # development snapshots of GCC prior to 3.0.
9233 aix4 | aix4.
[01] | aix4.
[01].
*)
9234 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9236 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9243 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9244 # soname into executable. Probably we can add versioning support to
9245 # collect2, so additional links can be useful in future.
9246 if test "$aix_use_runtimelinking" = yes; then
9247 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9248 # instead of lib<name>.a to let people know that these are not
9249 # typical AIX shared libraries.
9250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9252 # We preserve .a as extension for shared libraries through AIX4.2
9253 # and later when we are not doing run time linking.
9254 library_names_spec
='${libname}${release}.a $libname.a'
9255 soname_spec
='${libname}${release}${shared_ext}$major'
9257 shlibpath_var
=LIBPATH
9264 # Since July 2007 AmigaOS4 officially supports .so libraries.
9265 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9269 library_names_spec
='$libname.ixlibrary $libname.a'
9270 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9271 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'
9277 library_names_spec
='${libname}${shared_ext}'
9278 dynamic_linker
="$host_os ld.so"
9279 shlibpath_var
=LIBRARY_PATH
9285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9286 soname_spec
='${libname}${release}${shared_ext}$major'
9287 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9288 shlibpath_var
=LD_LIBRARY_PATH
9289 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9290 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9291 # the default ld.so.conf also contains /usr/contrib/lib and
9292 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9293 # libtool to hard-code these into programs
9296 cygwin
* | mingw
* | pw32
* | cegcc
*)
9297 version_type
=windows
9302 case $GCC,$host_os in
9303 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9304 library_names_spec
='$libname.dll.a'
9305 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9306 postinstall_cmds
='base_file=`basename \${file}`~
9307 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9308 dldir=$destdir/`dirname \$dlpath`~
9309 test -d \$dldir || mkdir -p \$dldir~
9310 $install_prog $dir/$dlname \$dldir/$dlname~
9311 chmod a+x \$dldir/$dlname~
9312 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9313 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9315 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9316 dlpath=$dir/\$dldll~
9318 shlibpath_overrides_runpath
=yes
9322 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9323 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9325 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9328 # MinGW DLLs use traditional 'lib' prefix
9329 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9332 # pw32 DLLs use 'pw' prefix rather than 'lib'
9333 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9339 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9342 dynamic_linker
='Win32 ld.exe'
9343 # FIXME: first we should search . and the directory the executable is in
9347 darwin
* | rhapsody
*)
9348 dynamic_linker
="$host_os dyld"
9352 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9353 soname_spec
='${libname}${release}${major}$shared_ext'
9354 shlibpath_overrides_runpath
=yes
9355 shlibpath_var
=DYLD_LIBRARY_PATH
9356 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9358 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9359 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9367 soname_spec
='${libname}${release}${shared_ext}$major'
9368 shlibpath_var
=LD_LIBRARY_PATH
9375 freebsd
* | dragonfly
*)
9376 # DragonFly does not have aout. When/if they implement a new
9377 # versioning mechanism, adjust this.
9378 if test -x /usr
/bin
/objformat
; then
9379 objformat
=`/usr/bin/objformat`
9382 freebsd
[123]*) objformat
=aout
;;
9386 version_type
=freebsd-
$objformat
9387 case $version_type in
9389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9394 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9398 shlibpath_var
=LD_LIBRARY_PATH
9401 shlibpath_overrides_runpath
=yes
9403 freebsd3.
[01]* | freebsdelf3.
[01]*)
9404 shlibpath_overrides_runpath
=yes
9405 hardcode_into_libs
=yes
9407 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9408 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9409 shlibpath_overrides_runpath
=no
9410 hardcode_into_libs
=yes
9412 *) # from 4.6 on, and DragonFly
9413 shlibpath_overrides_runpath
=yes
9414 hardcode_into_libs
=yes
9423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9424 soname_spec
='${libname}${release}${shared_ext}$major'
9425 shlibpath_var
=LD_LIBRARY_PATH
9426 hardcode_into_libs
=yes
9433 dynamic_linker
="$host_os runtime_loader"
9434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9435 soname_spec
='${libname}${release}${shared_ext}$major'
9436 shlibpath_var
=LIBRARY_PATH
9437 shlibpath_overrides_runpath
=yes
9438 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9439 hardcode_into_libs
=yes
9442 hpux9
* | hpux10
* | hpux11
*)
9443 # Give a soname corresponding to the major version so that dld.sl refuses to
9444 # link against other versions.
9451 hardcode_into_libs
=yes
9452 dynamic_linker
="$host_os dld.so"
9453 shlibpath_var
=LD_LIBRARY_PATH
9454 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9456 soname_spec
='${libname}${release}${shared_ext}$major'
9457 if test "X$HPUX_IA64_MODE" = X32
; then
9458 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9460 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9462 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9466 hardcode_into_libs
=yes
9467 dynamic_linker
="$host_os dld.sl"
9468 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9469 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9471 soname_spec
='${libname}${release}${shared_ext}$major'
9472 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9473 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9477 dynamic_linker
="$host_os dld.sl"
9478 shlibpath_var
=SHLIB_PATH
9479 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9481 soname_spec
='${libname}${release}${shared_ext}$major'
9484 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9485 postinstall_cmds
='chmod 555 $lib'
9486 # or fails outright, so override atomically:
9487 install_override_mode
=555
9494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9495 soname_spec
='${libname}${release}${shared_ext}$major'
9496 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9497 shlibpath_var
=LD_LIBRARY_PATH
9498 shlibpath_overrides_runpath
=no
9499 hardcode_into_libs
=yes
9502 irix5
* | irix6
* | nonstopux
*)
9504 nonstopux
*) version_type
=nonstopux
;;
9506 if test "$lt_cv_prog_gnu_ld" = yes; then
9514 soname_spec
='${libname}${release}${shared_ext}$major'
9515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9517 irix5
* | nonstopux
*)
9521 case $LD in # libtool.m4 will add one of these switches to LD
9522 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9523 libsuff
= shlibsuff
= libmagic
=32-bit;;
9524 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9525 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9526 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9527 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9528 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9532 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9533 shlibpath_overrides_runpath
=no
9534 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9535 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9536 hardcode_into_libs
=yes
9539 # No shared lib support for Linux oldld, aout, or coff.
9540 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9544 # This must be Linux ELF.
9545 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9550 soname_spec
='${libname}${release}${shared_ext}$major'
9551 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9552 shlibpath_var
=LD_LIBRARY_PATH
9553 shlibpath_overrides_runpath
=no
9555 # Some binutils ld are patched to set DT_RUNPATH
9556 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9557 $as_echo_n "(cached) " >&6
9559 lt_cv_shlibpath_overrides_runpath
=no
9560 save_LDFLAGS
=$LDFLAGS
9562 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9563 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9564 if test x
$gcc_no_link = xyes
; then
9565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9578 if ac_fn_c_try_link
"$LINENO"; then :
9579 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9580 lt_cv_shlibpath_overrides_runpath
=yes
9583 rm -f core conftest.err conftest.
$ac_objext \
9584 conftest
$ac_exeext conftest.
$ac_ext
9585 LDFLAGS
=$save_LDFLAGS
9590 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9592 # This implies no fast_install, which is unacceptable.
9593 # Some rework will be needed to allow for fast_install
9594 # before this can be enabled.
9595 hardcode_into_libs
=yes
9597 # Append ld.so.conf contents to the search path
9598 if test -f /etc
/ld.so.conf
; then
9599 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' ' '`
9600 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9603 # We used to test for /lib/ld.so.1 and disable shared libraries on
9604 # powerpc, because MkLinux only supported shared libraries with the
9605 # GNU dynamic linker. Since this was broken with cross compilers,
9606 # most powerpc-linux boxes support dynamic linking these days and
9607 # people can always --disable-shared, the test was removed, and we
9608 # assume the GNU/Linux dynamic linker is in use.
9609 dynamic_linker
='GNU/Linux ld.so'
9616 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9618 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9619 dynamic_linker
='NetBSD (a.out) ld.so'
9621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9622 soname_spec
='${libname}${release}${shared_ext}$major'
9623 dynamic_linker
='NetBSD ld.elf_so'
9625 shlibpath_var
=LD_LIBRARY_PATH
9626 shlibpath_overrides_runpath
=yes
9627 hardcode_into_libs
=yes
9632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9633 shlibpath_var
=LD_LIBRARY_PATH
9634 shlibpath_overrides_runpath
=yes
9641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9642 soname_spec
='${libname}${release}${shared_ext}$major'
9643 shlibpath_var
=LD_LIBRARY_PATH
9644 shlibpath_overrides_runpath
=no
9645 hardcode_into_libs
=yes
9646 dynamic_linker
='ldqnx.so'
9651 sys_lib_dlsearch_path_spec
="/usr/lib"
9653 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9655 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9656 *) need_version
=no
;;
9658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9659 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9660 shlibpath_var
=LD_LIBRARY_PATH
9661 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9663 openbsd2.
[89] | openbsd2.
[89].
*)
9664 shlibpath_overrides_runpath
=no
9667 shlibpath_overrides_runpath
=yes
9671 shlibpath_overrides_runpath
=yes
9676 libname_spec
='$name'
9679 library_names_spec
='$libname${shared_ext} $libname.a'
9680 dynamic_linker
='OS/2 ld.exe'
9681 shlibpath_var
=LIBPATH
9684 osf3
* | osf4
* | osf5
*)
9688 soname_spec
='${libname}${release}${shared_ext}$major'
9689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9690 shlibpath_var
=LD_LIBRARY_PATH
9691 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9692 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9704 soname_spec
='${libname}${release}${shared_ext}$major'
9705 shlibpath_var
=LD_LIBRARY_PATH
9706 shlibpath_overrides_runpath
=yes
9707 hardcode_into_libs
=yes
9708 # ldd complains unless libraries are executable
9709 postinstall_cmds
='chmod +x $lib'
9714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9715 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9716 shlibpath_var
=LD_LIBRARY_PATH
9717 shlibpath_overrides_runpath
=yes
9718 if test "$with_gnu_ld" = yes; then
9726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727 soname_spec
='${libname}${release}${shared_ext}$major'
9728 shlibpath_var
=LD_LIBRARY_PATH
9729 case $host_vendor in
9731 shlibpath_overrides_runpath
=no
9733 runpath_var
=LD_RUN_PATH
9741 shlibpath_overrides_runpath
=no
9742 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9748 if test -d /usr
/nec
;then
9750 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9751 soname_spec
='$libname${shared_ext}.$major'
9752 shlibpath_var
=LD_LIBRARY_PATH
9756 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9757 version_type
=freebsd-elf
9760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9761 soname_spec
='${libname}${release}${shared_ext}$major'
9762 shlibpath_var
=LD_LIBRARY_PATH
9763 shlibpath_overrides_runpath
=yes
9764 hardcode_into_libs
=yes
9765 if test "$with_gnu_ld" = yes; then
9766 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9768 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9771 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9775 sys_lib_dlsearch_path_spec
='/usr/lib'
9779 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9784 shlibpath_var
=LD_LIBRARY_PATH
9785 shlibpath_overrides_runpath
=no
9786 hardcode_into_libs
=yes
9791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792 soname_spec
='${libname}${release}${shared_ext}$major'
9793 shlibpath_var
=LD_LIBRARY_PATH
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9801 $as_echo "$dynamic_linker" >&6; }
9802 test "$dynamic_linker" = no
&& can_build_shared
=no
9804 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9805 if test "$GCC" = yes; then
9806 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9809 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9810 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9812 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9813 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9908 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9910 if test -n "$hardcode_libdir_flag_spec" ||
9911 test -n "$runpath_var" ||
9912 test "X$hardcode_automatic" = "Xyes" ; then
9914 # We can hardcode non-existent directories.
9915 if test "$hardcode_direct" != no
&&
9916 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9917 # have to relink, otherwise we might link with an installed library
9918 # when we should be linking with a yet-to-be-installed one
9919 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9920 test "$hardcode_minus_L" != no
; then
9921 # Linking always hardcodes the temporary library directory.
9922 hardcode_action
=relink
9924 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9925 hardcode_action
=immediate
9928 # We cannot hardcode anything, or else we can only hardcode existing
9930 hardcode_action
=unsupported
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9933 $as_echo "$hardcode_action" >&6; }
9935 if test "$hardcode_action" = relink ||
9936 test "$inherit_rpath" = yes; then
9937 # Fast installation is not supported
9938 enable_fast_install
=no
9939 elif test "$shlibpath_overrides_runpath" = yes ||
9940 test "$enable_shared" = no
; then
9941 # Fast installation is not necessary
9942 enable_fast_install
=needless
9950 if test "x$enable_dlopen" != xyes
; then
9951 enable_dlopen
=unknown
9952 enable_dlopen_self
=unknown
9953 enable_dlopen_self_static
=unknown
9960 lt_cv_dlopen
="load_add_on"
9962 lt_cv_dlopen_self
=yes
9965 mingw
* | pw32
* | cegcc
*)
9966 lt_cv_dlopen
="LoadLibrary"
9971 lt_cv_dlopen
="dlopen"
9976 # if libdl is installed we need to link against it
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9978 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9979 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9980 $as_echo_n "(cached) " >&6
9982 ac_check_lib_save_LIBS
=$LIBS
9984 if test x
$gcc_no_link = xyes
; then
9985 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9990 /* Override any GCC internal prototype to avoid an error.
9991 Use char because int might match the return type of a GCC
9992 builtin and then its argument prototype would still apply. */
10005 if ac_fn_c_try_link
"$LINENO"; then :
10006 ac_cv_lib_dl_dlopen
=yes
10008 ac_cv_lib_dl_dlopen
=no
10010 rm -f core conftest.err conftest.
$ac_objext \
10011 conftest
$ac_exeext conftest.
$ac_ext
10012 LIBS
=$ac_check_lib_save_LIBS
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10015 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10016 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10017 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10020 lt_cv_dlopen
="dyld"
10022 lt_cv_dlopen_self
=yes
10029 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10030 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10031 lt_cv_dlopen
="shl_load"
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10034 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10035 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10036 $as_echo_n "(cached) " >&6
10038 ac_check_lib_save_LIBS
=$LIBS
10040 if test x
$gcc_no_link = xyes
; then
10041 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10046 /* Override any GCC internal prototype to avoid an error.
10047 Use char because int might match the return type of a GCC
10048 builtin and then its argument prototype would still apply. */
10056 return shl_load ();
10061 if ac_fn_c_try_link
"$LINENO"; then :
10062 ac_cv_lib_dld_shl_load
=yes
10064 ac_cv_lib_dld_shl_load
=no
10066 rm -f core conftest.err conftest.
$ac_objext \
10067 conftest
$ac_exeext conftest.
$ac_ext
10068 LIBS
=$ac_check_lib_save_LIBS
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10071 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10072 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10073 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10075 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10076 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10077 lt_cv_dlopen
="dlopen"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10080 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10081 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10082 $as_echo_n "(cached) " >&6
10084 ac_check_lib_save_LIBS
=$LIBS
10086 if test x
$gcc_no_link = xyes
; then
10087 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10107 if ac_fn_c_try_link
"$LINENO"; then :
10108 ac_cv_lib_dl_dlopen
=yes
10110 ac_cv_lib_dl_dlopen
=no
10112 rm -f core conftest.err conftest.
$ac_objext \
10113 conftest
$ac_exeext conftest.
$ac_ext
10114 LIBS
=$ac_check_lib_save_LIBS
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10117 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10118 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10119 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10122 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10123 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10124 $as_echo_n "(cached) " >&6
10126 ac_check_lib_save_LIBS
=$LIBS
10127 LIBS
="-lsvld $LIBS"
10128 if test x
$gcc_no_link = xyes
; then
10129 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10149 if ac_fn_c_try_link
"$LINENO"; then :
10150 ac_cv_lib_svld_dlopen
=yes
10152 ac_cv_lib_svld_dlopen
=no
10154 rm -f core conftest.err conftest.
$ac_objext \
10155 conftest
$ac_exeext conftest.
$ac_ext
10156 LIBS
=$ac_check_lib_save_LIBS
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10159 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10160 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10161 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10164 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10165 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10166 $as_echo_n "(cached) " >&6
10168 ac_check_lib_save_LIBS
=$LIBS
10170 if test x
$gcc_no_link = xyes
; then
10171 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10176 /* Override any GCC internal prototype to avoid an error.
10177 Use char because int might match the return type of a GCC
10178 builtin and then its argument prototype would still apply. */
10186 return dld_link ();
10191 if ac_fn_c_try_link
"$LINENO"; then :
10192 ac_cv_lib_dld_dld_link
=yes
10194 ac_cv_lib_dld_dld_link
=no
10196 rm -f core conftest.err conftest.
$ac_objext \
10197 conftest
$ac_exeext conftest.
$ac_ext
10198 LIBS
=$ac_check_lib_save_LIBS
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10201 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10202 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10203 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10224 if test "x$lt_cv_dlopen" != xno
; then
10230 case $lt_cv_dlopen in
10232 save_CPPFLAGS
="$CPPFLAGS"
10233 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10235 save_LDFLAGS
="$LDFLAGS"
10236 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10239 LIBS
="$lt_cv_dlopen_libs $LIBS"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10242 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10243 if test "${lt_cv_dlopen_self+set}" = set; then :
10244 $as_echo_n "(cached) " >&6
10246 if test "$cross_compiling" = yes; then :
10247 lt_cv_dlopen_self
=cross
10249 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10250 lt_status
=$lt_dlunknown
10251 cat > conftest.
$ac_ext <<_LT_EOF
10252 #line 10252 "configure"
10253 #include "confdefs.h"
10262 # define LT_DLGLOBAL RTLD_GLOBAL
10265 # define LT_DLGLOBAL DL_GLOBAL
10267 # define LT_DLGLOBAL 0
10271 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10272 find out it does not work in some platform. */
10273 #ifndef LT_DLLAZY_OR_NOW
10275 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10278 # define LT_DLLAZY_OR_NOW DL_LAZY
10281 # define LT_DLLAZY_OR_NOW RTLD_NOW
10284 # define LT_DLLAZY_OR_NOW DL_NOW
10286 # define LT_DLLAZY_OR_NOW 0
10293 /* When -fvisbility=hidden is used, assume the code has been annotated
10294 correspondingly for the symbols needed. */
10295 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10296 void fnord () __attribute__((visibility("default")));
10299 void fnord () { int i=42; }
10302 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10303 int status = $lt_dlunknown;
10307 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10310 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10311 else puts (dlerror ());
10313 /* dlclose (self); */
10321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10322 (eval $ac_link) 2>&5
10324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10325 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10326 (.
/conftest
; exit; ) >&5 2>/dev
/null
10328 case x
$lt_status in
10329 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10330 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10331 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10334 # compilation failed
10335 lt_cv_dlopen_self
=no
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10343 $as_echo "$lt_cv_dlopen_self" >&6; }
10345 if test "x$lt_cv_dlopen_self" = xyes
; then
10346 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10348 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10349 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10350 $as_echo_n "(cached) " >&6
10352 if test "$cross_compiling" = yes; then :
10353 lt_cv_dlopen_self_static
=cross
10355 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10356 lt_status
=$lt_dlunknown
10357 cat > conftest.
$ac_ext <<_LT_EOF
10358 #line 10358 "configure"
10359 #include "confdefs.h"
10368 # define LT_DLGLOBAL RTLD_GLOBAL
10371 # define LT_DLGLOBAL DL_GLOBAL
10373 # define LT_DLGLOBAL 0
10377 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10378 find out it does not work in some platform. */
10379 #ifndef LT_DLLAZY_OR_NOW
10381 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10384 # define LT_DLLAZY_OR_NOW DL_LAZY
10387 # define LT_DLLAZY_OR_NOW RTLD_NOW
10390 # define LT_DLLAZY_OR_NOW DL_NOW
10392 # define LT_DLLAZY_OR_NOW 0
10399 /* When -fvisbility=hidden is used, assume the code has been annotated
10400 correspondingly for the symbols needed. */
10401 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10402 void fnord () __attribute__((visibility("default")));
10405 void fnord () { int i=42; }
10408 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10409 int status = $lt_dlunknown;
10413 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10416 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10417 else puts (dlerror ());
10419 /* dlclose (self); */
10427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10428 (eval $ac_link) 2>&5
10430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10431 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10432 (.
/conftest
; exit; ) >&5 2>/dev
/null
10434 case x
$lt_status in
10435 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10436 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10437 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10440 # compilation failed
10441 lt_cv_dlopen_self_static
=no
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10449 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10452 CPPFLAGS
="$save_CPPFLAGS"
10453 LDFLAGS
="$save_LDFLAGS"
10458 case $lt_cv_dlopen_self in
10459 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10460 *) enable_dlopen_self
=unknown
;;
10463 case $lt_cv_dlopen_self_static in
10464 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10465 *) enable_dlopen_self_static
=unknown
;;
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10488 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10489 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10490 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10491 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10493 $as_echo "yes" >&6; }
10495 # FIXME - insert some real tests, host_os isn't really good enough
10498 if test -n "$STRIP" ; then
10499 striplib
="$STRIP -x"
10500 old_striplib
="$STRIP -S"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10502 $as_echo "yes" >&6; }
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10505 $as_echo "no" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10510 $as_echo "no" >&6; }
10526 # Report which library types will actually be built
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10528 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10530 $as_echo "$can_build_shared" >&6; }
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10533 $as_echo_n "checking whether to build shared libraries... " >&6; }
10534 test "$can_build_shared" = "no" && enable_shared
=no
10536 # On AIX, shared libraries and static libraries use the same namespace, and
10537 # are all built from PIC.
10540 test "$enable_shared" = yes && enable_static
=no
10541 if test -n "$RANLIB"; then
10542 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10543 postinstall_cmds
='$RANLIB $lib'
10548 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10549 test "$enable_shared" = yes && enable_static
=no
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10554 $as_echo "$enable_shared" >&6; }
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10557 $as_echo_n "checking whether to build static libraries... " >&6; }
10558 # Make sure either enable_shared or enable_static is yes.
10559 test "$enable_shared" = yes || enable_static
=yes
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10561 $as_echo "$enable_static" >&6; }
10568 ac_cpp
='$CPP $CPPFLAGS'
10569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10587 ac_config_commands
="$ac_config_commands libtool"
10592 # Only expand once:
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10600 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10601 # Check whether --enable-maintainer-mode was given.
10602 if test "${enable_maintainer_mode+set}" = set; then :
10603 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
10605 USE_MAINTAINER_MODE
=no
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10609 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10610 if test $USE_MAINTAINER_MODE = yes; then
10611 MAINTAINER_MODE_TRUE
=
10612 MAINTAINER_MODE_FALSE
='#'
10614 MAINTAINER_MODE_TRUE
='#'
10615 MAINTAINER_MODE_FALSE
=
10618 MAINT
=$MAINTAINER_MODE_TRUE
10621 # Default to --enable-multilib
10622 # Check whether --enable-multilib was given.
10623 if test "${enable_multilib+set}" = set; then :
10624 enableval
=$enable_multilib; case "$enableval" in
10625 yes) multilib
=yes ;;
10627 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
10634 # We may get other options which we leave undocumented:
10635 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10636 # See config-ml.in if you want the gory details.
10638 if test "$srcdir" = "."; then
10639 if test "$with_target_subdir" != "."; then
10640 multi_basedir
="$srcdir/$with_multisrctop../.."
10642 multi_basedir
="$srcdir/$with_multisrctop.."
10645 multi_basedir
="$srcdir/.."
10649 # Even if the default multilib is not a cross compilation,
10650 # it may be that some of the other multilibs are.
10651 if test $cross_compiling = no
&& test $multilib = yes \
10652 && test "x${with_multisubdir}" != x
; then
10653 cross_compiling
=maybe
10656 ac_config_commands
="$ac_config_commands default-1"
10660 ac_cpp
='$CPP $CPPFLAGS'
10661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10665 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10666 # We must force CC to /not/ be precious variables; otherwise
10667 # the wrong, non-multilib-adjusted value will be used in multilibs.
10668 # As a side effect, we have to subst CFLAGS ourselves.
10673 ac_cpp
='$CPP $CPPFLAGS'
10674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10677 if test -n "$ac_tool_prefix"; then
10678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10679 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10681 $as_echo_n "checking for $ac_word... " >&6; }
10682 if test "${ac_cv_prog_CC+set}" = set; then :
10683 $as_echo_n "(cached) " >&6
10685 if test -n "$CC"; then
10686 ac_cv_prog_CC
="$CC" # Let the user override the test.
10688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10689 for as_dir
in $PATH
10692 test -z "$as_dir" && as_dir
=.
10693 for ac_exec_ext
in '' $ac_executable_extensions; do
10694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10695 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10706 if test -n "$CC"; then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10708 $as_echo "$CC" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10711 $as_echo "no" >&6; }
10716 if test -z "$ac_cv_prog_CC"; then
10718 # Extract the first word of "gcc", so it can be a program name with args.
10719 set dummy gcc
; ac_word
=$2
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10721 $as_echo_n "checking for $ac_word... " >&6; }
10722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10723 $as_echo_n "(cached) " >&6
10725 if test -n "$ac_ct_CC"; then
10726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10729 for as_dir
in $PATH
10732 test -z "$as_dir" && as_dir
=.
10733 for ac_exec_ext
in '' $ac_executable_extensions; do
10734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10735 ac_cv_prog_ac_ct_CC
="gcc"
10736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10745 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10746 if test -n "$ac_ct_CC"; then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10748 $as_echo "$ac_ct_CC" >&6; }
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751 $as_echo "no" >&6; }
10754 if test "x$ac_ct_CC" = x
; then
10757 case $cross_compiling:$ac_tool_warned in
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10761 ac_tool_warned
=yes ;;
10766 CC
="$ac_cv_prog_CC"
10769 if test -z "$CC"; then
10770 if test -n "$ac_tool_prefix"; then
10771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10772 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10774 $as_echo_n "checking for $ac_word... " >&6; }
10775 if test "${ac_cv_prog_CC+set}" = set; then :
10776 $as_echo_n "(cached) " >&6
10778 if test -n "$CC"; then
10779 ac_cv_prog_CC
="$CC" # Let the user override the test.
10781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10782 for as_dir
in $PATH
10785 test -z "$as_dir" && as_dir
=.
10786 for ac_exec_ext
in '' $ac_executable_extensions; do
10787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10788 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10799 if test -n "$CC"; then
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10801 $as_echo "$CC" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10810 if test -z "$CC"; then
10811 # Extract the first word of "cc", so it can be a program name with args.
10812 set dummy cc
; ac_word
=$2
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10814 $as_echo_n "checking for $ac_word... " >&6; }
10815 if test "${ac_cv_prog_CC+set}" = set; then :
10816 $as_echo_n "(cached) " >&6
10818 if test -n "$CC"; then
10819 ac_cv_prog_CC
="$CC" # Let the user override the test.
10821 ac_prog_rejected
=no
10822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10823 for as_dir
in $PATH
10826 test -z "$as_dir" && as_dir
=.
10827 for ac_exec_ext
in '' $ac_executable_extensions; do
10828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10830 ac_prog_rejected
=yes
10834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10841 if test $ac_prog_rejected = yes; then
10842 # We found a bogon in the path, so make sure we never use it.
10843 set dummy
$ac_cv_prog_CC
10845 if test $# != 0; then
10846 # We chose a different compiler from the bogus one.
10847 # However, it has the same basename, so the bogon will be chosen
10848 # first if we set CC to just the basename; use the full file name.
10850 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10856 if test -n "$CC"; then
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10858 $as_echo "$CC" >&6; }
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10861 $as_echo "no" >&6; }
10866 if test -z "$CC"; then
10867 if test -n "$ac_tool_prefix"; then
10868 for ac_prog
in cl.exe
10870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10871 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10873 $as_echo_n "checking for $ac_word... " >&6; }
10874 if test "${ac_cv_prog_CC+set}" = set; then :
10875 $as_echo_n "(cached) " >&6
10877 if test -n "$CC"; then
10878 ac_cv_prog_CC
="$CC" # Let the user override the test.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in $PATH
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10887 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 if test -n "$CC"; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10900 $as_echo "$CC" >&6; }
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10903 $as_echo "no" >&6; }
10907 test -n "$CC" && break
10910 if test -z "$CC"; then
10912 for ac_prog
in cl.exe
10914 # Extract the first word of "$ac_prog", so it can be a program name with args.
10915 set dummy
$ac_prog; ac_word
=$2
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10917 $as_echo_n "checking for $ac_word... " >&6; }
10918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10919 $as_echo_n "(cached) " >&6
10921 if test -n "$ac_ct_CC"; then
10922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10925 for as_dir
in $PATH
10928 test -z "$as_dir" && as_dir
=.
10929 for ac_exec_ext
in '' $ac_executable_extensions; do
10930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10931 ac_cv_prog_ac_ct_CC
="$ac_prog"
10932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10941 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10942 if test -n "$ac_ct_CC"; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10944 $as_echo "$ac_ct_CC" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10947 $as_echo "no" >&6; }
10951 test -n "$ac_ct_CC" && break
10954 if test "x$ac_ct_CC" = x
; then
10957 case $cross_compiling:$ac_tool_warned in
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10961 ac_tool_warned
=yes ;;
10970 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10972 as_fn_error
"no acceptable C compiler found in \$PATH
10973 See \`config.log' for more details." "$LINENO" 5; }
10975 # Provide some information about the compiler.
10976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10979 for ac_option
in --version -v -V -qversion; do
10980 { { ac_try
="$ac_compiler $ac_option >&5"
10981 case "(($ac_try" in
10982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10983 *) ac_try_echo=$ac_try;;
10985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10986 $as_echo "$ac_try_echo"; } >&5
10987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10989 if test -s conftest.err; then
10991 ... rest of stderr output deleted ...
10992 10q' conftest.err >conftest.er1
10993 cat conftest.er1 >&5
10994 rm -f conftest.er1 conftest.err
10996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10997 test $ac_status = 0; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11001 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11002 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11003 $as_echo_n "(cached) " >&6
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11019 if ac_fn_c_try_compile "$LINENO"; then :
11020 ac_compiler_gnu=yes
11024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11029 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11030 if test $ac_compiler_gnu = yes; then
11035 ac_test_CFLAGS=${CFLAGS+set}
11036 ac_save_CFLAGS=$CFLAGS
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11038 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11039 if test "${ac_cv_prog_cc_g+set}" = set; then :
11040 $as_echo_n "(cached) " >&6
11042 ac_save_c_werror_flag=$ac_c_werror_flag
11043 ac_c_werror_flag=yes
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11057 if ac_fn_c_try_compile "$LINENO"; then :
11058 ac_cv_prog_cc_g=yes
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11072 if ac_fn_c_try_compile "$LINENO"; then :
11075 ac_c_werror_flag=$ac_save_c_werror_flag
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11088 if ac_fn_c_try_compile "$LINENO"; then :
11089 ac_cv_prog_cc_g=yes
11091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11096 ac_c_werror_flag=$ac_save_c_werror_flag
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11099 $as_echo "$ac_cv_prog_cc_g" >&6; }
11100 if test "$ac_test_CFLAGS" = set; then
11101 CFLAGS=$ac_save_CFLAGS
11102 elif test $ac_cv_prog_cc_g = yes; then
11103 if test "$GCC" = yes; then
11109 if test "$GCC" = yes; then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11116 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11117 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_cv_prog_cc_c89=no
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 #include <stdarg.h>
11126 #include <sys/types.h>
11127 #include <sys/stat.h>
11128 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11129 struct buf { int x; };
11130 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11131 static char *e (p, i)
11137 static char *f (char * (*g) (char **, int), char **p, ...)
11142 s = g (p, va_arg (v,int));
11147 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11148 function prototypes and stuff, but not '\xHH' hex character constants.
11149 These don't provoke an error unfortunately, instead are silently treated
11150 as 'x'. The following induces an error, until -std is added to get
11151 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11152 array size at least. It's necessary to write '\x00'==0 to get something
11153 that's true only with -std. */
11154 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11156 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11157 inside strings and character constants. */
11159 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11161 int test (int i, double x);
11162 struct s1 {int (*f) (int a);};
11163 struct s2 {int (*f) (double a);};
11164 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11170 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11175 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11176 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11178 CC="$ac_save_CC $ac_arg"
11179 if ac_fn_c_try_compile "$LINENO"; then :
11180 ac_cv_prog_cc_c89=$ac_arg
11182 rm -f core conftest.err conftest.$ac_objext
11183 test "x$ac_cv_prog_cc_c89" != "xno" && break
11185 rm -f conftest.$ac_ext
11190 case "x$ac_cv_prog_cc_c89" in
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11193 $as_echo "none needed" >&6; } ;;
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11196 $as_echo "unsupported" >&6; } ;;
11198 CC="$CC $ac_cv_prog_cc_c89"
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11200 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11202 if test "x$ac_cv_prog_cc_c89" != xno; then :
11207 ac_cpp='$CPP $CPPFLAGS'
11208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11212 depcc="$CC" am_compiler_list=
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11215 $as_echo_n "checking dependency style of $depcc... " >&6; }
11216 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11217 $as_echo_n "(cached) " >&6
11219 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11220 # We make a subdir and do the tests there. Otherwise we can end up
11221 # making bogus files that we don't know about and never remove. For
11222 # instance it was reported that on HP-UX the gcc test will end up
11223 # making a dummy file named `D
' -- because `-MD' means
`put the output
11226 # Copy depcomp to subdir because otherwise we won't find it if we're
11227 # using a relative directory.
11228 cp "$am_depcomp" conftest.dir
11230 # We will build objects and dependencies in a subdirectory because
11231 # it helps to detect inapplicable dependency modes. For instance
11232 # both Tru64's cc and ICC support -MD to output dependencies as a
11233 # side effect of compilation, but ICC will put the dependencies in
11234 # the current directory while Tru64 will put them in the object
11238 am_cv_CC_dependencies_compiler_type=none
11239 if test "$am_compiler_list" = ""; then
11240 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11242 am__universal=false
11243 case " $depcc " in #(
11244 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11247 for depmode in $am_compiler_list; do
11248 # Setup a source with many dependencies, because some compilers
11249 # like to wrap large dependency lists on column 80 (with \), and
11250 # we should not choose a depcomp mode which is confused by this.
11252 # We need to recreate these files for each test, as the compiler may
11253 # overwrite some of them when testing with obscure command lines.
11254 # This happens at least with the AIX C compiler.
11256 for i in 1 2 3 4 5 6; do
11257 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11258 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11259 # Solaris 8's
{/usr
,}/bin
/sh.
11260 touch sub
/conftst
$i.h
11262 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11264 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11265 # mode. It turns out that the SunPro C++ compiler does not properly
11266 # handle `-M -o', and we need to detect this. Also, some Intel
11267 # versions had trouble with output in subdirs
11268 am__obj
=sub
/conftest.
${OBJEXT-o}
11269 am__minus_obj
="-o $am__obj"
11272 # This depmode causes a compiler race in universal mode.
11273 test "$am__universal" = false ||
continue
11276 # after this tag, mechanisms are not by side-effect, so they'll
11277 # only be used when explicitly requested
11278 if test "x$enable_dependency_tracking" = xyes
; then
11284 msvisualcpp | msvcmsys
)
11285 # This compiler won't grok `-c -o', but also, the minuso test has
11286 # not run yet. These depmodes are late enough in the game, and
11287 # so weak that their functioning should not be impacted.
11288 am__obj
=conftest.
${OBJEXT-o}
11293 if depmode
=$depmode \
11294 source=sub
/conftest.c object
=$am__obj \
11295 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11296 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11297 >/dev
/null
2>conftest.err
&&
11298 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11299 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11300 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11301 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11302 # icc doesn't choke on unknown options, it will just issue warnings
11303 # or remarks (even with -Werror). So we grep stderr for any message
11304 # that says an option was ignored or not supported.
11305 # When given -MP, icc 7.0 and 7.1 complain thusly:
11306 # icc: Command line warning: ignoring option '-M'; no argument required
11307 # The diagnosis changed in icc 8.0:
11308 # icc: Command line remark: option '-MP' not supported
11309 if (grep 'ignoring option' conftest.err ||
11310 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11311 am_cv_CC_dependencies_compiler_type
=$depmode
11318 rm -rf conftest.dir
11320 am_cv_CC_dependencies_compiler_type
=none
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11325 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11326 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11329 test "x$enable_dependency_tracking" != xno \
11330 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11331 am__fastdepCC_TRUE
=
11332 am__fastdepCC_FALSE
='#'
11334 am__fastdepCC_TRUE
='#'
11335 am__fastdepCC_FALSE
=
11343 if test "x$CC" != xcc
; then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11345 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11348 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11350 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11351 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11352 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11353 $as_echo_n "(cached) " >&6
11355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11366 # Make sure it works both with $CC and with simple cc.
11367 # We do the test twice because some compilers refuse to overwrite an
11368 # existing .o file with -o, though they will create one.
11369 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11371 if { { case "(($ac_try" in
11372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11373 *) ac_try_echo=$ac_try;;
11375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11376 $as_echo "$ac_try_echo"; } >&5
11377 (eval "$ac_try") 2>&5
11379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11380 test $ac_status = 0; } &&
11381 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11383 *) ac_try_echo
=$ac_try;;
11385 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11386 $as_echo "$ac_try_echo"; } >&5
11387 (eval "$ac_try") 2>&5
11389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11390 test $ac_status = 0; };
11392 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11393 if test "x$CC" != xcc
; then
11394 # Test first that cc exists at all.
11395 if { ac_try
='cc -c conftest.$ac_ext >&5'
11396 { { case "(($ac_try" in
11397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11398 *) ac_try_echo=$ac_try;;
11400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11401 $as_echo "$ac_try_echo"; } >&5
11402 (eval "$ac_try") 2>&5
11404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405 test $ac_status = 0; }; }; then
11406 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11408 if { { case "(($ac_try" in
11409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11410 *) ac_try_echo
=$ac_try;;
11412 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11413 $as_echo "$ac_try_echo"; } >&5
11414 (eval "$ac_try") 2>&5
11416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11417 test $ac_status = 0; } &&
11418 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11420 *) ac_try_echo=$ac_try;;
11422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11423 $as_echo "$ac_try_echo"; } >&5
11424 (eval "$ac_try") 2>&5
11426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11427 test $ac_status = 0; };
11432 # cc exists but doesn't like -o.
11433 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11438 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11440 rm -f core conftest*
11443 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11445 $as_echo "yes" >&6; }
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11448 $as_echo "no" >&6; }
11450 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11454 # FIXME: we rely on the cache variable name because
11455 # there is no other way.
11457 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11458 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11459 if test "$am_t" != yes; then
11460 # Losing compiler, so override with the script.
11461 # FIXME: It is wrong to rewrite CC.
11462 # But if we don't then we get into trouble of one sort or another.
11463 # A longer-term fix would be to have automake use am__CC in this case,
11464 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11465 CC="$am_aux_dir/compile $CC"
11470 if test "x$GCC" != "xyes"; then
11471 as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11474 ac_cpp='$CPP $CPPFLAGS'
11475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11479 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11480 # On Suns, sometimes $CPP names a directory.
11481 if test -n "$CPP" && test -d "$CPP"; then
11484 if test -z "$CPP"; then
11485 if test "${ac_cv_prog_CPP+set}" = set; then :
11486 $as_echo_n "(cached) " >&6
11488 # Double quotes because CPP needs to be expanded
11489 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11491 ac_preproc_ok=false
11492 for ac_c_preproc_warn_flag in '' yes
11494 # Use a header file that comes with gcc, so configuring glibc
11495 # with a fresh cross-compiler works.
11496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11497 # <limits.h> exists even on freestanding compilers.
11498 # On the NeXT, cc -E runs the code through the compiler's parser,
11499 # not just through cpp. "Syntax error" is here to catch this case.
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 # include <limits.h>
11505 # include <assert.h>
11509 if ac_fn_c_try_cpp "$LINENO"; then :
11512 # Broken: fails on valid input.
11515 rm -f conftest.err conftest.$ac_ext
11517 # OK, works on sane cases. Now check whether nonexistent headers
11518 # can be detected and how.
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11521 #include <ac_nonexistent.h>
11523 if ac_fn_c_try_cpp "$LINENO"; then :
11524 # Broken: success on invalid input.
11527 # Passes both tests.
11531 rm -f conftest.err conftest.$ac_ext
11534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11535 rm -f conftest.err conftest.
$ac_ext
11536 if $ac_preproc_ok; then :
11541 ac_cv_prog_CPP
=$CPP
11544 CPP
=$ac_cv_prog_CPP
11546 ac_cv_prog_CPP
=$CPP
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11549 $as_echo "$CPP" >&6; }
11550 ac_preproc_ok
=false
11551 for ac_c_preproc_warn_flag
in '' yes
11553 # Use a header file that comes with gcc, so configuring glibc
11554 # with a fresh cross-compiler works.
11555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11556 # <limits.h> exists even on freestanding compilers.
11557 # On the NeXT, cc -E runs the code through the compiler's parser,
11558 # not just through cpp. "Syntax error" is here to catch this case.
11559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 # include <limits.h>
11564 # include <assert.h>
11568 if ac_fn_c_try_cpp
"$LINENO"; then :
11571 # Broken: fails on valid input.
11574 rm -f conftest.err conftest.
$ac_ext
11576 # OK, works on sane cases. Now check whether nonexistent headers
11577 # can be detected and how.
11578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11580 #include <ac_nonexistent.h>
11582 if ac_fn_c_try_cpp
"$LINENO"; then :
11583 # Broken: success on invalid input.
11586 # Passes both tests.
11590 rm -f conftest.err conftest.
$ac_ext
11593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11594 rm -f conftest.err conftest.
$ac_ext
11595 if $ac_preproc_ok; then :
11598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11600 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
11601 See \`config.log' for more details." "$LINENO" 5; }
11605 ac_cpp
='$CPP $CPPFLAGS'
11606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11611 # Calculate toolexeclibdir
11612 # Also toolexecdir, though it's only used in toolexeclibdir
11613 case ${version_specific_libs} in
11615 # Need the gcc compiler version to know where to install libraries
11616 # and header files if --enable-version-specific-runtime-libs option
11618 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11619 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11622 if test -n "$with_cross_host" &&
11623 test x
"$with_cross_host" != x
"no"; then
11624 # Install a library built with a cross compiler in tooldir, not libdir.
11625 toolexecdir
='$(exec_prefix)/$(target_alias)'
11626 toolexeclibdir
='$(toolexecdir)/lib'
11628 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11629 toolexeclibdir
='$(libdir)'
11631 multi_os_directory
=`$CC -print-multi-os-directory`
11632 case $multi_os_directory in
11633 .
) ;; # Avoid trailing /.
11634 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11642 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11643 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11644 $as_echo_n "(cached) " >&6
11646 ac_check_lib_save_LIBS
=$LIBS
11648 if test x
$gcc_no_link = xyes
; then
11649 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11669 if ac_fn_c_try_link
"$LINENO"; then :
11670 ac_cv_lib_m_sqrtl
=yes
11672 ac_cv_lib_m_sqrtl
=no
11674 rm -f core conftest.err conftest.
$ac_objext \
11675 conftest
$ac_exeext conftest.
$ac_ext
11676 LIBS
=$ac_check_lib_save_LIBS
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
11679 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
11680 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
11682 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
11687 $as_echo_n "checking for cbrtl in -lm... " >&6; }
11688 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
11689 $as_echo_n "(cached) " >&6
11691 ac_check_lib_save_LIBS
=$LIBS
11693 if test x
$gcc_no_link = xyes
; then
11694 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11714 if ac_fn_c_try_link
"$LINENO"; then :
11715 ac_cv_lib_m_cbrtl
=yes
11717 ac_cv_lib_m_cbrtl
=no
11719 rm -f core conftest.err conftest.
$ac_objext \
11720 conftest
$ac_exeext conftest.
$ac_ext
11721 LIBS
=$ac_check_lib_save_LIBS
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
11724 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
11725 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then :
11727 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
11732 # Check for symbol versioning (copied from libssp).
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
11734 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
11735 if test x
$gcc_no_link = xyes
; then
11736 # If we cannot link, we cannot build shared libraries, so do not use
11737 # symbol versioning.
11738 quadmath_use_symver
=no
11740 save_LDFLAGS
="$LDFLAGS"
11741 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
11742 cat > conftest.map
<<EOF
11744 global: *foo*; bar; local: *;
11747 if test x
$gcc_no_link = xyes
; then
11748 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11761 if ac_fn_c_try_link
"$LINENO"; then :
11762 quadmath_use_symver
=gnu
11764 quadmath_use_symver
=no
11766 rm -f core conftest.err conftest.
$ac_objext \
11767 conftest
$ac_exeext conftest.
$ac_ext
11768 if test x
$quadmath_use_symver = xno
; then
11769 case "$target_os" in
11771 LDFLAGS
="$save_LDFLAGS"
11772 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
11773 # Sun ld cannot handle wildcards and treats all entries as undefined.
11774 cat > conftest.map
<<EOF
11776 global: foo; local: *;
11779 if test x
$gcc_no_link = xyes
; then
11780 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11793 if ac_fn_c_try_link
"$LINENO"; then :
11794 quadmath_use_symver
=sun
11796 quadmath_use_symver
=no
11798 rm -f core conftest.err conftest.
$ac_objext \
11799 conftest
$ac_exeext conftest.
$ac_ext
11803 LDFLAGS
="$save_LDFLAGS"
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
11806 $as_echo "$quadmath_use_symver" >&6; }
11807 if test "x$quadmath_use_symver" != xno
; then
11808 LIBQUAD_USE_SYMVER_TRUE
=
11809 LIBQUAD_USE_SYMVER_FALSE
='#'
11811 LIBQUAD_USE_SYMVER_TRUE
='#'
11812 LIBQUAD_USE_SYMVER_FALSE
=
11815 if test "x$quadmath_use_symver" = xgnu
; then
11816 LIBQUAD_USE_SYMVER_GNU_TRUE
=
11817 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
11819 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
11820 LIBQUAD_USE_SYMVER_GNU_FALSE
=
11823 if test "x$quadmath_use_symver" = xsun
; then
11824 LIBQUAD_USE_SYMVER_SUN_TRUE
=
11825 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
11827 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
11828 LIBQUAD_USE_SYMVER_SUN_FALSE
=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
11833 $as_echo_n "checking whether __float128 is supported... " >&6; }
11834 if test x
$gcc_no_link = xyes
; then
11835 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 typedef _Complex float __attribute__((mode(TC))) __complex128;
11842 __float128 foo (__float128 x)
11845 __complex128 z1, z2;
11851 return (__float128) z2;
11854 __float128 bar (__float128 x)
11856 return x * __builtin_huge_valq ();
11870 if ac_fn_c_try_link
"$LINENO"; then :
11872 libquad_have_float128
=yes
11876 libquad_have_float128
=no
11879 rm -f core conftest.err conftest.
$ac_objext \
11880 conftest
$ac_exeext conftest.
$ac_ext
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_have_float128" >&5
11882 $as_echo "$libquad_have_float128" >&6; }
11885 if test "x$libquad_have_float128" = xyes
; then
11886 BUILD_LIBQUADMATH_TRUE
=
11887 BUILD_LIBQUADMATH_FALSE
='#'
11889 BUILD_LIBQUADMATH_TRUE
='#'
11890 BUILD_LIBQUADMATH_FALSE
=
11894 cat >confcache
<<\_ACEOF
11895 # This file is a shell script that caches the results of configure
11896 # tests run on this system so they can be shared between configure
11897 # scripts and configure runs, see configure's option --config-cache.
11898 # It is not useful on other systems. If it contains results you don't
11899 # want to keep, you may remove or edit it.
11901 # config.status only pays attention to the cache file if you give it
11902 # the --recheck option to rerun configure.
11904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11906 # following values.
11910 # The following way of writing the cache mishandles newlines in values,
11911 # but we know of no workaround that is simple, portable, and efficient.
11912 # So, we kill variables containing newlines.
11913 # Ultrix sh set writes to stderr and can't be redirected directly,
11914 # and sets the high bit in the cache file unless we assign to the vars.
11916 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11917 eval ac_val
=\$
$ac_var
11921 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11925 _ | IFS | as_nl
) ;; #(
11926 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11927 *) { eval $ac_var=; unset $ac_var;} ;;
11933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11934 *${as_nl}ac_space
=\
*)
11935 # `set' does not quote correctly, so add quotes: double-quote
11936 # substitution turns \\\\ into \\, and sed turns \\ into \.
11939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11942 # `set' quotes correctly as required by POSIX, so do not add quotes.
11943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11952 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11956 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11957 if test -w "$cache_file"; then
11958 test "x$cache_file" != "x/dev/null" &&
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11960 $as_echo "$as_me: updating cache $cache_file" >&6;}
11961 cat confcache
>$cache_file
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11964 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11969 if test ${multilib} = yes; then
11970 multilib_arg
="--enable-multilib"
11975 ac_config_files
="$ac_config_files Makefile"
11977 cat >confcache
<<\_ACEOF
11978 # This file is a shell script that caches the results of configure
11979 # tests run on this system so they can be shared between configure
11980 # scripts and configure runs, see configure's option --config-cache.
11981 # It is not useful on other systems. If it contains results you don't
11982 # want to keep, you may remove or edit it.
11984 # config.status only pays attention to the cache file if you give it
11985 # the --recheck option to rerun configure.
11987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11989 # following values.
11993 # The following way of writing the cache mishandles newlines in values,
11994 # but we know of no workaround that is simple, portable, and efficient.
11995 # So, we kill variables containing newlines.
11996 # Ultrix sh set writes to stderr and can't be redirected directly,
11997 # and sets the high bit in the cache file unless we assign to the vars.
11999 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12000 eval ac_val
=\$
$ac_var
12004 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12005 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12008 _ | IFS | as_nl
) ;; #(
12009 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12010 *) { eval $ac_var=; unset $ac_var;} ;;
12016 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12017 *${as_nl}ac_space
=\
*)
12018 # `set' does not quote correctly, so add quotes: double-quote
12019 # substitution turns \\\\ into \\, and sed turns \\ into \.
12022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12025 # `set' quotes correctly as required by POSIX, so do not add quotes.
12026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12037 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12039 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12040 if test -w "$cache_file"; then
12041 test "x$cache_file" != "x/dev/null" &&
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12043 $as_echo "$as_me: updating cache $cache_file" >&6;}
12044 cat confcache
>$cache_file
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12047 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12052 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12053 # Let make expand exec_prefix.
12054 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12056 DEFS
=-DHAVE_CONFIG_H
12060 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12061 # 1. Remove the extension, and $U if already installed.
12062 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12063 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12064 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12065 # will be set to the directory where LIBOBJS objects are built.
12066 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12067 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12069 LIBOBJS
=$ac_libobjs
12071 LTLIBOBJS
=$ac_ltlibobjs
12074 if test -n "$EXEEXT"; then
12076 am__EXEEXT_FALSE
='#'
12078 am__EXEEXT_TRUE
='#'
12082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12083 as_fn_error
"conditional \"AMDEP\" was never defined.
12084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12086 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12087 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12090 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12091 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12094 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12095 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12098 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
12099 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
12100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12102 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
12103 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
12104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12106 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
12107 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
12108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12110 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
12111 as_fn_error
"conditional \"BUILD_LIBQUADMATH\" was never defined.
12112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12115 : ${CONFIG_STATUS=./config.status}
12117 ac_clean_files_save
=$ac_clean_files
12118 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12120 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12122 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12124 # Generated by $as_me.
12125 # Run this file to recreate the current configuration.
12126 # Compiler output produced by configure, useful for debugging
12127 # configure, is in config.log if it exists.
12130 ac_cs_recheck=false
12133 SHELL=\${CONFIG_SHELL-$SHELL}
12136 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12137 ## -------------------- ##
12138 ## M4sh Initialization. ##
12139 ## -------------------- ##
12141 # Be more Bourne compatible
12142 DUALCASE
=1; export DUALCASE
# for MKS sh
12143 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12146 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12147 # is contrary to our usage. Disable this feature.
12148 alias -g '${1+"$@"}'='"$@"'
12149 setopt NO_GLOB_SUBST
12151 case `(set -o) 2>/dev/null` in #(
12163 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12164 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12165 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12166 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12167 # Prefer a ksh shell builtin over an external printf program on Solaris,
12168 # but without wasting forks for bash or zsh.
12169 if test -z "$BASH_VERSION$ZSH_VERSION" \
12170 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12171 as_echo='print
-r --'
12172 as_echo_n='print
-rn --'
12173 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12174 as_echo='printf %s
\n'
12175 as_echo_n='printf %s
'
12177 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12178 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12179 as_echo_n='/usr
/ucb
/echo -n'
12181 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12182 as_echo_n_body='eval
12186 expr "X$arg" : "X\\(.*\\)$as_nl";
12187 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12189 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12191 export as_echo_n_body
12192 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12194 export as_echo_body
12195 as_echo='sh
-c $as_echo_body as_echo
'
12198 # The user is always right.
12199 if test "${PATH_SEPARATOR+set}" != set; then
12201 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12202 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12209 # We need space, tab and new line, in precisely that order. Quoting is
12210 # there to prevent editors from complaining about space-tab.
12211 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12212 # splitting by setting IFS to empty value.)
12215 # Find who we are. Look in the path if we contain no directory separator.
12217 *[\\/]* ) as_myself=$0 ;;
12218 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12219 for as_dir in $PATH
12222 test -z "$as_dir" && as_dir=.
12223 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12229 # We did not find ourselves, most probably we were run as `sh COMMAND'
12230 # in which case we are not to be found in the path.
12231 if test "x$as_myself" = x
; then
12234 if test ! -f "$as_myself"; then
12235 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12239 # Unset variables that we do not need and which cause bugs (e.g. in
12240 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12241 # suppresses any "Segmentation fault" message there. '((' could
12242 # trigger a bug in pdksh 5.2.14.
12243 for as_var
in BASH_ENV ENV MAIL MAILPATH
12244 do eval test x\
${$as_var+set} = xset \
12245 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12258 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12261 # as_fn_error ERROR [LINENO LOG_FD]
12262 # ---------------------------------
12263 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12264 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12265 # script with status $?, using 1 if that was 0.
12268 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12270 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12271 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12273 $as_echo "$as_me: error: $1" >&2
12274 as_fn_exit
$as_status
12278 # as_fn_set_status STATUS
12279 # -----------------------
12280 # Set $? to STATUS, without forking.
12281 as_fn_set_status
()
12284 } # as_fn_set_status
12286 # as_fn_exit STATUS
12287 # -----------------
12288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12292 as_fn_set_status
$1
12298 # Portably unset VAR.
12301 { eval $1=; unset $1;}
12303 as_unset
=as_fn_unset
12304 # as_fn_append VAR VALUE
12305 # ----------------------
12306 # Append the text in VALUE to the end of the definition contained in VAR. Take
12307 # advantage of any shell optimizations that allow amortized linear growth over
12308 # repeated appends, instead of the typical quadratic growth present in naive
12310 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12311 eval 'as_fn_append ()
12322 # as_fn_arith ARG...
12323 # ------------------
12324 # Perform arithmetic evaluation on the ARGs, and store the result in the
12325 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12326 # must be portable across $(()) and expr.
12327 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12328 eval 'as_fn_arith ()
12335 as_val
=`expr "$@" || test $? -eq 1`
12340 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12341 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12347 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12348 as_basename
=basename
12353 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12359 as_me
=`$as_basename -- "$0" ||
12360 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12361 X"$0" : 'X\(//\)$' \| \
12362 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12364 sed '/^.*\/\([^/][^/]*\)\/*$/{
12378 # Avoid depending upon Character Ranges.
12379 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12380 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12381 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12382 as_cr_digits
='0123456789'
12383 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12385 ECHO_C
= ECHO_N
= ECHO_T
=
12386 case `echo -n x` in #(((((
12388 case `echo 'xy\c'` in
12389 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12391 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12398 rm -f conf$$ conf$$.exe conf$$.
file
12399 if test -d conf$$.dir
; then
12400 rm -f conf$$.dir
/conf$$.
file
12403 mkdir conf$$.dir
2>/dev
/null
12405 if (echo >conf$$.
file) 2>/dev
/null
; then
12406 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12408 # ... but there are two gotchas:
12409 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12410 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12411 # In both cases, we have to default to `cp -p'.
12412 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12414 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12422 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12423 rmdir conf$$.dir
2>/dev
/null
12428 # Create "$as_dir" as a directory, including parents if necessary.
12433 -*) as_dir
=.
/$as_dir;;
12435 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12439 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12440 *) as_qdir
=$as_dir;;
12442 as_dirs
="'$as_qdir' $as_dirs"
12443 as_dir
=`$as_dirname -- "$as_dir" ||
12444 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12445 X"$as_dir" : 'X\(//\)[^/]' \| \
12446 X"$as_dir" : 'X\(//\)$' \| \
12447 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12448 $as_echo X"$as_dir" |
12449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12453 /^X\(\/\/\)[^/].*/{
12466 test -d "$as_dir" && break
12468 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12469 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12473 if mkdir
-p .
2>/dev
/null
; then
12474 as_mkdir_p
='mkdir -p "$as_dir"'
12476 test -d .
/-p && rmdir .
/-p
12480 if test -x / >/dev
/null
2>&1; then
12481 as_test_x
='test -x'
12483 if ls -dL / >/dev
/null
2>&1; then
12490 if test -d "$1"; then
12496 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12497 ???[sx]*):;;*)false;;esac;fi
12501 as_executable_p
=$as_test_x
12503 # Sed expression to map a string onto a valid CPP name.
12504 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12506 # Sed expression to map a string onto a valid variable name.
12507 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12511 ## ----------------------------------- ##
12512 ## Main body of $CONFIG_STATUS script. ##
12513 ## ----------------------------------- ##
12515 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12518 # Save the log message, to keep $0 and so on meaningful, and to
12519 # report actual input values of CONFIG_FILES etc. instead of their
12520 # values after options handling.
12522 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
12523 generated by GNU Autoconf 2.64. Invocation command line was
12525 CONFIG_FILES = $CONFIG_FILES
12526 CONFIG_HEADERS = $CONFIG_HEADERS
12527 CONFIG_LINKS = $CONFIG_LINKS
12528 CONFIG_COMMANDS = $CONFIG_COMMANDS
12531 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12536 case $ac_config_files in *"
12537 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12540 case $ac_config_headers in *"
12541 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12546 # Files that config.status was made for.
12547 config_files="$ac_config_files"
12548 config_headers="$ac_config_headers"
12549 config_commands="$ac_config_commands"
12553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12555 \`$as_me' instantiates files and other configuration actions
12556 from templates according to the current configuration. Unless the files
12557 and actions are specified as TAGs, all are instantiated by default.
12559 Usage: $0 [OPTION]... [TAG]...
12561 -h, --help print this help, then exit
12562 -V, --version print version number and configuration settings, then exit
12563 -q, --quiet, --silent
12564 do not print progress messages
12565 -d, --debug don't remove temporary files
12566 --recheck update $as_me by reconfiguring in the same conditions
12567 --file=FILE[:TEMPLATE]
12568 instantiate the configuration file FILE
12569 --header=FILE[:TEMPLATE]
12570 instantiate the configuration header FILE
12572 Configuration files:
12575 Configuration headers:
12578 Configuration commands:
12581 Report bugs to the package provider."
12584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12586 GCC Quad-precision Math Library config.status 0.1
12587 configured by $0, generated by GNU Autoconf 2.64,
12588 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12590 Copyright (C) 2009 Free Software Foundation, Inc.
12591 This config.status script is free software; the Free Software Foundation
12592 gives unlimited permission to copy, distribute and modify it."
12599 test -n "\$AWK" || AWK=awk
12602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12603 # The default lists apply if the user does not specify any file.
12609 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12610 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12621 # Handling of the options.
12622 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12624 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12625 $as_echo "$ac_cs_version"; exit ;;
12626 --debug |
--debu |
--deb |
--de |
--d |
-d )
12628 --file |
--fil |
--fi |
--f )
12631 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12633 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12634 ac_need_defaults
=false
;;
12635 --header |
--heade |
--head |
--hea )
12638 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12640 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12641 ac_need_defaults
=false
;;
12643 # Conflict between --help and --header
12644 as_fn_error
"ambiguous option: \`$1'
12645 Try \`$0 --help' for more information.";;
12646 --help |
--hel |
-h )
12647 $as_echo "$ac_cs_usage"; exit ;;
12648 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12649 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12652 # This is an error.
12653 -*) as_fn_error
"unrecognized option: \`$1'
12654 Try \`$0 --help' for more information." ;;
12656 *) as_fn_append ac_config_targets
" $1"
12657 ac_need_defaults
=false
;;
12663 ac_configure_extra_args
=
12665 if $ac_cs_silent; then
12667 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12672 if \$ac_cs_recheck; then
12673 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12675 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12676 CONFIG_SHELL='$SHELL'
12677 export CONFIG_SHELL
12682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12686 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12687 ## Running $as_me. ##
12693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12697 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12700 # The HP-UX ksh and POSIX shell print the target directory to stdout
12701 # if CDPATH is set.
12702 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12704 sed_quote_subst='$sed_quote_subst'
12705 double_quote_subst='$double_quote_subst'
12706 delay_variable_subst='$delay_variable_subst'
12707 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12708 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12709 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12710 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12711 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12712 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12713 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12714 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12715 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12716 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12717 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12718 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12719 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12720 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12721 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12722 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12723 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12724 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12725 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12726 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12727 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12728 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12729 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12730 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12731 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12732 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12733 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12734 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12735 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12736 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12737 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12738 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12739 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12740 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12741 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12742 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12743 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12744 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12745 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12746 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12747 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12748 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12749 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12750 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12751 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12752 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12753 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12754 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12755 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"`'
12756 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12757 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12758 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12759 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12760 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12761 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12762 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12763 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12764 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12765 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12766 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12767 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12768 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12769 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12770 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12771 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12772 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12773 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12774 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12775 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12776 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12777 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12778 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12779 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12780 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12781 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12782 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12783 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12784 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12785 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12786 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12787 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12788 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12789 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12790 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12791 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12792 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12793 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12794 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12795 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12796 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12797 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12798 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12799 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12800 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12801 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12802 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12803 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12804 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12805 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12806 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12807 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12808 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12809 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12810 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12811 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12812 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12813 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12814 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12815 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12816 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12817 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12818 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12819 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12820 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12821 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12822 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12823 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12824 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12825 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12826 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12829 LTCFLAGS='$LTCFLAGS'
12830 compiler='$compiler_DEFAULT'
12832 # A function that is used when there is no print builtin or printf.
12833 func_fallback_echo ()
12835 eval 'cat <<_LTECHO_EOF
12840 # Quote evaled strings.
12854 deplibs_check_method \
12863 lt_cv_sys_global_symbol_pipe \
12864 lt_cv_sys_global_symbol_to_cdecl \
12865 lt_cv_sys_global_symbol_to_c_name_address \
12866 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12867 lt_prog_compiler_no_builtin_flag \
12868 lt_prog_compiler_wl \
12869 lt_prog_compiler_pic \
12870 lt_prog_compiler_static \
12871 lt_cv_prog_compiler_c_o \
12879 export_dynamic_flag_spec \
12880 whole_archive_flag_spec \
12881 compiler_needs_object \
12883 allow_undefined_flag \
12884 no_undefined_flag \
12885 hardcode_libdir_flag_spec \
12886 hardcode_libdir_flag_spec_ld \
12887 hardcode_libdir_separator \
12892 variables_saved_for_relink \
12894 library_names_spec \
12896 install_override_mode \
12900 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12901 *[\\\\\\\`\\"\\\$]*)
12902 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12905 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12910 # Double-quote double-evaled strings.
12911 for var in reload_cmds \
12912 old_postinstall_cmds \
12913 old_postuninstall_cmds \
12915 extract_expsyms_cmds \
12916 old_archive_from_new_cmds \
12917 old_archive_from_expsyms_cmds \
12919 archive_expsym_cmds \
12921 module_expsym_cmds \
12922 export_symbols_cmds \
12925 postuninstall_cmds \
12927 sys_lib_search_path_spec \
12928 sys_lib_dlsearch_path_spec; do
12929 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12930 *[\\\\\\\`\\"\\\$]*)
12931 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12934 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12939 ac_aux_dir='$ac_aux_dir'
12940 xsi_shell='$xsi_shell'
12941 lt_shell_append='$lt_shell_append'
12943 # See if we are running on zsh, and set the options which allow our
12944 # commands through without removal of \ escapes INIT.
12945 if test -n "\${ZSH_VERSION+set}" ; then
12946 setopt NO_GLOB_SUBST
12952 TIMESTAMP='$TIMESTAMP'
12962 with_multisubdir="$with_multisubdir"
12963 with_multisrctop="$with_multisrctop"
12964 with_target_subdir="$with_target_subdir"
12965 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12966 multi_basedir="$multi_basedir"
12967 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12970 GFORTRAN="$GFORTRAN"
12975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12977 # Handling of arguments.
12978 for ac_config_target
in $ac_config_targets
12980 case $ac_config_target in
12981 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12982 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12983 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12984 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12985 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12987 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12992 # If the user did not use the arguments to specify the items to instantiate,
12993 # then the envvar interface is used. Set only those that are not.
12994 # We use the long form for the default assignment because of an extremely
12995 # bizarre bug on SunOS 4.1.3.
12996 if $ac_need_defaults; then
12997 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12998 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12999 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13002 # Have a temporary directory for convenience. Make it in the build tree
13003 # simply because there is no reason against having it here, and in addition,
13004 # creating and moving files from /tmp can sometimes cause problems.
13005 # Hook for its removal unless debugging.
13006 # Note that there is a small window in which the directory will not be cleaned:
13007 # after its creation but before its name has been assigned to `$tmp'.
13011 trap 'exit_status=$?
13012 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13014 trap 'as_fn_exit 1' 1 2 13 15
13016 # Create a (secure) tmp directory for tmp files.
13019 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13020 test -n "$tmp" && test -d "$tmp"
13023 tmp
=.
/conf$$
-$RANDOM
13024 (umask 077 && mkdir
"$tmp")
13025 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13027 # Set up the scripts for CONFIG_FILES section.
13028 # No need to generate them if there are no CONFIG_FILES.
13029 # This happens for instance with `./config.status config.h'.
13030 if test -n "$CONFIG_FILES"; then
13033 ac_cr
=`echo X | tr X '\015'`
13034 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13035 # But we know of no other shell where ac_cr would be empty at this
13036 # point, so we can use a bashism as a fallback.
13037 if test "x$ac_cr" = x
; then
13038 eval ac_cr
=\$
\'\\r
\'
13040 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13041 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13044 ac_cs_awk_cr
=$ac_cr
13047 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13052 echo "cat >conf$$subs.awk <<_ACEOF" &&
13053 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13055 } >conf$$subs.sh ||
13056 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13057 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13059 for ac_last_try in false false false false false :; do
13060 . ./conf$$subs.sh ||
13061 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13063 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13064 if test $ac_delim_n = $ac_delim_num; then
13066 elif $ac_last_try; then
13067 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13069 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13072 rm -f conf$$subs.sh
13074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13075 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13079 s/^/S["/; s
/!.
*/"]=/
13089 s/\(.\{148\}\).*/\1/
13091 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13096 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13103 s/\(.\{148\}\).*/\1/
13105 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13109 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13114 ' <conf$$subs.awk | sed '
13119 ' >>$CONFIG_STATUS || ac_write_fail=1
13120 rm -f conf$$subs.awk
13121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13123 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13124 for (key in S) S_is_set[key] = 1
13130 nfields = split(line, field, "@
")
13132 len = length(field[1])
13133 for (i = 2; i < nfields; i++) {
13135 keylen = length(key)
13136 if (S_is_set[key]) {
13138 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13139 len += length(value) + length(field[++i])
13150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13151 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13152 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13155 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13156 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13159 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13160 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13161 # trailing colons and then remove the whole line if VPATH becomes empty
13162 # (actually we leave an empty line to preserve line numbers).
13163 if test "x
$srcdir" = x.; then
13164 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13165 s/:*\$(srcdir):*/:/
13166 s/:*\${srcdir}:*/:/
13168 s/^\([^=]*=[ ]*\):*/\1/
13174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13175 fi # test -n "$CONFIG_FILES"
13177 # Set up the scripts for CONFIG_HEADERS section.
13178 # No need to generate them if there are no CONFIG_HEADERS.
13179 # This happens for instance with `./config.status Makefile'.
13180 if test -n "$CONFIG_HEADERS"; then
13181 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13185 # Transform confdefs.h into an awk script `defines.awk', embedded as
13186 # here-document in config.status, that substitutes the proper values into
13187 # config.h.in to produce config.h.
13189 # Create a delimiter string that does not exist in confdefs.h, to ease
13190 # handling of long lines.
13192 for ac_last_try in false false :; do
13193 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13194 if test -z "$ac_t"; then
13196 elif $ac_last_try; then
13197 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13199 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13203 # For the awk script, D is an array of macro values keyed by name,
13204 # likewise P contains macro parameters if any. Preserve backslash
13205 # newline sequences.
13207 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13209 s/.\{148\}/&'"$ac_delim"'/g
13212 s/^[ ]*#[ ]*define[ ][ ]*/ /
13219 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13221 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13225 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13226 D["\
1"]=" \
3\\\\\\n
"\\/p
13228 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13233 s/.\{148\}/&'"$ac_delim"'/g
13238 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13241 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13243 ' <confdefs.h | sed '
13244 s/'"$ac_delim"'/"\\\
13245 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13248 for (key in D) D_is_set[key] = 1
13251 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13253 split(line, arg, " ")
13254 if (arg[1] == "#") {
13258 defundef
= substr
(arg
[1], 2)
13261 split(mac1
, mac2
, "(") #)
13263 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13264 if (D_is_set
[macro
]) {
13265 # Preserve the white space surrounding the "#".
13266 print prefix
"define", macro P
[macro
] D
[macro
]
13269 # Replace #undef with comments. This is necessary, for example,
13270 # in the case of _POSIX_SOURCE, which is predefined and required
13271 # on some systems where configure will not decide to define it.
13272 if (defundef
== "undef") {
13273 print
"/*", prefix defundef
, macro
, "*/"
13281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13282 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13283 fi # test -n "$CONFIG_HEADERS"
13286 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13291 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13293 case $ac_mode$ac_tag in
13295 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13296 :[FH
]-) ac_tag
=-:-;;
13297 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13314 -) ac_f
="$tmp/stdin";;
13315 *) # Look for the file first in the build tree, then in the source tree
13316 # (if the path is not absolute). The absolute path cannot be DOS-style,
13317 # because $ac_f cannot contain `:'.
13321 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13323 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13325 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13326 as_fn_append ac_file_inputs
" '$ac_f'"
13329 # Let's still pretend it is `configure' which instantiates (i.e., don't
13330 # use $as_me), people would be surprised to read:
13331 # /* config.h. Generated by config.status. */
13332 configure_input
='Generated from '`
13333 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13335 if test x
"$ac_file" != x-
; then
13336 configure_input
="$ac_file. $configure_input"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13338 $as_echo "$as_me: creating $ac_file" >&6;}
13340 # Neutralize special characters interpreted by sed in replacement strings.
13341 case $configure_input in #(
13342 *\
&* |
*\|
* |
*\\* )
13343 ac_sed_conf_input
=`$as_echo "$configure_input" |
13344 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13345 *) ac_sed_conf_input
=$configure_input;;
13349 *:-:* |
*:-) cat >"$tmp/stdin" \
13350 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13355 ac_dir
=`$as_dirname -- "$ac_file" ||
13356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13357 X"$ac_file" : 'X\(//\)[^/]' \| \
13358 X"$ac_file" : 'X\(//\)$' \| \
13359 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13360 $as_echo X"$ac_file" |
13361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13365 /^X\(\/\/\)[^/].*/{
13378 as_dir
="$ac_dir"; as_fn_mkdir_p
13382 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13384 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13385 # A ".." for each directory in $ac_dir_suffix.
13386 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13387 case $ac_top_builddir_sub in
13388 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13389 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13392 ac_abs_top_builddir
=$ac_pwd
13393 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13394 # for backward compatibility:
13395 ac_top_builddir
=$ac_top_build_prefix
13398 .
) # We are building in place.
13400 ac_top_srcdir
=$ac_top_builddir_sub
13401 ac_abs_top_srcdir
=$ac_pwd ;;
13402 [\\/]* | ?
:[\\/]* ) # Absolute name.
13403 ac_srcdir
=$srcdir$ac_dir_suffix;
13404 ac_top_srcdir
=$srcdir
13405 ac_abs_top_srcdir
=$srcdir ;;
13406 *) # Relative name.
13407 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13408 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13409 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13411 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13421 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13422 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13424 ac_MKDIR_P
=$MKDIR_P
13426 [\\/$
]* | ?
:[\\/]* ) ;;
13427 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13432 # If the template does not know about datarootdir, expand it.
13433 # FIXME: This hack should be removed a few years after 2.60.
13434 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13445 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13446 *datarootdir
*) ac_datarootdir_seen
=yes;;
13447 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13449 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13452 ac_datarootdir_hack='
13453 s&@datadir@&$datadir&g
13454 s&@docdir@&$docdir&g
13455 s&@infodir@&$infodir&g
13456 s&@localedir@&$localedir&g
13457 s&@mandir@&$mandir&g
13458 s&\\\${datarootdir}&$datarootdir&g' ;;
13462 # Neutralize VPATH when `$srcdir' = `.'.
13463 # Shell code in configure.ac might set extrasub.
13464 # FIXME: do we really want to maintain this feature?
13465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13466 ac_sed_extra="$ac_vpsub
13469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13471 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13472 s|@configure_input@|
$ac_sed_conf_input|
;t t
13473 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13474 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13475 s
&@srcdir@
&$ac_srcdir&;t t
13476 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13477 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13478 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13479 s
&@builddir@
&$ac_builddir&;t t
13480 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13481 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13482 s
&@INSTALL@
&$ac_INSTALL&;t t
13483 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13484 $ac_datarootdir_hack
13486 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13487 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13489 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13490 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13491 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13493 which seems to be undefined. Please make sure it is defined." >&5
13494 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13495 which seems to be undefined. Please make sure it is defined." >&2;}
13499 -) cat "$tmp/out" && rm -f "$tmp/out";;
13500 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13502 || as_fn_error "could not create $ac_file" "$LINENO" 5
13508 if test x"$ac_file" != x-; then
13510 $as_echo "/* $configure_input */" \
13511 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13512 } >"$tmp/config.h" \
13513 || as_fn_error "could not create $ac_file" "$LINENO" 5
13514 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13516 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13519 mv "$tmp/config.h" "$ac_file" \
13520 || as_fn_error "could not create $ac_file" "$LINENO" 5
13523 $as_echo "/* $configure_input */" \
13524 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13525 || as_fn_error "could not create -" "$LINENO" 5
13527 # Compute "$ac_file"'s index
in $config_headers.
13530 for _am_header
in $config_headers :; do
13531 case $_am_header in
13532 $_am_arg |
$_am_arg:* )
13535 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13538 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13539 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13540 X"$_am_arg" : 'X\(//\)[^/]' \| \
13541 X"$_am_arg" : 'X\(//\)$' \| \
13542 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13543 $as_echo X"$_am_arg" |
13544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13548 /^X\(\/\/\)[^/].*/{
13560 s/.*/./; q'`/stamp-h
$_am_stamp_count
13563 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13564 $as_echo "$as_me: executing $ac_file commands" >&6;}
13569 case $ac_file$ac_mode in
13570 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13571 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13572 # are listed without --file. Let's play safe and only enable the eval
13573 # if we detect the quoting.
13574 case $CONFIG_FILES in
13575 *\'*) eval set x
"$CONFIG_FILES" ;;
13576 *) set x
$CONFIG_FILES ;;
13581 # Strip MF so we end up with the name of the file.
13582 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13583 # Check whether this is an Automake generated Makefile or not.
13584 # We used to match only the files named `Makefile.in', but
13585 # some people rename them; so instead we look at the file content.
13586 # Grep'ing the first line is not enough: some people post-process
13587 # each Makefile.in and add a new line on top of each file to say so.
13588 # Grep'ing the whole file is not good either: AIX grep has a line
13589 # limit of 2048, but all sed's we know have understand at least 4000.
13590 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13591 dirpart
=`$as_dirname -- "$mf" ||
13592 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13593 X"$mf" : 'X\(//\)[^/]' \| \
13594 X"$mf" : 'X\(//\)$' \| \
13595 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13601 /^X\(\/\/\)[^/].*/{
13617 # Extract the definition of DEPDIR, am__include, and am__quote
13618 # from the Makefile without running `make'.
13619 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13620 test -z "$DEPDIR" && continue
13621 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13622 test -z "am__include" && continue
13623 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13624 # When using ansi2knr, U may be empty or an underscore; expand it
13625 U
=`sed -n 's/^U = //p' < "$mf"`
13626 # Find all dependency output files, they are included files with
13627 # $(DEPDIR) in their names. We invoke sed twice because it is the
13628 # simplest approach to changing $(DEPDIR) to its actual value in the
13630 for file in `sed -n "
13631 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13632 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13633 # Make sure the directory exists.
13634 test -f "$dirpart/$file" && continue
13635 fdir
=`$as_dirname -- "$file" ||
13636 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13637 X"$file" : 'X\(//\)[^/]' \| \
13638 X"$file" : 'X\(//\)$' \| \
13639 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13640 $as_echo X"$file" |
13641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13645 /^X\(\/\/\)[^/].*/{
13658 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13659 # echo "creating $dirpart/$file"
13660 echo '# dummy' > "$dirpart/$file"
13667 # See if we are running on zsh, and set the options which allow our
13668 # commands through without removal of \ escapes.
13669 if test -n "${ZSH_VERSION+set}" ; then
13670 setopt NO_GLOB_SUBST
13673 cfgfile
="${ofile}T"
13674 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13677 cat <<_LT_EOF >> "$cfgfile"
13680 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13681 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13682 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13683 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13685 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13686 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13687 # Written by Gordon Matzigkeit, 1996
13689 # This file is part of GNU Libtool.
13691 # GNU Libtool is free software; you can redistribute it and/or
13692 # modify it under the terms of the GNU General Public License as
13693 # published by the Free Software Foundation; either version 2 of
13694 # the License, or (at your option) any later version.
13696 # As a special exception to the GNU General Public License,
13697 # if you distribute this file as part of a program or library that
13698 # is built using GNU Libtool, you may include this file under the
13699 # same distribution terms that you use for the rest of that program.
13701 # GNU Libtool is distributed in the hope that it will be useful,
13702 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13703 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13704 # GNU General Public License for more details.
13706 # You should have received a copy of the GNU General Public License
13707 # along with GNU Libtool; see the file COPYING. If not, a copy
13708 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13709 # obtained by writing to the Free Software Foundation, Inc.,
13710 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13713 # The names of the tagged configurations supported by this script.
13716 # ### BEGIN LIBTOOL CONFIG
13718 # Which release of libtool.m4 was used?
13719 macro_version=$macro_version
13720 macro_revision=$macro_revision
13722 # Whether or not to build shared libraries.
13723 build_libtool_libs=$enable_shared
13725 # Whether or not to build static libraries.
13726 build_old_libs=$enable_static
13728 # What type of objects to build.
13731 # Whether or not to optimize for fast installation.
13732 fast_install=$enable_fast_install
13734 # Shell to use when invoking shell scripts.
13737 # An echo program that protects backslashes.
13741 host_alias=$host_alias
13745 # The build system.
13746 build_alias=$build_alias
13750 # A sed program that does not truncate output.
13753 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13754 Xsed="\$SED -e 1s/^X//"
13756 # A grep program that handles long lines.
13762 # A literal string matcher.
13765 # A BSD- or MS-compatible name lister.
13768 # Whether we need soft or hard links.
13771 # What is the maximum length of a command?
13772 max_cmd_len=$max_cmd_len
13774 # Object file suffix (normally "o").
13777 # Executable file suffix (normally "").
13780 # whether the shell understands "unset".
13783 # turn spaces into newlines.
13786 # turn newlines into spaces.
13789 # An object symbol dumper.
13790 OBJDUMP=$lt_OBJDUMP
13792 # Method to check whether dependent libraries are shared objects.
13793 deplibs_check_method=$lt_deplibs_check_method
13795 # Command to use when deplibs_check_method == "file_magic".
13796 file_magic_cmd=$lt_file_magic_cmd
13800 AR_FLAGS=$lt_AR_FLAGS
13802 # A symbol stripping program.
13805 # Commands used to install an old-style archive.
13807 old_postinstall_cmds=$lt_old_postinstall_cmds
13808 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13810 # Whether to use a lock for old archive extraction.
13811 lock_old_archive_extraction=$lock_old_archive_extraction
13816 # LTCC compiler flags.
13817 LTCFLAGS=$lt_CFLAGS
13819 # Take the output of nm and produce a listing of raw symbols and C names.
13820 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13822 # Transform the output of nm in a proper C declaration.
13823 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13825 # Transform the output of nm in a C name address pair.
13826 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13828 # Transform the output of nm in a C name address pair when lib prefix is needed.
13829 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13831 # The name of the directory that contains temporary libtool files.
13834 # Used to examine libraries when file_magic_cmd begins with "file".
13835 MAGIC_CMD=$MAGIC_CMD
13837 # Must we lock files when doing compilation?
13838 need_locks=$lt_need_locks
13840 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13841 DSYMUTIL=$lt_DSYMUTIL
13843 # Tool to change global to local symbols on Mac OS X.
13846 # Tool to manipulate fat objects and archives on Mac OS X.
13849 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13852 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13853 OTOOL64=$lt_OTOOL64
13855 # Old archive suffix (normally "a").
13858 # Shared library suffix (normally ".so").
13859 shrext_cmds=$lt_shrext_cmds
13861 # The commands to extract the exported symbol list from a shared archive.
13862 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13864 # Variables whose values should be saved in libtool wrapper scripts and
13865 # restored at link time.
13866 variables_saved_for_relink=$lt_variables_saved_for_relink
13868 # Do we need the "lib" prefix for modules?
13869 need_lib_prefix=$need_lib_prefix
13871 # Do we need a version for libraries?
13872 need_version=$need_version
13874 # Library versioning type.
13875 version_type=$version_type
13877 # Shared library runtime path variable.
13878 runpath_var=$runpath_var
13880 # Shared library path variable.
13881 shlibpath_var=$shlibpath_var
13883 # Is shlibpath searched before the hard-coded library search path?
13884 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13886 # Format of library name prefix.
13887 libname_spec=$lt_libname_spec
13889 # List of archive names. First name is the real one, the rest are links.
13890 # The last name is the one that the linker finds with -lNAME
13891 library_names_spec=$lt_library_names_spec
13893 # The coded name of the library, if different from the real name.
13894 soname_spec=$lt_soname_spec
13896 # Permission mode override for installation of shared libraries.
13897 install_override_mode=$lt_install_override_mode
13899 # Command to use after installation of a shared archive.
13900 postinstall_cmds=$lt_postinstall_cmds
13902 # Command to use after uninstallation of a shared archive.
13903 postuninstall_cmds=$lt_postuninstall_cmds
13905 # Commands used to finish a libtool library installation in a directory.
13906 finish_cmds=$lt_finish_cmds
13908 # As "finish_cmds", except a single script fragment to be evaled but
13910 finish_eval=$lt_finish_eval
13912 # Whether we should hardcode library paths into libraries.
13913 hardcode_into_libs=$hardcode_into_libs
13915 # Compile-time system search path for libraries.
13916 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13918 # Run-time system search path for libraries.
13919 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13921 # Whether dlopen is supported.
13922 dlopen_support=$enable_dlopen
13924 # Whether dlopen of programs is supported.
13925 dlopen_self=$enable_dlopen_self
13927 # Whether dlopen of statically linked programs is supported.
13928 dlopen_self_static=$enable_dlopen_self_static
13930 # Commands to strip libraries.
13931 old_striplib=$lt_old_striplib
13932 striplib=$lt_striplib
13935 # The linker used to build libraries.
13938 # How to create reloadable object files.
13939 reload_flag=$lt_reload_flag
13940 reload_cmds=$lt_reload_cmds
13942 # Commands used to build an old-style archive.
13943 old_archive_cmds=$lt_old_archive_cmds
13945 # A language specific compiler.
13948 # Is the compiler the GNU compiler?
13951 # Compiler flag to turn off builtin functions.
13952 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13954 # How to pass a linker flag through the compiler.
13955 wl=$lt_lt_prog_compiler_wl
13957 # Additional compiler flags for building library objects.
13958 pic_flag=$lt_lt_prog_compiler_pic
13960 # Compiler flag to prevent dynamic linking.
13961 link_static_flag=$lt_lt_prog_compiler_static
13963 # Does compiler simultaneously support -c and -o options?
13964 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13966 # Whether or not to add -lc for building shared libraries.
13967 build_libtool_need_lc=$archive_cmds_need_lc
13969 # Whether or not to disallow shared libs when runtime libs are static.
13970 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13972 # Compiler flag to allow reflexive dlopens.
13973 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13975 # Compiler flag to generate shared objects directly from archives.
13976 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13978 # Whether the compiler copes with passing no objects directly.
13979 compiler_needs_object=$lt_compiler_needs_object
13981 # Create an old-style archive from a shared archive.
13982 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13984 # Create a temporary old-style archive to link instead of a shared archive.
13985 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13987 # Commands used to build a shared archive.
13988 archive_cmds=$lt_archive_cmds
13989 archive_expsym_cmds=$lt_archive_expsym_cmds
13991 # Commands used to build a loadable module if different from building
13992 # a shared archive.
13993 module_cmds=$lt_module_cmds
13994 module_expsym_cmds=$lt_module_expsym_cmds
13996 # Whether we are building with GNU ld or not.
13997 with_gnu_ld=$lt_with_gnu_ld
13999 # Flag that allows shared libraries with undefined symbols to be built.
14000 allow_undefined_flag=$lt_allow_undefined_flag
14002 # Flag that enforces no undefined symbols.
14003 no_undefined_flag=$lt_no_undefined_flag
14005 # Flag to hardcode \$libdir into a binary during linking.
14006 # This must work even if \$libdir does not exist
14007 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14009 # If ld is used when linking, flag to hardcode \$libdir into a binary
14010 # during linking. This must work even if \$libdir does not exist.
14011 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14013 # Whether we need a single "-rpath" flag with a separated argument.
14014 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14016 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14017 # DIR into the resulting binary.
14018 hardcode_direct=$hardcode_direct
14020 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14021 # DIR into the resulting binary and the resulting library dependency is
14022 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14023 # library is relocated.
14024 hardcode_direct_absolute=$hardcode_direct_absolute
14026 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14027 # into the resulting binary.
14028 hardcode_minus_L=$hardcode_minus_L
14030 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14031 # into the resulting binary.
14032 hardcode_shlibpath_var=$hardcode_shlibpath_var
14034 # Set to "yes" if building a shared library automatically hardcodes DIR
14035 # into the library and all subsequent libraries and executables linked
14037 hardcode_automatic=$hardcode_automatic
14039 # Set to yes if linker adds runtime paths of dependent libraries
14040 # to runtime path list.
14041 inherit_rpath=$inherit_rpath
14043 # Whether libtool must link a program against all its dependency libraries.
14044 link_all_deplibs=$link_all_deplibs
14046 # Fix the shell variable \$srcfile for the compiler.
14047 fix_srcfile_path=$lt_fix_srcfile_path
14049 # Set to "yes" if exported symbols are required.
14050 always_export_symbols=$always_export_symbols
14052 # The commands to list exported symbols.
14053 export_symbols_cmds=$lt_export_symbols_cmds
14055 # Symbols that should not be listed in the preloaded symbols.
14056 exclude_expsyms=$lt_exclude_expsyms
14058 # Symbols that must always be exported.
14059 include_expsyms=$lt_include_expsyms
14061 # Commands necessary for linking programs (against libraries) with templates.
14062 prelink_cmds=$lt_prelink_cmds
14064 # Specify filename containing input files.
14065 file_list_spec=$lt_file_list_spec
14067 # How to hardcode a shared library path into an executable.
14068 hardcode_action=$hardcode_action
14070 # ### END LIBTOOL CONFIG
14076 cat <<\_LT_EOF
>> "$cfgfile"
14077 # AIX sometimes has problems with the GCC collect2 program. For some
14078 # reason, if we set the COLLECT_NAMES environment variable, the problems
14079 # vanish in a puff of smoke.
14080 if test "X${COLLECT_NAMES+set}" != Xset
; then
14082 export COLLECT_NAMES
14089 ltmain
="$ac_aux_dir/ltmain.sh"
14092 # We use sed instead of cat because bash on DJGPP gets confused if
14093 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14094 # text mode, it properly converts lines to CR/LF. This bash problem
14095 # is reportedly fixed, but why not run on old versions too?
14096 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14097 ||
(rm -f "$cfgfile"; exit 1)
14101 cat << \_LT_EOF
>> "$cfgfile"
14103 # func_dirname file append nondir_replacement
14104 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14105 # otherwise set result to NONDIR_REPLACEMENT.
14109 */*) func_dirname_result
="${1%/*}${2}" ;;
14110 * ) func_dirname_result
="${3}" ;;
14114 # func_basename file
14117 func_basename_result
="${1##*/}"
14120 # func_dirname_and_basename file append nondir_replacement
14121 # perform func_basename and func_dirname in a single function
14123 # dirname: Compute the dirname of FILE. If nonempty,
14124 # add APPEND to the result, otherwise set result
14125 # to NONDIR_REPLACEMENT.
14126 # value returned in "$func_dirname_result"
14127 # basename: Compute filename of FILE.
14128 # value retuned in "$func_basename_result"
14129 # Implementation must be kept synchronized with func_dirname
14130 # and func_basename. For efficiency, we do not delegate to
14131 # those functions but instead duplicate the functionality here.
14132 func_dirname_and_basename
()
14135 */*) func_dirname_result
="${1%/*}${2}" ;;
14136 * ) func_dirname_result
="${3}" ;;
14138 func_basename_result
="${1##*/}"
14141 # func_stripname prefix suffix name
14142 # strip PREFIX and SUFFIX off of NAME.
14143 # PREFIX and SUFFIX must not contain globbing or regex special
14144 # characters, hashes, percent signs, but SUFFIX may contain a leading
14145 # dot (in which case that matches only a dot).
14148 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14149 # positional parameters, so assign one to ordinary parameter first.
14150 func_stripname_result
=${3}
14151 func_stripname_result
=${func_stripname_result#"${1}"}
14152 func_stripname_result
=${func_stripname_result%"${2}"}
14158 func_opt_split_opt
=${1%%=*}
14159 func_opt_split_arg
=${1#*=}
14166 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14167 *) func_lo2o_result
=${1} ;;
14171 # func_xform libobj-or-source
14174 func_xform_result
=${1%.*}.lo
14177 # func_arith arithmetic-term...
14180 func_arith_result
=$
(( $
* ))
14184 # STRING may not start with a hyphen.
14187 func_len_result
=${#1}
14192 *) # Bourne compatible functions.
14193 cat << \_LT_EOF
>> "$cfgfile"
14195 # func_dirname file append nondir_replacement
14196 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14197 # otherwise set result to NONDIR_REPLACEMENT.
14200 # Extract subdirectory from the argument.
14201 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14202 if test "X$func_dirname_result" = "X${1}"; then
14203 func_dirname_result
="${3}"
14205 func_dirname_result
="$func_dirname_result${2}"
14209 # func_basename file
14212 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14216 # func_stripname prefix suffix name
14217 # strip PREFIX and SUFFIX off of NAME.
14218 # PREFIX and SUFFIX must not contain globbing or regex special
14219 # characters, hashes, percent signs, but SUFFIX may contain a leading
14220 # dot (in which case that matches only a dot).
14221 # func_strip_suffix prefix name
14225 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14226 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14231 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14232 my_sed_long_arg
='1s/^-[^=]*=//'
14237 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14238 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14244 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14247 # func_xform libobj-or-source
14250 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14253 # func_arith arithmetic-term...
14256 func_arith_result
=`expr "$@"`
14260 # STRING may not start with a hyphen.
14263 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14269 case $lt_shell_append in
14271 cat << \_LT_EOF
>> "$cfgfile"
14273 # func_append var value
14274 # Append VALUE to the end of shell variable VAR.
14282 cat << \_LT_EOF
>> "$cfgfile"
14284 # func_append var value
14285 # Append VALUE to the end of shell variable VAR.
14296 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14297 ||
(rm -f "$cfgfile"; exit 1)
14299 mv -f "$cfgfile" "$ofile" ||
14300 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14305 # Only add multilib support code if we just rebuilt the top-level
14307 case " $CONFIG_FILES " in
14309 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14319 ac_clean_files
=$ac_clean_files_save
14321 test $ac_write_fail = 0 ||
14322 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14325 # configure is writing to config.log, and then calls config.status.
14326 # config.status does its own redirection, appending to config.log.
14327 # Unfortunately, on DOS this fails, as config.log is still kept open
14328 # by configure, so config.status won't be able to write to it; its
14329 # output is simply discarded. So we exec the FD to /dev/null,
14330 # effectively closing config.log, so it can be properly (re)opened and
14331 # appended to by config.status. When coming back to configure, we
14332 # need to make the FD available again.
14333 if test "$no_create" != yes; then
14335 ac_config_status_args
=
14336 test "$silent" = yes &&
14337 ac_config_status_args
="$ac_config_status_args --quiet"
14339 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14341 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14342 # would make configure fail if this is the last instruction.
14343 $ac_cs_success || as_fn_exit $?
14345 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14347 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}