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
606 BUILD_LIBQUADMATH_FALSE
607 BUILD_LIBQUADMATH_TRUE
608 LIBQUAD_USE_SYMVER_SUN_FALSE
609 LIBQUAD_USE_SYMVER_SUN_TRUE
610 LIBQUAD_USE_SYMVER_GNU_FALSE
611 LIBQUAD_USE_SYMVER_GNU_TRUE
612 LIBQUAD_USE_SYMVER_FALSE
613 LIBQUAD_USE_SYMVER_TRUE
618 MAINTAINER_MODE_FALSE
670 INSTALL_STRIP_PROGRAM
725 program_transform_name
738 enable_option_checking
739 enable_version_specific_runtime_libs
745 enable_dependency_tracking
748 enable_maintainer_mode
750 enable_generated_files_in_srcdir
752 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir |
--docdir |
--docdi |
--doc |
--do)
883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
891 -enable-* |
--enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1365 --build=BUILD configure
for building on BUILD
[guessed
]
1366 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1371 if test -n "$ac_init_help"; then
1372 case $ac_init_help in
1373 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1378 --disable-option-checking ignore unrecognized
--enable/--with options
1379 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1380 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1381 --enable-version-specific-runtime-libs
1382 specify that runtime libraries should be installed
1383 in a compiler-specific directory
1384 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1385 --enable-static[=PKGS
] build static libraries
[default
=yes]
1386 --enable-fast-install[=PKGS
]
1387 optimize
for fast installation
[default
=yes]
1388 --disable-dependency-tracking speeds up one-time build
1389 --enable-dependency-tracking do not reject slow dependency extractors
1390 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1391 --enable-maintainer-mode enable make rules and dependencies not useful
1392 (and sometimes confusing
) to the casual installer
1393 --enable-multilib build many library versions
(default
)
1394 --enable-generated-files-in-srcdir
1395 put copies of generated files
in source dir intended
1396 for creating
source tarballs
for users without
1397 texinfo bison or flex
1400 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1401 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1402 --with-bugurl=URL Direct users to URL to report a bug
1403 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1405 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1407 Some influential environment variables
:
1408 CC C compiler
command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1411 nonstandard directory
<lib dir
>
1412 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1413 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1414 you have headers
in a nonstandard directory
<include dir
>
1417 Use these variables to override the choices made by
`configure' or to help
1418 it to find libraries and programs with nonstandard names/locations.
1420 Report bugs to the package provider.
1425 if test "$ac_init_help" = "recursive"; then
1426 # If there are subdirs, report their specific --help.
1427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1437 # A ".." for each directory in $ac_dir_suffix.
1438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1439 case $ac_top_builddir_sub in
1440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1444 ac_abs_top_builddir=$ac_pwd
1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir=$ac_top_build_prefix
1450 .) # We are building in place.
1452 ac_top_srcdir=$ac_top_builddir_sub
1453 ac_abs_top_srcdir=$ac_pwd ;;
1454 [\\/]* | ?:[\\/]* ) # Absolute name.
1455 ac_srcdir=$srcdir$ac_dir_suffix;
1456 ac_top_srcdir=$srcdir
1457 ac_abs_top_srcdir=$srcdir ;;
1459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460 ac_top_srcdir=$ac_top_build_prefix$srcdir
1461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1465 cd "$ac_dir" || { ac_status=$?; continue; }
1466 # Check for guested configure.
1467 if test -f "$ac_srcdir/configure.gnu"; then
1469 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470 elif test -f "$ac_srcdir/configure"; then
1472 $SHELL "$ac_srcdir/configure" --help=recursive
1474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 cd "$ac_pwd" || { ac_status=$?; break; }
1480 test -n "$ac_init_help" && exit $ac_status
1481 if $ac_init_version; then
1483 GCC Quad-precision Math Library configure 0.1
1484 generated by GNU Autoconf 2.64
1486 Copyright (C) 2009 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile ()
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext
1504 if { { ac_try="$ac_compile"
1506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1507 *) ac_try_echo
=$ac_try;;
1509 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1513 if test -s conftest.err
; then
1514 grep -v '^ *+' conftest.err
>conftest.er1
1515 cat conftest.er1
>&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.
$ac_objext; then :
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.
$ac_ext >&5
1530 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1533 } # ac_fn_c_try_compile
1535 # ac_fn_c_try_link LINENO
1536 # -----------------------
1537 # Try to link conftest.$ac_ext, and return whether this succeeded.
1540 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1541 rm -f conftest.
$ac_objext conftest
$ac_exeext
1542 if { { ac_try
="$ac_link"
1544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1545 *) ac_try_echo=$ac_try;;
1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_link") 2>conftest.err
1551 if test -s conftest.err; then
1552 grep -v '^ *+' conftest.err >conftest.er1
1553 cat conftest.er1 >&5
1554 mv -f conftest.er1 conftest.err
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && {
1558 test -z "$ac_c_werror_flag" ||
1559 test ! -s conftest.err
1560 } && test -s conftest$ac_exeext && {
1561 test "$cross_compiling" = yes ||
1562 $as_test_x conftest$ac_exeext
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1571 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1572 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1573 # interfere with the next link command; also delete a directory that is
1574 # left behind by Apple's compiler. We do this before executing the actions.
1575 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1579 } # ac_fn_c_try_link
1581 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1582 # -------------------------------------------------------
1583 # Tests whether HEADER exists and can be compiled using the include files in
1584 # INCLUDES, setting the cache variable VAR accordingly.
1585 ac_fn_c_check_header_compile ()
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589 $as_echo_n "checking for $2... " >&6; }
1590 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1591 $as_echo_n "(cached) " >&6
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1598 if ac_fn_c_try_compile "$LINENO"; then :
1603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1607 $as_echo "$ac_res" >&6; }
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1610 } # ac_fn_c_check_header_compile
1612 # ac_fn_c_try_cpp LINENO
1613 # ----------------------
1614 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 if { { ac_try="$ac_cpp conftest.$ac_ext"
1620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1621 *) ac_try_echo
=$ac_try;;
1623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1627 if test -s conftest.err
; then
1628 grep -v '^ *+' conftest.err
>conftest.er1
1629 cat conftest.er1
>&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } >/dev
/null
&& {
1634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.
$ac_ext >&5
1644 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1649 # ac_fn_c_try_run LINENO
1650 # ----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1652 # that executables *can* be run.
1655 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1656 if { { ac_try
="$ac_link"
1658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_link") 2>&5
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1667 { { case "(($ac_try" in
1668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1669 *) ac_try_echo
=$ac_try;;
1671 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_try") 2>&5
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; }; }; then :
1679 $as_echo "$as_me: program exited with status $ac_status" >&5
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.
$ac_ext >&5
1683 ac_retval
=$ac_status
1685 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1691 # ac_fn_c_check_func LINENO FUNC VAR
1692 # ----------------------------------
1693 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1694 ac_fn_c_check_func
()
1696 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1700 $as_echo_n "(cached) " >&6
1702 if test x
$gcc_no_link = xyes
; then
1703 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1707 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1709 #define $2 innocuous_$2
1711 /* System header to define __stub macros and hopefully few prototypes,
1712 which can conflict with char $2 (); below.
1713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1714 <limits.h> exists even on freestanding compilers. */
1717 # include <limits.h>
1719 # include <assert.h>
1724 /* Override any GCC internal prototype to avoid an error.
1725 Use char because int might match the return type of a GCC
1726 builtin and then its argument prototype would still apply. */
1731 /* The GNU C library defines this for functions which it implements
1732 to always fail with ENOSYS. Some functions are actually named
1733 something starting with __ and the normal name is an alias. */
1734 #if defined __stub_$2 || defined __stub___$2
1746 if ac_fn_c_try_link
"$LINENO"; then :
1751 rm -f core conftest.err conftest.
$ac_objext \
1752 conftest
$ac_exeext conftest.
$ac_ext
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1759 } # ac_fn_c_check_func
1761 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1764 # the include files in INCLUDES and setting the cache variable VAR
1766 ac_fn_c_check_header_mongrel
()
1768 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1769 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1773 $as_echo_n "(cached) " >&6
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1779 # Is the header compilable?
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1781 $as_echo_n "checking $2 usability... " >&6; }
1782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1787 if ac_fn_c_try_compile
"$LINENO"; then :
1788 ac_header_compiler
=yes
1790 ac_header_compiler
=no
1792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1794 $as_echo "$ac_header_compiler" >&6; }
1796 # Is the header present?
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1798 $as_echo_n "checking $2 presence... " >&6; }
1799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1803 if ac_fn_c_try_cpp
"$LINENO"; then :
1804 ac_header_preproc
=yes
1806 ac_header_preproc
=no
1808 rm -f conftest.err conftest.
$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1810 $as_echo "$ac_header_preproc" >&6; }
1812 # So? What about this header?
1813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1816 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1818 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1822 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1824 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1826 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1828 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836 $as_echo_n "(cached) " >&6
1838 eval "$3=\$ac_header_compiler"
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1846 } # ac_fn_c_check_header_mongrel
1847 cat >config.log
<<_ACEOF
1848 This file contains any messages produced by compilers while
1849 running configure, to aid debugging if configure makes a mistake.
1851 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1852 generated by GNU Autoconf 2.64. Invocation command line was
1864 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1865 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1866 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1867 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1868 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1870 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1871 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1873 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1874 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1875 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1876 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1877 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1878 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1879 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir
=.
1888 $as_echo "PATH: $as_dir"
1904 # Keep a trace of the command line.
1905 # Strip out --no-create and --no-recursion so they do not pile up.
1906 # Strip out --silent because we don't want to record it for future runs.
1907 # Also quote any args containing shell meta-characters.
1908 # Make two passes to allow for proper duplicate-argument suppression.
1912 ac_must_keep_next
=false
1918 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1919 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1920 |
-silent |
--silent |
--silen |
--sile |
--sil)
1923 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1926 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1928 as_fn_append ac_configure_args1
" '$ac_arg'"
1929 if test $ac_must_keep_next = true
; then
1930 ac_must_keep_next
=false
# Got value, back to normal.
1933 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1934 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1935 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1936 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1937 case "$ac_configure_args0 " in
1938 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1941 -* ) ac_must_keep_next
=true
;;
1944 as_fn_append ac_configure_args
" '$ac_arg'"
1949 { ac_configure_args0
=; unset ac_configure_args0
;}
1950 { ac_configure_args1
=; unset ac_configure_args1
;}
1952 # When interrupted or exit'd, cleanup temporary files, and complete
1953 # config.log. We remove comments because anyway the quotes in there
1954 # would cause problems or look ugly.
1955 # WARNING: Use '\'' to represent an apostrophe within the trap.
1956 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1957 trap 'exit_status=$?
1958 # Save into config.log some information that might help in debugging.
1963 ## ---------------- ##
1964 ## Cache variables. ##
1965 ## ---------------- ##
1968 # The following way of writing the cache mishandles newlines in values,
1970 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1971 eval ac_val=\$$ac_var
1975 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1979 _ | IFS | as_nl) ;; #(
1980 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1981 *) { eval $ac_var=; unset $ac_var;} ;;
1986 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1987 *${as_nl}ac_space=\ *)
1989 "s/'\''/'\''\\\\'\'''\''/g;
1990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2001 ## ----------------- ##
2002 ## Output variables. ##
2003 ## ----------------- ##
2006 for ac_var in $ac_subst_vars
2008 eval ac_val=\$$ac_var
2010 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2012 $as_echo "$ac_var='\''$ac_val'\''"
2016 if test -n "$ac_subst_files"; then
2018 ## ------------------- ##
2019 ## File substitutions. ##
2020 ## ------------------- ##
2023 for ac_var
in $ac_subst_files
2025 eval ac_val
=\$
$ac_var
2027 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2029 $as_echo "$ac_var='\''$ac_val'\''"
2034 if test -s confdefs.h; then
2044 test "$ac_signal" != 0 &&
2045 $as_echo "$as_me: caught signal $ac_signal"
2046 $as_echo "$as_me: exit $exit_status"
2048 rm -f core *.core core.conftest.* &&
2049 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2052 for ac_signal
in 1 2 13 15; do
2053 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2058 rm -f -r conftest
* confdefs.h
2060 $as_echo "/* confdefs.h */" > confdefs.h
2062 # Predefined preprocessor variables.
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_NAME "$PACKAGE_NAME"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2072 cat >>confdefs.h
<<_ACEOF
2073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_STRING "$PACKAGE_STRING"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_URL "$PACKAGE_URL"
2089 # Let the site file select an alternate cache file if it wants to.
2090 # Prefer an explicitly selected file to automatically selected ones.
2093 if test -n "$CONFIG_SITE"; then
2094 ac_site_file1
=$CONFIG_SITE
2095 elif test "x$prefix" != xNONE
; then
2096 ac_site_file1
=$prefix/share
/config.site
2097 ac_site_file2
=$prefix/etc
/config.site
2099 ac_site_file1
=$ac_default_prefix/share
/config.site
2100 ac_site_file2
=$ac_default_prefix/etc
/config.site
2102 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2104 test "x$ac_site_file" = xNONE
&& continue
2105 if test -r "$ac_site_file"; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2107 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2108 sed 's/^/| /' "$ac_site_file" >&5
2113 if test -r "$cache_file"; then
2114 # Some versions of bash will fail to source /dev/null (special
2115 # files actually), so we avoid doing that.
2116 if test -f "$cache_file"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2118 $as_echo "$as_me: loading cache $cache_file" >&6;}
2120 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2121 *) .
"./$cache_file";;
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2126 $as_echo "$as_me: creating cache $cache_file" >&6;}
2130 # Check that the precious variables saved in the cache have kept the same
2132 ac_cache_corrupted
=false
2133 for ac_var
in $ac_precious_vars; do
2134 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2135 eval ac_new_set
=\
$ac_env_${ac_var}_set
2136 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2137 eval ac_new_val
=\
$ac_env_${ac_var}_value
2138 case $ac_old_set,$ac_new_set in
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2141 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2142 ac_cache_corrupted
=: ;;
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2145 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2146 ac_cache_corrupted
=: ;;
2149 if test "x$ac_old_val" != "x$ac_new_val"; then
2150 # differences in whitespace do not lead to failure.
2151 ac_old_val_w
=`echo x $ac_old_val`
2152 ac_new_val_w
=`echo x $ac_new_val`
2153 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2155 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2156 ac_cache_corrupted
=:
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2159 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2160 eval $ac_var=\
$ac_old_val
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2163 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2165 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2168 # Pass precious variables to config.status.
2169 if test "$ac_new_set" = set; then
2171 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2172 *) ac_arg
=$ac_var=$ac_new_val ;;
2174 case " $ac_configure_args " in
2175 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2176 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2180 if $ac_cache_corrupted; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2185 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2187 ## -------------------- ##
2188 ## Main body of script. ##
2189 ## -------------------- ##
2192 ac_cpp
='$CPP $CPPFLAGS'
2193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2201 ac_config_headers
="$ac_config_headers config.h"
2204 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2206 # You will slowly go insane if you do not grok the following fact: when
2207 # building this library, the top-level /target/ becomes the library's /host/.
2209 # configure then causes --target to default to --host, exactly like any
2210 # other package using autoconf. Therefore, 'target' and 'host' will
2211 # always be the same. This makes sense both for native and cross compilers
2212 # just think about it for a little while. :-)
2214 # Also, if this library is being configured as part of a cross compiler, the
2215 # top-level configure script will pass the "real" host as $with_cross_host.
2217 # Do not delete or change the following two lines. For why, see
2218 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2220 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2221 for ac_t
in install-sh
install.sh shtool
; do
2222 if test -f "$ac_dir/$ac_t"; then
2224 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2229 if test -z "$ac_aux_dir"; then
2230 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2233 # These three variables are undocumented and unsupported,
2234 # and are intended to be withdrawn in a future Autoconf release.
2235 # They can cause serious problems if a builder's source tree is in a directory
2236 # whose full name contains unusual characters.
2237 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2238 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2239 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2242 # Make sure we can run config.sub.
2243 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2244 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2247 $as_echo_n "checking build system type... " >&6; }
2248 if test "${ac_cv_build+set}" = set; then :
2249 $as_echo_n "(cached) " >&6
2251 ac_build_alias
=$build_alias
2252 test "x$ac_build_alias" = x
&&
2253 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2254 test "x$ac_build_alias" = x
&&
2255 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2256 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2257 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2261 $as_echo "$ac_cv_build" >&6; }
2262 case $ac_cv_build in
2264 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2267 ac_save_IFS
=$IFS; IFS
='-'
2273 # Remember, the first character of IFS is used to create $*,
2274 # except with old shells:
2277 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2281 $as_echo_n "checking host system type... " >&6; }
2282 if test "${ac_cv_host+set}" = set; then :
2283 $as_echo_n "(cached) " >&6
2285 if test "x$host_alias" = x
; then
2286 ac_cv_host
=$ac_cv_build
2288 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2289 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2294 $as_echo "$ac_cv_host" >&6; }
2297 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2300 ac_save_IFS
=$IFS; IFS
='-'
2306 # Remember, the first character of IFS is used to create $*,
2307 # except with old shells:
2310 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2314 $as_echo_n "checking target system type... " >&6; }
2315 if test "${ac_cv_target+set}" = set; then :
2316 $as_echo_n "(cached) " >&6
2318 if test "x$target_alias" = x
; then
2319 ac_cv_target
=$ac_cv_host
2321 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2322 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2327 $as_echo "$ac_cv_target" >&6; }
2328 case $ac_cv_target in
2330 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2332 target
=$ac_cv_target
2333 ac_save_IFS
=$IFS; IFS
='-'
2339 # Remember, the first character of IFS is used to create $*,
2340 # except with old shells:
2343 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2346 # The aliases save the names the user supplied, while $host etc.
2347 # will get canonicalized.
2348 test -n "$target_alias" &&
2349 test "$program_prefix$program_suffix$program_transform_name" = \
2351 program_prefix
=${target_alias}-
2353 case ${build_alias} in
2354 "") build_noncanonical
=${build} ;;
2355 *) build_noncanonical
=${build_alias} ;;
2358 case ${host_alias} in
2359 "") host_noncanonical
=${build_noncanonical} ;;
2360 *) host_noncanonical
=${host_alias} ;;
2363 case ${target_alias} in
2364 "") target_noncanonical
=${host_noncanonical} ;;
2365 *) target_noncanonical
=${target_alias} ;;
2371 target_alias
=${target_alias-$host_alias}
2374 am__api_version
='1.11'
2376 # Find a good install program. We prefer a C program (faster),
2377 # so one script is as good as another. But avoid the broken or
2378 # incompatible versions:
2379 # SysV /etc/install, /usr/sbin/install
2380 # SunOS /usr/etc/install
2381 # IRIX /sbin/install
2383 # AmigaOS /C/install, which installs bootblocks on floppy discs
2384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2387 # OS/2's system install, which has a completely different semantic
2388 # ./install, which can be erroneously created by make from ./install.sh.
2389 # Reject install programs that cannot install multiple files.
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2391 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2392 if test -z "$INSTALL"; then
2393 if test "${ac_cv_path_install+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir
=.
2401 # Account for people who put trailing slashes in PATH elements.
2402 case $as_dir/ in #((
2403 .
/ | .
// |
/[cC
]/* | \
2404 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2405 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2408 # OSF1 and SCO ODT 3.0 have their own names for install.
2409 # Don't use installbsd from OSF since it installs stuff as root
2411 for ac_prog
in ginstall scoinst
install; do
2412 for ac_exec_ext
in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2414 if test $ac_prog = install &&
2415 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2416 # AIX install. It has an incompatible calling convention.
2418 elif test $ac_prog = install &&
2419 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2420 # program-specific install script used by HP pwplus--don't use.
2423 rm -rf conftest.one conftest.two conftest.dir
2424 echo one
> conftest.one
2425 echo two
> conftest.two
2427 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2428 test -s conftest.one
&& test -s conftest.two
&&
2429 test -s conftest.dir
/conftest.one
&&
2430 test -s conftest.dir
/conftest.two
2432 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2445 rm -rf conftest.one conftest.two conftest.dir
2448 if test "${ac_cv_path_install+set}" = set; then
2449 INSTALL
=$ac_cv_path_install
2451 # As a last resort, use the slow shell script. Don't cache a
2452 # value for INSTALL within a source directory, because that will
2453 # break other packages using the cache if that directory is
2454 # removed, or if the value is a relative name.
2455 INSTALL
=$ac_install_sh
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2459 $as_echo "$INSTALL" >&6; }
2461 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2462 # It thinks the first close brace ends the variable substitution.
2463 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2465 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2467 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2470 $as_echo_n "checking whether build environment is sane... " >&6; }
2473 echo timestamp
> conftest.
file
2474 # Reject unsafe characters in $srcdir or the absolute working directory
2475 # name. Accept space and tab only in the latter.
2479 *[\\\"\
#\$\&\'\`$am_lf]*)
2480 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2483 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2484 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2487 # Do `set' in a subshell so we don't clobber the current shell's
2488 # arguments. Must try -L first in case configure is actually a
2489 # symlink; some systems play weird games with the mod time of symlinks
2490 # (eg FreeBSD returns the mod time of the symlink's containing
2493 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2494 if test "$*" = "X"; then
2496 set X
`ls -t "$srcdir/configure" conftest.file`
2499 if test "$*" != "X $srcdir/configure conftest.file" \
2500 && test "$*" != "X conftest.file $srcdir/configure"; then
2502 # If neither matched, then we have a broken ls. This can happen
2503 # if, for instance, CONFIG_SHELL is bash and it inherits a
2504 # broken ls alias from the environment. This has actually
2505 # happened. Such a system could not be considered "sane".
2506 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2507 alias in your environment" "$LINENO" 5
2510 test "$2" = conftest.
file
2516 as_fn_error
"newly created file is older than distributed files!
2517 Check your system clock" "$LINENO" 5
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520 $as_echo "yes" >&6; }
2521 test "$program_prefix" != NONE
&&
2522 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2523 # Use a double $ so make ignores it.
2524 test "$program_suffix" != NONE
&&
2525 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2526 # Double any \ or $.
2527 # By default was `s,x,x', remove it if useless.
2528 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2529 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2531 # expand $ac_aux_dir to an absolute path
2532 am_aux_dir
=`cd $ac_aux_dir && pwd`
2534 if test x
"${MISSING+set}" != xset
; then
2537 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2539 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2542 # Use eval to expand $SHELL
2543 if eval "$MISSING --run true"; then
2544 am_missing_run
="$MISSING --run "
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2548 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2551 if test x
"${install_sh}" != xset
; then
2554 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2556 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2560 # Installed binaries are usually stripped using `strip' when the user
2561 # run `make install-strip'. However `strip' might not be the right
2562 # tool to use in cross-compilation environments, therefore Automake
2563 # will honor the `STRIP' environment variable to overrule this program.
2564 if test "$cross_compiling" != no
; then
2565 if test -n "$ac_tool_prefix"; then
2566 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2567 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_STRIP+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$STRIP"; then
2574 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 STRIP
=$ac_cv_prog_STRIP
2594 if test -n "$STRIP"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2596 $as_echo "$STRIP" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2604 if test -z "$ac_cv_prog_STRIP"; then
2606 # Extract the first word of "strip", so it can be a program name with args.
2607 set dummy strip
; ac_word
=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2611 $as_echo_n "(cached) " >&6
2613 if test -n "$ac_ct_STRIP"; then
2614 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 ac_cv_prog_ac_ct_STRIP
="strip"
2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2634 if test -n "$ac_ct_STRIP"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2636 $as_echo "$ac_ct_STRIP" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2642 if test "x$ac_ct_STRIP" = x
; then
2645 case $cross_compiling:$ac_tool_warned in
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2649 ac_tool_warned
=yes ;;
2654 STRIP
="$ac_cv_prog_STRIP"
2658 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2661 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2662 if test -z "$MKDIR_P"; then
2663 if test "${ac_cv_path_mkdir+set}" = set; then :
2664 $as_echo_n "(cached) " >&6
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_prog
in mkdir gmkdir
; do
2672 for ac_exec_ext
in '' $ac_executable_extensions; do
2673 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2674 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2675 'mkdir (GNU coreutils) '* | \
2676 'mkdir (coreutils) '* | \
2677 'mkdir (fileutils) '4.1*)
2678 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2688 if test "${ac_cv_path_mkdir+set}" = set; then
2689 MKDIR_P
="$ac_cv_path_mkdir -p"
2691 # As a last resort, use the slow shell script. Don't cache a
2692 # value for MKDIR_P within a source directory, because that will
2693 # break other packages using the cache if that directory is
2694 # removed, or if the value is a relative name.
2695 test -d .
/--version && rmdir .
/--version
2696 MKDIR_P
="$ac_install_sh -d"
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2700 $as_echo "$MKDIR_P" >&6; }
2704 [\\/$
]* | ?
:[\\/]*) ;;
2705 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2708 for ac_prog
in gawk mawk nawk
awk
2710 # Extract the first word of "$ac_prog", so it can be a program name with args.
2711 set dummy
$ac_prog; ac_word
=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if test "${ac_cv_prog_AWK+set}" = set; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$AWK"; then
2718 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_AWK
="$ac_prog"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 if test -n "$AWK"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2740 $as_echo "$AWK" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2747 test -n "$AWK" && break
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2753 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2754 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2755 $as_echo_n "(cached) " >&6
2757 cat >conftest.
make <<\_ACEOF
2760 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2765 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2767 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2771 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2773 $as_echo "yes" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2778 SET_MAKE
="MAKE=${MAKE-make}"
2781 rm -rf .tst
2>/dev
/null
2782 mkdir .tst
2>/dev
/null
2783 if test -d .tst
; then
2788 rmdir .tst
2>/dev
/null
2790 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2791 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2792 # is not polluted with repeated "-I."
2793 am__isrc
=' -I$(srcdir)'
2794 # test to see if srcdir already configured
2795 if test -f $srcdir/config.status
; then
2796 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2800 # test whether we have cygpath
2801 if test -z "$CYGPATH_W"; then
2802 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2803 CYGPATH_W
='cygpath -w'
2810 # Define the identity of the package.
2811 PACKAGE
='libquadmath'
2815 cat >>confdefs.h
<<_ACEOF
2816 #define PACKAGE "$PACKAGE"
2820 cat >>confdefs.h
<<_ACEOF
2821 #define VERSION "$VERSION"
2824 # Some tools Automake needs.
2826 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2829 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2832 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2835 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2838 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2840 # We need awk for the "check" target. The system "awk" is bad on
2842 # Always define AMTAR for backward compatibility.
2844 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2846 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2854 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2855 # Check whether --enable-version-specific-runtime-libs was given.
2856 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2857 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2858 yes) version_specific_libs
=yes ;;
2859 no
) version_specific_libs
=no
;;
2860 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2863 version_specific_libs
=no
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2867 $as_echo "$version_specific_libs" >&6; }
2871 # See if makeinfo has been installed and is modern enough
2872 # that we can use it.
2874 # Extract the first word of "makeinfo", so it can be a program name with args.
2875 set dummy makeinfo
; ac_word
=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
2879 $as_echo_n "(cached) " >&6
2881 if test -n "$MAKEINFO"; then
2882 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_prog_MAKEINFO
="makeinfo"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 MAKEINFO
=$ac_cv_prog_MAKEINFO
2902 if test -n "$MAKEINFO"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
2904 $as_echo "$MAKEINFO" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2911 if test -n "$MAKEINFO"; then
2912 # Found it, now check the version.
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
2914 $as_echo_n "checking for modern makeinfo... " >&6; }
2915 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
2916 $as_echo_n "(cached) " >&6
2918 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
2919 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
2921 case $ac_prog_version in
2922 '') gcc_cv_prog_makeinfo_modern
=no
;;
2923 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
2924 *) gcc_cv_prog_makeinfo_modern
=no
;;
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
2929 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
2931 gcc_cv_prog_makeinfo_modern
=no
2933 if test $gcc_cv_prog_makeinfo_modern = no
; then
2934 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
2937 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
2939 BUILD_INFO_FALSE
='#'
2948 # Check whether --with-bugurl was given.
2949 if test "${with_bugurl+set}" = set; then :
2950 withval
=$with_bugurl; case "$withval" in
2951 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
2954 *) BUGURL
="$withval"
2958 BUGURL
="http://gcc.gnu.org/bugs.html"
2968 REPORT_BUGS_TO
="<$BUGURL>"
2969 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2980 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2985 macro_version
='2.2.7a'
2986 macro_revision
='1.3134'
3000 ltmain
="$ac_aux_dir/ltmain.sh"
3002 # Backslashify metacharacters that are still active within
3003 # double-quoted strings.
3004 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3006 # Same as above, but do not quote variable references.
3007 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3009 # Sed substitution to delay expansion of an escaped shell variable in a
3010 # double_quote_subst'ed string.
3011 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3013 # Sed substitution to delay expansion of an escaped single quote.
3014 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3016 # Sed substitution to avoid accidental globbing in evaled expressions
3017 no_glob_subst
='s/\*/\\\*/g'
3019 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3020 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3021 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3024 $as_echo_n "checking how to print strings... " >&6; }
3025 # Test print first, because it will be a builtin if present.
3026 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
3027 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3029 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3032 # Use this function as a fallback that always works.
3033 func_fallback_echo ()
3035 eval 'cat <<_LTECHO_EOF
3039 ECHO='func_fallback_echo
'
3042 # func_echo_all arg...
3043 # Invoke $ECHO with all args, space-separated.
3050 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3051 $as_echo "printf" >&6; } ;;
3052 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3053 $as_echo "print -r" >&6; } ;;
3054 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3055 $as_echo "cat" >&6; } ;;
3071 DEPDIR="${am__leading_dot}deps"
3073 ac_config_commands="$ac_config_commands depfiles"
3076 am_make=${MAKE-make}
3077 cat > confinc << 'END
'
3079 @echo this is the am__doit target
3082 # If we don't
find an include directive
, just comment out the code.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3084 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3088 # First try GNU make style include.
3089 echo "include confinc" > confmf
3090 # Ignore all kinds of additional output from `make'.
3091 case `$am_make -s -f confmf 2> /dev/null` in #(
3092 *the\ am__doit\ target
*)
3098 # Now try BSD make style include.
3099 if test "$am__include" = "#"; then
3100 echo '.include "confinc"' > confmf
3101 case `$am_make -s -f confmf 2> /dev/null` in #(
3102 *the\ am__doit\ target
*)
3103 am__include
=.include
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3112 $as_echo "$_am_result" >&6; }
3113 rm -f confinc confmf
3115 # Check whether --enable-dependency-tracking was given.
3116 if test "${enable_dependency_tracking+set}" = set; then :
3117 enableval
=$enable_dependency_tracking;
3120 if test "x$enable_dependency_tracking" != xno
; then
3121 am_depcomp
="$ac_aux_dir/depcomp"
3124 if test "x$enable_dependency_tracking" != xno; then
3134 ac_cpp
='$CPP $CPPFLAGS'
3135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3138 if test -n "$ac_tool_prefix"; then
3139 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3140 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142 $as_echo_n "checking for $ac_word... " >&6; }
3143 if test "${ac_cv_prog_CC+set}" = set; then :
3144 $as_echo_n "(cached) " >&6
3146 if test -n "$CC"; then
3147 ac_cv_prog_CC
="$CC" # Let the user override the test.
3149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir
=.
3154 for ac_exec_ext
in '' $ac_executable_extensions; do
3155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 if test -n "$CC"; then
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3169 $as_echo "$CC" >&6; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3177 if test -z "$ac_cv_prog_CC"; then
3179 # Extract the first word of "gcc", so it can be a program name with args.
3180 set dummy gcc
; ac_word
=$2
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3182 $as_echo_n "checking for $ac_word... " >&6; }
3183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3184 $as_echo_n "(cached) " >&6
3186 if test -n "$ac_ct_CC"; then
3187 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 test -z "$as_dir" && as_dir
=.
3194 for ac_exec_ext
in '' $ac_executable_extensions; do
3195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3196 ac_cv_prog_ac_ct_CC
="gcc"
3197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3207 if test -n "$ac_ct_CC"; then
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3209 $as_echo "$ac_ct_CC" >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3215 if test "x$ac_ct_CC" = x
; then
3218 case $cross_compiling:$ac_tool_warned in
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3222 ac_tool_warned
=yes ;;
3230 if test -z "$CC"; then
3231 if test -n "$ac_tool_prefix"; then
3232 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3233 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if test "${ac_cv_prog_CC+set}" = set; then :
3237 $as_echo_n "(cached) " >&6
3239 if test -n "$CC"; then
3240 ac_cv_prog_CC
="$CC" # Let the user override the test.
3242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3246 test -z "$as_dir" && as_dir
=.
3247 for ac_exec_ext
in '' $ac_executable_extensions; do
3248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3260 if test -n "$CC"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3262 $as_echo "$CC" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3271 if test -z "$CC"; then
3272 # Extract the first word of "cc", so it can be a program name with args.
3273 set dummy cc
; ac_word
=$2
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3275 $as_echo_n "checking for $ac_word... " >&6; }
3276 if test "${ac_cv_prog_CC+set}" = set; then :
3277 $as_echo_n "(cached) " >&6
3279 if test -n "$CC"; then
3280 ac_cv_prog_CC
="$CC" # Let the user override the test.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3291 ac_prog_rejected
=yes
3295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 if test $ac_prog_rejected = yes; then
3303 # We found a bogon in the path, so make sure we never use it.
3304 set dummy
$ac_cv_prog_CC
3306 if test $# != 0; then
3307 # We chose a different compiler from the bogus one.
3308 # However, it has the same basename, so the bogon will be chosen
3309 # first if we set CC to just the basename; use the full file name.
3311 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3317 if test -n "$CC"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3319 $as_echo "$CC" >&6; }
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3327 if test -z "$CC"; then
3328 if test -n "$ac_tool_prefix"; then
3329 for ac_prog
in cl.exe
3331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3332 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3334 $as_echo_n "checking for $ac_word... " >&6; }
3335 if test "${ac_cv_prog_CC+set}" = set; then :
3336 $as_echo_n "(cached) " >&6
3338 if test -n "$CC"; then
3339 ac_cv_prog_CC
="$CC" # Let the user override the test.
3341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3345 test -z "$as_dir" && as_dir
=.
3346 for ac_exec_ext
in '' $ac_executable_extensions; do
3347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3348 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3359 if test -n "$CC"; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3361 $as_echo "$CC" >&6; }
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3364 $as_echo "no" >&6; }
3368 test -n "$CC" && break
3371 if test -z "$CC"; then
3373 for ac_prog
in cl.exe
3375 # Extract the first word of "$ac_prog", so it can be a program name with args.
3376 set dummy
$ac_prog; ac_word
=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3380 $as_echo_n "(cached) " >&6
3382 if test -n "$ac_ct_CC"; then
3383 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir
=.
3390 for ac_exec_ext
in '' $ac_executable_extensions; do
3391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3392 ac_cv_prog_ac_ct_CC
="$ac_prog"
3393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3403 if test -n "$ac_ct_CC"; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3405 $as_echo "$ac_ct_CC" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408 $as_echo "no" >&6; }
3412 test -n "$ac_ct_CC" && break
3415 if test "x$ac_ct_CC" = x
; then
3418 case $cross_compiling:$ac_tool_warned in
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3422 ac_tool_warned
=yes ;;
3431 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error
"no acceptable C compiler found in \$PATH
3434 See \`config.log' for more details." "$LINENO" 5; }
3436 # Provide some information about the compiler.
3437 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3440 for ac_option
in --version -v -V -qversion; do
3441 { { ac_try
="$ac_compiler $ac_option >&5"
3443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3450 if test -s conftest.err; then
3452 ... rest of stderr output deleted ...
3453 10q' conftest.err >conftest.er1
3454 cat conftest.er1 >&5
3455 rm -f conftest.er1 conftest.err
3457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458 test $ac_status = 0; }
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3473 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3474 (eval $ac_link) 2>&5
3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477 test $ac_status = 0; }; then :
3482 if test x$gcc_no_link = xyes; then
3483 # Setting cross_compile will disable run tests; it will
3484 # also disable AC_CHECK_FILE but that's generally
3485 # correct if we can't link.
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3500 ac_clean_files_save=$ac_clean_files
3501 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3502 # Try to create an executable without -o first, disregard a.out.
3503 # It will help us diagnose broken compilers, and finding out an intuition
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3506 $as_echo_n "checking for C compiler default output file name... " >&6; }
3507 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3509 # The possible output files:
3510 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3513 for ac_file in $ac_files
3516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3517 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3522 if { { ac_try="$ac_link_default"
3524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3525 *) ac_try_echo
=$ac_try;;
3527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3528 $as_echo "$ac_try_echo"; } >&5
3529 (eval "$ac_link_default") 2>&5
3531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3532 test $ac_status = 0; }; then :
3533 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3534 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3535 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3536 # so that the user can short-circuit this test for compilers unknown to
3538 for ac_file
in $ac_files ''
3540 test -f "$ac_file" ||
continue
3542 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3545 # We found the default executable, but exeext='' is most
3549 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3551 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3553 # We set ac_cv_exeext here because the later test for it is not
3554 # safe: cross compilers may not add the suffix if given an `-o'
3555 # argument, so we may need to know it at that point already.
3556 # Even if this section looks crufty: it has the advantage of
3563 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3569 $as_echo "$ac_file" >&6; }
3570 if test -z "$ac_file"; then :
3571 $as_echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.
$ac_ext >&5
3574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576 { as_fn_set_status
77
3577 as_fn_error
"C compiler cannot create executables
3578 See \`config.log' for more details." "$LINENO" 5; }; }
3580 ac_exeext
=$ac_cv_exeext
3582 # Check that the compiler produces executables we can run. If not, either
3583 # the compiler is broken, or we cross compile.
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3585 $as_echo_n "checking whether the C compiler works... " >&6; }
3586 # If not cross compiling, check that we can run a simple program.
3587 if test "$cross_compiling" != yes; then
3588 if { ac_try
='./$ac_file'
3589 { { case "(($ac_try" in
3590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595 (eval "$ac_try") 2>&5
3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598 test $ac_status = 0; }; }; then
3601 if test "$cross_compiling" = maybe; then
3604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3606 as_fn_error "cannot run C compiled programs.
3607 If you meant to cross compile
, use \
`--host'.
3608 See \`config.log
' for more details." "$LINENO" 5; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3613 $as_echo "yes" >&6; }
3615 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3616 ac_clean_files=$ac_clean_files_save
3617 # Check that the compiler produces executables we can run. If not, either
3618 # the compiler is broken, or we cross compile.
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3620 $as_echo_n "checking whether we are cross compiling... " >&6; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3622 $as_echo "$cross_compiling" >&6; }
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3625 $as_echo_n "checking for suffix of executables... " >&6; }
3626 if { { ac_try="$ac_link"
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
3633 (eval "$ac_link") 2>&5
3635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }; then :
3637 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3638 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3639 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3641 for ac_file
in conftest.exe conftest conftest.
*; do
3642 test -f "$ac_file" ||
continue
3644 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3645 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3653 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3654 See \`config.log' for more details." "$LINENO" 5; }
3656 rm -f conftest
$ac_cv_exeext
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3658 $as_echo "$ac_cv_exeext" >&6; }
3660 rm -f conftest.
$ac_ext
3661 EXEEXT
=$ac_cv_exeext
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3665 $as_echo_n "checking for suffix of object files... " >&6; }
3666 if test "${ac_cv_objext+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3680 rm -f conftest.o conftest.obj
3681 if { { ac_try
="$ac_compile"
3683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3684 *) ac_try_echo=$ac_try;;
3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 $as_echo "$ac_try_echo"; } >&5
3688 (eval "$ac_compile") 2>&5
3690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691 test $ac_status = 0; }; then :
3692 for ac_file in conftest.o conftest.obj conftest.*; do
3693 test -f "$ac_file" || continue;
3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3696 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3701 $as_echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 as_fn_error "cannot compute suffix of object files
: cannot compile
3707 See \
`config.log' for more details." "$LINENO" 5; }
3709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3712 $as_echo "$ac_cv_objext" >&6; }
3713 OBJEXT=$ac_cv_objext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3716 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3717 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3718 $as_echo_n "(cached) " >&6
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3734 if ac_fn_c_try_compile "$LINENO"; then :
3739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3744 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3745 if test $ac_compiler_gnu = yes; then
3750 ac_test_CFLAGS=${CFLAGS+set}
3751 ac_save_CFLAGS=$CFLAGS
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3753 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3754 if test "${ac_cv_prog_cc_g+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3757 ac_save_c_werror_flag=$ac_c_werror_flag
3758 ac_c_werror_flag=yes
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3787 if ac_fn_c_try_compile "$LINENO"; then :
3790 ac_c_werror_flag=$ac_save_c_werror_flag
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3803 if ac_fn_c_try_compile "$LINENO"; then :
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 ac_c_werror_flag=$ac_save_c_werror_flag
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3814 $as_echo "$ac_cv_prog_cc_g" >&6; }
3815 if test "$ac_test_CFLAGS" = set; then
3816 CFLAGS=$ac_save_CFLAGS
3817 elif test $ac_cv_prog_cc_g = yes; then
3818 if test "$GCC" = yes; then
3824 if test "$GCC" = yes; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3831 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3832 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3833 $as_echo_n "(cached) " >&6
3835 ac_cv_prog_cc_c89=no
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3841 #include <sys/types.h>
3842 #include <sys/stat.h>
3843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3844 struct buf { int x; };
3845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3846 static char *e (p, i)
3852 static char *f (char * (*g) (char **, int), char **p, ...)
3857 s = g (p, va_arg (v,int));
3862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3863 function prototypes and stuff, but not '\xHH' hex character constants.
3864 These don't provoke an error unfortunately, instead are silently treated
3865 as 'x'. The following induces an error, until -std is added to get
3866 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3867 array size at least. It's necessary to write '\x00'==0 to get something
3868 that's true only with -std. */
3869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3872 inside strings and character constants. */
3874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3876 int test (int i, double x);
3877 struct s1 {int (*f) (int a);};
3878 struct s2 {int (*f) (double a);};
3879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3891 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3893 CC="$ac_save_CC $ac_arg"
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895 ac_cv_prog_cc_c89=$ac_arg
3897 rm -f core conftest.err conftest.$ac_objext
3898 test "x$ac_cv_prog_cc_c89" != "xno" && break
3900 rm -f conftest.$ac_ext
3905 case "x$ac_cv_prog_cc_c89" in
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3908 $as_echo "none needed" >&6; } ;;
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3911 $as_echo "unsupported" >&6; } ;;
3913 CC="$CC $ac_cv_prog_cc_c89"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3915 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3917 if test "x$ac_cv_prog_cc_c89" != xno; then :
3922 ac_cpp='$CPP $CPPFLAGS'
3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 depcc="$CC" am_compiler_list=
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3930 $as_echo_n "checking dependency style of $depcc... " >&6; }
3931 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3935 # We make a subdir and do the tests there. Otherwise we can end up
3936 # making bogus files that we don't know about and never remove. For
3937 # instance it was reported that on HP-UX the gcc test will end up
3938 # making a dummy file named `D
' -- because `-MD' means
`put the output
3941 # Copy depcomp to subdir because otherwise we won't find it if we're
3942 # using a relative directory.
3943 cp "$am_depcomp" conftest.dir
3945 # We will build objects and dependencies in a subdirectory because
3946 # it helps to detect inapplicable dependency modes. For instance
3947 # both Tru64's cc and ICC support -MD to output dependencies as a
3948 # side effect of compilation, but ICC will put the dependencies in
3949 # the current directory while Tru64 will put them in the object
3953 am_cv_CC_dependencies_compiler_type=none
3954 if test "$am_compiler_list" = ""; then
3955 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3958 case " $depcc " in #(
3959 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3962 for depmode in $am_compiler_list; do
3963 # Setup a source with many dependencies, because some compilers
3964 # like to wrap large dependency lists on column 80 (with \), and
3965 # we should not choose a depcomp mode which is confused by this.
3967 # We need to recreate these files for each test, as the compiler may
3968 # overwrite some of them when testing with obscure command lines.
3969 # This happens at least with the AIX C compiler.
3971 for i in 1 2 3 4 5 6; do
3972 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3973 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3974 # Solaris 8's
{/usr
,}/bin
/sh.
3975 touch sub
/conftst
$i.h
3977 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3979 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3980 # mode. It turns out that the SunPro C++ compiler does not properly
3981 # handle `-M -o', and we need to detect this. Also, some Intel
3982 # versions had trouble with output in subdirs
3983 am__obj
=sub
/conftest.
${OBJEXT-o}
3984 am__minus_obj
="-o $am__obj"
3987 # This depmode causes a compiler race in universal mode.
3988 test "$am__universal" = false ||
continue
3991 # after this tag, mechanisms are not by side-effect, so they'll
3992 # only be used when explicitly requested
3993 if test "x$enable_dependency_tracking" = xyes
; then
3999 msvisualcpp | msvcmsys
)
4000 # This compiler won't grok `-c -o', but also, the minuso test has
4001 # not run yet. These depmodes are late enough in the game, and
4002 # so weak that their functioning should not be impacted.
4003 am__obj
=conftest.
${OBJEXT-o}
4008 if depmode
=$depmode \
4009 source=sub
/conftest.c object
=$am__obj \
4010 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4011 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4012 >/dev
/null
2>conftest.err
&&
4013 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4014 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4015 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4016 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4017 # icc doesn't choke on unknown options, it will just issue warnings
4018 # or remarks (even with -Werror). So we grep stderr for any message
4019 # that says an option was ignored or not supported.
4020 # When given -MP, icc 7.0 and 7.1 complain thusly:
4021 # icc: Command line warning: ignoring option '-M'; no argument required
4022 # The diagnosis changed in icc 8.0:
4023 # icc: Command line remark: option '-MP' not supported
4024 if (grep 'ignoring option' conftest.err ||
4025 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4026 am_cv_CC_dependencies_compiler_type
=$depmode
4035 am_cv_CC_dependencies_compiler_type
=none
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4040 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4041 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4044 test "x$enable_dependency_tracking" != xno \
4045 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4047 am__fastdepCC_FALSE
='#'
4049 am__fastdepCC_TRUE
='#'
4050 am__fastdepCC_FALSE
=
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4055 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4056 if test "${ac_cv_path_SED+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4060 for ac_i
in 1 2 3 4 5 6 7; do
4061 ac_script
="$ac_script$as_nl$ac_script"
4063 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4064 { ac_script
=; unset ac_script
;}
4065 if test -z "$SED"; then
4066 ac_path_SED_found
=false
4067 # Loop through the user's path and test for each of PROGNAME-LIST
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_prog
in sed gsed
; do
4074 for ac_exec_ext
in '' $ac_executable_extensions; do
4075 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4076 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4077 # Check for GNU ac_path_SED and select it if it is found.
4078 # Check for GNU $ac_path_SED
4079 case `"$ac_path_SED" --version 2>&1` in
4081 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4084 $as_echo_n 0123456789 >"conftest.in"
4087 cat "conftest.in" "conftest.in" >"conftest.tmp"
4088 mv "conftest.tmp" "conftest.in"
4089 cp "conftest.in" "conftest.nl"
4090 $as_echo '' >> "conftest.nl"
4091 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4092 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4093 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4094 if test $ac_count -gt ${ac_path_SED_max-0}; then
4095 # Best one so far, save it but keep looking for a better one
4096 ac_cv_path_SED
="$ac_path_SED"
4097 ac_path_SED_max
=$ac_count
4099 # 10*(2^10) chars as input seems more than enough
4100 test $ac_count -gt 10 && break
4102 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4105 $ac_path_SED_found && break 3
4110 if test -z "$ac_cv_path_SED"; then
4111 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4119 $as_echo "$ac_cv_path_SED" >&6; }
4120 SED
="$ac_cv_path_SED"
4123 test -z "$SED" && SED
=sed
4124 Xsed
="$SED -e 1s/^X//"
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4137 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4138 if test "${ac_cv_path_GREP+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 if test -z "$GREP"; then
4142 ac_path_GREP_found
=false
4143 # Loop through the user's path and test for each of PROGNAME-LIST
4144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4145 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4148 test -z "$as_dir" && as_dir
=.
4149 for ac_prog
in grep ggrep
; do
4150 for ac_exec_ext
in '' $ac_executable_extensions; do
4151 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4152 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4153 # Check for GNU ac_path_GREP and select it if it is found.
4154 # Check for GNU $ac_path_GREP
4155 case `"$ac_path_GREP" --version 2>&1` in
4157 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4160 $as_echo_n 0123456789 >"conftest.in"
4163 cat "conftest.in" "conftest.in" >"conftest.tmp"
4164 mv "conftest.tmp" "conftest.in"
4165 cp "conftest.in" "conftest.nl"
4166 $as_echo 'GREP' >> "conftest.nl"
4167 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4168 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4169 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4170 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4171 # Best one so far, save it but keep looking for a better one
4172 ac_cv_path_GREP
="$ac_path_GREP"
4173 ac_path_GREP_max
=$ac_count
4175 # 10*(2^10) chars as input seems more than enough
4176 test $ac_count -gt 10 && break
4178 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4181 $ac_path_GREP_found && break 3
4186 if test -z "$ac_cv_path_GREP"; then
4187 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4190 ac_cv_path_GREP
=$GREP
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4195 $as_echo "$ac_cv_path_GREP" >&6; }
4196 GREP
="$ac_cv_path_GREP"
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4200 $as_echo_n "checking for egrep... " >&6; }
4201 if test "${ac_cv_path_EGREP+set}" = set; then :
4202 $as_echo_n "(cached) " >&6
4204 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4205 then ac_cv_path_EGREP
="$GREP -E"
4207 if test -z "$EGREP"; then
4208 ac_path_EGREP_found
=false
4209 # Loop through the user's path and test for each of PROGNAME-LIST
4210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4211 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4214 test -z "$as_dir" && as_dir
=.
4215 for ac_prog
in egrep; do
4216 for ac_exec_ext
in '' $ac_executable_extensions; do
4217 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4218 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4219 # Check for GNU ac_path_EGREP and select it if it is found.
4220 # Check for GNU $ac_path_EGREP
4221 case `"$ac_path_EGREP" --version 2>&1` in
4223 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4226 $as_echo_n 0123456789 >"conftest.in"
4229 cat "conftest.in" "conftest.in" >"conftest.tmp"
4230 mv "conftest.tmp" "conftest.in"
4231 cp "conftest.in" "conftest.nl"
4232 $as_echo 'EGREP' >> "conftest.nl"
4233 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4234 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4235 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4236 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4237 # Best one so far, save it but keep looking for a better one
4238 ac_cv_path_EGREP
="$ac_path_EGREP"
4239 ac_path_EGREP_max
=$ac_count
4241 # 10*(2^10) chars as input seems more than enough
4242 test $ac_count -gt 10 && break
4244 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4247 $ac_path_EGREP_found && break 3
4252 if test -z "$ac_cv_path_EGREP"; then
4253 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4256 ac_cv_path_EGREP
=$EGREP
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4262 $as_echo "$ac_cv_path_EGREP" >&6; }
4263 EGREP
="$ac_cv_path_EGREP"
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4267 $as_echo_n "checking for fgrep... " >&6; }
4268 if test "${ac_cv_path_FGREP+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4271 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4272 then ac_cv_path_FGREP
="$GREP -F"
4274 if test -z "$FGREP"; then
4275 ac_path_FGREP_found
=false
4276 # Loop through the user's path and test for each of PROGNAME-LIST
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_prog
in fgrep
; do
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4285 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4286 # Check for GNU ac_path_FGREP and select it if it is found.
4287 # Check for GNU $ac_path_FGREP
4288 case `"$ac_path_FGREP" --version 2>&1` in
4290 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4293 $as_echo_n 0123456789 >"conftest.in"
4296 cat "conftest.in" "conftest.in" >"conftest.tmp"
4297 mv "conftest.tmp" "conftest.in"
4298 cp "conftest.in" "conftest.nl"
4299 $as_echo 'FGREP' >> "conftest.nl"
4300 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4301 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4302 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4303 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4304 # Best one so far, save it but keep looking for a better one
4305 ac_cv_path_FGREP
="$ac_path_FGREP"
4306 ac_path_FGREP_max
=$ac_count
4308 # 10*(2^10) chars as input seems more than enough
4309 test $ac_count -gt 10 && break
4311 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4314 $ac_path_FGREP_found && break 3
4319 if test -z "$ac_cv_path_FGREP"; then
4320 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4323 ac_cv_path_FGREP
=$FGREP
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4329 $as_echo "$ac_cv_path_FGREP" >&6; }
4330 FGREP
="$ac_cv_path_FGREP"
4333 test -z "$GREP" && GREP
=grep
4353 # Check whether --with-gnu-ld was given.
4354 if test "${with_gnu_ld+set}" = set; then :
4355 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4361 if test "$GCC" = yes; then
4362 # Check if gcc -print-prog-name=ld gives a path.
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4364 $as_echo_n "checking for ld used by $CC... " >&6; }
4367 # gcc leaves a trailing carriage return which upsets mingw
4368 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4370 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4373 # Accept absolute paths.
4375 re_direlt
='/[^/][^/]*/\.\./'
4376 # Canonicalize the pathname of ld
4377 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4378 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4379 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4381 test -z "$LD" && LD
="$ac_prog"
4384 # If it fails, then pretend we aren't using GCC.
4388 # If it is relative, then search for the first ld in PATH.
4392 elif test "$with_gnu_ld" = yes; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4394 $as_echo_n "checking for GNU ld... " >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4397 $as_echo_n "checking for non-GNU ld... " >&6; }
4399 if test "${lt_cv_path_LD+set}" = set; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -z "$LD"; then
4403 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4404 for ac_dir
in $PATH; do
4406 test -z "$ac_dir" && ac_dir
=.
4407 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4408 lt_cv_path_LD
="$ac_dir/$ac_prog"
4409 # Check to see if the program is GNU ld. I'd rather use --version,
4410 # but apparently some variants of GNU ld only accept -v.
4411 # Break only if it was the GNU/non-GNU ld that we prefer.
4412 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4413 *GNU
* |
*'with BFD'*)
4414 test "$with_gnu_ld" != no
&& break
4417 test "$with_gnu_ld" != yes && break
4424 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4429 if test -n "$LD"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4431 $as_echo "$LD" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4436 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4438 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4439 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4442 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4443 case `$LD -v 2>&1 </dev/null` in
4444 *GNU
* |
*'with BFD'*)
4445 lt_cv_prog_gnu_ld
=yes
4448 lt_cv_prog_gnu_ld
=no
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4453 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4454 with_gnu_ld
=$lt_cv_prog_gnu_ld
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4465 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4466 if test "${lt_cv_path_NM+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4469 if test -n "$NM"; then
4470 # Let the user override the test.
4473 lt_nm_to_check
="${ac_tool_prefix}nm"
4474 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4475 lt_nm_to_check
="$lt_nm_to_check nm"
4477 for lt_tmp_nm
in $lt_nm_to_check; do
4478 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4479 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4481 test -z "$ac_dir" && ac_dir
=.
4482 tmp_nm
="$ac_dir/$lt_tmp_nm"
4483 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4484 # Check to see if the nm accepts a BSD-compat flag.
4485 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4486 # nm: unknown option "B" ignored
4487 # Tru64's nm complains that /dev/null is an invalid object file
4488 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4489 */dev
/null
* |
*'Invalid file or object type'*)
4490 lt_cv_path_NM
="$tmp_nm -B"
4494 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4496 lt_cv_path_NM
="$tmp_nm -p"
4500 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4501 continue # so that we can try to find one that supports BSD flags
4510 : ${lt_cv_path_NM=no}
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4514 $as_echo "$lt_cv_path_NM" >&6; }
4515 if test "$lt_cv_path_NM" != "no"; then
4518 # Didn't find any BSD compatible name lister, look for dumpbin.
4519 if test -n "$DUMPBIN"; then :
4520 # Let the user override the test.
4522 if test -n "$ac_tool_prefix"; then
4523 for ac_prog
in dumpbin
"link -dump"
4525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4526 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$DUMPBIN"; then
4533 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 DUMPBIN
=$ac_cv_prog_DUMPBIN
4553 if test -n "$DUMPBIN"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4555 $as_echo "$DUMPBIN" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4562 test -n "$DUMPBIN" && break
4565 if test -z "$DUMPBIN"; then
4566 ac_ct_DUMPBIN
=$DUMPBIN
4567 for ac_prog
in dumpbin
"link -dump"
4569 # Extract the first word of "$ac_prog", so it can be a program name with args.
4570 set dummy
$ac_prog; ac_word
=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4574 $as_echo_n "(cached) " >&6
4576 if test -n "$ac_ct_DUMPBIN"; then
4577 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4583 test -z "$as_dir" && as_dir
=.
4584 for ac_exec_ext
in '' $ac_executable_extensions; do
4585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4586 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4597 if test -n "$ac_ct_DUMPBIN"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4599 $as_echo "$ac_ct_DUMPBIN" >&6; }
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4606 test -n "$ac_ct_DUMPBIN" && break
4609 if test "x$ac_ct_DUMPBIN" = x
; then
4612 case $cross_compiling:$ac_tool_warned in
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616 ac_tool_warned
=yes ;;
4618 DUMPBIN
=$ac_ct_DUMPBIN
4622 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4624 DUMPBIN
="$DUMPBIN -symbols"
4632 if test "$DUMPBIN" != ":"; then
4636 test -z "$NM" && NM
=nm
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4644 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4645 if test "${lt_cv_nm_interface+set}" = set; then :
4646 $as_echo_n "(cached) " >&6
4648 lt_cv_nm_interface
="BSD nm"
4649 echo "int some_variable = 0;" > conftest.
$ac_ext
4650 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4651 (eval "$ac_compile" 2>conftest.err
)
4652 cat conftest.err
>&5
4653 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4654 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4655 cat conftest.err
>&5
4656 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4657 cat conftest.out
>&5
4658 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4659 lt_cv_nm_interface
="MS dumpbin"
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4664 $as_echo "$lt_cv_nm_interface" >&6; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4667 $as_echo_n "checking whether ln -s works... " >&6; }
4669 if test "$LN_S" = "ln -s"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4671 $as_echo "yes" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4674 $as_echo "no, using $LN_S" >&6; }
4677 # find the maximum length of command line arguments
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4679 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4680 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4681 $as_echo_n "(cached) " >&6
4688 # On DJGPP, this test can blow up pretty badly due to problems in libc
4689 # (any single argument exceeding 2000 bytes causes a buffer overrun
4690 # during glob expansion). Even if it were fixed, the result of this
4691 # check would be larger than it should be.
4692 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4696 # Under GNU Hurd, this test is not required because there is
4697 # no limit to the length of command line arguments.
4698 # Libtool will interpret -1 as no limit whatsoever
4699 lt_cv_sys_max_cmd_len
=-1;
4702 cygwin
* | mingw
* | cegcc
*)
4703 # On Win9x/ME, this test blows up -- it succeeds, but takes
4704 # about 5 minutes as the teststring grows exponentially.
4705 # Worse, since 9x/ME are not pre-emptively multitasking,
4706 # you end up with a "frozen" computer, even though with patience
4707 # the test eventually succeeds (with a max line length of 256k).
4708 # Instead, let's just punt: use the minimum linelength reported by
4709 # all of the supported platforms: 8192 (on NT/2K/XP).
4710 lt_cv_sys_max_cmd_len
=8192;
4714 # On MiNT this can take a long time and run out of memory.
4715 lt_cv_sys_max_cmd_len
=8192;
4719 # On AmigaOS with pdksh, this test takes hours, literally.
4720 # So we just punt and use a minimum line length of 8192.
4721 lt_cv_sys_max_cmd_len
=8192;
4724 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4725 # This has been around since 386BSD, at least. Likely further.
4726 if test -x /sbin
/sysctl
; then
4727 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4728 elif test -x /usr
/sbin
/sysctl
; then
4729 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4731 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4733 # And add a safety zone
4734 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4735 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4739 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4740 lt_cv_sys_max_cmd_len
=196608
4744 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4745 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4746 # nice to cause kernel panics so lets avoid the loop below.
4747 # First set a reasonable default.
4748 lt_cv_sys_max_cmd_len
=16384
4750 if test -x /sbin
/sysconfig
; then
4751 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4752 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4757 lt_cv_sys_max_cmd_len
=102400
4759 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4760 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4761 if test -n "$kargmax"; then
4762 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4764 lt_cv_sys_max_cmd_len
=32768
4768 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4769 if test -n "$lt_cv_sys_max_cmd_len"; then
4770 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4771 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4773 # Make teststring a little bigger before we do anything with it.
4774 # a 1K string should be a reasonable start.
4775 for i
in 1 2 3 4 5 6 7 8 ; do
4776 teststring
=$teststring$teststring
4778 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4779 # If test is not a shell built-in, we'll probably end up computing a
4780 # maximum length that is only half of the actual maximum length, but
4782 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4783 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4784 test $i != 17 # 1/2 MB should be enough
4787 teststring
=$teststring$teststring
4789 # Only check the string length outside the loop.
4790 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4792 # Add a significant safety factor because C++ compilers can tack on
4793 # massive amounts of additional arguments before passing them to the
4794 # linker. It appears as though 1/2 is a usable value.
4795 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4802 if test -n $lt_cv_sys_max_cmd_len ; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4804 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4807 $as_echo "none" >&6; }
4809 max_cmd_len
=$lt_cv_sys_max_cmd_len
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4821 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4822 # Try some XSI features
4825 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4827 && eval 'test $(( 1 + 1 )) -eq 2 \
4828 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4831 $as_echo "$xsi_shell" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4835 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4837 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4839 && lt_shell_append=yes
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4841 $as_echo "$lt_shell_append" >&6; }
4844 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4854 # test EBCDIC or ASCII
4855 case `echo X|tr X '\101'` in
4856 A) # ASCII based system
4857 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4858 lt_SP2NL='tr \040 \012'
4859 lt_NL2SP='tr \015\012 \040\040'
4861 *) # EBCDIC based system
4862 lt_SP2NL='tr \100 \n'
4863 lt_NL2SP='tr \r\n \100\100'
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4876 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4877 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4878 $as_echo_n "(cached
) " >&6
4880 lt_cv_ld_reload_flag='-r'
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4883 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4884 reload_flag=$lt_cv_ld_reload_flag
4885 case $reload_flag in
4887 *) reload_flag=" $reload_flag" ;;
4889 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4892 if test "$GCC" = yes; then
4893 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4895 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4908 if test -n "$ac_tool_prefix"; then
4909 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4910 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4912 $as_echo_n "checking
for $ac_word...
" >&6; }
4913 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4914 $as_echo_n "(cached
) " >&6
4916 if test -n "$OBJDUMP"; then
4917 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 test -z "$as_dir" && as_dir=.
4924 for ac_exec_ext in '' $ac_executable_extensions; do
4925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4926 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4936 OBJDUMP=$ac_cv_prog_OBJDUMP
4937 if test -n "$OBJDUMP"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4939 $as_echo "$OBJDUMP" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4942 $as_echo "no
" >&6; }
4947 if test -z "$ac_cv_prog_OBJDUMP"; then
4948 ac_ct_OBJDUMP=$OBJDUMP
4949 # Extract the first word of "objdump
", so it can be a program name with args.
4950 set dummy objdump; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4952 $as_echo_n "checking
for $ac_word...
" >&6; }
4953 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4954 $as_echo_n "(cached
) " >&6
4956 if test -n "$ac_ct_OBJDUMP"; then
4957 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 test -z "$as_dir" && as_dir=.
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4966 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4976 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4977 if test -n "$ac_ct_OBJDUMP"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4979 $as_echo "$ac_ct_OBJDUMP" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4982 $as_echo "no
" >&6; }
4985 if test "x
$ac_ct_OBJDUMP" = x; then
4988 case $cross_compiling:$ac_tool_warned in
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4991 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4992 ac_tool_warned=yes ;;
4994 OBJDUMP=$ac_ct_OBJDUMP
4997 OBJDUMP="$ac_cv_prog_OBJDUMP"
5000 test -z "$OBJDUMP" && OBJDUMP=objdump
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5011 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5012 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5013 $as_echo_n "(cached
) " >&6
5015 lt_cv_file_magic_cmd='$MAGIC_CMD'
5016 lt_cv_file_magic_test_file=
5017 lt_cv_deplibs_check_method='unknown'
5018 # Need to set the preceding variable on all platforms that support
5019 # interlibrary dependencies.
5020 # 'none' -- dependencies not supported.
5021 # `unknown' -- same as none, but documents that we really don't know.
5022 # 'pass_all' -- all dependencies passed with no checks.
5023 # 'test_compile' -- check by making test program.
5024 # 'file_magic [[regex]]' -- check by looking for files in library path
5025 # which responds to the $file_magic_cmd with a given extended regex.
5026 # If you have `file' or equivalent on your system and you're not sure
5027 # whether `pass_all' will *always* work, you probably want this one.
5031 lt_cv_deplibs_check_method=pass_all
5035 lt_cv_deplibs_check_method=pass_all
5039 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5040 lt_cv_file_magic_cmd='/usr/bin/file -L'
5041 lt_cv_file_magic_test_file=/shlib/libc.so
5045 # func_win32_libid is a shell function defined in ltmain.sh
5046 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5047 lt_cv_file_magic_cmd='func_win32_libid'
5051 # Base MSYS/MinGW do not provide the 'file' command needed by
5052 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5053 # unless we find 'file', for example because we are cross-compiling.
5054 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5055 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5056 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5057 lt_cv_file_magic_cmd='func_win32_libid'
5059 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5060 lt_cv_file_magic_cmd='$OBJDUMP -f'
5065 # use the weaker test based on 'objdump'. See mingw*.
5066 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5067 lt_cv_file_magic_cmd='$OBJDUMP -f'
5070 darwin* | rhapsody*)
5071 lt_cv_deplibs_check_method=pass_all
5074 freebsd* | dragonfly*)
5075 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5078 # Not sure whether the presence of OpenBSD here was a mistake.
5079 # Let's accept both of them until this is cleared up.
5080 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5081 lt_cv_file_magic_cmd=/usr/bin/file
5082 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5086 lt_cv_deplibs_check_method=pass_all
5091 lt_cv_deplibs_check_method=pass_all
5095 lt_cv_deplibs_check_method=pass_all
5098 hpux10.20* | hpux11*)
5099 lt_cv_file_magic_cmd=/usr/bin/file
5102 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5103 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5106 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]'
5107 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5110 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5111 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5117 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5118 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5121 irix5* | irix6* | nonstopux*)
5123 *-32|*"-32 ") libmagic=32-bit;;
5124 *-n32|*"-n32 ") libmagic=N32;;
5125 *-64|*"-64 ") libmagic=64-bit;;
5126 *) libmagic=never-match;;
5128 lt_cv_deplibs_check_method=pass_all
5131 # This must be Linux ELF.
5132 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5133 lt_cv_deplibs_check_method=pass_all
5137 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5138 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5140 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5145 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5146 lt_cv_file_magic_cmd=/usr/bin/file
5147 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5151 lt_cv_deplibs_check_method=pass_all
5155 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5156 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5158 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5162 osf3* | osf4* | osf5*)
5163 lt_cv_deplibs_check_method=pass_all
5167 lt_cv_deplibs_check_method=pass_all
5171 lt_cv_deplibs_check_method=pass_all
5174 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5175 lt_cv_deplibs_check_method=pass_all
5179 case $host_vendor in
5181 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]'
5182 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5185 lt_cv_deplibs_check_method=pass_all
5188 lt_cv_file_magic_cmd='/bin/file'
5189 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5192 lt_cv_file_magic_cmd='/bin/file'
5193 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5194 lt_cv_file_magic_test_file=/lib/libc.so
5197 lt_cv_deplibs_check_method=pass_all
5200 lt_cv_deplibs_check_method=pass_all
5206 lt_cv_deplibs_check_method=pass_all
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5212 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5213 file_magic_cmd=$lt_cv_file_magic_cmd
5214 deplibs_check_method=$lt_cv_deplibs_check_method
5215 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5228 if test -n "$ac_tool_prefix"; then
5229 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5230 set dummy ${ac_tool_prefix}ar; ac_word=$2
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5232 $as_echo_n "checking
for $ac_word...
" >&6; }
5233 if test "${ac_cv_prog_AR+set}" = set; then :
5234 $as_echo_n "(cached
) " >&6
5236 if test -n "$AR"; then
5237 ac_cv_prog_AR="$AR" # Let the user override the test.
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 test -z "$as_dir" && as_dir=.
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5246 ac_cv_prog_AR="${ac_tool_prefix}ar"
5247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5257 if test -n "$AR"; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5259 $as_echo "$AR" >&6; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5262 $as_echo "no
" >&6; }
5267 if test -z "$ac_cv_prog_AR"; then
5269 # Extract the first word of "ar", so it can be a program name with args.
5270 set dummy ar; ac_word=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5272 $as_echo_n "checking
for $ac_word...
" >&6; }
5273 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5274 $as_echo_n "(cached
) " >&6
5276 if test -n "$ac_ct_AR"; then
5277 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 test -z "$as_dir" && as_dir=.
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5286 ac_cv_prog_ac_ct_AR="ar"
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5296 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5297 if test -n "$ac_ct_AR"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5299 $as_echo "$ac_ct_AR" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5302 $as_echo "no
" >&6; }
5305 if test "x
$ac_ct_AR" = x; then
5308 case $cross_compiling:$ac_tool_warned in
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5311 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5312 ac_tool_warned=yes ;;
5320 test -z "$AR" && AR=ar
5321 test -z "$AR_FLAGS" && AR_FLAGS=cru
5333 if test -n "$ac_tool_prefix"; then
5334 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5335 set dummy ${ac_tool_prefix}strip; ac_word=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5337 $as_echo_n "checking
for $ac_word...
" >&6; }
5338 if test "${ac_cv_prog_STRIP+set}" = set; then :
5339 $as_echo_n "(cached
) " >&6
5341 if test -n "$STRIP"; then
5342 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348 test -z "$as_dir" && as_dir=.
5349 for ac_exec_ext in '' $ac_executable_extensions; do
5350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5351 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5361 STRIP=$ac_cv_prog_STRIP
5362 if test -n "$STRIP"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5364 $as_echo "$STRIP" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5367 $as_echo "no
" >&6; }
5372 if test -z "$ac_cv_prog_STRIP"; then
5374 # Extract the first word of "strip
", so it can be a program name with args.
5375 set dummy strip; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5377 $as_echo_n "checking
for $ac_word...
" >&6; }
5378 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5379 $as_echo_n "(cached
) " >&6
5381 if test -n "$ac_ct_STRIP"; then
5382 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5391 ac_cv_prog_ac_ct_STRIP="strip
"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5401 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5402 if test -n "$ac_ct_STRIP"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5404 $as_echo "$ac_ct_STRIP" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5407 $as_echo "no
" >&6; }
5410 if test "x
$ac_ct_STRIP" = x; then
5413 case $cross_compiling:$ac_tool_warned in
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5416 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5417 ac_tool_warned=yes ;;
5422 STRIP="$ac_cv_prog_STRIP"
5425 test -z "$STRIP" && STRIP=:
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5434 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5436 $as_echo_n "checking
for $ac_word...
" >&6; }
5437 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5438 $as_echo_n "(cached
) " >&6
5440 if test -n "$RANLIB"; then
5441 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5460 RANLIB=$ac_cv_prog_RANLIB
5461 if test -n "$RANLIB"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5463 $as_echo "$RANLIB" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5466 $as_echo "no
" >&6; }
5471 if test -z "$ac_cv_prog_RANLIB"; then
5472 ac_ct_RANLIB=$RANLIB
5473 # Extract the first word of "ranlib
", so it can be a program name with args.
5474 set dummy ranlib; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5476 $as_echo_n "checking
for $ac_word...
" >&6; }
5477 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5478 $as_echo_n "(cached
) " >&6
5480 if test -n "$ac_ct_RANLIB"; then
5481 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5500 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5501 if test -n "$ac_ct_RANLIB"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5503 $as_echo "$ac_ct_RANLIB" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5506 $as_echo "no
" >&6; }
5509 if test "x
$ac_ct_RANLIB" = x; then
5512 case $cross_compiling:$ac_tool_warned in
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5515 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5516 ac_tool_warned=yes ;;
5518 RANLIB=$ac_ct_RANLIB
5521 RANLIB="$ac_cv_prog_RANLIB"
5524 test -z "$RANLIB" && RANLIB=:
5531 # Determine commands to create old-style static archives.
5532 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5533 old_postinstall_cmds='chmod 644 $oldlib'
5534 old_postuninstall_cmds=
5536 if test -n "$RANLIB"; then
5539 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5542 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5545 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5550 lock_old_archive_extraction=yes ;;
5552 lock_old_archive_extraction=no ;;
5593 # If no C compiler was specified, use CC.
5596 # If no C compiler flags were specified, use CFLAGS.
5597 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5599 # Allow CC to be a program name with arguments.
5603 # Check for command to grab the raw symbol name followed by C symbol from nm.
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5605 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5606 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5607 $as_echo_n "(cached
) " >&6
5610 # These are sane defaults that work on at least a few old systems.
5611 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5613 # Character class describing NM global symbol codes.
5614 symcode='[BCDEGRST]'
5616 # Regexp to match symbols that can be accessed directly from C.
5617 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5619 # Define system-specific variables.
5624 cygwin* | mingw* | pw32* | cegcc*)
5625 symcode='[ABCDGISTW]'
5628 if test "$host_cpu" = ia64; then
5629 symcode='[ABCDEGRST]'
5633 symcode='[BCDEGRST]'
5636 symcode='[BCDEGQRST]'
5647 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5655 # If we're using GNU nm, then use its standard symbol codes.
5656 case `$NM -V 2>&1` in
5657 *GNU* | *'with BFD'*)
5658 symcode='[ABCDGIRSTW]' ;;
5661 # Transform an extracted symbol line into a proper C declaration.
5662 # Some systems (esp. on ia64) link data and code symbols differently,
5663 # so use this general approach.
5664 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5666 # Transform an extracted symbol line into symbol name and symbol address
5667 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5668 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'"
5670 # Handle CRLF in mingw tool chain
5674 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5678 # Try without a prefix underscore, then with it.
5679 for ac_symprfx in "" "_
"; do
5681 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5682 symxfrm="\\1 $ac_symprfx\\2 \\2"
5684 # Write the raw and C identifiers.
5685 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5686 # Fake it for dumpbin and say T for any non-static function
5687 # and D for any global variable.
5688 # Also find C++ and __fastcall symbols from MSVC++,
5689 # which start with @ or ?.
5690 lt_cv_sys_global_symbol_pipe="$AWK '"\
5691 " {last_section=section; section=\$ 3};"\
5692 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5693 " \$ 0!~/External *\|/{next};"\
5694 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5695 " {if(hide[section]) next};"\
5696 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5697 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5698 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5699 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5700 " ' prfx
=^
$ac_symprfx"
5702 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5705 # Check to see that the pipe works correctly.
5709 cat > conftest.$ac_ext <<_LT_EOF
5714 void nm_test_func(void);
5715 void nm_test_func(void){}
5719 int main(){nm_test_var='a';nm_test_func();return(0);}
5722 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5723 (eval $ac_compile) 2>&5
5725 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5726 test $ac_status = 0; }; then
5727 # Now try to grab the symbols.
5729 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5730 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5732 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5733 test $ac_status = 0; } && test -s "$nlist"; then
5734 # Try sorting and uniquifying the output.
5735 if sort "$nlist" | uniq > "$nlist"T; then
5736 mv -f "$nlist"T "$nlist"
5741 # Make sure that we snagged all the symbols we need.
5742 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5743 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5744 cat <<_LT_EOF > conftest.$ac_ext
5750 # Now generate the symbol file.
5751 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5753 cat <<_LT_EOF >> conftest.$ac_ext
5755 /* The mapping between symbol names and symbols. */
5760 lt__PROGRAM__LTX_preloaded_symbols[] =
5762 { "@PROGRAM@
", (void *) 0 },
5764 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5765 cat <<\_LT_EOF >> conftest.$ac_ext
5769 /* This works around a problem in FreeBSD linker */
5770 #ifdef FREEBSD_WORKAROUND
5771 static const void *lt_preloaded_setup() {
5772 return lt__PROGRAM__LTX_preloaded_symbols;
5780 # Now try linking the two files.
5781 mv conftest.$ac_objext conftstm.$ac_objext
5782 lt_save_LIBS="$LIBS"
5783 lt_save_CFLAGS="$CFLAGS"
5784 LIBS="conftstm.
$ac_objext"
5785 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5786 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5787 (eval $ac_link) 2>&5
5789 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5790 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5793 LIBS="$lt_save_LIBS"
5794 CFLAGS="$lt_save_CFLAGS"
5796 echo "cannot
find nm_test_func
in $nlist" >&5
5799 echo "cannot
find nm_test_var
in $nlist" >&5
5802 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5805 echo "$progname: failed program was
:" >&5
5806 cat conftest.$ac_ext >&5
5808 rm -rf conftest* conftst*
5810 # Do not use the global_symbol_pipe unless it works.
5811 if test "$pipe_works" = yes; then
5814 lt_cv_sys_global_symbol_pipe=
5820 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5821 lt_cv_sys_global_symbol_to_cdecl=
5823 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5825 $as_echo "failed
" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5828 $as_echo "ok
" >&6; }
5853 # Check whether --enable-libtool-lock was given.
5854 if test "${enable_libtool_lock+set}" = set; then :
5855 enableval=$enable_libtool_lock;
5858 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5860 # Some flags need to be propagated to the compiler or linker for good
5864 # Find out which ABI we are using.
5865 echo 'int i;' > conftest.$ac_ext
5866 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5867 (eval $ac_compile) 2>&5
5869 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5870 test $ac_status = 0; }; then
5871 case `/usr/bin/file conftest.$ac_objext` in
5883 # Find out which ABI we are using.
5884 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5885 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5886 (eval $ac_compile) 2>&5
5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5889 test $ac_status = 0; }; then
5890 if test "$lt_cv_prog_gnu_ld" = yes; then
5891 case `/usr/bin/file conftest.$ac_objext` in
5893 LD="${LD-ld} -melf32bsmip"
5896 LD="${LD-ld} -melf32bmipn32"
5899 LD="${LD-ld} -melf64bmip"
5903 case `/usr/bin/file conftest.$ac_objext` in
5919 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5920 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5921 # Find out which ABI we are using.
5922 echo 'int i;' > conftest.$ac_ext
5923 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5924 (eval $ac_compile) 2>&5
5926 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5927 test $ac_status = 0; }; then
5928 case `/usr/bin/file conftest.o` in
5931 x86_64-*kfreebsd*-gnu)
5932 LD="${LD-ld} -m elf_i386_fbsd
"
5935 LD="${LD-ld} -m elf_i386
"
5937 ppc64-*linux*|powerpc64-*linux*)
5938 LD="${LD-ld} -m elf32ppclinux
"
5941 LD="${LD-ld} -m elf_s390
"
5944 LD="${LD-ld} -m elf32_sparc
"
5950 x86_64-*kfreebsd*-gnu)
5951 LD="${LD-ld} -m elf_x86_64_fbsd
"
5954 LD="${LD-ld} -m elf_x86_64
"
5956 ppc*-*linux*|powerpc*-*linux*)
5957 LD="${LD-ld} -m elf64ppc
"
5959 s390*-*linux*|s390*-*tpf*)
5960 LD="${LD-ld} -m elf64_s390
"
5963 LD="${LD-ld} -m elf64_sparc
"
5973 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5974 SAVE_CFLAGS="$CFLAGS"
5975 CFLAGS="$CFLAGS -belf"
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5977 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5978 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5979 $as_echo_n "(cached
) " >&6
5982 ac_cpp='$CPP $CPPFLAGS'
5983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5987 if test x$gcc_no_link = xyes; then
5988 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
6001 if ac_fn_c_try_link "$LINENO"; then :
6002 lt_cv_cc_needs_belf=yes
6004 lt_cv_cc_needs_belf=no
6006 rm -f core conftest.err conftest.$ac_objext \
6007 conftest$ac_exeext conftest.$ac_ext
6009 ac_cpp='$CPP $CPPFLAGS'
6010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6016 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6017 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6018 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6019 CFLAGS="$SAVE_CFLAGS"
6023 # Find out which ABI we are using.
6024 echo 'int i;' > conftest.$ac_ext
6025 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6026 (eval $ac_compile) 2>&5
6028 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6029 test $ac_status = 0; }; then
6030 case `/usr/bin/file conftest.o` in
6032 case $lt_cv_prog_gnu_ld in
6033 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6035 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6047 need_locks="$enable_libtool_lock"
6051 rhapsody* | darwin*)
6052 if test -n "$ac_tool_prefix"; then
6053 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6056 $as_echo_n "checking
for $ac_word...
" >&6; }
6057 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6058 $as_echo_n "(cached
) " >&6
6060 if test -n "$DSYMUTIL"; then
6061 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6080 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6081 if test -n "$DSYMUTIL"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6083 $as_echo "$DSYMUTIL" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6086 $as_echo "no
" >&6; }
6091 if test -z "$ac_cv_prog_DSYMUTIL"; then
6092 ac_ct_DSYMUTIL=$DSYMUTIL
6093 # Extract the first word of "dsymutil
", so it can be a program name with args.
6094 set dummy dsymutil; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6096 $as_echo_n "checking
for $ac_word...
" >&6; }
6097 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6098 $as_echo_n "(cached
) " >&6
6100 if test -n "$ac_ct_DSYMUTIL"; then
6101 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6120 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6121 if test -n "$ac_ct_DSYMUTIL"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6123 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6126 $as_echo "no
" >&6; }
6129 if test "x
$ac_ct_DSYMUTIL" = x; then
6132 case $cross_compiling:$ac_tool_warned in
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6135 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6136 ac_tool_warned=yes ;;
6138 DSYMUTIL=$ac_ct_DSYMUTIL
6141 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6148 $as_echo_n "checking
for $ac_word...
" >&6; }
6149 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6150 $as_echo_n "(cached
) " >&6
6152 if test -n "$NMEDIT"; then
6153 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6172 NMEDIT=$ac_cv_prog_NMEDIT
6173 if test -n "$NMEDIT"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6175 $as_echo "$NMEDIT" >&6; }
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6178 $as_echo "no
" >&6; }
6183 if test -z "$ac_cv_prog_NMEDIT"; then
6184 ac_ct_NMEDIT=$NMEDIT
6185 # Extract the first word of "nmedit
", so it can be a program name with args.
6186 set dummy nmedit; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6188 $as_echo_n "checking
for $ac_word...
" >&6; }
6189 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6190 $as_echo_n "(cached
) " >&6
6192 if test -n "$ac_ct_NMEDIT"; then
6193 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6202 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6212 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6213 if test -n "$ac_ct_NMEDIT"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6215 $as_echo "$ac_ct_NMEDIT" >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6218 $as_echo "no
" >&6; }
6221 if test "x
$ac_ct_NMEDIT" = x; then
6224 case $cross_compiling:$ac_tool_warned in
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6227 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6228 ac_tool_warned=yes ;;
6230 NMEDIT=$ac_ct_NMEDIT
6233 NMEDIT="$ac_cv_prog_NMEDIT"
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6240 $as_echo_n "checking
for $ac_word...
" >&6; }
6241 if test "${ac_cv_prog_LIPO+set}" = set; then :
6242 $as_echo_n "(cached
) " >&6
6244 if test -n "$LIPO"; then
6245 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6264 LIPO=$ac_cv_prog_LIPO
6265 if test -n "$LIPO"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6267 $as_echo "$LIPO" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6270 $as_echo "no
" >&6; }
6275 if test -z "$ac_cv_prog_LIPO"; then
6277 # Extract the first word of "lipo
", so it can be a program name with args.
6278 set dummy lipo; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6280 $as_echo_n "checking
for $ac_word...
" >&6; }
6281 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6282 $as_echo_n "(cached
) " >&6
6284 if test -n "$ac_ct_LIPO"; then
6285 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_ac_ct_LIPO="lipo
"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6304 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6305 if test -n "$ac_ct_LIPO"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6307 $as_echo "$ac_ct_LIPO" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6310 $as_echo "no
" >&6; }
6313 if test "x
$ac_ct_LIPO" = x; then
6316 case $cross_compiling:$ac_tool_warned in
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6319 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6320 ac_tool_warned=yes ;;
6325 LIPO="$ac_cv_prog_LIPO"
6328 if test -n "$ac_tool_prefix"; then
6329 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6330 set dummy ${ac_tool_prefix}otool; ac_word=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6332 $as_echo_n "checking
for $ac_word...
" >&6; }
6333 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6334 $as_echo_n "(cached
) " >&6
6336 if test -n "$OTOOL"; then
6337 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6356 OTOOL=$ac_cv_prog_OTOOL
6357 if test -n "$OTOOL"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6359 $as_echo "$OTOOL" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6362 $as_echo "no
" >&6; }
6367 if test -z "$ac_cv_prog_OTOOL"; then
6369 # Extract the first word of "otool
", so it can be a program name with args.
6370 set dummy otool; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6372 $as_echo_n "checking
for $ac_word...
" >&6; }
6373 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6374 $as_echo_n "(cached
) " >&6
6376 if test -n "$ac_ct_OTOOL"; then
6377 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_ac_ct_OTOOL="otool
"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6396 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6397 if test -n "$ac_ct_OTOOL"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6399 $as_echo "$ac_ct_OTOOL" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6402 $as_echo "no
" >&6; }
6405 if test "x
$ac_ct_OTOOL" = x; then
6408 case $cross_compiling:$ac_tool_warned in
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6411 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6412 ac_tool_warned=yes ;;
6417 OTOOL="$ac_cv_prog_OTOOL"
6420 if test -n "$ac_tool_prefix"; then
6421 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6422 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6424 $as_echo_n "checking
for $ac_word...
" >&6; }
6425 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6426 $as_echo_n "(cached
) " >&6
6428 if test -n "$OTOOL64"; then
6429 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6438 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6448 OTOOL64=$ac_cv_prog_OTOOL64
6449 if test -n "$OTOOL64"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6451 $as_echo "$OTOOL64" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6454 $as_echo "no
" >&6; }
6459 if test -z "$ac_cv_prog_OTOOL64"; then
6460 ac_ct_OTOOL64=$OTOOL64
6461 # Extract the first word of "otool64
", so it can be a program name with args.
6462 set dummy otool64; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6464 $as_echo_n "checking
for $ac_word...
" >&6; }
6465 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6466 $as_echo_n "(cached
) " >&6
6468 if test -n "$ac_ct_OTOOL64"; then
6469 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6478 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6488 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6489 if test -n "$ac_ct_OTOOL64"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6491 $as_echo "$ac_ct_OTOOL64" >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6494 $as_echo "no
" >&6; }
6497 if test "x
$ac_ct_OTOOL64" = x; then
6500 case $cross_compiling:$ac_tool_warned in
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6503 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6504 ac_tool_warned=yes ;;
6506 OTOOL64=$ac_ct_OTOOL64
6509 OTOOL64="$ac_cv_prog_OTOOL64"
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6539 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6540 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6541 $as_echo_n "(cached
) " >&6
6543 lt_cv_apple_cc_single_mod=no
6544 if test -z "${LT_MULTI_MODULE}"; then
6545 # By default we will add the -single_module flag. You can override
6546 # by either setting the environment variable LT_MULTI_MODULE
6547 # non-empty at configure time, or by adding -multi_module to the
6549 rm -rf libconftest.dylib*
6550 echo "int foo
(void
){return 1;}" > conftest.c
6551 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6552 -dynamiclib -Wl,-single_module conftest.c
" >&5
6553 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6554 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6556 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6557 lt_cv_apple_cc_single_mod=yes
6559 cat conftest.err >&5
6561 rm -rf libconftest.dylib*
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6566 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6568 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6569 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6570 $as_echo_n "(cached
) " >&6
6572 lt_cv_ld_exported_symbols_list=no
6573 save_LDFLAGS=$LDFLAGS
6574 echo "_main
" > conftest.sym
6575 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6576 if test x$gcc_no_link = xyes; then
6577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6590 if ac_fn_c_try_link "$LINENO"; then :
6591 lt_cv_ld_exported_symbols_list=yes
6593 lt_cv_ld_exported_symbols_list=no
6595 rm -f core conftest.err conftest.$ac_objext \
6596 conftest$ac_exeext conftest.$ac_ext
6597 LDFLAGS="$save_LDFLAGS"
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6601 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6603 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6604 if test "${lt_cv_ld_force_load+set}" = set; then :
6605 $as_echo_n "(cached
) " >&6
6607 lt_cv_ld_force_load=no
6608 cat > conftest.c << _LT_EOF
6609 int forced_loaded() { return 2;}
6611 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6612 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6613 echo "$AR cru libconftest.a conftest.o
" >&5
6614 $AR cru libconftest.a conftest.o 2>&5
6615 cat > conftest.c << _LT_EOF
6616 int main() { return 0;}
6618 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6619 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6621 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6622 lt_cv_ld_force_load=yes
6624 cat conftest.err >&5
6626 rm -f conftest.err libconftest.a conftest conftest.c
6627 rm -rf conftest.dSYM
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6631 $as_echo "$lt_cv_ld_force_load" >&6; }
6633 rhapsody* | darwin1.[012])
6634 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6636 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6637 darwin*) # darwin 5.x on
6638 # if running on 10.5 or later, the deployment target defaults
6639 # to the OS version, if on x86, and 10.4, the deployment
6640 # target defaults to 10.4. Don't you love it?
6641 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6642 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6643 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6645 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6647 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6651 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6652 _lt_dar_single_mod='$single_module'
6654 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6655 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6657 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6659 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6660 _lt_dsymutil='~$DSYMUTIL $lib || :'
6668 ac_cpp='$CPP $CPPFLAGS'
6669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6673 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6674 # On Suns, sometimes $CPP names a directory.
6675 if test -n "$CPP" && test -d "$CPP"; then
6678 if test -z "$CPP"; then
6679 if test "${ac_cv_prog_CPP+set}" = set; then :
6680 $as_echo_n "(cached
) " >&6
6682 # Double quotes because CPP needs to be expanded
6683 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6686 for ac_c_preproc_warn_flag in '' yes
6688 # Use a header file that comes with gcc, so configuring glibc
6689 # with a fresh cross-compiler works.
6690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6691 # <limits.h> exists even on freestanding compilers.
6692 # On the NeXT, cc -E runs the code through the compiler's parser,
6693 # not just through cpp. "Syntax error
" is here to catch this case.
6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6697 # include <limits.h>
6699 # include <assert.h>
6703 if ac_fn_c_try_cpp "$LINENO"; then :
6706 # Broken: fails on valid input.
6709 rm -f conftest.err conftest.$ac_ext
6711 # OK, works on sane cases. Now check whether nonexistent headers
6712 # can be detected and how.
6713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6715 #include <ac_nonexistent.h>
6717 if ac_fn_c_try_cpp "$LINENO"; then :
6718 # Broken: success on invalid input.
6721 # Passes both tests.
6725 rm -f conftest.err conftest.$ac_ext
6728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6729 rm -f conftest.err conftest.$ac_ext
6730 if $ac_preproc_ok; then :
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6743 $as_echo "$CPP" >&6; }
6745 for ac_c_preproc_warn_flag in '' yes
6747 # Use a header file that comes with gcc, so configuring glibc
6748 # with a fresh cross-compiler works.
6749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6750 # <limits.h> exists even on freestanding compilers.
6751 # On the NeXT, cc -E runs the code through the compiler's parser,
6752 # not just through cpp. "Syntax error
" is here to catch this case.
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6756 # include <limits.h>
6758 # include <assert.h>
6762 if ac_fn_c_try_cpp "$LINENO"; then :
6765 # Broken: fails on valid input.
6768 rm -f conftest.err conftest.$ac_ext
6770 # OK, works on sane cases. Now check whether nonexistent headers
6771 # can be detected and how.
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6774 #include <ac_nonexistent.h>
6776 if ac_fn_c_try_cpp "$LINENO"; then :
6777 # Broken: success on invalid input.
6780 # Passes both tests.
6784 rm -f conftest.err conftest.$ac_ext
6787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6788 rm -f conftest.err conftest.$ac_ext
6789 if $ac_preproc_ok; then :
6792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6794 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6795 See \`config.log' for more details.
" "$LINENO" 5; }
6799 ac_cpp='$CPP $CPPFLAGS'
6800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6806 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6807 if test "${ac_cv_header_stdc+set}" = set; then :
6808 $as_echo_n "(cached
) " >&6
6810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6811 /* end confdefs.h. */
6825 if ac_fn_c_try_compile "$LINENO"; then :
6826 ac_cv_header_stdc=yes
6828 ac_cv_header_stdc=no
6830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6832 if test $ac_cv_header_stdc = yes; then
6833 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6839 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6840 $EGREP "memchr
" >/dev/null 2>&1; then :
6843 ac_cv_header_stdc=no
6849 if test $ac_cv_header_stdc = yes; then
6850 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6856 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6857 $EGREP "free
" >/dev/null 2>&1; then :
6860 ac_cv_header_stdc=no
6866 if test $ac_cv_header_stdc = yes; then
6867 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6868 if test "$cross_compiling" = yes; then :
6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6875 #if ((' ' & 0x0FF) == 0x020)
6876 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6877 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6879 # define ISLOWER(c) \
6880 (('a' <= (c) && (c) <= 'i') \
6881 || ('j' <= (c) && (c) <= 'r') \
6882 || ('s' <= (c) && (c) <= 'z'))
6883 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6886 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6891 for (i = 0; i < 256; i++)
6892 if (XOR (islower (i), ISLOWER (i))
6893 || toupper (i) != TOUPPER (i))
6898 if ac_fn_c_try_run "$LINENO"; then :
6901 ac_cv_header_stdc=no
6903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6904 conftest.$ac_objext conftest.beam conftest.$ac_ext
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6910 $as_echo "$ac_cv_header_stdc" >&6; }
6911 if test $ac_cv_header_stdc = yes; then
6913 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6917 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6918 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6919 inttypes.h stdint.h unistd.h
6921 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6922 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6924 eval as_val
=\$
$as_ac_Header
6925 if test "x$as_val" = x
""yes; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6935 for ac_header
in dlfcn.h
6937 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6939 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6940 cat >>confdefs.h
<<_ACEOF
6941 #define HAVE_DLFCN_H 1
6962 # Check whether --enable-shared was given.
6963 if test "${enable_shared+set}" = set; then :
6964 enableval
=$enable_shared; p
=${PACKAGE-default}
6966 yes) enable_shared
=yes ;;
6967 no
) enable_shared
=no
;;
6970 # Look at the argument we got. We use all the common list separators.
6971 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6972 for pkg
in $enableval; do
6974 if test "X$pkg" = "X$p"; then
6993 # Check whether --enable-static was given.
6994 if test "${enable_static+set}" = set; then :
6995 enableval
=$enable_static; p
=${PACKAGE-default}
6997 yes) enable_static
=yes ;;
6998 no
) enable_static
=no
;;
7001 # Look at the argument we got. We use all the common list separators.
7002 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7003 for pkg
in $enableval; do
7005 if test "X$pkg" = "X$p"; then
7025 # Check whether --with-pic was given.
7026 if test "${with_pic+set}" = set; then :
7027 withval
=$with_pic; pic_mode
="$withval"
7033 test -z "$pic_mode" && pic_mode
=default
7041 # Check whether --enable-fast-install was given.
7042 if test "${enable_fast_install+set}" = set; then :
7043 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7045 yes) enable_fast_install
=yes ;;
7046 no
) enable_fast_install
=no
;;
7048 enable_fast_install
=no
7049 # Look at the argument we got. We use all the common list separators.
7050 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7051 for pkg
in $enableval; do
7053 if test "X$pkg" = "X$p"; then
7054 enable_fast_install
=yes
7061 enable_fast_install
=yes
7074 # This can be used to rebuild libtool when needed
7075 LIBTOOL_DEPS
="$ltmain"
7077 # Always use our own libtool.
7078 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7105 test -z "$LN_S" && LN_S
="ln -s"
7120 if test -n "${ZSH_VERSION+set}" ; then
7121 setopt NO_GLOB_SUBST
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7125 $as_echo_n "checking for objdir... " >&6; }
7126 if test "${lt_cv_objdir+set}" = set; then :
7127 $as_echo_n "(cached) " >&6
7129 rm -f .libs
2>/dev
/null
7130 mkdir .libs
2>/dev
/null
7131 if test -d .libs
; then
7134 # MS-DOS does not allow filenames that begin with a dot.
7137 rmdir .libs
2>/dev
/null
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7140 $as_echo "$lt_cv_objdir" >&6; }
7141 objdir
=$lt_cv_objdir
7147 cat >>confdefs.h
<<_ACEOF
7148 #define LT_OBJDIR "$lt_cv_objdir/"
7156 # AIX sometimes has problems with the GCC collect2 program. For some
7157 # reason, if we set the COLLECT_NAMES environment variable, the problems
7158 # vanish in a puff of smoke.
7159 if test "X${COLLECT_NAMES+set}" != Xset
; then
7161 export COLLECT_NAMES
7168 can_build_shared
=yes
7170 # All known linkers require a `.a' archive for static linking (except MSVC,
7171 # which needs '.lib').
7174 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7177 old_CFLAGS
="$CFLAGS"
7179 # Set sane defaults for various variables
7180 test -z "$CC" && CC
=cc
7181 test -z "$LTCC" && LTCC
=$CC
7182 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7183 test -z "$LD" && LD
=ld
7184 test -z "$ac_objext" && ac_objext
=o
7186 for cc_temp
in $compiler""; do
7188 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7189 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7194 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7197 # Only perform the check for file, if the check method requires it
7198 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7199 case $deplibs_check_method in
7201 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7203 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7204 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7205 $as_echo_n "(cached) " >&6
7209 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7212 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7213 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7214 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7215 for ac_dir
in $ac_dummy; do
7217 test -z "$ac_dir" && ac_dir
=.
7218 if test -f $ac_dir/${ac_tool_prefix}file; then
7219 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7220 if test -n "$file_magic_test_file"; then
7221 case $deplibs_check_method in
7223 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7224 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7225 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7226 $EGREP "$file_magic_regex" > /dev
/null
; then
7231 *** Warning: the command libtool uses to detect shared libraries,
7232 *** $file_magic_cmd, produces output that libtool cannot recognize.
7233 *** The result is that libtool may fail to recognize shared libraries
7234 *** as such. This will affect the creation of libtool libraries that
7235 *** depend on shared libraries, but programs linked with such libtool
7236 *** libraries will work regardless of this problem. Nevertheless, you
7237 *** may want to report the problem to your system manager and/or to
7238 *** bug-libtool@gnu.org
7248 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7253 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7254 if test -n "$MAGIC_CMD"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7256 $as_echo "$MAGIC_CMD" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7266 if test -z "$lt_cv_path_MAGIC_CMD"; then
7267 if test -n "$ac_tool_prefix"; then
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7269 $as_echo_n "checking for file... " >&6; }
7270 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7271 $as_echo_n "(cached) " >&6
7275 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7278 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7279 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7280 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7281 for ac_dir
in $ac_dummy; do
7283 test -z "$ac_dir" && ac_dir
=.
7284 if test -f $ac_dir/file; then
7285 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7286 if test -n "$file_magic_test_file"; then
7287 case $deplibs_check_method in
7289 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7290 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7291 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7292 $EGREP "$file_magic_regex" > /dev
/null
; then
7297 *** Warning: the command libtool uses to detect shared libraries,
7298 *** $file_magic_cmd, produces output that libtool cannot recognize.
7299 *** The result is that libtool may fail to recognize shared libraries
7300 *** as such. This will affect the creation of libtool libraries that
7301 *** depend on shared libraries, but programs linked with such libtool
7302 *** libraries will work regardless of this problem. Nevertheless, you
7303 *** may want to report the problem to your system manager and/or to
7304 *** bug-libtool@gnu.org
7314 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7319 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7320 if test -n "$MAGIC_CMD"; then
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7322 $as_echo "$MAGIC_CMD" >&6; }
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325 $as_echo "no" >&6; }
7338 # Use C for the default configuration in the libtool script
7342 ac_cpp
='$CPP $CPPFLAGS'
7343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7348 # Source file extension for C test sources.
7351 # Object file extension for compiled C test sources.
7355 # Code to be used in simple compile tests
7356 lt_simple_compile_test_code
="int some_variable = 0;"
7358 # Code to be used in simple link tests
7359 lt_simple_link_test_code
='int main(){return(0);}'
7367 # If no C compiler was specified, use CC.
7370 # If no C compiler flags were specified, use CFLAGS.
7371 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7373 # Allow CC to be a program name with arguments.
7376 # Save the default compiler, since it gets overwritten when the other
7377 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7378 compiler_DEFAULT
=$CC
7380 # save warnings/boilerplate of simple test code
7381 ac_outfile
=conftest.
$ac_objext
7382 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7383 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7384 _lt_compiler_boilerplate
=`cat conftest.err`
7387 ac_outfile
=conftest.
$ac_objext
7388 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7389 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7390 _lt_linker_boilerplate
=`cat conftest.err`
7395 ## There is no encapsulation within the following macros, do not change
7396 ## the running order or otherwise move them around unless you know exactly
7397 ## what you are doing...
7398 if test -n "$compiler"; then
7400 lt_prog_compiler_no_builtin_flag
=
7402 if test "$GCC" = yes; then
7403 case $cc_basename in
7405 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7407 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7411 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7412 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7413 $as_echo_n "(cached) " >&6
7415 lt_cv_prog_compiler_rtti_exceptions
=no
7416 ac_outfile
=conftest.
$ac_objext
7417 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7418 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7419 # Insert the option either (1) after the last *FLAGS variable, or
7420 # (2) before a word containing "conftest.", or (3) at the end.
7421 # Note that $ac_compile itself does not contain backslashes and begins
7422 # with a dollar sign (not a hyphen), so the echo should work correctly.
7423 # The option is referenced via a variable to avoid confusing sed.
7424 lt_compile
=`echo "$ac_compile" | $SED \
7425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7427 -e 's:$: $lt_compiler_flag:'`
7428 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7429 (eval "$lt_compile" 2>conftest.err
)
7431 cat conftest.err
>&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 if (exit $ac_status) && test -s "$ac_outfile"; then
7434 # The compiler can only warn and ignore the option if not recognized
7435 # So say no if there are warnings other than the usual output.
7436 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7437 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7438 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7439 lt_cv_prog_compiler_rtti_exceptions
=yes
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7446 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7448 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7449 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7461 lt_prog_compiler_wl
=
7462 lt_prog_compiler_pic
=
7463 lt_prog_compiler_static
=
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7466 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7468 if test "$GCC" = yes; then
7469 lt_prog_compiler_wl
='-Wl,'
7470 lt_prog_compiler_static
='-static'
7474 # All AIX code is PIC.
7475 if test "$host_cpu" = ia64
; then
7476 # AIX 5 now supports IA64 processor
7477 lt_prog_compiler_static
='-Bstatic'
7484 # see comment about AmigaOS4 .so support
7485 lt_prog_compiler_pic
='-fPIC'
7488 # FIXME: we need at least 68020 code to build shared libraries, but
7489 # adding the `-m68020' flag to GCC prevents building anything better,
7491 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7496 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7497 # PIC is the default for these OSes.
7500 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7501 # This hack is so that the source file can tell whether it is being
7502 # built for inclusion in a dll (and should export symbols for example).
7503 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7504 # (--disable-auto-import) libraries
7505 lt_prog_compiler_pic
='-DDLL_EXPORT'
7508 darwin
* | rhapsody
*)
7509 # PIC is the default on this platform
7510 # Common symbols not allowed in MH_DYLIB files
7511 lt_prog_compiler_pic
='-fno-common'
7515 # PIC is the default for Haiku.
7516 # The "-static" flag exists, but is broken.
7517 lt_prog_compiler_static
=
7521 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7522 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7523 # sets the default TLS model and affects inlining.
7529 lt_prog_compiler_pic
='-fPIC'
7535 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7536 # Instead, we relocate shared libraries at runtime.
7540 # Just because we use GCC doesn't mean we suddenly get shared libraries
7541 # on systems that don't support them.
7542 lt_prog_compiler_can_build_shared
=no
7547 # QNX uses GNU C++, but need to define -shared option too, otherwise
7549 lt_prog_compiler_pic
='-fPIC -shared'
7553 if test -d /usr
/nec
; then
7554 lt_prog_compiler_pic
=-Kconform_pic
7559 lt_prog_compiler_pic
='-fPIC'
7563 case $cc_basename in
7564 nvcc
*) # Cuda Compiler Driver 2.2
7565 lt_prog_compiler_wl
='-Xlinker '
7566 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7570 # PORTME Check for flag to pass linker flags through the system compiler.
7573 lt_prog_compiler_wl
='-Wl,'
7574 if test "$host_cpu" = ia64
; then
7575 # AIX 5 now supports IA64 processor
7576 lt_prog_compiler_static
='-Bstatic'
7578 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7582 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7583 # This hack is so that the source file can tell whether it is being
7584 # built for inclusion in a dll (and should export symbols for example).
7585 lt_prog_compiler_pic
='-DDLL_EXPORT'
7588 hpux9
* | hpux10
* | hpux11
*)
7589 lt_prog_compiler_wl
='-Wl,'
7590 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7597 lt_prog_compiler_pic
='+Z'
7600 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7601 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7604 irix5
* | irix6
* | nonstopux
*)
7605 lt_prog_compiler_wl
='-Wl,'
7606 # PIC (with -KPIC) is the default.
7607 lt_prog_compiler_static
='-non_shared'
7610 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7611 case $cc_basename in
7612 # old Intel for x86_64 which still supported -KPIC.
7614 lt_prog_compiler_wl
='-Wl,'
7615 lt_prog_compiler_pic
='-KPIC'
7616 lt_prog_compiler_static
='-static'
7618 # icc used to be incompatible with GCC.
7619 # ICC 10 doesn't accept -KPIC any more.
7621 lt_prog_compiler_wl
='-Wl,'
7622 lt_prog_compiler_pic
='-fPIC'
7623 lt_prog_compiler_static
='-static'
7625 # Lahey Fortran 8.1.
7627 lt_prog_compiler_wl
='-Wl,'
7628 lt_prog_compiler_pic
='--shared'
7629 lt_prog_compiler_static
='--static'
7631 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7632 # Portland Group compilers (*not* the Pentium gcc compiler,
7633 # which looks to be a dead project)
7634 lt_prog_compiler_wl
='-Wl,'
7635 lt_prog_compiler_pic
='-fpic'
7636 lt_prog_compiler_static
='-Bstatic'
7639 lt_prog_compiler_wl
='-Wl,'
7640 # All Alpha code is PIC.
7641 lt_prog_compiler_static
='-non_shared'
7643 xl
* | bgxl
* | bgf
* | mpixl
*)
7644 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7645 lt_prog_compiler_wl
='-Wl,'
7646 lt_prog_compiler_pic
='-qpic'
7647 lt_prog_compiler_static
='-qstaticlink'
7650 case `$CC -V 2>&1 | sed 5q` in
7651 *Sun\ F
* |
*Sun
*Fortran
*)
7652 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7653 lt_prog_compiler_pic
='-KPIC'
7654 lt_prog_compiler_static
='-Bstatic'
7655 lt_prog_compiler_wl
=''
7659 lt_prog_compiler_pic
='-KPIC'
7660 lt_prog_compiler_static
='-Bstatic'
7661 lt_prog_compiler_wl
='-Wl,'
7669 lt_prog_compiler_pic
='-KPIC'
7670 lt_prog_compiler_static
='-Bstatic'
7674 # QNX uses GNU C++, but need to define -shared option too, otherwise
7676 lt_prog_compiler_pic
='-fPIC -shared'
7679 osf3
* | osf4
* | osf5
*)
7680 lt_prog_compiler_wl
='-Wl,'
7681 # All OSF/1 code is PIC.
7682 lt_prog_compiler_static
='-non_shared'
7686 lt_prog_compiler_static
='-non_shared'
7690 lt_prog_compiler_pic
='-KPIC'
7691 lt_prog_compiler_static
='-Bstatic'
7692 case $cc_basename in
7694 lt_prog_compiler_wl
='-Qoption ld ';;
7696 lt_prog_compiler_wl
='-Wl,';;
7701 lt_prog_compiler_wl
='-Qoption ld '
7702 lt_prog_compiler_pic
='-PIC'
7703 lt_prog_compiler_static
='-Bstatic'
7706 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7707 lt_prog_compiler_wl
='-Wl,'
7708 lt_prog_compiler_pic
='-KPIC'
7709 lt_prog_compiler_static
='-Bstatic'
7713 if test -d /usr
/nec
;then
7714 lt_prog_compiler_pic
='-Kconform_pic'
7715 lt_prog_compiler_static
='-Bstatic'
7719 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7720 lt_prog_compiler_wl
='-Wl,'
7721 lt_prog_compiler_pic
='-KPIC'
7722 lt_prog_compiler_static
='-Bstatic'
7726 lt_prog_compiler_wl
='-Wl,'
7727 lt_prog_compiler_can_build_shared
=no
7731 lt_prog_compiler_pic
='-pic'
7732 lt_prog_compiler_static
='-Bstatic'
7736 lt_prog_compiler_can_build_shared
=no
7742 # For platforms which do not support PIC, -DPIC is meaningless:
7744 lt_prog_compiler_pic
=
7747 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7751 $as_echo "$lt_prog_compiler_pic" >&6; }
7759 # Check to make sure the PIC flag actually works.
7761 if test -n "$lt_prog_compiler_pic"; then
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7763 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7764 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7765 $as_echo_n "(cached) " >&6
7767 lt_cv_prog_compiler_pic_works
=no
7768 ac_outfile
=conftest.
$ac_objext
7769 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7770 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7771 # Insert the option either (1) after the last *FLAGS variable, or
7772 # (2) before a word containing "conftest.", or (3) at the end.
7773 # Note that $ac_compile itself does not contain backslashes and begins
7774 # with a dollar sign (not a hyphen), so the echo should work correctly.
7775 # The option is referenced via a variable to avoid confusing sed.
7776 lt_compile
=`echo "$ac_compile" | $SED \
7777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7779 -e 's:$: $lt_compiler_flag:'`
7780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7781 (eval "$lt_compile" 2>conftest.err
)
7783 cat conftest.err
>&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 if (exit $ac_status) && test -s "$ac_outfile"; then
7786 # The compiler can only warn and ignore the option if not recognized
7787 # So say no if there are warnings other than the usual output.
7788 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7789 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7790 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7791 lt_cv_prog_compiler_pic_works
=yes
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7798 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7800 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7801 case $lt_prog_compiler_pic in
7803 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7806 lt_prog_compiler_pic
=
7807 lt_prog_compiler_can_build_shared
=no
7818 # Check to make sure the static flag actually works.
7820 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7822 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7823 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7826 lt_cv_prog_compiler_static_works
=no
7827 save_LDFLAGS
="$LDFLAGS"
7828 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7829 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7830 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7831 # The linker can only warn and ignore the option if not recognized
7832 # So say no if there are warnings
7833 if test -s conftest.err
; then
7834 # Append any errors to the config.log.
7835 cat conftest.err
1>&5
7836 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7837 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7838 if diff conftest.exp conftest.er2
>/dev
/null
; then
7839 lt_cv_prog_compiler_static_works
=yes
7842 lt_cv_prog_compiler_static_works
=yes
7846 LDFLAGS
="$save_LDFLAGS"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7850 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7852 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7855 lt_prog_compiler_static
=
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7866 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7867 $as_echo_n "(cached) " >&6
7869 lt_cv_prog_compiler_c_o
=no
7870 $RM -r conftest
2>/dev
/null
7874 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7876 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7877 # Insert the option either (1) after the last *FLAGS variable, or
7878 # (2) before a word containing "conftest.", or (3) at the end.
7879 # Note that $ac_compile itself does not contain backslashes and begins
7880 # with a dollar sign (not a hyphen), so the echo should work correctly.
7881 lt_compile
=`echo "$ac_compile" | $SED \
7882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7884 -e 's:$: $lt_compiler_flag:'`
7885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7886 (eval "$lt_compile" 2>out
/conftest.err
)
7888 cat out
/conftest.err
>&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7892 # The compiler can only warn and ignore the option if not recognized
7893 # So say no if there are warnings
7894 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7895 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7896 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7897 lt_cv_prog_compiler_c_o
=yes
7902 # SGI C++ compiler will create directory out/ii_files/ for
7903 # template instantiation
7904 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7905 $RM out
/* && rmdir out
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7912 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7921 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7922 $as_echo_n "(cached) " >&6
7924 lt_cv_prog_compiler_c_o
=no
7925 $RM -r conftest
2>/dev
/null
7929 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7931 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7932 # Insert the option either (1) after the last *FLAGS variable, or
7933 # (2) before a word containing "conftest.", or (3) at the end.
7934 # Note that $ac_compile itself does not contain backslashes and begins
7935 # with a dollar sign (not a hyphen), so the echo should work correctly.
7936 lt_compile
=`echo "$ac_compile" | $SED \
7937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7939 -e 's:$: $lt_compiler_flag:'`
7940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7941 (eval "$lt_compile" 2>out
/conftest.err
)
7943 cat out
/conftest.err
>&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7947 # The compiler can only warn and ignore the option if not recognized
7948 # So say no if there are warnings
7949 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7950 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7951 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7952 lt_cv_prog_compiler_c_o
=yes
7957 # SGI C++ compiler will create directory out/ii_files/ for
7958 # template instantiation
7959 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7960 $RM out
/* && rmdir out
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7972 hard_links
="nottested"
7973 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7974 # do not overwrite the value of need_locks provided by the user
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7976 $as_echo_n "checking if we can lock with hard links... " >&6; }
7979 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7981 ln conftest.a conftest.b
2>&5 || hard_links
=no
7982 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7984 $as_echo "$hard_links" >&6; }
7985 if test "$hard_links" = no
; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7987 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8000 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8003 allow_undefined_flag
=
8004 always_export_symbols
=no
8006 archive_expsym_cmds
=
8007 compiler_needs_object
=no
8008 enable_shared_with_static_runtimes
=no
8009 export_dynamic_flag_spec
=
8010 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8011 hardcode_automatic
=no
8013 hardcode_direct_absolute
=no
8014 hardcode_libdir_flag_spec
=
8015 hardcode_libdir_flag_spec_ld
=
8016 hardcode_libdir_separator
=
8018 hardcode_shlibpath_var
=unsupported
8020 link_all_deplibs
=unknown
8023 old_archive_from_new_cmds
=
8024 old_archive_from_expsyms_cmds
=
8025 thread_safe_flag_spec
=
8026 whole_archive_flag_spec
=
8027 # include_expsyms should be a list of space-separated symbols to be *always*
8028 # included in the symbol list
8030 # exclude_expsyms can be an extended regexp of symbols to exclude
8031 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8032 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8033 # as well as any symbol that contains `d'.
8034 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8035 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8036 # platforms (ab)use it in PIC code, but their linkers get confused if
8037 # the symbol is explicitly referenced. Since portable code cannot
8038 # rely on this symbol name, it's probably fine to never include it in
8039 # preloaded symbol tables.
8040 # Exclude shared library initialization/finalization symbols.
8041 extract_expsyms_cmds
=
8044 cygwin
* | mingw
* | pw32
* | cegcc
*)
8045 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8046 # When not using gcc, we currently assume that we are using
8047 # Microsoft Visual C++.
8048 if test "$GCC" != yes; then
8053 # we just hope/assume this is gcc and not c89 (= MSVC++)
8063 # On some targets, GNU ld is compatible enough with the native linker
8064 # that we're better off using the native interface for both.
8065 lt_use_gnu_ld_interface
=no
8066 if test "$with_gnu_ld" = yes; then
8069 # The AIX port of GNU ld has always aspired to compatibility
8070 # with the native linker. However, as the warning in the GNU ld
8071 # block says, versions before 2.19.5* couldn't really create working
8072 # shared libraries, regardless of the interface used.
8073 case `$LD -v 2>&1` in
8074 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8075 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8076 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8078 lt_use_gnu_ld_interface
=yes
8083 lt_use_gnu_ld_interface
=yes
8088 if test "$lt_use_gnu_ld_interface" = yes; then
8089 # If archive_cmds runs LD, not CC, wlarc should be empty
8092 # Set some defaults for GNU ld with shared library support. These
8093 # are reset later if shared libraries are not supported. Putting them
8094 # here allows them to be overridden if necessary.
8095 runpath_var
=LD_RUN_PATH
8096 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8097 export_dynamic_flag_spec
='${wl}--export-dynamic'
8098 # ancient GNU ld didn't support --whole-archive et. al.
8099 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8100 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8102 whole_archive_flag_spec
=
8104 supports_anon_versioning
=no
8105 case `$LD -v 2>&1` in
8106 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8107 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8108 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8109 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8110 *\
2.11.
*) ;; # other 2.11 versions
8111 *) supports_anon_versioning
=yes ;;
8114 # See if GNU ld supports shared libraries.
8117 # On AIX/PPC, the GNU linker is very broken
8118 if test "$host_cpu" != ia64
; then
8122 *** Warning: the GNU linker, at least up to release 2.19, is reported
8123 *** to be unable to reliably create shared libraries on AIX.
8124 *** Therefore, libtool is disabling shared libraries support. If you
8125 *** really care for shared libraries, you may want to install binutils
8126 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8127 *** You will then need to restart the configuration process.
8136 # see comment about AmigaOS4 .so support
8137 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8138 archive_expsym_cmds
=''
8141 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)'
8142 hardcode_libdir_flag_spec
='-L$libdir'
8143 hardcode_minus_L
=yes
8149 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8150 allow_undefined_flag
=unsupported
8151 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8152 # support --undefined. This deserves some investigation. FIXME
8153 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8159 cygwin
* | mingw
* | pw32
* | cegcc
*)
8160 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8161 # as there is no search path for DLLs.
8162 hardcode_libdir_flag_spec
='-L$libdir'
8163 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8164 allow_undefined_flag
=unsupported
8165 always_export_symbols
=no
8166 enable_shared_with_static_runtimes
=yes
8167 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8169 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8170 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8171 # If the export-symbols file already is a .def file (1st line
8172 # is EXPORTS), use it as is; otherwise, prepend...
8173 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8174 cp $export_symbols $output_objdir/$soname.def;
8176 echo EXPORTS > $output_objdir/$soname.def;
8177 cat $export_symbols >> $output_objdir/$soname.def;
8179 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8186 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8187 link_all_deplibs
=yes
8192 hardcode_shlibpath_var
=no
8193 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8194 export_dynamic_flag_spec
='${wl}-E'
8195 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8196 # Instead, shared libraries are loaded at an image base (0x10000000 by
8197 # default) and relocated if they conflict, which is a slow very memory
8198 # consuming and fragmenting process. To avoid this, we pick a random,
8199 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8200 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8201 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8202 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'
8205 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8207 if test "$host_os" = linux-dietlibc
; then
8208 case $cc_basename in
8209 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8212 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8213 && test "$tmp_diet" = no
8216 tmp_sharedflag
='-shared'
8217 case $cc_basename,$host_cpu in
8218 pgcc
*) # Portland Group C compiler
8219 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'
8220 tmp_addflag
=' $pic_flag'
8222 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8223 # Portland Group f77 and f90 compilers
8224 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'
8225 tmp_addflag
=' $pic_flag -Mnomain' ;;
8226 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8227 tmp_addflag
=' -i_dynamic' ;;
8228 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8229 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8230 ifc
* | ifort
*) # Intel Fortran compiler
8231 tmp_addflag
=' -nofor_main' ;;
8232 lf95
*) # Lahey Fortran 8.1
8233 whole_archive_flag_spec
=
8234 tmp_sharedflag
='--shared' ;;
8235 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8236 tmp_sharedflag
='-qmkshrobj'
8238 nvcc
*) # Cuda Compiler Driver 2.2
8239 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'
8240 compiler_needs_object
=yes
8243 case `$CC -V 2>&1 | sed 5q` in
8244 *Sun\ C
*) # Sun C 5.9
8245 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'
8246 compiler_needs_object
=yes
8247 tmp_sharedflag
='-G' ;;
8248 *Sun\ F
*) # Sun Fortran 8.3
8249 tmp_sharedflag
='-G' ;;
8251 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8253 if test "x$supports_anon_versioning" = xyes
; then
8254 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8255 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8256 echo "local: *; };" >> $output_objdir/$libname.ver~
8257 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8260 case $cc_basename in
8261 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8262 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8263 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8264 hardcode_libdir_flag_spec
=
8265 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8266 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8267 if test "x$supports_anon_versioning" = xyes
; then
8268 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8269 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8270 echo "local: *; };" >> $output_objdir/$libname.ver~
8271 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8281 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8282 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8285 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8286 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8291 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8295 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8296 *** create shared libraries on Solaris systems. Therefore, libtool
8297 *** is disabling shared libraries support. We urge you to upgrade GNU
8298 *** binutils to release 2.9.1 or newer. Another option is to modify
8299 *** your PATH or compiler configuration so that the native linker is
8300 *** used, and then restart.
8303 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8304 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8305 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8311 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8312 case `$LD -v 2>&1` in
8313 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8317 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8318 *** reliably create shared libraries on SCO systems. Therefore, libtool
8319 *** is disabling shared libraries support. We urge you to upgrade GNU
8320 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8321 *** your PATH or compiler configuration so that the native linker is
8322 *** used, and then restart.
8327 # For security reasons, it is highly recommended that you always
8328 # use absolute paths for naming shared libraries, and exclude the
8329 # DT_RUNPATH tag from executables and libraries. But doing so
8330 # requires that you compile everything twice, which is a pain.
8331 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8332 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8333 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8334 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8343 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8346 hardcode_shlibpath_var
=no
8350 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8351 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8352 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8359 if test "$ld_shlibs" = no
; then
8361 hardcode_libdir_flag_spec
=
8362 export_dynamic_flag_spec
=
8363 whole_archive_flag_spec
=
8366 # PORTME fill in a description of your system's linker (not GNU ld)
8369 allow_undefined_flag
=unsupported
8370 always_export_symbols
=yes
8371 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'
8372 # Note: this linker hardcodes the directories in LIBPATH if there
8373 # are no directories specified by -L.
8374 hardcode_minus_L
=yes
8375 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8376 # Neither direct hardcoding nor static linking is supported with a
8378 hardcode_direct
=unsupported
8383 if test "$host_cpu" = ia64
; then
8384 # On IA64, the linker does run time linking by default, so we don't
8385 # have to do anything special.
8386 aix_use_runtimelinking
=no
8387 exp_sym_flag
='-Bexport'
8390 # If we're using GNU nm, then we don't want the "-C" option.
8391 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8392 # Also, AIX nm treats weak defined symbols like other global
8393 # defined symbols, whereas GNU nm marks them as "W".
8394 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8395 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'
8397 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'
8399 aix_use_runtimelinking
=no
8401 # Test if we are trying to use run time linking or normal
8402 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8403 # need to do runtime linking.
8404 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8405 for ld_flag
in $LDFLAGS; do
8406 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8407 aix_use_runtimelinking
=yes
8414 exp_sym_flag
='-bexport'
8415 no_entry_flag
='-bnoentry'
8418 # When large executables or shared objects are built, AIX ld can
8419 # have problems creating the table of contents. If linking a library
8420 # or program results in "error TOC overflow" add -mminimal-toc to
8421 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8422 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8426 hardcode_direct_absolute
=yes
8427 hardcode_libdir_separator
=':'
8428 link_all_deplibs
=yes
8429 file_list_spec
='${wl}-f,'
8431 if test "$GCC" = yes; then
8432 case $host_os in aix4.
[012]|aix4.
[012].
*)
8433 # We only want to do this on AIX 4.2 and lower, the check
8434 # below for broken collect2 doesn't work under 4.3+
8435 collect2name
=`${CC} -print-prog-name=collect2`
8436 if test -f "$collect2name" &&
8437 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8439 # We have reworked collect2
8442 # We have old collect2
8443 hardcode_direct
=unsupported
8444 # It fails to find uninstalled libraries when the uninstalled
8445 # path is not listed in the libpath. Setting hardcode_minus_L
8446 # to unsupported forces relinking
8447 hardcode_minus_L
=yes
8448 hardcode_libdir_flag_spec
='-L$libdir'
8449 hardcode_libdir_separator
=
8453 shared_flag
='-shared'
8454 if test "$aix_use_runtimelinking" = yes; then
8455 shared_flag
="$shared_flag "'${wl}-G'
8459 if test "$host_cpu" = ia64
; then
8460 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8461 # chokes on -Wl,-G. The following line is correct:
8464 if test "$aix_use_runtimelinking" = yes; then
8465 shared_flag
='${wl}-G'
8467 shared_flag
='${wl}-bM:SRE'
8472 export_dynamic_flag_spec
='${wl}-bexpall'
8473 # It seems that -bexpall does not export symbols beginning with
8474 # underscore (_), so it is better to generate a list of symbols to export.
8475 always_export_symbols
=yes
8476 if test "$aix_use_runtimelinking" = yes; then
8477 # Warning - without using the other runtime loading flags (-brtl),
8478 # -berok will link without error, but may produce a broken library.
8479 allow_undefined_flag
='-berok'
8480 # Determine the default libpath from the value encoded in an
8482 if test x
$gcc_no_link = xyes
; then
8483 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8496 if ac_fn_c_try_link
"$LINENO"; then :
8498 lt_aix_libpath_sed
='
8499 /Import File Strings/,/^$/ {
8505 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8506 # Check for a 64-bit object if we didn't find anything.
8507 if test -z "$aix_libpath"; then
8508 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8511 rm -f core conftest.err conftest.
$ac_objext \
8512 conftest
$ac_exeext conftest.
$ac_ext
8513 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8515 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8516 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"
8518 if test "$host_cpu" = ia64
; then
8519 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8520 allow_undefined_flag
="-z nodefs"
8521 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"
8523 # Determine the default libpath from the value encoded in an
8525 if test x
$gcc_no_link = xyes
; then
8526 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8539 if ac_fn_c_try_link
"$LINENO"; then :
8541 lt_aix_libpath_sed
='
8542 /Import File Strings/,/^$/ {
8548 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8549 # Check for a 64-bit object if we didn't find anything.
8550 if test -z "$aix_libpath"; then
8551 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8554 rm -f core conftest.err conftest.
$ac_objext \
8555 conftest
$ac_exeext conftest.
$ac_ext
8556 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8558 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8559 # Warning - without using the other run time loading flags,
8560 # -berok will link without error, but may produce a broken library.
8561 no_undefined_flag
=' ${wl}-bernotok'
8562 allow_undefined_flag
=' ${wl}-berok'
8563 if test "$with_gnu_ld" = yes; then
8564 # We only use this code for GNU lds that support --whole-archive.
8565 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8567 # Exported symbols can be pulled into shared objects from archives
8568 whole_archive_flag_spec
='$convenience'
8570 archive_cmds_need_lc
=yes
8571 # This is similar to how AIX traditionally builds its shared libraries.
8572 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'
8580 # see comment about AmigaOS4 .so support
8581 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8582 archive_expsym_cmds
=''
8585 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)'
8586 hardcode_libdir_flag_spec
='-L$libdir'
8587 hardcode_minus_L
=yes
8593 export_dynamic_flag_spec
=-rdynamic
8596 cygwin
* | mingw
* | pw32
* | cegcc
*)
8597 # When not using gcc, we currently assume that we are using
8598 # Microsoft Visual C++.
8599 # hardcode_libdir_flag_spec is actually meaningless, as there is
8600 # no search path for DLLs.
8601 hardcode_libdir_flag_spec
=' '
8602 allow_undefined_flag
=unsupported
8603 # Tell ltmain to make .lib files, not .a files.
8605 # Tell ltmain to make .dll files, not .so files.
8607 # FIXME: Setting linknames here is a bad hack.
8608 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8609 # The linker will automatically build a .lib file if we build a DLL.
8610 old_archive_from_new_cmds
='true'
8611 # FIXME: Should let the user specify the lib program.
8612 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8613 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8614 enable_shared_with_static_runtimes
=yes
8617 darwin
* | rhapsody
*)
8620 archive_cmds_need_lc
=no
8622 hardcode_automatic
=yes
8623 hardcode_shlibpath_var
=unsupported
8624 if test "$lt_cv_ld_force_load" = "yes"; then
8625 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\"`'
8627 whole_archive_flag_spec
=''
8629 link_all_deplibs
=yes
8630 allow_undefined_flag
="$_lt_dar_allow_undefined"
8631 case $cc_basename in
8632 ifort
*) _lt_dar_can_shared
=yes ;;
8633 *) _lt_dar_can_shared
=$GCC ;;
8635 if test "$_lt_dar_can_shared" = "yes"; then
8636 output_verbose_link_cmd
=func_echo_all
8637 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8638 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8639 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}"
8640 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}"
8649 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8650 hardcode_libdir_flag_spec
='-L$libdir'
8651 hardcode_shlibpath_var
=no
8654 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8655 # support. Future versions do this automatically, but an explicit c++rt0.o
8656 # does not break anything, and helps significantly (at the cost of a little
8659 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8660 hardcode_libdir_flag_spec
='-R$libdir'
8662 hardcode_shlibpath_var
=no
8665 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8667 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8669 hardcode_minus_L
=yes
8670 hardcode_shlibpath_var
=no
8673 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8674 freebsd
* | dragonfly
*)
8675 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8676 hardcode_libdir_flag_spec
='-R$libdir'
8678 hardcode_shlibpath_var
=no
8682 if test "$GCC" = yes; then
8683 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'
8685 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'
8687 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8688 hardcode_libdir_separator
=:
8691 # hardcode_minus_L: Not really in the search PATH,
8692 # but as the default location of the library.
8693 hardcode_minus_L
=yes
8694 export_dynamic_flag_spec
='${wl}-E'
8698 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8699 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8701 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8703 if test "$with_gnu_ld" = no
; then
8704 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8705 hardcode_libdir_flag_spec_ld
='+b $libdir'
8706 hardcode_libdir_separator
=:
8708 hardcode_direct_absolute
=yes
8709 export_dynamic_flag_spec
='${wl}-E'
8710 # hardcode_minus_L: Not really in the search PATH,
8711 # but as the default location of the library.
8712 hardcode_minus_L
=yes
8717 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8720 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8723 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8726 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8732 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8735 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8739 # Older versions of the 11.00 compiler do not understand -b yet
8740 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8742 $as_echo_n "checking if $CC understands -b... " >&6; }
8743 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8744 $as_echo_n "(cached) " >&6
8746 lt_cv_prog_compiler__b
=no
8747 save_LDFLAGS
="$LDFLAGS"
8748 LDFLAGS
="$LDFLAGS -b"
8749 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8750 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8751 # The linker can only warn and ignore the option if not recognized
8752 # So say no if there are warnings
8753 if test -s conftest.err
; then
8754 # Append any errors to the config.log.
8755 cat conftest.err
1>&5
8756 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8757 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8758 if diff conftest.exp conftest.er2
>/dev
/null
; then
8759 lt_cv_prog_compiler__b
=yes
8762 lt_cv_prog_compiler__b
=yes
8766 LDFLAGS
="$save_LDFLAGS"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8770 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8772 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8773 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8775 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8781 if test "$with_gnu_ld" = no
; then
8782 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8783 hardcode_libdir_separator
=:
8788 hardcode_shlibpath_var
=no
8792 hardcode_direct_absolute
=yes
8793 export_dynamic_flag_spec
='${wl}-E'
8795 # hardcode_minus_L: Not really in the search PATH,
8796 # but as the default location of the library.
8797 hardcode_minus_L
=yes
8803 irix5
* | irix6
* | nonstopux
*)
8804 if test "$GCC" = yes; then
8805 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'
8806 # Try to use the -exported_symbol ld option, if it does not
8807 # work, assume that -exports_file does not work either and
8808 # implicitly export all symbols.
8809 save_LDFLAGS
="$LDFLAGS"
8810 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8811 if test x
$gcc_no_link = xyes
; then
8812 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8818 if ac_fn_c_try_link
"$LINENO"; then :
8819 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'
8822 rm -f core conftest.err conftest.
$ac_objext \
8823 conftest
$ac_exeext conftest.
$ac_ext
8824 LDFLAGS
="$save_LDFLAGS"
8826 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'
8827 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'
8829 archive_cmds_need_lc
='no'
8830 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8831 hardcode_libdir_separator
=:
8833 link_all_deplibs
=yes
8837 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8838 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8840 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8842 hardcode_libdir_flag_spec
='-R$libdir'
8844 hardcode_shlibpath_var
=no
8848 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8850 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8851 hardcode_libdir_separator
=:
8852 hardcode_shlibpath_var
=no
8859 if test -f /usr
/libexec
/ld.so
; then
8861 hardcode_shlibpath_var
=no
8862 hardcode_direct_absolute
=yes
8863 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8864 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8865 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8866 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8867 export_dynamic_flag_spec
='${wl}-E'
8870 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8871 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8872 hardcode_libdir_flag_spec
='-R$libdir'
8875 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8876 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8886 hardcode_libdir_flag_spec
='-L$libdir'
8887 hardcode_minus_L
=yes
8888 allow_undefined_flag
=unsupported
8889 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'
8890 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8894 if test "$GCC" = yes; then
8895 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8896 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'
8898 allow_undefined_flag
=' -expect_unresolved \*'
8899 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'
8901 archive_cmds_need_lc
='no'
8902 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8903 hardcode_libdir_separator
=:
8906 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8907 if test "$GCC" = yes; then
8908 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8909 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'
8910 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8912 allow_undefined_flag
=' -expect_unresolved \*'
8913 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'
8914 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~
8915 $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'
8917 # Both c and cxx compiler support -rpath directly
8918 hardcode_libdir_flag_spec
='-rpath $libdir'
8920 archive_cmds_need_lc
='no'
8921 hardcode_libdir_separator
=:
8925 no_undefined_flag
=' -z defs'
8926 if test "$GCC" = yes; then
8928 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8929 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8930 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8932 case `$CC -V 2>&1` in
8935 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8936 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8937 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8941 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8942 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8943 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8947 hardcode_libdir_flag_spec
='-R$libdir'
8948 hardcode_shlibpath_var
=no
8950 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8952 # The compiler driver will combine and reorder linker options,
8953 # but understands `-z linker_flag'. GCC discards it without `$wl',
8954 # but is careful enough not to reorder.
8955 # Supported since Solaris 2.6 (maybe 2.5.1?)
8956 if test "$GCC" = yes; then
8957 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8959 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8963 link_all_deplibs
=yes
8967 if test "x$host_vendor" = xsequent
; then
8968 # Use $CC to link under sequent, because it throws in some extra .o
8969 # files that make .init and .fini sections work.
8970 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8972 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8974 hardcode_libdir_flag_spec
='-L$libdir'
8976 hardcode_minus_L
=yes
8977 hardcode_shlibpath_var
=no
8981 case $host_vendor in
8983 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8984 hardcode_direct
=yes # is this really true???
8987 ## LD is ld it makes a PLAMLIB
8988 ## CC just makes a GrossModule.
8989 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8990 reload_cmds
='$CC -r -o $output$reload_objs'
8994 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8995 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8998 runpath_var
='LD_RUN_PATH'
8999 hardcode_shlibpath_var
=no
9003 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9004 hardcode_shlibpath_var
=no
9005 export_dynamic_flag_spec
='-Bexport'
9009 if test -d /usr
/nec
; then
9010 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9011 hardcode_shlibpath_var
=no
9012 runpath_var
=LD_RUN_PATH
9013 hardcode_runpath_var
=yes
9018 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9019 no_undefined_flag
='${wl}-z,text'
9020 archive_cmds_need_lc
=no
9021 hardcode_shlibpath_var
=no
9022 runpath_var
='LD_RUN_PATH'
9024 if test "$GCC" = yes; then
9025 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9026 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9028 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9029 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9033 sysv5
* | sco3.2v5
* | sco5v6
*)
9034 # Note: We can NOT use -z defs as we might desire, because we do not
9035 # link with -lc, and that would cause any symbols used from libc to
9036 # always be unresolved, which means just about no library would
9037 # ever link correctly. If we're not using GNU ld we use -z text
9038 # though, which does catch some bad symbols but isn't as heavy-handed
9040 no_undefined_flag
='${wl}-z,text'
9041 allow_undefined_flag
='${wl}-z,nodefs'
9042 archive_cmds_need_lc
=no
9043 hardcode_shlibpath_var
=no
9044 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9045 hardcode_libdir_separator
=':'
9046 link_all_deplibs
=yes
9047 export_dynamic_flag_spec
='${wl}-Bexport'
9048 runpath_var
='LD_RUN_PATH'
9050 if test "$GCC" = yes; then
9051 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9054 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9060 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9061 hardcode_libdir_flag_spec
='-L$libdir'
9062 hardcode_shlibpath_var
=no
9070 if test x
$host_vendor = xsni
; then
9072 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9073 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9080 $as_echo "$ld_shlibs" >&6; }
9081 test "$ld_shlibs" = no
&& can_build_shared
=no
9083 with_gnu_ld
=$with_gnu_ld
9100 # Do we need to explicitly link libc?
9102 case "x$archive_cmds_need_lc" in
9104 # Assume -lc should be added
9105 archive_cmds_need_lc
=yes
9107 if test "$enable_shared" = yes && test "$GCC" = yes; then
9108 case $archive_cmds in
9110 # FIXME: we may have to deal with multi-command sequences.
9113 # Test whether the compiler implicitly links with -lc since on some
9114 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9115 # to ld, don't add -lc before -lgcc.
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9117 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9118 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9119 $as_echo_n "(cached) " >&6
9122 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9125 (eval $ac_compile) 2>&5
9127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9128 test $ac_status = 0; } 2>conftest.err
; then
9131 libobjs
=conftest.
$ac_objext
9133 wl
=$lt_prog_compiler_wl
9134 pic_flag
=$lt_prog_compiler_pic
9140 lt_save_allow_undefined_flag
=$allow_undefined_flag
9141 allow_undefined_flag
=
9142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9143 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9146 test $ac_status = 0; }
9148 lt_cv_archive_cmds_need_lc
=no
9150 lt_cv_archive_cmds_need_lc
=yes
9152 allow_undefined_flag
=$lt_save_allow_undefined_flag
9154 cat conftest.err
1>&5
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9160 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9161 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9325 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9327 if test "$GCC" = yes; then
9329 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9330 *) lt_awk_arg
="/^libraries:/" ;;
9333 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9334 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9336 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9337 case $lt_search_path_spec in
9339 # if the path contains ";" then we assume it to be the separator
9340 # otherwise default to the standard path separator (i.e. ":") - it is
9341 # assumed that no part of a normal pathname contains ";" but that should
9342 # okay in the real world where ";" in dirpaths is itself problematic.
9343 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9346 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9349 # Ok, now we have the path, separated by spaces, we can step through it
9350 # and add multilib dir if necessary.
9351 lt_tmp_lt_search_path_spec
=
9352 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9353 for lt_sys_path
in $lt_search_path_spec; do
9354 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9355 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9357 test -d "$lt_sys_path" && \
9358 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9361 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9362 BEGIN {RS=" "; FS="/|\n";} {
9365 for (lt_i = NF; lt_i > 0; lt_i--) {
9366 if ($lt_i != "" && $lt_i != ".") {
9367 if ($lt_i == "..") {
9370 if (lt_count == 0) {
9371 lt_foo="/" $lt_i lt_foo;
9378 if (lt_foo != "") { lt_freq[lt_foo]++; }
9379 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9381 # AWK program above erroneously prepends '/' to C:/dos/paths
9384 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9385 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9387 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9389 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9392 libname_spec
='lib$name'
9400 shlibpath_overrides_runpath
=unknown
9402 dynamic_linker
="$host_os ld.so"
9403 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9404 need_lib_prefix
=unknown
9405 hardcode_into_libs
=no
9407 # when you set need_version to no, make sure it does not cause -set_version
9408 # flags to be left without arguments
9409 need_version
=unknown
9414 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9415 shlibpath_var
=LIBPATH
9417 # AIX 3 has no versioning support, so we append a major version to the name.
9418 soname_spec
='${libname}${release}${shared_ext}$major'
9425 hardcode_into_libs
=yes
9426 if test "$host_cpu" = ia64
; then
9427 # AIX 5 supports IA64
9428 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9429 shlibpath_var
=LD_LIBRARY_PATH
9431 # With GCC up to 2.95.x, collect2 would create an import file
9432 # for dependence libraries. The import file would start with
9433 # the line `#! .'. This would cause the generated library to
9434 # depend on `.', always an invalid library. This was fixed in
9435 # development snapshots of GCC prior to 3.0.
9437 aix4 | aix4.
[01] | aix4.
[01].
*)
9438 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9440 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9447 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9448 # soname into executable. Probably we can add versioning support to
9449 # collect2, so additional links can be useful in future.
9450 if test "$aix_use_runtimelinking" = yes; then
9451 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9452 # instead of lib<name>.a to let people know that these are not
9453 # typical AIX shared libraries.
9454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9456 # We preserve .a as extension for shared libraries through AIX4.2
9457 # and later when we are not doing run time linking.
9458 library_names_spec
='${libname}${release}.a $libname.a'
9459 soname_spec
='${libname}${release}${shared_ext}$major'
9461 shlibpath_var
=LIBPATH
9468 # Since July 2007 AmigaOS4 officially supports .so libraries.
9469 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9473 library_names_spec
='$libname.ixlibrary $libname.a'
9474 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9475 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'
9481 library_names_spec
='${libname}${shared_ext}'
9482 dynamic_linker
="$host_os ld.so"
9483 shlibpath_var
=LIBRARY_PATH
9489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9490 soname_spec
='${libname}${release}${shared_ext}$major'
9491 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9492 shlibpath_var
=LD_LIBRARY_PATH
9493 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9494 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9495 # the default ld.so.conf also contains /usr/contrib/lib and
9496 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9497 # libtool to hard-code these into programs
9500 cygwin
* | mingw
* | pw32
* | cegcc
*)
9501 version_type
=windows
9506 case $GCC,$host_os in
9507 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9508 library_names_spec
='$libname.dll.a'
9509 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9510 postinstall_cmds
='base_file=`basename \${file}`~
9511 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9512 dldir=$destdir/`dirname \$dlpath`~
9513 test -d \$dldir || mkdir -p \$dldir~
9514 $install_prog $dir/$dlname \$dldir/$dlname~
9515 chmod a+x \$dldir/$dlname~
9516 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9517 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9519 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9520 dlpath=$dir/\$dldll~
9522 shlibpath_overrides_runpath
=yes
9526 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9527 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9529 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9532 # MinGW DLLs use traditional 'lib' prefix
9533 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9536 # pw32 DLLs use 'pw' prefix rather than 'lib'
9537 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9543 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9546 dynamic_linker
='Win32 ld.exe'
9547 # FIXME: first we should search . and the directory the executable is in
9551 darwin
* | rhapsody
*)
9552 dynamic_linker
="$host_os dyld"
9556 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9557 soname_spec
='${libname}${release}${major}$shared_ext'
9558 shlibpath_overrides_runpath
=yes
9559 shlibpath_var
=DYLD_LIBRARY_PATH
9560 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9562 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9563 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9571 soname_spec
='${libname}${release}${shared_ext}$major'
9572 shlibpath_var
=LD_LIBRARY_PATH
9575 freebsd
* | dragonfly
*)
9576 # DragonFly does not have aout. When/if they implement a new
9577 # versioning mechanism, adjust this.
9578 if test -x /usr
/bin
/objformat
; then
9579 objformat
=`/usr/bin/objformat`
9582 freebsd
[123]*) objformat
=aout
;;
9586 version_type
=freebsd-
$objformat
9587 case $version_type in
9589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9594 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9598 shlibpath_var
=LD_LIBRARY_PATH
9601 shlibpath_overrides_runpath
=yes
9603 freebsd3.
[01]* | freebsdelf3.
[01]*)
9604 shlibpath_overrides_runpath
=yes
9605 hardcode_into_libs
=yes
9607 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9608 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9609 shlibpath_overrides_runpath
=no
9610 hardcode_into_libs
=yes
9612 *) # from 4.6 on, and DragonFly
9613 shlibpath_overrides_runpath
=yes
9614 hardcode_into_libs
=yes
9623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9624 soname_spec
='${libname}${release}${shared_ext}$major'
9625 shlibpath_var
=LD_LIBRARY_PATH
9626 hardcode_into_libs
=yes
9633 dynamic_linker
="$host_os runtime_loader"
9634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9635 soname_spec
='${libname}${release}${shared_ext}$major'
9636 shlibpath_var
=LIBRARY_PATH
9637 shlibpath_overrides_runpath
=yes
9638 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9639 hardcode_into_libs
=yes
9642 hpux9
* | hpux10
* | hpux11
*)
9643 # Give a soname corresponding to the major version so that dld.sl refuses to
9644 # link against other versions.
9651 hardcode_into_libs
=yes
9652 dynamic_linker
="$host_os dld.so"
9653 shlibpath_var
=LD_LIBRARY_PATH
9654 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9656 soname_spec
='${libname}${release}${shared_ext}$major'
9657 if test "X$HPUX_IA64_MODE" = X32
; then
9658 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9660 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9662 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9666 hardcode_into_libs
=yes
9667 dynamic_linker
="$host_os dld.sl"
9668 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9669 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9671 soname_spec
='${libname}${release}${shared_ext}$major'
9672 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9673 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9677 dynamic_linker
="$host_os dld.sl"
9678 shlibpath_var
=SHLIB_PATH
9679 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9681 soname_spec
='${libname}${release}${shared_ext}$major'
9684 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9685 postinstall_cmds
='chmod 555 $lib'
9686 # or fails outright, so override atomically:
9687 install_override_mode
=555
9694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9695 soname_spec
='${libname}${release}${shared_ext}$major'
9696 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9697 shlibpath_var
=LD_LIBRARY_PATH
9698 shlibpath_overrides_runpath
=no
9699 hardcode_into_libs
=yes
9702 irix5
* | irix6
* | nonstopux
*)
9704 nonstopux
*) version_type
=nonstopux
;;
9706 if test "$lt_cv_prog_gnu_ld" = yes; then
9714 soname_spec
='${libname}${release}${shared_ext}$major'
9715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9717 irix5
* | nonstopux
*)
9721 case $LD in # libtool.m4 will add one of these switches to LD
9722 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9723 libsuff
= shlibsuff
= libmagic
=32-bit;;
9724 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9725 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9726 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9727 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9728 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9732 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9733 shlibpath_overrides_runpath
=no
9734 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9735 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9736 hardcode_into_libs
=yes
9739 # No shared lib support for Linux oldld, aout, or coff.
9740 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9744 # This must be Linux ELF.
9745 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9750 soname_spec
='${libname}${release}${shared_ext}$major'
9751 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9752 shlibpath_var
=LD_LIBRARY_PATH
9753 shlibpath_overrides_runpath
=no
9755 # Some binutils ld are patched to set DT_RUNPATH
9756 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9757 $as_echo_n "(cached) " >&6
9759 lt_cv_shlibpath_overrides_runpath
=no
9760 save_LDFLAGS
=$LDFLAGS
9762 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9763 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9764 if test x
$gcc_no_link = xyes
; then
9765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9778 if ac_fn_c_try_link
"$LINENO"; then :
9779 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9780 lt_cv_shlibpath_overrides_runpath
=yes
9783 rm -f core conftest.err conftest.
$ac_objext \
9784 conftest
$ac_exeext conftest.
$ac_ext
9785 LDFLAGS
=$save_LDFLAGS
9790 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9792 # This implies no fast_install, which is unacceptable.
9793 # Some rework will be needed to allow for fast_install
9794 # before this can be enabled.
9795 hardcode_into_libs
=yes
9797 # Append ld.so.conf contents to the search path
9798 if test -f /etc
/ld.so.conf
; then
9799 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' ' '`
9800 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9803 # We used to test for /lib/ld.so.1 and disable shared libraries on
9804 # powerpc, because MkLinux only supported shared libraries with the
9805 # GNU dynamic linker. Since this was broken with cross compilers,
9806 # most powerpc-linux boxes support dynamic linking these days and
9807 # people can always --disable-shared, the test was removed, and we
9808 # assume the GNU/Linux dynamic linker is in use.
9809 dynamic_linker
='GNU/Linux ld.so'
9816 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9819 dynamic_linker
='NetBSD (a.out) ld.so'
9821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9822 soname_spec
='${libname}${release}${shared_ext}$major'
9823 dynamic_linker
='NetBSD ld.elf_so'
9825 shlibpath_var
=LD_LIBRARY_PATH
9826 shlibpath_overrides_runpath
=yes
9827 hardcode_into_libs
=yes
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9833 shlibpath_var
=LD_LIBRARY_PATH
9834 shlibpath_overrides_runpath
=yes
9841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842 soname_spec
='${libname}${release}${shared_ext}$major'
9843 shlibpath_var
=LD_LIBRARY_PATH
9844 shlibpath_overrides_runpath
=no
9845 hardcode_into_libs
=yes
9846 dynamic_linker
='ldqnx.so'
9851 sys_lib_dlsearch_path_spec
="/usr/lib"
9853 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9855 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9856 *) need_version
=no
;;
9858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9860 shlibpath_var
=LD_LIBRARY_PATH
9861 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9863 openbsd2.
[89] | openbsd2.
[89].
*)
9864 shlibpath_overrides_runpath
=no
9867 shlibpath_overrides_runpath
=yes
9871 shlibpath_overrides_runpath
=yes
9876 libname_spec
='$name'
9879 library_names_spec
='$libname${shared_ext} $libname.a'
9880 dynamic_linker
='OS/2 ld.exe'
9881 shlibpath_var
=LIBPATH
9884 osf3
* | osf4
* | osf5
*)
9888 soname_spec
='${libname}${release}${shared_ext}$major'
9889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9890 shlibpath_var
=LD_LIBRARY_PATH
9891 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9892 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904 soname_spec
='${libname}${release}${shared_ext}$major'
9905 shlibpath_var
=LD_LIBRARY_PATH
9906 shlibpath_overrides_runpath
=yes
9907 hardcode_into_libs
=yes
9908 # ldd complains unless libraries are executable
9909 postinstall_cmds
='chmod +x $lib'
9914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9915 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9916 shlibpath_var
=LD_LIBRARY_PATH
9917 shlibpath_overrides_runpath
=yes
9918 if test "$with_gnu_ld" = yes; then
9926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9927 soname_spec
='${libname}${release}${shared_ext}$major'
9928 shlibpath_var
=LD_LIBRARY_PATH
9929 case $host_vendor in
9931 shlibpath_overrides_runpath
=no
9933 runpath_var
=LD_RUN_PATH
9941 shlibpath_overrides_runpath
=no
9942 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9948 if test -d /usr
/nec
;then
9950 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9951 soname_spec
='$libname${shared_ext}.$major'
9952 shlibpath_var
=LD_LIBRARY_PATH
9956 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9957 version_type
=freebsd-elf
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9961 soname_spec
='${libname}${release}${shared_ext}$major'
9962 shlibpath_var
=LD_LIBRARY_PATH
9963 shlibpath_overrides_runpath
=yes
9964 hardcode_into_libs
=yes
9965 if test "$with_gnu_ld" = yes; then
9966 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9968 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9971 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9975 sys_lib_dlsearch_path_spec
='/usr/lib'
9979 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 shlibpath_var
=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath
=no
9986 hardcode_into_libs
=yes
9991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992 soname_spec
='${libname}${release}${shared_ext}$major'
9993 shlibpath_var
=LD_LIBRARY_PATH
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10001 $as_echo "$dynamic_linker" >&6; }
10002 test "$dynamic_linker" = no
&& can_build_shared
=no
10004 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10005 if test "$GCC" = yes; then
10006 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10009 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10010 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10012 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10013 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10108 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10110 if test -n "$hardcode_libdir_flag_spec" ||
10111 test -n "$runpath_var" ||
10112 test "X$hardcode_automatic" = "Xyes" ; then
10114 # We can hardcode non-existent directories.
10115 if test "$hardcode_direct" != no
&&
10116 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10117 # have to relink, otherwise we might link with an installed library
10118 # when we should be linking with a yet-to-be-installed one
10119 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10120 test "$hardcode_minus_L" != no
; then
10121 # Linking always hardcodes the temporary library directory.
10122 hardcode_action
=relink
10124 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10125 hardcode_action
=immediate
10128 # We cannot hardcode anything, or else we can only hardcode existing
10130 hardcode_action
=unsupported
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10133 $as_echo "$hardcode_action" >&6; }
10135 if test "$hardcode_action" = relink ||
10136 test "$inherit_rpath" = yes; then
10137 # Fast installation is not supported
10138 enable_fast_install
=no
10139 elif test "$shlibpath_overrides_runpath" = yes ||
10140 test "$enable_shared" = no
; then
10141 # Fast installation is not necessary
10142 enable_fast_install
=needless
10150 if test "x$enable_dlopen" != xyes
; then
10151 enable_dlopen
=unknown
10152 enable_dlopen_self
=unknown
10153 enable_dlopen_self_static
=unknown
10160 lt_cv_dlopen
="load_add_on"
10162 lt_cv_dlopen_self
=yes
10165 mingw
* | pw32
* | cegcc
*)
10166 lt_cv_dlopen
="LoadLibrary"
10171 lt_cv_dlopen
="dlopen"
10176 # if libdl is installed we need to link against it
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10178 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10179 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10180 $as_echo_n "(cached) " >&6
10182 ac_check_lib_save_LIBS
=$LIBS
10184 if test x
$gcc_no_link = xyes
; then
10185 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10190 /* Override any GCC internal prototype to avoid an error.
10191 Use char because int might match the return type of a GCC
10192 builtin and then its argument prototype would still apply. */
10205 if ac_fn_c_try_link
"$LINENO"; then :
10206 ac_cv_lib_dl_dlopen
=yes
10208 ac_cv_lib_dl_dlopen
=no
10210 rm -f core conftest.err conftest.
$ac_objext \
10211 conftest
$ac_exeext conftest.
$ac_ext
10212 LIBS
=$ac_check_lib_save_LIBS
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10215 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10216 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10217 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10220 lt_cv_dlopen
="dyld"
10222 lt_cv_dlopen_self
=yes
10229 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10230 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10231 lt_cv_dlopen
="shl_load"
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10234 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10235 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10236 $as_echo_n "(cached) " >&6
10238 ac_check_lib_save_LIBS
=$LIBS
10240 if test x
$gcc_no_link = xyes
; then
10241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10256 return shl_load ();
10261 if ac_fn_c_try_link
"$LINENO"; then :
10262 ac_cv_lib_dld_shl_load
=yes
10264 ac_cv_lib_dld_shl_load
=no
10266 rm -f core conftest.err conftest.
$ac_objext \
10267 conftest
$ac_exeext conftest.
$ac_ext
10268 LIBS
=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10271 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10272 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10273 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10275 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10276 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10277 lt_cv_dlopen
="dlopen"
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10280 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10281 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10282 $as_echo_n "(cached) " >&6
10284 ac_check_lib_save_LIBS
=$LIBS
10286 if test x
$gcc_no_link = xyes
; then
10287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10292 /* Override any GCC internal prototype to avoid an error.
10293 Use char because int might match the return type of a GCC
10294 builtin and then its argument prototype would still apply. */
10307 if ac_fn_c_try_link
"$LINENO"; then :
10308 ac_cv_lib_dl_dlopen
=yes
10310 ac_cv_lib_dl_dlopen
=no
10312 rm -f core conftest.err conftest.
$ac_objext \
10313 conftest
$ac_exeext conftest.
$ac_ext
10314 LIBS
=$ac_check_lib_save_LIBS
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10317 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10318 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10319 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10322 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10323 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10324 $as_echo_n "(cached) " >&6
10326 ac_check_lib_save_LIBS
=$LIBS
10327 LIBS
="-lsvld $LIBS"
10328 if test x
$gcc_no_link = xyes
; then
10329 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10334 /* Override any GCC internal prototype to avoid an error.
10335 Use char because int might match the return type of a GCC
10336 builtin and then its argument prototype would still apply. */
10349 if ac_fn_c_try_link
"$LINENO"; then :
10350 ac_cv_lib_svld_dlopen
=yes
10352 ac_cv_lib_svld_dlopen
=no
10354 rm -f core conftest.err conftest.
$ac_objext \
10355 conftest
$ac_exeext conftest.
$ac_ext
10356 LIBS
=$ac_check_lib_save_LIBS
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10359 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10360 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10361 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10364 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10365 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10366 $as_echo_n "(cached) " >&6
10368 ac_check_lib_save_LIBS
=$LIBS
10370 if test x
$gcc_no_link = xyes
; then
10371 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10386 return dld_link ();
10391 if ac_fn_c_try_link
"$LINENO"; then :
10392 ac_cv_lib_dld_dld_link
=yes
10394 ac_cv_lib_dld_dld_link
=no
10396 rm -f core conftest.err conftest.
$ac_objext \
10397 conftest
$ac_exeext conftest.
$ac_ext
10398 LIBS
=$ac_check_lib_save_LIBS
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10401 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10402 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10403 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10424 if test "x$lt_cv_dlopen" != xno
; then
10430 case $lt_cv_dlopen in
10432 save_CPPFLAGS
="$CPPFLAGS"
10433 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10435 save_LDFLAGS
="$LDFLAGS"
10436 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10439 LIBS
="$lt_cv_dlopen_libs $LIBS"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10442 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10443 if test "${lt_cv_dlopen_self+set}" = set; then :
10444 $as_echo_n "(cached) " >&6
10446 if test "$cross_compiling" = yes; then :
10447 lt_cv_dlopen_self
=cross
10449 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10450 lt_status
=$lt_dlunknown
10451 cat > conftest.
$ac_ext <<_LT_EOF
10452 #line 10452 "configure"
10453 #include "confdefs.h"
10462 # define LT_DLGLOBAL RTLD_GLOBAL
10465 # define LT_DLGLOBAL DL_GLOBAL
10467 # define LT_DLGLOBAL 0
10471 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10472 find out it does not work in some platform. */
10473 #ifndef LT_DLLAZY_OR_NOW
10475 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10478 # define LT_DLLAZY_OR_NOW DL_LAZY
10481 # define LT_DLLAZY_OR_NOW RTLD_NOW
10484 # define LT_DLLAZY_OR_NOW DL_NOW
10486 # define LT_DLLAZY_OR_NOW 0
10493 /* When -fvisbility=hidden is used, assume the code has been annotated
10494 correspondingly for the symbols needed. */
10495 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10496 void fnord () __attribute__((visibility("default")));
10499 void fnord () { int i=42; }
10502 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10503 int status = $lt_dlunknown;
10507 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10510 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10511 else puts (dlerror ());
10513 /* dlclose (self); */
10521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10522 (eval $ac_link) 2>&5
10524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10525 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10526 (.
/conftest
; exit; ) >&5 2>/dev
/null
10528 case x
$lt_status in
10529 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10530 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10531 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10534 # compilation failed
10535 lt_cv_dlopen_self
=no
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10543 $as_echo "$lt_cv_dlopen_self" >&6; }
10545 if test "x$lt_cv_dlopen_self" = xyes
; then
10546 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10548 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10549 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10550 $as_echo_n "(cached) " >&6
10552 if test "$cross_compiling" = yes; then :
10553 lt_cv_dlopen_self_static
=cross
10555 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10556 lt_status
=$lt_dlunknown
10557 cat > conftest.
$ac_ext <<_LT_EOF
10558 #line 10558 "configure"
10559 #include "confdefs.h"
10568 # define LT_DLGLOBAL RTLD_GLOBAL
10571 # define LT_DLGLOBAL DL_GLOBAL
10573 # define LT_DLGLOBAL 0
10577 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10578 find out it does not work in some platform. */
10579 #ifndef LT_DLLAZY_OR_NOW
10581 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10584 # define LT_DLLAZY_OR_NOW DL_LAZY
10587 # define LT_DLLAZY_OR_NOW RTLD_NOW
10590 # define LT_DLLAZY_OR_NOW DL_NOW
10592 # define LT_DLLAZY_OR_NOW 0
10599 /* When -fvisbility=hidden is used, assume the code has been annotated
10600 correspondingly for the symbols needed. */
10601 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10602 void fnord () __attribute__((visibility("default")));
10605 void fnord () { int i=42; }
10608 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10609 int status = $lt_dlunknown;
10613 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10616 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10617 else puts (dlerror ());
10619 /* dlclose (self); */
10627 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10628 (eval $ac_link) 2>&5
10630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10631 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10632 (.
/conftest
; exit; ) >&5 2>/dev
/null
10634 case x
$lt_status in
10635 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10636 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10637 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10640 # compilation failed
10641 lt_cv_dlopen_self_static
=no
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10649 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10652 CPPFLAGS
="$save_CPPFLAGS"
10653 LDFLAGS
="$save_LDFLAGS"
10658 case $lt_cv_dlopen_self in
10659 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10660 *) enable_dlopen_self
=unknown
;;
10663 case $lt_cv_dlopen_self_static in
10664 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10665 *) enable_dlopen_self_static
=unknown
;;
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10688 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10689 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10690 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10691 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10693 $as_echo "yes" >&6; }
10695 # FIXME - insert some real tests, host_os isn't really good enough
10698 if test -n "$STRIP" ; then
10699 striplib
="$STRIP -x"
10700 old_striplib
="$STRIP -S"
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10702 $as_echo "yes" >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10705 $as_echo "no" >&6; }
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10710 $as_echo "no" >&6; }
10726 # Report which library types will actually be built
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10728 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10730 $as_echo "$can_build_shared" >&6; }
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10733 $as_echo_n "checking whether to build shared libraries... " >&6; }
10734 test "$can_build_shared" = "no" && enable_shared
=no
10736 # On AIX, shared libraries and static libraries use the same namespace, and
10737 # are all built from PIC.
10740 test "$enable_shared" = yes && enable_static
=no
10741 if test -n "$RANLIB"; then
10742 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10743 postinstall_cmds
='$RANLIB $lib'
10748 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10749 test "$enable_shared" = yes && enable_static
=no
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10754 $as_echo "$enable_shared" >&6; }
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10757 $as_echo_n "checking whether to build static libraries... " >&6; }
10758 # Make sure either enable_shared or enable_static is yes.
10759 test "$enable_shared" = yes || enable_static
=yes
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10761 $as_echo "$enable_static" >&6; }
10768 ac_cpp
='$CPP $CPPFLAGS'
10769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10787 ac_config_commands
="$ac_config_commands libtool"
10792 # Only expand once:
10799 *-cygwin* |
*-mingw*)
10800 # 'host' will be top-level target in the case of a target lib,
10801 # we must compare to with_cross_host to decide if this is a native
10802 # or cross-compiler and select where to install dlls appropriately.
10803 if test -n "$with_cross_host" &&
10804 test x
"$with_cross_host" != x
"no"; then
10805 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
10807 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10822 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10823 # Check whether --enable-maintainer-mode was given.
10824 if test "${enable_maintainer_mode+set}" = set; then :
10825 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
10827 USE_MAINTAINER_MODE
=no
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10831 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10832 if test $USE_MAINTAINER_MODE = yes; then
10833 MAINTAINER_MODE_TRUE
=
10834 MAINTAINER_MODE_FALSE
='#'
10836 MAINTAINER_MODE_TRUE
='#'
10837 MAINTAINER_MODE_FALSE
=
10840 MAINT
=$MAINTAINER_MODE_TRUE
10843 # Default to --enable-multilib
10844 # Check whether --enable-multilib was given.
10845 if test "${enable_multilib+set}" = set; then :
10846 enableval
=$enable_multilib; case "$enableval" in
10847 yes) multilib
=yes ;;
10849 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
10856 # We may get other options which we leave undocumented:
10857 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10858 # See config-ml.in if you want the gory details.
10860 if test "$srcdir" = "."; then
10861 if test "$with_target_subdir" != "."; then
10862 multi_basedir
="$srcdir/$with_multisrctop../.."
10864 multi_basedir
="$srcdir/$with_multisrctop.."
10867 multi_basedir
="$srcdir/.."
10871 # Even if the default multilib is not a cross compilation,
10872 # it may be that some of the other multilibs are.
10873 if test $cross_compiling = no
&& test $multilib = yes \
10874 && test "x${with_multisubdir}" != x
; then
10875 cross_compiling
=maybe
10878 ac_config_commands
="$ac_config_commands default-1"
10882 ac_cpp
='$CPP $CPPFLAGS'
10883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10887 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10888 # We must force CC to /not/ be precious variables; otherwise
10889 # the wrong, non-multilib-adjusted value will be used in multilibs.
10890 # As a side effect, we have to subst CFLAGS ourselves.
10895 ac_cpp
='$CPP $CPPFLAGS'
10896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10899 if test -n "$ac_tool_prefix"; then
10900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10901 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10903 $as_echo_n "checking for $ac_word... " >&6; }
10904 if test "${ac_cv_prog_CC+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10907 if test -n "$CC"; then
10908 ac_cv_prog_CC
="$CC" # Let the user override the test.
10910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10911 for as_dir
in $PATH
10914 test -z "$as_dir" && as_dir
=.
10915 for ac_exec_ext
in '' $ac_executable_extensions; do
10916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10917 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10928 if test -n "$CC"; then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10930 $as_echo "$CC" >&6; }
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10933 $as_echo "no" >&6; }
10938 if test -z "$ac_cv_prog_CC"; then
10940 # Extract the first word of "gcc", so it can be a program name with args.
10941 set dummy gcc
; ac_word
=$2
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10943 $as_echo_n "checking for $ac_word... " >&6; }
10944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10945 $as_echo_n "(cached) " >&6
10947 if test -n "$ac_ct_CC"; then
10948 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10951 for as_dir
in $PATH
10954 test -z "$as_dir" && as_dir
=.
10955 for ac_exec_ext
in '' $ac_executable_extensions; do
10956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10957 ac_cv_prog_ac_ct_CC
="gcc"
10958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10967 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10968 if test -n "$ac_ct_CC"; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10970 $as_echo "$ac_ct_CC" >&6; }
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10973 $as_echo "no" >&6; }
10976 if test "x$ac_ct_CC" = x
; then
10979 case $cross_compiling:$ac_tool_warned in
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10983 ac_tool_warned
=yes ;;
10988 CC
="$ac_cv_prog_CC"
10991 if test -z "$CC"; then
10992 if test -n "$ac_tool_prefix"; then
10993 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10994 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10996 $as_echo_n "checking for $ac_word... " >&6; }
10997 if test "${ac_cv_prog_CC+set}" = set; then :
10998 $as_echo_n "(cached) " >&6
11000 if test -n "$CC"; then
11001 ac_cv_prog_CC
="$CC" # Let the user override the test.
11003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11004 for as_dir
in $PATH
11007 test -z "$as_dir" && as_dir
=.
11008 for ac_exec_ext
in '' $ac_executable_extensions; do
11009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11010 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11021 if test -n "$CC"; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11023 $as_echo "$CC" >&6; }
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11026 $as_echo "no" >&6; }
11032 if test -z "$CC"; then
11033 # Extract the first word of "cc", so it can be a program name with args.
11034 set dummy cc
; ac_word
=$2
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11036 $as_echo_n "checking for $ac_word... " >&6; }
11037 if test "${ac_cv_prog_CC+set}" = set; then :
11038 $as_echo_n "(cached) " >&6
11040 if test -n "$CC"; then
11041 ac_cv_prog_CC
="$CC" # Let the user override the test.
11043 ac_prog_rejected
=no
11044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11045 for as_dir
in $PATH
11048 test -z "$as_dir" && as_dir
=.
11049 for ac_exec_ext
in '' $ac_executable_extensions; do
11050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11051 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11052 ac_prog_rejected
=yes
11056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11063 if test $ac_prog_rejected = yes; then
11064 # We found a bogon in the path, so make sure we never use it.
11065 set dummy
$ac_cv_prog_CC
11067 if test $# != 0; then
11068 # We chose a different compiler from the bogus one.
11069 # However, it has the same basename, so the bogon will be chosen
11070 # first if we set CC to just the basename; use the full file name.
11072 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11078 if test -n "$CC"; then
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11080 $as_echo "$CC" >&6; }
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11083 $as_echo "no" >&6; }
11088 if test -z "$CC"; then
11089 if test -n "$ac_tool_prefix"; then
11090 for ac_prog
in cl.exe
11092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11093 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11095 $as_echo_n "checking for $ac_word... " >&6; }
11096 if test "${ac_cv_prog_CC+set}" = set; then :
11097 $as_echo_n "(cached) " >&6
11099 if test -n "$CC"; then
11100 ac_cv_prog_CC
="$CC" # Let the user override the test.
11102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11103 for as_dir
in $PATH
11106 test -z "$as_dir" && as_dir
=.
11107 for ac_exec_ext
in '' $ac_executable_extensions; do
11108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11109 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11120 if test -n "$CC"; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11122 $as_echo "$CC" >&6; }
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11125 $as_echo "no" >&6; }
11129 test -n "$CC" && break
11132 if test -z "$CC"; then
11134 for ac_prog
in cl.exe
11136 # Extract the first word of "$ac_prog", so it can be a program name with args.
11137 set dummy
$ac_prog; ac_word
=$2
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11139 $as_echo_n "checking for $ac_word... " >&6; }
11140 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11141 $as_echo_n "(cached) " >&6
11143 if test -n "$ac_ct_CC"; then
11144 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11147 for as_dir
in $PATH
11150 test -z "$as_dir" && as_dir
=.
11151 for ac_exec_ext
in '' $ac_executable_extensions; do
11152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11153 ac_cv_prog_ac_ct_CC
="$ac_prog"
11154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11163 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11164 if test -n "$ac_ct_CC"; then
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11166 $as_echo "$ac_ct_CC" >&6; }
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11169 $as_echo "no" >&6; }
11173 test -n "$ac_ct_CC" && break
11176 if test "x$ac_ct_CC" = x
; then
11179 case $cross_compiling:$ac_tool_warned in
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11183 ac_tool_warned
=yes ;;
11192 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11194 as_fn_error
"no acceptable C compiler found in \$PATH
11195 See \`config.log' for more details." "$LINENO" 5; }
11197 # Provide some information about the compiler.
11198 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11201 for ac_option
in --version -v -V -qversion; do
11202 { { ac_try
="$ac_compiler $ac_option >&5"
11203 case "(($ac_try" in
11204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11205 *) ac_try_echo=$ac_try;;
11207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11208 $as_echo "$ac_try_echo"; } >&5
11209 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11211 if test -s conftest.err; then
11213 ... rest of stderr output deleted ...
11214 10q' conftest.err >conftest.er1
11215 cat conftest.er1 >&5
11216 rm -f conftest.er1 conftest.err
11218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11219 test $ac_status = 0; }
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11223 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11224 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11225 $as_echo_n "(cached) " >&6
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11241 if ac_fn_c_try_compile "$LINENO"; then :
11242 ac_compiler_gnu=yes
11246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11247 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11251 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11252 if test $ac_compiler_gnu = yes; then
11257 ac_test_CFLAGS=${CFLAGS+set}
11258 ac_save_CFLAGS=$CFLAGS
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11260 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11261 if test "${ac_cv_prog_cc_g+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_save_c_werror_flag=$ac_c_werror_flag
11265 ac_c_werror_flag=yes
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11279 if ac_fn_c_try_compile "$LINENO"; then :
11280 ac_cv_prog_cc_g=yes
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11294 if ac_fn_c_try_compile "$LINENO"; then :
11297 ac_c_werror_flag=$ac_save_c_werror_flag
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11310 if ac_fn_c_try_compile "$LINENO"; then :
11311 ac_cv_prog_cc_g=yes
11313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11318 ac_c_werror_flag=$ac_save_c_werror_flag
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11321 $as_echo "$ac_cv_prog_cc_g" >&6; }
11322 if test "$ac_test_CFLAGS" = set; then
11323 CFLAGS=$ac_save_CFLAGS
11324 elif test $ac_cv_prog_cc_g = yes; then
11325 if test "$GCC" = yes; then
11331 if test "$GCC" = yes; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11338 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11339 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11340 $as_echo_n "(cached) " >&6
11342 ac_cv_prog_cc_c89=no
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 #include <stdarg.h>
11348 #include <sys/types.h>
11349 #include <sys/stat.h>
11350 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11351 struct buf { int x; };
11352 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11353 static char *e (p, i)
11359 static char *f (char * (*g) (char **, int), char **p, ...)
11364 s = g (p, va_arg (v,int));
11369 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11370 function prototypes and stuff, but not '\xHH' hex character constants.
11371 These don't provoke an error unfortunately, instead are silently treated
11372 as 'x'. The following induces an error, until -std is added to get
11373 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11374 array size at least. It's necessary to write '\x00'==0 to get something
11375 that's true only with -std. */
11376 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11378 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11379 inside strings and character constants. */
11381 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11383 int test (int i, double x);
11384 struct s1 {int (*f) (int a);};
11385 struct s2 {int (*f) (double a);};
11386 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11392 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11397 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11398 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11400 CC="$ac_save_CC $ac_arg"
11401 if ac_fn_c_try_compile "$LINENO"; then :
11402 ac_cv_prog_cc_c89=$ac_arg
11404 rm -f core conftest.err conftest.$ac_objext
11405 test "x$ac_cv_prog_cc_c89" != "xno" && break
11407 rm -f conftest.$ac_ext
11412 case "x$ac_cv_prog_cc_c89" in
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11415 $as_echo "none needed" >&6; } ;;
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11418 $as_echo "unsupported" >&6; } ;;
11420 CC="$CC $ac_cv_prog_cc_c89"
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11422 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11424 if test "x$ac_cv_prog_cc_c89" != xno; then :
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11434 depcc="$CC" am_compiler_list=
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11437 $as_echo_n "checking dependency style of $depcc... " >&6; }
11438 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11439 $as_echo_n "(cached) " >&6
11441 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11442 # We make a subdir and do the tests there. Otherwise we can end up
11443 # making bogus files that we don't know about and never remove. For
11444 # instance it was reported that on HP-UX the gcc test will end up
11445 # making a dummy file named `D
' -- because `-MD' means
`put the output
11448 # Copy depcomp to subdir because otherwise we won't find it if we're
11449 # using a relative directory.
11450 cp "$am_depcomp" conftest.dir
11452 # We will build objects and dependencies in a subdirectory because
11453 # it helps to detect inapplicable dependency modes. For instance
11454 # both Tru64's cc and ICC support -MD to output dependencies as a
11455 # side effect of compilation, but ICC will put the dependencies in
11456 # the current directory while Tru64 will put them in the object
11460 am_cv_CC_dependencies_compiler_type=none
11461 if test "$am_compiler_list" = ""; then
11462 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11464 am__universal=false
11465 case " $depcc " in #(
11466 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11469 for depmode in $am_compiler_list; do
11470 # Setup a source with many dependencies, because some compilers
11471 # like to wrap large dependency lists on column 80 (with \), and
11472 # we should not choose a depcomp mode which is confused by this.
11474 # We need to recreate these files for each test, as the compiler may
11475 # overwrite some of them when testing with obscure command lines.
11476 # This happens at least with the AIX C compiler.
11478 for i in 1 2 3 4 5 6; do
11479 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11480 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11481 # Solaris 8's
{/usr
,}/bin
/sh.
11482 touch sub
/conftst
$i.h
11484 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11486 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11487 # mode. It turns out that the SunPro C++ compiler does not properly
11488 # handle `-M -o', and we need to detect this. Also, some Intel
11489 # versions had trouble with output in subdirs
11490 am__obj
=sub
/conftest.
${OBJEXT-o}
11491 am__minus_obj
="-o $am__obj"
11494 # This depmode causes a compiler race in universal mode.
11495 test "$am__universal" = false ||
continue
11498 # after this tag, mechanisms are not by side-effect, so they'll
11499 # only be used when explicitly requested
11500 if test "x$enable_dependency_tracking" = xyes
; then
11506 msvisualcpp | msvcmsys
)
11507 # This compiler won't grok `-c -o', but also, the minuso test has
11508 # not run yet. These depmodes are late enough in the game, and
11509 # so weak that their functioning should not be impacted.
11510 am__obj
=conftest.
${OBJEXT-o}
11515 if depmode
=$depmode \
11516 source=sub
/conftest.c object
=$am__obj \
11517 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11518 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11519 >/dev
/null
2>conftest.err
&&
11520 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11521 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11522 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11523 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11524 # icc doesn't choke on unknown options, it will just issue warnings
11525 # or remarks (even with -Werror). So we grep stderr for any message
11526 # that says an option was ignored or not supported.
11527 # When given -MP, icc 7.0 and 7.1 complain thusly:
11528 # icc: Command line warning: ignoring option '-M'; no argument required
11529 # The diagnosis changed in icc 8.0:
11530 # icc: Command line remark: option '-MP' not supported
11531 if (grep 'ignoring option' conftest.err ||
11532 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11533 am_cv_CC_dependencies_compiler_type
=$depmode
11540 rm -rf conftest.dir
11542 am_cv_CC_dependencies_compiler_type
=none
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11547 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11548 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11551 test "x$enable_dependency_tracking" != xno \
11552 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11553 am__fastdepCC_TRUE
=
11554 am__fastdepCC_FALSE
='#'
11556 am__fastdepCC_TRUE
='#'
11557 am__fastdepCC_FALSE
=
11565 if test "x$CC" != xcc
; then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11567 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11570 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11572 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11573 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11574 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11575 $as_echo_n "(cached) " >&6
11577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11588 # Make sure it works both with $CC and with simple cc.
11589 # We do the test twice because some compilers refuse to overwrite an
11590 # existing .o file with -o, though they will create one.
11591 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11593 if { { case "(($ac_try" in
11594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11598 $as_echo "$ac_try_echo"; } >&5
11599 (eval "$ac_try") 2>&5
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } &&
11603 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11605 *) ac_try_echo
=$ac_try;;
11607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11608 $as_echo "$ac_try_echo"; } >&5
11609 (eval "$ac_try") 2>&5
11611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11612 test $ac_status = 0; };
11614 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11615 if test "x$CC" != xcc
; then
11616 # Test first that cc exists at all.
11617 if { ac_try
='cc -c conftest.$ac_ext >&5'
11618 { { case "(($ac_try" in
11619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11620 *) ac_try_echo=$ac_try;;
11622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11623 $as_echo "$ac_try_echo"; } >&5
11624 (eval "$ac_try") 2>&5
11626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11627 test $ac_status = 0; }; }; then
11628 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11630 if { { case "(($ac_try" in
11631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11632 *) ac_try_echo
=$ac_try;;
11634 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11635 $as_echo "$ac_try_echo"; } >&5
11636 (eval "$ac_try") 2>&5
11638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11639 test $ac_status = 0; } &&
11640 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11642 *) ac_try_echo=$ac_try;;
11644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11645 $as_echo "$ac_try_echo"; } >&5
11646 (eval "$ac_try") 2>&5
11648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11649 test $ac_status = 0; };
11654 # cc exists but doesn't like -o.
11655 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11660 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11662 rm -f core conftest*
11665 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11667 $as_echo "yes" >&6; }
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11670 $as_echo "no" >&6; }
11672 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11676 # FIXME: we rely on the cache variable name because
11677 # there is no other way.
11679 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11680 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11681 if test "$am_t" != yes; then
11682 # Losing compiler, so override with the script.
11683 # FIXME: It is wrong to rewrite CC.
11684 # But if we don't then we get into trouble of one sort or another.
11685 # A longer-term fix would be to have automake use am__CC in this case,
11686 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11687 CC="$am_aux_dir/compile $CC"
11692 if test "x$GCC" != "xyes"; then
11693 as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11696 ac_cpp='$CPP $CPPFLAGS'
11697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11702 # On Suns, sometimes $CPP names a directory.
11703 if test -n "$CPP" && test -d "$CPP"; then
11706 if test -z "$CPP"; then
11707 if test "${ac_cv_prog_CPP+set}" = set; then :
11708 $as_echo_n "(cached) " >&6
11710 # Double quotes because CPP needs to be expanded
11711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11713 ac_preproc_ok=false
11714 for ac_c_preproc_warn_flag in '' yes
11716 # Use a header file that comes with gcc, so configuring glibc
11717 # with a fresh cross-compiler works.
11718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11719 # <limits.h> exists even on freestanding compilers.
11720 # On the NeXT, cc -E runs the code through the compiler's parser,
11721 # not just through cpp. "Syntax error" is here to catch this case.
11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 # include <limits.h>
11727 # include <assert.h>
11731 if ac_fn_c_try_cpp "$LINENO"; then :
11734 # Broken: fails on valid input.
11737 rm -f conftest.err conftest.$ac_ext
11739 # OK, works on sane cases. Now check whether nonexistent headers
11740 # can be detected and how.
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11743 #include <ac_nonexistent.h>
11745 if ac_fn_c_try_cpp "$LINENO"; then :
11746 # Broken: success on invalid input.
11749 # Passes both tests.
11753 rm -f conftest.err conftest.$ac_ext
11756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11757 rm -f conftest.err conftest.
$ac_ext
11758 if $ac_preproc_ok; then :
11763 ac_cv_prog_CPP
=$CPP
11766 CPP
=$ac_cv_prog_CPP
11768 ac_cv_prog_CPP
=$CPP
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11771 $as_echo "$CPP" >&6; }
11772 ac_preproc_ok
=false
11773 for ac_c_preproc_warn_flag
in '' yes
11775 # Use a header file that comes with gcc, so configuring glibc
11776 # with a fresh cross-compiler works.
11777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11778 # <limits.h> exists even on freestanding compilers.
11779 # On the NeXT, cc -E runs the code through the compiler's parser,
11780 # not just through cpp. "Syntax error" is here to catch this case.
11781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 # include <limits.h>
11786 # include <assert.h>
11790 if ac_fn_c_try_cpp
"$LINENO"; then :
11793 # Broken: fails on valid input.
11796 rm -f conftest.err conftest.
$ac_ext
11798 # OK, works on sane cases. Now check whether nonexistent headers
11799 # can be detected and how.
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11802 #include <ac_nonexistent.h>
11804 if ac_fn_c_try_cpp
"$LINENO"; then :
11805 # Broken: success on invalid input.
11808 # Passes both tests.
11812 rm -f conftest.err conftest.
$ac_ext
11815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11816 rm -f conftest.err conftest.
$ac_ext
11817 if $ac_preproc_ok; then :
11820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11822 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
11823 See \`config.log' for more details." "$LINENO" 5; }
11827 ac_cpp
='$CPP $CPPFLAGS'
11828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11833 # Calculate toolexeclibdir
11834 # Also toolexecdir, though it's only used in toolexeclibdir
11835 case ${version_specific_libs} in
11837 # Need the gcc compiler version to know where to install libraries
11838 # and header files if --enable-version-specific-runtime-libs option
11840 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11841 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11844 if test -n "$with_cross_host" &&
11845 test x
"$with_cross_host" != x
"no"; then
11846 # Install a library built with a cross compiler in tooldir, not libdir.
11847 toolexecdir
='$(exec_prefix)/$(target_alias)'
11848 toolexeclibdir
='$(toolexecdir)/lib'
11850 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11851 toolexeclibdir
='$(libdir)'
11853 multi_os_directory
=`$CC -print-multi-os-directory`
11854 case $multi_os_directory in
11855 .
) ;; # Avoid trailing /.
11856 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11863 for ac_header
in fenv.h
11865 ac_fn_c_check_header_mongrel
"$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
11866 if test "x$ac_cv_header_fenv_h" = x
""yes; then :
11867 cat >>confdefs.h
<<_ACEOF
11868 #define HAVE_FENV_H 1
11876 # If available, sqrtl and cbrtl speed up the calculation -
11877 # but they are not required
11878 if test x
$gcc_no_link != xyes
; then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11880 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11881 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11882 $as_echo_n "(cached) " >&6
11884 ac_check_lib_save_LIBS
=$LIBS
11886 if test x
$gcc_no_link = xyes
; then
11887 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11907 if ac_fn_c_try_link
"$LINENO"; then :
11908 ac_cv_lib_m_sqrtl
=yes
11910 ac_cv_lib_m_sqrtl
=no
11912 rm -f core conftest.err conftest.
$ac_objext \
11913 conftest
$ac_exeext conftest.
$ac_ext
11914 LIBS
=$ac_check_lib_save_LIBS
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
11917 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
11918 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
11920 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
11925 $as_echo_n "checking for cbrtl in -lm... " >&6; }
11926 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
11927 $as_echo_n "(cached) " >&6
11929 ac_check_lib_save_LIBS
=$LIBS
11931 if test x
$gcc_no_link = xyes
; then
11932 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11952 if ac_fn_c_try_link
"$LINENO"; then :
11953 ac_cv_lib_m_cbrtl
=yes
11955 ac_cv_lib_m_cbrtl
=no
11957 rm -f core conftest.err conftest.
$ac_objext \
11958 conftest
$ac_exeext conftest.
$ac_ext
11959 LIBS
=$ac_check_lib_save_LIBS
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
11962 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
11963 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then :
11965 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
11970 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
11971 if test "${ac_cv_lib_m_feholdexcept+set}" = set; then :
11972 $as_echo_n "(cached) " >&6
11974 ac_check_lib_save_LIBS
=$LIBS
11976 if test x
$gcc_no_link = xyes
; then
11977 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11982 /* Override any GCC internal prototype to avoid an error.
11983 Use char because int might match the return type of a GCC
11984 builtin and then its argument prototype would still apply. */
11988 char feholdexcept ();
11992 return feholdexcept ();
11997 if ac_fn_c_try_link
"$LINENO"; then :
11998 ac_cv_lib_m_feholdexcept
=yes
12000 ac_cv_lib_m_feholdexcept
=no
12002 rm -f core conftest.err conftest.
$ac_objext \
12003 conftest
$ac_exeext conftest.
$ac_ext
12004 LIBS
=$ac_check_lib_save_LIBS
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feholdexcept" >&5
12007 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12008 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then :
12010 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12015 $as_echo_n "checking for fesetround in -lm... " >&6; }
12016 if test "${ac_cv_lib_m_fesetround+set}" = set; then :
12017 $as_echo_n "(cached) " >&6
12019 ac_check_lib_save_LIBS
=$LIBS
12021 if test x
$gcc_no_link = xyes
; then
12022 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12033 char fesetround ();
12037 return fesetround ();
12042 if ac_fn_c_try_link
"$LINENO"; then :
12043 ac_cv_lib_m_fesetround
=yes
12045 ac_cv_lib_m_fesetround
=no
12047 rm -f core conftest.err conftest.
$ac_objext \
12048 conftest
$ac_exeext conftest.
$ac_ext
12049 LIBS
=$ac_check_lib_save_LIBS
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12052 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12053 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then :
12055 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12060 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12061 if test "${ac_cv_lib_m_feupdateenv+set}" = set; then :
12062 $as_echo_n "(cached) " >&6
12064 ac_check_lib_save_LIBS
=$LIBS
12066 if test x
$gcc_no_link = xyes
; then
12067 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12078 char feupdateenv ();
12082 return feupdateenv ();
12087 if ac_fn_c_try_link
"$LINENO"; then :
12088 ac_cv_lib_m_feupdateenv
=yes
12090 ac_cv_lib_m_feupdateenv
=no
12092 rm -f core conftest.err conftest.
$ac_objext \
12093 conftest
$ac_exeext conftest.
$ac_ext
12094 LIBS
=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12097 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12098 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then :
12100 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12105 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12106 if test "${ac_cv_lib_m_fesetenv+set}" = set; then :
12107 $as_echo_n "(cached) " >&6
12109 ac_check_lib_save_LIBS
=$LIBS
12111 if test x
$gcc_no_link = xyes
; then
12112 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12127 return fesetenv ();
12132 if ac_fn_c_try_link
"$LINENO"; then :
12133 ac_cv_lib_m_fesetenv
=yes
12135 ac_cv_lib_m_fesetenv
=no
12137 rm -f core conftest.err conftest.
$ac_objext \
12138 conftest
$ac_exeext conftest.
$ac_ext
12139 LIBS
=$ac_check_lib_save_LIBS
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12142 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12143 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then :
12145 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12150 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12151 if test "${ac_cv_lib_m_fetestexcept+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12154 ac_check_lib_save_LIBS
=$LIBS
12156 if test x
$gcc_no_link = xyes
; then
12157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12168 char fetestexcept ();
12172 return fetestexcept ();
12177 if ac_fn_c_try_link
"$LINENO"; then :
12178 ac_cv_lib_m_fetestexcept
=yes
12180 ac_cv_lib_m_fetestexcept
=no
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LIBS
=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12187 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12188 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then :
12190 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12195 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then
12197 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12200 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then
12202 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12205 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then
12207 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12210 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then
12212 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12215 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then
12217 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12220 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then
12222 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12225 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then
12227 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12232 # Check for symbol versioning (copied from libssp).
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12234 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12235 if test x
$gcc_no_link = xyes
; then
12236 # If we cannot link, we cannot build shared libraries, so do not use
12237 # symbol versioning.
12238 quadmath_use_symver
=no
12240 save_LDFLAGS
="$LDFLAGS"
12241 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12242 cat > conftest.map
<<EOF
12244 global: *foo*; bar; local: *;
12247 if test x
$gcc_no_link = xyes
; then
12248 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12261 if ac_fn_c_try_link
"$LINENO"; then :
12262 quadmath_use_symver
=gnu
12264 quadmath_use_symver
=no
12266 rm -f core conftest.err conftest.
$ac_objext \
12267 conftest
$ac_exeext conftest.
$ac_ext
12268 if test x
$quadmath_use_symver = xno
; then
12269 case "$target_os" in
12271 LDFLAGS
="$save_LDFLAGS"
12272 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12273 # Sun ld cannot handle wildcards and treats all entries as undefined.
12274 cat > conftest.map
<<EOF
12276 global: foo; local: *;
12279 if test x
$gcc_no_link = xyes
; then
12280 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12293 if ac_fn_c_try_link
"$LINENO"; then :
12294 quadmath_use_symver
=sun
12296 quadmath_use_symver
=no
12298 rm -f core conftest.err conftest.
$ac_objext \
12299 conftest
$ac_exeext conftest.
$ac_ext
12303 LDFLAGS
="$save_LDFLAGS"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12306 $as_echo "$quadmath_use_symver" >&6; }
12307 if test "x$quadmath_use_symver" != xno
; then
12308 LIBQUAD_USE_SYMVER_TRUE
=
12309 LIBQUAD_USE_SYMVER_FALSE
='#'
12311 LIBQUAD_USE_SYMVER_TRUE
='#'
12312 LIBQUAD_USE_SYMVER_FALSE
=
12315 if test "x$quadmath_use_symver" = xgnu
; then
12316 LIBQUAD_USE_SYMVER_GNU_TRUE
=
12317 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
12319 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
12320 LIBQUAD_USE_SYMVER_GNU_FALSE
=
12323 if test "x$quadmath_use_symver" = xsun
; then
12324 LIBQUAD_USE_SYMVER_SUN_TRUE
=
12325 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
12327 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
12328 LIBQUAD_USE_SYMVER_SUN_FALSE
=
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12333 $as_echo_n "checking whether __float128 is supported... " >&6; }
12334 if test "${libquad_cv_have_float128+set}" = set; then :
12335 $as_echo_n "(cached) " >&6
12337 if test x
$gcc_no_link = xyes
; then
12338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 typedef _Complex float __attribute__((mode(TC))) __complex128;
12343 __float128 foo (__float128 x)
12346 __complex128 z1, z2;
12352 return (__float128) z2;
12355 __float128 bar (__float128 x)
12357 return x * __builtin_huge_valq ();
12371 if ac_fn_c_try_compile
"$LINENO"; then :
12373 libquad_cv_have_float128
=yes
12377 libquad_cv_have_float128
=no
12380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12382 if test x
$gcc_no_link = xyes
; then
12383 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 typedef _Complex float __attribute__((mode(TC))) __complex128;
12390 __float128 foo (__float128 x)
12393 __complex128 z1, z2;
12399 return (__float128) z2;
12402 __float128 bar (__float128 x)
12404 return x * __builtin_huge_valq ();
12418 if ac_fn_c_try_link
"$LINENO"; then :
12420 libquad_cv_have_float128
=yes
12424 libquad_cv_have_float128
=no
12427 rm -f core conftest.err conftest.
$ac_objext \
12428 conftest
$ac_exeext conftest.
$ac_ext
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12432 $as_echo "$libquad_cv_have_float128" >&6; }
12433 if test "x$libquad_cv_have_float128" = xyes
; then
12434 BUILD_LIBQUADMATH_TRUE
=
12435 BUILD_LIBQUADMATH_FALSE
='#'
12437 BUILD_LIBQUADMATH_TRUE
='#'
12438 BUILD_LIBQUADMATH_FALSE
=
12442 cat >confcache
<<\_ACEOF
12443 # This file is a shell script that caches the results of configure
12444 # tests run on this system so they can be shared between configure
12445 # scripts and configure runs, see configure's option --config-cache.
12446 # It is not useful on other systems. If it contains results you don't
12447 # want to keep, you may remove or edit it.
12449 # config.status only pays attention to the cache file if you give it
12450 # the --recheck option to rerun configure.
12452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12454 # following values.
12458 # The following way of writing the cache mishandles newlines in values,
12459 # but we know of no workaround that is simple, portable, and efficient.
12460 # So, we kill variables containing newlines.
12461 # Ultrix sh set writes to stderr and can't be redirected directly,
12462 # and sets the high bit in the cache file unless we assign to the vars.
12464 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12465 eval ac_val
=\$
$ac_var
12469 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12470 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12473 _ | IFS | as_nl
) ;; #(
12474 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12475 *) { eval $ac_var=; unset $ac_var;} ;;
12481 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12482 *${as_nl}ac_space
=\
*)
12483 # `set' does not quote correctly, so add quotes: double-quote
12484 # substitution turns \\\\ into \\, and sed turns \\ into \.
12487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12490 # `set' quotes correctly as required by POSIX, so do not add quotes.
12491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12502 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12504 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12505 if test -w "$cache_file"; then
12506 test "x$cache_file" != "x/dev/null" &&
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12508 $as_echo "$as_me: updating cache $cache_file" >&6;}
12509 cat confcache
>$cache_file
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12517 if test ${multilib} = yes; then
12518 multilib_arg
="--enable-multilib"
12524 # We would like our source tree to be readonly. However when releases or
12525 # pre-releases are generated, the flex/bison generated files as well as the
12526 # various formats of manuals need to be included along with the rest of the
12527 # sources. Therefore we have --enable-generated-files-in-srcdir to do
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
12530 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
12531 # Check whether --enable-generated-files-in-srcdir was given.
12532 if test "${enable_generated_files_in_srcdir+set}" = set; then :
12533 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
12534 yes) enable_generated_files_in_srcdir
=yes ;;
12535 no
) enable_generated_files_in_srcdir
=no
;;
12536 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
12539 enable_generated_files_in_srcdir
=no
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
12543 $as_echo "$enable_generated_files_in_srcdir" >&6; }
12544 if test "$enable_generated_files_in_srcdir" = yes; then
12554 ac_config_files
="$ac_config_files Makefile"
12556 cat >confcache
<<\_ACEOF
12557 # This file is a shell script that caches the results of configure
12558 # tests run on this system so they can be shared between configure
12559 # scripts and configure runs, see configure's option --config-cache.
12560 # It is not useful on other systems. If it contains results you don't
12561 # want to keep, you may remove or edit it.
12563 # config.status only pays attention to the cache file if you give it
12564 # the --recheck option to rerun configure.
12566 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12567 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12568 # following values.
12572 # The following way of writing the cache mishandles newlines in values,
12573 # but we know of no workaround that is simple, portable, and efficient.
12574 # So, we kill variables containing newlines.
12575 # Ultrix sh set writes to stderr and can't be redirected directly,
12576 # and sets the high bit in the cache file unless we assign to the vars.
12578 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12579 eval ac_val
=\$
$ac_var
12583 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12584 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12587 _ | IFS | as_nl
) ;; #(
12588 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12589 *) { eval $ac_var=; unset $ac_var;} ;;
12595 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12596 *${as_nl}ac_space
=\
*)
12597 # `set' does not quote correctly, so add quotes: double-quote
12598 # substitution turns \\\\ into \\, and sed turns \\ into \.
12601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12604 # `set' quotes correctly as required by POSIX, so do not add quotes.
12605 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12614 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12616 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12618 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12619 if test -w "$cache_file"; then
12620 test "x$cache_file" != "x/dev/null" &&
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12622 $as_echo "$as_me: updating cache $cache_file" >&6;}
12623 cat confcache
>$cache_file
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12631 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12632 # Let make expand exec_prefix.
12633 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12635 DEFS
=-DHAVE_CONFIG_H
12639 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12640 # 1. Remove the extension, and $U if already installed.
12641 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12642 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12643 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12644 # will be set to the directory where LIBOBJS objects are built.
12645 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12646 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12648 LIBOBJS
=$ac_libobjs
12650 LTLIBOBJS
=$ac_ltlibobjs
12653 if test -n "$EXEEXT"; then
12655 am__EXEEXT_FALSE
='#'
12657 am__EXEEXT_TRUE
='#'
12661 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
12662 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
12663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12665 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12666 as_fn_error
"conditional \"AMDEP\" was never defined.
12667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12669 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12670 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12673 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12674 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12677 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12678 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12681 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
12682 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
12683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12685 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
12686 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
12687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12689 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
12690 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
12691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12693 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
12694 as_fn_error
"conditional \"BUILD_LIBQUADMATH\" was never defined.
12695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12697 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
12698 as_fn_error
"conditional \"GENINSRC\" was never defined.
12699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12702 : ${CONFIG_STATUS=./config.status}
12704 ac_clean_files_save
=$ac_clean_files
12705 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12707 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12709 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12711 # Generated by $as_me.
12712 # Run this file to recreate the current configuration.
12713 # Compiler output produced by configure, useful for debugging
12714 # configure, is in config.log if it exists.
12717 ac_cs_recheck=false
12720 SHELL=\${CONFIG_SHELL-$SHELL}
12723 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12724 ## -------------------- ##
12725 ## M4sh Initialization. ##
12726 ## -------------------- ##
12728 # Be more Bourne compatible
12729 DUALCASE
=1; export DUALCASE
# for MKS sh
12730 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12733 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12734 # is contrary to our usage. Disable this feature.
12735 alias -g '${1+"$@"}'='"$@"'
12736 setopt NO_GLOB_SUBST
12738 case `(set -o) 2>/dev/null` in #(
12750 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12751 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12753 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12754 # Prefer a ksh shell builtin over an external printf program on Solaris,
12755 # but without wasting forks for bash or zsh.
12756 if test -z "$BASH_VERSION$ZSH_VERSION" \
12757 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12758 as_echo='print
-r --'
12759 as_echo_n='print
-rn --'
12760 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12761 as_echo='printf %s
\n'
12762 as_echo_n='printf %s
'
12764 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12765 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12766 as_echo_n='/usr
/ucb
/echo -n'
12768 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12769 as_echo_n_body='eval
12773 expr "X$arg" : "X\\(.*\\)$as_nl";
12774 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12776 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12778 export as_echo_n_body
12779 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12781 export as_echo_body
12782 as_echo='sh
-c $as_echo_body as_echo
'
12785 # The user is always right.
12786 if test "${PATH_SEPARATOR+set}" != set; then
12788 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12789 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12796 # We need space, tab and new line, in precisely that order. Quoting is
12797 # there to prevent editors from complaining about space-tab.
12798 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12799 # splitting by setting IFS to empty value.)
12802 # Find who we are. Look in the path if we contain no directory separator.
12804 *[\\/]* ) as_myself=$0 ;;
12805 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12809 test -z "$as_dir" && as_dir=.
12810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12816 # We did not find ourselves, most probably we were run as `sh COMMAND'
12817 # in which case we are not to be found in the path.
12818 if test "x$as_myself" = x
; then
12821 if test ! -f "$as_myself"; then
12822 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12826 # Unset variables that we do not need and which cause bugs (e.g. in
12827 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12828 # suppresses any "Segmentation fault" message there. '((' could
12829 # trigger a bug in pdksh 5.2.14.
12830 for as_var
in BASH_ENV ENV MAIL MAILPATH
12831 do eval test x\
${$as_var+set} = xset \
12832 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12845 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12848 # as_fn_error ERROR [LINENO LOG_FD]
12849 # ---------------------------------
12850 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12851 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12852 # script with status $?, using 1 if that was 0.
12855 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12857 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12858 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12860 $as_echo "$as_me: error: $1" >&2
12861 as_fn_exit
$as_status
12865 # as_fn_set_status STATUS
12866 # -----------------------
12867 # Set $? to STATUS, without forking.
12868 as_fn_set_status
()
12871 } # as_fn_set_status
12873 # as_fn_exit STATUS
12874 # -----------------
12875 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12879 as_fn_set_status
$1
12885 # Portably unset VAR.
12888 { eval $1=; unset $1;}
12890 as_unset
=as_fn_unset
12891 # as_fn_append VAR VALUE
12892 # ----------------------
12893 # Append the text in VALUE to the end of the definition contained in VAR. Take
12894 # advantage of any shell optimizations that allow amortized linear growth over
12895 # repeated appends, instead of the typical quadratic growth present in naive
12897 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12898 eval 'as_fn_append ()
12909 # as_fn_arith ARG...
12910 # ------------------
12911 # Perform arithmetic evaluation on the ARGs, and store the result in the
12912 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12913 # must be portable across $(()) and expr.
12914 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12915 eval 'as_fn_arith ()
12922 as_val
=`expr "$@" || test $? -eq 1`
12927 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12928 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12934 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12935 as_basename
=basename
12940 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12946 as_me
=`$as_basename -- "$0" ||
12947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12948 X"$0" : 'X\(//\)$' \| \
12949 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12951 sed '/^.*\/\([^/][^/]*\)\/*$/{
12965 # Avoid depending upon Character Ranges.
12966 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12967 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12968 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12969 as_cr_digits
='0123456789'
12970 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12972 ECHO_C
= ECHO_N
= ECHO_T
=
12973 case `echo -n x` in #(((((
12975 case `echo 'xy\c'` in
12976 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12978 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12985 rm -f conf$$ conf$$.exe conf$$.
file
12986 if test -d conf$$.dir
; then
12987 rm -f conf$$.dir
/conf$$.
file
12990 mkdir conf$$.dir
2>/dev
/null
12992 if (echo >conf$$.
file) 2>/dev
/null
; then
12993 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12995 # ... but there are two gotchas:
12996 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12997 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12998 # In both cases, we have to default to `cp -p'.
12999 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13001 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13009 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13010 rmdir conf$$.dir
2>/dev
/null
13015 # Create "$as_dir" as a directory, including parents if necessary.
13020 -*) as_dir
=.
/$as_dir;;
13022 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13026 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13027 *) as_qdir
=$as_dir;;
13029 as_dirs
="'$as_qdir' $as_dirs"
13030 as_dir
=`$as_dirname -- "$as_dir" ||
13031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13032 X"$as_dir" : 'X\(//\)[^/]' \| \
13033 X"$as_dir" : 'X\(//\)$' \| \
13034 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13035 $as_echo X"$as_dir" |
13036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13040 /^X\(\/\/\)[^/].*/{
13053 test -d "$as_dir" && break
13055 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13056 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13060 if mkdir
-p .
2>/dev
/null
; then
13061 as_mkdir_p
='mkdir -p "$as_dir"'
13063 test -d .
/-p && rmdir .
/-p
13067 if test -x / >/dev
/null
2>&1; then
13068 as_test_x
='test -x'
13070 if ls -dL / >/dev
/null
2>&1; then
13077 if test -d "$1"; then
13083 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13084 ???[sx]*):;;*)false;;esac;fi
13088 as_executable_p
=$as_test_x
13090 # Sed expression to map a string onto a valid CPP name.
13091 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13093 # Sed expression to map a string onto a valid variable name.
13094 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13098 ## ----------------------------------- ##
13099 ## Main body of $CONFIG_STATUS script. ##
13100 ## ----------------------------------- ##
13102 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13105 # Save the log message, to keep $0 and so on meaningful, and to
13106 # report actual input values of CONFIG_FILES etc. instead of their
13107 # values after options handling.
13109 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13110 generated by GNU Autoconf 2.64. Invocation command line was
13112 CONFIG_FILES = $CONFIG_FILES
13113 CONFIG_HEADERS = $CONFIG_HEADERS
13114 CONFIG_LINKS = $CONFIG_LINKS
13115 CONFIG_COMMANDS = $CONFIG_COMMANDS
13118 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13123 case $ac_config_files in *"
13124 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13127 case $ac_config_headers in *"
13128 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13133 # Files that config.status was made for.
13134 config_files="$ac_config_files"
13135 config_headers="$ac_config_headers"
13136 config_commands="$ac_config_commands"
13140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13142 \`$as_me' instantiates files and other configuration actions
13143 from templates according to the current configuration. Unless the files
13144 and actions are specified as TAGs, all are instantiated by default.
13146 Usage: $0 [OPTION]... [TAG]...
13148 -h, --help print this help, then exit
13149 -V, --version print version number and configuration settings, then exit
13150 -q, --quiet, --silent
13151 do not print progress messages
13152 -d, --debug don't remove temporary files
13153 --recheck update $as_me by reconfiguring in the same conditions
13154 --file=FILE[:TEMPLATE]
13155 instantiate the configuration file FILE
13156 --header=FILE[:TEMPLATE]
13157 instantiate the configuration header FILE
13159 Configuration files:
13162 Configuration headers:
13165 Configuration commands:
13168 Report bugs to the package provider."
13171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13173 GCC Quad-precision Math Library config.status 0.1
13174 configured by $0, generated by GNU Autoconf 2.64,
13175 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13177 Copyright (C) 2009 Free Software Foundation, Inc.
13178 This config.status script is free software; the Free Software Foundation
13179 gives unlimited permission to copy, distribute and modify it."
13186 test -n "\$AWK" || AWK=awk
13189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13190 # The default lists apply if the user does not specify any file.
13196 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13197 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13208 # Handling of the options.
13209 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13211 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13212 $as_echo "$ac_cs_version"; exit ;;
13213 --debug |
--debu |
--deb |
--de |
--d |
-d )
13215 --file |
--fil |
--fi |
--f )
13218 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13220 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13221 ac_need_defaults
=false
;;
13222 --header |
--heade |
--head |
--hea )
13225 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13227 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13228 ac_need_defaults
=false
;;
13230 # Conflict between --help and --header
13231 as_fn_error
"ambiguous option: \`$1'
13232 Try \`$0 --help' for more information.";;
13233 --help |
--hel |
-h )
13234 $as_echo "$ac_cs_usage"; exit ;;
13235 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13236 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13239 # This is an error.
13240 -*) as_fn_error
"unrecognized option: \`$1'
13241 Try \`$0 --help' for more information." ;;
13243 *) as_fn_append ac_config_targets
" $1"
13244 ac_need_defaults
=false
;;
13250 ac_configure_extra_args
=
13252 if $ac_cs_silent; then
13254 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13259 if \$ac_cs_recheck; then
13260 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13262 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13263 CONFIG_SHELL='$SHELL'
13264 export CONFIG_SHELL
13269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13273 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13274 ## Running $as_me. ##
13280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13284 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13287 # The HP-UX ksh and POSIX shell print the target directory to stdout
13288 # if CDPATH is set.
13289 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13291 sed_quote_subst='$sed_quote_subst'
13292 double_quote_subst='$double_quote_subst'
13293 delay_variable_subst='$delay_variable_subst'
13294 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13295 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13296 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13297 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13298 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13299 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13300 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13301 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13302 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13303 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13304 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13305 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13306 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13307 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13308 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13309 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13310 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13311 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13312 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13313 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13314 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13315 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13316 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13317 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13318 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13319 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13320 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13321 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13322 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13323 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13324 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13325 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13326 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13327 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13328 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13329 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13330 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13331 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13332 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13333 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13334 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13335 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13336 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13337 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13338 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13339 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13340 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13341 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13342 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"`'
13343 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13344 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13345 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13346 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13347 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13348 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13349 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13350 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13351 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13352 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13353 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13354 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13355 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13356 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13357 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13358 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13359 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13360 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13361 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13362 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13363 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13364 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13365 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13366 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13367 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13368 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13369 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13370 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13371 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13372 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13373 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13374 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13375 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13376 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13377 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13378 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13379 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13380 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13381 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13382 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13383 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13384 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13385 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13386 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13387 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13388 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13389 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13390 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13391 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13392 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13393 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13394 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13395 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13396 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13397 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13398 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13399 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13400 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13401 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13402 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13403 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13404 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13405 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13406 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13407 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13408 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13409 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13410 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13411 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13412 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13413 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13416 LTCFLAGS='$LTCFLAGS'
13417 compiler='$compiler_DEFAULT'
13419 # A function that is used when there is no print builtin or printf.
13420 func_fallback_echo ()
13422 eval 'cat <<_LTECHO_EOF
13427 # Quote evaled strings.
13441 deplibs_check_method \
13450 lt_cv_sys_global_symbol_pipe \
13451 lt_cv_sys_global_symbol_to_cdecl \
13452 lt_cv_sys_global_symbol_to_c_name_address \
13453 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13454 lt_prog_compiler_no_builtin_flag \
13455 lt_prog_compiler_wl \
13456 lt_prog_compiler_pic \
13457 lt_prog_compiler_static \
13458 lt_cv_prog_compiler_c_o \
13466 export_dynamic_flag_spec \
13467 whole_archive_flag_spec \
13468 compiler_needs_object \
13470 allow_undefined_flag \
13471 no_undefined_flag \
13472 hardcode_libdir_flag_spec \
13473 hardcode_libdir_flag_spec_ld \
13474 hardcode_libdir_separator \
13479 variables_saved_for_relink \
13481 library_names_spec \
13483 install_override_mode \
13487 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13488 *[\\\\\\\`\\"\\\$]*)
13489 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13492 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13497 # Double-quote double-evaled strings.
13498 for var in reload_cmds \
13499 old_postinstall_cmds \
13500 old_postuninstall_cmds \
13502 extract_expsyms_cmds \
13503 old_archive_from_new_cmds \
13504 old_archive_from_expsyms_cmds \
13506 archive_expsym_cmds \
13508 module_expsym_cmds \
13509 export_symbols_cmds \
13512 postuninstall_cmds \
13514 sys_lib_search_path_spec \
13515 sys_lib_dlsearch_path_spec; do
13516 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13517 *[\\\\\\\`\\"\\\$]*)
13518 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13521 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13526 ac_aux_dir='$ac_aux_dir'
13527 xsi_shell='$xsi_shell'
13528 lt_shell_append='$lt_shell_append'
13530 # See if we are running on zsh, and set the options which allow our
13531 # commands through without removal of \ escapes INIT.
13532 if test -n "\${ZSH_VERSION+set}" ; then
13533 setopt NO_GLOB_SUBST
13539 TIMESTAMP='$TIMESTAMP'
13549 with_multisubdir="$with_multisubdir"
13550 with_multisrctop="$with_multisrctop"
13551 with_target_subdir="$with_target_subdir"
13552 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13553 multi_basedir="$multi_basedir"
13554 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13557 GFORTRAN="$GFORTRAN"
13562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13564 # Handling of arguments.
13565 for ac_config_target
in $ac_config_targets
13567 case $ac_config_target in
13568 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13569 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13570 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13571 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13572 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13574 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13579 # If the user did not use the arguments to specify the items to instantiate,
13580 # then the envvar interface is used. Set only those that are not.
13581 # We use the long form for the default assignment because of an extremely
13582 # bizarre bug on SunOS 4.1.3.
13583 if $ac_need_defaults; then
13584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13589 # Have a temporary directory for convenience. Make it in the build tree
13590 # simply because there is no reason against having it here, and in addition,
13591 # creating and moving files from /tmp can sometimes cause problems.
13592 # Hook for its removal unless debugging.
13593 # Note that there is a small window in which the directory will not be cleaned:
13594 # after its creation but before its name has been assigned to `$tmp'.
13598 trap 'exit_status=$?
13599 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13601 trap 'as_fn_exit 1' 1 2 13 15
13603 # Create a (secure) tmp directory for tmp files.
13606 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13607 test -n "$tmp" && test -d "$tmp"
13610 tmp
=.
/conf$$
-$RANDOM
13611 (umask 077 && mkdir
"$tmp")
13612 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13614 # Set up the scripts for CONFIG_FILES section.
13615 # No need to generate them if there are no CONFIG_FILES.
13616 # This happens for instance with `./config.status config.h'.
13617 if test -n "$CONFIG_FILES"; then
13620 ac_cr
=`echo X | tr X '\015'`
13621 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13622 # But we know of no other shell where ac_cr would be empty at this
13623 # point, so we can use a bashism as a fallback.
13624 if test "x$ac_cr" = x
; then
13625 eval ac_cr
=\$
\'\\r
\'
13627 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13631 ac_cs_awk_cr
=$ac_cr
13634 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13639 echo "cat >conf$$subs.awk <<_ACEOF" &&
13640 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13642 } >conf$$subs.sh ||
13643 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13646 for ac_last_try in false false false false false :; do
13647 . ./conf$$subs.sh ||
13648 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13650 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13651 if test $ac_delim_n = $ac_delim_num; then
13653 elif $ac_last_try; then
13654 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13656 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13659 rm -f conf$$subs.sh
13661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13662 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13666 s/^/S["/; s
/!.
*/"]=/
13676 s/\(.\{148\}\).*/\1/
13678 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13683 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13690 s/\(.\{148\}\).*/\1/
13692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13696 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13701 ' <conf$$subs.awk | sed '
13706 ' >>$CONFIG_STATUS || ac_write_fail=1
13707 rm -f conf$$subs.awk
13708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13710 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13711 for (key in S) S_is_set[key] = 1
13717 nfields = split(line, field, "@
")
13719 len = length(field[1])
13720 for (i = 2; i < nfields; i++) {
13722 keylen = length(key)
13723 if (S_is_set[key]) {
13725 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13726 len += length(value) + length(field[++i])
13737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13738 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13739 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13742 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13743 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13746 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13747 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13748 # trailing colons and then remove the whole line if VPATH becomes empty
13749 # (actually we leave an empty line to preserve line numbers).
13750 if test "x
$srcdir" = x.; then
13751 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13752 s/:*\$(srcdir):*/:/
13753 s/:*\${srcdir}:*/:/
13755 s/^\([^=]*=[ ]*\):*/\1/
13761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13762 fi # test -n "$CONFIG_FILES"
13764 # Set up the scripts for CONFIG_HEADERS section.
13765 # No need to generate them if there are no CONFIG_HEADERS.
13766 # This happens for instance with `./config.status Makefile'.
13767 if test -n "$CONFIG_HEADERS"; then
13768 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13772 # Transform confdefs.h into an awk script `defines.awk', embedded as
13773 # here-document in config.status, that substitutes the proper values into
13774 # config.h.in to produce config.h.
13776 # Create a delimiter string that does not exist in confdefs.h, to ease
13777 # handling of long lines.
13779 for ac_last_try in false false :; do
13780 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13781 if test -z "$ac_t"; then
13783 elif $ac_last_try; then
13784 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13786 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13790 # For the awk script, D is an array of macro values keyed by name,
13791 # likewise P contains macro parameters if any. Preserve backslash
13792 # newline sequences.
13794 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13796 s/.\{148\}/&'"$ac_delim"'/g
13799 s/^[ ]*#[ ]*define[ ][ ]*/ /
13806 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13808 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13812 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13813 D["\
1"]=" \
3\\\\\\n
"\\/p
13815 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13820 s/.\{148\}/&'"$ac_delim"'/g
13825 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13828 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13830 ' <confdefs.h | sed '
13831 s/'"$ac_delim"'/"\\\
13832 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13835 for (key in D) D_is_set[key] = 1
13838 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13840 split(line, arg, " ")
13841 if (arg[1] == "#") {
13845 defundef
= substr
(arg
[1], 2)
13848 split(mac1
, mac2
, "(") #)
13850 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13851 if (D_is_set
[macro
]) {
13852 # Preserve the white space surrounding the "#".
13853 print prefix
"define", macro P
[macro
] D
[macro
]
13856 # Replace #undef with comments. This is necessary, for example,
13857 # in the case of _POSIX_SOURCE, which is predefined and required
13858 # on some systems where configure will not decide to define it.
13859 if (defundef
== "undef") {
13860 print
"/*", prefix defundef
, macro
, "*/"
13868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13869 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13870 fi # test -n "$CONFIG_HEADERS"
13873 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13878 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13880 case $ac_mode$ac_tag in
13882 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13883 :[FH
]-) ac_tag
=-:-;;
13884 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13901 -) ac_f
="$tmp/stdin";;
13902 *) # Look for the file first in the build tree, then in the source tree
13903 # (if the path is not absolute). The absolute path cannot be DOS-style,
13904 # because $ac_f cannot contain `:'.
13908 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13910 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13912 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13913 as_fn_append ac_file_inputs
" '$ac_f'"
13916 # Let's still pretend it is `configure' which instantiates (i.e., don't
13917 # use $as_me), people would be surprised to read:
13918 # /* config.h. Generated by config.status. */
13919 configure_input
='Generated from '`
13920 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13922 if test x
"$ac_file" != x-
; then
13923 configure_input
="$ac_file. $configure_input"
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13925 $as_echo "$as_me: creating $ac_file" >&6;}
13927 # Neutralize special characters interpreted by sed in replacement strings.
13928 case $configure_input in #(
13929 *\
&* |
*\|
* |
*\\* )
13930 ac_sed_conf_input
=`$as_echo "$configure_input" |
13931 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13932 *) ac_sed_conf_input
=$configure_input;;
13936 *:-:* |
*:-) cat >"$tmp/stdin" \
13937 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13942 ac_dir
=`$as_dirname -- "$ac_file" ||
13943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13944 X"$ac_file" : 'X\(//\)[^/]' \| \
13945 X"$ac_file" : 'X\(//\)$' \| \
13946 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13947 $as_echo X"$ac_file" |
13948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13952 /^X\(\/\/\)[^/].*/{
13965 as_dir
="$ac_dir"; as_fn_mkdir_p
13969 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13971 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13972 # A ".." for each directory in $ac_dir_suffix.
13973 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13974 case $ac_top_builddir_sub in
13975 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13976 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13979 ac_abs_top_builddir
=$ac_pwd
13980 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13981 # for backward compatibility:
13982 ac_top_builddir
=$ac_top_build_prefix
13985 .
) # We are building in place.
13987 ac_top_srcdir
=$ac_top_builddir_sub
13988 ac_abs_top_srcdir
=$ac_pwd ;;
13989 [\\/]* | ?
:[\\/]* ) # Absolute name.
13990 ac_srcdir
=$srcdir$ac_dir_suffix;
13991 ac_top_srcdir
=$srcdir
13992 ac_abs_top_srcdir
=$srcdir ;;
13993 *) # Relative name.
13994 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13995 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13996 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13998 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14008 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14009 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14011 ac_MKDIR_P
=$MKDIR_P
14013 [\\/$
]* | ?
:[\\/]* ) ;;
14014 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14019 # If the template does not know about datarootdir, expand it.
14020 # FIXME: This hack should be removed a few years after 2.60.
14021 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14032 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14033 *datarootdir
*) ac_datarootdir_seen
=yes;;
14034 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14036 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14039 ac_datarootdir_hack='
14040 s&@datadir@&$datadir&g
14041 s&@docdir@&$docdir&g
14042 s&@infodir@&$infodir&g
14043 s&@localedir@&$localedir&g
14044 s&@mandir@&$mandir&g
14045 s&\\\${datarootdir}&$datarootdir&g' ;;
14049 # Neutralize VPATH when `$srcdir' = `.'.
14050 # Shell code in configure.ac might set extrasub.
14051 # FIXME: do we really want to maintain this feature?
14052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14053 ac_sed_extra="$ac_vpsub
14056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14058 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14059 s|@configure_input@|
$ac_sed_conf_input|
;t t
14060 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14061 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14062 s
&@srcdir@
&$ac_srcdir&;t t
14063 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14064 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14065 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14066 s
&@builddir@
&$ac_builddir&;t t
14067 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14068 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14069 s
&@INSTALL@
&$ac_INSTALL&;t t
14070 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14071 $ac_datarootdir_hack
14073 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14074 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14076 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14077 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14078 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14080 which seems to be undefined. Please make sure it is defined." >&5
14081 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14082 which seems to be undefined. Please make sure it is defined." >&2;}
14086 -) cat "$tmp/out" && rm -f "$tmp/out";;
14087 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14089 || as_fn_error "could not create $ac_file" "$LINENO" 5
14095 if test x"$ac_file" != x-; then
14097 $as_echo "/* $configure_input */" \
14098 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14099 } >"$tmp/config.h" \
14100 || as_fn_error "could not create $ac_file" "$LINENO" 5
14101 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14103 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14106 mv "$tmp/config.h" "$ac_file" \
14107 || as_fn_error "could not create $ac_file" "$LINENO" 5
14110 $as_echo "/* $configure_input */" \
14111 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14112 || as_fn_error "could not create -" "$LINENO" 5
14114 # Compute "$ac_file"'s index
in $config_headers.
14117 for _am_header
in $config_headers :; do
14118 case $_am_header in
14119 $_am_arg |
$_am_arg:* )
14122 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14125 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14126 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14127 X"$_am_arg" : 'X\(//\)[^/]' \| \
14128 X"$_am_arg" : 'X\(//\)$' \| \
14129 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14130 $as_echo X"$_am_arg" |
14131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14135 /^X\(\/\/\)[^/].*/{
14147 s/.*/./; q'`/stamp-h
$_am_stamp_count
14150 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14151 $as_echo "$as_me: executing $ac_file commands" >&6;}
14156 case $ac_file$ac_mode in
14157 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14158 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14159 # are listed without --file. Let's play safe and only enable the eval
14160 # if we detect the quoting.
14161 case $CONFIG_FILES in
14162 *\'*) eval set x
"$CONFIG_FILES" ;;
14163 *) set x
$CONFIG_FILES ;;
14168 # Strip MF so we end up with the name of the file.
14169 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14170 # Check whether this is an Automake generated Makefile or not.
14171 # We used to match only the files named `Makefile.in', but
14172 # some people rename them; so instead we look at the file content.
14173 # Grep'ing the first line is not enough: some people post-process
14174 # each Makefile.in and add a new line on top of each file to say so.
14175 # Grep'ing the whole file is not good either: AIX grep has a line
14176 # limit of 2048, but all sed's we know have understand at least 4000.
14177 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14178 dirpart
=`$as_dirname -- "$mf" ||
14179 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14180 X"$mf" : 'X\(//\)[^/]' \| \
14181 X"$mf" : 'X\(//\)$' \| \
14182 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14188 /^X\(\/\/\)[^/].*/{
14204 # Extract the definition of DEPDIR, am__include, and am__quote
14205 # from the Makefile without running `make'.
14206 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14207 test -z "$DEPDIR" && continue
14208 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14209 test -z "am__include" && continue
14210 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14211 # When using ansi2knr, U may be empty or an underscore; expand it
14212 U
=`sed -n 's/^U = //p' < "$mf"`
14213 # Find all dependency output files, they are included files with
14214 # $(DEPDIR) in their names. We invoke sed twice because it is the
14215 # simplest approach to changing $(DEPDIR) to its actual value in the
14217 for file in `sed -n "
14218 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14219 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14220 # Make sure the directory exists.
14221 test -f "$dirpart/$file" && continue
14222 fdir
=`$as_dirname -- "$file" ||
14223 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14224 X"$file" : 'X\(//\)[^/]' \| \
14225 X"$file" : 'X\(//\)$' \| \
14226 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14227 $as_echo X"$file" |
14228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14232 /^X\(\/\/\)[^/].*/{
14245 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14246 # echo "creating $dirpart/$file"
14247 echo '# dummy' > "$dirpart/$file"
14254 # See if we are running on zsh, and set the options which allow our
14255 # commands through without removal of \ escapes.
14256 if test -n "${ZSH_VERSION+set}" ; then
14257 setopt NO_GLOB_SUBST
14260 cfgfile
="${ofile}T"
14261 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14264 cat <<_LT_EOF >> "$cfgfile"
14267 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14268 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14269 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14270 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14272 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14273 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14274 # Written by Gordon Matzigkeit, 1996
14276 # This file is part of GNU Libtool.
14278 # GNU Libtool is free software; you can redistribute it and/or
14279 # modify it under the terms of the GNU General Public License as
14280 # published by the Free Software Foundation; either version 2 of
14281 # the License, or (at your option) any later version.
14283 # As a special exception to the GNU General Public License,
14284 # if you distribute this file as part of a program or library that
14285 # is built using GNU Libtool, you may include this file under the
14286 # same distribution terms that you use for the rest of that program.
14288 # GNU Libtool is distributed in the hope that it will be useful,
14289 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14290 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14291 # GNU General Public License for more details.
14293 # You should have received a copy of the GNU General Public License
14294 # along with GNU Libtool; see the file COPYING. If not, a copy
14295 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14296 # obtained by writing to the Free Software Foundation, Inc.,
14297 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14300 # The names of the tagged configurations supported by this script.
14303 # ### BEGIN LIBTOOL CONFIG
14305 # Which release of libtool.m4 was used?
14306 macro_version=$macro_version
14307 macro_revision=$macro_revision
14309 # Whether or not to build shared libraries.
14310 build_libtool_libs=$enable_shared
14312 # Whether or not to build static libraries.
14313 build_old_libs=$enable_static
14315 # What type of objects to build.
14318 # Whether or not to optimize for fast installation.
14319 fast_install=$enable_fast_install
14321 # Shell to use when invoking shell scripts.
14324 # An echo program that protects backslashes.
14328 host_alias=$host_alias
14332 # The build system.
14333 build_alias=$build_alias
14337 # A sed program that does not truncate output.
14340 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14341 Xsed="\$SED -e 1s/^X//"
14343 # A grep program that handles long lines.
14349 # A literal string matcher.
14352 # A BSD- or MS-compatible name lister.
14355 # Whether we need soft or hard links.
14358 # What is the maximum length of a command?
14359 max_cmd_len=$max_cmd_len
14361 # Object file suffix (normally "o").
14364 # Executable file suffix (normally "").
14367 # whether the shell understands "unset".
14370 # turn spaces into newlines.
14373 # turn newlines into spaces.
14376 # An object symbol dumper.
14377 OBJDUMP=$lt_OBJDUMP
14379 # Method to check whether dependent libraries are shared objects.
14380 deplibs_check_method=$lt_deplibs_check_method
14382 # Command to use when deplibs_check_method == "file_magic".
14383 file_magic_cmd=$lt_file_magic_cmd
14387 AR_FLAGS=$lt_AR_FLAGS
14389 # A symbol stripping program.
14392 # Commands used to install an old-style archive.
14394 old_postinstall_cmds=$lt_old_postinstall_cmds
14395 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14397 # Whether to use a lock for old archive extraction.
14398 lock_old_archive_extraction=$lock_old_archive_extraction
14403 # LTCC compiler flags.
14404 LTCFLAGS=$lt_CFLAGS
14406 # Take the output of nm and produce a listing of raw symbols and C names.
14407 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14409 # Transform the output of nm in a proper C declaration.
14410 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14412 # Transform the output of nm in a C name address pair.
14413 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14415 # Transform the output of nm in a C name address pair when lib prefix is needed.
14416 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14418 # The name of the directory that contains temporary libtool files.
14421 # Used to examine libraries when file_magic_cmd begins with "file".
14422 MAGIC_CMD=$MAGIC_CMD
14424 # Must we lock files when doing compilation?
14425 need_locks=$lt_need_locks
14427 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14428 DSYMUTIL=$lt_DSYMUTIL
14430 # Tool to change global to local symbols on Mac OS X.
14433 # Tool to manipulate fat objects and archives on Mac OS X.
14436 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14439 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14440 OTOOL64=$lt_OTOOL64
14442 # Old archive suffix (normally "a").
14445 # Shared library suffix (normally ".so").
14446 shrext_cmds=$lt_shrext_cmds
14448 # The commands to extract the exported symbol list from a shared archive.
14449 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14451 # Variables whose values should be saved in libtool wrapper scripts and
14452 # restored at link time.
14453 variables_saved_for_relink=$lt_variables_saved_for_relink
14455 # Do we need the "lib" prefix for modules?
14456 need_lib_prefix=$need_lib_prefix
14458 # Do we need a version for libraries?
14459 need_version=$need_version
14461 # Library versioning type.
14462 version_type=$version_type
14464 # Shared library runtime path variable.
14465 runpath_var=$runpath_var
14467 # Shared library path variable.
14468 shlibpath_var=$shlibpath_var
14470 # Is shlibpath searched before the hard-coded library search path?
14471 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14473 # Format of library name prefix.
14474 libname_spec=$lt_libname_spec
14476 # List of archive names. First name is the real one, the rest are links.
14477 # The last name is the one that the linker finds with -lNAME
14478 library_names_spec=$lt_library_names_spec
14480 # The coded name of the library, if different from the real name.
14481 soname_spec=$lt_soname_spec
14483 # Permission mode override for installation of shared libraries.
14484 install_override_mode=$lt_install_override_mode
14486 # Command to use after installation of a shared archive.
14487 postinstall_cmds=$lt_postinstall_cmds
14489 # Command to use after uninstallation of a shared archive.
14490 postuninstall_cmds=$lt_postuninstall_cmds
14492 # Commands used to finish a libtool library installation in a directory.
14493 finish_cmds=$lt_finish_cmds
14495 # As "finish_cmds", except a single script fragment to be evaled but
14497 finish_eval=$lt_finish_eval
14499 # Whether we should hardcode library paths into libraries.
14500 hardcode_into_libs=$hardcode_into_libs
14502 # Compile-time system search path for libraries.
14503 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14505 # Run-time system search path for libraries.
14506 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14508 # Whether dlopen is supported.
14509 dlopen_support=$enable_dlopen
14511 # Whether dlopen of programs is supported.
14512 dlopen_self=$enable_dlopen_self
14514 # Whether dlopen of statically linked programs is supported.
14515 dlopen_self_static=$enable_dlopen_self_static
14517 # Commands to strip libraries.
14518 old_striplib=$lt_old_striplib
14519 striplib=$lt_striplib
14522 # The linker used to build libraries.
14525 # How to create reloadable object files.
14526 reload_flag=$lt_reload_flag
14527 reload_cmds=$lt_reload_cmds
14529 # Commands used to build an old-style archive.
14530 old_archive_cmds=$lt_old_archive_cmds
14532 # A language specific compiler.
14535 # Is the compiler the GNU compiler?
14538 # Compiler flag to turn off builtin functions.
14539 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14541 # How to pass a linker flag through the compiler.
14542 wl=$lt_lt_prog_compiler_wl
14544 # Additional compiler flags for building library objects.
14545 pic_flag=$lt_lt_prog_compiler_pic
14547 # Compiler flag to prevent dynamic linking.
14548 link_static_flag=$lt_lt_prog_compiler_static
14550 # Does compiler simultaneously support -c and -o options?
14551 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14553 # Whether or not to add -lc for building shared libraries.
14554 build_libtool_need_lc=$archive_cmds_need_lc
14556 # Whether or not to disallow shared libs when runtime libs are static.
14557 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14559 # Compiler flag to allow reflexive dlopens.
14560 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14562 # Compiler flag to generate shared objects directly from archives.
14563 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14565 # Whether the compiler copes with passing no objects directly.
14566 compiler_needs_object=$lt_compiler_needs_object
14568 # Create an old-style archive from a shared archive.
14569 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14571 # Create a temporary old-style archive to link instead of a shared archive.
14572 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14574 # Commands used to build a shared archive.
14575 archive_cmds=$lt_archive_cmds
14576 archive_expsym_cmds=$lt_archive_expsym_cmds
14578 # Commands used to build a loadable module if different from building
14579 # a shared archive.
14580 module_cmds=$lt_module_cmds
14581 module_expsym_cmds=$lt_module_expsym_cmds
14583 # Whether we are building with GNU ld or not.
14584 with_gnu_ld=$lt_with_gnu_ld
14586 # Flag that allows shared libraries with undefined symbols to be built.
14587 allow_undefined_flag=$lt_allow_undefined_flag
14589 # Flag that enforces no undefined symbols.
14590 no_undefined_flag=$lt_no_undefined_flag
14592 # Flag to hardcode \$libdir into a binary during linking.
14593 # This must work even if \$libdir does not exist
14594 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14596 # If ld is used when linking, flag to hardcode \$libdir into a binary
14597 # during linking. This must work even if \$libdir does not exist.
14598 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14600 # Whether we need a single "-rpath" flag with a separated argument.
14601 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14603 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14604 # DIR into the resulting binary.
14605 hardcode_direct=$hardcode_direct
14607 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14608 # DIR into the resulting binary and the resulting library dependency is
14609 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14610 # library is relocated.
14611 hardcode_direct_absolute=$hardcode_direct_absolute
14613 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14614 # into the resulting binary.
14615 hardcode_minus_L=$hardcode_minus_L
14617 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14618 # into the resulting binary.
14619 hardcode_shlibpath_var=$hardcode_shlibpath_var
14621 # Set to "yes" if building a shared library automatically hardcodes DIR
14622 # into the library and all subsequent libraries and executables linked
14624 hardcode_automatic=$hardcode_automatic
14626 # Set to yes if linker adds runtime paths of dependent libraries
14627 # to runtime path list.
14628 inherit_rpath=$inherit_rpath
14630 # Whether libtool must link a program against all its dependency libraries.
14631 link_all_deplibs=$link_all_deplibs
14633 # Fix the shell variable \$srcfile for the compiler.
14634 fix_srcfile_path=$lt_fix_srcfile_path
14636 # Set to "yes" if exported symbols are required.
14637 always_export_symbols=$always_export_symbols
14639 # The commands to list exported symbols.
14640 export_symbols_cmds=$lt_export_symbols_cmds
14642 # Symbols that should not be listed in the preloaded symbols.
14643 exclude_expsyms=$lt_exclude_expsyms
14645 # Symbols that must always be exported.
14646 include_expsyms=$lt_include_expsyms
14648 # Commands necessary for linking programs (against libraries) with templates.
14649 prelink_cmds=$lt_prelink_cmds
14651 # Specify filename containing input files.
14652 file_list_spec=$lt_file_list_spec
14654 # How to hardcode a shared library path into an executable.
14655 hardcode_action=$hardcode_action
14657 # ### END LIBTOOL CONFIG
14663 cat <<\_LT_EOF
>> "$cfgfile"
14664 # AIX sometimes has problems with the GCC collect2 program. For some
14665 # reason, if we set the COLLECT_NAMES environment variable, the problems
14666 # vanish in a puff of smoke.
14667 if test "X${COLLECT_NAMES+set}" != Xset
; then
14669 export COLLECT_NAMES
14676 ltmain
="$ac_aux_dir/ltmain.sh"
14679 # We use sed instead of cat because bash on DJGPP gets confused if
14680 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14681 # text mode, it properly converts lines to CR/LF. This bash problem
14682 # is reportedly fixed, but why not run on old versions too?
14683 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14684 ||
(rm -f "$cfgfile"; exit 1)
14688 cat << \_LT_EOF
>> "$cfgfile"
14690 # func_dirname file append nondir_replacement
14691 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14692 # otherwise set result to NONDIR_REPLACEMENT.
14696 */*) func_dirname_result
="${1%/*}${2}" ;;
14697 * ) func_dirname_result
="${3}" ;;
14701 # func_basename file
14704 func_basename_result
="${1##*/}"
14707 # func_dirname_and_basename file append nondir_replacement
14708 # perform func_basename and func_dirname in a single function
14710 # dirname: Compute the dirname of FILE. If nonempty,
14711 # add APPEND to the result, otherwise set result
14712 # to NONDIR_REPLACEMENT.
14713 # value returned in "$func_dirname_result"
14714 # basename: Compute filename of FILE.
14715 # value retuned in "$func_basename_result"
14716 # Implementation must be kept synchronized with func_dirname
14717 # and func_basename. For efficiency, we do not delegate to
14718 # those functions but instead duplicate the functionality here.
14719 func_dirname_and_basename
()
14722 */*) func_dirname_result
="${1%/*}${2}" ;;
14723 * ) func_dirname_result
="${3}" ;;
14725 func_basename_result
="${1##*/}"
14728 # func_stripname prefix suffix name
14729 # strip PREFIX and SUFFIX off of NAME.
14730 # PREFIX and SUFFIX must not contain globbing or regex special
14731 # characters, hashes, percent signs, but SUFFIX may contain a leading
14732 # dot (in which case that matches only a dot).
14735 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14736 # positional parameters, so assign one to ordinary parameter first.
14737 func_stripname_result
=${3}
14738 func_stripname_result
=${func_stripname_result#"${1}"}
14739 func_stripname_result
=${func_stripname_result%"${2}"}
14745 func_opt_split_opt
=${1%%=*}
14746 func_opt_split_arg
=${1#*=}
14753 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14754 *) func_lo2o_result
=${1} ;;
14758 # func_xform libobj-or-source
14761 func_xform_result
=${1%.*}.lo
14764 # func_arith arithmetic-term...
14767 func_arith_result
=$
(( $
* ))
14771 # STRING may not start with a hyphen.
14774 func_len_result
=${#1}
14779 *) # Bourne compatible functions.
14780 cat << \_LT_EOF
>> "$cfgfile"
14782 # func_dirname file append nondir_replacement
14783 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14784 # otherwise set result to NONDIR_REPLACEMENT.
14787 # Extract subdirectory from the argument.
14788 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14789 if test "X$func_dirname_result" = "X${1}"; then
14790 func_dirname_result
="${3}"
14792 func_dirname_result
="$func_dirname_result${2}"
14796 # func_basename file
14799 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14803 # func_stripname prefix suffix name
14804 # strip PREFIX and SUFFIX off of NAME.
14805 # PREFIX and SUFFIX must not contain globbing or regex special
14806 # characters, hashes, percent signs, but SUFFIX may contain a leading
14807 # dot (in which case that matches only a dot).
14808 # func_strip_suffix prefix name
14812 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14813 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14818 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14819 my_sed_long_arg
='1s/^-[^=]*=//'
14824 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14825 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14831 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14834 # func_xform libobj-or-source
14837 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14840 # func_arith arithmetic-term...
14843 func_arith_result
=`expr "$@"`
14847 # STRING may not start with a hyphen.
14850 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14856 case $lt_shell_append in
14858 cat << \_LT_EOF
>> "$cfgfile"
14860 # func_append var value
14861 # Append VALUE to the end of shell variable VAR.
14869 cat << \_LT_EOF
>> "$cfgfile"
14871 # func_append var value
14872 # Append VALUE to the end of shell variable VAR.
14883 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14884 ||
(rm -f "$cfgfile"; exit 1)
14886 mv -f "$cfgfile" "$ofile" ||
14887 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14892 # Only add multilib support code if we just rebuilt the top-level
14894 case " $CONFIG_FILES " in
14896 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14906 ac_clean_files
=$ac_clean_files_save
14908 test $ac_write_fail = 0 ||
14909 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14912 # configure is writing to config.log, and then calls config.status.
14913 # config.status does its own redirection, appending to config.log.
14914 # Unfortunately, on DOS this fails, as config.log is still kept open
14915 # by configure, so config.status won't be able to write to it; its
14916 # output is simply discarded. So we exec the FD to /dev/null,
14917 # effectively closing config.log, so it can be properly (re)opened and
14918 # appended to by config.status. When coming back to configure, we
14919 # need to make the FD available again.
14920 if test "$no_create" != yes; then
14922 ac_config_status_args
=
14923 test "$silent" = yes &&
14924 ac_config_status_args
="$ac_config_status_args --quiet"
14926 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14928 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14929 # would make configure fail if this is the last instruction.
14930 $ac_cs_success || as_fn_exit $?
14932 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14934 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}