2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GCC Quad-precision Math Library 0.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GCC Quad-precision Math Library'
589 PACKAGE_TARNAME
='libquadmath'
590 PACKAGE_VERSION
='0.1'
591 PACKAGE_STRING
='GCC Quad-precision Math Library 0.1'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars
='am__EXEEXT_FALSE
639 BUILD_LIBQUADMATH_FALSE
640 BUILD_LIBQUADMATH_TRUE
641 LIBQUAD_USE_SYMVER_SUN_FALSE
642 LIBQUAD_USE_SYMVER_SUN_TRUE
643 LIBQUAD_USE_SYMVER_GNU_FALSE
644 LIBQUAD_USE_SYMVER_GNU_TRUE
645 LIBQUAD_USE_SYMVER_FALSE
646 LIBQUAD_USE_SYMVER_TRUE
650 MAINTAINER_MODE_FALSE
707 INSTALL_STRIP_PROGRAM
763 program_transform_name
776 enable_option_checking
779 enable_version_specific_runtime_libs
780 enable_dependency_tracking
788 enable_maintainer_mode
791 enable_generated_files_in_srcdir
792 with_gcc_major_version_only
794 ac_precious_vars
='build_alias
805 # Initialize some variables set by options.
807 ac_init_version
=false
808 ac_unrecognized_opts
=
810 # The variables have the same names as the options, with
811 # dashes changed to underlines.
819 program_transform_name
=s
,x
,x
,
827 # Installation directory options.
828 # These are left unexpanded so users can "make install exec_prefix=/foo"
829 # and all the variables that are supposed to be based on exec_prefix
830 # by default will actually change.
831 # Use braces instead of parens because sh, perl, etc. also accept them.
832 # (The list follows the same order as the GNU Coding Standards.)
833 bindir
='${exec_prefix}/bin'
834 sbindir
='${exec_prefix}/sbin'
835 libexecdir
='${exec_prefix}/libexec'
836 datarootdir
='${prefix}/share'
837 datadir
='${datarootdir}'
838 sysconfdir
='${prefix}/etc'
839 sharedstatedir
='${prefix}/com'
840 localstatedir
='${prefix}/var'
841 includedir
='${prefix}/include'
842 oldincludedir
='/usr/include'
843 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
844 infodir
='${datarootdir}/info'
849 libdir
='${exec_prefix}/lib'
850 localedir
='${datarootdir}/locale'
851 mandir
='${datarootdir}/man'
857 # If the previous option needs an argument, assign it.
858 if test -n "$ac_prev"; then
859 eval $ac_prev=\
$ac_option
865 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
870 # Accept the important Cygnus configure options, so we can diagnose typos.
872 case $ac_dashdash$ac_option in
876 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
878 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
881 -build |
--build |
--buil |
--bui |
--bu)
882 ac_prev
=build_alias
;;
883 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
884 build_alias
=$ac_optarg ;;
886 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
887 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
888 ac_prev
=cache_file
;;
889 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
890 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
891 cache_file
=$ac_optarg ;;
894 cache_file
=config.cache
;;
896 -datadir |
--datadir |
--datadi |
--datad)
898 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
899 datadir
=$ac_optarg ;;
901 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
902 |
--dataroo |
--dataro |
--datar)
903 ac_prev
=datarootdir
;;
904 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
905 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
906 datarootdir
=$ac_optarg ;;
908 -disable-* |
--disable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error $?
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=no
;;
924 -docdir |
--docdir |
--docdi |
--doc |
--do)
926 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
929 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
931 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
934 -enable-* |
--enable-*)
935 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
938 as_fn_error $?
"invalid feature name: $ac_useropt"
939 ac_useropt_orig
=$ac_useropt
940 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946 ac_unrecognized_sep
=', ';;
948 eval enable_
$ac_useropt=\
$ac_optarg ;;
950 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
951 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
952 |
--exec |
--exe |
--ex)
953 ac_prev
=exec_prefix
;;
954 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
955 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
956 |
--exec=* |
--exe=* |
--ex=*)
957 exec_prefix
=$ac_optarg ;;
959 -gas |
--gas |
--ga |
--g)
960 # Obsolete; use --with-gas.
963 -help |
--help |
--hel |
--he |
-h)
965 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
966 ac_init_help
=recursive
;;
967 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
968 ac_init_help
=short
;;
970 -host |
--host |
--hos |
--ho)
971 ac_prev
=host_alias
;;
972 -host=* |
--host=* |
--hos=* |
--ho=*)
973 host_alias
=$ac_optarg ;;
975 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
977 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
979 htmldir
=$ac_optarg ;;
981 -includedir |
--includedir |
--includedi |
--included |
--include \
982 |
--includ |
--inclu |
--incl |
--inc)
983 ac_prev
=includedir
;;
984 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
985 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
986 includedir
=$ac_optarg ;;
988 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
990 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
991 infodir
=$ac_optarg ;;
993 -libdir |
--libdir |
--libdi |
--libd)
995 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
998 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
999 |
--libexe |
--libex |
--libe)
1000 ac_prev
=libexecdir
;;
1001 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1002 |
--libexe=* |
--libex=* |
--libe=*)
1003 libexecdir
=$ac_optarg ;;
1005 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1006 ac_prev
=localedir
;;
1007 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1008 localedir
=$ac_optarg ;;
1010 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1011 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1012 ac_prev
=localstatedir
;;
1013 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1014 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1015 localstatedir
=$ac_optarg ;;
1017 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1019 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1020 mandir
=$ac_optarg ;;
1022 -nfp |
--nfp |
--nf)
1023 # Obsolete; use --without-fp.
1026 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1027 |
--no-cr |
--no-c |
-n)
1030 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1031 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1034 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1035 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1036 |
--oldin |
--oldi |
--old |
--ol |
--o)
1037 ac_prev
=oldincludedir
;;
1038 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1039 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1040 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1041 oldincludedir
=$ac_optarg ;;
1043 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1045 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1046 prefix
=$ac_optarg ;;
1048 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1049 |
--program-pre |
--program-pr |
--program-p)
1050 ac_prev
=program_prefix
;;
1051 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1052 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1053 program_prefix
=$ac_optarg ;;
1055 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1056 |
--program-suf |
--program-su |
--program-s)
1057 ac_prev
=program_suffix
;;
1058 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1059 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1060 program_suffix
=$ac_optarg ;;
1062 -program-transform-name |
--program-transform-name \
1063 |
--program-transform-nam |
--program-transform-na \
1064 |
--program-transform-n |
--program-transform- \
1065 |
--program-transform |
--program-transfor \
1066 |
--program-transfo |
--program-transf \
1067 |
--program-trans |
--program-tran \
1068 |
--progr-tra |
--program-tr |
--program-t)
1069 ac_prev
=program_transform_name
;;
1070 -program-transform-name=* |
--program-transform-name=* \
1071 |
--program-transform-nam=* |
--program-transform-na=* \
1072 |
--program-transform-n=* |
--program-transform-=* \
1073 |
--program-transform=* |
--program-transfor=* \
1074 |
--program-transfo=* |
--program-transf=* \
1075 |
--program-trans=* |
--program-tran=* \
1076 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1077 program_transform_name
=$ac_optarg ;;
1079 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1081 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1082 pdfdir
=$ac_optarg ;;
1084 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1086 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1090 |
-silent |
--silent |
--silen |
--sile |
--sil)
1093 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1095 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1097 sbindir
=$ac_optarg ;;
1099 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1100 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1101 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1103 ac_prev
=sharedstatedir
;;
1104 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1105 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1106 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1108 sharedstatedir
=$ac_optarg ;;
1110 -site |
--site |
--sit)
1112 -site=* |
--site=* |
--sit=*)
1115 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1117 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1118 srcdir
=$ac_optarg ;;
1120 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1121 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1122 ac_prev
=sysconfdir
;;
1123 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1124 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1125 sysconfdir
=$ac_optarg ;;
1127 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1128 ac_prev
=target_alias
;;
1129 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1130 target_alias
=$ac_optarg ;;
1132 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1135 -version |
--version |
--versio |
--versi |
--vers |
-V)
1136 ac_init_version
=: ;;
1139 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error $?
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=\
$ac_optarg ;;
1154 -without-* |
--without-*)
1155 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error $?
"invalid package name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=no
;;
1171 # Obsolete; use --with-x.
1174 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1175 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1176 ac_prev
=x_includes
;;
1177 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1178 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1179 x_includes
=$ac_optarg ;;
1181 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1182 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1183 ac_prev
=x_libraries
;;
1184 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1185 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1186 x_libraries
=$ac_optarg ;;
1188 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1189 Try \`$0 --help' for more information"
1193 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1194 # Reject names that are not valid shell variable names.
1195 case $ac_envvar in #(
1196 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1197 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1199 eval $ac_envvar=\
$ac_optarg
1200 export $ac_envvar ;;
1203 # FIXME: should be removed in autoconf 3.0.
1204 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1213 if test -n "$ac_prev"; then
1214 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1215 as_fn_error $?
"missing argument to $ac_option"
1218 if test -n "$ac_unrecognized_opts"; then
1219 case $enable_option_checking in
1221 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1222 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1226 # Check all directory arguments for consistency.
1227 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228 datadir sysconfdir sharedstatedir localstatedir includedir \
1229 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230 libdir localedir mandir
1232 eval ac_val
=\$
$ac_var
1233 # Remove trailing slashes.
1236 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237 eval $ac_var=\
$ac_val;;
1239 # Be sure to have absolute directory names.
1241 [\\/$
]* | ?
:[\\/]* ) continue;;
1242 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1244 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1247 # There might be people who depend on the old broken behavior: `$host'
1248 # used to hold the argument of --host etc.
1249 # FIXME: To remove some day.
1252 target
=$target_alias
1254 # FIXME: To remove some day.
1255 if test "x$host_alias" != x
; then
1256 if test "x$build_alias" = x
; then
1257 cross_compiling
=maybe
1258 elif test "x$build_alias" != "x$host_alias"; then
1264 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1266 test "$silent" = yes && exec 6>/dev
/null
1269 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1270 ac_ls_di
=`ls -di .` &&
1271 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1272 as_fn_error $?
"working directory cannot be determined"
1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1274 as_fn_error $?
"pwd does not report name of working directory"
1277 # Find the source files, if location was not specified.
1278 if test -z "$srcdir"; then
1279 ac_srcdir_defaulted
=yes
1280 # Try the directory containing this script, then the parent directory.
1281 ac_confdir
=`$as_dirname -- "$as_myself" ||
1282 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283 X"$as_myself" : 'X\(//\)[^/]' \| \
1284 X"$as_myself" : 'X\(//\)$' \| \
1285 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1286 $as_echo X"$as_myself" |
1287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1309 ac_srcdir_defaulted
=no
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1312 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1313 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1315 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1319 # When building in place, set srcdir=.
1320 if test "$ac_abs_confdir" = "$ac_pwd"; then
1323 # Remove unnecessary trailing slashes from srcdir.
1324 # Double slashes in file names in object file debugging info
1325 # mess up M-x gdb in Emacs.
1327 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1329 for ac_var
in $ac_precious_vars; do
1330 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1331 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1332 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1333 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1337 # Report the --help message.
1339 if test "$ac_init_help" = "long"; then
1340 # Omit some internal or obsolete options to make the list less imposing.
1341 # This message is too long to be a string in the A/UX 3.1 sh.
1343 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1345 Usage: $0 [OPTION]... [VAR=VALUE]...
1347 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1348 VAR=VALUE. See below for descriptions of some of the useful variables.
1350 Defaults for the options are specified in brackets.
1353 -h, --help display this help and exit
1354 --help=short display options specific to this package
1355 --help=recursive display the short help of all the included packages
1356 -V, --version display version information and exit
1357 -q, --quiet, --silent do not print \`checking ...' messages
1358 --cache-file=FILE cache test results in FILE [disabled]
1359 -C, --config-cache alias for \`--cache-file=config.cache'
1360 -n, --no-create do not create output files
1361 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1363 Installation directories:
1364 --prefix=PREFIX install architecture-independent files in PREFIX
1365 [$ac_default_prefix]
1366 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1369 By default, \`make install' will install all the files in
1370 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1371 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1372 for instance \`--prefix=\$HOME'.
1374 For better control, use the options below.
1376 Fine tuning of the installation directories:
1377 --bindir=DIR user executables [EPREFIX/bin]
1378 --sbindir=DIR system admin executables [EPREFIX/sbin]
1379 --libexecdir=DIR program executables [EPREFIX/libexec]
1380 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1381 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1382 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1383 --libdir=DIR object code libraries [EPREFIX/lib]
1384 --includedir=DIR C header files [PREFIX/include]
1385 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1388 --infodir=DIR info documentation [DATAROOTDIR/info]
1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1390 --mandir=DIR man documentation [DATAROOTDIR/man]
1391 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1392 --htmldir=DIR html documentation [DOCDIR]
1393 --dvidir=DIR dvi documentation [DOCDIR]
1394 --pdfdir=DIR pdf documentation [DOCDIR]
1395 --psdir=DIR ps documentation [DOCDIR]
1401 --program-prefix=PREFIX prepend PREFIX to installed program names
1402 --program-suffix=SUFFIX append SUFFIX to installed program names
1403 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1406 --build=BUILD configure
for building on BUILD
[guessed
]
1407 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1408 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1412 if test -n "$ac_init_help"; then
1413 case $ac_init_help in
1414 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1419 --disable-option-checking ignore unrecognized
--enable/--with options
1420 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1421 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1422 --enable-multilib build many library versions
(default
)
1423 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1424 --disable-silent-rules verbose build output
(undo
: "make V=0")
1425 --enable-version-specific-runtime-libs
1426 specify that runtime libraries should be installed
1427 in a compiler-specific directory
1428 --enable-dependency-tracking
1429 do not reject slow dependency extractors
1430 --disable-dependency-tracking
1431 speeds up one-time build
1432 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1433 --enable-static[=PKGS
] build static libraries
[default
=yes]
1434 --enable-fast-install[=PKGS
]
1435 optimize
for fast installation
[default
=yes]
1436 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1437 --enable-maintainer-mode
1438 enable make rules and dependencies not useful
(and
1439 sometimes confusing
) to the casual installer
1440 --disable-symvers disable symbol versioning
for libquadmath
1441 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1442 --enable-generated-files-in-srcdir
1443 put copies of generated files
in source dir intended
1444 for creating
source tarballs
for users without
1445 texinfo bison or flex
1448 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1449 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1450 --with-bugurl=URL Direct users to URL to report a bug
1451 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1453 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1454 --with-gcc-major-version-only
1455 use only GCC major number
in filesystem paths
1457 Some influential environment variables
:
1458 CC C compiler
command
1459 CFLAGS C compiler flags
1460 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1461 nonstandard directory
<lib dir
>
1462 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1463 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1464 you have headers
in a nonstandard directory
<include dir
>
1467 Use these variables to override the choices made by
`configure' or to help
1468 it to find libraries and programs with nonstandard names/locations.
1470 Report bugs to the package provider.
1475 if test "$ac_init_help" = "recursive"; then
1476 # If there are subdirs, report their specific --help.
1477 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1478 test -d "$ac_dir" ||
1479 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1487 # A ".." for each directory in $ac_dir_suffix.
1488 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1489 case $ac_top_builddir_sub in
1490 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1491 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1494 ac_abs_top_builddir=$ac_pwd
1495 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1496 # for backward compatibility:
1497 ac_top_builddir=$ac_top_build_prefix
1500 .) # We are building in place.
1502 ac_top_srcdir=$ac_top_builddir_sub
1503 ac_abs_top_srcdir=$ac_pwd ;;
1504 [\\/]* | ?:[\\/]* ) # Absolute name.
1505 ac_srcdir=$srcdir$ac_dir_suffix;
1506 ac_top_srcdir=$srcdir
1507 ac_abs_top_srcdir=$srcdir ;;
1509 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1510 ac_top_srcdir=$ac_top_build_prefix$srcdir
1511 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1515 cd "$ac_dir" || { ac_status=$?; continue; }
1516 # Check for guested configure.
1517 if test -f "$ac_srcdir/configure.gnu"; then
1519 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1520 elif test -f "$ac_srcdir/configure"; then
1522 $SHELL "$ac_srcdir/configure" --help=recursive
1524 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1526 cd "$ac_pwd" || { ac_status=$?; break; }
1530 test -n "$ac_init_help" && exit $ac_status
1531 if $ac_init_version; then
1533 GCC Quad-precision Math Library configure 0.1
1534 generated by GNU Autoconf 2.69
1536 Copyright (C) 2012 Free Software Foundation, Inc.
1537 This configure script is free software; the Free Software Foundation
1538 gives unlimited permission to copy, distribute and modify it.
1543 ## ------------------------ ##
1544 ## Autoconf initialization. ##
1545 ## ------------------------ ##
1547 # ac_fn_c_try_compile LINENO
1548 # --------------------------
1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_compile ()
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 rm -f conftest.$ac_objext
1554 if { { ac_try="$ac_compile"
1556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1557 *) ac_try_echo
=$ac_try;;
1559 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_compile") 2>conftest.err
1563 if test -s conftest.err
; then
1564 grep -v '^ *+' conftest.err
>conftest.er1
1565 cat conftest.er1
>&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } && {
1570 test -z "$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1572 } && test -s conftest.
$ac_objext; then :
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.
$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status
$ac_retval
1583 } # ac_fn_c_try_compile
1585 # ac_fn_c_try_cpp LINENO
1586 # ----------------------
1587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1590 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1591 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } > conftest.i && {
1607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1622 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1625 # the include files in INCLUDES and setting the cache variable VAR
1627 ac_fn_c_check_header_mongrel ()
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if eval \${$3+:} false; then :
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634 $as_echo_n "(cached) " >&6
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1638 $as_echo "$ac_res" >&6; }
1640 # Is the header compilable?
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1642 $as_echo_n "checking $2 usability... " >&6; }
1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644 /* end confdefs.h. */
1648 if ac_fn_c_try_compile "$LINENO"; then :
1649 ac_header_compiler=yes
1651 ac_header_compiler=no
1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1655 $as_echo "$ac_header_compiler" >&6; }
1657 # Is the header present?
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1659 $as_echo_n "checking $2 presence... " >&6; }
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1664 if ac_fn_c_try_cpp "$LINENO"; then :
1665 ac_header_preproc=yes
1667 ac_header_preproc=no
1669 rm -f conftest.err conftest.i conftest.$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1671 $as_echo "$ac_header_preproc" >&6; }
1673 # So? What about this header?
1674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1677 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1679 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1683 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1685 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1687 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1689 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1691 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \${$3+:} false; then :
1697 $as_echo_n "(cached) " >&6
1699 eval "$3=\$ac_header_compiler"
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707 } # ac_fn_c_check_header_mongrel
1709 # ac_fn_c_try_run LINENO
1710 # ----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1712 # that executables *can* be run.
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if { { ac_try="$ac_link"
1718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1719 *) ac_try_echo
=$ac_try;;
1721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>&5
1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1727 { { case "(($ac_try" in
1728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_try") 2>&5
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; }; }; then :
1739 $as_echo "$as_me: program exited with status $ac_status" >&5
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=$ac_status
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1751 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists and can be compiled using the include files in
1754 # INCLUDES, setting the cache variable VAR accordingly.
1755 ac_fn_c_check_header_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1768 if ac_fn_c_try_compile "$LINENO"; then :
1773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 } # ac_fn_c_check_header_compile
1782 # ac_fn_c_try_link LINENO
1783 # -----------------------
1784 # Try to link conftest.$ac_ext, and return whether this succeeded.
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 rm -f conftest.$ac_objext conftest$ac_exeext
1789 if { { ac_try="$ac_link"
1791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1792 *) ac_try_echo
=$ac_try;;
1794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_link") 2>conftest.err
1798 if test -s conftest.err
; then
1799 grep -v '^ *+' conftest.err
>conftest.er1
1800 cat conftest.er1
>&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest
$ac_exeext && {
1808 test "$cross_compiling" = yes ||
1809 test -x conftest
$ac_exeext
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.
$ac_ext >&5
1818 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1819 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1820 # interfere with the next link command; also delete a directory that is
1821 # left behind by Apple's compiler. We do this before executing the actions.
1822 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 as_fn_set_status
$ac_retval
1826 } # ac_fn_c_try_link
1828 # ac_fn_c_check_func LINENO FUNC VAR
1829 # ----------------------------------
1830 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1831 ac_fn_c_check_func
()
1833 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if eval \
${$3+:} false
; then :
1837 $as_echo_n "(cached) " >&6
1839 if test x
$gcc_no_link = xyes
; then
1840 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1844 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1846 #define $2 innocuous_$2
1848 /* System header to define __stub macros and hopefully few prototypes,
1849 which can conflict with char $2 (); below.
1850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1851 <limits.h> exists even on freestanding compilers. */
1854 # include <limits.h>
1856 # include <assert.h>
1861 /* Override any GCC internal prototype to avoid an error.
1862 Use char because int might match the return type of a GCC
1863 builtin and then its argument prototype would still apply. */
1868 /* The GNU C library defines this for functions which it implements
1869 to always fail with ENOSYS. Some functions are actually named
1870 something starting with __ and the normal name is an alias. */
1871 #if defined __stub_$2 || defined __stub___$2
1883 if ac_fn_c_try_link
"$LINENO"; then :
1888 rm -f core conftest.err conftest.
$ac_objext \
1889 conftest
$ac_exeext conftest.
$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 } # ac_fn_c_check_func
1897 cat >config.log
<<_ACEOF
1898 This file contains any messages produced by compilers while
1899 running configure, to aid debugging if configure makes a mistake.
1901 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1902 generated by GNU Autoconf 2.69. Invocation command line was
1914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1926 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir
=.
1938 $as_echo "PATH: $as_dir"
1954 # Keep a trace of the command line.
1955 # Strip out --no-create and --no-recursion so they do not pile up.
1956 # Strip out --silent because we don't want to record it for future runs.
1957 # Also quote any args containing shell meta-characters.
1958 # Make two passes to allow for proper duplicate-argument suppression.
1962 ac_must_keep_next
=false
1968 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1969 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1970 |
-silent |
--silent |
--silen |
--sile |
--sil)
1973 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1976 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1978 as_fn_append ac_configure_args1
" '$ac_arg'"
1979 if test $ac_must_keep_next = true
; then
1980 ac_must_keep_next
=false
# Got value, back to normal.
1983 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1984 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1985 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1986 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1987 case "$ac_configure_args0 " in
1988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1991 -* ) ac_must_keep_next
=true
;;
1994 as_fn_append ac_configure_args
" '$ac_arg'"
1999 { ac_configure_args0
=; unset ac_configure_args0
;}
2000 { ac_configure_args1
=; unset ac_configure_args1
;}
2002 # When interrupted or exit'd, cleanup temporary files, and complete
2003 # config.log. We remove comments because anyway the quotes in there
2004 # would cause problems or look ugly.
2005 # WARNING: Use '\'' to represent an apostrophe within the trap.
2006 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2007 trap 'exit_status=$?
2008 # Save into config.log some information that might help in debugging.
2012 $as_echo "## ---------------- ##
2013 ## Cache variables. ##
2014 ## ---------------- ##"
2016 # The following way of writing the cache mishandles newlines in values,
2018 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2019 eval ac_val=\$$ac_var
2023 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2027 _ | IFS | as_nl) ;; #(
2028 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2029 *) { eval $ac_var=; unset $ac_var;} ;;
2034 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2035 *${as_nl}ac_space=\ *)
2037 "s/'\''/'\''\\\\'\'''\''/g;
2038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2048 $as_echo "## ----------------- ##
2049 ## Output variables. ##
2050 ## ----------------- ##"
2052 for ac_var in $ac_subst_vars
2054 eval ac_val=\$$ac_var
2056 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -n "$ac_subst_files"; then
2063 $as_echo "## ------------------- ##
2064 ## File substitutions. ##
2065 ## ------------------- ##"
2067 for ac_var
in $ac_subst_files
2069 eval ac_val
=\$
$ac_var
2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2078 if test -s confdefs.h; then
2079 $as_echo "## ----------- ##
2086 test "$ac_signal" != 0 &&
2087 $as_echo "$as_me: caught signal $ac_signal"
2088 $as_echo "$as_me: exit $exit_status"
2090 rm -f core *.core core.conftest.* &&
2091 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2094 for ac_signal
in 1 2 13 15; do
2095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2100 rm -f -r conftest
* confdefs.h
2102 $as_echo "/* confdefs.h */" > confdefs.h
2104 # Predefined preprocessor variables.
2106 cat >>confdefs.h
<<_ACEOF
2107 #define PACKAGE_NAME "$PACKAGE_NAME"
2110 cat >>confdefs.h
<<_ACEOF
2111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2114 cat >>confdefs.h
<<_ACEOF
2115 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2118 cat >>confdefs.h
<<_ACEOF
2119 #define PACKAGE_STRING "$PACKAGE_STRING"
2122 cat >>confdefs.h
<<_ACEOF
2123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2126 cat >>confdefs.h
<<_ACEOF
2127 #define PACKAGE_URL "$PACKAGE_URL"
2131 # Let the site file select an alternate cache file if it wants to.
2132 # Prefer an explicitly selected file to automatically selected ones.
2135 if test -n "$CONFIG_SITE"; then
2136 # We do not want a PATH search for config.site.
2137 case $CONFIG_SITE in #((
2138 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2139 */*) ac_site_file1
=$CONFIG_SITE;;
2140 *) ac_site_file1
=.
/$CONFIG_SITE;;
2142 elif test "x$prefix" != xNONE
; then
2143 ac_site_file1
=$prefix/share
/config.site
2144 ac_site_file2
=$prefix/etc
/config.site
2146 ac_site_file1
=$ac_default_prefix/share
/config.site
2147 ac_site_file2
=$ac_default_prefix/etc
/config.site
2149 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2151 test "x$ac_site_file" = xNONE
&& continue
2152 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2154 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2155 sed 's/^/| /' "$ac_site_file" >&5
2157 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 as_fn_error $?
"failed to load site script $ac_site_file
2160 See \`config.log' for more details" "$LINENO" 5; }
2164 if test -r "$cache_file"; then
2165 # Some versions of bash will fail to source /dev/null (special files
2166 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2167 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2169 $as_echo "$as_me: loading cache $cache_file" >&6;}
2171 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2172 *) .
"./$cache_file";;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2177 $as_echo "$as_me: creating cache $cache_file" >&6;}
2181 # Check that the precious variables saved in the cache have kept the same
2183 ac_cache_corrupted
=false
2184 for ac_var
in $ac_precious_vars; do
2185 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2186 eval ac_new_set
=\
$ac_env_${ac_var}_set
2187 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2188 eval ac_new_val
=\
$ac_env_${ac_var}_value
2189 case $ac_old_set,$ac_new_set in
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2193 ac_cache_corrupted
=: ;;
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2197 ac_cache_corrupted
=: ;;
2200 if test "x$ac_old_val" != "x$ac_new_val"; then
2201 # differences in whitespace do not lead to failure.
2202 ac_old_val_w
=`echo x $ac_old_val`
2203 ac_new_val_w
=`echo x $ac_new_val`
2204 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2207 ac_cache_corrupted
=:
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2211 eval $ac_var=\
$ac_old_val
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2219 # Pass precious variables to config.status.
2220 if test "$ac_new_set" = set; then
2222 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2223 *) ac_arg
=$ac_var=$ac_new_val ;;
2225 case " $ac_configure_args " in
2226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2227 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2231 if $ac_cache_corrupted; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2236 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2238 ## -------------------- ##
2239 ## Main body of script. ##
2240 ## -------------------- ##
2243 ac_cpp
='$CPP $CPPFLAGS'
2244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2252 ac_config_headers
="$ac_config_headers config.h"
2255 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2257 # You will slowly go insane if you do not grok the following fact: when
2258 # building this library, the top-level /target/ becomes the library's /host/.
2260 # configure then causes --target to default to --host, exactly like any
2261 # other package using autoconf. Therefore, 'target' and 'host' will
2262 # always be the same. This makes sense both for native and cross compilers
2263 # just think about it for a little while. :-)
2265 # Also, if this library is being configured as part of a cross compiler, the
2266 # top-level configure script will pass the "real" host as $with_cross_host.
2268 # Do not delete or change the following two lines. For why, see
2269 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2271 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2272 if test -f "$ac_dir/install-sh"; then
2274 ac_install_sh
="$ac_aux_dir/install-sh -c"
2276 elif test -f "$ac_dir/install.sh"; then
2278 ac_install_sh
="$ac_aux_dir/install.sh -c"
2280 elif test -f "$ac_dir/shtool"; then
2282 ac_install_sh
="$ac_aux_dir/shtool install -c"
2286 if test -z "$ac_aux_dir"; then
2287 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2290 # These three variables are undocumented and unsupported,
2291 # and are intended to be withdrawn in a future Autoconf release.
2292 # They can cause serious problems if a builder's source tree is in a directory
2293 # whose full name contains unusual characters.
2294 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2295 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2296 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2299 # Make sure we can run config.sub.
2300 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2301 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2304 $as_echo_n "checking build system type... " >&6; }
2305 if ${ac_cv_build+:} false
; then :
2306 $as_echo_n "(cached) " >&6
2308 ac_build_alias
=$build_alias
2309 test "x$ac_build_alias" = x
&&
2310 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2311 test "x$ac_build_alias" = x
&&
2312 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2313 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2314 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2318 $as_echo "$ac_cv_build" >&6; }
2319 case $ac_cv_build in
2321 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2324 ac_save_IFS
=$IFS; IFS
='-'
2330 # Remember, the first character of IFS is used to create $*,
2331 # except with old shells:
2334 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2338 $as_echo_n "checking host system type... " >&6; }
2339 if ${ac_cv_host+:} false
; then :
2340 $as_echo_n "(cached) " >&6
2342 if test "x$host_alias" = x
; then
2343 ac_cv_host
=$ac_cv_build
2345 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2346 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2351 $as_echo "$ac_cv_host" >&6; }
2354 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2357 ac_save_IFS
=$IFS; IFS
='-'
2363 # Remember, the first character of IFS is used to create $*,
2364 # except with old shells:
2367 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2371 $as_echo_n "checking target system type... " >&6; }
2372 if ${ac_cv_target+:} false
; then :
2373 $as_echo_n "(cached) " >&6
2375 if test "x$target_alias" = x
; then
2376 ac_cv_target
=$ac_cv_host
2378 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2379 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2384 $as_echo "$ac_cv_target" >&6; }
2385 case $ac_cv_target in
2387 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2389 target
=$ac_cv_target
2390 ac_save_IFS
=$IFS; IFS
='-'
2396 # Remember, the first character of IFS is used to create $*,
2397 # except with old shells:
2400 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2403 # The aliases save the names the user supplied, while $host etc.
2404 # will get canonicalized.
2405 test -n "$target_alias" &&
2406 test "$program_prefix$program_suffix$program_transform_name" = \
2408 program_prefix
=${target_alias}-
2410 case ${build_alias} in
2411 "") build_noncanonical
=${build} ;;
2412 *) build_noncanonical
=${build_alias} ;;
2415 case ${host_alias} in
2416 "") host_noncanonical
=${build_noncanonical} ;;
2417 *) host_noncanonical
=${host_alias} ;;
2420 case ${target_alias} in
2421 "") target_noncanonical
=${host_noncanonical} ;;
2422 *) target_noncanonical
=${target_alias} ;;
2428 # Default to --enable-multilib
2429 # Check whether --enable-multilib was given.
2430 if test "${enable_multilib+set}" = set; then :
2431 enableval
=$enable_multilib; case "$enableval" in
2432 yes) multilib
=yes ;;
2434 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2441 # We may get other options which we leave undocumented:
2442 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2443 # See config-ml.in if you want the gory details.
2445 if test "$srcdir" = "."; then
2446 if test "$with_target_subdir" != "."; then
2447 multi_basedir
="$srcdir/$with_multisrctop../.."
2449 multi_basedir
="$srcdir/$with_multisrctop.."
2452 multi_basedir
="$srcdir/.."
2456 # Even if the default multilib is not a cross compilation,
2457 # it may be that some of the other multilibs are.
2458 if test $cross_compiling = no
&& test $multilib = yes \
2459 && test "x${with_multisubdir}" != x
; then
2460 cross_compiling
=maybe
2463 ac_config_commands
="$ac_config_commands default-1"
2466 target_alias
=${target_alias-$host_alias}
2469 am__api_version
='1.15'
2471 # Find a good install program. We prefer a C program (faster),
2472 # so one script is as good as another. But avoid the broken or
2473 # incompatible versions:
2474 # SysV /etc/install, /usr/sbin/install
2475 # SunOS /usr/etc/install
2476 # IRIX /sbin/install
2478 # AmigaOS /C/install, which installs bootblocks on floppy discs
2479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2482 # OS/2's system install, which has a completely different semantic
2483 # ./install, which can be erroneously created by make from ./install.sh.
2484 # Reject install programs that cannot install multiple files.
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2486 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2487 if test -z "$INSTALL"; then
2488 if ${ac_cv_path_install+:} false
; then :
2489 $as_echo_n "(cached) " >&6
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 # Account for people who put trailing slashes in PATH elements.
2497 case $as_dir/ in #((
2498 .
/ | .
// |
/[cC
]/* | \
2499 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2500 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2503 # OSF1 and SCO ODT 3.0 have their own names for install.
2504 # Don't use installbsd from OSF since it installs stuff as root
2506 for ac_prog
in ginstall scoinst
install; do
2507 for ac_exec_ext
in '' $ac_executable_extensions; do
2508 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2509 if test $ac_prog = install &&
2510 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2511 # AIX install. It has an incompatible calling convention.
2513 elif test $ac_prog = install &&
2514 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2515 # program-specific install script used by HP pwplus--don't use.
2518 rm -rf conftest.one conftest.two conftest.dir
2519 echo one
> conftest.one
2520 echo two
> conftest.two
2522 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2523 test -s conftest.one
&& test -s conftest.two
&&
2524 test -s conftest.dir
/conftest.one
&&
2525 test -s conftest.dir
/conftest.two
2527 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2540 rm -rf conftest.one conftest.two conftest.dir
2543 if test "${ac_cv_path_install+set}" = set; then
2544 INSTALL
=$ac_cv_path_install
2546 # As a last resort, use the slow shell script. Don't cache a
2547 # value for INSTALL within a source directory, because that will
2548 # break other packages using the cache if that directory is
2549 # removed, or if the value is a relative name.
2550 INSTALL
=$ac_install_sh
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2554 $as_echo "$INSTALL" >&6; }
2556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2557 # It thinks the first close brace ends the variable substitution.
2558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2562 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2565 $as_echo_n "checking whether build environment is sane... " >&6; }
2566 # Reject unsafe characters in $srcdir or the absolute working directory
2567 # name. Accept space and tab only in the latter.
2571 *[\\\"\
#\$\&\'\`$am_lf]*)
2572 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2575 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2576 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2579 # Do 'set' in a subshell so we don't clobber the current shell's
2580 # arguments. Must try -L first in case configure is actually a
2581 # symlink; some systems play weird games with the mod time of symlinks
2582 # (eg FreeBSD returns the mod time of the symlink's containing
2586 for am_try
in 1 2; do
2587 echo "timestamp, slept: $am_has_slept" > conftest.
file
2588 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2589 if test "$*" = "X"; then
2591 set X
`ls -t "$srcdir/configure" conftest.file`
2593 if test "$*" != "X $srcdir/configure conftest.file" \
2594 && test "$*" != "X conftest.file $srcdir/configure"; then
2596 # If neither matched, then we have a broken ls. This can happen
2597 # if, for instance, CONFIG_SHELL is bash and it inherits a
2598 # broken ls alias from the environment. This has actually
2599 # happened. Such a system could not be considered "sane".
2600 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2601 alias in your environment" "$LINENO" 5
2603 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2610 test "$2" = conftest.
file
2616 as_fn_error $?
"newly created file is older than distributed files!
2617 Check your system clock" "$LINENO" 5
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2620 $as_echo "yes" >&6; }
2621 # If we didn't sleep, we still need to ensure time stamps of config.status and
2622 # generated files are strictly newer.
2624 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2631 test "$program_prefix" != NONE
&&
2632 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2633 # Use a double $ so make ignores it.
2634 test "$program_suffix" != NONE
&&
2635 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2636 # Double any \ or $.
2637 # By default was `s,x,x', remove it if useless.
2638 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2639 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2641 # Expand $ac_aux_dir to an absolute path.
2642 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2644 if test x
"${MISSING+set}" != xset
; then
2647 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2649 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2652 # Use eval to expand $SHELL
2653 if eval "$MISSING --is-lightweight"; then
2654 am_missing_run
="$MISSING "
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2658 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2661 if test x
"${install_sh+set}" != xset
; then
2664 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2666 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2670 # Installed binaries are usually stripped using 'strip' when the user
2671 # run "make install-strip". However 'strip' might not be the right
2672 # tool to use in cross-compilation environments, therefore Automake
2673 # will honor the 'STRIP' environment variable to overrule this program.
2674 if test "$cross_compiling" != no
; then
2675 if test -n "$ac_tool_prefix"; then
2676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2677 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if ${ac_cv_prog_STRIP+:} false
; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$STRIP"; then
2684 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 STRIP
=$ac_cv_prog_STRIP
2704 if test -n "$STRIP"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2706 $as_echo "$STRIP" >&6; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2714 if test -z "$ac_cv_prog_STRIP"; then
2716 # Extract the first word of "strip", so it can be a program name with args.
2717 set dummy strip
; ac_word
=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$ac_ct_STRIP"; then
2724 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_ac_ct_STRIP
="strip"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2744 if test -n "$ac_ct_STRIP"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2746 $as_echo "$ac_ct_STRIP" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2752 if test "x$ac_ct_STRIP" = x
; then
2755 case $cross_compiling:$ac_tool_warned in
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2759 ac_tool_warned
=yes ;;
2764 STRIP
="$ac_cv_prog_STRIP"
2768 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2771 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2772 if test -z "$MKDIR_P"; then
2773 if ${ac_cv_path_mkdir+:} false
; then :
2774 $as_echo_n "(cached) " >&6
2776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2777 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2780 test -z "$as_dir" && as_dir
=.
2781 for ac_prog
in mkdir gmkdir
; do
2782 for ac_exec_ext
in '' $ac_executable_extensions; do
2783 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2784 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2785 'mkdir (GNU coreutils) '* | \
2786 'mkdir (coreutils) '* | \
2787 'mkdir (fileutils) '4.1*)
2788 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2798 test -d .
/--version && rmdir .
/--version
2799 if test "${ac_cv_path_mkdir+set}" = set; then
2800 MKDIR_P
="$ac_cv_path_mkdir -p"
2802 # As a last resort, use the slow shell script. Don't cache a
2803 # value for MKDIR_P within a source directory, because that will
2804 # break other packages using the cache if that directory is
2805 # removed, or if the value is a relative name.
2806 MKDIR_P
="$ac_install_sh -d"
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2810 $as_echo "$MKDIR_P" >&6; }
2812 for ac_prog
in gawk mawk nawk
awk
2814 # Extract the first word of "$ac_prog", so it can be a program name with args.
2815 set dummy
$ac_prog; ac_word
=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_AWK+:} false
; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$AWK"; then
2822 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_AWK
="$ac_prog"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$AWK"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2844 $as_echo "$AWK" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2851 test -n "$AWK" && break
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2855 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2857 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2858 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2859 $as_echo_n "(cached) " >&6
2861 cat >conftest.
make <<\_ACEOF
2864 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2866 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2867 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2869 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2871 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2875 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2877 $as_echo "yes" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2882 SET_MAKE
="MAKE=${MAKE-make}"
2885 rm -rf .tst
2>/dev
/null
2886 mkdir .tst
2>/dev
/null
2887 if test -d .tst
; then
2892 rmdir .tst
2>/dev
/null
2894 # Check whether --enable-silent-rules was given.
2895 if test "${enable_silent_rules+set}" = set; then :
2896 enableval
=$enable_silent_rules;
2899 case $enable_silent_rules in # (((
2900 yes) AM_DEFAULT_VERBOSITY
=0;;
2901 no
) AM_DEFAULT_VERBOSITY
=1;;
2902 *) AM_DEFAULT_VERBOSITY
=1;;
2904 am_make
=${MAKE-make}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2906 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2907 if ${am_cv_make_support_nested_variables+:} false
; then :
2908 $as_echo_n "(cached) " >&6
2910 if $as_echo 'TRUE=$(BAR$(V))
2916 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2917 am_cv_make_support_nested_variables
=yes
2919 am_cv_make_support_nested_variables
=no
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2923 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2924 if test $am_cv_make_support_nested_variables = yes; then
2926 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2928 AM_V
=$AM_DEFAULT_VERBOSITY
2929 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2933 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2934 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2935 # is not polluted with repeated "-I."
2936 am__isrc
=' -I$(srcdir)'
2937 # test to see if srcdir already configured
2938 if test -f $srcdir/config.status
; then
2939 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2943 # test whether we have cygpath
2944 if test -z "$CYGPATH_W"; then
2945 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2946 CYGPATH_W
='cygpath -w'
2953 # Define the identity of the package.
2954 PACKAGE
='libquadmath'
2958 cat >>confdefs.h
<<_ACEOF
2959 #define PACKAGE "$PACKAGE"
2963 cat >>confdefs.h
<<_ACEOF
2964 #define VERSION "$VERSION"
2967 # Some tools Automake needs.
2969 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2972 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2975 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2978 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2981 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2983 # For better backward compatibility. To be removed once Automake 1.9.x
2984 # dies out for good. For more background, see:
2985 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2986 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2987 mkdir_p
='$(MKDIR_P)'
2989 # We need awk for the "check" target (and possibly the TAP driver). The
2990 # system "awk" is bad on some platforms.
2991 # Always define AMTAR for backward compatibility. Yes, it's still used
2992 # in the wild :-( We should find a proper way to deprecate it ...
2996 # We'll loop over all known methods to create a tar archive until one works.
2997 _am_tools
='gnutar pax cpio none'
2999 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3006 # POSIX will say in a future version that running "rm -f" with no argument
3007 # is OK; and we want to be able to make that assumption in our Makefile
3008 # recipes. So use an aggressive probe to check that the usage we want is
3009 # actually supported "in the wild" to an acceptable degree.
3010 # See automake bug#10828.
3011 # To make any issue more visible, cause the running configure to be aborted
3012 # by default if the 'rm' program in use doesn't match our expectations; the
3013 # user can still override this though.
3014 if rm -f && rm -fr && rm -rf; then : OK
; else
3018 Your 'rm' program seems unable to run without file operands specified
3019 on the command line, even when the '-f' option is present. This is contrary
3020 to the behaviour of most rm programs out there, and not conforming with
3021 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3023 Please tell bug-automake@gnu.org about your system, including the value
3024 of your $PATH and any error possibly output before this message. This
3025 can help us improve future automake versions.
3028 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3029 echo 'Configuration will proceed anyway, since you have set the' >&2
3030 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3034 Aborting the configuration process, to ensure you take notice of the issue.
3036 You can download and install GNU coreutils to get an 'rm' implementation
3037 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3039 If you want to complete the configuration process using your problematic
3040 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3041 to "yes", and re-run configure.
3044 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
3050 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
3051 # Check whether --enable-version-specific-runtime-libs was given.
3052 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3053 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3054 yes) version_specific_libs
=yes ;;
3055 no
) version_specific_libs
=no
;;
3056 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3059 version_specific_libs
=no
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
3063 $as_echo "$version_specific_libs" >&6; }
3067 DEPDIR
="${am__leading_dot}deps"
3069 ac_config_commands
="$ac_config_commands depfiles"
3072 am_make
=${MAKE-make}
3073 cat > confinc
<< 'END'
3075 @
echo this is the am__doit target
3078 # If we don't find an include directive, just comment out the code.
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3080 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3084 # First try GNU make style include.
3085 echo "include confinc" > confmf
3086 # Ignore all kinds of additional output from 'make'.
3087 case `$am_make -s -f confmf 2> /dev/null` in #(
3088 *the\ am__doit\ target
*)
3094 # Now try BSD make style include.
3095 if test "$am__include" = "#"; then
3096 echo '.include "confinc"' > confmf
3097 case `$am_make -s -f confmf 2> /dev/null` in #(
3098 *the\ am__doit\ target
*)
3099 am__include
=.include
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3108 $as_echo "$_am_result" >&6; }
3109 rm -f confinc confmf
3111 # Check whether --enable-dependency-tracking was given.
3112 if test "${enable_dependency_tracking+set}" = set; then :
3113 enableval
=$enable_dependency_tracking;
3116 if test "x$enable_dependency_tracking" != xno
; then
3117 am_depcomp
="$ac_aux_dir/depcomp"
3121 if test "x$enable_dependency_tracking" != xno; then
3131 ac_cpp
='$CPP $CPPFLAGS'
3132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3135 if test -n "$ac_tool_prefix"; then
3136 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3137 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if ${ac_cv_prog_CC+:} false
; then :
3141 $as_echo_n "(cached) " >&6
3143 if test -n "$CC"; then
3144 ac_cv_prog_CC
="$CC" # Let the user override the test.
3146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir
=.
3151 for ac_exec_ext
in '' $ac_executable_extensions; do
3152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3153 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 if test -n "$CC"; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3166 $as_echo "$CC" >&6; }
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3174 if test -z "$ac_cv_prog_CC"; then
3176 # Extract the first word of "gcc", so it can be a program name with args.
3177 set dummy gcc
; ac_word
=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$ac_ct_CC"; then
3184 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir
=.
3191 for ac_exec_ext
in '' $ac_executable_extensions; do
3192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_CC
="gcc"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3204 if test -n "$ac_ct_CC"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3206 $as_echo "$ac_ct_CC" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3212 if test "x$ac_ct_CC" = x
; then
3215 case $cross_compiling:$ac_tool_warned in
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3219 ac_tool_warned
=yes ;;
3227 if test -z "$CC"; then
3228 if test -n "$ac_tool_prefix"; then
3229 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3230 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if ${ac_cv_prog_CC+:} false
; then :
3234 $as_echo_n "(cached) " >&6
3236 if test -n "$CC"; then
3237 ac_cv_prog_CC
="$CC" # Let the user override the test.
3239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir
=.
3244 for ac_exec_ext
in '' $ac_executable_extensions; do
3245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3246 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257 if test -n "$CC"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3259 $as_echo "$CC" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3268 if test -z "$CC"; then
3269 # Extract the first word of "cc", so it can be a program name with args.
3270 set dummy cc
; ac_word
=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_CC+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3276 if test -n "$CC"; then
3277 ac_cv_prog_CC
="$CC" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3287 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3288 ac_prog_rejected
=yes
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 if test $ac_prog_rejected = yes; then
3300 # We found a bogon in the path, so make sure we never use it.
3301 set dummy
$ac_cv_prog_CC
3303 if test $# != 0; then
3304 # We chose a different compiler from the bogus one.
3305 # However, it has the same basename, so the bogon will be chosen
3306 # first if we set CC to just the basename; use the full file name.
3308 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3314 if test -n "$CC"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3316 $as_echo "$CC" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3324 if test -z "$CC"; then
3325 if test -n "$ac_tool_prefix"; then
3326 for ac_prog
in cl.exe
3328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3329 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3331 $as_echo_n "checking for $ac_word... " >&6; }
3332 if ${ac_cv_prog_CC+:} false
; then :
3333 $as_echo_n "(cached) " >&6
3335 if test -n "$CC"; then
3336 ac_cv_prog_CC
="$CC" # Let the user override the test.
3338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3342 test -z "$as_dir" && as_dir
=.
3343 for ac_exec_ext
in '' $ac_executable_extensions; do
3344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3345 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 if test -n "$CC"; then
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3358 $as_echo "$CC" >&6; }
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3361 $as_echo "no" >&6; }
3365 test -n "$CC" && break
3368 if test -z "$CC"; then
3370 for ac_prog
in cl.exe
3372 # Extract the first word of "$ac_prog", so it can be a program name with args.
3373 set dummy
$ac_prog; ac_word
=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375 $as_echo_n "checking for $ac_word... " >&6; }
3376 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3377 $as_echo_n "(cached) " >&6
3379 if test -n "$ac_ct_CC"; then
3380 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3386 test -z "$as_dir" && as_dir
=.
3387 for ac_exec_ext
in '' $ac_executable_extensions; do
3388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3389 ac_cv_prog_ac_ct_CC
="$ac_prog"
3390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3400 if test -n "$ac_ct_CC"; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3402 $as_echo "$ac_ct_CC" >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3409 test -n "$ac_ct_CC" && break
3412 if test "x$ac_ct_CC" = x
; then
3415 case $cross_compiling:$ac_tool_warned in
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3419 ac_tool_warned
=yes ;;
3428 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $?
"no acceptable C compiler found in \$PATH
3431 See \`config.log' for more details" "$LINENO" 5; }
3433 # Provide some information about the compiler.
3434 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3437 for ac_option
in --version -v -V -qversion; do
3438 { { ac_try
="$ac_compiler $ac_option >&5"
3440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444 $as_echo "$ac_try_echo"; } >&5
3445 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3447 if test -s conftest.err; then
3449 ... rest of stderr output deleted ...
3450 10q' conftest.err >conftest.er1
3451 cat conftest.er1 >&5
3453 rm -f conftest.er1 conftest.err
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3470 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3471 (eval $ac_link) 2>&5
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }; then :
3479 if test x$gcc_no_link = xyes; then
3480 # Setting cross_compile will disable run tests; it will
3481 # also disable AC_CHECK_FILE but that's generally
3482 # correct if we can't link.
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3497 ac_clean_files_save=$ac_clean_files
3498 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3499 # Try to create an executable without -o first, disregard a.out.
3500 # It will help us diagnose broken compilers, and finding out an intuition
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3503 $as_echo_n "checking whether the C compiler works... " >&6; }
3504 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3506 # The possible output files:
3507 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3510 for ac_file in $ac_files
3513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3514 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3519 if { { ac_try="$ac_link_default"
3521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3522 *) ac_try_echo
=$ac_try;;
3524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526 (eval "$ac_link_default") 2>&5
3528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529 test $ac_status = 0; }; then :
3530 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3531 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3532 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3533 # so that the user can short-circuit this test for compilers unknown to
3535 for ac_file
in $ac_files ''
3537 test -f "$ac_file" ||
continue
3539 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3542 # We found the default executable, but exeext='' is most
3546 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3548 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3550 # We set ac_cv_exeext here because the later test for it is not
3551 # safe: cross compilers may not add the suffix if given an `-o'
3552 # argument, so we may need to know it at that point already.
3553 # Even if this section looks crufty: it has the advantage of
3560 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3565 if test -z "$ac_file"; then :
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3568 $as_echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.
$ac_ext >&5
3571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3573 as_fn_error
77 "C compiler cannot create executables
3574 See \`config.log' for more details" "$LINENO" 5; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3577 $as_echo "yes" >&6; }
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3580 $as_echo_n "checking for C compiler default output file name... " >&6; }
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3582 $as_echo "$ac_file" >&6; }
3583 ac_exeext
=$ac_cv_exeext
3585 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3586 ac_clean_files
=$ac_clean_files_save
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3588 $as_echo_n "checking for suffix of executables... " >&6; }
3589 if { { ac_try
="$ac_link"
3591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3595 $as_echo "$ac_try_echo"; } >&5
3596 (eval "$ac_link") 2>&5
3598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3599 test $ac_status = 0; }; then :
3600 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3601 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3602 # work properly (i.e., refer to `conftest.exe'), while it won't with
3604 for ac_file
in conftest.exe conftest conftest.
*; do
3605 test -f "$ac_file" ||
continue
3607 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3608 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3617 See \`config.log' for more details" "$LINENO" 5; }
3619 rm -f conftest conftest
$ac_cv_exeext
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3621 $as_echo "$ac_cv_exeext" >&6; }
3623 rm -f conftest.
$ac_ext
3624 EXEEXT
=$ac_cv_exeext
3626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3632 FILE *f = fopen ("conftest.out", "w");
3633 return ferror (f) || fclose (f) != 0;
3639 ac_clean_files
="$ac_clean_files conftest.out"
3640 # Check that the compiler produces executables we can run. If not, either
3641 # the compiler is broken, or we cross compile.
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3643 $as_echo_n "checking whether we are cross compiling... " >&6; }
3644 if test "$cross_compiling" != yes; then
3645 { { ac_try
="$ac_link"
3647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652 (eval "$ac_link") 2>&5
3654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655 test $ac_status = 0; }
3656 if { ac_try='./conftest$ac_cv_exeext'
3657 { { case "(($ac_try" in
3658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3659 *) ac_try_echo
=$ac_try;;
3661 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_try") 2>&5
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }; }; then
3669 if test "$cross_compiling" = maybe
; then
3672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674 as_fn_error $?
"cannot run C compiled programs.
3675 If you meant to cross compile, use \`--host'.
3676 See \`config.log' for more details" "$LINENO" 5; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3681 $as_echo "$cross_compiling" >&6; }
3683 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3684 ac_clean_files
=$ac_clean_files_save
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3687 $as_echo_n "checking for suffix of object files... " >&6; }
3688 if ${ac_cv_objext+:} false
; then :
3689 $as_echo_n "(cached) " >&6
3691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3702 rm -f conftest.o conftest.obj
3703 if { { ac_try
="$ac_compile"
3705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3709 $as_echo "$ac_try_echo"; } >&5
3710 (eval "$ac_compile") 2>&5
3712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3713 test $ac_status = 0; }; then :
3714 for ac_file in conftest.o conftest.obj conftest.*; do
3715 test -f "$ac_file" || continue;
3717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3718 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3723 $as_echo "$as_me: failed program was:" >&5
3724 sed 's/^/| /' conftest.$ac_ext >&5
3726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3728 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3729 See \
`config.log' for more details" "$LINENO" 5; }
3731 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3734 $as_echo "$ac_cv_objext" >&6; }
3735 OBJEXT=$ac_cv_objext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3738 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3739 if ${ac_cv_c_compiler_gnu+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3756 if ac_fn_c_try_compile "$LINENO"; then :
3761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3766 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3767 if test $ac_compiler_gnu = yes; then
3772 ac_test_CFLAGS=${CFLAGS+set}
3773 ac_save_CFLAGS=$CFLAGS
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3775 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3776 if ${ac_cv_prog_cc_g+:} false; then :
3777 $as_echo_n "(cached) " >&6
3779 ac_save_c_werror_flag=$ac_c_werror_flag
3780 ac_c_werror_flag=yes
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 if ac_fn_c_try_compile "$LINENO"; then :
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3809 if ac_fn_c_try_compile "$LINENO"; then :
3812 ac_c_werror_flag=$ac_save_c_werror_flag
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3825 if ac_fn_c_try_compile "$LINENO"; then :
3828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833 ac_c_werror_flag=$ac_save_c_werror_flag
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3836 $as_echo "$ac_cv_prog_cc_g" >&6; }
3837 if test "$ac_test_CFLAGS" = set; then
3838 CFLAGS=$ac_save_CFLAGS
3839 elif test $ac_cv_prog_cc_g = yes; then
3840 if test "$GCC" = yes; then
3846 if test "$GCC" = yes; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3853 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3854 if ${ac_cv_prog_cc_c89+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 ac_cv_prog_cc_c89=no
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3865 struct buf { int x; };
3866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3867 static char *e (p, i)
3873 static char *f (char * (*g) (char **, int), char **p, ...)
3878 s = g (p, va_arg (v,int));
3883 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3884 function prototypes and stuff, but not '\xHH' hex character constants.
3885 These don't provoke an error unfortunately, instead are silently treated
3886 as 'x'. The following induces an error, until -std is added to get
3887 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3888 array size at least. It's necessary to write '\x00'==0 to get something
3889 that's true only with -std. */
3890 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3892 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3893 inside strings and character constants. */
3895 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3897 int test (int i, double x);
3898 struct s1 {int (*f) (int a);};
3899 struct s2 {int (*f) (double a);};
3900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3906 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3911 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3912 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3914 CC="$ac_save_CC $ac_arg"
3915 if ac_fn_c_try_compile "$LINENO"; then :
3916 ac_cv_prog_cc_c89=$ac_arg
3918 rm -f core conftest.err conftest.$ac_objext
3919 test "x$ac_cv_prog_cc_c89" != "xno" && break
3921 rm -f conftest.$ac_ext
3926 case "x$ac_cv_prog_cc_c89" in
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3929 $as_echo "none needed" >&6; } ;;
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3932 $as_echo "unsupported" >&6; } ;;
3934 CC="$CC $ac_cv_prog_cc_c89"
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3936 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3938 if test "x$ac_cv_prog_cc_c89" != xno; then :
3943 ac_cpp='$CPP $CPPFLAGS'
3944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3949 ac_cpp='$CPP $CPPFLAGS'
3950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3954 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3955 if ${am_cv_prog_cc_c_o+:} false; then :
3956 $as_echo_n "(cached) " >&6
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3969 # Make sure it works both with $CC and with simple cc.
3970 # Following AC_PROG_CC_C_O, we do the test twice because some
3971 # compilers refuse to overwrite an existing .o file with -o,
3972 # though they will create one.
3973 am_cv_prog_cc_c_o=yes
3975 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3976 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); } \
3980 && test -f conftest2.$ac_objext; then
3983 am_cv_prog_cc_c_o=no
3987 rm -f core conftest*
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3991 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3992 if test "$am_cv_prog_cc_c_o" != yes; then
3993 # Losing compiler, so override with the script.
3994 # FIXME: It is wrong to rewrite CC.
3995 # But if we don't then we get into trouble of one sort or another.
3996 # A longer-term fix would be to have automake use am__CC in this case,
3997 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3998 CC="$am_aux_dir/compile $CC"
4001 ac_cpp='$CPP $CPPFLAGS'
4002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4007 depcc="$CC" am_compiler_list=
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4010 $as_echo_n "checking dependency style of $depcc... " >&6; }
4011 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4012 $as_echo_n "(cached) " >&6
4014 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4015 # We make a subdir and do the tests there. Otherwise we can end up
4016 # making bogus files that we don't know about and never remove. For
4017 # instance it was reported that on HP-UX the gcc test will end up
4018 # making a dummy file named 'D' -- because '-MD' means "put the output
4022 # Copy depcomp to subdir because otherwise we won't find it if we're
4023 # using a relative directory.
4024 cp "$am_depcomp" conftest.dir
4026 # We will build objects and dependencies in a subdirectory because
4027 # it helps to detect inapplicable dependency modes. For instance
4028 # both Tru64's cc and ICC support -MD to output dependencies as a
4029 # side effect of compilation, but ICC will put the dependencies in
4030 # the current directory while Tru64 will put them in the object
4034 am_cv_CC_dependencies_compiler_type=none
4035 if test "$am_compiler_list" = ""; then
4036 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4039 case " $depcc " in #(
4040 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4043 for depmode in $am_compiler_list; do
4044 # Setup a source with many dependencies, because some compilers
4045 # like to wrap large dependency lists on column 80 (with \), and
4046 # we should not choose a depcomp mode which is confused by this.
4048 # We need to recreate these files for each test, as the compiler may
4049 # overwrite some of them when testing with obscure command lines.
4050 # This happens at least with the AIX C compiler.
4052 for i in 1 2 3 4 5 6; do
4053 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4054 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4055 # Solaris 10 /bin/sh.
4056 echo '/* dummy */' > sub/conftst$i.h
4058 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4060 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4061 # mode. It turns out that the SunPro C++ compiler does not properly
4062 # handle '-M -o', and we need to detect this. Also, some Intel
4063 # versions had trouble with output in subdirs.
4064 am__obj=sub/conftest.${OBJEXT-o}
4065 am__minus_obj="-o $am__obj"
4068 # This depmode causes a compiler race in universal mode.
4069 test "$am__universal" = false || continue
4072 # After this tag, mechanisms are not by side-effect, so they'll
4073 # only be used when explicitly requested.
4074 if test "x$enable_dependency_tracking" = xyes; then
4080 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4081 # This compiler won't grok '-c -o', but also, the minuso test has
4082 # not run yet. These depmodes are late enough in the game, and
4083 # so weak that their functioning should not be impacted.
4084 am__obj=conftest.${OBJEXT-o}
4089 if depmode=$depmode \
4090 source=sub/conftest.c object=$am__obj \
4091 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4092 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4093 >/dev/null 2>conftest.err &&
4094 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4095 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4096 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4097 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4098 # icc doesn't choke on unknown options, it will just issue warnings
4099 # or remarks (even with -Werror). So we grep stderr for any message
4100 # that says an option was ignored or not supported.
4101 # When given -MP, icc 7.0 and 7.1 complain thusly:
4102 # icc: Command line warning: ignoring option '-M'; no argument required
4103 # The diagnosis changed in icc 8.0:
4104 # icc: Command line remark: option '-MP' not supported
4105 if (grep 'ignoring option' conftest.err ||
4106 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4107 am_cv_CC_dependencies_compiler_type=$depmode
4116 am_cv_CC_dependencies_compiler_type=none
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4121 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4122 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4125 test "x$enable_dependency_tracking" != xno \
4126 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4128 am__fastdepCC_FALSE='#'
4130 am__fastdepCC_TRUE='#'
4131 am__fastdepCC_FALSE=
4137 ac_cpp='$CPP $CPPFLAGS'
4138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4142 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4143 # On Suns, sometimes $CPP names a directory.
4144 if test -n "$CPP" && test -d "$CPP"; then
4147 if test -z "$CPP"; then
4148 if ${ac_cv_prog_CPP+:} false; then :
4149 $as_echo_n "(cached) " >&6
4151 # Double quotes because CPP needs to be expanded
4152 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4155 for ac_c_preproc_warn_flag in '' yes
4157 # Use a header file that comes with gcc, so configuring glibc
4158 # with a fresh cross-compiler works.
4159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4160 # <limits.h> exists even on freestanding compilers.
4161 # On the NeXT, cc -E runs the code through the compiler's parser,
4162 # not just through cpp. "Syntax error" is here to catch this case.
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4166 # include <limits.h>
4168 # include <assert.h>
4172 if ac_fn_c_try_cpp "$LINENO"; then :
4175 # Broken: fails on valid input.
4178 rm -f conftest.err conftest.i conftest.$ac_ext
4180 # OK, works on sane cases. Now check whether nonexistent headers
4181 # can be detected and how.
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4184 #include <ac_nonexistent.h>
4186 if ac_fn_c_try_cpp "$LINENO"; then :
4187 # Broken: success on invalid input.
4190 # Passes both tests.
4194 rm -f conftest.err conftest.i conftest.$ac_ext
4197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4198 rm -f conftest.i conftest.err conftest.
$ac_ext
4199 if $ac_preproc_ok; then :
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4212 $as_echo "$CPP" >&6; }
4214 for ac_c_preproc_warn_flag
in '' yes
4216 # Use a header file that comes with gcc, so configuring glibc
4217 # with a fresh cross-compiler works.
4218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4219 # <limits.h> exists even on freestanding compilers.
4220 # On the NeXT, cc -E runs the code through the compiler's parser,
4221 # not just through cpp. "Syntax error" is here to catch this case.
4222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4225 # include <limits.h>
4227 # include <assert.h>
4231 if ac_fn_c_try_cpp
"$LINENO"; then :
4234 # Broken: fails on valid input.
4237 rm -f conftest.err conftest.i conftest.
$ac_ext
4239 # OK, works on sane cases. Now check whether nonexistent headers
4240 # can be detected and how.
4241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <ac_nonexistent.h>
4245 if ac_fn_c_try_cpp
"$LINENO"; then :
4246 # Broken: success on invalid input.
4249 # Passes both tests.
4253 rm -f conftest.err conftest.i conftest.
$ac_ext
4256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4257 rm -f conftest.i conftest.err conftest.
$ac_ext
4258 if $ac_preproc_ok; then :
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4264 See \`config.log' for more details" "$LINENO" 5; }
4268 ac_cpp
='$CPP $CPPFLAGS'
4269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4275 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4276 if ${ac_cv_path_GREP+:} false
; then :
4277 $as_echo_n "(cached) " >&6
4279 if test -z "$GREP"; then
4280 ac_path_GREP_found
=false
4281 # Loop through the user's path and test for each of PROGNAME-LIST
4282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4283 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4286 test -z "$as_dir" && as_dir
=.
4287 for ac_prog
in grep ggrep
; do
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4290 as_fn_executable_p
"$ac_path_GREP" ||
continue
4291 # Check for GNU ac_path_GREP and select it if it is found.
4292 # Check for GNU $ac_path_GREP
4293 case `"$ac_path_GREP" --version 2>&1` in
4295 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4298 $as_echo_n 0123456789 >"conftest.in"
4301 cat "conftest.in" "conftest.in" >"conftest.tmp"
4302 mv "conftest.tmp" "conftest.in"
4303 cp "conftest.in" "conftest.nl"
4304 $as_echo 'GREP' >> "conftest.nl"
4305 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4306 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4307 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4308 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4309 # Best one so far, save it but keep looking for a better one
4310 ac_cv_path_GREP
="$ac_path_GREP"
4311 ac_path_GREP_max
=$ac_count
4313 # 10*(2^10) chars as input seems more than enough
4314 test $ac_count -gt 10 && break
4316 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4319 $ac_path_GREP_found && break 3
4324 if test -z "$ac_cv_path_GREP"; then
4325 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4328 ac_cv_path_GREP
=$GREP
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4333 $as_echo "$ac_cv_path_GREP" >&6; }
4334 GREP
="$ac_cv_path_GREP"
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4338 $as_echo_n "checking for egrep... " >&6; }
4339 if ${ac_cv_path_EGREP+:} false
; then :
4340 $as_echo_n "(cached) " >&6
4342 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4343 then ac_cv_path_EGREP
="$GREP -E"
4345 if test -z "$EGREP"; then
4346 ac_path_EGREP_found
=false
4347 # Loop through the user's path and test for each of PROGNAME-LIST
4348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4349 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4352 test -z "$as_dir" && as_dir
=.
4353 for ac_prog
in egrep; do
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4356 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4357 # Check for GNU ac_path_EGREP and select it if it is found.
4358 # Check for GNU $ac_path_EGREP
4359 case `"$ac_path_EGREP" --version 2>&1` in
4361 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4364 $as_echo_n 0123456789 >"conftest.in"
4367 cat "conftest.in" "conftest.in" >"conftest.tmp"
4368 mv "conftest.tmp" "conftest.in"
4369 cp "conftest.in" "conftest.nl"
4370 $as_echo 'EGREP' >> "conftest.nl"
4371 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4372 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4373 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4374 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4375 # Best one so far, save it but keep looking for a better one
4376 ac_cv_path_EGREP
="$ac_path_EGREP"
4377 ac_path_EGREP_max
=$ac_count
4379 # 10*(2^10) chars as input seems more than enough
4380 test $ac_count -gt 10 && break
4382 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4385 $ac_path_EGREP_found && break 3
4390 if test -z "$ac_cv_path_EGREP"; then
4391 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4394 ac_cv_path_EGREP
=$EGREP
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4400 $as_echo "$ac_cv_path_EGREP" >&6; }
4401 EGREP
="$ac_cv_path_EGREP"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4405 $as_echo_n "checking for ANSI C header files... " >&6; }
4406 if ${ac_cv_header_stdc+:} false
; then :
4407 $as_echo_n "(cached) " >&6
4409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4424 if ac_fn_c_try_compile
"$LINENO"; then :
4425 ac_cv_header_stdc
=yes
4427 ac_cv_header_stdc
=no
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 if test $ac_cv_header_stdc = yes; then
4432 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4434 /* end confdefs.h. */
4438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4439 $EGREP "memchr" >/dev
/null
2>&1; then :
4442 ac_cv_header_stdc
=no
4448 if test $ac_cv_header_stdc = yes; then
4449 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4456 $EGREP "free" >/dev
/null
2>&1; then :
4459 ac_cv_header_stdc
=no
4465 if test $ac_cv_header_stdc = yes; then
4466 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4467 if test "$cross_compiling" = yes; then :
4470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4474 #if ((' ' & 0x0FF) == 0x020)
4475 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4476 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4478 # define ISLOWER(c) \
4479 (('a' <= (c) && (c) <= 'i') \
4480 || ('j' <= (c) && (c) <= 'r') \
4481 || ('s' <= (c) && (c) <= 'z'))
4482 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4485 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4490 for (i = 0; i < 256; i++)
4491 if (XOR (islower (i), ISLOWER (i))
4492 || toupper (i) != TOUPPER (i))
4497 if ac_fn_c_try_run
"$LINENO"; then :
4500 ac_cv_header_stdc
=no
4502 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4503 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4509 $as_echo "$ac_cv_header_stdc" >&6; }
4510 if test $ac_cv_header_stdc = yes; then
4512 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4516 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4517 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4518 inttypes.h stdint.h unistd.h
4520 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4521 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4523 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4524 cat >>confdefs.h
<<_ACEOF
4525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4534 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4535 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4542 if test "$MINIX" = yes; then
4544 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4547 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4550 $as_echo "#define _MINIX 1" >>confdefs.h
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4556 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4557 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4563 # define __EXTENSIONS__ 1
4564 $ac_includes_default
4573 if ac_fn_c_try_compile
"$LINENO"; then :
4574 ac_cv_safe_to_define___extensions__
=yes
4576 ac_cv_safe_to_define___extensions__
=no
4578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4581 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4582 test $ac_cv_safe_to_define___extensions__ = yes &&
4583 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4585 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4587 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4589 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4591 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4595 # See if makeinfo has been installed and is modern enough
4596 # that we can use it.
4598 # Extract the first word of "makeinfo", so it can be a program name with args.
4599 set dummy makeinfo
; ac_word
=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$MAKEINFO"; then
4606 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_MAKEINFO
="makeinfo"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 MAKEINFO
=$ac_cv_prog_MAKEINFO
4626 if test -n "$MAKEINFO"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4628 $as_echo "$MAKEINFO" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4635 if test -n "$MAKEINFO"; then
4636 # Found it, now check the version.
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4638 $as_echo_n "checking for modern makeinfo... " >&6; }
4639 if ${gcc_cv_prog_makeinfo_modern+:} false
; then :
4640 $as_echo_n "(cached) " >&6
4642 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4643 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4645 case $ac_prog_version in
4646 '') gcc_cv_prog_makeinfo_modern
=no
;;
4647 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4648 *) gcc_cv_prog_makeinfo_modern
=no
;;
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4653 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4655 gcc_cv_prog_makeinfo_modern
=no
4657 if test $gcc_cv_prog_makeinfo_modern = no
; then
4658 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4661 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4663 BUILD_INFO_FALSE
='#'
4672 # Check whether --with-bugurl was given.
4673 if test "${with_bugurl+set}" = set; then :
4674 withval
=$with_bugurl; case "$withval" in
4675 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
4678 *) BUGURL
="$withval"
4682 BUGURL
="https://gcc.gnu.org/bugs/"
4692 REPORT_BUGS_TO
="<$BUGURL>"
4693 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4704 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4709 macro_version
='2.2.7a'
4710 macro_revision
='1.3134'
4724 ltmain
="$ac_aux_dir/ltmain.sh"
4726 # Backslashify metacharacters that are still active within
4727 # double-quoted strings.
4728 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4730 # Same as above, but do not quote variable references.
4731 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4733 # Sed substitution to delay expansion of an escaped shell variable in a
4734 # double_quote_subst'ed string.
4735 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4737 # Sed substitution to delay expansion of an escaped single quote.
4738 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4740 # Sed substitution to avoid accidental globbing in evaled expressions
4741 no_glob_subst
='s/\*/\\\*/g'
4743 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4744 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4745 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4748 $as_echo_n "checking how to print strings... " >&6; }
4749 # Test print first, because it will be a builtin if present.
4750 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4751 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4753 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4756 # Use this function as a fallback that always works.
4757 func_fallback_echo ()
4759 eval 'cat <<_LTECHO_EOF
4763 ECHO='func_fallback_echo
'
4766 # func_echo_all arg...
4767 # Invoke $ECHO with all args, space-separated.
4774 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4775 $as_echo "printf" >&6; } ;;
4776 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4777 $as_echo "print -r" >&6; } ;;
4778 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4779 $as_echo "cat" >&6; } ;;
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4796 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4797 if ${ac_cv_path_SED+:} false; then :
4798 $as_echo_n "(cached) " >&6
4800 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4801 for ac_i in 1 2 3 4 5 6 7; do
4802 ac_script="$ac_script$as_nl$ac_script"
4804 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4805 { ac_script=; unset ac_script;}
4806 if test -z "$SED"; then
4807 ac_path_SED_found=false
4808 # Loop through the user's path and
test for each of PROGNAME-LIST
4809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4813 test -z "$as_dir" && as_dir
=.
4814 for ac_prog
in sed gsed
; do
4815 for ac_exec_ext
in '' $ac_executable_extensions; do
4816 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4817 as_fn_executable_p
"$ac_path_SED" ||
continue
4818 # Check for GNU ac_path_SED and select it if it is found.
4819 # Check for GNU $ac_path_SED
4820 case `"$ac_path_SED" --version 2>&1` in
4822 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4825 $as_echo_n 0123456789 >"conftest.in"
4828 cat "conftest.in" "conftest.in" >"conftest.tmp"
4829 mv "conftest.tmp" "conftest.in"
4830 cp "conftest.in" "conftest.nl"
4831 $as_echo '' >> "conftest.nl"
4832 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4833 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4834 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4835 if test $ac_count -gt ${ac_path_SED_max-0}; then
4836 # Best one so far, save it but keep looking for a better one
4837 ac_cv_path_SED
="$ac_path_SED"
4838 ac_path_SED_max
=$ac_count
4840 # 10*(2^10) chars as input seems more than enough
4841 test $ac_count -gt 10 && break
4843 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4846 $ac_path_SED_found && break 3
4851 if test -z "$ac_cv_path_SED"; then
4852 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4860 $as_echo "$ac_cv_path_SED" >&6; }
4861 SED
="$ac_cv_path_SED"
4864 test -z "$SED" && SED
=sed
4865 Xsed
="$SED -e 1s/^X//"
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4878 $as_echo_n "checking for fgrep... " >&6; }
4879 if ${ac_cv_path_FGREP+:} false
; then :
4880 $as_echo_n "(cached) " >&6
4882 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4883 then ac_cv_path_FGREP
="$GREP -F"
4885 if test -z "$FGREP"; then
4886 ac_path_FGREP_found
=false
4887 # Loop through the user's path and test for each of PROGNAME-LIST
4888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4892 test -z "$as_dir" && as_dir
=.
4893 for ac_prog
in fgrep
; do
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4896 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4897 # Check for GNU ac_path_FGREP and select it if it is found.
4898 # Check for GNU $ac_path_FGREP
4899 case `"$ac_path_FGREP" --version 2>&1` in
4901 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4904 $as_echo_n 0123456789 >"conftest.in"
4907 cat "conftest.in" "conftest.in" >"conftest.tmp"
4908 mv "conftest.tmp" "conftest.in"
4909 cp "conftest.in" "conftest.nl"
4910 $as_echo 'FGREP' >> "conftest.nl"
4911 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4912 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4913 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4914 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4915 # Best one so far, save it but keep looking for a better one
4916 ac_cv_path_FGREP
="$ac_path_FGREP"
4917 ac_path_FGREP_max
=$ac_count
4919 # 10*(2^10) chars as input seems more than enough
4920 test $ac_count -gt 10 && break
4922 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4925 $ac_path_FGREP_found && break 3
4930 if test -z "$ac_cv_path_FGREP"; then
4931 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4934 ac_cv_path_FGREP
=$FGREP
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4940 $as_echo "$ac_cv_path_FGREP" >&6; }
4941 FGREP
="$ac_cv_path_FGREP"
4944 test -z "$GREP" && GREP
=grep
4964 # Check whether --with-gnu-ld was given.
4965 if test "${with_gnu_ld+set}" = set; then :
4966 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4972 if test "$GCC" = yes; then
4973 # Check if gcc -print-prog-name=ld gives a path.
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4975 $as_echo_n "checking for ld used by $CC... " >&6; }
4978 # gcc leaves a trailing carriage return which upsets mingw
4979 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4981 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4984 # Accept absolute paths.
4986 re_direlt
='/[^/][^/]*/\.\./'
4987 # Canonicalize the pathname of ld
4988 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4989 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4990 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4992 test -z "$LD" && LD
="$ac_prog"
4995 # If it fails, then pretend we aren't using GCC.
4999 # If it is relative, then search for the first ld in PATH.
5003 elif test "$with_gnu_ld" = yes; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5005 $as_echo_n "checking for GNU ld... " >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5008 $as_echo_n "checking for non-GNU ld... " >&6; }
5010 if ${lt_cv_path_LD+:} false
; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -z "$LD"; then
5014 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5015 for ac_dir
in $PATH; do
5017 test -z "$ac_dir" && ac_dir
=.
5018 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5019 lt_cv_path_LD
="$ac_dir/$ac_prog"
5020 # Check to see if the program is GNU ld. I'd rather use --version,
5021 # but apparently some variants of GNU ld only accept -v.
5022 # Break only if it was the GNU/non-GNU ld that we prefer.
5023 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5024 *GNU
* |
*'with BFD'*)
5025 test "$with_gnu_ld" != no
&& break
5028 test "$with_gnu_ld" != yes && break
5035 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5040 if test -n "$LD"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5042 $as_echo "$LD" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5047 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5049 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5050 if ${lt_cv_prog_gnu_ld+:} false
; then :
5051 $as_echo_n "(cached) " >&6
5053 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5054 case `$LD -v 2>&1 </dev/null` in
5055 *GNU
* |
*'with BFD'*)
5056 lt_cv_prog_gnu_ld
=yes
5059 lt_cv_prog_gnu_ld
=no
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5064 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5065 with_gnu_ld
=$lt_cv_prog_gnu_ld
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5076 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5077 if ${lt_cv_path_NM+:} false
; then :
5078 $as_echo_n "(cached) " >&6
5080 if test -n "$NM"; then
5081 # Let the user override the test.
5084 lt_nm_to_check
="${ac_tool_prefix}nm"
5085 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5086 lt_nm_to_check
="$lt_nm_to_check nm"
5088 for lt_tmp_nm
in $lt_nm_to_check; do
5089 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5090 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5092 test -z "$ac_dir" && ac_dir
=.
5093 tmp_nm
="$ac_dir/$lt_tmp_nm"
5094 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5095 # Check to see if the nm accepts a BSD-compat flag.
5096 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5097 # nm: unknown option "B" ignored
5098 # Tru64's nm complains that /dev/null is an invalid object file
5099 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5100 */dev
/null
* |
*'Invalid file or object type'*)
5101 lt_cv_path_NM
="$tmp_nm -B"
5105 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5107 lt_cv_path_NM
="$tmp_nm -p"
5111 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5112 continue # so that we can try to find one that supports BSD flags
5121 : ${lt_cv_path_NM=no}
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5125 $as_echo "$lt_cv_path_NM" >&6; }
5126 if test "$lt_cv_path_NM" != "no"; then
5129 # Didn't find any BSD compatible name lister, look for dumpbin.
5130 if test -n "$DUMPBIN"; then :
5131 # Let the user override the test.
5133 if test -n "$ac_tool_prefix"; then
5134 for ac_prog
in dumpbin
"link -dump"
5136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5137 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -n "$DUMPBIN"; then
5144 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_exec_ext
in '' $ac_executable_extensions; do
5152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 DUMPBIN
=$ac_cv_prog_DUMPBIN
5164 if test -n "$DUMPBIN"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5166 $as_echo "$DUMPBIN" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 test -n "$DUMPBIN" && break
5176 if test -z "$DUMPBIN"; then
5177 ac_ct_DUMPBIN
=$DUMPBIN
5178 for ac_prog
in dumpbin
"link -dump"
5180 # Extract the first word of "$ac_prog", so it can be a program name with args.
5181 set dummy
$ac_prog; ac_word
=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5187 if test -n "$ac_ct_DUMPBIN"; then
5188 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir
=.
5195 for ac_exec_ext
in '' $ac_executable_extensions; do
5196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5208 if test -n "$ac_ct_DUMPBIN"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5210 $as_echo "$ac_ct_DUMPBIN" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$ac_ct_DUMPBIN" && break
5220 if test "x$ac_ct_DUMPBIN" = x
; then
5223 case $cross_compiling:$ac_tool_warned in
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5227 ac_tool_warned
=yes ;;
5229 DUMPBIN
=$ac_ct_DUMPBIN
5233 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5235 DUMPBIN
="$DUMPBIN -symbols"
5243 if test "$DUMPBIN" != ":"; then
5247 test -z "$NM" && NM
=nm
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5255 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5256 if ${lt_cv_nm_interface+:} false
; then :
5257 $as_echo_n "(cached) " >&6
5259 lt_cv_nm_interface
="BSD nm"
5260 echo "int some_variable = 0;" > conftest.
$ac_ext
5261 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5262 (eval "$ac_compile" 2>conftest.err
)
5263 cat conftest.err
>&5
5264 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5265 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5266 cat conftest.err
>&5
5267 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5268 cat conftest.out
>&5
5269 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5270 lt_cv_nm_interface
="MS dumpbin"
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5275 $as_echo "$lt_cv_nm_interface" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5278 $as_echo_n "checking whether ln -s works... " >&6; }
5280 if test "$LN_S" = "ln -s"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5282 $as_echo "yes" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5285 $as_echo "no, using $LN_S" >&6; }
5288 # find the maximum length of command line arguments
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5290 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5291 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5299 # On DJGPP, this test can blow up pretty badly due to problems in libc
5300 # (any single argument exceeding 2000 bytes causes a buffer overrun
5301 # during glob expansion). Even if it were fixed, the result of this
5302 # check would be larger than it should be.
5303 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5307 # Under GNU Hurd, this test is not required because there is
5308 # no limit to the length of command line arguments.
5309 # Libtool will interpret -1 as no limit whatsoever
5310 lt_cv_sys_max_cmd_len
=-1;
5313 cygwin
* | mingw
* | cegcc
*)
5314 # On Win9x/ME, this test blows up -- it succeeds, but takes
5315 # about 5 minutes as the teststring grows exponentially.
5316 # Worse, since 9x/ME are not pre-emptively multitasking,
5317 # you end up with a "frozen" computer, even though with patience
5318 # the test eventually succeeds (with a max line length of 256k).
5319 # Instead, let's just punt: use the minimum linelength reported by
5320 # all of the supported platforms: 8192 (on NT/2K/XP).
5321 lt_cv_sys_max_cmd_len
=8192;
5325 # On MiNT this can take a long time and run out of memory.
5326 lt_cv_sys_max_cmd_len
=8192;
5330 # On AmigaOS with pdksh, this test takes hours, literally.
5331 # So we just punt and use a minimum line length of 8192.
5332 lt_cv_sys_max_cmd_len
=8192;
5335 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5336 # This has been around since 386BSD, at least. Likely further.
5337 if test -x /sbin
/sysctl
; then
5338 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5339 elif test -x /usr
/sbin
/sysctl
; then
5340 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5342 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5344 # And add a safety zone
5345 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5346 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5350 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5351 lt_cv_sys_max_cmd_len
=196608
5355 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5356 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5357 # nice to cause kernel panics so lets avoid the loop below.
5358 # First set a reasonable default.
5359 lt_cv_sys_max_cmd_len
=16384
5361 if test -x /sbin
/sysconfig
; then
5362 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5363 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5368 lt_cv_sys_max_cmd_len
=102400
5370 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5371 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5372 if test -n "$kargmax"; then
5373 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5375 lt_cv_sys_max_cmd_len
=32768
5379 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5380 if test -n "$lt_cv_sys_max_cmd_len"; then
5381 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5382 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5384 # Make teststring a little bigger before we do anything with it.
5385 # a 1K string should be a reasonable start.
5386 for i
in 1 2 3 4 5 6 7 8 ; do
5387 teststring
=$teststring$teststring
5389 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5390 # If test is not a shell built-in, we'll probably end up computing a
5391 # maximum length that is only half of the actual maximum length, but
5393 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5394 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5395 test $i != 17 # 1/2 MB should be enough
5398 teststring
=$teststring$teststring
5400 # Only check the string length outside the loop.
5401 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5403 # Add a significant safety factor because C++ compilers can tack on
5404 # massive amounts of additional arguments before passing them to the
5405 # linker. It appears as though 1/2 is a usable value.
5406 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5413 if test -n $lt_cv_sys_max_cmd_len ; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5415 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5418 $as_echo "none" >&6; }
5420 max_cmd_len
=$lt_cv_sys_max_cmd_len
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5432 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5433 # Try some XSI features
5436 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5438 && eval 'test $(( 1 + 1 )) -eq 2 \
5439 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5442 $as_echo "$xsi_shell" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5446 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5448 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5450 && lt_shell_append=yes
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5452 $as_echo "$lt_shell_append" >&6; }
5455 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5465 # test EBCDIC or ASCII
5466 case `echo X|tr X '\101'` in
5467 A) # ASCII based system
5468 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5469 lt_SP2NL='tr \040 \012'
5470 lt_NL2SP='tr \015\012 \040\040'
5472 *) # EBCDIC based system
5473 lt_SP2NL='tr \100 \n'
5474 lt_NL2SP='tr \r\n \100\100'
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5487 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5488 if ${lt_cv_ld_reload_flag+:} false; then :
5489 $as_echo_n "(cached
) " >&6
5491 lt_cv_ld_reload_flag='-r'
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5494 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5495 reload_flag=$lt_cv_ld_reload_flag
5496 case $reload_flag in
5498 *) reload_flag=" $reload_flag" ;;
5500 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5503 if test "$GCC" = yes; then
5504 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5506 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5523 $as_echo_n "checking
for $ac_word...
" >&6; }
5524 if ${ac_cv_prog_OBJDUMP+:} false; then :
5525 $as_echo_n "(cached
) " >&6
5527 if test -n "$OBJDUMP"; then
5528 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5547 OBJDUMP=$ac_cv_prog_OBJDUMP
5548 if test -n "$OBJDUMP"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5550 $as_echo "$OBJDUMP" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5553 $as_echo "no
" >&6; }
5558 if test -z "$ac_cv_prog_OBJDUMP"; then
5559 ac_ct_OBJDUMP=$OBJDUMP
5560 # Extract the first word of "objdump
", so it can be a program name with args.
5561 set dummy objdump; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5563 $as_echo_n "checking
for $ac_word...
" >&6; }
5564 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5565 $as_echo_n "(cached
) " >&6
5567 if test -n "$ac_ct_OBJDUMP"; then
5568 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5588 if test -n "$ac_ct_OBJDUMP"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5590 $as_echo "$ac_ct_OBJDUMP" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5593 $as_echo "no
" >&6; }
5596 if test "x
$ac_ct_OBJDUMP" = x; then
5599 case $cross_compiling:$ac_tool_warned in
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5602 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5603 ac_tool_warned=yes ;;
5605 OBJDUMP=$ac_ct_OBJDUMP
5608 OBJDUMP="$ac_cv_prog_OBJDUMP"
5611 test -z "$OBJDUMP" && OBJDUMP=objdump
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5622 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5623 if ${lt_cv_deplibs_check_method+:} false; then :
5624 $as_echo_n "(cached
) " >&6
5626 lt_cv_file_magic_cmd='$MAGIC_CMD'
5627 lt_cv_file_magic_test_file=
5628 lt_cv_deplibs_check_method='unknown'
5629 # Need to set the preceding variable on all platforms that support
5630 # interlibrary dependencies.
5631 # 'none' -- dependencies not supported.
5632 # `unknown' -- same as none, but documents that we really don't know.
5633 # 'pass_all' -- all dependencies passed with no checks.
5634 # 'test_compile' -- check by making test program.
5635 # 'file_magic [[regex]]' -- check by looking for files in library path
5636 # which responds to the $file_magic_cmd with a given extended regex.
5637 # If you have `file' or equivalent on your system and you're not sure
5638 # whether `pass_all' will *always* work, you probably want this one.
5642 lt_cv_deplibs_check_method=pass_all
5646 lt_cv_deplibs_check_method=pass_all
5650 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5651 lt_cv_file_magic_cmd='/usr/bin/file -L'
5652 lt_cv_file_magic_test_file=/shlib/libc.so
5656 # func_win32_libid is a shell function defined in ltmain.sh
5657 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5658 lt_cv_file_magic_cmd='func_win32_libid'
5662 # Base MSYS/MinGW do not provide the 'file' command needed by
5663 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5664 # unless we find 'file', for example because we are cross-compiling.
5665 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5666 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5667 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5668 lt_cv_file_magic_cmd='func_win32_libid'
5670 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5671 lt_cv_file_magic_cmd='$OBJDUMP -f'
5676 # use the weaker test based on 'objdump'. See mingw*.
5677 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5678 lt_cv_file_magic_cmd='$OBJDUMP -f'
5681 darwin* | rhapsody*)
5682 lt_cv_deplibs_check_method=pass_all
5685 freebsd* | dragonfly*)
5686 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5689 # Not sure whether the presence of OpenBSD here was a mistake.
5690 # Let's accept both of them until this is cleared up.
5691 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5692 lt_cv_file_magic_cmd=/usr/bin/file
5693 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5697 lt_cv_deplibs_check_method=pass_all
5702 lt_cv_deplibs_check_method=pass_all
5706 lt_cv_deplibs_check_method=pass_all
5709 hpux10.20* | hpux11*)
5710 lt_cv_file_magic_cmd=/usr/bin/file
5713 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5714 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5717 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]'
5718 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5721 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5722 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5728 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5729 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5732 irix5* | irix6* | nonstopux*)
5734 *-32|*"-32 ") libmagic=32-bit;;
5735 *-n32|*"-n32 ") libmagic=N32;;
5736 *-64|*"-64 ") libmagic=64-bit;;
5737 *) libmagic=never-match;;
5739 lt_cv_deplibs_check_method=pass_all
5742 # This must be Linux ELF.
5743 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5744 lt_cv_deplibs_check_method=pass_all
5748 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5749 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5751 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5756 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5757 lt_cv_file_magic_cmd=/usr/bin/file
5758 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5762 lt_cv_deplibs_check_method=pass_all
5766 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5767 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5769 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5773 osf3* | osf4* | osf5*)
5774 lt_cv_deplibs_check_method=pass_all
5778 lt_cv_deplibs_check_method=pass_all
5782 lt_cv_deplibs_check_method=pass_all
5785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5786 lt_cv_deplibs_check_method=pass_all
5790 case $host_vendor in
5792 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]'
5793 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5796 lt_cv_deplibs_check_method=pass_all
5799 lt_cv_file_magic_cmd='/bin/file'
5800 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5803 lt_cv_file_magic_cmd='/bin/file'
5804 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5805 lt_cv_file_magic_test_file=/lib/libc.so
5808 lt_cv_deplibs_check_method=pass_all
5811 lt_cv_deplibs_check_method=pass_all
5817 lt_cv_deplibs_check_method=pass_all
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5823 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5824 file_magic_cmd=$lt_cv_file_magic_cmd
5825 deplibs_check_method=$lt_cv_deplibs_check_method
5826 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5839 if test -n "$ac_tool_prefix"; then
5840 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5841 set dummy ${ac_tool_prefix}ar; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5843 $as_echo_n "checking
for $ac_word...
" >&6; }
5844 if ${ac_cv_prog_AR+:} false; then :
5845 $as_echo_n "(cached
) " >&6
5847 if test -n "$AR"; then
5848 ac_cv_prog_AR="$AR" # Let the user override the test.
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_AR="${ac_tool_prefix}ar"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5868 if test -n "$AR"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5870 $as_echo "$AR" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5873 $as_echo "no
" >&6; }
5878 if test -z "$ac_cv_prog_AR"; then
5880 # Extract the first word of "ar", so it can be a program name with args.
5881 set dummy ar; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5883 $as_echo_n "checking
for $ac_word...
" >&6; }
5884 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5885 $as_echo_n "(cached
) " >&6
5887 if test -n "$ac_ct_AR"; then
5888 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_ac_ct_AR="ar"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5907 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5908 if test -n "$ac_ct_AR"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5910 $as_echo "$ac_ct_AR" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5913 $as_echo "no
" >&6; }
5916 if test "x
$ac_ct_AR" = x; then
5919 case $cross_compiling:$ac_tool_warned in
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5922 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5923 ac_tool_warned=yes ;;
5931 test -z "$AR" && AR=ar
5932 test -z "$AR_FLAGS" && AR_FLAGS=cru
5944 if test -n "$ac_tool_prefix"; then
5945 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5946 set dummy ${ac_tool_prefix}strip; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5948 $as_echo_n "checking
for $ac_word...
" >&6; }
5949 if ${ac_cv_prog_STRIP+:} false; then :
5950 $as_echo_n "(cached
) " >&6
5952 if test -n "$STRIP"; then
5953 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5972 STRIP=$ac_cv_prog_STRIP
5973 if test -n "$STRIP"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5975 $as_echo "$STRIP" >&6; }
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5978 $as_echo "no
" >&6; }
5983 if test -z "$ac_cv_prog_STRIP"; then
5985 # Extract the first word of "strip
", so it can be a program name with args.
5986 set dummy strip; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5988 $as_echo_n "checking
for $ac_word...
" >&6; }
5989 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5990 $as_echo_n "(cached
) " >&6
5992 if test -n "$ac_ct_STRIP"; then
5993 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6002 ac_cv_prog_ac_ct_STRIP="strip
"
6003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6012 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6013 if test -n "$ac_ct_STRIP"; then
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6015 $as_echo "$ac_ct_STRIP" >&6; }
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6018 $as_echo "no
" >&6; }
6021 if test "x
$ac_ct_STRIP" = x; then
6024 case $cross_compiling:$ac_tool_warned in
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6027 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6028 ac_tool_warned=yes ;;
6033 STRIP="$ac_cv_prog_STRIP"
6036 test -z "$STRIP" && STRIP=:
6043 if test -n "$ac_tool_prefix"; then
6044 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6045 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6047 $as_echo_n "checking
for $ac_word...
" >&6; }
6048 if ${ac_cv_prog_RANLIB+:} false; then :
6049 $as_echo_n "(cached
) " >&6
6051 if test -n "$RANLIB"; then
6052 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6071 RANLIB=$ac_cv_prog_RANLIB
6072 if test -n "$RANLIB"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6074 $as_echo "$RANLIB" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6077 $as_echo "no
" >&6; }
6082 if test -z "$ac_cv_prog_RANLIB"; then
6083 ac_ct_RANLIB=$RANLIB
6084 # Extract the first word of "ranlib
", so it can be a program name with args.
6085 set dummy ranlib; ac_word=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6087 $as_echo_n "checking
for $ac_word...
" >&6; }
6088 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6089 $as_echo_n "(cached
) " >&6
6091 if test -n "$ac_ct_RANLIB"; then
6092 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6101 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6111 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6112 if test -n "$ac_ct_RANLIB"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6114 $as_echo "$ac_ct_RANLIB" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6117 $as_echo "no
" >&6; }
6120 if test "x
$ac_ct_RANLIB" = x; then
6123 case $cross_compiling:$ac_tool_warned in
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6126 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6127 ac_tool_warned=yes ;;
6129 RANLIB=$ac_ct_RANLIB
6132 RANLIB="$ac_cv_prog_RANLIB"
6135 test -z "$RANLIB" && RANLIB=:
6142 # Determine commands to create old-style static archives.
6143 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6144 old_postinstall_cmds='chmod 644 $oldlib'
6145 old_postuninstall_cmds=
6147 if test -n "$RANLIB"; then
6150 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6153 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6156 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6161 lock_old_archive_extraction=yes ;;
6163 lock_old_archive_extraction=no ;;
6204 # If no C compiler was specified, use CC.
6207 # If no C compiler flags were specified, use CFLAGS.
6208 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6210 # Allow CC to be a program name with arguments.
6214 # Check for command to grab the raw symbol name followed by C symbol from nm.
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6216 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6217 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6218 $as_echo_n "(cached
) " >&6
6221 # These are sane defaults that work on at least a few old systems.
6222 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6224 # Character class describing NM global symbol codes.
6225 symcode='[BCDEGRST]'
6227 # Regexp to match symbols that can be accessed directly from C.
6228 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6230 # Define system-specific variables.
6235 cygwin* | mingw* | pw32* | cegcc*)
6236 symcode='[ABCDGISTW]'
6239 if test "$host_cpu" = ia64; then
6240 symcode='[ABCDEGRST]'
6244 symcode='[BCDEGRST]'
6247 symcode='[BCDEGQRST]'
6258 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6266 # If we're using GNU nm, then use its standard symbol codes.
6267 case `$NM -V 2>&1` in
6268 *GNU* | *'with BFD'*)
6269 symcode='[ABCDGIRSTW]' ;;
6272 # Transform an extracted symbol line into a proper C declaration.
6273 # Some systems (esp. on ia64) link data and code symbols differently,
6274 # so use this general approach.
6275 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6277 # Transform an extracted symbol line into symbol name and symbol address
6278 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6279 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'"
6281 # Handle CRLF in mingw tool chain
6285 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6289 # Try without a prefix underscore, then with it.
6290 for ac_symprfx in "" "_
"; do
6292 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6293 symxfrm="\\1 $ac_symprfx\\2 \\2"
6295 # Write the raw and C identifiers.
6296 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6297 # Fake it for dumpbin and say T for any non-static function
6298 # and D for any global variable.
6299 # Also find C++ and __fastcall symbols from MSVC++,
6300 # which start with @ or ?.
6301 lt_cv_sys_global_symbol_pipe="$AWK '"\
6302 " {last_section=section; section=\$ 3};"\
6303 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6304 " \$ 0!~/External *\|/{next};"\
6305 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6306 " {if(hide[section]) next};"\
6307 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6308 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6309 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6310 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6311 " ' prfx
=^
$ac_symprfx"
6313 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6316 # Check to see that the pipe works correctly.
6320 cat > conftest.$ac_ext <<_LT_EOF
6325 void nm_test_func(void);
6326 void nm_test_func(void){}
6330 int main(){nm_test_var='a';nm_test_func();return(0);}
6333 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6334 (eval $ac_compile) 2>&5
6336 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6337 test $ac_status = 0; }; then
6338 # Now try to grab the symbols.
6340 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6341 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6343 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6344 test $ac_status = 0; } && test -s "$nlist"; then
6345 # Try sorting and uniquifying the output.
6346 if sort "$nlist" | uniq > "$nlist"T; then
6347 mv -f "$nlist"T "$nlist"
6352 # Make sure that we snagged all the symbols we need.
6353 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6354 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6355 cat <<_LT_EOF > conftest.$ac_ext
6361 # Now generate the symbol file.
6362 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6364 cat <<_LT_EOF >> conftest.$ac_ext
6366 /* The mapping between symbol names and symbols. */
6371 lt__PROGRAM__LTX_preloaded_symbols[] =
6373 { "@PROGRAM@
", (void *) 0 },
6375 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6376 cat <<\_LT_EOF >> conftest.$ac_ext
6380 /* This works around a problem in FreeBSD linker */
6381 #ifdef FREEBSD_WORKAROUND
6382 static const void *lt_preloaded_setup() {
6383 return lt__PROGRAM__LTX_preloaded_symbols;
6391 # Now try linking the two files.
6392 mv conftest.$ac_objext conftstm.$ac_objext
6393 lt_save_LIBS="$LIBS"
6394 lt_save_CFLAGS="$CFLAGS"
6395 LIBS="conftstm.
$ac_objext"
6396 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6397 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6398 (eval $ac_link) 2>&5
6400 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6401 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6404 LIBS="$lt_save_LIBS"
6405 CFLAGS="$lt_save_CFLAGS"
6407 echo "cannot
find nm_test_func
in $nlist" >&5
6410 echo "cannot
find nm_test_var
in $nlist" >&5
6413 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6416 echo "$progname: failed program was
:" >&5
6417 cat conftest.$ac_ext >&5
6419 rm -rf conftest* conftst*
6421 # Do not use the global_symbol_pipe unless it works.
6422 if test "$pipe_works" = yes; then
6425 lt_cv_sys_global_symbol_pipe=
6431 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6432 lt_cv_sys_global_symbol_to_cdecl=
6434 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6436 $as_echo "failed
" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6439 $as_echo "ok
" >&6; }
6463 # Check whether --enable-libtool-lock was given.
6464 if test "${enable_libtool_lock+set}" = set; then :
6465 enableval=$enable_libtool_lock;
6468 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6470 # Some flags need to be propagated to the compiler or linker for good
6474 # Find out which ABI we are using.
6475 echo 'int i;' > conftest.$ac_ext
6476 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6477 (eval $ac_compile) 2>&5
6479 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6480 test $ac_status = 0; }; then
6481 case `/usr/bin/file conftest.$ac_objext` in
6493 # Find out which ABI we are using.
6494 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6495 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6496 (eval $ac_compile) 2>&5
6498 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6499 test $ac_status = 0; }; then
6500 if test "$lt_cv_prog_gnu_ld" = yes; then
6501 case `/usr/bin/file conftest.$ac_objext` in
6503 LD="${LD-ld} -melf32bsmip"
6506 LD="${LD-ld} -melf32bmipn32"
6509 LD="${LD-ld} -melf64bmip"
6513 case `/usr/bin/file conftest.$ac_objext` in
6529 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6530 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6531 # Find out which ABI we are using.
6532 echo 'int i;' > conftest.$ac_ext
6533 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6534 (eval $ac_compile) 2>&5
6536 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6537 test $ac_status = 0; }; then
6538 case `/usr/bin/file conftest.o` in
6541 x86_64-*kfreebsd*-gnu)
6542 LD="${LD-ld} -m elf_i386_fbsd
"
6545 case `/usr/bin/file conftest.o` in
6547 LD="${LD-ld} -m elf32_x86_64
"
6550 LD="${LD-ld} -m elf_i386
"
6554 powerpc64le-*linux*)
6555 LD="${LD-ld} -m elf32lppclinux
"
6558 LD="${LD-ld} -m elf32ppclinux
"
6561 LD="${LD-ld} -m elf_s390
"
6564 LD="${LD-ld} -m elf32_sparc
"
6570 x86_64-*kfreebsd*-gnu)
6571 LD="${LD-ld} -m elf_x86_64_fbsd
"
6574 LD="${LD-ld} -m elf_x86_64
"
6577 LD="${LD-ld} -m elf64lppc
"
6580 LD="${LD-ld} -m elf64ppc
"
6582 s390*-*linux*|s390*-*tpf*)
6583 LD="${LD-ld} -m elf64_s390
"
6586 LD="${LD-ld} -m elf64_sparc
"
6596 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6597 SAVE_CFLAGS="$CFLAGS"
6598 CFLAGS="$CFLAGS -belf"
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6600 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6601 if ${lt_cv_cc_needs_belf+:} false; then :
6602 $as_echo_n "(cached
) " >&6
6605 ac_cpp='$CPP $CPPFLAGS'
6606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6610 if test x$gcc_no_link = xyes; then
6611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6624 if ac_fn_c_try_link "$LINENO"; then :
6625 lt_cv_cc_needs_belf=yes
6627 lt_cv_cc_needs_belf=no
6629 rm -f core conftest.err conftest.$ac_objext \
6630 conftest$ac_exeext conftest.$ac_ext
6632 ac_cpp='$CPP $CPPFLAGS'
6633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6639 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6640 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6641 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6642 CFLAGS="$SAVE_CFLAGS"
6646 # Find out which ABI we are using.
6647 echo 'int i;' > conftest.$ac_ext
6648 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6649 (eval $ac_compile) 2>&5
6651 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6652 test $ac_status = 0; }; then
6653 case `/usr/bin/file conftest.o` in
6655 case $lt_cv_prog_gnu_ld in
6656 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6658 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6670 need_locks="$enable_libtool_lock"
6674 rhapsody* | darwin*)
6675 if test -n "$ac_tool_prefix"; then
6676 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6677 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6679 $as_echo_n "checking
for $ac_word...
" >&6; }
6680 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6681 $as_echo_n "(cached
) " >&6
6683 if test -n "$DSYMUTIL"; then
6684 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6703 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6704 if test -n "$DSYMUTIL"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6706 $as_echo "$DSYMUTIL" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6709 $as_echo "no
" >&6; }
6714 if test -z "$ac_cv_prog_DSYMUTIL"; then
6715 ac_ct_DSYMUTIL=$DSYMUTIL
6716 # Extract the first word of "dsymutil
", so it can be a program name with args.
6717 set dummy dsymutil; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6719 $as_echo_n "checking
for $ac_word...
" >&6; }
6720 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6721 $as_echo_n "(cached
) " >&6
6723 if test -n "$ac_ct_DSYMUTIL"; then
6724 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6743 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6744 if test -n "$ac_ct_DSYMUTIL"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6746 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6749 $as_echo "no
" >&6; }
6752 if test "x
$ac_ct_DSYMUTIL" = x; then
6755 case $cross_compiling:$ac_tool_warned in
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6758 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6759 ac_tool_warned=yes ;;
6761 DSYMUTIL=$ac_ct_DSYMUTIL
6764 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6767 if test -n "$ac_tool_prefix"; then
6768 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6771 $as_echo_n "checking
for $ac_word...
" >&6; }
6772 if ${ac_cv_prog_NMEDIT+:} false; then :
6773 $as_echo_n "(cached
) " >&6
6775 if test -n "$NMEDIT"; then
6776 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6795 NMEDIT=$ac_cv_prog_NMEDIT
6796 if test -n "$NMEDIT"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6798 $as_echo "$NMEDIT" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6801 $as_echo "no
" >&6; }
6806 if test -z "$ac_cv_prog_NMEDIT"; then
6807 ac_ct_NMEDIT=$NMEDIT
6808 # Extract the first word of "nmedit
", so it can be a program name with args.
6809 set dummy nmedit; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6811 $as_echo_n "checking
for $ac_word...
" >&6; }
6812 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6813 $as_echo_n "(cached
) " >&6
6815 if test -n "$ac_ct_NMEDIT"; then
6816 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6825 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6835 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6836 if test -n "$ac_ct_NMEDIT"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6838 $as_echo "$ac_ct_NMEDIT" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6841 $as_echo "no
" >&6; }
6844 if test "x
$ac_ct_NMEDIT" = x; then
6847 case $cross_compiling:$ac_tool_warned in
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6850 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6851 ac_tool_warned=yes ;;
6853 NMEDIT=$ac_ct_NMEDIT
6856 NMEDIT="$ac_cv_prog_NMEDIT"
6859 if test -n "$ac_tool_prefix"; then
6860 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6861 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6863 $as_echo_n "checking
for $ac_word...
" >&6; }
6864 if ${ac_cv_prog_LIPO+:} false; then :
6865 $as_echo_n "(cached
) " >&6
6867 if test -n "$LIPO"; then
6868 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 test -z "$as_dir" && as_dir=.
6875 for ac_exec_ext in '' $ac_executable_extensions; do
6876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6877 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6887 LIPO=$ac_cv_prog_LIPO
6888 if test -n "$LIPO"; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6890 $as_echo "$LIPO" >&6; }
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6893 $as_echo "no
" >&6; }
6898 if test -z "$ac_cv_prog_LIPO"; then
6900 # Extract the first word of "lipo
", so it can be a program name with args.
6901 set dummy lipo; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6903 $as_echo_n "checking
for $ac_word...
" >&6; }
6904 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6905 $as_echo_n "(cached
) " >&6
6907 if test -n "$ac_ct_LIPO"; then
6908 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 test -z "$as_dir" && as_dir=.
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6917 ac_cv_prog_ac_ct_LIPO="lipo
"
6918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6927 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6928 if test -n "$ac_ct_LIPO"; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6930 $as_echo "$ac_ct_LIPO" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6933 $as_echo "no
" >&6; }
6936 if test "x
$ac_ct_LIPO" = x; then
6939 case $cross_compiling:$ac_tool_warned in
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6942 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6943 ac_tool_warned=yes ;;
6948 LIPO="$ac_cv_prog_LIPO"
6951 if test -n "$ac_tool_prefix"; then
6952 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6953 set dummy ${ac_tool_prefix}otool; ac_word=$2
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6955 $as_echo_n "checking
for $ac_word...
" >&6; }
6956 if ${ac_cv_prog_OTOOL+:} false; then :
6957 $as_echo_n "(cached
) " >&6
6959 if test -n "$OTOOL"; then
6960 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6969 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6979 OTOOL=$ac_cv_prog_OTOOL
6980 if test -n "$OTOOL"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6982 $as_echo "$OTOOL" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6985 $as_echo "no
" >&6; }
6990 if test -z "$ac_cv_prog_OTOOL"; then
6992 # Extract the first word of "otool
", so it can be a program name with args.
6993 set dummy otool; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6995 $as_echo_n "checking
for $ac_word...
" >&6; }
6996 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6997 $as_echo_n "(cached
) " >&6
6999 if test -n "$ac_ct_OTOOL"; then
7000 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_ac_ct_OTOOL="otool
"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7019 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7020 if test -n "$ac_ct_OTOOL"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7022 $as_echo "$ac_ct_OTOOL" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7025 $as_echo "no
" >&6; }
7028 if test "x
$ac_ct_OTOOL" = x; then
7031 case $cross_compiling:$ac_tool_warned in
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7034 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7035 ac_tool_warned=yes ;;
7040 OTOOL="$ac_cv_prog_OTOOL"
7043 if test -n "$ac_tool_prefix"; then
7044 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7045 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7047 $as_echo_n "checking
for $ac_word...
" >&6; }
7048 if ${ac_cv_prog_OTOOL64+:} false; then :
7049 $as_echo_n "(cached
) " >&6
7051 if test -n "$OTOOL64"; then
7052 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7061 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7071 OTOOL64=$ac_cv_prog_OTOOL64
7072 if test -n "$OTOOL64"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7074 $as_echo "$OTOOL64" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7077 $as_echo "no
" >&6; }
7082 if test -z "$ac_cv_prog_OTOOL64"; then
7083 ac_ct_OTOOL64=$OTOOL64
7084 # Extract the first word of "otool64
", so it can be a program name with args.
7085 set dummy otool64; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7087 $as_echo_n "checking
for $ac_word...
" >&6; }
7088 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7089 $as_echo_n "(cached
) " >&6
7091 if test -n "$ac_ct_OTOOL64"; then
7092 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 test -z "$as_dir" && as_dir=.
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7101 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7111 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7112 if test -n "$ac_ct_OTOOL64"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7114 $as_echo "$ac_ct_OTOOL64" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7117 $as_echo "no
" >&6; }
7120 if test "x
$ac_ct_OTOOL64" = x; then
7123 case $cross_compiling:$ac_tool_warned in
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7126 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7127 ac_tool_warned=yes ;;
7129 OTOOL64=$ac_ct_OTOOL64
7132 OTOOL64="$ac_cv_prog_OTOOL64"
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7162 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7163 if ${lt_cv_apple_cc_single_mod+:} false; then :
7164 $as_echo_n "(cached
) " >&6
7166 lt_cv_apple_cc_single_mod=no
7167 if test -z "${LT_MULTI_MODULE}"; then
7168 # By default we will add the -single_module flag. You can override
7169 # by either setting the environment variable LT_MULTI_MODULE
7170 # non-empty at configure time, or by adding -multi_module to the
7172 rm -rf libconftest.dylib*
7173 echo "int foo
(void
){return 1;}" > conftest.c
7174 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7175 -dynamiclib -Wl,-single_module conftest.c
" >&5
7176 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7177 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7179 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7180 lt_cv_apple_cc_single_mod=yes
7182 cat conftest.err >&5
7184 rm -rf libconftest.dylib*
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7189 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7191 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7192 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7193 $as_echo_n "(cached
) " >&6
7195 lt_cv_ld_exported_symbols_list=no
7196 save_LDFLAGS=$LDFLAGS
7197 echo "_main
" > conftest.sym
7198 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7199 if test x$gcc_no_link = xyes; then
7200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7213 if ac_fn_c_try_link "$LINENO"; then :
7214 lt_cv_ld_exported_symbols_list=yes
7216 lt_cv_ld_exported_symbols_list=no
7218 rm -f core conftest.err conftest.$ac_objext \
7219 conftest$ac_exeext conftest.$ac_ext
7220 LDFLAGS="$save_LDFLAGS"
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7224 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7226 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7227 if ${lt_cv_ld_force_load+:} false; then :
7228 $as_echo_n "(cached
) " >&6
7230 lt_cv_ld_force_load=no
7231 cat > conftest.c << _LT_EOF
7232 int forced_loaded() { return 2;}
7234 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7235 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7236 echo "$AR cru libconftest.a conftest.o
" >&5
7237 $AR cru libconftest.a conftest.o 2>&5
7238 cat > conftest.c << _LT_EOF
7239 int main() { return 0;}
7241 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7242 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7244 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7245 lt_cv_ld_force_load=yes
7247 cat conftest.err >&5
7249 rm -f conftest.err libconftest.a conftest conftest.c
7250 rm -rf conftest.dSYM
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7254 $as_echo "$lt_cv_ld_force_load" >&6; }
7256 rhapsody* | darwin1.[012])
7257 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7259 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7260 darwin*) # darwin 5.x on
7261 # if running on 10.5 or later, the deployment target defaults
7262 # to the OS version, if on x86, and 10.4, the deployment
7263 # target defaults to 10.4. Don't you love it?
7264 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7265 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7266 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7268 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7270 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7274 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7275 _lt_dar_single_mod='$single_module'
7277 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7278 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7280 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7282 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7283 _lt_dsymutil='~$DSYMUTIL $lib || :'
7290 for ac_header in dlfcn.h
7292 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7294 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7295 cat >>confdefs.h <<_ACEOF
7296 #define HAVE_DLFCN_H 1
7317 # Check whether --enable-shared was given.
7318 if test "${enable_shared+set}" = set; then :
7319 enableval=$enable_shared; p=${PACKAGE-default}
7321 yes) enable_shared=yes ;;
7322 no) enable_shared=no ;;
7325 # Look at the argument we got. We use all the common list separators.
7326 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7327 for pkg in $enableval; do
7329 if test "X
$pkg" = "X
$p"; then
7348 # Check whether --enable-static was given.
7349 if test "${enable_static+set}" = set; then :
7350 enableval=$enable_static; p=${PACKAGE-default}
7352 yes) enable_static=yes ;;
7353 no) enable_static=no ;;
7356 # Look at the argument we got. We use all the common list separators.
7357 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7358 for pkg in $enableval; do
7360 if test "X
$pkg" = "X
$p"; then
7380 # Check whether --with-pic was given.
7381 if test "${with_pic+set}" = set; then :
7382 withval=$with_pic; pic_mode="$withval"
7388 test -z "$pic_mode" && pic_mode=default
7396 # Check whether --enable-fast-install was given.
7397 if test "${enable_fast_install+set}" = set; then :
7398 enableval=$enable_fast_install; p=${PACKAGE-default}
7400 yes) enable_fast_install=yes ;;
7401 no) enable_fast_install=no ;;
7403 enable_fast_install=no
7404 # Look at the argument we got. We use all the common list separators.
7405 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7406 for pkg in $enableval; do
7408 if test "X
$pkg" = "X
$p"; then
7409 enable_fast_install=yes
7416 enable_fast_install=yes
7429 # This can be used to rebuild libtool when needed
7430 LIBTOOL_DEPS="$ltmain"
7432 # Always use our own libtool.
7433 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7460 test -z "$LN_S" && LN_S="ln -s"
7475 if test -n "${ZSH_VERSION+set}" ; then
7476 setopt NO_GLOB_SUBST
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7480 $as_echo_n "checking
for objdir...
" >&6; }
7481 if ${lt_cv_objdir+:} false; then :
7482 $as_echo_n "(cached
) " >&6
7484 rm -f .libs 2>/dev/null
7485 mkdir .libs 2>/dev/null
7486 if test -d .libs; then
7489 # MS-DOS does not allow filenames that begin with a dot.
7492 rmdir .libs 2>/dev/null
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7495 $as_echo "$lt_cv_objdir" >&6; }
7496 objdir=$lt_cv_objdir
7502 cat >>confdefs.h <<_ACEOF
7503 #define LT_OBJDIR "$lt_cv_objdir/"
7511 # AIX sometimes has problems with the GCC collect2 program. For some
7512 # reason, if we set the COLLECT_NAMES environment variable, the problems
7513 # vanish in a puff of smoke.
7514 if test "X
${COLLECT_NAMES+set}" != Xset; then
7516 export COLLECT_NAMES
7523 can_build_shared=yes
7525 # All known linkers require a `.a' archive for static linking (except MSVC,
7526 # which needs '.lib').
7529 with_gnu_ld="$lt_cv_prog_gnu_ld"
7532 old_CFLAGS="$CFLAGS"
7534 # Set sane defaults for various variables
7535 test -z "$CC" && CC=cc
7536 test -z "$LTCC" && LTCC=$CC
7537 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7538 test -z "$LD" && LD=ld
7539 test -z "$ac_objext" && ac_objext=o
7541 for cc_temp in $compiler""; do
7543 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7544 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7549 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7552 # Only perform the check for file, if the check method requires it
7553 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7554 case $deplibs_check_method in
7556 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7558 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7559 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7560 $as_echo_n "(cached
) " >&6
7564 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7567 lt_save_MAGIC_CMD="$MAGIC_CMD"
7568 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7569 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7570 for ac_dir in $ac_dummy; do
7572 test -z "$ac_dir" && ac_dir=.
7573 if test -f $ac_dir/${ac_tool_prefix}file; then
7574 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7575 if test -n "$file_magic_test_file"; then
7576 case $deplibs_check_method in
7578 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7580 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7581 $EGREP "$file_magic_regex" > /dev/null; then
7586 *** Warning: the command libtool uses to detect shared libraries,
7587 *** $file_magic_cmd, produces output that libtool cannot recognize.
7588 *** The result is that libtool may fail to recognize shared libraries
7589 *** as such. This will affect the creation of libtool libraries that
7590 *** depend on shared libraries, but programs linked with such libtool
7591 *** libraries will work regardless of this problem. Nevertheless, you
7592 *** may want to report the problem to your system manager and/or to
7593 *** bug-libtool@gnu.org
7603 MAGIC_CMD="$lt_save_MAGIC_CMD"
7608 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7609 if test -n "$MAGIC_CMD"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7611 $as_echo "$MAGIC_CMD" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7614 $as_echo "no
" >&6; }
7621 if test -z "$lt_cv_path_MAGIC_CMD"; then
7622 if test -n "$ac_tool_prefix"; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7624 $as_echo_n "checking
for file...
" >&6; }
7625 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7626 $as_echo_n "(cached
) " >&6
7630 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7633 lt_save_MAGIC_CMD="$MAGIC_CMD"
7634 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7635 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7636 for ac_dir in $ac_dummy; do
7638 test -z "$ac_dir" && ac_dir=.
7639 if test -f $ac_dir/file; then
7640 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7641 if test -n "$file_magic_test_file"; then
7642 case $deplibs_check_method in
7644 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7645 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7646 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7647 $EGREP "$file_magic_regex" > /dev/null; then
7652 *** Warning: the command libtool uses to detect shared libraries,
7653 *** $file_magic_cmd, produces output that libtool cannot recognize.
7654 *** The result is that libtool may fail to recognize shared libraries
7655 *** as such. This will affect the creation of libtool libraries that
7656 *** depend on shared libraries, but programs linked with such libtool
7657 *** libraries will work regardless of this problem. Nevertheless, you
7658 *** may want to report the problem to your system manager and/or to
7659 *** bug-libtool@gnu.org
7669 MAGIC_CMD="$lt_save_MAGIC_CMD"
7674 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7675 if test -n "$MAGIC_CMD"; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7677 $as_echo "$MAGIC_CMD" >&6; }
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7680 $as_echo "no
" >&6; }
7693 # Use C for the default configuration in the libtool script
7697 ac_cpp='$CPP $CPPFLAGS'
7698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7703 # Source file extension for C test sources.
7706 # Object file extension for compiled C test sources.
7710 # Code to be used in simple compile tests
7711 lt_simple_compile_test_code="int some_variable
= 0;"
7713 # Code to be used in simple link tests
7714 lt_simple_link_test_code='int main(){return(0);}'
7722 # If no C compiler was specified, use CC.
7725 # If no C compiler flags were specified, use CFLAGS.
7726 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7728 # Allow CC to be a program name with arguments.
7731 # Save the default compiler, since it gets overwritten when the other
7732 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7733 compiler_DEFAULT=$CC
7735 # save warnings/boilerplate of simple test code
7736 ac_outfile=conftest.$ac_objext
7737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7739 _lt_compiler_boilerplate=`cat conftest.err`
7742 ac_outfile=conftest.$ac_objext
7743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7745 _lt_linker_boilerplate=`cat conftest.err`
7750 ## There is no encapsulation within the following macros, do not change
7751 ## the running order or otherwise move them around unless you know exactly
7752 ## what you are doing...
7753 if test -n "$compiler"; then
7755 lt_prog_compiler_no_builtin_flag=
7757 if test "$GCC" = yes; then
7758 case $cc_basename in
7760 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7762 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7766 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7767 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7768 $as_echo_n "(cached
) " >&6
7770 lt_cv_prog_compiler_rtti_exceptions=no
7771 ac_outfile=conftest.$ac_objext
7772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7773 lt_compiler_flag="-fno-rtti -fno-exceptions"
7774 # Insert the option either (1) after the last *FLAGS variable, or
7775 # (2) before a word containing "conftest.
", or (3) at the end.
7776 # Note that $ac_compile itself does not contain backslashes and begins
7777 # with a dollar sign (not a hyphen), so the echo should work correctly.
7778 # The option is referenced via a variable to avoid confusing sed.
7779 lt_compile=`echo "$ac_compile" | $SED \
7780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7782 -e 's:$: $lt_compiler_flag:'`
7783 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7784 (eval "$lt_compile" 2>conftest.err)
7786 cat conftest.err >&5
7787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7788 if (exit $ac_status) && test -s "$ac_outfile"; then
7789 # The compiler can only warn and ignore the option if not recognized
7790 # So say no if there are warnings other than the usual output.
7791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7794 lt_cv_prog_compiler_rtti_exceptions=yes
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7801 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7803 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7804 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7816 lt_prog_compiler_wl=
7817 lt_prog_compiler_pic=
7818 lt_prog_compiler_static=
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7821 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7823 if test "$GCC" = yes; then
7824 lt_prog_compiler_wl='-Wl,'
7825 lt_prog_compiler_static='-static'
7829 # All AIX code is PIC.
7830 if test "$host_cpu" = ia64; then
7831 # AIX 5 now supports IA64 processor
7832 lt_prog_compiler_static='-Bstatic'
7834 lt_prog_compiler_pic='-fPIC'
7840 # see comment about AmigaOS4 .so support
7841 lt_prog_compiler_pic='-fPIC'
7844 # FIXME: we need at least 68020 code to build shared libraries, but
7845 # adding the `-m68020' flag to GCC prevents building anything better,
7847 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7852 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7853 # PIC is the default for these OSes.
7856 mingw* | cygwin* | pw32* | os2* | cegcc*)
7857 # This hack is so that the source file can tell whether it is being
7858 # built for inclusion in a dll (and should export symbols for example).
7859 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7860 # (--disable-auto-import) libraries
7861 lt_prog_compiler_pic='-DDLL_EXPORT'
7864 darwin* | rhapsody*)
7865 # PIC is the default on this platform
7866 # Common symbols not allowed in MH_DYLIB files
7867 lt_prog_compiler_pic='-fno-common'
7871 # PIC is the default for Haiku.
7872 # The "-static" flag exists, but is broken.
7873 lt_prog_compiler_static=
7877 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7878 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7879 # sets the default TLS model and affects inlining.
7885 lt_prog_compiler_pic='-fPIC'
7891 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7892 # Instead, we relocate shared libraries at runtime.
7896 # Just because we use GCC doesn't mean we suddenly get shared libraries
7897 # on systems that don't support them.
7898 lt_prog_compiler_can_build_shared=no
7903 # QNX uses GNU C++, but need to define -shared option too, otherwise
7905 lt_prog_compiler_pic='-fPIC -shared'
7909 if test -d /usr/nec; then
7910 lt_prog_compiler_pic=-Kconform_pic
7915 lt_prog_compiler_pic='-fPIC'
7919 case $cc_basename in
7920 nvcc*) # Cuda Compiler Driver 2.2
7921 lt_prog_compiler_wl='-Xlinker '
7922 lt_prog_compiler_pic='-Xcompiler -fPIC'
7926 # PORTME Check for flag to pass linker flags through the system compiler.
7929 lt_prog_compiler_wl='-Wl,'
7930 if test "$host_cpu" = ia64; then
7931 # AIX 5 now supports IA64 processor
7932 lt_prog_compiler_static='-Bstatic'
7934 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7938 mingw* | cygwin* | pw32* | os2* | cegcc*)
7939 # This hack is so that the source file can tell whether it is being
7940 # built for inclusion in a dll (and should export symbols for example).
7941 lt_prog_compiler_pic='-DDLL_EXPORT'
7944 hpux9* | hpux10* | hpux11*)
7945 lt_prog_compiler_wl='-Wl,'
7946 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7953 lt_prog_compiler_pic='+Z'
7956 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7957 lt_prog_compiler_static='${wl}-a ${wl}archive'
7960 irix5* | irix6* | nonstopux*)
7961 lt_prog_compiler_wl='-Wl,'
7962 # PIC (with -KPIC) is the default.
7963 lt_prog_compiler_static='-non_shared'
7966 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7967 case $cc_basename in
7968 # old Intel for x86_64 which still supported -KPIC.
7970 lt_prog_compiler_wl='-Wl,'
7971 lt_prog_compiler_pic='-KPIC'
7972 lt_prog_compiler_static='-static'
7974 # icc used to be incompatible with GCC.
7975 # ICC 10 doesn't accept -KPIC any more.
7977 lt_prog_compiler_wl='-Wl,'
7978 lt_prog_compiler_pic='-fPIC'
7979 lt_prog_compiler_static='-static'
7981 # Lahey Fortran 8.1.
7983 lt_prog_compiler_wl='-Wl,'
7984 lt_prog_compiler_pic='--shared'
7985 lt_prog_compiler_static='--static'
7987 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7988 # Portland Group compilers (*not* the Pentium gcc compiler,
7989 # which looks to be a dead project)
7990 lt_prog_compiler_wl='-Wl,'
7991 lt_prog_compiler_pic='-fpic'
7992 lt_prog_compiler_static='-Bstatic'
7995 lt_prog_compiler_wl='-Wl,'
7996 # All Alpha code is PIC.
7997 lt_prog_compiler_static='-non_shared'
7999 xl* | bgxl* | bgf* | mpixl*)
8000 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8001 lt_prog_compiler_wl='-Wl,'
8002 lt_prog_compiler_pic='-qpic'
8003 lt_prog_compiler_static='-qstaticlink'
8006 case `$CC -V 2>&1 | sed 5q` in
8007 *Sun\ F* | *Sun*Fortran*)
8008 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8009 lt_prog_compiler_pic='-KPIC'
8010 lt_prog_compiler_static='-Bstatic'
8011 lt_prog_compiler_wl=''
8015 lt_prog_compiler_pic='-KPIC'
8016 lt_prog_compiler_static='-Bstatic'
8017 lt_prog_compiler_wl='-Wl,'
8025 lt_prog_compiler_pic='-KPIC'
8026 lt_prog_compiler_static='-Bstatic'
8030 # QNX uses GNU C++, but need to define -shared option too, otherwise
8032 lt_prog_compiler_pic='-fPIC -shared'
8035 osf3* | osf4* | osf5*)
8036 lt_prog_compiler_wl='-Wl,'
8037 # All OSF/1 code is PIC.
8038 lt_prog_compiler_static='-non_shared'
8042 lt_prog_compiler_static='-non_shared'
8046 lt_prog_compiler_pic='-KPIC'
8047 lt_prog_compiler_static='-Bstatic'
8048 case $cc_basename in
8050 lt_prog_compiler_wl='-Qoption ld ';;
8052 lt_prog_compiler_wl='-Wl,';;
8057 lt_prog_compiler_wl='-Qoption ld '
8058 lt_prog_compiler_pic='-PIC'
8059 lt_prog_compiler_static='-Bstatic'
8062 sysv4 | sysv4.2uw2* | sysv4.3*)
8063 lt_prog_compiler_wl='-Wl,'
8064 lt_prog_compiler_pic='-KPIC'
8065 lt_prog_compiler_static='-Bstatic'
8069 if test -d /usr/nec ;then
8070 lt_prog_compiler_pic='-Kconform_pic'
8071 lt_prog_compiler_static='-Bstatic'
8075 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8076 lt_prog_compiler_wl='-Wl,'
8077 lt_prog_compiler_pic='-KPIC'
8078 lt_prog_compiler_static='-Bstatic'
8082 lt_prog_compiler_wl='-Wl,'
8083 lt_prog_compiler_can_build_shared=no
8087 lt_prog_compiler_pic='-pic'
8088 lt_prog_compiler_static='-Bstatic'
8092 lt_prog_compiler_can_build_shared=no
8098 # For platforms which do not support PIC, -DPIC is meaningless:
8100 lt_prog_compiler_pic=
8103 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8107 $as_echo "$lt_prog_compiler_pic" >&6; }
8115 # Check to make sure the PIC flag actually works.
8117 if test -n "$lt_prog_compiler_pic"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8119 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8120 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8121 $as_echo_n "(cached
) " >&6
8123 lt_cv_prog_compiler_pic_works=no
8124 ac_outfile=conftest.$ac_objext
8125 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8126 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8127 # Insert the option either (1) after the last *FLAGS variable, or
8128 # (2) before a word containing "conftest.
", or (3) at the end.
8129 # Note that $ac_compile itself does not contain backslashes and begins
8130 # with a dollar sign (not a hyphen), so the echo should work correctly.
8131 # The option is referenced via a variable to avoid confusing sed.
8132 lt_compile=`echo "$ac_compile" | $SED \
8133 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8134 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8135 -e 's:$: $lt_compiler_flag:'`
8136 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8137 (eval "$lt_compile" 2>conftest.err)
8139 cat conftest.err >&5
8140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8141 if (exit $ac_status) && test -s "$ac_outfile"; then
8142 # The compiler can only warn and ignore the option if not recognized
8143 # So say no if there are warnings other than the usual output.
8144 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8145 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8146 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8147 lt_cv_prog_compiler_pic_works=yes
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8154 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8156 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8157 case $lt_prog_compiler_pic in
8159 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8162 lt_prog_compiler_pic=
8163 lt_prog_compiler_can_build_shared=no
8174 # Check to make sure the static flag actually works.
8176 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8178 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8179 if ${lt_cv_prog_compiler_static_works+:} false; then :
8180 $as_echo_n "(cached
) " >&6
8182 lt_cv_prog_compiler_static_works=no
8183 save_LDFLAGS="$LDFLAGS"
8184 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8185 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8186 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8187 # The linker can only warn and ignore the option if not recognized
8188 # So say no if there are warnings
8189 if test -s conftest.err; then
8190 # Append any errors to the config.log.
8191 cat conftest.err 1>&5
8192 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8193 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8194 if diff conftest.exp conftest.er2 >/dev/null; then
8195 lt_cv_prog_compiler_static_works=yes
8198 lt_cv_prog_compiler_static_works=yes
8202 LDFLAGS="$save_LDFLAGS"
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8206 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8208 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8211 lt_prog_compiler_static=
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8221 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8222 if ${lt_cv_prog_compiler_c_o+:} false; then :
8223 $as_echo_n "(cached
) " >&6
8225 lt_cv_prog_compiler_c_o=no
8226 $RM -r conftest 2>/dev/null
8230 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8232 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8233 # Insert the option either (1) after the last *FLAGS variable, or
8234 # (2) before a word containing "conftest.
", or (3) at the end.
8235 # Note that $ac_compile itself does not contain backslashes and begins
8236 # with a dollar sign (not a hyphen), so the echo should work correctly.
8237 lt_compile=`echo "$ac_compile" | $SED \
8238 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8239 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8240 -e 's:$: $lt_compiler_flag:'`
8241 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8242 (eval "$lt_compile" 2>out/conftest.err)
8244 cat out/conftest.err >&5
8245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8246 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8248 # The compiler can only warn and ignore the option if not recognized
8249 # So say no if there are warnings
8250 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8251 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8252 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8253 lt_cv_prog_compiler_c_o=yes
8258 # SGI C++ compiler will create directory out/ii_files/ for
8259 # template instantiation
8260 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8261 $RM out/* && rmdir out
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8268 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8276 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8277 if ${lt_cv_prog_compiler_c_o+:} false; then :
8278 $as_echo_n "(cached
) " >&6
8280 lt_cv_prog_compiler_c_o=no
8281 $RM -r conftest 2>/dev/null
8285 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8287 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8288 # Insert the option either (1) after the last *FLAGS variable, or
8289 # (2) before a word containing "conftest.
", or (3) at the end.
8290 # Note that $ac_compile itself does not contain backslashes and begins
8291 # with a dollar sign (not a hyphen), so the echo should work correctly.
8292 lt_compile=`echo "$ac_compile" | $SED \
8293 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8295 -e 's:$: $lt_compiler_flag:'`
8296 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8297 (eval "$lt_compile" 2>out/conftest.err)
8299 cat out/conftest.err >&5
8300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8301 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8303 # The compiler can only warn and ignore the option if not recognized
8304 # So say no if there are warnings
8305 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8306 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8307 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8308 lt_cv_prog_compiler_c_o=yes
8313 # SGI C++ compiler will create directory out/ii_files/ for
8314 # template instantiation
8315 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8316 $RM out/* && rmdir out
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8323 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8328 hard_links="nottested
"
8329 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8330 # do not overwrite the value of need_locks provided by the user
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8332 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8335 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8337 ln conftest.a conftest.b 2>&5 || hard_links=no
8338 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8340 $as_echo "$hard_links" >&6; }
8341 if test "$hard_links" = no; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8343 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8356 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8359 allow_undefined_flag=
8360 always_export_symbols=no
8362 archive_expsym_cmds=
8363 compiler_needs_object=no
8364 enable_shared_with_static_runtimes=no
8365 export_dynamic_flag_spec=
8366 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8367 hardcode_automatic=no
8369 hardcode_direct_absolute=no
8370 hardcode_libdir_flag_spec=
8371 hardcode_libdir_flag_spec_ld=
8372 hardcode_libdir_separator=
8374 hardcode_shlibpath_var=unsupported
8376 link_all_deplibs=unknown
8379 old_archive_from_new_cmds=
8380 old_archive_from_expsyms_cmds=
8381 thread_safe_flag_spec=
8382 whole_archive_flag_spec=
8383 # include_expsyms should be a list of space-separated symbols to be *always*
8384 # included in the symbol list
8386 # exclude_expsyms can be an extended regexp of symbols to exclude
8387 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8388 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8389 # as well as any symbol that contains `d'.
8390 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8391 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8392 # platforms (ab)use it in PIC code, but their linkers get confused if
8393 # the symbol is explicitly referenced. Since portable code cannot
8394 # rely on this symbol name, it's probably fine to never include it in
8395 # preloaded symbol tables.
8396 # Exclude shared library initialization/finalization symbols.
8397 extract_expsyms_cmds=
8400 cygwin* | mingw* | pw32* | cegcc*)
8401 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8402 # When not using gcc, we currently assume that we are using
8403 # Microsoft Visual C++.
8404 if test "$GCC" != yes; then
8409 # we just hope/assume this is gcc and not c89 (= MSVC++)
8419 # On some targets, GNU ld is compatible enough with the native linker
8420 # that we're better off using the native interface for both.
8421 lt_use_gnu_ld_interface=no
8422 if test "$with_gnu_ld" = yes; then
8425 # The AIX port of GNU ld has always aspired to compatibility
8426 # with the native linker. However, as the warning in the GNU ld
8427 # block says, versions before 2.19.5* couldn't really create working
8428 # shared libraries, regardless of the interface used.
8429 case `$LD -v 2>&1` in
8430 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8431 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8432 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8434 lt_use_gnu_ld_interface=yes
8439 lt_use_gnu_ld_interface=yes
8444 if test "$lt_use_gnu_ld_interface" = yes; then
8445 # If archive_cmds runs LD, not CC, wlarc should be empty
8448 # Set some defaults for GNU ld with shared library support. These
8449 # are reset later if shared libraries are not supported. Putting them
8450 # here allows them to be overridden if necessary.
8451 runpath_var=LD_RUN_PATH
8452 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8453 export_dynamic_flag_spec='${wl}--export-dynamic'
8454 # ancient GNU ld didn't support --whole-archive et. al.
8455 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8456 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8458 whole_archive_flag_spec=
8460 supports_anon_versioning=no
8461 case `$LD -v 2>&1` in
8462 *GNU\ gold*) supports_anon_versioning=yes ;;
8463 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8464 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8465 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8466 *\ 2.11.*) ;; # other 2.11 versions
8467 *) supports_anon_versioning=yes ;;
8470 # See if GNU ld supports shared libraries.
8473 # On AIX/PPC, the GNU linker is very broken
8474 if test "$host_cpu" != ia64; then
8478 *** Warning: the GNU linker, at least up to release 2.19, is reported
8479 *** to be unable to reliably create shared libraries on AIX.
8480 *** Therefore, libtool is disabling shared libraries support. If you
8481 *** really care for shared libraries, you may want to install binutils
8482 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8483 *** You will then need to restart the configuration process.
8492 # see comment about AmigaOS4 .so support
8493 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8494 archive_expsym_cmds=''
8497 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)'
8498 hardcode_libdir_flag_spec
='-L$libdir'
8499 hardcode_minus_L
=yes
8505 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8506 allow_undefined_flag
=unsupported
8507 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8508 # support --undefined. This deserves some investigation. FIXME
8509 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8515 cygwin
* | mingw
* | pw32
* | cegcc
*)
8516 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8517 # as there is no search path for DLLs.
8518 hardcode_libdir_flag_spec
='-L$libdir'
8519 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8520 allow_undefined_flag
=unsupported
8521 always_export_symbols
=no
8522 enable_shared_with_static_runtimes
=yes
8523 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8525 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8526 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8527 # If the export-symbols file already is a .def file (1st line
8528 # is EXPORTS), use it as is; otherwise, prepend...
8529 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8530 cp $export_symbols $output_objdir/$soname.def;
8532 echo EXPORTS > $output_objdir/$soname.def;
8533 cat $export_symbols >> $output_objdir/$soname.def;
8535 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8543 link_all_deplibs
=yes
8548 hardcode_shlibpath_var
=no
8549 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8550 export_dynamic_flag_spec
='${wl}-E'
8551 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8552 # Instead, shared libraries are loaded at an image base (0x10000000 by
8553 # default) and relocated if they conflict, which is a slow very memory
8554 # consuming and fragmenting process. To avoid this, we pick a random,
8555 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8556 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8557 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8558 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'
8561 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8563 if test "$host_os" = linux-dietlibc
; then
8564 case $cc_basename in
8565 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8568 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8569 && test "$tmp_diet" = no
8571 tmp_addflag
=' $pic_flag'
8572 tmp_sharedflag
='-shared'
8573 case $cc_basename,$host_cpu in
8574 pgcc
*) # Portland Group C compiler
8575 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'
8576 tmp_addflag
=' $pic_flag'
8578 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8579 # Portland Group f77 and f90 compilers
8580 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'
8581 tmp_addflag
=' $pic_flag -Mnomain' ;;
8582 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8583 tmp_addflag
=' -i_dynamic' ;;
8584 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8585 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8586 ifc
* | ifort
*) # Intel Fortran compiler
8587 tmp_addflag
=' -nofor_main' ;;
8588 lf95
*) # Lahey Fortran 8.1
8589 whole_archive_flag_spec
=
8590 tmp_sharedflag
='--shared' ;;
8591 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8592 tmp_sharedflag
='-qmkshrobj'
8594 nvcc
*) # Cuda Compiler Driver 2.2
8595 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'
8596 compiler_needs_object
=yes
8599 case `$CC -V 2>&1 | sed 5q` in
8600 *Sun\ C
*) # Sun C 5.9
8601 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'
8602 compiler_needs_object
=yes
8603 tmp_sharedflag
='-G' ;;
8604 *Sun\ F
*) # Sun Fortran 8.3
8605 tmp_sharedflag
='-G' ;;
8607 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8609 if test "x$supports_anon_versioning" = xyes
; then
8610 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8611 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8612 echo "local: *; };" >> $output_objdir/$libname.ver~
8613 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8616 case $cc_basename in
8617 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8618 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8619 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8620 hardcode_libdir_flag_spec
=
8621 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8622 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8623 if test "x$supports_anon_versioning" = xyes
; then
8624 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8625 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8626 echo "local: *; };" >> $output_objdir/$libname.ver~
8627 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8637 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8638 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8641 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8642 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8647 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8651 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8652 *** create shared libraries on Solaris systems. Therefore, libtool
8653 *** is disabling shared libraries support. We urge you to upgrade GNU
8654 *** binutils to release 2.9.1 or newer. Another option is to modify
8655 *** your PATH or compiler configuration so that the native linker is
8656 *** used, and then restart.
8659 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8660 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8661 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8667 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8668 case `$LD -v 2>&1` in
8669 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8673 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8674 *** reliably create shared libraries on SCO systems. Therefore, libtool
8675 *** is disabling shared libraries support. We urge you to upgrade GNU
8676 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8677 *** your PATH or compiler configuration so that the native linker is
8678 *** used, and then restart.
8683 # For security reasons, it is highly recommended that you always
8684 # use absolute paths for naming shared libraries, and exclude the
8685 # DT_RUNPATH tag from executables and libraries. But doing so
8686 # requires that you compile everything twice, which is a pain.
8687 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8688 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8689 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8690 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8699 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8702 hardcode_shlibpath_var
=no
8706 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8707 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8708 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8715 if test "$ld_shlibs" = no
; then
8717 hardcode_libdir_flag_spec
=
8718 export_dynamic_flag_spec
=
8719 whole_archive_flag_spec
=
8722 # PORTME fill in a description of your system's linker (not GNU ld)
8725 allow_undefined_flag
=unsupported
8726 always_export_symbols
=yes
8727 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'
8728 # Note: this linker hardcodes the directories in LIBPATH if there
8729 # are no directories specified by -L.
8730 hardcode_minus_L
=yes
8731 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8732 # Neither direct hardcoding nor static linking is supported with a
8734 hardcode_direct
=unsupported
8739 if test "$host_cpu" = ia64
; then
8740 # On IA64, the linker does run time linking by default, so we don't
8741 # have to do anything special.
8742 aix_use_runtimelinking
=no
8743 exp_sym_flag
='-Bexport'
8746 # If we're using GNU nm, then we don't want the "-C" option.
8747 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8748 # Also, AIX nm treats weak defined symbols like other global
8749 # defined symbols, whereas GNU nm marks them as "W".
8750 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8751 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'
8753 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8755 aix_use_runtimelinking
=no
8757 # Test if we are trying to use run time linking or normal
8758 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8759 # need to do runtime linking.
8760 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8761 for ld_flag
in $LDFLAGS; do
8762 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8763 aix_use_runtimelinking
=yes
8770 exp_sym_flag
='-bexport'
8771 no_entry_flag
='-bnoentry'
8774 # When large executables or shared objects are built, AIX ld can
8775 # have problems creating the table of contents. If linking a library
8776 # or program results in "error TOC overflow" add -mminimal-toc to
8777 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8778 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8782 hardcode_direct_absolute
=yes
8783 hardcode_libdir_separator
=':'
8784 link_all_deplibs
=yes
8785 file_list_spec
='${wl}-f,'
8787 if test "$GCC" = yes; then
8788 case $host_os in aix4.
[012]|aix4.
[012].
*)
8789 # We only want to do this on AIX 4.2 and lower, the check
8790 # below for broken collect2 doesn't work under 4.3+
8791 collect2name
=`${CC} -print-prog-name=collect2`
8792 if test -f "$collect2name" &&
8793 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8795 # We have reworked collect2
8798 # We have old collect2
8799 hardcode_direct
=unsupported
8800 # It fails to find uninstalled libraries when the uninstalled
8801 # path is not listed in the libpath. Setting hardcode_minus_L
8802 # to unsupported forces relinking
8803 hardcode_minus_L
=yes
8804 hardcode_libdir_flag_spec
='-L$libdir'
8805 hardcode_libdir_separator
=
8809 shared_flag
='-shared'
8810 if test "$aix_use_runtimelinking" = yes; then
8811 shared_flag
="$shared_flag "'${wl}-G'
8815 if test "$host_cpu" = ia64
; then
8816 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8817 # chokes on -Wl,-G. The following line is correct:
8820 if test "$aix_use_runtimelinking" = yes; then
8821 shared_flag
='${wl}-G'
8823 shared_flag
='${wl}-bM:SRE'
8828 export_dynamic_flag_spec
='${wl}-bexpall'
8829 # It seems that -bexpall does not export symbols beginning with
8830 # underscore (_), so it is better to generate a list of symbols to export.
8831 always_export_symbols
=yes
8832 if test "$aix_use_runtimelinking" = yes; then
8833 # Warning - without using the other runtime loading flags (-brtl),
8834 # -berok will link without error, but may produce a broken library.
8835 allow_undefined_flag
='-berok'
8836 # Determine the default libpath from the value encoded in an
8838 if test x
$gcc_no_link = xyes
; then
8839 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8852 if ac_fn_c_try_link
"$LINENO"; then :
8854 lt_aix_libpath_sed
='
8855 /Import File Strings/,/^$/ {
8861 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8862 # Check for a 64-bit object if we didn't find anything.
8863 if test -z "$aix_libpath"; then
8864 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8867 rm -f core conftest.err conftest.
$ac_objext \
8868 conftest
$ac_exeext conftest.
$ac_ext
8869 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8871 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8872 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"
8874 if test "$host_cpu" = ia64
; then
8875 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8876 allow_undefined_flag
="-z nodefs"
8877 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"
8879 # Determine the default libpath from the value encoded in an
8881 if test x
$gcc_no_link = xyes
; then
8882 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8895 if ac_fn_c_try_link
"$LINENO"; then :
8897 lt_aix_libpath_sed
='
8898 /Import File Strings/,/^$/ {
8904 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8905 # Check for a 64-bit object if we didn't find anything.
8906 if test -z "$aix_libpath"; then
8907 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8910 rm -f core conftest.err conftest.
$ac_objext \
8911 conftest
$ac_exeext conftest.
$ac_ext
8912 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8914 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8915 # Warning - without using the other run time loading flags,
8916 # -berok will link without error, but may produce a broken library.
8917 no_undefined_flag
=' ${wl}-bernotok'
8918 allow_undefined_flag
=' ${wl}-berok'
8919 if test "$with_gnu_ld" = yes; then
8920 # We only use this code for GNU lds that support --whole-archive.
8921 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8923 # Exported symbols can be pulled into shared objects from archives
8924 whole_archive_flag_spec
='$convenience'
8926 archive_cmds_need_lc
=yes
8927 # This is similar to how AIX traditionally builds its shared libraries.
8928 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'
8936 # see comment about AmigaOS4 .so support
8937 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8938 archive_expsym_cmds
=''
8941 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)'
8942 hardcode_libdir_flag_spec
='-L$libdir'
8943 hardcode_minus_L
=yes
8949 export_dynamic_flag_spec
=-rdynamic
8952 cygwin
* | mingw
* | pw32
* | cegcc
*)
8953 # When not using gcc, we currently assume that we are using
8954 # Microsoft Visual C++.
8955 # hardcode_libdir_flag_spec is actually meaningless, as there is
8956 # no search path for DLLs.
8957 hardcode_libdir_flag_spec
=' '
8958 allow_undefined_flag
=unsupported
8959 # Tell ltmain to make .lib files, not .a files.
8961 # Tell ltmain to make .dll files, not .so files.
8963 # FIXME: Setting linknames here is a bad hack.
8964 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8965 # The linker will automatically build a .lib file if we build a DLL.
8966 old_archive_from_new_cmds
='true'
8967 # FIXME: Should let the user specify the lib program.
8968 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8969 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8970 enable_shared_with_static_runtimes
=yes
8973 darwin
* | rhapsody
*)
8976 archive_cmds_need_lc
=no
8978 hardcode_automatic
=yes
8979 hardcode_shlibpath_var
=unsupported
8980 if test "$lt_cv_ld_force_load" = "yes"; then
8981 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\"`'
8983 whole_archive_flag_spec
=''
8985 link_all_deplibs
=yes
8986 allow_undefined_flag
="$_lt_dar_allow_undefined"
8987 case $cc_basename in
8988 ifort
*) _lt_dar_can_shared
=yes ;;
8989 *) _lt_dar_can_shared
=$GCC ;;
8991 if test "$_lt_dar_can_shared" = "yes"; then
8992 output_verbose_link_cmd
=func_echo_all
8993 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8994 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8995 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}"
8996 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}"
9005 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9006 hardcode_libdir_flag_spec
='-L$libdir'
9007 hardcode_shlibpath_var
=no
9010 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9011 # support. Future versions do this automatically, but an explicit c++rt0.o
9012 # does not break anything, and helps significantly (at the cost of a little
9015 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9016 hardcode_libdir_flag_spec
='-R$libdir'
9018 hardcode_shlibpath_var
=no
9021 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9023 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9025 hardcode_minus_L
=yes
9026 hardcode_shlibpath_var
=no
9029 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9030 freebsd
* | dragonfly
*)
9031 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9032 hardcode_libdir_flag_spec
='-R$libdir'
9034 hardcode_shlibpath_var
=no
9038 if test "$GCC" = yes; then
9039 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'
9041 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'
9043 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9044 hardcode_libdir_separator
=:
9047 # hardcode_minus_L: Not really in the search PATH,
9048 # but as the default location of the library.
9049 hardcode_minus_L
=yes
9050 export_dynamic_flag_spec
='${wl}-E'
9054 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9055 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9057 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9059 if test "$with_gnu_ld" = no
; then
9060 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9061 hardcode_libdir_flag_spec_ld
='+b $libdir'
9062 hardcode_libdir_separator
=:
9064 hardcode_direct_absolute
=yes
9065 export_dynamic_flag_spec
='${wl}-E'
9066 # hardcode_minus_L: Not really in the search PATH,
9067 # but as the default location of the library.
9068 hardcode_minus_L
=yes
9073 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9076 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9079 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9082 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9088 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9091 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9095 # Older versions of the 11.00 compiler do not understand -b yet
9096 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9098 $as_echo_n "checking if $CC understands -b... " >&6; }
9099 if ${lt_cv_prog_compiler__b+:} false
; then :
9100 $as_echo_n "(cached) " >&6
9102 lt_cv_prog_compiler__b
=no
9103 save_LDFLAGS
="$LDFLAGS"
9104 LDFLAGS
="$LDFLAGS -b"
9105 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9106 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9107 # The linker can only warn and ignore the option if not recognized
9108 # So say no if there are warnings
9109 if test -s conftest.err
; then
9110 # Append any errors to the config.log.
9111 cat conftest.err
1>&5
9112 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9113 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9114 if diff conftest.exp conftest.er2
>/dev
/null
; then
9115 lt_cv_prog_compiler__b
=yes
9118 lt_cv_prog_compiler__b
=yes
9122 LDFLAGS
="$save_LDFLAGS"
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9126 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9128 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9129 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9131 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9137 if test "$with_gnu_ld" = no
; then
9138 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9139 hardcode_libdir_separator
=:
9144 hardcode_shlibpath_var
=no
9148 hardcode_direct_absolute
=yes
9149 export_dynamic_flag_spec
='${wl}-E'
9151 # hardcode_minus_L: Not really in the search PATH,
9152 # but as the default location of the library.
9153 hardcode_minus_L
=yes
9159 irix5
* | irix6
* | nonstopux
*)
9160 if test "$GCC" = yes; then
9161 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'
9162 # Try to use the -exported_symbol ld option, if it does not
9163 # work, assume that -exports_file does not work either and
9164 # implicitly export all symbols.
9165 save_LDFLAGS
="$LDFLAGS"
9166 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9167 if test x
$gcc_no_link = xyes
; then
9168 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9174 if ac_fn_c_try_link
"$LINENO"; then :
9175 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'
9178 rm -f core conftest.err conftest.
$ac_objext \
9179 conftest
$ac_exeext conftest.
$ac_ext
9180 LDFLAGS
="$save_LDFLAGS"
9182 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'
9183 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'
9185 archive_cmds_need_lc
='no'
9186 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9187 hardcode_libdir_separator
=:
9189 link_all_deplibs
=yes
9193 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9194 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9196 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9198 hardcode_libdir_flag_spec
='-R$libdir'
9200 hardcode_shlibpath_var
=no
9204 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9206 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9207 hardcode_libdir_separator
=:
9208 hardcode_shlibpath_var
=no
9215 if test -f /usr
/libexec
/ld.so
; then
9217 hardcode_shlibpath_var
=no
9218 hardcode_direct_absolute
=yes
9219 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9220 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9221 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9222 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9223 export_dynamic_flag_spec
='${wl}-E'
9226 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9227 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9228 hardcode_libdir_flag_spec
='-R$libdir'
9231 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9232 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9242 hardcode_libdir_flag_spec
='-L$libdir'
9243 hardcode_minus_L
=yes
9244 allow_undefined_flag
=unsupported
9245 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'
9246 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9250 if test "$GCC" = yes; then
9251 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9252 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'
9254 allow_undefined_flag
=' -expect_unresolved \*'
9255 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'
9257 archive_cmds_need_lc
='no'
9258 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9259 hardcode_libdir_separator
=:
9262 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9263 if test "$GCC" = yes; then
9264 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9265 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'
9266 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9268 allow_undefined_flag
=' -expect_unresolved \*'
9269 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'
9270 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~
9271 $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'
9273 # Both c and cxx compiler support -rpath directly
9274 hardcode_libdir_flag_spec
='-rpath $libdir'
9276 archive_cmds_need_lc
='no'
9277 hardcode_libdir_separator
=:
9281 no_undefined_flag
=' -z defs'
9282 if test "$GCC" = yes; then
9284 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9285 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9286 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9288 case `$CC -V 2>&1` in
9291 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9292 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9293 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9297 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9298 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9299 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9303 hardcode_libdir_flag_spec
='-R$libdir'
9304 hardcode_shlibpath_var
=no
9306 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9308 # The compiler driver will combine and reorder linker options,
9309 # but understands `-z linker_flag'. GCC discards it without `$wl',
9310 # but is careful enough not to reorder.
9311 # Supported since Solaris 2.6 (maybe 2.5.1?)
9312 if test "$GCC" = yes; then
9313 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9315 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9319 link_all_deplibs
=yes
9323 if test "x$host_vendor" = xsequent
; then
9324 # Use $CC to link under sequent, because it throws in some extra .o
9325 # files that make .init and .fini sections work.
9326 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9328 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9330 hardcode_libdir_flag_spec
='-L$libdir'
9332 hardcode_minus_L
=yes
9333 hardcode_shlibpath_var
=no
9337 case $host_vendor in
9339 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9340 hardcode_direct
=yes # is this really true???
9343 ## LD is ld it makes a PLAMLIB
9344 ## CC just makes a GrossModule.
9345 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9346 reload_cmds
='$CC -r -o $output$reload_objs'
9350 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9351 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9354 runpath_var
='LD_RUN_PATH'
9355 hardcode_shlibpath_var
=no
9359 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9360 hardcode_shlibpath_var
=no
9361 export_dynamic_flag_spec
='-Bexport'
9365 if test -d /usr
/nec
; then
9366 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9367 hardcode_shlibpath_var
=no
9368 runpath_var
=LD_RUN_PATH
9369 hardcode_runpath_var
=yes
9374 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9375 no_undefined_flag
='${wl}-z,text'
9376 archive_cmds_need_lc
=no
9377 hardcode_shlibpath_var
=no
9378 runpath_var
='LD_RUN_PATH'
9380 if test "$GCC" = yes; then
9381 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9389 sysv5
* | sco3.2v5
* | sco5v6
*)
9390 # Note: We can NOT use -z defs as we might desire, because we do not
9391 # link with -lc, and that would cause any symbols used from libc to
9392 # always be unresolved, which means just about no library would
9393 # ever link correctly. If we're not using GNU ld we use -z text
9394 # though, which does catch some bad symbols but isn't as heavy-handed
9396 no_undefined_flag
='${wl}-z,text'
9397 allow_undefined_flag
='${wl}-z,nodefs'
9398 archive_cmds_need_lc
=no
9399 hardcode_shlibpath_var
=no
9400 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9401 hardcode_libdir_separator
=':'
9402 link_all_deplibs
=yes
9403 export_dynamic_flag_spec
='${wl}-Bexport'
9404 runpath_var
='LD_RUN_PATH'
9406 if test "$GCC" = yes; then
9407 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9410 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9411 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9417 hardcode_libdir_flag_spec
='-L$libdir'
9418 hardcode_shlibpath_var
=no
9426 if test x
$host_vendor = xsni
; then
9428 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9429 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9436 $as_echo "$ld_shlibs" >&6; }
9437 test "$ld_shlibs" = no
&& can_build_shared
=no
9439 with_gnu_ld
=$with_gnu_ld
9456 # Do we need to explicitly link libc?
9458 case "x$archive_cmds_need_lc" in
9460 # Assume -lc should be added
9461 archive_cmds_need_lc
=yes
9463 if test "$enable_shared" = yes && test "$GCC" = yes; then
9464 case $archive_cmds in
9466 # FIXME: we may have to deal with multi-command sequences.
9469 # Test whether the compiler implicitly links with -lc since on some
9470 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9471 # to ld, don't add -lc before -lgcc.
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9473 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9474 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9475 $as_echo_n "(cached) " >&6
9478 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9481 (eval $ac_compile) 2>&5
9483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9484 test $ac_status = 0; } 2>conftest.err
; then
9487 libobjs
=conftest.
$ac_objext
9489 wl
=$lt_prog_compiler_wl
9490 pic_flag
=$lt_prog_compiler_pic
9496 lt_save_allow_undefined_flag
=$allow_undefined_flag
9497 allow_undefined_flag
=
9498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9499 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9502 test $ac_status = 0; }
9504 lt_cv_archive_cmds_need_lc
=no
9506 lt_cv_archive_cmds_need_lc
=yes
9508 allow_undefined_flag
=$lt_save_allow_undefined_flag
9510 cat conftest.err
1>&5
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9516 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9517 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9681 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9683 if test "$GCC" = yes; then
9685 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9686 *) lt_awk_arg
="/^libraries:/" ;;
9689 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9690 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9692 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9693 case $lt_search_path_spec in
9695 # if the path contains ";" then we assume it to be the separator
9696 # otherwise default to the standard path separator (i.e. ":") - it is
9697 # assumed that no part of a normal pathname contains ";" but that should
9698 # okay in the real world where ";" in dirpaths is itself problematic.
9699 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9702 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9705 # Ok, now we have the path, separated by spaces, we can step through it
9706 # and add multilib dir if necessary.
9707 lt_tmp_lt_search_path_spec
=
9708 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9709 for lt_sys_path
in $lt_search_path_spec; do
9710 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9711 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9713 test -d "$lt_sys_path" && \
9714 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9717 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9718 BEGIN {RS=" "; FS="/|\n";} {
9721 for (lt_i = NF; lt_i > 0; lt_i--) {
9722 if ($lt_i != "" && $lt_i != ".") {
9723 if ($lt_i == "..") {
9726 if (lt_count == 0) {
9727 lt_foo="/" $lt_i lt_foo;
9734 if (lt_foo != "") { lt_freq[lt_foo]++; }
9735 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9737 # AWK program above erroneously prepends '/' to C:/dos/paths
9740 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9741 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9743 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9745 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9748 libname_spec
='lib$name'
9756 shlibpath_overrides_runpath
=unknown
9758 dynamic_linker
="$host_os ld.so"
9759 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9760 need_lib_prefix
=unknown
9761 hardcode_into_libs
=no
9763 # when you set need_version to no, make sure it does not cause -set_version
9764 # flags to be left without arguments
9765 need_version
=unknown
9770 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9771 shlibpath_var
=LIBPATH
9773 # AIX 3 has no versioning support, so we append a major version to the name.
9774 soname_spec
='${libname}${release}${shared_ext}$major'
9781 hardcode_into_libs
=yes
9782 if test "$host_cpu" = ia64
; then
9783 # AIX 5 supports IA64
9784 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9785 shlibpath_var
=LD_LIBRARY_PATH
9787 # With GCC up to 2.95.x, collect2 would create an import file
9788 # for dependence libraries. The import file would start with
9789 # the line `#! .'. This would cause the generated library to
9790 # depend on `.', always an invalid library. This was fixed in
9791 # development snapshots of GCC prior to 3.0.
9793 aix4 | aix4.
[01] | aix4.
[01].
*)
9794 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9796 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9803 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9804 # soname into executable. Probably we can add versioning support to
9805 # collect2, so additional links can be useful in future.
9806 if test "$aix_use_runtimelinking" = yes; then
9807 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9808 # instead of lib<name>.a to let people know that these are not
9809 # typical AIX shared libraries.
9810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9812 # We preserve .a as extension for shared libraries through AIX4.2
9813 # and later when we are not doing run time linking.
9814 library_names_spec
='${libname}${release}.a $libname.a'
9815 soname_spec
='${libname}${release}${shared_ext}$major'
9817 shlibpath_var
=LIBPATH
9824 # Since July 2007 AmigaOS4 officially supports .so libraries.
9825 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9829 library_names_spec
='$libname.ixlibrary $libname.a'
9830 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9831 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'
9837 library_names_spec
='${libname}${shared_ext}'
9838 dynamic_linker
="$host_os ld.so"
9839 shlibpath_var
=LIBRARY_PATH
9845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9846 soname_spec
='${libname}${release}${shared_ext}$major'
9847 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9848 shlibpath_var
=LD_LIBRARY_PATH
9849 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9850 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9851 # the default ld.so.conf also contains /usr/contrib/lib and
9852 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9853 # libtool to hard-code these into programs
9856 cygwin
* | mingw
* | pw32
* | cegcc
*)
9857 version_type
=windows
9862 case $GCC,$host_os in
9863 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9864 library_names_spec
='$libname.dll.a'
9865 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9866 postinstall_cmds
='base_file=`basename \${file}`~
9867 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9868 dldir=$destdir/`dirname \$dlpath`~
9869 test -d \$dldir || mkdir -p \$dldir~
9870 $install_prog $dir/$dlname \$dldir/$dlname~
9871 chmod a+x \$dldir/$dlname~
9872 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9873 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9875 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9876 dlpath=$dir/\$dldll~
9878 shlibpath_overrides_runpath
=yes
9882 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9883 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9885 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9888 # MinGW DLLs use traditional 'lib' prefix
9889 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9892 # pw32 DLLs use 'pw' prefix rather than 'lib'
9893 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9899 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9902 dynamic_linker
='Win32 ld.exe'
9903 # FIXME: first we should search . and the directory the executable is in
9907 darwin
* | rhapsody
*)
9908 dynamic_linker
="$host_os dyld"
9912 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9913 soname_spec
='${libname}${release}${major}$shared_ext'
9914 shlibpath_overrides_runpath
=yes
9915 shlibpath_var
=DYLD_LIBRARY_PATH
9916 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9918 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9919 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
9931 freebsd
* | dragonfly
*)
9932 # DragonFly does not have aout. When/if they implement a new
9933 # versioning mechanism, adjust this.
9934 if test -x /usr
/bin
/objformat
; then
9935 objformat
=`/usr/bin/objformat`
9938 freebsd
[23].
*) objformat
=aout
;;
9942 version_type
=freebsd-
$objformat
9943 case $version_type in
9945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9950 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9954 shlibpath_var
=LD_LIBRARY_PATH
9957 shlibpath_overrides_runpath
=yes
9959 freebsd3.
[01]* | freebsdelf3.
[01]*)
9960 shlibpath_overrides_runpath
=yes
9961 hardcode_into_libs
=yes
9963 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9964 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9965 shlibpath_overrides_runpath
=no
9966 hardcode_into_libs
=yes
9968 *) # from 4.6 on, and DragonFly
9969 shlibpath_overrides_runpath
=yes
9970 hardcode_into_libs
=yes
9979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9980 soname_spec
='${libname}${release}${shared_ext}$major'
9981 shlibpath_var
=LD_LIBRARY_PATH
9982 hardcode_into_libs
=yes
9989 dynamic_linker
="$host_os runtime_loader"
9990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9991 soname_spec
='${libname}${release}${shared_ext}$major'
9992 shlibpath_var
=LIBRARY_PATH
9993 shlibpath_overrides_runpath
=yes
9994 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9995 hardcode_into_libs
=yes
9998 hpux9
* | hpux10
* | hpux11
*)
9999 # Give a soname corresponding to the major version so that dld.sl refuses to
10000 # link against other versions.
10007 hardcode_into_libs
=yes
10008 dynamic_linker
="$host_os dld.so"
10009 shlibpath_var
=LD_LIBRARY_PATH
10010 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10012 soname_spec
='${libname}${release}${shared_ext}$major'
10013 if test "X$HPUX_IA64_MODE" = X32
; then
10014 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10016 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10018 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10022 hardcode_into_libs
=yes
10023 dynamic_linker
="$host_os dld.sl"
10024 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10025 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10027 soname_spec
='${libname}${release}${shared_ext}$major'
10028 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10029 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10033 dynamic_linker
="$host_os dld.sl"
10034 shlibpath_var
=SHLIB_PATH
10035 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10037 soname_spec
='${libname}${release}${shared_ext}$major'
10040 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10041 postinstall_cmds
='chmod 555 $lib'
10042 # or fails outright, so override atomically:
10043 install_override_mode
=555
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10051 soname_spec
='${libname}${release}${shared_ext}$major'
10052 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10053 shlibpath_var
=LD_LIBRARY_PATH
10054 shlibpath_overrides_runpath
=no
10055 hardcode_into_libs
=yes
10058 irix5
* | irix6
* | nonstopux
*)
10060 nonstopux
*) version_type
=nonstopux
;;
10062 if test "$lt_cv_prog_gnu_ld" = yes; then
10070 soname_spec
='${libname}${release}${shared_ext}$major'
10071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10073 irix5
* | nonstopux
*)
10074 libsuff
= shlibsuff
=
10077 case $LD in # libtool.m4 will add one of these switches to LD
10078 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10079 libsuff
= shlibsuff
= libmagic
=32-bit;;
10080 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10081 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10082 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10083 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10084 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10088 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10089 shlibpath_overrides_runpath
=no
10090 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10091 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10092 hardcode_into_libs
=yes
10095 # No shared lib support for Linux oldld, aout, or coff.
10096 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10100 # This must be Linux ELF.
10101 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10106 soname_spec
='${libname}${release}${shared_ext}$major'
10107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10108 shlibpath_var
=LD_LIBRARY_PATH
10109 shlibpath_overrides_runpath
=no
10111 # Some binutils ld are patched to set DT_RUNPATH
10112 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10113 $as_echo_n "(cached) " >&6
10115 lt_cv_shlibpath_overrides_runpath
=no
10116 save_LDFLAGS
=$LDFLAGS
10117 save_libdir
=$libdir
10118 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10119 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10120 if test x
$gcc_no_link = xyes
; then
10121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10134 if ac_fn_c_try_link
"$LINENO"; then :
10135 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10136 lt_cv_shlibpath_overrides_runpath
=yes
10139 rm -f core conftest.err conftest.
$ac_objext \
10140 conftest
$ac_exeext conftest.
$ac_ext
10141 LDFLAGS
=$save_LDFLAGS
10142 libdir
=$save_libdir
10146 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10148 # This implies no fast_install, which is unacceptable.
10149 # Some rework will be needed to allow for fast_install
10150 # before this can be enabled.
10151 hardcode_into_libs
=yes
10153 # Append ld.so.conf contents to the search path
10154 if test -f /etc
/ld.so.conf
; then
10155 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' ' '`
10156 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10159 # We used to test for /lib/ld.so.1 and disable shared libraries on
10160 # powerpc, because MkLinux only supported shared libraries with the
10161 # GNU dynamic linker. Since this was broken with cross compilers,
10162 # most powerpc-linux boxes support dynamic linking these days and
10163 # people can always --disable-shared, the test was removed, and we
10164 # assume the GNU/Linux dynamic linker is in use.
10165 dynamic_linker
='GNU/Linux ld.so'
10172 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10174 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10175 dynamic_linker
='NetBSD (a.out) ld.so'
10177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10178 soname_spec
='${libname}${release}${shared_ext}$major'
10179 dynamic_linker
='NetBSD ld.elf_so'
10181 shlibpath_var
=LD_LIBRARY_PATH
10182 shlibpath_overrides_runpath
=yes
10183 hardcode_into_libs
=yes
10188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10189 shlibpath_var
=LD_LIBRARY_PATH
10190 shlibpath_overrides_runpath
=yes
10197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10198 soname_spec
='${libname}${release}${shared_ext}$major'
10199 shlibpath_var
=LD_LIBRARY_PATH
10200 shlibpath_overrides_runpath
=no
10201 hardcode_into_libs
=yes
10202 dynamic_linker
='ldqnx.so'
10207 sys_lib_dlsearch_path_spec
="/usr/lib"
10209 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10211 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10212 *) need_version
=no
;;
10214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10215 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10216 shlibpath_var
=LD_LIBRARY_PATH
10217 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10219 openbsd2.
[89] | openbsd2.
[89].
*)
10220 shlibpath_overrides_runpath
=no
10223 shlibpath_overrides_runpath
=yes
10227 shlibpath_overrides_runpath
=yes
10232 libname_spec
='$name'
10235 library_names_spec
='$libname${shared_ext} $libname.a'
10236 dynamic_linker
='OS/2 ld.exe'
10237 shlibpath_var
=LIBPATH
10240 osf3
* | osf4
* | osf5
*)
10244 soname_spec
='${libname}${release}${shared_ext}$major'
10245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10246 shlibpath_var
=LD_LIBRARY_PATH
10247 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10248 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10260 soname_spec
='${libname}${release}${shared_ext}$major'
10261 shlibpath_var
=LD_LIBRARY_PATH
10262 shlibpath_overrides_runpath
=yes
10263 hardcode_into_libs
=yes
10264 # ldd complains unless libraries are executable
10265 postinstall_cmds
='chmod +x $lib'
10270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10271 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10272 shlibpath_var
=LD_LIBRARY_PATH
10273 shlibpath_overrides_runpath
=yes
10274 if test "$with_gnu_ld" = yes; then
10282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10283 soname_spec
='${libname}${release}${shared_ext}$major'
10284 shlibpath_var
=LD_LIBRARY_PATH
10285 case $host_vendor in
10287 shlibpath_overrides_runpath
=no
10289 runpath_var
=LD_RUN_PATH
10297 shlibpath_overrides_runpath
=no
10298 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10304 if test -d /usr
/nec
;then
10306 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10307 soname_spec
='$libname${shared_ext}.$major'
10308 shlibpath_var
=LD_LIBRARY_PATH
10312 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10313 version_type
=freebsd-elf
10316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10317 soname_spec
='${libname}${release}${shared_ext}$major'
10318 shlibpath_var
=LD_LIBRARY_PATH
10319 shlibpath_overrides_runpath
=yes
10320 hardcode_into_libs
=yes
10321 if test "$with_gnu_ld" = yes; then
10322 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10324 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10327 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10331 sys_lib_dlsearch_path_spec
='/usr/lib'
10335 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 shlibpath_var
=LD_LIBRARY_PATH
10341 shlibpath_overrides_runpath
=no
10342 hardcode_into_libs
=yes
10347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348 soname_spec
='${libname}${release}${shared_ext}$major'
10349 shlibpath_var
=LD_LIBRARY_PATH
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10357 $as_echo "$dynamic_linker" >&6; }
10358 test "$dynamic_linker" = no
&& can_build_shared
=no
10360 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10361 if test "$GCC" = yes; then
10362 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10365 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10366 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10368 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10369 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10464 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10466 if test -n "$hardcode_libdir_flag_spec" ||
10467 test -n "$runpath_var" ||
10468 test "X$hardcode_automatic" = "Xyes" ; then
10470 # We can hardcode non-existent directories.
10471 if test "$hardcode_direct" != no
&&
10472 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10473 # have to relink, otherwise we might link with an installed library
10474 # when we should be linking with a yet-to-be-installed one
10475 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10476 test "$hardcode_minus_L" != no
; then
10477 # Linking always hardcodes the temporary library directory.
10478 hardcode_action
=relink
10480 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10481 hardcode_action
=immediate
10484 # We cannot hardcode anything, or else we can only hardcode existing
10486 hardcode_action
=unsupported
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10489 $as_echo "$hardcode_action" >&6; }
10491 if test "$hardcode_action" = relink ||
10492 test "$inherit_rpath" = yes; then
10493 # Fast installation is not supported
10494 enable_fast_install
=no
10495 elif test "$shlibpath_overrides_runpath" = yes ||
10496 test "$enable_shared" = no
; then
10497 # Fast installation is not necessary
10498 enable_fast_install
=needless
10506 if test "x$enable_dlopen" != xyes
; then
10507 enable_dlopen
=unknown
10508 enable_dlopen_self
=unknown
10509 enable_dlopen_self_static
=unknown
10516 lt_cv_dlopen
="load_add_on"
10518 lt_cv_dlopen_self
=yes
10521 mingw
* | pw32
* | cegcc
*)
10522 lt_cv_dlopen
="LoadLibrary"
10527 lt_cv_dlopen
="dlopen"
10532 # if libdl is installed we need to link against it
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10534 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10535 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10536 $as_echo_n "(cached) " >&6
10538 ac_check_lib_save_LIBS
=$LIBS
10540 if test x
$gcc_no_link = xyes
; then
10541 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10546 /* Override any GCC internal prototype to avoid an error.
10547 Use char because int might match the return type of a GCC
10548 builtin and then its argument prototype would still apply. */
10561 if ac_fn_c_try_link
"$LINENO"; then :
10562 ac_cv_lib_dl_dlopen
=yes
10564 ac_cv_lib_dl_dlopen
=no
10566 rm -f core conftest.err conftest.
$ac_objext \
10567 conftest
$ac_exeext conftest.
$ac_ext
10568 LIBS
=$ac_check_lib_save_LIBS
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10571 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10572 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10573 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10576 lt_cv_dlopen
="dyld"
10578 lt_cv_dlopen_self
=yes
10585 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10586 if test "x$ac_cv_func_shl_load" = xyes
; then :
10587 lt_cv_dlopen
="shl_load"
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10590 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10591 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10592 $as_echo_n "(cached) " >&6
10594 ac_check_lib_save_LIBS
=$LIBS
10596 if test x
$gcc_no_link = xyes
; then
10597 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10602 /* Override any GCC internal prototype to avoid an error.
10603 Use char because int might match the return type of a GCC
10604 builtin and then its argument prototype would still apply. */
10612 return shl_load ();
10617 if ac_fn_c_try_link
"$LINENO"; then :
10618 ac_cv_lib_dld_shl_load
=yes
10620 ac_cv_lib_dld_shl_load
=no
10622 rm -f core conftest.err conftest.
$ac_objext \
10623 conftest
$ac_exeext conftest.
$ac_ext
10624 LIBS
=$ac_check_lib_save_LIBS
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10627 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10628 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10629 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10631 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10632 if test "x$ac_cv_func_dlopen" = xyes
; then :
10633 lt_cv_dlopen
="dlopen"
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10636 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10637 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10638 $as_echo_n "(cached) " >&6
10640 ac_check_lib_save_LIBS
=$LIBS
10642 if test x
$gcc_no_link = xyes
; then
10643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10663 if ac_fn_c_try_link
"$LINENO"; then :
10664 ac_cv_lib_dl_dlopen
=yes
10666 ac_cv_lib_dl_dlopen
=no
10668 rm -f core conftest.err conftest.
$ac_objext \
10669 conftest
$ac_exeext conftest.
$ac_ext
10670 LIBS
=$ac_check_lib_save_LIBS
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10673 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10674 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10675 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10678 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10679 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10680 $as_echo_n "(cached) " >&6
10682 ac_check_lib_save_LIBS
=$LIBS
10683 LIBS
="-lsvld $LIBS"
10684 if test x
$gcc_no_link = xyes
; then
10685 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10690 /* Override any GCC internal prototype to avoid an error.
10691 Use char because int might match the return type of a GCC
10692 builtin and then its argument prototype would still apply. */
10705 if ac_fn_c_try_link
"$LINENO"; then :
10706 ac_cv_lib_svld_dlopen
=yes
10708 ac_cv_lib_svld_dlopen
=no
10710 rm -f core conftest.err conftest.
$ac_objext \
10711 conftest
$ac_exeext conftest.
$ac_ext
10712 LIBS
=$ac_check_lib_save_LIBS
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10715 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10716 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10717 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10720 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10721 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10722 $as_echo_n "(cached) " >&6
10724 ac_check_lib_save_LIBS
=$LIBS
10726 if test x
$gcc_no_link = xyes
; then
10727 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10732 /* Override any GCC internal prototype to avoid an error.
10733 Use char because int might match the return type of a GCC
10734 builtin and then its argument prototype would still apply. */
10742 return dld_link ();
10747 if ac_fn_c_try_link
"$LINENO"; then :
10748 ac_cv_lib_dld_dld_link
=yes
10750 ac_cv_lib_dld_dld_link
=no
10752 rm -f core conftest.err conftest.
$ac_objext \
10753 conftest
$ac_exeext conftest.
$ac_ext
10754 LIBS
=$ac_check_lib_save_LIBS
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10757 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10758 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10759 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10780 if test "x$lt_cv_dlopen" != xno
; then
10786 case $lt_cv_dlopen in
10788 save_CPPFLAGS
="$CPPFLAGS"
10789 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10791 save_LDFLAGS
="$LDFLAGS"
10792 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10795 LIBS
="$lt_cv_dlopen_libs $LIBS"
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10798 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10799 if ${lt_cv_dlopen_self+:} false
; then :
10800 $as_echo_n "(cached) " >&6
10802 if test "$cross_compiling" = yes; then :
10803 lt_cv_dlopen_self
=cross
10805 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10806 lt_status
=$lt_dlunknown
10807 cat > conftest.
$ac_ext <<_LT_EOF
10808 #line 10808 "configure"
10809 #include "confdefs.h"
10818 # define LT_DLGLOBAL RTLD_GLOBAL
10821 # define LT_DLGLOBAL DL_GLOBAL
10823 # define LT_DLGLOBAL 0
10827 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10828 find out it does not work in some platform. */
10829 #ifndef LT_DLLAZY_OR_NOW
10831 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10834 # define LT_DLLAZY_OR_NOW DL_LAZY
10837 # define LT_DLLAZY_OR_NOW RTLD_NOW
10840 # define LT_DLLAZY_OR_NOW DL_NOW
10842 # define LT_DLLAZY_OR_NOW 0
10849 /* When -fvisbility=hidden is used, assume the code has been annotated
10850 correspondingly for the symbols needed. */
10851 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10852 void fnord () __attribute__((visibility("default")));
10855 void fnord () { int i=42; }
10858 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10859 int status = $lt_dlunknown;
10863 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10866 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10867 else puts (dlerror ());
10869 /* dlclose (self); */
10877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10878 (eval $ac_link) 2>&5
10880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10881 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10882 (.
/conftest
; exit; ) >&5 2>/dev
/null
10884 case x
$lt_status in
10885 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10886 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10887 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10890 # compilation failed
10891 lt_cv_dlopen_self
=no
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10899 $as_echo "$lt_cv_dlopen_self" >&6; }
10901 if test "x$lt_cv_dlopen_self" = xyes
; then
10902 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10904 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10905 if ${lt_cv_dlopen_self_static+:} false
; then :
10906 $as_echo_n "(cached) " >&6
10908 if test "$cross_compiling" = yes; then :
10909 lt_cv_dlopen_self_static
=cross
10911 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10912 lt_status
=$lt_dlunknown
10913 cat > conftest.
$ac_ext <<_LT_EOF
10914 #line 10914 "configure"
10915 #include "confdefs.h"
10924 # define LT_DLGLOBAL RTLD_GLOBAL
10927 # define LT_DLGLOBAL DL_GLOBAL
10929 # define LT_DLGLOBAL 0
10933 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10934 find out it does not work in some platform. */
10935 #ifndef LT_DLLAZY_OR_NOW
10937 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10940 # define LT_DLLAZY_OR_NOW DL_LAZY
10943 # define LT_DLLAZY_OR_NOW RTLD_NOW
10946 # define LT_DLLAZY_OR_NOW DL_NOW
10948 # define LT_DLLAZY_OR_NOW 0
10955 /* When -fvisbility=hidden is used, assume the code has been annotated
10956 correspondingly for the symbols needed. */
10957 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10958 void fnord () __attribute__((visibility("default")));
10961 void fnord () { int i=42; }
10964 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10965 int status = $lt_dlunknown;
10969 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10972 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10973 else puts (dlerror ());
10975 /* dlclose (self); */
10983 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10984 (eval $ac_link) 2>&5
10986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10987 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10988 (.
/conftest
; exit; ) >&5 2>/dev
/null
10990 case x
$lt_status in
10991 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10992 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10993 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10996 # compilation failed
10997 lt_cv_dlopen_self_static
=no
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11005 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11008 CPPFLAGS
="$save_CPPFLAGS"
11009 LDFLAGS
="$save_LDFLAGS"
11014 case $lt_cv_dlopen_self in
11015 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11016 *) enable_dlopen_self
=unknown
;;
11019 case $lt_cv_dlopen_self_static in
11020 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11021 *) enable_dlopen_self_static
=unknown
;;
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11044 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11045 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11046 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11047 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11049 $as_echo "yes" >&6; }
11051 # FIXME - insert some real tests, host_os isn't really good enough
11054 if test -n "$STRIP" ; then
11055 striplib
="$STRIP -x"
11056 old_striplib
="$STRIP -S"
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11058 $as_echo "yes" >&6; }
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11061 $as_echo "no" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11066 $as_echo "no" >&6; }
11082 # Report which library types will actually be built
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11084 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11086 $as_echo "$can_build_shared" >&6; }
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11089 $as_echo_n "checking whether to build shared libraries... " >&6; }
11090 test "$can_build_shared" = "no" && enable_shared
=no
11092 # On AIX, shared libraries and static libraries use the same namespace, and
11093 # are all built from PIC.
11096 test "$enable_shared" = yes && enable_static
=no
11097 if test -n "$RANLIB"; then
11098 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11099 postinstall_cmds
='$RANLIB $lib'
11104 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11105 test "$enable_shared" = yes && enable_static
=no
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11110 $as_echo "$enable_shared" >&6; }
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11113 $as_echo_n "checking whether to build static libraries... " >&6; }
11114 # Make sure either enable_shared or enable_static is yes.
11115 test "$enable_shared" = yes || enable_static
=yes
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11117 $as_echo "$enable_static" >&6; }
11124 ac_cpp
='$CPP $CPPFLAGS'
11125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11143 ac_config_commands
="$ac_config_commands libtool"
11148 # Only expand once:
11155 *-cygwin* |
*-mingw*)
11156 # 'host' will be top-level target in the case of a target lib,
11157 # we must compare to with_cross_host to decide if this is a native
11158 # or cross-compiler and select where to install dlls appropriately.
11159 if test -n "$with_cross_host" &&
11160 test x
"$with_cross_host" != x
"no"; then
11161 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11163 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11178 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11179 # Check whether --enable-maintainer-mode was given.
11180 if test "${enable_maintainer_mode+set}" = set; then :
11181 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11183 USE_MAINTAINER_MODE
=no
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11187 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11188 if test $USE_MAINTAINER_MODE = yes; then
11189 MAINTAINER_MODE_TRUE
=
11190 MAINTAINER_MODE_FALSE
='#'
11192 MAINTAINER_MODE_TRUE
='#'
11193 MAINTAINER_MODE_FALSE
=
11196 MAINT
=$MAINTAINER_MODE_TRUE
11201 ac_cpp
='$CPP $CPPFLAGS'
11202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11206 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
11207 # We must force CC to /not/ be precious variables; otherwise
11208 # the wrong, non-multilib-adjusted value will be used in multilibs.
11209 # As a side effect, we have to subst CFLAGS ourselves.
11214 ac_cpp
='$CPP $CPPFLAGS'
11215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11218 if test -n "$ac_tool_prefix"; then
11219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11220 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11222 $as_echo_n "checking for $ac_word... " >&6; }
11223 if ${ac_cv_prog_CC+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 if test -n "$CC"; then
11227 ac_cv_prog_CC
="$CC" # Let the user override the test.
11229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11230 for as_dir
in $PATH
11233 test -z "$as_dir" && as_dir
=.
11234 for ac_exec_ext
in '' $ac_executable_extensions; do
11235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11236 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11247 if test -n "$CC"; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11249 $as_echo "$CC" >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11252 $as_echo "no" >&6; }
11257 if test -z "$ac_cv_prog_CC"; then
11259 # Extract the first word of "gcc", so it can be a program name with args.
11260 set dummy gcc
; ac_word
=$2
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11262 $as_echo_n "checking for $ac_word... " >&6; }
11263 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11264 $as_echo_n "(cached) " >&6
11266 if test -n "$ac_ct_CC"; then
11267 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11270 for as_dir
in $PATH
11273 test -z "$as_dir" && as_dir
=.
11274 for ac_exec_ext
in '' $ac_executable_extensions; do
11275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11276 ac_cv_prog_ac_ct_CC
="gcc"
11277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11286 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11287 if test -n "$ac_ct_CC"; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11289 $as_echo "$ac_ct_CC" >&6; }
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11292 $as_echo "no" >&6; }
11295 if test "x$ac_ct_CC" = x
; then
11298 case $cross_compiling:$ac_tool_warned in
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11302 ac_tool_warned
=yes ;;
11307 CC
="$ac_cv_prog_CC"
11310 if test -z "$CC"; then
11311 if test -n "$ac_tool_prefix"; then
11312 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11313 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11315 $as_echo_n "checking for $ac_word... " >&6; }
11316 if ${ac_cv_prog_CC+:} false
; then :
11317 $as_echo_n "(cached) " >&6
11319 if test -n "$CC"; then
11320 ac_cv_prog_CC
="$CC" # Let the user override the test.
11322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11323 for as_dir
in $PATH
11326 test -z "$as_dir" && as_dir
=.
11327 for ac_exec_ext
in '' $ac_executable_extensions; do
11328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11329 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11340 if test -n "$CC"; then
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11342 $as_echo "$CC" >&6; }
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11345 $as_echo "no" >&6; }
11351 if test -z "$CC"; then
11352 # Extract the first word of "cc", so it can be a program name with args.
11353 set dummy cc
; ac_word
=$2
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11355 $as_echo_n "checking for $ac_word... " >&6; }
11356 if ${ac_cv_prog_CC+:} false
; then :
11357 $as_echo_n "(cached) " >&6
11359 if test -n "$CC"; then
11360 ac_cv_prog_CC
="$CC" # Let the user override the test.
11362 ac_prog_rejected
=no
11363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11364 for as_dir
in $PATH
11367 test -z "$as_dir" && as_dir
=.
11368 for ac_exec_ext
in '' $ac_executable_extensions; do
11369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11371 ac_prog_rejected
=yes
11375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11382 if test $ac_prog_rejected = yes; then
11383 # We found a bogon in the path, so make sure we never use it.
11384 set dummy
$ac_cv_prog_CC
11386 if test $# != 0; then
11387 # We chose a different compiler from the bogus one.
11388 # However, it has the same basename, so the bogon will be chosen
11389 # first if we set CC to just the basename; use the full file name.
11391 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11397 if test -n "$CC"; then
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11399 $as_echo "$CC" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11402 $as_echo "no" >&6; }
11407 if test -z "$CC"; then
11408 if test -n "$ac_tool_prefix"; then
11409 for ac_prog
in cl.exe
11411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11412 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11414 $as_echo_n "checking for $ac_word... " >&6; }
11415 if ${ac_cv_prog_CC+:} false
; then :
11416 $as_echo_n "(cached) " >&6
11418 if test -n "$CC"; then
11419 ac_cv_prog_CC
="$CC" # Let the user override the test.
11421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11422 for as_dir
in $PATH
11425 test -z "$as_dir" && as_dir
=.
11426 for ac_exec_ext
in '' $ac_executable_extensions; do
11427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11428 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11439 if test -n "$CC"; then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11441 $as_echo "$CC" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11448 test -n "$CC" && break
11451 if test -z "$CC"; then
11453 for ac_prog
in cl.exe
11455 # Extract the first word of "$ac_prog", so it can be a program name with args.
11456 set dummy
$ac_prog; ac_word
=$2
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11458 $as_echo_n "checking for $ac_word... " >&6; }
11459 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11460 $as_echo_n "(cached) " >&6
11462 if test -n "$ac_ct_CC"; then
11463 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11466 for as_dir
in $PATH
11469 test -z "$as_dir" && as_dir
=.
11470 for ac_exec_ext
in '' $ac_executable_extensions; do
11471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11472 ac_cv_prog_ac_ct_CC
="$ac_prog"
11473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11482 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11483 if test -n "$ac_ct_CC"; then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11485 $as_echo "$ac_ct_CC" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11488 $as_echo "no" >&6; }
11492 test -n "$ac_ct_CC" && break
11495 if test "x$ac_ct_CC" = x
; then
11498 case $cross_compiling:$ac_tool_warned in
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11502 ac_tool_warned
=yes ;;
11511 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11513 as_fn_error $?
"no acceptable C compiler found in \$PATH
11514 See \`config.log' for more details" "$LINENO" 5; }
11516 # Provide some information about the compiler.
11517 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11520 for ac_option
in --version -v -V -qversion; do
11521 { { ac_try
="$ac_compiler $ac_option >&5"
11522 case "(($ac_try" in
11523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11524 *) ac_try_echo=$ac_try;;
11526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11527 $as_echo "$ac_try_echo"; } >&5
11528 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11530 if test -s conftest.err; then
11532 ... rest of stderr output deleted ...
11533 10q' conftest.err >conftest.er1
11534 cat conftest.er1 >&5
11536 rm -f conftest.er1 conftest.err
11537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11538 test $ac_status = 0; }
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11542 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11543 if ${ac_cv_c_compiler_gnu+:} false; then :
11544 $as_echo_n "(cached) " >&6
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11560 if ac_fn_c_try_compile "$LINENO"; then :
11561 ac_compiler_gnu=yes
11565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11566 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11570 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11571 if test $ac_compiler_gnu = yes; then
11576 ac_test_CFLAGS=${CFLAGS+set}
11577 ac_save_CFLAGS=$CFLAGS
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11579 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11580 if ${ac_cv_prog_cc_g+:} false; then :
11581 $as_echo_n "(cached) " >&6
11583 ac_save_c_werror_flag=$ac_c_werror_flag
11584 ac_c_werror_flag=yes
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11598 if ac_fn_c_try_compile "$LINENO"; then :
11599 ac_cv_prog_cc_g=yes
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11613 if ac_fn_c_try_compile "$LINENO"; then :
11616 ac_c_werror_flag=$ac_save_c_werror_flag
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11629 if ac_fn_c_try_compile "$LINENO"; then :
11630 ac_cv_prog_cc_g=yes
11632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11637 ac_c_werror_flag=$ac_save_c_werror_flag
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11640 $as_echo "$ac_cv_prog_cc_g" >&6; }
11641 if test "$ac_test_CFLAGS" = set; then
11642 CFLAGS=$ac_save_CFLAGS
11643 elif test $ac_cv_prog_cc_g = yes; then
11644 if test "$GCC" = yes; then
11650 if test "$GCC" = yes; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11657 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11658 if ${ac_cv_prog_cc_c89+:} false; then :
11659 $as_echo_n "(cached) " >&6
11661 ac_cv_prog_cc_c89=no
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11665 #include <stdarg.h>
11668 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11669 struct buf { int x; };
11670 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11671 static char *e (p, i)
11677 static char *f (char * (*g) (char **, int), char **p, ...)
11682 s = g (p, va_arg (v,int));
11687 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11688 function prototypes and stuff, but not '\xHH' hex character constants.
11689 These don't provoke an error unfortunately, instead are silently treated
11690 as 'x'. The following induces an error, until -std is added to get
11691 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11692 array size at least. It's necessary to write '\x00'==0 to get something
11693 that's true only with -std. */
11694 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11696 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11697 inside strings and character constants. */
11699 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11701 int test (int i, double x);
11702 struct s1 {int (*f) (int a);};
11703 struct s2 {int (*f) (double a);};
11704 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11710 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11715 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11716 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11718 CC="$ac_save_CC $ac_arg"
11719 if ac_fn_c_try_compile "$LINENO"; then :
11720 ac_cv_prog_cc_c89=$ac_arg
11722 rm -f core conftest.err conftest.$ac_objext
11723 test "x$ac_cv_prog_cc_c89" != "xno" && break
11725 rm -f conftest.$ac_ext
11730 case "x$ac_cv_prog_cc_c89" in
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11733 $as_echo "none needed" >&6; } ;;
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11736 $as_echo "unsupported" >&6; } ;;
11738 CC="$CC $ac_cv_prog_cc_c89"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11740 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11742 if test "x$ac_cv_prog_cc_c89" != xno; then :
11747 ac_cpp='$CPP $CPPFLAGS'
11748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11753 ac_cpp='$CPP $CPPFLAGS'
11754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
11758 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
11759 if ${am_cv_prog_cc_c_o+:} false; then :
11760 $as_echo_n "(cached) " >&6
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11773 # Make sure it works both with $CC and with simple cc.
11774 # Following AC_PROG_CC_C_O, we do the test twice because some
11775 # compilers refuse to overwrite an existing .o file with -o,
11776 # though they will create one.
11777 am_cv_prog_cc_c_o=yes
11778 for am_i in 1 2; do
11779 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
11780 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } \
11784 && test -f conftest2.$ac_objext; then
11787 am_cv_prog_cc_c_o=no
11791 rm -f core conftest*
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
11795 $as_echo "$am_cv_prog_cc_c_o" >&6; }
11796 if test "$am_cv_prog_cc_c_o" != yes; then
11797 # Losing compiler, so override with the script.
11798 # FIXME: It is wrong to rewrite CC.
11799 # But if we don't then we get into trouble of one sort or another.
11800 # A longer-term fix would be to have automake use am__CC in this case,
11801 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11802 CC="$am_aux_dir/compile $CC"
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11811 depcc="$CC" am_compiler_list=
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11814 $as_echo_n "checking dependency style of $depcc... " >&6; }
11815 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11816 $as_echo_n "(cached) " >&6
11818 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11819 # We make a subdir and do the tests there. Otherwise we can end up
11820 # making bogus files that we don't know about and never remove. For
11821 # instance it was reported that on HP-UX the gcc test will end up
11822 # making a dummy file named 'D' -- because '-MD' means "put the output
11824 rm -rf conftest.dir
11826 # Copy depcomp to subdir because otherwise we won't find it if we're
11827 # using a relative directory.
11828 cp "$am_depcomp" conftest.dir
11830 # We will build objects and dependencies in a subdirectory because
11831 # it helps to detect inapplicable dependency modes. For instance
11832 # both Tru64's cc and ICC support -MD to output dependencies as a
11833 # side effect of compilation, but ICC will put the dependencies in
11834 # the current directory while Tru64 will put them in the object
11838 am_cv_CC_dependencies_compiler_type=none
11839 if test "$am_compiler_list" = ""; then
11840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11842 am__universal=false
11843 case " $depcc " in #(
11844 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11847 for depmode in $am_compiler_list; do
11848 # Setup a source with many dependencies, because some compilers
11849 # like to wrap large dependency lists on column 80 (with \), and
11850 # we should not choose a depcomp mode which is confused by this.
11852 # We need to recreate these files for each test, as the compiler may
11853 # overwrite some of them when testing with obscure command lines.
11854 # This happens at least with the AIX C compiler.
11856 for i in 1 2 3 4 5 6; do
11857 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11858 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
11859 # Solaris 10 /bin/sh.
11860 echo '/* dummy */' > sub/conftst$i.h
11862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11864 # We check with '-c' and '-o' for the sake of the "dashmstdout"
11865 # mode. It turns out that the SunPro C++ compiler does not properly
11866 # handle '-M -o', and we need to detect this. Also, some Intel
11867 # versions had trouble with output in subdirs.
11868 am__obj=sub/conftest.${OBJEXT-o}
11869 am__minus_obj="-o $am__obj"
11872 # This depmode causes a compiler race in universal mode.
11873 test "$am__universal" = false || continue
11876 # After this tag, mechanisms are not by side-effect, so they'll
11877 # only be used when explicitly requested.
11878 if test "x$enable_dependency_tracking" = xyes; then
11884 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11885 # This compiler won't grok '-c -o', but also, the minuso test has
11886 # not run yet. These depmodes are late enough in the game, and
11887 # so weak that their functioning should not be impacted.
11888 am__obj=conftest.${OBJEXT-o}
11893 if depmode=$depmode \
11894 source=sub/conftest.c object=$am__obj \
11895 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11896 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11897 >/dev/null 2>conftest.err &&
11898 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11899 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11900 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11901 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11902 # icc doesn't choke on unknown options, it will just issue warnings
11903 # or remarks (even with -Werror). So we grep stderr for any message
11904 # that says an option was ignored or not supported.
11905 # When given -MP, icc 7.0 and 7.1 complain thusly:
11906 # icc: Command line warning: ignoring option '-M'; no argument required
11907 # The diagnosis changed in icc 8.0:
11908 # icc: Command line remark: option '-MP' not supported
11909 if (grep 'ignoring option' conftest.err ||
11910 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11911 am_cv_CC_dependencies_compiler_type=$depmode
11918 rm -rf conftest.dir
11920 am_cv_CC_dependencies_compiler_type=none
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11925 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11926 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11929 test "x$enable_dependency_tracking" != xno \
11930 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11931 am__fastdepCC_TRUE=
11932 am__fastdepCC_FALSE='#'
11934 am__fastdepCC_TRUE='#'
11935 am__fastdepCC_FALSE=
11945 if test "x$GCC" != "xyes"; then
11946 as_fn_error $? "libquadmath must be built with GCC" "$LINENO" 5
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11954 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11955 # On Suns, sometimes $CPP names a directory.
11956 if test -n "$CPP" && test -d "$CPP"; then
11959 if test -z "$CPP"; then
11960 if ${ac_cv_prog_CPP+:} false; then :
11961 $as_echo_n "(cached) " >&6
11963 # Double quotes because CPP needs to be expanded
11964 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11966 ac_preproc_ok=false
11967 for ac_c_preproc_warn_flag in '' yes
11969 # Use a header file that comes with gcc, so configuring glibc
11970 # with a fresh cross-compiler works.
11971 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11972 # <limits.h> exists even on freestanding compilers.
11973 # On the NeXT, cc -E runs the code through the compiler's parser,
11974 # not just through cpp. "Syntax error" is here to catch this case.
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 # include <limits.h>
11980 # include <assert.h>
11984 if ac_fn_c_try_cpp "$LINENO"; then :
11987 # Broken: fails on valid input.
11990 rm -f conftest.err conftest.i conftest.$ac_ext
11992 # OK, works on sane cases. Now check whether nonexistent headers
11993 # can be detected and how.
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11996 #include <ac_nonexistent.h>
11998 if ac_fn_c_try_cpp "$LINENO"; then :
11999 # Broken: success on invalid input.
12002 # Passes both tests.
12006 rm -f conftest.err conftest.i conftest.$ac_ext
12009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12010 rm -f conftest.i conftest.err conftest.
$ac_ext
12011 if $ac_preproc_ok; then :
12016 ac_cv_prog_CPP
=$CPP
12019 CPP
=$ac_cv_prog_CPP
12021 ac_cv_prog_CPP
=$CPP
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12024 $as_echo "$CPP" >&6; }
12025 ac_preproc_ok
=false
12026 for ac_c_preproc_warn_flag
in '' yes
12028 # Use a header file that comes with gcc, so configuring glibc
12029 # with a fresh cross-compiler works.
12030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12031 # <limits.h> exists even on freestanding compilers.
12032 # On the NeXT, cc -E runs the code through the compiler's parser,
12033 # not just through cpp. "Syntax error" is here to catch this case.
12034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 # include <limits.h>
12039 # include <assert.h>
12043 if ac_fn_c_try_cpp
"$LINENO"; then :
12046 # Broken: fails on valid input.
12049 rm -f conftest.err conftest.i conftest.
$ac_ext
12051 # OK, works on sane cases. Now check whether nonexistent headers
12052 # can be detected and how.
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 #include <ac_nonexistent.h>
12057 if ac_fn_c_try_cpp
"$LINENO"; then :
12058 # Broken: success on invalid input.
12061 # Passes both tests.
12065 rm -f conftest.err conftest.i conftest.
$ac_ext
12068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12069 rm -f conftest.i conftest.err conftest.
$ac_ext
12070 if $ac_preproc_ok; then :
12073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12075 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
12076 See \`config.log' for more details" "$LINENO" 5; }
12080 ac_cpp
='$CPP $CPPFLAGS'
12081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12086 # Calculate toolexeclibdir
12087 # Also toolexecdir, though it's only used in toolexeclibdir
12088 case ${version_specific_libs} in
12090 # Need the gcc compiler version to know where to install libraries
12091 # and header files if --enable-version-specific-runtime-libs option
12093 toolexecdir
='$(libdir)/gcc/$(target_alias)'
12094 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
12097 if test -n "$with_cross_host" &&
12098 test x
"$with_cross_host" != x
"no"; then
12099 # Install a library built with a cross compiler in tooldir, not libdir.
12100 toolexecdir
='$(exec_prefix)/$(target_alias)'
12101 toolexeclibdir
='$(toolexecdir)/lib'
12103 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
12104 toolexeclibdir
='$(libdir)'
12106 multi_os_directory
=`$CC -print-multi-os-directory`
12107 case $multi_os_directory in
12108 .
) ;; # Avoid trailing /.
12109 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
12116 for ac_header
in fenv.h langinfo.h locale.h wchar.h wctype.h limits.h ctype.h
printf.h errno.h
12118 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12119 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12120 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12121 cat >>confdefs.h
<<_ACEOF
12122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the math.h includes POSIX's signgam" >&5
12131 $as_echo_n "checking whether the math.h includes POSIX's signgam... " >&6; }
12132 if ${libgfor_cv_have_math_h_signgam+:} false
; then :
12133 $as_echo_n "(cached) " >&6
12136 save_CFLAGS
="$CFLAGS"
12137 CFLAGS
="$CFLAGS -Werror"
12138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12142 void foo(void) { signgam = 1; }
12151 if ac_fn_c_try_compile
"$LINENO"; then :
12152 libgfor_cv_have_math_h_signgam
=yes
12154 libgfor_cv_have_math_h_signgam
=no
12156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12157 CFLAGS
="$save_CFLAGS"
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_math_h_signgam" >&5
12160 $as_echo "$libgfor_cv_have_math_h_signgam" >&6; }
12161 if test $libgfor_cv_have_math_h_signgam = yes; then
12163 $as_echo "#define HAVE_MATH_H_SIGNGAM 1" >>confdefs.h
12167 # If available, sqrtl and cbrtl speed up the calculation -
12168 # but they are not required
12169 if test x
$gcc_no_link != xyes
; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
12171 $as_echo_n "checking for sqrtl in -lm... " >&6; }
12172 if ${ac_cv_lib_m_sqrtl+:} false
; then :
12173 $as_echo_n "(cached) " >&6
12175 ac_check_lib_save_LIBS
=$LIBS
12177 if test x
$gcc_no_link = xyes
; then
12178 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12198 if ac_fn_c_try_link
"$LINENO"; then :
12199 ac_cv_lib_m_sqrtl
=yes
12201 ac_cv_lib_m_sqrtl
=no
12203 rm -f core conftest.err conftest.
$ac_objext \
12204 conftest
$ac_exeext conftest.
$ac_ext
12205 LIBS
=$ac_check_lib_save_LIBS
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
12208 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
12209 if test "x$ac_cv_lib_m_sqrtl" = xyes
; then :
12211 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
12216 $as_echo_n "checking for cbrtl in -lm... " >&6; }
12217 if ${ac_cv_lib_m_cbrtl+:} false
; then :
12218 $as_echo_n "(cached) " >&6
12220 ac_check_lib_save_LIBS
=$LIBS
12222 if test x
$gcc_no_link = xyes
; then
12223 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12243 if ac_fn_c_try_link
"$LINENO"; then :
12244 ac_cv_lib_m_cbrtl
=yes
12246 ac_cv_lib_m_cbrtl
=no
12248 rm -f core conftest.err conftest.
$ac_objext \
12249 conftest
$ac_exeext conftest.
$ac_ext
12250 LIBS
=$ac_check_lib_save_LIBS
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
12253 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
12254 if test "x$ac_cv_lib_m_cbrtl" = xyes
; then :
12256 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
12261 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
12262 if ${ac_cv_lib_m_feholdexcept+:} false
; then :
12263 $as_echo_n "(cached) " >&6
12265 ac_check_lib_save_LIBS
=$LIBS
12267 if test x
$gcc_no_link = xyes
; then
12268 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12279 char feholdexcept ();
12283 return feholdexcept ();
12288 if ac_fn_c_try_link
"$LINENO"; then :
12289 ac_cv_lib_m_feholdexcept
=yes
12291 ac_cv_lib_m_feholdexcept
=no
12293 rm -f core conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12295 LIBS
=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feholdexcept" >&5
12298 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12299 if test "x$ac_cv_lib_m_feholdexcept" = xyes
; then :
12301 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12306 $as_echo_n "checking for fesetround in -lm... " >&6; }
12307 if ${ac_cv_lib_m_fesetround+:} false
; then :
12308 $as_echo_n "(cached) " >&6
12310 ac_check_lib_save_LIBS
=$LIBS
12312 if test x
$gcc_no_link = xyes
; then
12313 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 /* Override any GCC internal prototype to avoid an error.
12319 Use char because int might match the return type of a GCC
12320 builtin and then its argument prototype would still apply. */
12324 char fesetround ();
12328 return fesetround ();
12333 if ac_fn_c_try_link
"$LINENO"; then :
12334 ac_cv_lib_m_fesetround
=yes
12336 ac_cv_lib_m_fesetround
=no
12338 rm -f core conftest.err conftest.
$ac_objext \
12339 conftest
$ac_exeext conftest.
$ac_ext
12340 LIBS
=$ac_check_lib_save_LIBS
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12343 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12344 if test "x$ac_cv_lib_m_fesetround" = xyes
; then :
12346 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12351 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12352 if ${ac_cv_lib_m_feupdateenv+:} false
; then :
12353 $as_echo_n "(cached) " >&6
12355 ac_check_lib_save_LIBS
=$LIBS
12357 if test x
$gcc_no_link = xyes
; then
12358 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12369 char feupdateenv ();
12373 return feupdateenv ();
12378 if ac_fn_c_try_link
"$LINENO"; then :
12379 ac_cv_lib_m_feupdateenv
=yes
12381 ac_cv_lib_m_feupdateenv
=no
12383 rm -f core conftest.err conftest.
$ac_objext \
12384 conftest
$ac_exeext conftest.
$ac_ext
12385 LIBS
=$ac_check_lib_save_LIBS
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12388 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12389 if test "x$ac_cv_lib_m_feupdateenv" = xyes
; then :
12391 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12396 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12397 if ${ac_cv_lib_m_fesetenv+:} false
; then :
12398 $as_echo_n "(cached) " >&6
12400 ac_check_lib_save_LIBS
=$LIBS
12402 if test x
$gcc_no_link = xyes
; then
12403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12418 return fesetenv ();
12423 if ac_fn_c_try_link
"$LINENO"; then :
12424 ac_cv_lib_m_fesetenv
=yes
12426 ac_cv_lib_m_fesetenv
=no
12428 rm -f core conftest.err conftest.
$ac_objext \
12429 conftest
$ac_exeext conftest.
$ac_ext
12430 LIBS
=$ac_check_lib_save_LIBS
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12433 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12434 if test "x$ac_cv_lib_m_fesetenv" = xyes
; then :
12436 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12441 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12442 if ${ac_cv_lib_m_fetestexcept+:} false
; then :
12443 $as_echo_n "(cached) " >&6
12445 ac_check_lib_save_LIBS
=$LIBS
12447 if test x
$gcc_no_link = xyes
; then
12448 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12459 char fetestexcept ();
12463 return fetestexcept ();
12468 if ac_fn_c_try_link
"$LINENO"; then :
12469 ac_cv_lib_m_fetestexcept
=yes
12471 ac_cv_lib_m_fetestexcept
=no
12473 rm -f core conftest.err conftest.
$ac_objext \
12474 conftest
$ac_exeext conftest.
$ac_ext
12475 LIBS
=$ac_check_lib_save_LIBS
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12478 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12479 if test "x$ac_cv_lib_m_fetestexcept" = xyes
; then :
12481 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12485 for ac_func
in strtoull
12487 ac_fn_c_check_func
"$LINENO" "strtoull" "ac_cv_func_strtoull"
12488 if test "x$ac_cv_func_strtoull" = xyes
; then :
12489 cat >>confdefs.h
<<_ACEOF
12490 #define HAVE_STRTOULL 1
12497 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then
12499 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12502 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then
12504 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12507 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then
12509 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12512 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then
12514 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12517 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then
12519 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12522 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then
12524 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12527 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then
12529 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12534 # Check for hidden visibility (copied from libssp).
12535 saved_CFLAGS
="$CFLAGS"
12536 CFLAGS
="$CFLAGS -Werror"
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
12538 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
12539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 void __attribute__((visibility ("hidden"))) bar (void) {}
12551 if ac_fn_c_try_compile
"$LINENO"; then :
12552 quadmath_hidden
=yes
12556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_hidden" >&5
12558 $as_echo "$quadmath_hidden" >&6; }
12559 if test x
$quadmath_hidden = xyes
; then
12561 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
12564 CFLAGS
="$saved_CFLAGS"
12566 # Check for symbol versioning (copied from libssp).
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12568 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12569 # Check whether --enable-symvers was given.
12570 if test "${enable_symvers+set}" = set; then :
12571 enableval
=$enable_symvers; quadmath_use_symver
=$enableval
12573 quadmath_use_symver
=yes
12576 if test "x$quadmath_use_symver" != xno
; then
12577 if test x
$gcc_no_link = xyes
; then
12578 # If we cannot link, we cannot build shared libraries, so do not use
12579 # symbol versioning.
12580 quadmath_use_symver
=no
12582 save_LDFLAGS
="$LDFLAGS"
12583 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12584 cat > conftest.map
<<EOF
12586 global: *foo*; bar; local: *;
12589 if test x
$gcc_no_link = xyes
; then
12590 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12603 if ac_fn_c_try_link
"$LINENO"; then :
12604 quadmath_use_symver
=gnu
12606 quadmath_use_symver
=no
12608 rm -f core conftest.err conftest.
$ac_objext \
12609 conftest
$ac_exeext conftest.
$ac_ext
12610 if test x
$quadmath_use_symver = xno
; then
12611 case "$target_os" in
12613 LDFLAGS
="$save_LDFLAGS"
12614 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12615 # Sun ld cannot handle wildcards and treats all entries as undefined.
12616 cat > conftest.map
<<EOF
12618 global: foo; local: *;
12621 if test x
$gcc_no_link = xyes
; then
12622 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12635 if ac_fn_c_try_link
"$LINENO"; then :
12636 quadmath_use_symver
=sun
12638 quadmath_use_symver
=no
12640 rm -f core conftest.err conftest.
$ac_objext \
12641 conftest
$ac_exeext conftest.
$ac_ext
12645 LDFLAGS
="$save_LDFLAGS"
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12649 $as_echo "$quadmath_use_symver" >&6; }
12650 if test "x$quadmath_use_symver" != xno
; then
12651 LIBQUAD_USE_SYMVER_TRUE
=
12652 LIBQUAD_USE_SYMVER_FALSE
='#'
12654 LIBQUAD_USE_SYMVER_TRUE
='#'
12655 LIBQUAD_USE_SYMVER_FALSE
=
12658 if test "x$quadmath_use_symver" = xgnu
; then
12659 LIBQUAD_USE_SYMVER_GNU_TRUE
=
12660 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
12662 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
12663 LIBQUAD_USE_SYMVER_GNU_FALSE
=
12666 if test "x$quadmath_use_symver" = xsun
; then
12667 LIBQUAD_USE_SYMVER_SUN_TRUE
=
12668 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
12670 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
12671 LIBQUAD_USE_SYMVER_SUN_FALSE
=
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12676 $as_echo_n "checking whether __float128 is supported... " >&6; }
12677 if ${libquad_cv_have_float128+:} false
; then :
12678 $as_echo_n "(cached) " >&6
12680 if test x
$gcc_no_link = xyes
; then
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12685 typedef _Complex float __attribute__((mode(TC))) __complex128;
12687 typedef _Complex float __attribute__((mode(KC))) __complex128;
12690 __float128 foo (__float128 x)
12693 __complex128 z1, z2;
12699 return (__float128) z2;
12702 __float128 bar (__float128 x)
12704 return x * __builtin_huge_valq ();
12718 if ac_fn_c_try_compile
"$LINENO"; then :
12720 libquad_cv_have_float128
=yes
12724 libquad_cv_have_float128
=no
12727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12729 if test x
$gcc_no_link = xyes
; then
12730 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12735 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12736 typedef _Complex float __attribute__((mode(TC))) __complex128;
12738 typedef _Complex float __attribute__((mode(KC))) __complex128;
12741 __float128 foo (__float128 x)
12744 __complex128 z1, z2;
12750 return (__float128) z2;
12753 __float128 bar (__float128 x)
12755 return x * __builtin_huge_valq ();
12769 if ac_fn_c_try_link
"$LINENO"; then :
12771 libquad_cv_have_float128
=yes
12775 libquad_cv_have_float128
=no
12778 rm -f core conftest.err conftest.
$ac_objext \
12779 conftest
$ac_exeext conftest.
$ac_ext
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12783 $as_echo "$libquad_cv_have_float128" >&6; }
12784 if test "x$libquad_cv_have_float128" = xyes
; then
12785 BUILD_LIBQUADMATH_TRUE
=
12786 BUILD_LIBQUADMATH_FALSE
='#'
12788 BUILD_LIBQUADMATH_TRUE
='#'
12789 BUILD_LIBQUADMATH_FALSE
=
12793 # Check for printf hook support.
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf hooks are supported" >&5
12795 $as_echo_n "checking whether printf hooks are supported... " >&6; }
12796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 #include <printf.h>
12800 #include <stdarg.h>
12801 #include <stdlib.h>
12802 extern void flt128_va (void *, va_list *);
12803 extern int flt128_ais (const struct printf_info *, size_t, int *, int *);
12804 extern int flt128_printf_fp (FILE *, const struct printf_info *, const void *const *);
12810 int pa_flt128 = register_printf_type (flt128_va);
12811 int mod_Q = register_printf_modifier (L"Q");
12812 int res = register_printf_specifier ('f', flt128_printf_fp, flt128_ais);
12813 struct printf_info info = { .user = -1 };
12819 if ac_fn_c_try_compile
"$LINENO"; then :
12820 quadmath_printf_hooks
=yes
12822 quadmath_printf_hooks
=no
12824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_printf_hooks" >&5
12826 $as_echo "$quadmath_printf_hooks" >&6; }
12827 if test x
$quadmath_printf_hooks = xyes
; then
12829 $as_echo "#define HAVE_PRINTF_HOOKS 1" >>confdefs.h
12833 # Check for whether locale support for quadmath_snprintf or Q printf hooks
12834 # should be provided.
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used" >&5
12836 $as_echo_n "checking whether nl_langinfo should be used... " >&6; }
12837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12839 #include <langinfo.h>
12845 s = nl_langinfo (DECIMAL_POINT);
12846 s = nl_langinfo (MON_DECIMAL_POINT);
12847 s = nl_langinfo (GROUPING);
12848 s = nl_langinfo (MON_GROUPING);
12849 s = nl_langinfo (THOUSANDS_SEP);
12850 s = nl_langinfo (MON_THOUSANDS_SEP);
12857 if ac_fn_c_try_compile
"$LINENO"; then :
12858 quadmath_use_nl_langinfo
=yes
12860 quadmath_use_nl_langinfo
=no
12862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo" >&5
12864 $as_echo "$quadmath_use_nl_langinfo" >&6; }
12865 if test x
$quadmath_use_nl_langinfo = xyes
; then
12867 $as_echo "#define USE_NL_LANGINFO 1" >>confdefs.h
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used for wide char locale info" >&5
12872 $as_echo_n "checking whether nl_langinfo should be used for wide char locale info... " >&6; }
12873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12875 #include <langinfo.h>
12881 s = nl_langinfo (_NL_NUMERIC_DECIMAL_POINT_WC);
12882 s = nl_langinfo (_NL_MONETARY_DECIMAL_POINT_WC);
12883 s = nl_langinfo (_NL_NUMERIC_THOUSANDS_SEP_WC);
12884 s = nl_langinfo (_NL_MONETARY_THOUSANDS_SEP_WC);
12891 if ac_fn_c_try_compile
"$LINENO"; then :
12892 quadmath_use_nl_langinfo_wc
=yes
12894 quadmath_use_nl_langinfo_wc
=no
12896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo_wc" >&5
12898 $as_echo "$quadmath_use_nl_langinfo_wc" >&6; }
12899 if test x
$quadmath_use_nl_langinfo_wc = xyes
; then
12901 $as_echo "#define USE_NL_LANGINFO_WC 1" >>confdefs.h
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localeconv should be used" >&5
12906 $as_echo_n "checking whether localeconv should be used... " >&6; }
12907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12909 #include <locale.h>
12914 const struct lconv *l = localeconv ();
12916 s = l->decimal_point;
12917 s = l->mon_decimal_point;
12919 s = l->mon_grouping;
12920 s = l->thousands_sep;
12921 s = l->mon_thousands_sep;
12928 if ac_fn_c_try_compile
"$LINENO"; then :
12929 quadmath_use_localeconv
=yes
12931 quadmath_use_localeconv
=no
12933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_localeconv" >&5
12935 $as_echo "$quadmath_use_localeconv" >&6; }
12936 if test x
$quadmath_use_localeconv = xyes
; then
12938 $as_echo "#define USE_LOCALECONV 1" >>confdefs.h
12942 # Check for whether i18n number rewriting support for quadmath_snprintf
12943 # or Q printf hooks should be provided.
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether i18n number rewriting support for quadmath_snprintf should be added" >&5
12945 $as_echo_n "checking whether i18n number rewriting support for quadmath_snprintf should be added... " >&6; }
12946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12948 #include <langinfo.h>
12949 #include <limits.h>
12950 #include <string.h>
12952 #include <wctype.h>
12958 char decimal[MB_LEN_MAX];
12959 wctrans_t map = wctrans ("to_outpunct");
12960 wint_t wdecimal = towctrans (L'.', map);
12962 memset (&state, '\0', sizeof (state));
12963 wcrtomb (decimal, wdecimal, &state);
12964 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_MB);
12965 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_WC);
12966 s = nl_langinfo (_NL_CTYPE_MB_CUR_MAX);
12973 if ac_fn_c_try_compile
"$LINENO"; then :
12974 quadmath_use_i18n_number_h
=yes
12976 quadmath_use_i18n_number_h
=no
12978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_i18n_number_h" >&5
12980 $as_echo "$quadmath_use_i18n_number_h" >&6; }
12981 if test x
$quadmath_use_i18n_number_h = xyes
; then
12983 $as_echo "#define USE_I18N_NUMBER_H 1" >>confdefs.h
12987 # Add CET specific flags if CET is enabled
12988 # Check whether --enable-cet was given.
12989 if test "${enable_cet+set}" = set; then :
12990 enableval
=$enable_cet;
12991 case "$enableval" in
12993 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
13002 $as_echo_n "checking for CET support... " >&6; }
13005 i
[34567]86-*-linux* | x86_64-
*-linux*)
13006 case "$enable_cet" in
13008 # Check if target supports multi-byte NOPs
13009 # and if assembler supports CET insn.
13010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13017 #if !defined(__SSE2__)
13018 #error target does not support multi-byte NOPs
13027 if ac_fn_c_try_compile
"$LINENO"; then :
13032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13035 # Check if assembler supports CET.
13036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13047 if ac_fn_c_try_compile
"$LINENO"; then :
13050 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
13052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13060 if test x
$enable_cet = xyes
; then
13061 CET_FLAGS
="-fcf-protection -mshstk"
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13063 $as_echo "yes" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13069 XCFLAGS
="$XCFLAGS $CET_FLAGS"
13072 cat >confcache
<<\_ACEOF
13073 # This file is a shell script that caches the results of configure
13074 # tests run on this system so they can be shared between configure
13075 # scripts and configure runs, see configure's option --config-cache.
13076 # It is not useful on other systems. If it contains results you don't
13077 # want to keep, you may remove or edit it.
13079 # config.status only pays attention to the cache file if you give it
13080 # the --recheck option to rerun configure.
13082 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13083 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13084 # following values.
13088 # The following way of writing the cache mishandles newlines in values,
13089 # but we know of no workaround that is simple, portable, and efficient.
13090 # So, we kill variables containing newlines.
13091 # Ultrix sh set writes to stderr and can't be redirected directly,
13092 # and sets the high bit in the cache file unless we assign to the vars.
13094 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13095 eval ac_val
=\$
$ac_var
13099 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13100 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13103 _ | IFS | as_nl
) ;; #(
13104 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13105 *) { eval $ac_var=; unset $ac_var;} ;;
13111 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13112 *${as_nl}ac_space
=\
*)
13113 # `set' does not quote correctly, so add quotes: double-quote
13114 # substitution turns \\\\ into \\, and sed turns \\ into \.
13117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13120 # `set' quotes correctly as required by POSIX, so do not add quotes.
13121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13132 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13134 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13135 if test -w "$cache_file"; then
13136 if test "x$cache_file" != "x/dev/null"; then
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13138 $as_echo "$as_me: updating cache $cache_file" >&6;}
13139 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13140 cat confcache
>"$cache_file"
13142 case $cache_file in #(
13144 mv -f confcache
"$cache_file"$$
&&
13145 mv -f "$cache_file"$$
"$cache_file" ;; #(
13147 mv -f confcache
"$cache_file" ;;
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13153 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13158 if test ${multilib} = yes; then
13159 multilib_arg
="--enable-multilib"
13165 # We would like our source tree to be readonly. However when releases or
13166 # pre-releases are generated, the flex/bison generated files as well as the
13167 # various formats of manuals need to be included along with the rest of the
13168 # sources. Therefore we have --enable-generated-files-in-srcdir to do
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
13171 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
13172 # Check whether --enable-generated-files-in-srcdir was given.
13173 if test "${enable_generated_files_in_srcdir+set}" = set; then :
13174 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
13175 yes) enable_generated_files_in_srcdir
=yes ;;
13176 no
) enable_generated_files_in_srcdir
=no
;;
13177 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13180 enable_generated_files_in_srcdir
=no
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
13184 $as_echo "$enable_generated_files_in_srcdir" >&6; }
13185 if test "$enable_generated_files_in_srcdir" = yes; then
13194 # Determine what GCC version number to use in filesystem paths.
13196 get_gcc_base_ver
="cat"
13198 # Check whether --with-gcc-major-version-only was given.
13199 if test "${with_gcc_major_version_only+set}" = set; then :
13200 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13201 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13209 ac_config_files
="$ac_config_files Makefile"
13211 cat >confcache
<<\_ACEOF
13212 # This file is a shell script that caches the results of configure
13213 # tests run on this system so they can be shared between configure
13214 # scripts and configure runs, see configure's option --config-cache.
13215 # It is not useful on other systems. If it contains results you don't
13216 # want to keep, you may remove or edit it.
13218 # config.status only pays attention to the cache file if you give it
13219 # the --recheck option to rerun configure.
13221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13223 # following values.
13227 # The following way of writing the cache mishandles newlines in values,
13228 # but we know of no workaround that is simple, portable, and efficient.
13229 # So, we kill variables containing newlines.
13230 # Ultrix sh set writes to stderr and can't be redirected directly,
13231 # and sets the high bit in the cache file unless we assign to the vars.
13233 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13234 eval ac_val
=\$
$ac_var
13238 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13242 _ | IFS | as_nl
) ;; #(
13243 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13244 *) { eval $ac_var=; unset $ac_var;} ;;
13250 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13251 *${as_nl}ac_space
=\
*)
13252 # `set' does not quote correctly, so add quotes: double-quote
13253 # substitution turns \\\\ into \\, and sed turns \\ into \.
13256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13259 # `set' quotes correctly as required by POSIX, so do not add quotes.
13260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13269 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13271 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13273 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13274 if test -w "$cache_file"; then
13275 if test "x$cache_file" != "x/dev/null"; then
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13277 $as_echo "$as_me: updating cache $cache_file" >&6;}
13278 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13279 cat confcache
>"$cache_file"
13281 case $cache_file in #(
13283 mv -f confcache
"$cache_file"$$
&&
13284 mv -f "$cache_file"$$
"$cache_file" ;; #(
13286 mv -f confcache
"$cache_file" ;;
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13292 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13297 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13298 # Let make expand exec_prefix.
13299 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13301 DEFS
=-DHAVE_CONFIG_H
13306 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13307 # 1. Remove the extension, and $U if already installed.
13308 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13309 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13310 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13311 # will be set to the directory where LIBOBJS objects are built.
13312 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13313 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13315 LIBOBJS
=$ac_libobjs
13317 LTLIBOBJS
=$ac_ltlibobjs
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13321 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13322 if test -n "$am_sleep_pid"; then
13323 # Hide warnings about reused PIDs.
13324 wait $am_sleep_pid 2>/dev
/null
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13327 $as_echo "done" >&6; }
13328 if test -n "$EXEEXT"; then
13330 am__EXEEXT_FALSE
='#'
13332 am__EXEEXT_TRUE
='#'
13336 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13337 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13340 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13341 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13344 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
13345 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
13346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13348 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13349 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13352 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13353 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13356 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
13357 as_fn_error $?
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
13358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13360 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
13361 as_fn_error $?
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
13362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13364 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
13365 as_fn_error $?
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
13366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13368 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
13369 as_fn_error $?
"conditional \"BUILD_LIBQUADMATH\" was never defined.
13370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13372 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
13373 as_fn_error $?
"conditional \"GENINSRC\" was never defined.
13374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13377 : "${CONFIG_STATUS=./config.status}"
13379 ac_clean_files_save
=$ac_clean_files
13380 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13382 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13384 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13386 # Generated by $as_me.
13387 # Run this file to recreate the current configuration.
13388 # Compiler output produced by configure, useful for debugging
13389 # configure, is in config.log if it exists.
13392 ac_cs_recheck=false
13395 SHELL=\${CONFIG_SHELL-$SHELL}
13398 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13399 ## -------------------- ##
13400 ## M4sh Initialization. ##
13401 ## -------------------- ##
13403 # Be more Bourne compatible
13404 DUALCASE
=1; export DUALCASE
# for MKS sh
13405 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13408 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13409 # is contrary to our usage. Disable this feature.
13410 alias -g '${1+"$@"}'='"$@"'
13411 setopt NO_GLOB_SUBST
13413 case `(set -o) 2>/dev/null` in #(
13425 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13426 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13427 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13428 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13429 # Prefer a ksh shell builtin over an external printf program on Solaris,
13430 # but without wasting forks for bash or zsh.
13431 if test -z "$BASH_VERSION$ZSH_VERSION" \
13432 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13433 as_echo='print
-r --'
13434 as_echo_n='print
-rn --'
13435 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13436 as_echo='printf %s
\n'
13437 as_echo_n='printf %s
'
13439 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13440 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13441 as_echo_n='/usr
/ucb
/echo -n'
13443 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13444 as_echo_n_body='eval
13448 expr "X$arg" : "X\\(.*\\)$as_nl";
13449 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13451 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13453 export as_echo_n_body
13454 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13456 export as_echo_body
13457 as_echo='sh
-c $as_echo_body as_echo
'
13460 # The user is always right.
13461 if test "${PATH_SEPARATOR+set}" != set; then
13463 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13464 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13471 # We need space, tab and new line, in precisely that order. Quoting is
13472 # there to prevent editors from complaining about space-tab.
13473 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13474 # splitting by setting IFS to empty value.)
13477 # Find who we are. Look in the path if we contain no directory separator.
13480 *[\\/]* ) as_myself=$0 ;;
13481 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13482 for as_dir in $PATH
13485 test -z "$as_dir" && as_dir=.
13486 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13492 # We did not find ourselves, most probably we were run as `sh COMMAND'
13493 # in which case we are not to be found in the path.
13494 if test "x$as_myself" = x
; then
13497 if test ! -f "$as_myself"; then
13498 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13502 # Unset variables that we do not need and which cause bugs (e.g. in
13503 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13504 # suppresses any "Segmentation fault" message there. '((' could
13505 # trigger a bug in pdksh 5.2.14.
13506 for as_var
in BASH_ENV ENV MAIL MAILPATH
13507 do eval test x\
${$as_var+set} = xset \
13508 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13521 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13524 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13525 # ----------------------------------------
13526 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13527 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13528 # script with STATUS, using 1 if that was 0.
13531 as_status
=$1; test $as_status -eq 0 && as_status
=1
13533 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13534 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13536 $as_echo "$as_me: error: $2" >&2
13537 as_fn_exit
$as_status
13541 # as_fn_set_status STATUS
13542 # -----------------------
13543 # Set $? to STATUS, without forking.
13544 as_fn_set_status
()
13547 } # as_fn_set_status
13549 # as_fn_exit STATUS
13550 # -----------------
13551 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13555 as_fn_set_status
$1
13561 # Portably unset VAR.
13564 { eval $1=; unset $1;}
13566 as_unset
=as_fn_unset
13567 # as_fn_append VAR VALUE
13568 # ----------------------
13569 # Append the text in VALUE to the end of the definition contained in VAR. Take
13570 # advantage of any shell optimizations that allow amortized linear growth over
13571 # repeated appends, instead of the typical quadratic growth present in naive
13573 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13574 eval 'as_fn_append ()
13585 # as_fn_arith ARG...
13586 # ------------------
13587 # Perform arithmetic evaluation on the ARGs, and store the result in the
13588 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13589 # must be portable across $(()) and expr.
13590 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13591 eval 'as_fn_arith ()
13598 as_val
=`expr "$@" || test $? -eq 1`
13603 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13604 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13610 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13611 as_basename
=basename
13616 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13622 as_me
=`$as_basename -- "$0" ||
13623 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13624 X"$0" : 'X\(//\)$' \| \
13625 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13627 sed '/^.*\/\([^/][^/]*\)\/*$/{
13641 # Avoid depending upon Character Ranges.
13642 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13643 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13644 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13645 as_cr_digits
='0123456789'
13646 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13648 ECHO_C
= ECHO_N
= ECHO_T
=
13649 case `echo -n x` in #(((((
13651 case `echo 'xy\c'` in
13652 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13654 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13661 rm -f conf$$ conf$$.exe conf$$.
file
13662 if test -d conf$$.dir
; then
13663 rm -f conf$$.dir
/conf$$.
file
13666 mkdir conf$$.dir
2>/dev
/null
13668 if (echo >conf$$.
file) 2>/dev
/null
; then
13669 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13671 # ... but there are two gotchas:
13672 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13673 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13674 # In both cases, we have to default to `cp -pR'.
13675 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13677 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13685 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13686 rmdir conf$$.dir
2>/dev
/null
13691 # Create "$as_dir" as a directory, including parents if necessary.
13696 -*) as_dir
=.
/$as_dir;;
13698 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13702 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13703 *) as_qdir
=$as_dir;;
13705 as_dirs
="'$as_qdir' $as_dirs"
13706 as_dir
=`$as_dirname -- "$as_dir" ||
13707 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13708 X"$as_dir" : 'X\(//\)[^/]' \| \
13709 X"$as_dir" : 'X\(//\)$' \| \
13710 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13711 $as_echo X"$as_dir" |
13712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13716 /^X\(\/\/\)[^/].*/{
13729 test -d "$as_dir" && break
13731 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13732 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13736 if mkdir
-p .
2>/dev
/null
; then
13737 as_mkdir_p
='mkdir -p "$as_dir"'
13739 test -d .
/-p && rmdir .
/-p
13744 # as_fn_executable_p FILE
13745 # -----------------------
13746 # Test if FILE is an executable regular file.
13747 as_fn_executable_p
()
13749 test -f "$1" && test -x "$1"
13750 } # as_fn_executable_p
13751 as_test_x
='test -x'
13752 as_executable_p
=as_fn_executable_p
13754 # Sed expression to map a string onto a valid CPP name.
13755 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13757 # Sed expression to map a string onto a valid variable name.
13758 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13762 ## ----------------------------------- ##
13763 ## Main body of $CONFIG_STATUS script. ##
13764 ## ----------------------------------- ##
13766 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13769 # Save the log message, to keep $0 and so on meaningful, and to
13770 # report actual input values of CONFIG_FILES etc. instead of their
13771 # values after options handling.
13773 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13774 generated by GNU Autoconf 2.69. Invocation command line was
13776 CONFIG_FILES = $CONFIG_FILES
13777 CONFIG_HEADERS = $CONFIG_HEADERS
13778 CONFIG_LINKS = $CONFIG_LINKS
13779 CONFIG_COMMANDS = $CONFIG_COMMANDS
13782 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13787 case $ac_config_files in *"
13788 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13791 case $ac_config_headers in *"
13792 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13797 # Files that config.status was made for.
13798 config_files="$ac_config_files"
13799 config_headers="$ac_config_headers"
13800 config_commands="$ac_config_commands"
13804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13806 \`$as_me' instantiates files and other configuration actions
13807 from templates according to the current configuration. Unless the files
13808 and actions are specified as TAGs, all are instantiated by default.
13810 Usage: $0 [OPTION]... [TAG]...
13812 -h, --help print this help, then exit
13813 -V, --version print version number and configuration settings, then exit
13814 --config print configuration, then exit
13815 -q, --quiet, --silent
13816 do not print progress messages
13817 -d, --debug don't remove temporary files
13818 --recheck update $as_me by reconfiguring in the same conditions
13819 --file=FILE[:TEMPLATE]
13820 instantiate the configuration file FILE
13821 --header=FILE[:TEMPLATE]
13822 instantiate the configuration header FILE
13824 Configuration files:
13827 Configuration headers:
13830 Configuration commands:
13833 Report bugs to the package provider."
13836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13837 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13839 GCC Quad-precision Math Library config.status 0.1
13840 configured by $0, generated by GNU Autoconf 2.69,
13841 with options \\"\$ac_cs_config\\"
13843 Copyright (C) 2012 Free Software Foundation, Inc.
13844 This config.status script is free software; the Free Software Foundation
13845 gives unlimited permission to copy, distribute and modify it."
13852 test -n "\$AWK" || AWK=awk
13855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13856 # The default lists apply if the user does not specify any file.
13862 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13863 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13867 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13879 # Handling of the options.
13880 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13882 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13883 $as_echo "$ac_cs_version"; exit ;;
13884 --config |
--confi |
--conf |
--con |
--co |
--c )
13885 $as_echo "$ac_cs_config"; exit ;;
13886 --debug |
--debu |
--deb |
--de |
--d |
-d )
13888 --file |
--fil |
--fi |
--f )
13891 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13892 '') as_fn_error $?
"missing file argument" ;;
13894 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13895 ac_need_defaults
=false
;;
13896 --header |
--heade |
--head |
--hea )
13899 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13901 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13902 ac_need_defaults
=false
;;
13904 # Conflict between --help and --header
13905 as_fn_error $?
"ambiguous option: \`$1'
13906 Try \`$0 --help' for more information.";;
13907 --help |
--hel |
-h )
13908 $as_echo "$ac_cs_usage"; exit ;;
13909 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13910 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13913 # This is an error.
13914 -*) as_fn_error $?
"unrecognized option: \`$1'
13915 Try \`$0 --help' for more information." ;;
13917 *) as_fn_append ac_config_targets
" $1"
13918 ac_need_defaults
=false
;;
13924 ac_configure_extra_args
=
13926 if $ac_cs_silent; then
13928 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13933 if \$ac_cs_recheck; then
13934 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13936 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13937 CONFIG_SHELL='$SHELL'
13938 export CONFIG_SHELL
13943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13947 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13948 ## Running $as_me. ##
13954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13962 with_multisubdir="$with_multisubdir"
13963 with_multisrctop="$with_multisrctop"
13964 with_target_subdir="$with_target_subdir"
13965 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13966 multi_basedir="$multi_basedir"
13967 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13970 GFORTRAN="$GFORTRAN"
13972 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13975 # The HP-UX ksh and POSIX shell print the target directory to stdout
13976 # if CDPATH is set.
13977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13979 sed_quote_subst='$sed_quote_subst'
13980 double_quote_subst='$double_quote_subst'
13981 delay_variable_subst='$delay_variable_subst'
13982 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13983 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13984 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13985 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13986 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13987 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13988 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13989 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13990 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13991 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13992 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13993 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13994 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13995 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13996 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13997 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13998 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13999 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14000 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14001 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14002 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14003 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14004 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14005 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14006 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14007 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14008 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14009 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14010 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14011 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14012 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14013 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14014 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14015 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14016 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14017 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14018 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14019 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14020 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14021 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14022 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14023 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14024 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14025 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14026 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14027 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14028 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14029 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14030 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"`'
14031 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14032 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14033 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14034 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14035 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14036 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14037 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14038 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14039 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14040 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14041 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14042 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14043 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14044 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14045 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14046 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14047 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14048 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14049 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14050 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14051 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14052 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14053 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14054 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14055 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14056 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14057 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14058 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14059 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14060 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14061 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14062 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14063 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14064 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14065 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14066 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14067 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14068 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14069 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14070 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14071 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14072 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14073 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14074 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14075 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14076 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14077 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14078 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14079 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14080 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14081 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14082 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14083 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14084 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14085 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14086 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14087 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14088 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14089 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14090 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14091 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14092 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14093 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14094 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14095 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14096 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14097 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14098 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14099 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14100 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14101 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14104 LTCFLAGS='$LTCFLAGS'
14105 compiler='$compiler_DEFAULT'
14107 # A function that is used when there is no print builtin or printf.
14108 func_fallback_echo ()
14110 eval 'cat <<_LTECHO_EOF
14115 # Quote evaled strings.
14129 deplibs_check_method \
14138 lt_cv_sys_global_symbol_pipe \
14139 lt_cv_sys_global_symbol_to_cdecl \
14140 lt_cv_sys_global_symbol_to_c_name_address \
14141 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14142 lt_prog_compiler_no_builtin_flag \
14143 lt_prog_compiler_wl \
14144 lt_prog_compiler_pic \
14145 lt_prog_compiler_static \
14146 lt_cv_prog_compiler_c_o \
14154 export_dynamic_flag_spec \
14155 whole_archive_flag_spec \
14156 compiler_needs_object \
14158 allow_undefined_flag \
14159 no_undefined_flag \
14160 hardcode_libdir_flag_spec \
14161 hardcode_libdir_flag_spec_ld \
14162 hardcode_libdir_separator \
14167 variables_saved_for_relink \
14169 library_names_spec \
14171 install_override_mode \
14175 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14176 *[\\\\\\\`\\"\\\$]*)
14177 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14180 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14185 # Double-quote double-evaled strings.
14186 for var in reload_cmds \
14187 old_postinstall_cmds \
14188 old_postuninstall_cmds \
14190 extract_expsyms_cmds \
14191 old_archive_from_new_cmds \
14192 old_archive_from_expsyms_cmds \
14194 archive_expsym_cmds \
14196 module_expsym_cmds \
14197 export_symbols_cmds \
14200 postuninstall_cmds \
14202 sys_lib_search_path_spec \
14203 sys_lib_dlsearch_path_spec; do
14204 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14205 *[\\\\\\\`\\"\\\$]*)
14206 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14209 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14214 ac_aux_dir='$ac_aux_dir'
14215 xsi_shell='$xsi_shell'
14216 lt_shell_append='$lt_shell_append'
14218 # See if we are running on zsh, and set the options which allow our
14219 # commands through without removal of \ escapes INIT.
14220 if test -n "\${ZSH_VERSION+set}" ; then
14221 setopt NO_GLOB_SUBST
14227 TIMESTAMP='$TIMESTAMP'
14236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14238 # Handling of arguments.
14239 for ac_config_target
in $ac_config_targets
14241 case $ac_config_target in
14242 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14243 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14244 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14245 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14246 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14248 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14253 # If the user did not use the arguments to specify the items to instantiate,
14254 # then the envvar interface is used. Set only those that are not.
14255 # We use the long form for the default assignment because of an extremely
14256 # bizarre bug on SunOS 4.1.3.
14257 if $ac_need_defaults; then
14258 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14259 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14260 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14263 # Have a temporary directory for convenience. Make it in the build tree
14264 # simply because there is no reason against having it here, and in addition,
14265 # creating and moving files from /tmp can sometimes cause problems.
14266 # Hook for its removal unless debugging.
14267 # Note that there is a small window in which the directory will not be cleaned:
14268 # after its creation but before its name has been assigned to `$tmp'.
14272 trap 'exit_status=$?
14273 : "${ac_tmp:=$tmp}"
14274 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14276 trap 'as_fn_exit 1' 1 2 13 15
14278 # Create a (secure) tmp directory for tmp files.
14281 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14285 tmp
=.
/conf$$
-$RANDOM
14286 (umask 077 && mkdir
"$tmp")
14287 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14290 # Set up the scripts for CONFIG_FILES section.
14291 # No need to generate them if there are no CONFIG_FILES.
14292 # This happens for instance with `./config.status config.h'.
14293 if test -n "$CONFIG_FILES"; then
14296 ac_cr
=`echo X | tr X '\015'`
14297 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14298 # But we know of no other shell where ac_cr would be empty at this
14299 # point, so we can use a bashism as a fallback.
14300 if test "x$ac_cr" = x
; then
14301 eval ac_cr
=\$
\'\\r
\'
14303 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14304 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14307 ac_cs_awk_cr
=$ac_cr
14310 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14315 echo "cat >conf$$subs.awk <<_ACEOF" &&
14316 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14318 } >conf$$subs.sh ||
14319 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14320 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14322 for ac_last_try in false false false false false :; do
14323 . ./conf$$subs.sh ||
14324 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14326 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14327 if test $ac_delim_n = $ac_delim_num; then
14329 elif $ac_last_try; then
14330 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14332 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14335 rm -f conf$$subs.sh
14337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14338 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14342 s/^/S["/; s
/!.
*/"]=/
14352 s/\(.\{148\}\)..*/\1/
14354 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14359 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14366 s/\(.\{148\}\)..*/\1/
14368 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14372 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14377 ' <conf$$subs.awk | sed '
14382 ' >>$CONFIG_STATUS || ac_write_fail=1
14383 rm -f conf$$subs.awk
14384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14386 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14387 for (key in S) S_is_set[key] = 1
14393 nfields = split(line, field, "@
")
14395 len = length(field[1])
14396 for (i = 2; i < nfields; i++) {
14398 keylen = length(key)
14399 if (S_is_set[key]) {
14401 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14402 len += length(value) + length(field[++i])
14413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14414 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14415 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14418 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14419 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14422 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14423 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14424 # trailing colons and then remove the whole line if VPATH becomes empty
14425 # (actually we leave an empty line to preserve line numbers).
14426 if test "x
$srcdir" = x.; then
14427 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14446 fi # test -n "$CONFIG_FILES"
14448 # Set up the scripts for CONFIG_HEADERS section.
14449 # No need to generate them if there are no CONFIG_HEADERS.
14450 # This happens for instance with `./config.status Makefile'.
14451 if test -n "$CONFIG_HEADERS"; then
14452 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14456 # Transform confdefs.h into an awk script `defines.awk', embedded as
14457 # here-document in config.status, that substitutes the proper values into
14458 # config.h.in to produce config.h.
14460 # Create a delimiter string that does not exist in confdefs.h, to ease
14461 # handling of long lines.
14463 for ac_last_try in false false :; do
14464 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14465 if test -z "$ac_tt"; then
14467 elif $ac_last_try; then
14468 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14470 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14474 # For the awk script, D is an array of macro values keyed by name,
14475 # likewise P contains macro parameters if any. Preserve backslash
14476 # newline sequences.
14478 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14480 s/.\{148\}/&'"$ac_delim"'/g
14483 s/^[ ]*#[ ]*define[ ][ ]*/ /
14490 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14492 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14496 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14497 D["\
1"]=" \
3\\\\\\n
"\\/p
14499 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14504 s/.\{148\}/&'"$ac_delim"'/g
14509 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14512 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14514 ' <confdefs.h | sed '
14515 s/'"$ac_delim"'/"\\\
14516 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14519 for (key in D) D_is_set[key] = 1
14522 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14524 split(line, arg, " ")
14525 if (arg[1] == "#") {
14529 defundef
= substr
(arg
[1], 2)
14532 split(mac1
, mac2
, "(") #)
14534 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14535 if (D_is_set
[macro
]) {
14536 # Preserve the white space surrounding the "#".
14537 print prefix
"define", macro P
[macro
] D
[macro
]
14540 # Replace #undef with comments. This is necessary, for example,
14541 # in the case of _POSIX_SOURCE, which is predefined and required
14542 # on some systems where configure will not decide to define it.
14543 if (defundef
== "undef") {
14544 print
"/*", prefix defundef
, macro
, "*/"
14552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14553 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14554 fi # test -n "$CONFIG_HEADERS"
14557 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14562 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14564 case $ac_mode$ac_tag in
14566 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14567 :[FH
]-) ac_tag
=-:-;;
14568 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14585 -) ac_f
="$ac_tmp/stdin";;
14586 *) # Look for the file first in the build tree, then in the source tree
14587 # (if the path is not absolute). The absolute path cannot be DOS-style,
14588 # because $ac_f cannot contain `:'.
14592 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14594 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14596 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14597 as_fn_append ac_file_inputs
" '$ac_f'"
14600 # Let's still pretend it is `configure' which instantiates (i.e., don't
14601 # use $as_me), people would be surprised to read:
14602 # /* config.h. Generated by config.status. */
14603 configure_input
='Generated from '`
14604 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14606 if test x
"$ac_file" != x-
; then
14607 configure_input
="$ac_file. $configure_input"
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14609 $as_echo "$as_me: creating $ac_file" >&6;}
14611 # Neutralize special characters interpreted by sed in replacement strings.
14612 case $configure_input in #(
14613 *\
&* |
*\|
* |
*\\* )
14614 ac_sed_conf_input
=`$as_echo "$configure_input" |
14615 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14616 *) ac_sed_conf_input
=$configure_input;;
14620 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14621 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14626 ac_dir
=`$as_dirname -- "$ac_file" ||
14627 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14628 X"$ac_file" : 'X\(//\)[^/]' \| \
14629 X"$ac_file" : 'X\(//\)$' \| \
14630 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14631 $as_echo X"$ac_file" |
14632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14636 /^X\(\/\/\)[^/].*/{
14649 as_dir
="$ac_dir"; as_fn_mkdir_p
14653 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14655 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14656 # A ".." for each directory in $ac_dir_suffix.
14657 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14658 case $ac_top_builddir_sub in
14659 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14660 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14663 ac_abs_top_builddir
=$ac_pwd
14664 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14665 # for backward compatibility:
14666 ac_top_builddir
=$ac_top_build_prefix
14669 .
) # We are building in place.
14671 ac_top_srcdir
=$ac_top_builddir_sub
14672 ac_abs_top_srcdir
=$ac_pwd ;;
14673 [\\/]* | ?
:[\\/]* ) # Absolute name.
14674 ac_srcdir
=$srcdir$ac_dir_suffix;
14675 ac_top_srcdir
=$srcdir
14676 ac_abs_top_srcdir
=$srcdir ;;
14677 *) # Relative name.
14678 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14679 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14680 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14682 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14692 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14693 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14695 ac_MKDIR_P
=$MKDIR_P
14697 [\\/$
]* | ?
:[\\/]* ) ;;
14698 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14703 # If the template does not know about datarootdir, expand it.
14704 # FIXME: This hack should be removed a few years after 2.60.
14705 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14716 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14717 *datarootdir
*) ac_datarootdir_seen
=yes;;
14718 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14720 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14723 ac_datarootdir_hack='
14724 s&@datadir@&$datadir&g
14725 s&@docdir@&$docdir&g
14726 s&@infodir@&$infodir&g
14727 s&@localedir@&$localedir&g
14728 s&@mandir@&$mandir&g
14729 s&\\\${datarootdir}&$datarootdir&g' ;;
14733 # Neutralize VPATH when `$srcdir' = `.'.
14734 # Shell code in configure.ac might set extrasub.
14735 # FIXME: do we really want to maintain this feature?
14736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14737 ac_sed_extra="$ac_vpsub
14740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14742 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14743 s|@configure_input@|
$ac_sed_conf_input|
;t t
14744 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14745 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14746 s
&@srcdir@
&$ac_srcdir&;t t
14747 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14748 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14749 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14750 s
&@builddir@
&$ac_builddir&;t t
14751 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14752 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14753 s
&@INSTALL@
&$ac_INSTALL&;t t
14754 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14755 $ac_datarootdir_hack
14757 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14758 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14760 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14761 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14762 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14763 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14765 which seems to be undefined. Please make sure it is defined" >&5
14766 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14767 which seems to be undefined. Please make sure it is defined" >&2;}
14769 rm -f "$ac_tmp/stdin"
14771 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14772 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14774 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14780 if test x"$ac_file" != x-; then
14782 $as_echo "/* $configure_input */" \
14783 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14784 } >"$ac_tmp/config.h" \
14785 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14786 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14788 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14791 mv "$ac_tmp/config.h" "$ac_file" \
14792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14795 $as_echo "/* $configure_input */" \
14796 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14797 || as_fn_error $? "could not create -" "$LINENO" 5
14799 # Compute "$ac_file"'s index
in $config_headers.
14802 for _am_header
in $config_headers :; do
14803 case $_am_header in
14804 $_am_arg |
$_am_arg:* )
14807 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14810 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14811 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14812 X"$_am_arg" : 'X\(//\)[^/]' \| \
14813 X"$_am_arg" : 'X\(//\)$' \| \
14814 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14815 $as_echo X"$_am_arg" |
14816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14820 /^X\(\/\/\)[^/].*/{
14832 s/.*/./; q'`/stamp-h
$_am_stamp_count
14835 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14836 $as_echo "$as_me: executing $ac_file commands" >&6;}
14841 case $ac_file$ac_mode in
14843 # Only add multilib support code if we just rebuilt the top-level
14845 case " $CONFIG_FILES " in
14847 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14850 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14851 # Older Autoconf quotes --file arguments for eval, but not when files
14852 # are listed without --file. Let's play safe and only enable the eval
14853 # if we detect the quoting.
14854 case $CONFIG_FILES in
14855 *\'*) eval set x
"$CONFIG_FILES" ;;
14856 *) set x
$CONFIG_FILES ;;
14861 # Strip MF so we end up with the name of the file.
14862 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14863 # Check whether this is an Automake generated Makefile or not.
14864 # We used to match only the files named 'Makefile.in', but
14865 # some people rename them; so instead we look at the file content.
14866 # Grep'ing the first line is not enough: some people post-process
14867 # each Makefile.in and add a new line on top of each file to say so.
14868 # Grep'ing the whole file is not good either: AIX grep has a line
14869 # limit of 2048, but all sed's we know have understand at least 4000.
14870 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14871 dirpart
=`$as_dirname -- "$mf" ||
14872 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14873 X"$mf" : 'X\(//\)[^/]' \| \
14874 X"$mf" : 'X\(//\)$' \| \
14875 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14881 /^X\(\/\/\)[^/].*/{
14897 # Extract the definition of DEPDIR, am__include, and am__quote
14898 # from the Makefile without running 'make'.
14899 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14900 test -z "$DEPDIR" && continue
14901 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14902 test -z "$am__include" && continue
14903 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14904 # Find all dependency output files, they are included files with
14905 # $(DEPDIR) in their names. We invoke sed twice because it is the
14906 # simplest approach to changing $(DEPDIR) to its actual value in the
14908 for file in `sed -n "
14909 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14910 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14911 # Make sure the directory exists.
14912 test -f "$dirpart/$file" && continue
14913 fdir
=`$as_dirname -- "$file" ||
14914 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14915 X"$file" : 'X\(//\)[^/]' \| \
14916 X"$file" : 'X\(//\)$' \| \
14917 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14918 $as_echo X"$file" |
14919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14923 /^X\(\/\/\)[^/].*/{
14936 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14937 # echo "creating $dirpart/$file"
14938 echo '# dummy' > "$dirpart/$file"
14945 # See if we are running on zsh, and set the options which allow our
14946 # commands through without removal of \ escapes.
14947 if test -n "${ZSH_VERSION+set}" ; then
14948 setopt NO_GLOB_SUBST
14951 cfgfile
="${ofile}T"
14952 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14955 cat <<_LT_EOF >> "$cfgfile"
14958 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14959 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14960 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14961 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14963 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14964 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14965 # Written by Gordon Matzigkeit, 1996
14967 # This file is part of GNU Libtool.
14969 # GNU Libtool is free software; you can redistribute it and/or
14970 # modify it under the terms of the GNU General Public License as
14971 # published by the Free Software Foundation; either version 2 of
14972 # the License, or (at your option) any later version.
14974 # As a special exception to the GNU General Public License,
14975 # if you distribute this file as part of a program or library that
14976 # is built using GNU Libtool, you may include this file under the
14977 # same distribution terms that you use for the rest of that program.
14979 # GNU Libtool is distributed in the hope that it will be useful,
14980 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14981 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14982 # GNU General Public License for more details.
14984 # You should have received a copy of the GNU General Public License
14985 # along with GNU Libtool; see the file COPYING. If not, a copy
14986 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14987 # obtained by writing to the Free Software Foundation, Inc.,
14988 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14991 # The names of the tagged configurations supported by this script.
14994 # ### BEGIN LIBTOOL CONFIG
14996 # Which release of libtool.m4 was used?
14997 macro_version=$macro_version
14998 macro_revision=$macro_revision
15000 # Whether or not to build shared libraries.
15001 build_libtool_libs=$enable_shared
15003 # Whether or not to build static libraries.
15004 build_old_libs=$enable_static
15006 # What type of objects to build.
15009 # Whether or not to optimize for fast installation.
15010 fast_install=$enable_fast_install
15012 # Shell to use when invoking shell scripts.
15015 # An echo program that protects backslashes.
15019 host_alias=$host_alias
15023 # The build system.
15024 build_alias=$build_alias
15028 # A sed program that does not truncate output.
15031 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15032 Xsed="\$SED -e 1s/^X//"
15034 # A grep program that handles long lines.
15040 # A literal string matcher.
15043 # A BSD- or MS-compatible name lister.
15046 # Whether we need soft or hard links.
15049 # What is the maximum length of a command?
15050 max_cmd_len=$max_cmd_len
15052 # Object file suffix (normally "o").
15055 # Executable file suffix (normally "").
15058 # whether the shell understands "unset".
15061 # turn spaces into newlines.
15064 # turn newlines into spaces.
15067 # An object symbol dumper.
15068 OBJDUMP=$lt_OBJDUMP
15070 # Method to check whether dependent libraries are shared objects.
15071 deplibs_check_method=$lt_deplibs_check_method
15073 # Command to use when deplibs_check_method == "file_magic".
15074 file_magic_cmd=$lt_file_magic_cmd
15078 AR_FLAGS=$lt_AR_FLAGS
15080 # A symbol stripping program.
15083 # Commands used to install an old-style archive.
15085 old_postinstall_cmds=$lt_old_postinstall_cmds
15086 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15088 # Whether to use a lock for old archive extraction.
15089 lock_old_archive_extraction=$lock_old_archive_extraction
15094 # LTCC compiler flags.
15095 LTCFLAGS=$lt_CFLAGS
15097 # Take the output of nm and produce a listing of raw symbols and C names.
15098 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15100 # Transform the output of nm in a proper C declaration.
15101 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15103 # Transform the output of nm in a C name address pair.
15104 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15106 # Transform the output of nm in a C name address pair when lib prefix is needed.
15107 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15109 # The name of the directory that contains temporary libtool files.
15112 # Used to examine libraries when file_magic_cmd begins with "file".
15113 MAGIC_CMD=$MAGIC_CMD
15115 # Must we lock files when doing compilation?
15116 need_locks=$lt_need_locks
15118 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15119 DSYMUTIL=$lt_DSYMUTIL
15121 # Tool to change global to local symbols on Mac OS X.
15124 # Tool to manipulate fat objects and archives on Mac OS X.
15127 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15130 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15131 OTOOL64=$lt_OTOOL64
15133 # Old archive suffix (normally "a").
15136 # Shared library suffix (normally ".so").
15137 shrext_cmds=$lt_shrext_cmds
15139 # The commands to extract the exported symbol list from a shared archive.
15140 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15142 # Variables whose values should be saved in libtool wrapper scripts and
15143 # restored at link time.
15144 variables_saved_for_relink=$lt_variables_saved_for_relink
15146 # Do we need the "lib" prefix for modules?
15147 need_lib_prefix=$need_lib_prefix
15149 # Do we need a version for libraries?
15150 need_version=$need_version
15152 # Library versioning type.
15153 version_type=$version_type
15155 # Shared library runtime path variable.
15156 runpath_var=$runpath_var
15158 # Shared library path variable.
15159 shlibpath_var=$shlibpath_var
15161 # Is shlibpath searched before the hard-coded library search path?
15162 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15164 # Format of library name prefix.
15165 libname_spec=$lt_libname_spec
15167 # List of archive names. First name is the real one, the rest are links.
15168 # The last name is the one that the linker finds with -lNAME
15169 library_names_spec=$lt_library_names_spec
15171 # The coded name of the library, if different from the real name.
15172 soname_spec=$lt_soname_spec
15174 # Permission mode override for installation of shared libraries.
15175 install_override_mode=$lt_install_override_mode
15177 # Command to use after installation of a shared archive.
15178 postinstall_cmds=$lt_postinstall_cmds
15180 # Command to use after uninstallation of a shared archive.
15181 postuninstall_cmds=$lt_postuninstall_cmds
15183 # Commands used to finish a libtool library installation in a directory.
15184 finish_cmds=$lt_finish_cmds
15186 # As "finish_cmds", except a single script fragment to be evaled but
15188 finish_eval=$lt_finish_eval
15190 # Whether we should hardcode library paths into libraries.
15191 hardcode_into_libs=$hardcode_into_libs
15193 # Compile-time system search path for libraries.
15194 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15196 # Run-time system search path for libraries.
15197 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15199 # Whether dlopen is supported.
15200 dlopen_support=$enable_dlopen
15202 # Whether dlopen of programs is supported.
15203 dlopen_self=$enable_dlopen_self
15205 # Whether dlopen of statically linked programs is supported.
15206 dlopen_self_static=$enable_dlopen_self_static
15208 # Commands to strip libraries.
15209 old_striplib=$lt_old_striplib
15210 striplib=$lt_striplib
15213 # The linker used to build libraries.
15216 # How to create reloadable object files.
15217 reload_flag=$lt_reload_flag
15218 reload_cmds=$lt_reload_cmds
15220 # Commands used to build an old-style archive.
15221 old_archive_cmds=$lt_old_archive_cmds
15223 # A language specific compiler.
15226 # Is the compiler the GNU compiler?
15229 # Compiler flag to turn off builtin functions.
15230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15232 # How to pass a linker flag through the compiler.
15233 wl=$lt_lt_prog_compiler_wl
15235 # Additional compiler flags for building library objects.
15236 pic_flag=$lt_lt_prog_compiler_pic
15238 # Compiler flag to prevent dynamic linking.
15239 link_static_flag=$lt_lt_prog_compiler_static
15241 # Does compiler simultaneously support -c and -o options?
15242 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15244 # Whether or not to add -lc for building shared libraries.
15245 build_libtool_need_lc=$archive_cmds_need_lc
15247 # Whether or not to disallow shared libs when runtime libs are static.
15248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15250 # Compiler flag to allow reflexive dlopens.
15251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15253 # Compiler flag to generate shared objects directly from archives.
15254 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15256 # Whether the compiler copes with passing no objects directly.
15257 compiler_needs_object=$lt_compiler_needs_object
15259 # Create an old-style archive from a shared archive.
15260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15262 # Create a temporary old-style archive to link instead of a shared archive.
15263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15265 # Commands used to build a shared archive.
15266 archive_cmds=$lt_archive_cmds
15267 archive_expsym_cmds=$lt_archive_expsym_cmds
15269 # Commands used to build a loadable module if different from building
15270 # a shared archive.
15271 module_cmds=$lt_module_cmds
15272 module_expsym_cmds=$lt_module_expsym_cmds
15274 # Whether we are building with GNU ld or not.
15275 with_gnu_ld=$lt_with_gnu_ld
15277 # Flag that allows shared libraries with undefined symbols to be built.
15278 allow_undefined_flag=$lt_allow_undefined_flag
15280 # Flag that enforces no undefined symbols.
15281 no_undefined_flag=$lt_no_undefined_flag
15283 # Flag to hardcode \$libdir into a binary during linking.
15284 # This must work even if \$libdir does not exist
15285 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15287 # If ld is used when linking, flag to hardcode \$libdir into a binary
15288 # during linking. This must work even if \$libdir does not exist.
15289 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15291 # Whether we need a single "-rpath" flag with a separated argument.
15292 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15294 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15295 # DIR into the resulting binary.
15296 hardcode_direct=$hardcode_direct
15298 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15299 # DIR into the resulting binary and the resulting library dependency is
15300 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15301 # library is relocated.
15302 hardcode_direct_absolute=$hardcode_direct_absolute
15304 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15305 # into the resulting binary.
15306 hardcode_minus_L=$hardcode_minus_L
15308 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15309 # into the resulting binary.
15310 hardcode_shlibpath_var=$hardcode_shlibpath_var
15312 # Set to "yes" if building a shared library automatically hardcodes DIR
15313 # into the library and all subsequent libraries and executables linked
15315 hardcode_automatic=$hardcode_automatic
15317 # Set to yes if linker adds runtime paths of dependent libraries
15318 # to runtime path list.
15319 inherit_rpath=$inherit_rpath
15321 # Whether libtool must link a program against all its dependency libraries.
15322 link_all_deplibs=$link_all_deplibs
15324 # Fix the shell variable \$srcfile for the compiler.
15325 fix_srcfile_path=$lt_fix_srcfile_path
15327 # Set to "yes" if exported symbols are required.
15328 always_export_symbols=$always_export_symbols
15330 # The commands to list exported symbols.
15331 export_symbols_cmds=$lt_export_symbols_cmds
15333 # Symbols that should not be listed in the preloaded symbols.
15334 exclude_expsyms=$lt_exclude_expsyms
15336 # Symbols that must always be exported.
15337 include_expsyms=$lt_include_expsyms
15339 # Commands necessary for linking programs (against libraries) with templates.
15340 prelink_cmds=$lt_prelink_cmds
15342 # Specify filename containing input files.
15343 file_list_spec=$lt_file_list_spec
15345 # How to hardcode a shared library path into an executable.
15346 hardcode_action=$hardcode_action
15348 # ### END LIBTOOL CONFIG
15354 cat <<\_LT_EOF
>> "$cfgfile"
15355 # AIX sometimes has problems with the GCC collect2 program. For some
15356 # reason, if we set the COLLECT_NAMES environment variable, the problems
15357 # vanish in a puff of smoke.
15358 if test "X${COLLECT_NAMES+set}" != Xset
; then
15360 export COLLECT_NAMES
15367 ltmain
="$ac_aux_dir/ltmain.sh"
15370 # We use sed instead of cat because bash on DJGPP gets confused if
15371 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15372 # text mode, it properly converts lines to CR/LF. This bash problem
15373 # is reportedly fixed, but why not run on old versions too?
15374 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15375 ||
(rm -f "$cfgfile"; exit 1)
15379 cat << \_LT_EOF
>> "$cfgfile"
15381 # func_dirname file append nondir_replacement
15382 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15383 # otherwise set result to NONDIR_REPLACEMENT.
15387 */*) func_dirname_result
="${1%/*}${2}" ;;
15388 * ) func_dirname_result
="${3}" ;;
15392 # func_basename file
15395 func_basename_result
="${1##*/}"
15398 # func_dirname_and_basename file append nondir_replacement
15399 # perform func_basename and func_dirname in a single function
15401 # dirname: Compute the dirname of FILE. If nonempty,
15402 # add APPEND to the result, otherwise set result
15403 # to NONDIR_REPLACEMENT.
15404 # value returned in "$func_dirname_result"
15405 # basename: Compute filename of FILE.
15406 # value retuned in "$func_basename_result"
15407 # Implementation must be kept synchronized with func_dirname
15408 # and func_basename. For efficiency, we do not delegate to
15409 # those functions but instead duplicate the functionality here.
15410 func_dirname_and_basename
()
15413 */*) func_dirname_result
="${1%/*}${2}" ;;
15414 * ) func_dirname_result
="${3}" ;;
15416 func_basename_result
="${1##*/}"
15419 # func_stripname prefix suffix name
15420 # strip PREFIX and SUFFIX off of NAME.
15421 # PREFIX and SUFFIX must not contain globbing or regex special
15422 # characters, hashes, percent signs, but SUFFIX may contain a leading
15423 # dot (in which case that matches only a dot).
15426 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15427 # positional parameters, so assign one to ordinary parameter first.
15428 func_stripname_result
=${3}
15429 func_stripname_result
=${func_stripname_result#"${1}"}
15430 func_stripname_result
=${func_stripname_result%"${2}"}
15436 func_opt_split_opt
=${1%%=*}
15437 func_opt_split_arg
=${1#*=}
15444 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15445 *) func_lo2o_result
=${1} ;;
15449 # func_xform libobj-or-source
15452 func_xform_result
=${1%.*}.lo
15455 # func_arith arithmetic-term...
15458 func_arith_result
=$
(( $
* ))
15462 # STRING may not start with a hyphen.
15465 func_len_result
=${#1}
15470 *) # Bourne compatible functions.
15471 cat << \_LT_EOF
>> "$cfgfile"
15473 # func_dirname file append nondir_replacement
15474 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15475 # otherwise set result to NONDIR_REPLACEMENT.
15478 # Extract subdirectory from the argument.
15479 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15480 if test "X$func_dirname_result" = "X${1}"; then
15481 func_dirname_result
="${3}"
15483 func_dirname_result
="$func_dirname_result${2}"
15487 # func_basename file
15490 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15494 # func_stripname prefix suffix name
15495 # strip PREFIX and SUFFIX off of NAME.
15496 # PREFIX and SUFFIX must not contain globbing or regex special
15497 # characters, hashes, percent signs, but SUFFIX may contain a leading
15498 # dot (in which case that matches only a dot).
15499 # func_strip_suffix prefix name
15503 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15504 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15509 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15510 my_sed_long_arg
='1s/^-[^=]*=//'
15515 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15516 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15522 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15525 # func_xform libobj-or-source
15528 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15531 # func_arith arithmetic-term...
15534 func_arith_result
=`expr "$@"`
15538 # STRING may not start with a hyphen.
15541 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15547 case $lt_shell_append in
15549 cat << \_LT_EOF
>> "$cfgfile"
15551 # func_append var value
15552 # Append VALUE to the end of shell variable VAR.
15560 cat << \_LT_EOF
>> "$cfgfile"
15562 # func_append var value
15563 # Append VALUE to the end of shell variable VAR.
15574 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15575 ||
(rm -f "$cfgfile"; exit 1)
15577 mv -f "$cfgfile" "$ofile" ||
15578 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15589 ac_clean_files
=$ac_clean_files_save
15591 test $ac_write_fail = 0 ||
15592 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15595 # configure is writing to config.log, and then calls config.status.
15596 # config.status does its own redirection, appending to config.log.
15597 # Unfortunately, on DOS this fails, as config.log is still kept open
15598 # by configure, so config.status won't be able to write to it; its
15599 # output is simply discarded. So we exec the FD to /dev/null,
15600 # effectively closing config.log, so it can be properly (re)opened and
15601 # appended to by config.status. When coming back to configure, we
15602 # need to make the FD available again.
15603 if test "$no_create" != yes; then
15605 ac_config_status_args
=
15606 test "$silent" = yes &&
15607 ac_config_status_args
="$ac_config_status_args --quiet"
15609 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15611 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15612 # would make configure fail if this is the last instruction.
15613 $ac_cs_success || as_fn_exit
1
15615 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15617 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}