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
652 ENABLE_DARWIN_AT_RPATH_FALSE
653 ENABLE_DARWIN_AT_RPATH_TRUE
709 INSTALL_STRIP_PROGRAM
765 program_transform_name
778 enable_option_checking
781 enable_version_specific_runtime_libs
782 enable_dependency_tracking
790 enable_darwin_at_rpath
791 enable_maintainer_mode
795 enable_generated_files_in_srcdir
796 with_gcc_major_version_only
798 ac_precious_vars
='build_alias
809 # Initialize some variables set by options.
811 ac_init_version
=false
812 ac_unrecognized_opts
=
814 # The variables have the same names as the options, with
815 # dashes changed to underlines.
823 program_transform_name
=s
,x
,x
,
831 # Installation directory options.
832 # These are left unexpanded so users can "make install exec_prefix=/foo"
833 # and all the variables that are supposed to be based on exec_prefix
834 # by default will actually change.
835 # Use braces instead of parens because sh, perl, etc. also accept them.
836 # (The list follows the same order as the GNU Coding Standards.)
837 bindir
='${exec_prefix}/bin'
838 sbindir
='${exec_prefix}/sbin'
839 libexecdir
='${exec_prefix}/libexec'
840 datarootdir
='${prefix}/share'
841 datadir
='${datarootdir}'
842 sysconfdir
='${prefix}/etc'
843 sharedstatedir
='${prefix}/com'
844 localstatedir
='${prefix}/var'
845 includedir
='${prefix}/include'
846 oldincludedir
='/usr/include'
847 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
848 infodir
='${datarootdir}/info'
853 libdir
='${exec_prefix}/lib'
854 localedir
='${datarootdir}/locale'
855 mandir
='${datarootdir}/man'
861 # If the previous option needs an argument, assign it.
862 if test -n "$ac_prev"; then
863 eval $ac_prev=\
$ac_option
869 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
874 # Accept the important Cygnus configure options, so we can diagnose typos.
876 case $ac_dashdash$ac_option in
880 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
882 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
885 -build |
--build |
--buil |
--bui |
--bu)
886 ac_prev
=build_alias
;;
887 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
888 build_alias
=$ac_optarg ;;
890 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
891 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
892 ac_prev
=cache_file
;;
893 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
894 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
895 cache_file
=$ac_optarg ;;
898 cache_file
=config.cache
;;
900 -datadir |
--datadir |
--datadi |
--datad)
902 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
903 datadir
=$ac_optarg ;;
905 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
906 |
--dataroo |
--dataro |
--datar)
907 ac_prev
=datarootdir
;;
908 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
909 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
910 datarootdir
=$ac_optarg ;;
912 -disable-* |
--disable-*)
913 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
916 as_fn_error $?
"invalid feature name: $ac_useropt"
917 ac_useropt_orig
=$ac_useropt
918 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
924 ac_unrecognized_sep
=', ';;
926 eval enable_
$ac_useropt=no
;;
928 -docdir |
--docdir |
--docdi |
--doc |
--do)
930 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
933 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
935 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
938 -enable-* |
--enable-*)
939 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
942 as_fn_error $?
"invalid feature name: $ac_useropt"
943 ac_useropt_orig
=$ac_useropt
944 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 case $ac_user_opts in
949 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
950 ac_unrecognized_sep
=', ';;
952 eval enable_
$ac_useropt=\
$ac_optarg ;;
954 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
955 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
956 |
--exec |
--exe |
--ex)
957 ac_prev
=exec_prefix
;;
958 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
959 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
960 |
--exec=* |
--exe=* |
--ex=*)
961 exec_prefix
=$ac_optarg ;;
963 -gas |
--gas |
--ga |
--g)
964 # Obsolete; use --with-gas.
967 -help |
--help |
--hel |
--he |
-h)
969 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
970 ac_init_help
=recursive
;;
971 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
972 ac_init_help
=short
;;
974 -host |
--host |
--hos |
--ho)
975 ac_prev
=host_alias
;;
976 -host=* |
--host=* |
--hos=* |
--ho=*)
977 host_alias
=$ac_optarg ;;
979 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
981 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
983 htmldir
=$ac_optarg ;;
985 -includedir |
--includedir |
--includedi |
--included |
--include \
986 |
--includ |
--inclu |
--incl |
--inc)
987 ac_prev
=includedir
;;
988 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
989 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
990 includedir
=$ac_optarg ;;
992 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
994 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
995 infodir
=$ac_optarg ;;
997 -libdir |
--libdir |
--libdi |
--libd)
999 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1000 libdir
=$ac_optarg ;;
1002 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1003 |
--libexe |
--libex |
--libe)
1004 ac_prev
=libexecdir
;;
1005 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1006 |
--libexe=* |
--libex=* |
--libe=*)
1007 libexecdir
=$ac_optarg ;;
1009 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1010 ac_prev
=localedir
;;
1011 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1012 localedir
=$ac_optarg ;;
1014 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1015 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1016 ac_prev
=localstatedir
;;
1017 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1018 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1019 localstatedir
=$ac_optarg ;;
1021 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1023 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1024 mandir
=$ac_optarg ;;
1026 -nfp |
--nfp |
--nf)
1027 # Obsolete; use --without-fp.
1030 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1031 |
--no-cr |
--no-c |
-n)
1034 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1035 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1038 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1039 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1040 |
--oldin |
--oldi |
--old |
--ol |
--o)
1041 ac_prev
=oldincludedir
;;
1042 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1043 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1044 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1045 oldincludedir
=$ac_optarg ;;
1047 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1049 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1050 prefix
=$ac_optarg ;;
1052 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1053 |
--program-pre |
--program-pr |
--program-p)
1054 ac_prev
=program_prefix
;;
1055 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1056 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1057 program_prefix
=$ac_optarg ;;
1059 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1060 |
--program-suf |
--program-su |
--program-s)
1061 ac_prev
=program_suffix
;;
1062 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1063 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1064 program_suffix
=$ac_optarg ;;
1066 -program-transform-name |
--program-transform-name \
1067 |
--program-transform-nam |
--program-transform-na \
1068 |
--program-transform-n |
--program-transform- \
1069 |
--program-transform |
--program-transfor \
1070 |
--program-transfo |
--program-transf \
1071 |
--program-trans |
--program-tran \
1072 |
--progr-tra |
--program-tr |
--program-t)
1073 ac_prev
=program_transform_name
;;
1074 -program-transform-name=* |
--program-transform-name=* \
1075 |
--program-transform-nam=* |
--program-transform-na=* \
1076 |
--program-transform-n=* |
--program-transform-=* \
1077 |
--program-transform=* |
--program-transfor=* \
1078 |
--program-transfo=* |
--program-transf=* \
1079 |
--program-trans=* |
--program-tran=* \
1080 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1081 program_transform_name
=$ac_optarg ;;
1083 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1085 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1086 pdfdir
=$ac_optarg ;;
1088 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1090 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1093 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1094 |
-silent |
--silent |
--silen |
--sile |
--sil)
1097 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1099 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1101 sbindir
=$ac_optarg ;;
1103 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1104 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1105 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1107 ac_prev
=sharedstatedir
;;
1108 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1109 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1110 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1112 sharedstatedir
=$ac_optarg ;;
1114 -site |
--site |
--sit)
1116 -site=* |
--site=* |
--sit=*)
1119 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1121 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1122 srcdir
=$ac_optarg ;;
1124 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1125 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1126 ac_prev
=sysconfdir
;;
1127 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1128 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1129 sysconfdir
=$ac_optarg ;;
1131 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1132 ac_prev
=target_alias
;;
1133 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1134 target_alias
=$ac_optarg ;;
1136 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1139 -version |
--version |
--versio |
--versi |
--vers |
-V)
1140 ac_init_version
=: ;;
1143 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1146 as_fn_error $?
"invalid package name: $ac_useropt"
1147 ac_useropt_orig
=$ac_useropt
1148 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1153 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1154 ac_unrecognized_sep
=', ';;
1156 eval with_
$ac_useropt=\
$ac_optarg ;;
1158 -without-* |
--without-*)
1159 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error $?
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=no
;;
1175 # Obsolete; use --with-x.
1178 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1179 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1180 ac_prev
=x_includes
;;
1181 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1182 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1183 x_includes
=$ac_optarg ;;
1185 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1186 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1187 ac_prev
=x_libraries
;;
1188 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1189 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1190 x_libraries
=$ac_optarg ;;
1192 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1193 Try \`$0 --help' for more information"
1197 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1198 # Reject names that are not valid shell variable names.
1199 case $ac_envvar in #(
1200 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1201 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1203 eval $ac_envvar=\
$ac_optarg
1204 export $ac_envvar ;;
1207 # FIXME: should be removed in autoconf 3.0.
1208 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1210 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1211 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1217 if test -n "$ac_prev"; then
1218 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1219 as_fn_error $?
"missing argument to $ac_option"
1222 if test -n "$ac_unrecognized_opts"; then
1223 case $enable_option_checking in
1225 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1226 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1230 # Check all directory arguments for consistency.
1231 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1232 datadir sysconfdir sharedstatedir localstatedir includedir \
1233 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1234 libdir localedir mandir
1236 eval ac_val
=\$
$ac_var
1237 # Remove trailing slashes.
1240 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1241 eval $ac_var=\
$ac_val;;
1243 # Be sure to have absolute directory names.
1245 [\\/$
]* | ?
:[\\/]* ) continue;;
1246 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1248 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1251 # There might be people who depend on the old broken behavior: `$host'
1252 # used to hold the argument of --host etc.
1253 # FIXME: To remove some day.
1256 target
=$target_alias
1258 # FIXME: To remove some day.
1259 if test "x$host_alias" != x
; then
1260 if test "x$build_alias" = x
; then
1261 cross_compiling
=maybe
1262 elif test "x$build_alias" != "x$host_alias"; then
1268 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1270 test "$silent" = yes && exec 6>/dev
/null
1273 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di
=`ls -di .` &&
1275 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1276 as_fn_error $?
"working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278 as_fn_error $?
"pwd does not report name of working directory"
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283 ac_srcdir_defaulted
=yes
1284 # Try the directory containing this script, then the parent directory.
1285 ac_confdir
=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$as_myself" : 'X\(//\)[^/]' \| \
1288 X"$as_myself" : 'X\(//\)$' \| \
1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1313 ac_srcdir_defaulted
=no
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1317 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1319 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1331 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1333 for ac_var
in $ac_precious_vars; do
1334 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1335 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1336 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1337 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1341 # Report the --help message.
1343 if test "$ac_init_help" = "long"; then
1344 # Omit some internal or obsolete options to make the list less imposing.
1345 # This message is too long to be a string in the A/UX 3.1 sh.
1347 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE. See below for descriptions of some of the useful variables.
1354 Defaults for the options are specified in brackets.
1357 -h, --help display this help and exit
1358 --help=short display options specific to this package
1359 --help=recursive display the short help of all the included packages
1360 -V, --version display version information and exit
1361 -q, --quiet, --silent do not print \`checking ...' messages
1362 --cache-file=FILE cache test results in FILE [disabled]
1363 -C, --config-cache alias for \`--cache-file=config.cache'
1364 -n, --no-create do not create output files
1365 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1367 Installation directories:
1368 --prefix=PREFIX install architecture-independent files in PREFIX
1369 [$ac_default_prefix]
1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1378 For better control, use the options below.
1380 Fine tuning of the installation directories:
1381 --bindir=DIR user executables [EPREFIX/bin]
1382 --sbindir=DIR system admin executables [EPREFIX/sbin]
1383 --libexecdir=DIR program executables [EPREFIX/libexec]
1384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1386 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1387 --libdir=DIR object code libraries [EPREFIX/lib]
1388 --includedir=DIR C header files [PREFIX/include]
1389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1392 --infodir=DIR info documentation [DATAROOTDIR/info]
1393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1394 --mandir=DIR man documentation [DATAROOTDIR/man]
1395 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1396 --htmldir=DIR html documentation [DOCDIR]
1397 --dvidir=DIR dvi documentation [DOCDIR]
1398 --pdfdir=DIR pdf documentation [DOCDIR]
1399 --psdir=DIR ps documentation [DOCDIR]
1405 --program-prefix=PREFIX prepend PREFIX to installed program names
1406 --program-suffix=SUFFIX append SUFFIX to installed program names
1407 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1410 --build=BUILD configure
for building on BUILD
[guessed
]
1411 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1412 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1416 if test -n "$ac_init_help"; then
1417 case $ac_init_help in
1418 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1423 --disable-option-checking ignore unrecognized
--enable/--with options
1424 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1425 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1426 --enable-multilib build many library versions
(default
)
1427 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1428 --disable-silent-rules verbose build output
(undo
: "make V=0")
1429 --enable-version-specific-runtime-libs
1430 specify that runtime libraries should be installed
1431 in a compiler-specific directory
1432 --enable-dependency-tracking
1433 do not reject slow dependency extractors
1434 --disable-dependency-tracking
1435 speeds up one-time build
1436 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1437 --enable-static[=PKGS
] build static libraries
[default
=yes]
1438 --enable-fast-install[=PKGS
]
1439 optimize
for fast installation
[default
=yes]
1440 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1441 --enable-darwin-at-rpath
1442 install libraries with @rpath
/library-name
, requires
1443 rpaths to be added to executables
1444 --enable-maintainer-mode
1445 enable make rules and dependencies not useful
(and
1446 sometimes confusing
) to the casual installer
1447 --disable-symvers disable symbol versioning
for libquadmath
1448 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1449 --enable-generated-files-in-srcdir
1450 put copies of generated files
in source dir intended
1451 for creating
source tarballs
for users without
1452 texinfo bison or flex
1455 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1456 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1457 --with-bugurl=URL Direct users to URL to report a bug
1458 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1460 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1461 --with-toolexeclibdir=DIR
1462 install libraries built with a cross compiler within
1464 --with-gcc-major-version-only
1465 use only GCC major number
in filesystem paths
1467 Some influential environment variables
:
1468 CC C compiler
command
1469 CFLAGS C compiler flags
1470 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1471 nonstandard directory
<lib dir
>
1472 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1473 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1474 you have headers
in a nonstandard directory
<include dir
>
1477 Use these variables to override the choices made by
`configure' or to help
1478 it to find libraries and programs with nonstandard names/locations.
1480 Report bugs to the package provider.
1485 if test "$ac_init_help" = "recursive"; then
1486 # If there are subdirs, report their specific --help.
1487 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1488 test -d "$ac_dir" ||
1489 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1497 # A ".." for each directory in $ac_dir_suffix.
1498 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1499 case $ac_top_builddir_sub in
1500 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1504 ac_abs_top_builddir=$ac_pwd
1505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1506 # for backward compatibility:
1507 ac_top_builddir=$ac_top_build_prefix
1510 .) # We are building in place.
1512 ac_top_srcdir=$ac_top_builddir_sub
1513 ac_abs_top_srcdir=$ac_pwd ;;
1514 [\\/]* | ?:[\\/]* ) # Absolute name.
1515 ac_srcdir=$srcdir$ac_dir_suffix;
1516 ac_top_srcdir=$srcdir
1517 ac_abs_top_srcdir=$srcdir ;;
1519 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1520 ac_top_srcdir=$ac_top_build_prefix$srcdir
1521 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1525 cd "$ac_dir" || { ac_status=$?; continue; }
1526 # Check for guested configure.
1527 if test -f "$ac_srcdir/configure.gnu"; then
1529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1530 elif test -f "$ac_srcdir/configure"; then
1532 $SHELL "$ac_srcdir/configure" --help=recursive
1534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536 cd "$ac_pwd" || { ac_status=$?; break; }
1540 test -n "$ac_init_help" && exit $ac_status
1541 if $ac_init_version; then
1543 GCC Quad-precision Math Library configure 0.1
1544 generated by GNU Autoconf 2.69
1546 Copyright (C) 2012 Free Software Foundation, Inc.
1547 This configure script is free software; the Free Software Foundation
1548 gives unlimited permission to copy, distribute and modify it.
1553 ## ------------------------ ##
1554 ## Autoconf initialization. ##
1555 ## ------------------------ ##
1557 # ac_fn_c_try_compile LINENO
1558 # --------------------------
1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_c_try_compile ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 rm -f conftest.$ac_objext
1564 if { { ac_try="$ac_compile"
1566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1567 *) ac_try_echo
=$ac_try;;
1569 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_compile") 2>conftest.err
1573 if test -s conftest.err
; then
1574 grep -v '^ *+' conftest.err
>conftest.er1
1575 cat conftest.er1
>&5
1576 mv -f conftest.er1 conftest.err
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest.
$ac_objext; then :
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.
$ac_ext >&5
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status
$ac_retval
1593 } # ac_fn_c_try_compile
1595 # ac_fn_c_try_cpp LINENO
1596 # ----------------------
1597 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1600 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1601 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } > conftest.i && {
1617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1618 test ! -s conftest.err
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1632 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1633 # -------------------------------------------------------
1634 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1635 # the include files in INCLUDES and setting the cache variable VAR
1637 ac_fn_c_check_header_mongrel ()
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 if eval \${$3+:} false; then :
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642 $as_echo_n "checking for $2... " >&6; }
1643 if eval \${$3+:} false; then :
1644 $as_echo_n "(cached) " >&6
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1650 # Is the header compilable?
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1652 $as_echo_n "checking $2 usability... " >&6; }
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1658 if ac_fn_c_try_compile "$LINENO"; then :
1659 ac_header_compiler=yes
1661 ac_header_compiler=no
1663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1665 $as_echo "$ac_header_compiler" >&6; }
1667 # Is the header present?
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1669 $as_echo_n "checking $2 presence... " >&6; }
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1674 if ac_fn_c_try_cpp "$LINENO"; then :
1675 ac_header_preproc=yes
1677 ac_header_preproc=no
1679 rm -f conftest.err conftest.i conftest.$ac_ext
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1681 $as_echo "$ac_header_preproc" >&6; }
1683 # So? What about this header?
1684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1687 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1689 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1693 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1695 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1697 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1699 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1701 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if eval \${$3+:} false; then :
1707 $as_echo_n "(cached) " >&6
1709 eval "$3=\$ac_header_compiler"
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 } # ac_fn_c_check_header_mongrel
1719 # ac_fn_c_try_run LINENO
1720 # ----------------------
1721 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1722 # that executables *can* be run.
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 if { { ac_try="$ac_link"
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_link") 2>&5
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1737 { { case "(($ac_try" in
1738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_try") 2>&5
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; }; }; then :
1749 $as_echo "$as_me: program exited with status $ac_status" >&5
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 ac_retval=$ac_status
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists and can be compiled using the include files in
1764 # INCLUDES, setting the cache variable VAR accordingly.
1765 ac_fn_c_check_header_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771 $as_echo_n "(cached) " >&6
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1778 if ac_fn_c_try_compile "$LINENO"; then :
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 } # ac_fn_c_check_header_compile
1792 # ac_fn_c_try_link LINENO
1793 # -----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 rm -f conftest.$ac_objext conftest$ac_exeext
1799 if { { ac_try="$ac_link"
1801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1802 *) ac_try_echo
=$ac_try;;
1804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>conftest.err
1808 if test -s conftest.err
; then
1809 grep -v '^ *+' conftest.err
>conftest.er1
1810 cat conftest.er1
>&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } && {
1815 test -z "$ac_c_werror_flag" ||
1816 test ! -s conftest.err
1817 } && test -s conftest
$ac_exeext && {
1818 test "$cross_compiling" = yes ||
1819 test -x conftest
$ac_exeext
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830 # interfere with the next link command; also delete a directory that is
1831 # left behind by Apple's compiler. We do this before executing the actions.
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status
$ac_retval
1836 } # ac_fn_c_try_link
1838 # ac_fn_c_check_func LINENO FUNC VAR
1839 # ----------------------------------
1840 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1841 ac_fn_c_check_func
()
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \
${$3+:} false
; then :
1847 $as_echo_n "(cached) " >&6
1849 if test x
$gcc_no_link = xyes
; then
1850 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1854 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1856 #define $2 innocuous_$2
1858 /* System header to define __stub macros and hopefully few prototypes,
1859 which can conflict with char $2 (); below.
1860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1861 <limits.h> exists even on freestanding compilers. */
1864 # include <limits.h>
1866 # include <assert.h>
1871 /* Override any GCC internal prototype to avoid an error.
1872 Use char because int might match the return type of a GCC
1873 builtin and then its argument prototype would still apply. */
1878 /* The GNU C library defines this for functions which it implements
1879 to always fail with ENOSYS. Some functions are actually named
1880 something starting with __ and the normal name is an alias. */
1881 #if defined __stub_$2 || defined __stub___$2
1893 if ac_fn_c_try_link
"$LINENO"; then :
1898 rm -f core conftest.err conftest.
$ac_objext \
1899 conftest
$ac_exeext conftest.
$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906 } # ac_fn_c_check_func
1907 cat >config.log
<<_ACEOF
1908 This file contains any messages produced by compilers while
1909 running configure, to aid debugging if configure makes a mistake.
1911 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1912 generated by GNU Autoconf 2.69. Invocation command line was
1924 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1925 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1926 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1927 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1928 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1930 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1931 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1933 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1934 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1935 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1936 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1937 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1938 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1939 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir
=.
1948 $as_echo "PATH: $as_dir"
1964 # Keep a trace of the command line.
1965 # Strip out --no-create and --no-recursion so they do not pile up.
1966 # Strip out --silent because we don't want to record it for future runs.
1967 # Also quote any args containing shell meta-characters.
1968 # Make two passes to allow for proper duplicate-argument suppression.
1972 ac_must_keep_next
=false
1978 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1979 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1980 |
-silent |
--silent |
--silen |
--sile |
--sil)
1983 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1986 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1988 as_fn_append ac_configure_args1
" '$ac_arg'"
1989 if test $ac_must_keep_next = true
; then
1990 ac_must_keep_next
=false
# Got value, back to normal.
1993 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1994 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1995 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1996 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1997 case "$ac_configure_args0 " in
1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2001 -* ) ac_must_keep_next
=true
;;
2004 as_fn_append ac_configure_args
" '$ac_arg'"
2009 { ac_configure_args0
=; unset ac_configure_args0
;}
2010 { ac_configure_args1
=; unset ac_configure_args1
;}
2012 # When interrupted or exit'd, cleanup temporary files, and complete
2013 # config.log. We remove comments because anyway the quotes in there
2014 # would cause problems or look ugly.
2015 # WARNING: Use '\'' to represent an apostrophe within the trap.
2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2017 trap 'exit_status=$?
2018 # Save into config.log some information that might help in debugging.
2022 $as_echo "## ---------------- ##
2023 ## Cache variables. ##
2024 ## ---------------- ##"
2026 # The following way of writing the cache mishandles newlines in values,
2028 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2029 eval ac_val=\$$ac_var
2033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2037 _ | IFS | as_nl) ;; #(
2038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2039 *) { eval $ac_var=; unset $ac_var;} ;;
2044 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2045 *${as_nl}ac_space=\ *)
2047 "s/'\''/'\''\\\\'\'''\''/g;
2048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2058 $as_echo "## ----------------- ##
2059 ## Output variables. ##
2060 ## ----------------- ##"
2062 for ac_var in $ac_subst_vars
2064 eval ac_val=\$$ac_var
2066 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2068 $as_echo "$ac_var='\''$ac_val'\''"
2072 if test -n "$ac_subst_files"; then
2073 $as_echo "## ------------------- ##
2074 ## File substitutions. ##
2075 ## ------------------- ##"
2077 for ac_var
in $ac_subst_files
2079 eval ac_val
=\$
$ac_var
2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2083 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -s confdefs.h; then
2089 $as_echo "## ----------- ##
2096 test "$ac_signal" != 0 &&
2097 $as_echo "$as_me: caught signal $ac_signal"
2098 $as_echo "$as_me: exit $exit_status"
2100 rm -f core *.core core.conftest.* &&
2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2104 for ac_signal
in 1 2 13 15; do
2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2110 rm -f -r conftest
* confdefs.h
2112 $as_echo "/* confdefs.h */" > confdefs.h
2114 # Predefined preprocessor variables.
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_NAME "$PACKAGE_NAME"
2120 cat >>confdefs.h
<<_ACEOF
2121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2124 cat >>confdefs.h
<<_ACEOF
2125 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2128 cat >>confdefs.h
<<_ACEOF
2129 #define PACKAGE_STRING "$PACKAGE_STRING"
2132 cat >>confdefs.h
<<_ACEOF
2133 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2136 cat >>confdefs.h
<<_ACEOF
2137 #define PACKAGE_URL "$PACKAGE_URL"
2141 # Let the site file select an alternate cache file if it wants to.
2142 # Prefer an explicitly selected file to automatically selected ones.
2145 if test -n "$CONFIG_SITE"; then
2146 # We do not want a PATH search for config.site.
2147 case $CONFIG_SITE in #((
2148 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2149 */*) ac_site_file1
=$CONFIG_SITE;;
2150 *) ac_site_file1
=.
/$CONFIG_SITE;;
2152 elif test "x$prefix" != xNONE
; then
2153 ac_site_file1
=$prefix/share
/config.site
2154 ac_site_file2
=$prefix/etc
/config.site
2156 ac_site_file1
=$ac_default_prefix/share
/config.site
2157 ac_site_file2
=$ac_default_prefix/etc
/config.site
2159 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2161 test "x$ac_site_file" = xNONE
&& continue
2162 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2165 sed 's/^/| /' "$ac_site_file" >&5
2167 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2169 as_fn_error $?
"failed to load site script $ac_site_file
2170 See \`config.log' for more details" "$LINENO" 5; }
2174 if test -r "$cache_file"; then
2175 # Some versions of bash will fail to source /dev/null (special files
2176 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2177 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2179 $as_echo "$as_me: loading cache $cache_file" >&6;}
2181 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2182 *) .
"./$cache_file";;
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2187 $as_echo "$as_me: creating cache $cache_file" >&6;}
2191 # Check that the precious variables saved in the cache have kept the same
2193 ac_cache_corrupted
=false
2194 for ac_var
in $ac_precious_vars; do
2195 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2196 eval ac_new_set
=\
$ac_env_${ac_var}_set
2197 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2198 eval ac_new_val
=\
$ac_env_${ac_var}_value
2199 case $ac_old_set,$ac_new_set in
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2203 ac_cache_corrupted
=: ;;
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2207 ac_cache_corrupted
=: ;;
2210 if test "x$ac_old_val" != "x$ac_new_val"; then
2211 # differences in whitespace do not lead to failure.
2212 ac_old_val_w
=`echo x $ac_old_val`
2213 ac_new_val_w
=`echo x $ac_new_val`
2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2217 ac_cache_corrupted
=:
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2221 eval $ac_var=\
$ac_old_val
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2224 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2229 # Pass precious variables to config.status.
2230 if test "$ac_new_set" = set; then
2232 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 *) ac_arg
=$ac_var=$ac_new_val ;;
2235 case " $ac_configure_args " in
2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2237 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2241 if $ac_cache_corrupted; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2246 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2248 ## -------------------- ##
2249 ## Main body of script. ##
2250 ## -------------------- ##
2253 ac_cpp
='$CPP $CPPFLAGS'
2254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2262 ac_config_headers
="$ac_config_headers config.h"
2265 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2267 # You will slowly go insane if you do not grok the following fact: when
2268 # building this library, the top-level /target/ becomes the library's /host/.
2270 # configure then causes --target to default to --host, exactly like any
2271 # other package using autoconf. Therefore, 'target' and 'host' will
2272 # always be the same. This makes sense both for native and cross compilers
2273 # just think about it for a little while. :-)
2275 # Also, if this library is being configured as part of a cross compiler, the
2276 # top-level configure script will pass the "real" host as $with_cross_host.
2278 # Do not delete or change the following two lines. For why, see
2279 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2281 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2282 if test -f "$ac_dir/install-sh"; then
2284 ac_install_sh
="$ac_aux_dir/install-sh -c"
2286 elif test -f "$ac_dir/install.sh"; then
2288 ac_install_sh
="$ac_aux_dir/install.sh -c"
2290 elif test -f "$ac_dir/shtool"; then
2292 ac_install_sh
="$ac_aux_dir/shtool install -c"
2296 if test -z "$ac_aux_dir"; then
2297 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2300 # These three variables are undocumented and unsupported,
2301 # and are intended to be withdrawn in a future Autoconf release.
2302 # They can cause serious problems if a builder's source tree is in a directory
2303 # whose full name contains unusual characters.
2304 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2305 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2306 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2309 # Make sure we can run config.sub.
2310 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2311 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2314 $as_echo_n "checking build system type... " >&6; }
2315 if ${ac_cv_build+:} false
; then :
2316 $as_echo_n "(cached) " >&6
2318 ac_build_alias
=$build_alias
2319 test "x$ac_build_alias" = x
&&
2320 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2321 test "x$ac_build_alias" = x
&&
2322 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2323 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2324 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2328 $as_echo "$ac_cv_build" >&6; }
2329 case $ac_cv_build in
2331 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2334 ac_save_IFS
=$IFS; IFS
='-'
2340 # Remember, the first character of IFS is used to create $*,
2341 # except with old shells:
2344 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2348 $as_echo_n "checking host system type... " >&6; }
2349 if ${ac_cv_host+:} false
; then :
2350 $as_echo_n "(cached) " >&6
2352 if test "x$host_alias" = x
; then
2353 ac_cv_host
=$ac_cv_build
2355 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2356 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2361 $as_echo "$ac_cv_host" >&6; }
2364 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2367 ac_save_IFS
=$IFS; IFS
='-'
2373 # Remember, the first character of IFS is used to create $*,
2374 # except with old shells:
2377 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2381 $as_echo_n "checking target system type... " >&6; }
2382 if ${ac_cv_target+:} false
; then :
2383 $as_echo_n "(cached) " >&6
2385 if test "x$target_alias" = x
; then
2386 ac_cv_target
=$ac_cv_host
2388 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2389 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2394 $as_echo "$ac_cv_target" >&6; }
2395 case $ac_cv_target in
2397 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2399 target
=$ac_cv_target
2400 ac_save_IFS
=$IFS; IFS
='-'
2406 # Remember, the first character of IFS is used to create $*,
2407 # except with old shells:
2410 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2413 # The aliases save the names the user supplied, while $host etc.
2414 # will get canonicalized.
2415 test -n "$target_alias" &&
2416 test "$program_prefix$program_suffix$program_transform_name" = \
2418 program_prefix
=${target_alias}-
2420 case ${build_alias} in
2421 "") build_noncanonical
=${build} ;;
2422 *) build_noncanonical
=${build_alias} ;;
2425 case ${host_alias} in
2426 "") host_noncanonical
=${build_noncanonical} ;;
2427 *) host_noncanonical
=${host_alias} ;;
2430 case ${target_alias} in
2431 "") target_noncanonical
=${host_noncanonical} ;;
2432 *) target_noncanonical
=${target_alias} ;;
2438 # Default to --enable-multilib
2439 # Check whether --enable-multilib was given.
2440 if test "${enable_multilib+set}" = set; then :
2441 enableval
=$enable_multilib; case "$enableval" in
2442 yes) multilib
=yes ;;
2444 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2451 # We may get other options which we leave undocumented:
2452 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2453 # See config-ml.in if you want the gory details.
2455 if test "$srcdir" = "."; then
2456 if test "$with_target_subdir" != "."; then
2457 multi_basedir
="$srcdir/$with_multisrctop../.."
2459 multi_basedir
="$srcdir/$with_multisrctop.."
2462 multi_basedir
="$srcdir/.."
2466 # Even if the default multilib is not a cross compilation,
2467 # it may be that some of the other multilibs are.
2468 if test $cross_compiling = no
&& test $multilib = yes \
2469 && test "x${with_multisubdir}" != x
; then
2470 cross_compiling
=maybe
2473 ac_config_commands
="$ac_config_commands default-1"
2476 target_alias
=${target_alias-$host_alias}
2479 am__api_version
='1.15'
2481 # Find a good install program. We prefer a C program (faster),
2482 # so one script is as good as another. But avoid the broken or
2483 # incompatible versions:
2484 # SysV /etc/install, /usr/sbin/install
2485 # SunOS /usr/etc/install
2486 # IRIX /sbin/install
2488 # AmigaOS /C/install, which installs bootblocks on floppy discs
2489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2492 # OS/2's system install, which has a completely different semantic
2493 # ./install, which can be erroneously created by make from ./install.sh.
2494 # Reject install programs that cannot install multiple files.
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2496 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2497 if test -z "$INSTALL"; then
2498 if ${ac_cv_path_install+:} false
; then :
2499 $as_echo_n "(cached) " >&6
2501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir
=.
2506 # Account for people who put trailing slashes in PATH elements.
2507 case $as_dir/ in #((
2508 .
/ | .
// |
/[cC
]/* | \
2509 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2510 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2513 # OSF1 and SCO ODT 3.0 have their own names for install.
2514 # Don't use installbsd from OSF since it installs stuff as root
2516 for ac_prog
in ginstall scoinst
install; do
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2519 if test $ac_prog = install &&
2520 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2521 # AIX install. It has an incompatible calling convention.
2523 elif test $ac_prog = install &&
2524 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2525 # program-specific install script used by HP pwplus--don't use.
2528 rm -rf conftest.one conftest.two conftest.dir
2529 echo one
> conftest.one
2530 echo two
> conftest.two
2532 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2533 test -s conftest.one
&& test -s conftest.two
&&
2534 test -s conftest.dir
/conftest.one
&&
2535 test -s conftest.dir
/conftest.two
2537 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2550 rm -rf conftest.one conftest.two conftest.dir
2553 if test "${ac_cv_path_install+set}" = set; then
2554 INSTALL
=$ac_cv_path_install
2556 # As a last resort, use the slow shell script. Don't cache a
2557 # value for INSTALL within a source directory, because that will
2558 # break other packages using the cache if that directory is
2559 # removed, or if the value is a relative name.
2560 INSTALL
=$ac_install_sh
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2564 $as_echo "$INSTALL" >&6; }
2566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2567 # It thinks the first close brace ends the variable substitution.
2568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2572 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2575 $as_echo_n "checking whether build environment is sane... " >&6; }
2576 # Reject unsafe characters in $srcdir or the absolute working directory
2577 # name. Accept space and tab only in the latter.
2581 *[\\\"\
#\$\&\'\`$am_lf]*)
2582 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2585 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2586 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2589 # Do 'set' in a subshell so we don't clobber the current shell's
2590 # arguments. Must try -L first in case configure is actually a
2591 # symlink; some systems play weird games with the mod time of symlinks
2592 # (eg FreeBSD returns the mod time of the symlink's containing
2596 for am_try
in 1 2; do
2597 echo "timestamp, slept: $am_has_slept" > conftest.
file
2598 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2599 if test "$*" = "X"; then
2601 set X
`ls -t "$srcdir/configure" conftest.file`
2603 if test "$*" != "X $srcdir/configure conftest.file" \
2604 && test "$*" != "X conftest.file $srcdir/configure"; then
2606 # If neither matched, then we have a broken ls. This can happen
2607 # if, for instance, CONFIG_SHELL is bash and it inherits a
2608 # broken ls alias from the environment. This has actually
2609 # happened. Such a system could not be considered "sane".
2610 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2611 alias in your environment" "$LINENO" 5
2613 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2620 test "$2" = conftest.
file
2626 as_fn_error $?
"newly created file is older than distributed files!
2627 Check your system clock" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2630 $as_echo "yes" >&6; }
2631 # If we didn't sleep, we still need to ensure time stamps of config.status and
2632 # generated files are strictly newer.
2634 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2641 test "$program_prefix" != NONE
&&
2642 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2643 # Use a double $ so make ignores it.
2644 test "$program_suffix" != NONE
&&
2645 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2646 # Double any \ or $.
2647 # By default was `s,x,x', remove it if useless.
2648 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2649 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2651 # Expand $ac_aux_dir to an absolute path.
2652 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2654 if test x
"${MISSING+set}" != xset
; then
2657 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2659 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2662 # Use eval to expand $SHELL
2663 if eval "$MISSING --is-lightweight"; then
2664 am_missing_run
="$MISSING "
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2668 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2671 if test x
"${install_sh+set}" != xset
; then
2674 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2676 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2680 # Installed binaries are usually stripped using 'strip' when the user
2681 # run "make install-strip". However 'strip' might not be the right
2682 # tool to use in cross-compilation environments, therefore Automake
2683 # will honor the 'STRIP' environment variable to overrule this program.
2684 if test "$cross_compiling" != no
; then
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2687 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_STRIP+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$STRIP"; then
2694 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2703 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 STRIP
=$ac_cv_prog_STRIP
2714 if test -n "$STRIP"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2716 $as_echo "$STRIP" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_STRIP"; then
2726 # Extract the first word of "strip", so it can be a program name with args.
2727 set dummy strip
; ac_word
=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_STRIP"; then
2734 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir
=.
2741 for ac_exec_ext
in '' $ac_executable_extensions; do
2742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2743 ac_cv_prog_ac_ct_STRIP
="strip"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2754 if test -n "$ac_ct_STRIP"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2756 $as_echo "$ac_ct_STRIP" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_STRIP" = x
; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned
=yes ;;
2774 STRIP
="$ac_cv_prog_STRIP"
2778 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2782 if test -z "$MKDIR_P"; then
2783 if ${ac_cv_path_mkdir+:} false
; then :
2784 $as_echo_n "(cached) " >&6
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2790 test -z "$as_dir" && as_dir
=.
2791 for ac_prog
in mkdir gmkdir
; do
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2794 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2795 'mkdir (GNU coreutils) '* | \
2796 'mkdir (coreutils) '* | \
2797 'mkdir (fileutils) '4.1*)
2798 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2808 test -d .
/--version && rmdir .
/--version
2809 if test "${ac_cv_path_mkdir+set}" = set; then
2810 MKDIR_P
="$ac_cv_path_mkdir -p"
2812 # As a last resort, use the slow shell script. Don't cache a
2813 # value for MKDIR_P within a source directory, because that will
2814 # break other packages using the cache if that directory is
2815 # removed, or if the value is a relative name.
2816 MKDIR_P
="$ac_install_sh -d"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2820 $as_echo "$MKDIR_P" >&6; }
2822 for ac_prog
in gawk mawk nawk
awk
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy
$ac_prog; ac_word
=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_AWK+:} false
; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$AWK"; then
2832 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_AWK
="$ac_prog"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$AWK"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2854 $as_echo "$AWK" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2861 test -n "$AWK" && break
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2867 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2869 $as_echo_n "(cached) " >&6
2871 cat >conftest.
make <<\_ACEOF
2874 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2876 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2879 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2881 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2885 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2892 SET_MAKE
="MAKE=${MAKE-make}"
2895 rm -rf .tst
2>/dev
/null
2896 mkdir .tst
2>/dev
/null
2897 if test -d .tst
; then
2902 rmdir .tst
2>/dev
/null
2904 # Check whether --enable-silent-rules was given.
2905 if test "${enable_silent_rules+set}" = set; then :
2906 enableval
=$enable_silent_rules;
2909 case $enable_silent_rules in # (((
2910 yes) AM_DEFAULT_VERBOSITY
=0;;
2911 no
) AM_DEFAULT_VERBOSITY
=1;;
2912 *) AM_DEFAULT_VERBOSITY
=1;;
2914 am_make
=${MAKE-make}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2916 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2917 if ${am_cv_make_support_nested_variables+:} false
; then :
2918 $as_echo_n "(cached) " >&6
2920 if $as_echo 'TRUE=$(BAR$(V))
2926 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2927 am_cv_make_support_nested_variables
=yes
2929 am_cv_make_support_nested_variables
=no
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2933 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2934 if test $am_cv_make_support_nested_variables = yes; then
2936 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2938 AM_V
=$AM_DEFAULT_VERBOSITY
2939 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2943 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2944 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2945 # is not polluted with repeated "-I."
2946 am__isrc
=' -I$(srcdir)'
2947 # test to see if srcdir already configured
2948 if test -f $srcdir/config.status
; then
2949 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2953 # test whether we have cygpath
2954 if test -z "$CYGPATH_W"; then
2955 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2956 CYGPATH_W
='cygpath -w'
2963 # Define the identity of the package.
2964 PACKAGE
='libquadmath'
2968 cat >>confdefs.h
<<_ACEOF
2969 #define PACKAGE "$PACKAGE"
2973 cat >>confdefs.h
<<_ACEOF
2974 #define VERSION "$VERSION"
2977 # Some tools Automake needs.
2979 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2982 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2985 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2988 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2991 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2993 # For better backward compatibility. To be removed once Automake 1.9.x
2994 # dies out for good. For more background, see:
2995 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2996 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2997 mkdir_p
='$(MKDIR_P)'
2999 # We need awk for the "check" target (and possibly the TAP driver). The
3000 # system "awk" is bad on some platforms.
3001 # Always define AMTAR for backward compatibility. Yes, it's still used
3002 # in the wild :-( We should find a proper way to deprecate it ...
3006 # We'll loop over all known methods to create a tar archive until one works.
3007 _am_tools
='gnutar pax cpio none'
3009 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3016 # POSIX will say in a future version that running "rm -f" with no argument
3017 # is OK; and we want to be able to make that assumption in our Makefile
3018 # recipes. So use an aggressive probe to check that the usage we want is
3019 # actually supported "in the wild" to an acceptable degree.
3020 # See automake bug#10828.
3021 # To make any issue more visible, cause the running configure to be aborted
3022 # by default if the 'rm' program in use doesn't match our expectations; the
3023 # user can still override this though.
3024 if rm -f && rm -fr && rm -rf; then : OK
; else
3028 Your 'rm' program seems unable to run without file operands specified
3029 on the command line, even when the '-f' option is present. This is contrary
3030 to the behaviour of most rm programs out there, and not conforming with
3031 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3033 Please tell bug-automake@gnu.org about your system, including the value
3034 of your $PATH and any error possibly output before this message. This
3035 can help us improve future automake versions.
3038 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3039 echo 'Configuration will proceed anyway, since you have set the' >&2
3040 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3044 Aborting the configuration process, to ensure you take notice of the issue.
3046 You can download and install GNU coreutils to get an 'rm' implementation
3047 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3049 If you want to complete the configuration process using your problematic
3050 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3051 to "yes", and re-run configure.
3054 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
3060 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
3061 # Check whether --enable-version-specific-runtime-libs was given.
3062 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3063 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3064 yes) version_specific_libs
=yes ;;
3065 no
) version_specific_libs
=no
;;
3066 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3069 version_specific_libs
=no
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
3073 $as_echo "$version_specific_libs" >&6; }
3077 DEPDIR
="${am__leading_dot}deps"
3079 ac_config_commands
="$ac_config_commands depfiles"
3082 am_make
=${MAKE-make}
3083 cat > confinc
<< 'END'
3085 @
echo this is the am__doit target
3088 # If we don't find an include directive, just comment out the code.
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3090 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3094 # First try GNU make style include.
3095 echo "include confinc" > confmf
3096 # Ignore all kinds of additional output from 'make'.
3097 case `$am_make -s -f confmf 2> /dev/null` in #(
3098 *the\ am__doit\ target
*)
3104 # Now try BSD make style include.
3105 if test "$am__include" = "#"; then
3106 echo '.include "confinc"' > confmf
3107 case `$am_make -s -f confmf 2> /dev/null` in #(
3108 *the\ am__doit\ target
*)
3109 am__include
=.include
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3118 $as_echo "$_am_result" >&6; }
3119 rm -f confinc confmf
3121 # Check whether --enable-dependency-tracking was given.
3122 if test "${enable_dependency_tracking+set}" = set; then :
3123 enableval
=$enable_dependency_tracking;
3126 if test "x$enable_dependency_tracking" != xno
; then
3127 am_depcomp
="$ac_aux_dir/depcomp"
3131 if test "x$enable_dependency_tracking" != xno; then
3141 ac_cpp
='$CPP $CPPFLAGS'
3142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3145 if test -n "$ac_tool_prefix"; then
3146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_CC+:} false
; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$CC"; then
3154 ac_cv_prog_CC
="$CC" # Let the user override the test.
3156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir
=.
3161 for ac_exec_ext
in '' $ac_executable_extensions; do
3162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 if test -n "$CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176 $as_echo "$CC" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3184 if test -z "$ac_cv_prog_CC"; then
3186 # Extract the first word of "gcc", so it can be a program name with args.
3187 set dummy gcc
; ac_word
=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$ac_ct_CC"; then
3194 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3203 ac_cv_prog_ac_ct_CC
="gcc"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3214 if test -n "$ac_ct_CC"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3216 $as_echo "$ac_ct_CC" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3222 if test "x$ac_ct_CC" = x
; then
3225 case $cross_compiling:$ac_tool_warned in
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3229 ac_tool_warned
=yes ;;
3237 if test -z "$CC"; then
3238 if test -n "$ac_tool_prefix"; then
3239 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3240 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_CC+:} false
; then :
3244 $as_echo_n "(cached) " >&6
3246 if test -n "$CC"; then
3247 ac_cv_prog_CC
="$CC" # Let the user override the test.
3249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir
=.
3254 for ac_exec_ext
in '' $ac_executable_extensions; do
3255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3256 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 if test -n "$CC"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3269 $as_echo "$CC" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3278 if test -z "$CC"; then
3279 # Extract the first word of "cc", so it can be a program name with args.
3280 set dummy cc
; ac_word
=$2
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282 $as_echo_n "checking for $ac_word... " >&6; }
3283 if ${ac_cv_prog_CC+:} false
; then :
3284 $as_echo_n "(cached) " >&6
3286 if test -n "$CC"; then
3287 ac_cv_prog_CC
="$CC" # Let the user override the test.
3290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir
=.
3295 for ac_exec_ext
in '' $ac_executable_extensions; do
3296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3297 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3298 ac_prog_rejected
=yes
3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 if test $ac_prog_rejected = yes; then
3310 # We found a bogon in the path, so make sure we never use it.
3311 set dummy
$ac_cv_prog_CC
3313 if test $# != 0; then
3314 # We chose a different compiler from the bogus one.
3315 # However, it has the same basename, so the bogon will be chosen
3316 # first if we set CC to just the basename; use the full file name.
3318 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3324 if test -n "$CC"; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3326 $as_echo "$CC" >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329 $as_echo "no" >&6; }
3334 if test -z "$CC"; then
3335 if test -n "$ac_tool_prefix"; then
3336 for ac_prog
in cl.exe
3338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3339 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341 $as_echo_n "checking for $ac_word... " >&6; }
3342 if ${ac_cv_prog_CC+:} false
; then :
3343 $as_echo_n "(cached) " >&6
3345 if test -n "$CC"; then
3346 ac_cv_prog_CC
="$CC" # Let the user override the test.
3348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3352 test -z "$as_dir" && as_dir
=.
3353 for ac_exec_ext
in '' $ac_executable_extensions; do
3354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3355 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 if test -n "$CC"; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3368 $as_echo "$CC" >&6; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3375 test -n "$CC" && break
3378 if test -z "$CC"; then
3380 for ac_prog
in cl.exe
3382 # Extract the first word of "$ac_prog", so it can be a program name with args.
3383 set dummy
$ac_prog; ac_word
=$2
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3385 $as_echo_n "checking for $ac_word... " >&6; }
3386 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3387 $as_echo_n "(cached) " >&6
3389 if test -n "$ac_ct_CC"; then
3390 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3396 test -z "$as_dir" && as_dir
=.
3397 for ac_exec_ext
in '' $ac_executable_extensions; do
3398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3399 ac_cv_prog_ac_ct_CC
="$ac_prog"
3400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3410 if test -n "$ac_ct_CC"; then
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3412 $as_echo "$ac_ct_CC" >&6; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415 $as_echo "no" >&6; }
3419 test -n "$ac_ct_CC" && break
3422 if test "x$ac_ct_CC" = x
; then
3425 case $cross_compiling:$ac_tool_warned in
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3429 ac_tool_warned
=yes ;;
3438 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440 as_fn_error $?
"no acceptable C compiler found in \$PATH
3441 See \`config.log' for more details" "$LINENO" 5; }
3443 # Provide some information about the compiler.
3444 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3447 for ac_option
in --version -v -V -qversion; do
3448 { { ac_try
="$ac_compiler $ac_option >&5"
3450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3454 $as_echo "$ac_try_echo"; } >&5
3455 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3457 if test -s conftest.err; then
3459 ... rest of stderr output deleted ...
3460 10q' conftest.err >conftest.er1
3461 cat conftest.er1 >&5
3463 rm -f conftest.er1 conftest.err
3464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465 test $ac_status = 0; }
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3474 printf ("hello world\n");
3480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3481 (eval $ac_link) 2>&5
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }; then :
3489 if test x$gcc_no_link = xyes; then
3490 # Setting cross_compile will disable run tests; it will
3491 # also disable AC_CHECK_FILE but that's generally
3492 # correct if we can't link.
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3507 ac_clean_files_save=$ac_clean_files
3508 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3509 # Try to create an executable without -o first, disregard a.out.
3510 # It will help us diagnose broken compilers, and finding out an intuition
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3513 $as_echo_n "checking whether the C compiler works... " >&6; }
3514 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3516 # The possible output files:
3517 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3520 for ac_file in $ac_files
3523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3524 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3529 if { { ac_try="$ac_link_default"
3531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3532 *) ac_try_echo
=$ac_try;;
3534 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 $as_echo "$ac_try_echo"; } >&5
3536 (eval "$ac_link_default") 2>&5
3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 test $ac_status = 0; }; then :
3540 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3541 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3542 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3543 # so that the user can short-circuit this test for compilers unknown to
3545 for ac_file
in $ac_files ''
3547 test -f "$ac_file" ||
continue
3549 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3552 # We found the default executable, but exeext='' is most
3556 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3558 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3560 # We set ac_cv_exeext here because the later test for it is not
3561 # safe: cross compilers may not add the suffix if given an `-o'
3562 # argument, so we may need to know it at that point already.
3563 # Even if this section looks crufty: it has the advantage of
3570 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3575 if test -z "$ac_file"; then :
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3578 $as_echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3583 as_fn_error
77 "C compiler cannot create executables
3584 See \`config.log' for more details" "$LINENO" 5; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3587 $as_echo "yes" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3590 $as_echo_n "checking for C compiler default output file name... " >&6; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3592 $as_echo "$ac_file" >&6; }
3593 ac_exeext
=$ac_cv_exeext
3595 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3596 ac_clean_files
=$ac_clean_files_save
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3598 $as_echo_n "checking for suffix of executables... " >&6; }
3599 if { { ac_try
="$ac_link"
3601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3605 $as_echo "$ac_try_echo"; } >&5
3606 (eval "$ac_link") 2>&5
3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 test $ac_status = 0; }; then :
3610 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3611 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3612 # work properly (i.e., refer to `conftest.exe'), while it won't with
3614 for ac_file
in conftest.exe conftest conftest.
*; do
3615 test -f "$ac_file" ||
continue
3617 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3618 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3627 See \`config.log' for more details" "$LINENO" 5; }
3629 rm -f conftest conftest
$ac_cv_exeext
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3631 $as_echo "$ac_cv_exeext" >&6; }
3633 rm -f conftest.
$ac_ext
3634 EXEEXT
=$ac_cv_exeext
3636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3642 FILE *f = fopen ("conftest.out", "w");
3643 return ferror (f) || fclose (f) != 0;
3649 ac_clean_files
="$ac_clean_files conftest.out"
3650 # Check that the compiler produces executables we can run. If not, either
3651 # the compiler is broken, or we cross compile.
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3653 $as_echo_n "checking whether we are cross compiling... " >&6; }
3654 if test "$cross_compiling" != yes; then
3655 { { ac_try
="$ac_link"
3657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661 $as_echo "$ac_try_echo"; } >&5
3662 (eval "$ac_link") 2>&5
3664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3665 test $ac_status = 0; }
3666 if { ac_try='./conftest$ac_cv_exeext'
3667 { { case "(($ac_try" in
3668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3669 *) ac_try_echo
=$ac_try;;
3671 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3672 $as_echo "$ac_try_echo"; } >&5
3673 (eval "$ac_try") 2>&5
3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3676 test $ac_status = 0; }; }; then
3679 if test "$cross_compiling" = maybe
; then
3682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3684 as_fn_error $?
"cannot run C compiled programs.
3685 If you meant to cross compile, use \`--host'.
3686 See \`config.log' for more details" "$LINENO" 5; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3691 $as_echo "$cross_compiling" >&6; }
3693 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3694 ac_clean_files
=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3697 $as_echo_n "checking for suffix of object files... " >&6; }
3698 if ${ac_cv_objext+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 rm -f conftest.o conftest.obj
3713 if { { ac_try
="$ac_compile"
3715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720 (eval "$ac_compile") 2>&5
3722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723 test $ac_status = 0; }; then :
3724 for ac_file in conftest.o conftest.obj conftest.*; do
3725 test -f "$ac_file" || continue;
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3728 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3733 $as_echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3739 See \
`config.log' for more details" "$LINENO" 5; }
3741 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3744 $as_echo "$ac_cv_objext" >&6; }
3745 OBJEXT=$ac_cv_objext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3748 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3749 if ${ac_cv_c_compiler_gnu+:} false; then :
3750 $as_echo_n "(cached) " >&6
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3776 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3777 if test $ac_compiler_gnu = yes; then
3782 ac_test_CFLAGS=${CFLAGS+set}
3783 ac_save_CFLAGS=$CFLAGS
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3785 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3786 if ${ac_cv_prog_cc_g+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 ac_save_c_werror_flag=$ac_c_werror_flag
3790 ac_c_werror_flag=yes
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"; then :
3822 ac_c_werror_flag=$ac_save_c_werror_flag
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3835 if ac_fn_c_try_compile "$LINENO"; then :
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 ac_c_werror_flag=$ac_save_c_werror_flag
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3846 $as_echo "$ac_cv_prog_cc_g" >&6; }
3847 if test "$ac_test_CFLAGS" = set; then
3848 CFLAGS=$ac_save_CFLAGS
3849 elif test $ac_cv_prog_cc_g = yes; then
3850 if test "$GCC" = yes; then
3856 if test "$GCC" = yes; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864 if ${ac_cv_prog_cc_c89+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 ac_cv_prog_cc_c89=no
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3875 struct buf { int x; };
3876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3877 static char *e (p, i)
3883 static char *f (char * (*g) (char **, int), char **p, ...)
3888 s = g (p, va_arg (v,int));
3893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3894 function prototypes and stuff, but not '\xHH' hex character constants.
3895 These don't provoke an error unfortunately, instead are silently treated
3896 as 'x'. The following induces an error, until -std is added to get
3897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3898 array size at least. It's necessary to write '\x00'==0 to get something
3899 that's true only with -std. */
3900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3903 inside strings and character constants. */
3905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3907 int test (int i, double x);
3908 struct s1 {int (*f) (int a);};
3909 struct s2 {int (*f) (double a);};
3910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3924 CC="$ac_save_CC $ac_arg"
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 ac_cv_prog_cc_c89=$ac_arg
3928 rm -f core conftest.err conftest.$ac_objext
3929 test "x$ac_cv_prog_cc_c89" != "xno" && break
3931 rm -f conftest.$ac_ext
3936 case "x$ac_cv_prog_cc_c89" in
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3939 $as_echo "none needed" >&6; } ;;
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3942 $as_echo "unsupported" >&6; } ;;
3944 CC="$CC $ac_cv_prog_cc_c89"
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3948 if test "x$ac_cv_prog_cc_c89" != xno; then :
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3964 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3965 if ${am_cv_prog_cc_c_o+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3979 # Make sure it works both with $CC and with simple cc.
3980 # Following AC_PROG_CC_C_O, we do the test twice because some
3981 # compilers refuse to overwrite an existing .o file with -o,
3982 # though they will create one.
3983 am_cv_prog_cc_c_o=yes
3985 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3986 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } \
3990 && test -f conftest2.$ac_objext; then
3993 am_cv_prog_cc_c_o=no
3997 rm -f core conftest*
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4001 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4002 if test "$am_cv_prog_cc_c_o" != yes; then
4003 # Losing compiler, so override with the script.
4004 # FIXME: It is wrong to rewrite CC.
4005 # But if we don't then we get into trouble of one sort or another.
4006 # A longer-term fix would be to have automake use am__CC in this case,
4007 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4008 CC="$am_aux_dir/compile $CC"
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4017 depcc="$CC" am_compiler_list=
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4020 $as_echo_n "checking dependency style of $depcc... " >&6; }
4021 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4025 # We make a subdir and do the tests there. Otherwise we can end up
4026 # making bogus files that we don't know about and never remove. For
4027 # instance it was reported that on HP-UX the gcc test will end up
4028 # making a dummy file named 'D' -- because '-MD' means "put the output
4032 # Copy depcomp to subdir because otherwise we won't find it if we're
4033 # using a relative directory.
4034 cp "$am_depcomp" conftest.dir
4036 # We will build objects and dependencies in a subdirectory because
4037 # it helps to detect inapplicable dependency modes. For instance
4038 # both Tru64's cc and ICC support -MD to output dependencies as a
4039 # side effect of compilation, but ICC will put the dependencies in
4040 # the current directory while Tru64 will put them in the object
4044 am_cv_CC_dependencies_compiler_type=none
4045 if test "$am_compiler_list" = ""; then
4046 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4049 case " $depcc " in #(
4050 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4053 for depmode in $am_compiler_list; do
4054 # Setup a source with many dependencies, because some compilers
4055 # like to wrap large dependency lists on column 80 (with \), and
4056 # we should not choose a depcomp mode which is confused by this.
4058 # We need to recreate these files for each test, as the compiler may
4059 # overwrite some of them when testing with obscure command lines.
4060 # This happens at least with the AIX C compiler.
4062 for i in 1 2 3 4 5 6; do
4063 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4064 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4065 # Solaris 10 /bin/sh.
4066 echo '/* dummy */' > sub/conftst$i.h
4068 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4070 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4071 # mode. It turns out that the SunPro C++ compiler does not properly
4072 # handle '-M -o', and we need to detect this. Also, some Intel
4073 # versions had trouble with output in subdirs.
4074 am__obj=sub/conftest.${OBJEXT-o}
4075 am__minus_obj="-o $am__obj"
4078 # This depmode causes a compiler race in universal mode.
4079 test "$am__universal" = false || continue
4082 # After this tag, mechanisms are not by side-effect, so they'll
4083 # only be used when explicitly requested.
4084 if test "x$enable_dependency_tracking" = xyes; then
4090 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4091 # This compiler won't grok '-c -o', but also, the minuso test has
4092 # not run yet. These depmodes are late enough in the game, and
4093 # so weak that their functioning should not be impacted.
4094 am__obj=conftest.${OBJEXT-o}
4099 if depmode=$depmode \
4100 source=sub/conftest.c object=$am__obj \
4101 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4102 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4103 >/dev/null 2>conftest.err &&
4104 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4105 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4106 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4107 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4108 # icc doesn't choke on unknown options, it will just issue warnings
4109 # or remarks (even with -Werror). So we grep stderr for any message
4110 # that says an option was ignored or not supported.
4111 # When given -MP, icc 7.0 and 7.1 complain thusly:
4112 # icc: Command line warning: ignoring option '-M'; no argument required
4113 # The diagnosis changed in icc 8.0:
4114 # icc: Command line remark: option '-MP' not supported
4115 if (grep 'ignoring option' conftest.err ||
4116 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4117 am_cv_CC_dependencies_compiler_type=$depmode
4126 am_cv_CC_dependencies_compiler_type=none
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4131 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4132 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4135 test "x$enable_dependency_tracking" != xno \
4136 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4138 am__fastdepCC_FALSE='#'
4140 am__fastdepCC_TRUE='#'
4141 am__fastdepCC_FALSE=
4147 ac_cpp='$CPP $CPPFLAGS'
4148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4152 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4153 # On Suns, sometimes $CPP names a directory.
4154 if test -n "$CPP" && test -d "$CPP"; then
4157 if test -z "$CPP"; then
4158 if ${ac_cv_prog_CPP+:} false; then :
4159 $as_echo_n "(cached) " >&6
4161 # Double quotes because CPP needs to be expanded
4162 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4165 for ac_c_preproc_warn_flag in '' yes
4167 # Use a header file that comes with gcc, so configuring glibc
4168 # with a fresh cross-compiler works.
4169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4170 # <limits.h> exists even on freestanding compilers.
4171 # On the NeXT, cc -E runs the code through the compiler's parser,
4172 # not just through cpp. "Syntax error" is here to catch this case.
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4176 # include <limits.h>
4178 # include <assert.h>
4182 if ac_fn_c_try_cpp "$LINENO"; then :
4185 # Broken: fails on valid input.
4188 rm -f conftest.err conftest.i conftest.$ac_ext
4190 # OK, works on sane cases. Now check whether nonexistent headers
4191 # can be detected and how.
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194 #include <ac_nonexistent.h>
4196 if ac_fn_c_try_cpp "$LINENO"; then :
4197 # Broken: success on invalid input.
4200 # Passes both tests.
4204 rm -f conftest.err conftest.i conftest.$ac_ext
4207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4208 rm -f conftest.i conftest.err conftest.
$ac_ext
4209 if $ac_preproc_ok; then :
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4222 $as_echo "$CPP" >&6; }
4224 for ac_c_preproc_warn_flag
in '' yes
4226 # Use a header file that comes with gcc, so configuring glibc
4227 # with a fresh cross-compiler works.
4228 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4229 # <limits.h> exists even on freestanding compilers.
4230 # On the NeXT, cc -E runs the code through the compiler's parser,
4231 # not just through cpp. "Syntax error" is here to catch this case.
4232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4235 # include <limits.h>
4237 # include <assert.h>
4241 if ac_fn_c_try_cpp
"$LINENO"; then :
4244 # Broken: fails on valid input.
4247 rm -f conftest.err conftest.i conftest.
$ac_ext
4249 # OK, works on sane cases. Now check whether nonexistent headers
4250 # can be detected and how.
4251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4253 #include <ac_nonexistent.h>
4255 if ac_fn_c_try_cpp
"$LINENO"; then :
4256 # Broken: success on invalid input.
4259 # Passes both tests.
4263 rm -f conftest.err conftest.i conftest.
$ac_ext
4266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4267 rm -f conftest.i conftest.err conftest.
$ac_ext
4268 if $ac_preproc_ok; then :
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4274 See \`config.log' for more details" "$LINENO" 5; }
4278 ac_cpp
='$CPP $CPPFLAGS'
4279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4285 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4286 if ${ac_cv_path_GREP+:} false
; then :
4287 $as_echo_n "(cached) " >&6
4289 if test -z "$GREP"; then
4290 ac_path_GREP_found
=false
4291 # Loop through the user's path and test for each of PROGNAME-LIST
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4293 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_prog
in grep ggrep
; do
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4300 as_fn_executable_p
"$ac_path_GREP" ||
continue
4301 # Check for GNU ac_path_GREP and select it if it is found.
4302 # Check for GNU $ac_path_GREP
4303 case `"$ac_path_GREP" --version 2>&1` in
4305 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4308 $as_echo_n 0123456789 >"conftest.in"
4311 cat "conftest.in" "conftest.in" >"conftest.tmp"
4312 mv "conftest.tmp" "conftest.in"
4313 cp "conftest.in" "conftest.nl"
4314 $as_echo 'GREP' >> "conftest.nl"
4315 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4316 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4317 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4318 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4319 # Best one so far, save it but keep looking for a better one
4320 ac_cv_path_GREP
="$ac_path_GREP"
4321 ac_path_GREP_max
=$ac_count
4323 # 10*(2^10) chars as input seems more than enough
4324 test $ac_count -gt 10 && break
4326 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4329 $ac_path_GREP_found && break 3
4334 if test -z "$ac_cv_path_GREP"; then
4335 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4338 ac_cv_path_GREP
=$GREP
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4343 $as_echo "$ac_cv_path_GREP" >&6; }
4344 GREP
="$ac_cv_path_GREP"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4348 $as_echo_n "checking for egrep... " >&6; }
4349 if ${ac_cv_path_EGREP+:} false
; then :
4350 $as_echo_n "(cached) " >&6
4352 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4353 then ac_cv_path_EGREP
="$GREP -E"
4355 if test -z "$EGREP"; then
4356 ac_path_EGREP_found
=false
4357 # Loop through the user's path and test for each of PROGNAME-LIST
4358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4359 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4362 test -z "$as_dir" && as_dir
=.
4363 for ac_prog
in egrep; do
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4366 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4367 # Check for GNU ac_path_EGREP and select it if it is found.
4368 # Check for GNU $ac_path_EGREP
4369 case `"$ac_path_EGREP" --version 2>&1` in
4371 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4374 $as_echo_n 0123456789 >"conftest.in"
4377 cat "conftest.in" "conftest.in" >"conftest.tmp"
4378 mv "conftest.tmp" "conftest.in"
4379 cp "conftest.in" "conftest.nl"
4380 $as_echo 'EGREP' >> "conftest.nl"
4381 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4382 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4383 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4384 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4385 # Best one so far, save it but keep looking for a better one
4386 ac_cv_path_EGREP
="$ac_path_EGREP"
4387 ac_path_EGREP_max
=$ac_count
4389 # 10*(2^10) chars as input seems more than enough
4390 test $ac_count -gt 10 && break
4392 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4395 $ac_path_EGREP_found && break 3
4400 if test -z "$ac_cv_path_EGREP"; then
4401 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4404 ac_cv_path_EGREP
=$EGREP
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4410 $as_echo "$ac_cv_path_EGREP" >&6; }
4411 EGREP
="$ac_cv_path_EGREP"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4415 $as_echo_n "checking for ANSI C header files... " >&6; }
4416 if ${ac_cv_header_stdc+:} false
; then :
4417 $as_echo_n "(cached) " >&6
4419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4434 if ac_fn_c_try_compile
"$LINENO"; then :
4435 ac_cv_header_stdc
=yes
4437 ac_cv_header_stdc
=no
4439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4441 if test $ac_cv_header_stdc = yes; then
4442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4449 $EGREP "memchr" >/dev
/null
2>&1; then :
4452 ac_cv_header_stdc
=no
4458 if test $ac_cv_header_stdc = yes; then
4459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4466 $EGREP "free" >/dev
/null
2>&1; then :
4469 ac_cv_header_stdc
=no
4475 if test $ac_cv_header_stdc = yes; then
4476 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4477 if test "$cross_compiling" = yes; then :
4480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4484 #if ((' ' & 0x0FF) == 0x020)
4485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4488 # define ISLOWER(c) \
4489 (('a' <= (c) && (c) <= 'i') \
4490 || ('j' <= (c) && (c) <= 'r') \
4491 || ('s' <= (c) && (c) <= 'z'))
4492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4500 for (i = 0; i < 256; i++)
4501 if (XOR (islower (i), ISLOWER (i))
4502 || toupper (i) != TOUPPER (i))
4507 if ac_fn_c_try_run
"$LINENO"; then :
4510 ac_cv_header_stdc
=no
4512 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4513 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4519 $as_echo "$ac_cv_header_stdc" >&6; }
4520 if test $ac_cv_header_stdc = yes; then
4522 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4527 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4528 inttypes.h stdint.h unistd.h
4530 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4531 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4533 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4534 cat >>confdefs.h
<<_ACEOF
4535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4544 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4545 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4552 if test "$MINIX" = yes; then
4554 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4557 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4560 $as_echo "#define _MINIX 1" >>confdefs.h
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4566 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4567 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4568 $as_echo_n "(cached) " >&6
4570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4573 # define __EXTENSIONS__ 1
4574 $ac_includes_default
4583 if ac_fn_c_try_compile
"$LINENO"; then :
4584 ac_cv_safe_to_define___extensions__
=yes
4586 ac_cv_safe_to_define___extensions__
=no
4588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4591 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4592 test $ac_cv_safe_to_define___extensions__ = yes &&
4593 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4595 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4597 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4599 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4601 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4605 # See if makeinfo has been installed and is modern enough
4606 # that we can use it.
4608 # Extract the first word of "makeinfo", so it can be a program name with args.
4609 set dummy makeinfo
; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$MAKEINFO"; then
4616 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_MAKEINFO
="makeinfo"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 MAKEINFO
=$ac_cv_prog_MAKEINFO
4636 if test -n "$MAKEINFO"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4638 $as_echo "$MAKEINFO" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4645 if test -n "$MAKEINFO"; then
4646 # Found it, now check the version.
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4648 $as_echo_n "checking for modern makeinfo... " >&6; }
4649 if ${gcc_cv_prog_makeinfo_modern+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4653 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4655 case $ac_prog_version in
4656 '') gcc_cv_prog_makeinfo_modern
=no
;;
4657 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4658 *) gcc_cv_prog_makeinfo_modern
=no
;;
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4663 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4665 gcc_cv_prog_makeinfo_modern
=no
4667 if test $gcc_cv_prog_makeinfo_modern = no
; then
4668 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4671 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4673 BUILD_INFO_FALSE
='#'
4682 # Check whether --with-bugurl was given.
4683 if test "${with_bugurl+set}" = set; then :
4684 withval
=$with_bugurl; case "$withval" in
4685 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
4688 *) BUGURL
="$withval"
4692 BUGURL
="https://gcc.gnu.org/bugs/"
4702 REPORT_BUGS_TO
="<$BUGURL>"
4703 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4714 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4719 macro_version
='2.2.7a'
4720 macro_revision
='1.3134'
4734 ltmain
="$ac_aux_dir/ltmain.sh"
4736 # Backslashify metacharacters that are still active within
4737 # double-quoted strings.
4738 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4740 # Same as above, but do not quote variable references.
4741 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4743 # Sed substitution to delay expansion of an escaped shell variable in a
4744 # double_quote_subst'ed string.
4745 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4747 # Sed substitution to delay expansion of an escaped single quote.
4748 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4750 # Sed substitution to avoid accidental globbing in evaled expressions
4751 no_glob_subst
='s/\*/\\\*/g'
4753 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4754 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4755 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4758 $as_echo_n "checking how to print strings... " >&6; }
4759 # Test print first, because it will be a builtin if present.
4760 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4761 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4763 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4766 # Use this function as a fallback that always works.
4767 func_fallback_echo ()
4769 eval 'cat <<_LTECHO_EOF
4773 ECHO='func_fallback_echo
'
4776 # func_echo_all arg...
4777 # Invoke $ECHO with all args, space-separated.
4784 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4785 $as_echo "printf" >&6; } ;;
4786 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4787 $as_echo "print -r" >&6; } ;;
4788 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4789 $as_echo "cat" >&6; } ;;
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4806 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4807 if ${ac_cv_path_SED+:} false; then :
4808 $as_echo_n "(cached) " >&6
4810 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4811 for ac_i in 1 2 3 4 5 6 7; do
4812 ac_script="$ac_script$as_nl$ac_script"
4814 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4815 { ac_script=; unset ac_script;}
4816 if test -z "$SED"; then
4817 ac_path_SED_found=false
4818 # Loop through the user's path and
test for each of PROGNAME-LIST
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_prog
in sed gsed
; do
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4827 as_fn_executable_p
"$ac_path_SED" ||
continue
4828 # Check for GNU ac_path_SED and select it if it is found.
4829 # Check for GNU $ac_path_SED
4830 case `"$ac_path_SED" --version 2>&1` in
4832 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4835 $as_echo_n 0123456789 >"conftest.in"
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo '' >> "conftest.nl"
4842 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4843 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4844 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4845 if test $ac_count -gt ${ac_path_SED_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_SED
="$ac_path_SED"
4848 ac_path_SED_max
=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4853 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4856 $ac_path_SED_found && break 3
4861 if test -z "$ac_cv_path_SED"; then
4862 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4870 $as_echo "$ac_cv_path_SED" >&6; }
4871 SED
="$ac_cv_path_SED"
4874 test -z "$SED" && SED
=sed
4875 Xsed
="$SED -e 1s/^X//"
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4888 $as_echo_n "checking for fgrep... " >&6; }
4889 if ${ac_cv_path_FGREP+:} false
; then :
4890 $as_echo_n "(cached) " >&6
4892 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4893 then ac_cv_path_FGREP
="$GREP -F"
4895 if test -z "$FGREP"; then
4896 ac_path_FGREP_found
=false
4897 # Loop through the user's path and test for each of PROGNAME-LIST
4898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4902 test -z "$as_dir" && as_dir
=.
4903 for ac_prog
in fgrep
; do
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4906 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4907 # Check for GNU ac_path_FGREP and select it if it is found.
4908 # Check for GNU $ac_path_FGREP
4909 case `"$ac_path_FGREP" --version 2>&1` in
4911 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4914 $as_echo_n 0123456789 >"conftest.in"
4917 cat "conftest.in" "conftest.in" >"conftest.tmp"
4918 mv "conftest.tmp" "conftest.in"
4919 cp "conftest.in" "conftest.nl"
4920 $as_echo 'FGREP' >> "conftest.nl"
4921 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4922 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4923 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4924 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4925 # Best one so far, save it but keep looking for a better one
4926 ac_cv_path_FGREP
="$ac_path_FGREP"
4927 ac_path_FGREP_max
=$ac_count
4929 # 10*(2^10) chars as input seems more than enough
4930 test $ac_count -gt 10 && break
4932 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4935 $ac_path_FGREP_found && break 3
4940 if test -z "$ac_cv_path_FGREP"; then
4941 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4944 ac_cv_path_FGREP
=$FGREP
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4950 $as_echo "$ac_cv_path_FGREP" >&6; }
4951 FGREP
="$ac_cv_path_FGREP"
4954 test -z "$GREP" && GREP
=grep
4974 # Check whether --with-gnu-ld was given.
4975 if test "${with_gnu_ld+set}" = set; then :
4976 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4982 if test "$GCC" = yes; then
4983 # Check if gcc -print-prog-name=ld gives a path.
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4985 $as_echo_n "checking for ld used by $CC... " >&6; }
4988 # gcc leaves a trailing carriage return which upsets mingw
4989 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4991 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4994 # Accept absolute paths.
4996 re_direlt
='/[^/][^/]*/\.\./'
4997 # Canonicalize the pathname of ld
4998 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4999 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5000 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5002 test -z "$LD" && LD
="$ac_prog"
5005 # If it fails, then pretend we aren't using GCC.
5009 # If it is relative, then search for the first ld in PATH.
5013 elif test "$with_gnu_ld" = yes; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5015 $as_echo_n "checking for GNU ld... " >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5018 $as_echo_n "checking for non-GNU ld... " >&6; }
5020 if ${lt_cv_path_LD+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -z "$LD"; then
5024 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5025 for ac_dir
in $PATH; do
5027 test -z "$ac_dir" && ac_dir
=.
5028 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5029 lt_cv_path_LD
="$ac_dir/$ac_prog"
5030 # Check to see if the program is GNU ld. I'd rather use --version,
5031 # but apparently some variants of GNU ld only accept -v.
5032 # Break only if it was the GNU/non-GNU ld that we prefer.
5033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5034 *GNU
* |
*'with BFD'*)
5035 test "$with_gnu_ld" != no
&& break
5038 test "$with_gnu_ld" != yes && break
5045 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5050 if test -n "$LD"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5052 $as_echo "$LD" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5057 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5059 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5060 if ${lt_cv_prog_gnu_ld+:} false
; then :
5061 $as_echo_n "(cached) " >&6
5063 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5064 case `$LD -v 2>&1 </dev/null` in
5065 *GNU
* |
*'with BFD'*)
5066 lt_cv_prog_gnu_ld
=yes
5069 lt_cv_prog_gnu_ld
=no
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5074 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5075 with_gnu_ld
=$lt_cv_prog_gnu_ld
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5086 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5087 if ${lt_cv_path_NM+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$NM"; then
5091 # Let the user override the nm to test.
5092 lt_nm_to_check
="$NM"
5094 lt_nm_to_check
="${ac_tool_prefix}nm"
5095 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5096 lt_nm_to_check
="$lt_nm_to_check nm"
5099 for lt_tmp_nm
in "$lt_nm_to_check"; do
5100 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5101 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5103 test -z "$ac_dir" && ac_dir
=.
5104 # Strip out any user-provided options from the nm to test twice,
5105 # the first time to test to see if nm (rather than its options) has
5106 # an explicit path, the second time to yield a file which can be
5108 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5109 case "$tmp_nm_path" in
5110 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5111 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5113 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5114 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5115 # Check to see if the nm accepts a BSD-compat flag.
5116 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5117 # nm: unknown option "B" ignored
5118 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5119 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5123 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5125 lt_cv_path_NM
="$tmp_nm -p"
5129 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5130 continue # so that we can try to find one that supports BSD flags
5139 : ${lt_cv_path_NM=no}
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5142 $as_echo "$lt_cv_path_NM" >&6; }
5143 if test "$lt_cv_path_NM" != "no"; then
5146 # Didn't find any BSD compatible name lister, look for dumpbin.
5147 if test -n "$DUMPBIN"; then :
5148 # Let the user override the test.
5150 if test -n "$ac_tool_prefix"; then
5151 for ac_prog
in dumpbin
"link -dump"
5153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5154 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -n "$DUMPBIN"; then
5161 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 DUMPBIN
=$ac_cv_prog_DUMPBIN
5181 if test -n "$DUMPBIN"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5183 $as_echo "$DUMPBIN" >&6; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5190 test -n "$DUMPBIN" && break
5193 if test -z "$DUMPBIN"; then
5194 ac_ct_DUMPBIN
=$DUMPBIN
5195 for ac_prog
in dumpbin
"link -dump"
5197 # Extract the first word of "$ac_prog", so it can be a program name with args.
5198 set dummy
$ac_prog; ac_word
=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$ac_ct_DUMPBIN"; then
5205 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir
=.
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5225 if test -n "$ac_ct_DUMPBIN"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5227 $as_echo "$ac_ct_DUMPBIN" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5234 test -n "$ac_ct_DUMPBIN" && break
5237 if test "x$ac_ct_DUMPBIN" = x
; then
5240 case $cross_compiling:$ac_tool_warned in
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5244 ac_tool_warned
=yes ;;
5246 DUMPBIN
=$ac_ct_DUMPBIN
5250 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5252 DUMPBIN
="$DUMPBIN -symbols"
5260 if test "$DUMPBIN" != ":"; then
5264 test -z "$NM" && NM
=nm
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5272 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5273 if ${lt_cv_nm_interface+:} false
; then :
5274 $as_echo_n "(cached) " >&6
5276 lt_cv_nm_interface
="BSD nm"
5277 echo "int some_variable = 0;" > conftest.
$ac_ext
5278 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5279 (eval "$ac_compile" 2>conftest.err
)
5280 cat conftest.err
>&5
5281 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5282 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5283 cat conftest.err
>&5
5284 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5285 cat conftest.out
>&5
5286 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5287 lt_cv_nm_interface
="MS dumpbin"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5292 $as_echo "$lt_cv_nm_interface" >&6; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5295 $as_echo_n "checking whether ln -s works... " >&6; }
5297 if test "$LN_S" = "ln -s"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5299 $as_echo "yes" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5302 $as_echo "no, using $LN_S" >&6; }
5305 # find the maximum length of command line arguments
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5307 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5308 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5309 $as_echo_n "(cached) " >&6
5316 # On DJGPP, this test can blow up pretty badly due to problems in libc
5317 # (any single argument exceeding 2000 bytes causes a buffer overrun
5318 # during glob expansion). Even if it were fixed, the result of this
5319 # check would be larger than it should be.
5320 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5324 # Under GNU Hurd, this test is not required because there is
5325 # no limit to the length of command line arguments.
5326 # Libtool will interpret -1 as no limit whatsoever
5327 lt_cv_sys_max_cmd_len
=-1;
5330 cygwin
* | mingw
* | cegcc
*)
5331 # On Win9x/ME, this test blows up -- it succeeds, but takes
5332 # about 5 minutes as the teststring grows exponentially.
5333 # Worse, since 9x/ME are not pre-emptively multitasking,
5334 # you end up with a "frozen" computer, even though with patience
5335 # the test eventually succeeds (with a max line length of 256k).
5336 # Instead, let's just punt: use the minimum linelength reported by
5337 # all of the supported platforms: 8192 (on NT/2K/XP).
5338 lt_cv_sys_max_cmd_len
=8192;
5342 # On MiNT this can take a long time and run out of memory.
5343 lt_cv_sys_max_cmd_len
=8192;
5347 # On AmigaOS with pdksh, this test takes hours, literally.
5348 # So we just punt and use a minimum line length of 8192.
5349 lt_cv_sys_max_cmd_len
=8192;
5352 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5353 # This has been around since 386BSD, at least. Likely further.
5354 if test -x /sbin
/sysctl
; then
5355 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5356 elif test -x /usr
/sbin
/sysctl
; then
5357 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5359 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5361 # And add a safety zone
5362 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5363 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5367 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5368 lt_cv_sys_max_cmd_len
=196608
5372 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5373 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5374 # nice to cause kernel panics so lets avoid the loop below.
5375 # First set a reasonable default.
5376 lt_cv_sys_max_cmd_len
=16384
5378 if test -x /sbin
/sysconfig
; then
5379 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5380 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5385 lt_cv_sys_max_cmd_len
=102400
5387 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5388 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5389 if test -n "$kargmax"; then
5390 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5392 lt_cv_sys_max_cmd_len
=32768
5396 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5397 if test -n "$lt_cv_sys_max_cmd_len"; then
5398 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5399 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5401 # Make teststring a little bigger before we do anything with it.
5402 # a 1K string should be a reasonable start.
5403 for i
in 1 2 3 4 5 6 7 8 ; do
5404 teststring
=$teststring$teststring
5406 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5407 # If test is not a shell built-in, we'll probably end up computing a
5408 # maximum length that is only half of the actual maximum length, but
5410 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5411 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5412 test $i != 17 # 1/2 MB should be enough
5415 teststring
=$teststring$teststring
5417 # Only check the string length outside the loop.
5418 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5420 # Add a significant safety factor because C++ compilers can tack on
5421 # massive amounts of additional arguments before passing them to the
5422 # linker. It appears as though 1/2 is a usable value.
5423 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5430 if test -n $lt_cv_sys_max_cmd_len ; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5432 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5435 $as_echo "none" >&6; }
5437 max_cmd_len
=$lt_cv_sys_max_cmd_len
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5449 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5450 # Try some XSI features
5453 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5455 && eval 'test $(( 1 + 1 )) -eq 2 \
5456 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5459 $as_echo "$xsi_shell" >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5463 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5465 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5467 && lt_shell_append=yes
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5469 $as_echo "$lt_shell_append" >&6; }
5472 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5482 # test EBCDIC or ASCII
5483 case `echo X|tr X '\101'` in
5484 A) # ASCII based system
5485 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5486 lt_SP2NL='tr \040 \012'
5487 lt_NL2SP='tr \015\012 \040\040'
5489 *) # EBCDIC based system
5490 lt_SP2NL='tr \100 \n'
5491 lt_NL2SP='tr \r\n \100\100'
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5504 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5505 if ${lt_cv_ld_reload_flag+:} false; then :
5506 $as_echo_n "(cached
) " >&6
5508 lt_cv_ld_reload_flag='-r'
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5511 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5512 reload_flag=$lt_cv_ld_reload_flag
5513 case $reload_flag in
5515 *) reload_flag=" $reload_flag" ;;
5517 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5520 if test "$GCC" = yes; then
5521 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5523 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5536 if test -n "$ac_tool_prefix"; then
5537 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5538 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5540 $as_echo_n "checking
for $ac_word...
" >&6; }
5541 if ${ac_cv_prog_OBJDUMP+:} false; then :
5542 $as_echo_n "(cached
) " >&6
5544 if test -n "$OBJDUMP"; then
5545 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5564 OBJDUMP=$ac_cv_prog_OBJDUMP
5565 if test -n "$OBJDUMP"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5567 $as_echo "$OBJDUMP" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5570 $as_echo "no
" >&6; }
5575 if test -z "$ac_cv_prog_OBJDUMP"; then
5576 ac_ct_OBJDUMP=$OBJDUMP
5577 # Extract the first word of "objdump
", so it can be a program name with args.
5578 set dummy objdump; ac_word=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5580 $as_echo_n "checking
for $ac_word...
" >&6; }
5581 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5582 $as_echo_n "(cached
) " >&6
5584 if test -n "$ac_ct_OBJDUMP"; then
5585 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 test -z "$as_dir" && as_dir=.
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5604 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5605 if test -n "$ac_ct_OBJDUMP"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5607 $as_echo "$ac_ct_OBJDUMP" >&6; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5610 $as_echo "no
" >&6; }
5613 if test "x
$ac_ct_OBJDUMP" = x; then
5616 case $cross_compiling:$ac_tool_warned in
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5619 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5620 ac_tool_warned=yes ;;
5622 OBJDUMP=$ac_ct_OBJDUMP
5625 OBJDUMP="$ac_cv_prog_OBJDUMP"
5628 test -z "$OBJDUMP" && OBJDUMP=objdump
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5639 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5640 if ${lt_cv_deplibs_check_method+:} false; then :
5641 $as_echo_n "(cached
) " >&6
5643 lt_cv_file_magic_cmd='$MAGIC_CMD'
5644 lt_cv_file_magic_test_file=
5645 lt_cv_deplibs_check_method='unknown'
5646 # Need to set the preceding variable on all platforms that support
5647 # interlibrary dependencies.
5648 # 'none' -- dependencies not supported.
5649 # `unknown' -- same as none, but documents that we really don't know.
5650 # 'pass_all' -- all dependencies passed with no checks.
5651 # 'test_compile' -- check by making test program.
5652 # 'file_magic [[regex]]' -- check by looking for files in library path
5653 # which responds to the $file_magic_cmd with a given extended regex.
5654 # If you have `file' or equivalent on your system and you're not sure
5655 # whether `pass_all' will *always* work, you probably want this one.
5659 lt_cv_deplibs_check_method=pass_all
5663 lt_cv_deplibs_check_method=pass_all
5667 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5668 lt_cv_file_magic_cmd='/usr/bin/file -L'
5669 lt_cv_file_magic_test_file=/shlib/libc.so
5673 # func_win32_libid is a shell function defined in ltmain.sh
5674 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5675 lt_cv_file_magic_cmd='func_win32_libid'
5679 # Base MSYS/MinGW do not provide the 'file' command needed by
5680 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5681 # unless we find 'file', for example because we are cross-compiling.
5682 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5683 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5684 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5685 lt_cv_file_magic_cmd='func_win32_libid'
5687 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5688 lt_cv_file_magic_cmd='$OBJDUMP -f'
5693 # use the weaker test based on 'objdump'. See mingw*.
5694 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5695 lt_cv_file_magic_cmd='$OBJDUMP -f'
5698 darwin* | rhapsody*)
5699 lt_cv_deplibs_check_method=pass_all
5702 freebsd* | dragonfly*)
5703 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5706 # Not sure whether the presence of OpenBSD here was a mistake.
5707 # Let's accept both of them until this is cleared up.
5708 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5709 lt_cv_file_magic_cmd=/usr/bin/file
5710 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5714 lt_cv_deplibs_check_method=pass_all
5719 lt_cv_deplibs_check_method=pass_all
5723 lt_cv_deplibs_check_method=pass_all
5726 hpux10.20* | hpux11*)
5727 lt_cv_file_magic_cmd=/usr/bin/file
5730 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5731 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5734 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]'
5735 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5738 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5739 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5745 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5746 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5749 irix5* | irix6* | nonstopux*)
5751 *-32|*"-32 ") libmagic=32-bit;;
5752 *-n32|*"-n32 ") libmagic=N32;;
5753 *-64|*"-64 ") libmagic=64-bit;;
5754 *) libmagic=never-match;;
5756 lt_cv_deplibs_check_method=pass_all
5759 # This must be Linux ELF.
5760 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
5761 lt_cv_deplibs_check_method=pass_all
5765 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5766 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5768 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5773 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5774 lt_cv_file_magic_cmd=/usr/bin/file
5775 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5779 lt_cv_deplibs_check_method=pass_all
5783 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5784 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5786 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5790 osf3* | osf4* | osf5*)
5791 lt_cv_deplibs_check_method=pass_all
5795 lt_cv_deplibs_check_method=pass_all
5799 lt_cv_deplibs_check_method=pass_all
5802 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5803 lt_cv_deplibs_check_method=pass_all
5807 case $host_vendor in
5809 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]'
5810 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5813 lt_cv_deplibs_check_method=pass_all
5816 lt_cv_file_magic_cmd='/bin/file'
5817 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5820 lt_cv_file_magic_cmd='/bin/file'
5821 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5822 lt_cv_file_magic_test_file=/lib/libc.so
5825 lt_cv_deplibs_check_method=pass_all
5828 lt_cv_deplibs_check_method=pass_all
5834 lt_cv_deplibs_check_method=pass_all
5837 # Assume VxWorks cross toolchains are built on Linux, possibly
5838 # as canadian for Windows hosts.
5839 lt_cv_deplibs_check_method=pass_all
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5845 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5846 file_magic_cmd=$lt_cv_file_magic_cmd
5847 deplibs_check_method=$lt_cv_deplibs_check_method
5848 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5862 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
5863 for plugin in $plugin_names; do
5864 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
5865 if test x$plugin_so = x$plugin; then
5866 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
5868 if test x$plugin_so != x$plugin; then
5869 plugin_option="--plugin $plugin_so"
5874 if test -n "$ac_tool_prefix"; then
5875 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5876 set dummy ${ac_tool_prefix}ar; ac_word=$2
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5878 $as_echo_n "checking
for $ac_word...
" >&6; }
5879 if ${ac_cv_prog_AR+:} false; then :
5880 $as_echo_n "(cached
) " >&6
5882 if test -n "$AR"; then
5883 ac_cv_prog_AR="$AR" # Let the user override the test.
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_AR="${ac_tool_prefix}ar"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5903 if test -n "$AR"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5905 $as_echo "$AR" >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5908 $as_echo "no
" >&6; }
5913 if test -z "$ac_cv_prog_AR"; then
5915 # Extract the first word of "ar", so it can be a program name with args.
5916 set dummy ar; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5918 $as_echo_n "checking
for $ac_word...
" >&6; }
5919 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5920 $as_echo_n "(cached
) " >&6
5922 if test -n "$ac_ct_AR"; then
5923 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_ac_ct_AR="ar"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5942 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5943 if test -n "$ac_ct_AR"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5945 $as_echo "$ac_ct_AR" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5948 $as_echo "no
" >&6; }
5951 if test "x
$ac_ct_AR" = x; then
5954 case $cross_compiling:$ac_tool_warned in
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5957 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5958 ac_tool_warned=yes ;;
5966 test -z "$AR" && AR=ar
5967 if test -n "$plugin_option"; then
5968 if $AR --help 2>&1 | grep -q "\
--plugin"; then
5970 $AR $plugin_option rc conftest.a conftest.c
5971 if test "$?
" != 0; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
5973 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
5975 AR="$AR $plugin_option"
5980 test -z "$AR_FLAGS" && AR_FLAGS=cru
5992 if test -n "$ac_tool_prefix"; then
5993 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5994 set dummy ${ac_tool_prefix}strip; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5996 $as_echo_n "checking
for $ac_word...
" >&6; }
5997 if ${ac_cv_prog_STRIP+:} false; then :
5998 $as_echo_n "(cached
) " >&6
6000 if test -n "$STRIP"; then
6001 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6020 STRIP=$ac_cv_prog_STRIP
6021 if test -n "$STRIP"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6023 $as_echo "$STRIP" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6026 $as_echo "no
" >&6; }
6031 if test -z "$ac_cv_prog_STRIP"; then
6033 # Extract the first word of "strip
", so it can be a program name with args.
6034 set dummy strip; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6036 $as_echo_n "checking
for $ac_word...
" >&6; }
6037 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6038 $as_echo_n "(cached
) " >&6
6040 if test -n "$ac_ct_STRIP"; then
6041 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_ac_ct_STRIP="strip
"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6060 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6061 if test -n "$ac_ct_STRIP"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6063 $as_echo "$ac_ct_STRIP" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6066 $as_echo "no
" >&6; }
6069 if test "x
$ac_ct_STRIP" = x; then
6072 case $cross_compiling:$ac_tool_warned in
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6075 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6076 ac_tool_warned=yes ;;
6081 STRIP="$ac_cv_prog_STRIP"
6084 test -z "$STRIP" && STRIP=:
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6095 $as_echo_n "checking
for $ac_word...
" >&6; }
6096 if ${ac_cv_prog_RANLIB+:} false; then :
6097 $as_echo_n "(cached
) " >&6
6099 if test -n "$RANLIB"; then
6100 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6119 RANLIB=$ac_cv_prog_RANLIB
6120 if test -n "$RANLIB"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6122 $as_echo "$RANLIB" >&6; }
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6125 $as_echo "no
" >&6; }
6130 if test -z "$ac_cv_prog_RANLIB"; then
6131 ac_ct_RANLIB=$RANLIB
6132 # Extract the first word of "ranlib
", so it can be a program name with args.
6133 set dummy ranlib; ac_word=$2
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6135 $as_echo_n "checking
for $ac_word...
" >&6; }
6136 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6137 $as_echo_n "(cached
) " >&6
6139 if test -n "$ac_ct_RANLIB"; then
6140 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6149 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6159 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6160 if test -n "$ac_ct_RANLIB"; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6162 $as_echo "$ac_ct_RANLIB" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6165 $as_echo "no
" >&6; }
6168 if test "x
$ac_ct_RANLIB" = x; then
6171 case $cross_compiling:$ac_tool_warned in
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6174 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6175 ac_tool_warned=yes ;;
6177 RANLIB=$ac_ct_RANLIB
6180 RANLIB="$ac_cv_prog_RANLIB"
6183 test -z "$RANLIB" && RANLIB=:
6184 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6185 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6186 RANLIB="$RANLIB $plugin_option"
6195 # Determine commands to create old-style static archives.
6196 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6197 old_postinstall_cmds='chmod 644 $oldlib'
6198 old_postuninstall_cmds=
6200 if test -n "$RANLIB"; then
6203 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6206 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6209 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6214 lock_old_archive_extraction=yes ;;
6216 lock_old_archive_extraction=no ;;
6257 # If no C compiler was specified, use CC.
6260 # If no C compiler flags were specified, use CFLAGS.
6261 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6263 # Allow CC to be a program name with arguments.
6267 # Check for command to grab the raw symbol name followed by C symbol from nm.
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6269 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6270 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6271 $as_echo_n "(cached
) " >&6
6274 # These are sane defaults that work on at least a few old systems.
6275 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6277 # Character class describing NM global symbol codes.
6278 symcode='[BCDEGRST]'
6280 # Regexp to match symbols that can be accessed directly from C.
6281 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6283 # Define system-specific variables.
6288 cygwin* | mingw* | pw32* | cegcc*)
6289 symcode='[ABCDGISTW]'
6292 if test "$host_cpu" = ia64; then
6293 symcode='[ABCDEGRST]'
6297 symcode='[BCDEGRST]'
6300 symcode='[BCDEGQRST]'
6311 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6319 # If we're using GNU nm, then use its standard symbol codes.
6320 case `$NM -V 2>&1` in
6321 *GNU* | *'with BFD'*)
6322 symcode='[ABCDGIRSTW]' ;;
6325 # Transform an extracted symbol line into a proper C declaration.
6326 # Some systems (esp. on ia64) link data and code symbols differently,
6327 # so use this general approach.
6328 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6330 # Transform an extracted symbol line into symbol name and symbol address
6331 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6332 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'"
6334 # Handle CRLF in mingw tool chain
6338 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6342 # Try without a prefix underscore, then with it.
6343 for ac_symprfx in "" "_
"; do
6345 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6346 symxfrm="\\1 $ac_symprfx\\2 \\2"
6348 # Write the raw and C identifiers.
6349 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6350 # Fake it for dumpbin and say T for any non-static function
6351 # and D for any global variable.
6352 # Also find C++ and __fastcall symbols from MSVC++,
6353 # which start with @ or ?.
6354 lt_cv_sys_global_symbol_pipe="$AWK '"\
6355 " {last_section=section; section=\$ 3};"\
6356 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6357 " \$ 0!~/External *\|/{next};"\
6358 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6359 " {if(hide[section]) next};"\
6360 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6361 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6362 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6363 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6364 " ' prfx
=^
$ac_symprfx"
6366 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6369 # Check to see that the pipe works correctly.
6373 cat > conftest.$ac_ext <<_LT_EOF
6378 void nm_test_func(void);
6379 void nm_test_func(void){}
6383 int main(){nm_test_var='a';nm_test_func();return(0);}
6386 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6387 (eval $ac_compile) 2>&5
6389 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6390 test $ac_status = 0; }; then
6391 # Now try to grab the symbols.
6393 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6394 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6396 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6397 test $ac_status = 0; } && test -s "$nlist"; then
6398 # Try sorting and uniquifying the output.
6399 if sort "$nlist" | uniq > "$nlist"T; then
6400 mv -f "$nlist"T "$nlist"
6405 # Make sure that we snagged all the symbols we need.
6406 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6407 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6408 cat <<_LT_EOF > conftest.$ac_ext
6414 # Now generate the symbol file.
6415 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6417 cat <<_LT_EOF >> conftest.$ac_ext
6419 /* The mapping between symbol names and symbols. */
6424 lt__PROGRAM__LTX_preloaded_symbols[] =
6426 { "@PROGRAM@
", (void *) 0 },
6428 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6429 cat <<\_LT_EOF >> conftest.$ac_ext
6433 /* This works around a problem in FreeBSD linker */
6434 #ifdef FREEBSD_WORKAROUND
6435 static const void *lt_preloaded_setup() {
6436 return lt__PROGRAM__LTX_preloaded_symbols;
6444 # Now try linking the two files.
6445 mv conftest.$ac_objext conftstm.$ac_objext
6446 lt_save_LIBS="$LIBS"
6447 lt_save_CFLAGS="$CFLAGS"
6448 LIBS="conftstm.
$ac_objext"
6449 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6450 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6451 (eval $ac_link) 2>&5
6453 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6454 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6457 LIBS="$lt_save_LIBS"
6458 CFLAGS="$lt_save_CFLAGS"
6460 echo "cannot
find nm_test_func
in $nlist" >&5
6463 echo "cannot
find nm_test_var
in $nlist" >&5
6466 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6469 echo "$progname: failed program was
:" >&5
6470 cat conftest.$ac_ext >&5
6472 rm -rf conftest* conftst*
6474 # Do not use the global_symbol_pipe unless it works.
6475 if test "$pipe_works" = yes; then
6478 lt_cv_sys_global_symbol_pipe=
6484 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6485 lt_cv_sys_global_symbol_to_cdecl=
6487 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6489 $as_echo "failed
" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6492 $as_echo "ok
" >&6; }
6516 # Check whether --enable-libtool-lock was given.
6517 if test "${enable_libtool_lock+set}" = set; then :
6518 enableval=$enable_libtool_lock;
6521 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6523 # Some flags need to be propagated to the compiler or linker for good
6527 # Find out which ABI we are using.
6528 echo 'int i;' > conftest.$ac_ext
6529 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6530 (eval $ac_compile) 2>&5
6532 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6533 test $ac_status = 0; }; then
6534 case `/usr/bin/file conftest.$ac_objext` in
6546 # Find out which ABI we are using.
6547 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6548 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6549 (eval $ac_compile) 2>&5
6551 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6552 test $ac_status = 0; }; then
6553 if test "$lt_cv_prog_gnu_ld" = yes; then
6554 case `/usr/bin/file conftest.$ac_objext` in
6556 LD="${LD-ld} -melf32bsmip"
6559 LD="${LD-ld} -melf32bmipn32"
6562 LD="${LD-ld} -melf64bmip"
6566 case `/usr/bin/file conftest.$ac_objext` in
6582 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6583 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6584 # Find out which ABI we are using.
6585 echo 'int i;' > conftest.$ac_ext
6586 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6587 (eval $ac_compile) 2>&5
6589 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6590 test $ac_status = 0; }; then
6591 case `/usr/bin/file conftest.o` in
6594 x86_64-*kfreebsd*-gnu)
6595 LD="${LD-ld} -m elf_i386_fbsd
"
6598 case `/usr/bin/file conftest.o` in
6600 LD="${LD-ld} -m elf32_x86_64
"
6603 LD="${LD-ld} -m elf_i386
"
6607 powerpc64le-*linux*)
6608 LD="${LD-ld} -m elf32lppclinux
"
6611 LD="${LD-ld} -m elf32ppclinux
"
6614 LD="${LD-ld} -m elf_s390
"
6617 LD="${LD-ld} -m elf32_sparc
"
6623 x86_64-*kfreebsd*-gnu)
6624 LD="${LD-ld} -m elf_x86_64_fbsd
"
6627 LD="${LD-ld} -m elf_x86_64
"
6630 LD="${LD-ld} -m elf64lppc
"
6633 LD="${LD-ld} -m elf64ppc
"
6635 s390*-*linux*|s390*-*tpf*)
6636 LD="${LD-ld} -m elf64_s390
"
6639 LD="${LD-ld} -m elf64_sparc
"
6649 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6650 SAVE_CFLAGS="$CFLAGS"
6651 CFLAGS="$CFLAGS -belf"
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6653 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6654 if ${lt_cv_cc_needs_belf+:} false; then :
6655 $as_echo_n "(cached
) " >&6
6658 ac_cpp='$CPP $CPPFLAGS'
6659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6663 if test x$gcc_no_link = xyes; then
6664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6667 /* end confdefs.h. */
6677 if ac_fn_c_try_link "$LINENO"; then :
6678 lt_cv_cc_needs_belf=yes
6680 lt_cv_cc_needs_belf=no
6682 rm -f core conftest.err conftest.$ac_objext \
6683 conftest$ac_exeext conftest.$ac_ext
6685 ac_cpp='$CPP $CPPFLAGS'
6686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6692 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6693 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6694 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6695 CFLAGS="$SAVE_CFLAGS"
6699 # Find out which ABI we are using.
6700 echo 'int i;' > conftest.$ac_ext
6701 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6702 (eval $ac_compile) 2>&5
6704 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6705 test $ac_status = 0; }; then
6706 case `/usr/bin/file conftest.o` in
6708 case $lt_cv_prog_gnu_ld in
6709 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6711 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6723 need_locks="$enable_libtool_lock"
6727 rhapsody* | darwin*)
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6732 $as_echo_n "checking
for $ac_word...
" >&6; }
6733 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6734 $as_echo_n "(cached
) " >&6
6736 if test -n "$DSYMUTIL"; then
6737 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6756 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6757 if test -n "$DSYMUTIL"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6759 $as_echo "$DSYMUTIL" >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6762 $as_echo "no
" >&6; }
6767 if test -z "$ac_cv_prog_DSYMUTIL"; then
6768 ac_ct_DSYMUTIL=$DSYMUTIL
6769 # Extract the first word of "dsymutil
", so it can be a program name with args.
6770 set dummy dsymutil; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6772 $as_echo_n "checking
for $ac_word...
" >&6; }
6773 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6774 $as_echo_n "(cached
) " >&6
6776 if test -n "$ac_ct_DSYMUTIL"; then
6777 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6796 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6797 if test -n "$ac_ct_DSYMUTIL"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6799 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6802 $as_echo "no
" >&6; }
6805 if test "x
$ac_ct_DSYMUTIL" = x; then
6808 case $cross_compiling:$ac_tool_warned in
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6811 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6812 ac_tool_warned=yes ;;
6814 DSYMUTIL=$ac_ct_DSYMUTIL
6817 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6820 if test -n "$ac_tool_prefix"; then
6821 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6822 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6824 $as_echo_n "checking
for $ac_word...
" >&6; }
6825 if ${ac_cv_prog_NMEDIT+:} false; then :
6826 $as_echo_n "(cached
) " >&6
6828 if test -n "$NMEDIT"; then
6829 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6838 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6848 NMEDIT=$ac_cv_prog_NMEDIT
6849 if test -n "$NMEDIT"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6851 $as_echo "$NMEDIT" >&6; }
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6854 $as_echo "no
" >&6; }
6859 if test -z "$ac_cv_prog_NMEDIT"; then
6860 ac_ct_NMEDIT=$NMEDIT
6861 # Extract the first word of "nmedit
", so it can be a program name with args.
6862 set dummy nmedit; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6864 $as_echo_n "checking
for $ac_word...
" >&6; }
6865 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6866 $as_echo_n "(cached
) " >&6
6868 if test -n "$ac_ct_NMEDIT"; then
6869 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6888 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6889 if test -n "$ac_ct_NMEDIT"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6891 $as_echo "$ac_ct_NMEDIT" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6894 $as_echo "no
" >&6; }
6897 if test "x
$ac_ct_NMEDIT" = x; then
6900 case $cross_compiling:$ac_tool_warned in
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6903 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6904 ac_tool_warned=yes ;;
6906 NMEDIT=$ac_ct_NMEDIT
6909 NMEDIT="$ac_cv_prog_NMEDIT"
6912 if test -n "$ac_tool_prefix"; then
6913 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6914 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6916 $as_echo_n "checking
for $ac_word...
" >&6; }
6917 if ${ac_cv_prog_LIPO+:} false; then :
6918 $as_echo_n "(cached
) " >&6
6920 if test -n "$LIPO"; then
6921 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 test -z "$as_dir" && as_dir=.
6928 for ac_exec_ext in '' $ac_executable_extensions; do
6929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6930 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6940 LIPO=$ac_cv_prog_LIPO
6941 if test -n "$LIPO"; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6943 $as_echo "$LIPO" >&6; }
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6946 $as_echo "no
" >&6; }
6951 if test -z "$ac_cv_prog_LIPO"; then
6953 # Extract the first word of "lipo
", so it can be a program name with args.
6954 set dummy lipo; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6956 $as_echo_n "checking
for $ac_word...
" >&6; }
6957 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6958 $as_echo_n "(cached
) " >&6
6960 if test -n "$ac_ct_LIPO"; then
6961 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_ac_ct_LIPO="lipo
"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6980 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6981 if test -n "$ac_ct_LIPO"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6983 $as_echo "$ac_ct_LIPO" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6986 $as_echo "no
" >&6; }
6989 if test "x
$ac_ct_LIPO" = x; then
6992 case $cross_compiling:$ac_tool_warned in
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6995 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6996 ac_tool_warned=yes ;;
7001 LIPO="$ac_cv_prog_LIPO"
7004 if test -n "$ac_tool_prefix"; then
7005 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7006 set dummy ${ac_tool_prefix}otool; ac_word=$2
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7008 $as_echo_n "checking
for $ac_word...
" >&6; }
7009 if ${ac_cv_prog_OTOOL+:} false; then :
7010 $as_echo_n "(cached
) " >&6
7012 if test -n "$OTOOL"; then
7013 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 test -z "$as_dir" && as_dir=.
7020 for ac_exec_ext in '' $ac_executable_extensions; do
7021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7022 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7032 OTOOL=$ac_cv_prog_OTOOL
7033 if test -n "$OTOOL"; then
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7035 $as_echo "$OTOOL" >&6; }
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7038 $as_echo "no
" >&6; }
7043 if test -z "$ac_cv_prog_OTOOL"; then
7045 # Extract the first word of "otool
", so it can be a program name with args.
7046 set dummy otool; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7048 $as_echo_n "checking
for $ac_word...
" >&6; }
7049 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7050 $as_echo_n "(cached
) " >&6
7052 if test -n "$ac_ct_OTOOL"; then
7053 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir=.
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_ac_ct_OTOOL="otool
"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7072 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7073 if test -n "$ac_ct_OTOOL"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7075 $as_echo "$ac_ct_OTOOL" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7078 $as_echo "no
" >&6; }
7081 if test "x
$ac_ct_OTOOL" = x; then
7084 case $cross_compiling:$ac_tool_warned in
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7087 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7088 ac_tool_warned=yes ;;
7093 OTOOL="$ac_cv_prog_OTOOL"
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7098 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7100 $as_echo_n "checking
for $ac_word...
" >&6; }
7101 if ${ac_cv_prog_OTOOL64+:} false; then :
7102 $as_echo_n "(cached
) " >&6
7104 if test -n "$OTOOL64"; then
7105 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7124 OTOOL64=$ac_cv_prog_OTOOL64
7125 if test -n "$OTOOL64"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7127 $as_echo "$OTOOL64" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7130 $as_echo "no
" >&6; }
7135 if test -z "$ac_cv_prog_OTOOL64"; then
7136 ac_ct_OTOOL64=$OTOOL64
7137 # Extract the first word of "otool64
", so it can be a program name with args.
7138 set dummy otool64; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7140 $as_echo_n "checking
for $ac_word...
" >&6; }
7141 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7142 $as_echo_n "(cached
) " >&6
7144 if test -n "$ac_ct_OTOOL64"; then
7145 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7164 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7165 if test -n "$ac_ct_OTOOL64"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7167 $as_echo "$ac_ct_OTOOL64" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7170 $as_echo "no
" >&6; }
7173 if test "x
$ac_ct_OTOOL64" = x; then
7176 case $cross_compiling:$ac_tool_warned in
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7179 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7180 ac_tool_warned=yes ;;
7182 OTOOL64=$ac_ct_OTOOL64
7185 OTOOL64="$ac_cv_prog_OTOOL64"
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7215 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7216 if ${lt_cv_apple_cc_single_mod+:} false; then :
7217 $as_echo_n "(cached
) " >&6
7219 lt_cv_apple_cc_single_mod=no
7220 if test -z "${LT_MULTI_MODULE}"; then
7221 # By default we will add the -single_module flag. You can override
7222 # by either setting the environment variable LT_MULTI_MODULE
7223 # non-empty at configure time, or by adding -multi_module to the
7225 rm -rf libconftest.dylib*
7226 echo "int foo
(void
){return 1;}" > conftest.c
7227 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7228 -dynamiclib -Wl,-single_module conftest.c
" >&5
7229 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7230 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7232 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7233 lt_cv_apple_cc_single_mod=yes
7235 cat conftest.err >&5
7237 rm -rf libconftest.dylib*
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7242 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7244 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7245 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7246 $as_echo_n "(cached
) " >&6
7248 lt_cv_ld_exported_symbols_list=no
7249 save_LDFLAGS=$LDFLAGS
7250 echo "_main
" > conftest.sym
7251 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7252 if test x$gcc_no_link = xyes; then
7253 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7266 if ac_fn_c_try_link "$LINENO"; then :
7267 lt_cv_ld_exported_symbols_list=yes
7269 lt_cv_ld_exported_symbols_list=no
7271 rm -f core conftest.err conftest.$ac_objext \
7272 conftest$ac_exeext conftest.$ac_ext
7273 LDFLAGS="$save_LDFLAGS"
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7277 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7279 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7280 if ${lt_cv_ld_force_load+:} false; then :
7281 $as_echo_n "(cached
) " >&6
7283 lt_cv_ld_force_load=no
7284 cat > conftest.c << _LT_EOF
7285 int forced_loaded() { return 2;}
7287 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7288 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7289 echo "$AR cru libconftest.a conftest.o
" >&5
7290 $AR cru libconftest.a conftest.o 2>&5
7291 cat > conftest.c << _LT_EOF
7292 int main() { return 0;}
7294 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7295 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7297 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7298 lt_cv_ld_force_load=yes
7300 cat conftest.err >&5
7302 rm -f conftest.err libconftest.a conftest conftest.c
7303 rm -rf conftest.dSYM
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7307 $as_echo "$lt_cv_ld_force_load" >&6; }
7308 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
7309 # build without first building modern cctools / linker.
7310 case $host_cpu-$host_os in
7311 *-rhapsody* | *-darwin1.[012])
7312 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7314 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7316 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
7317 # deployment target is forced to an earlier version.
7318 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
7319 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
7322 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7329 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7330 _lt_dar_single_mod='$single_module'
7332 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7333 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7335 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7337 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7338 _lt_dsymutil='~$DSYMUTIL $lib || :'
7345 for ac_header in dlfcn.h
7347 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7349 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7350 cat >>confdefs.h <<_ACEOF
7351 #define HAVE_DLFCN_H 1
7372 # Check whether --enable-shared was given.
7373 if test "${enable_shared+set}" = set; then :
7374 enableval=$enable_shared; p=${PACKAGE-default}
7376 yes) enable_shared=yes ;;
7377 no) enable_shared=no ;;
7380 # Look at the argument we got. We use all the common list separators.
7381 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7382 for pkg in $enableval; do
7384 if test "X
$pkg" = "X
$p"; then
7403 # Check whether --enable-static was given.
7404 if test "${enable_static+set}" = set; then :
7405 enableval=$enable_static; p=${PACKAGE-default}
7407 yes) enable_static=yes ;;
7408 no) enable_static=no ;;
7411 # Look at the argument we got. We use all the common list separators.
7412 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7413 for pkg in $enableval; do
7415 if test "X
$pkg" = "X
$p"; then
7435 # Check whether --with-pic was given.
7436 if test "${with_pic+set}" = set; then :
7437 withval=$with_pic; pic_mode="$withval"
7443 test -z "$pic_mode" && pic_mode=default
7451 # Check whether --enable-fast-install was given.
7452 if test "${enable_fast_install+set}" = set; then :
7453 enableval=$enable_fast_install; p=${PACKAGE-default}
7455 yes) enable_fast_install=yes ;;
7456 no) enable_fast_install=no ;;
7458 enable_fast_install=no
7459 # Look at the argument we got. We use all the common list separators.
7460 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7461 for pkg in $enableval; do
7463 if test "X
$pkg" = "X
$p"; then
7464 enable_fast_install=yes
7471 enable_fast_install=yes
7484 # This can be used to rebuild libtool when needed
7485 LIBTOOL_DEPS="$ltmain"
7487 # Always use our own libtool.
7488 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7515 test -z "$LN_S" && LN_S="ln -s"
7530 if test -n "${ZSH_VERSION+set}" ; then
7531 setopt NO_GLOB_SUBST
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7535 $as_echo_n "checking
for objdir...
" >&6; }
7536 if ${lt_cv_objdir+:} false; then :
7537 $as_echo_n "(cached
) " >&6
7539 rm -f .libs 2>/dev/null
7540 mkdir .libs 2>/dev/null
7541 if test -d .libs; then
7544 # MS-DOS does not allow filenames that begin with a dot.
7547 rmdir .libs 2>/dev/null
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7550 $as_echo "$lt_cv_objdir" >&6; }
7551 objdir=$lt_cv_objdir
7557 cat >>confdefs.h <<_ACEOF
7558 #define LT_OBJDIR "$lt_cv_objdir/"
7566 # AIX sometimes has problems with the GCC collect2 program. For some
7567 # reason, if we set the COLLECT_NAMES environment variable, the problems
7568 # vanish in a puff of smoke.
7569 if test "X
${COLLECT_NAMES+set}" != Xset; then
7571 export COLLECT_NAMES
7578 can_build_shared=yes
7580 # All known linkers require a `.a' archive for static linking (except MSVC,
7581 # which needs '.lib').
7584 with_gnu_ld="$lt_cv_prog_gnu_ld"
7587 old_CFLAGS="$CFLAGS"
7589 # Set sane defaults for various variables
7590 test -z "$CC" && CC=cc
7591 test -z "$LTCC" && LTCC=$CC
7592 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7593 test -z "$LD" && LD=ld
7594 test -z "$ac_objext" && ac_objext=o
7596 for cc_temp in $compiler""; do
7598 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7599 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7604 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7607 # Only perform the check for file, if the check method requires it
7608 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7609 case $deplibs_check_method in
7611 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7613 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7614 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7615 $as_echo_n "(cached
) " >&6
7619 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7622 lt_save_MAGIC_CMD="$MAGIC_CMD"
7623 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7624 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7625 for ac_dir in $ac_dummy; do
7627 test -z "$ac_dir" && ac_dir=.
7628 if test -f $ac_dir/${ac_tool_prefix}file; then
7629 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7630 if test -n "$file_magic_test_file"; then
7631 case $deplibs_check_method in
7633 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7635 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7636 $EGREP "$file_magic_regex" > /dev/null; then
7641 *** Warning: the command libtool uses to detect shared libraries,
7642 *** $file_magic_cmd, produces output that libtool cannot recognize.
7643 *** The result is that libtool may fail to recognize shared libraries
7644 *** as such. This will affect the creation of libtool libraries that
7645 *** depend on shared libraries, but programs linked with such libtool
7646 *** libraries will work regardless of this problem. Nevertheless, you
7647 *** may want to report the problem to your system manager and/or to
7648 *** bug-libtool@gnu.org
7658 MAGIC_CMD="$lt_save_MAGIC_CMD"
7663 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7664 if test -n "$MAGIC_CMD"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7666 $as_echo "$MAGIC_CMD" >&6; }
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7669 $as_echo "no
" >&6; }
7676 if test -z "$lt_cv_path_MAGIC_CMD"; then
7677 if test -n "$ac_tool_prefix"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7679 $as_echo_n "checking
for file...
" >&6; }
7680 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7681 $as_echo_n "(cached
) " >&6
7685 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7688 lt_save_MAGIC_CMD="$MAGIC_CMD"
7689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7690 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7691 for ac_dir in $ac_dummy; do
7693 test -z "$ac_dir" && ac_dir=.
7694 if test -f $ac_dir/file; then
7695 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7696 if test -n "$file_magic_test_file"; then
7697 case $deplibs_check_method in
7699 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7701 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7702 $EGREP "$file_magic_regex" > /dev/null; then
7707 *** Warning: the command libtool uses to detect shared libraries,
7708 *** $file_magic_cmd, produces output that libtool cannot recognize.
7709 *** The result is that libtool may fail to recognize shared libraries
7710 *** as such. This will affect the creation of libtool libraries that
7711 *** depend on shared libraries, but programs linked with such libtool
7712 *** libraries will work regardless of this problem. Nevertheless, you
7713 *** may want to report the problem to your system manager and/or to
7714 *** bug-libtool@gnu.org
7724 MAGIC_CMD="$lt_save_MAGIC_CMD"
7729 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7730 if test -n "$MAGIC_CMD"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7732 $as_echo "$MAGIC_CMD" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7735 $as_echo "no
" >&6; }
7748 # Use C for the default configuration in the libtool script
7752 ac_cpp='$CPP $CPPFLAGS'
7753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7758 # Source file extension for C test sources.
7761 # Object file extension for compiled C test sources.
7765 # Code to be used in simple compile tests
7766 lt_simple_compile_test_code="int some_variable
= 0;"
7768 # Code to be used in simple link tests
7769 lt_simple_link_test_code='int main(){return(0);}'
7777 # If no C compiler was specified, use CC.
7780 # If no C compiler flags were specified, use CFLAGS.
7781 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7783 # Allow CC to be a program name with arguments.
7786 # Save the default compiler, since it gets overwritten when the other
7787 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7788 compiler_DEFAULT=$CC
7790 # save warnings/boilerplate of simple test code
7791 ac_outfile=conftest.$ac_objext
7792 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7793 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7794 _lt_compiler_boilerplate=`cat conftest.err`
7797 ac_outfile=conftest.$ac_objext
7798 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7799 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7800 _lt_linker_boilerplate=`cat conftest.err`
7805 ## There is no encapsulation within the following macros, do not change
7806 ## the running order or otherwise move them around unless you know exactly
7807 ## what you are doing...
7808 if test -n "$compiler"; then
7810 lt_prog_compiler_no_builtin_flag=
7812 if test "$GCC" = yes; then
7813 case $cc_basename in
7815 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7817 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7821 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7822 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7823 $as_echo_n "(cached
) " >&6
7825 lt_cv_prog_compiler_rtti_exceptions=no
7826 ac_outfile=conftest.$ac_objext
7827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7828 lt_compiler_flag="-fno-rtti -fno-exceptions"
7829 # Insert the option either (1) after the last *FLAGS variable, or
7830 # (2) before a word containing "conftest.
", or (3) at the end.
7831 # Note that $ac_compile itself does not contain backslashes and begins
7832 # with a dollar sign (not a hyphen), so the echo should work correctly.
7833 # The option is referenced via a variable to avoid confusing sed.
7834 lt_compile=`echo "$ac_compile" | $SED \
7835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7837 -e 's:$: $lt_compiler_flag:'`
7838 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7839 (eval "$lt_compile" 2>conftest.err)
7841 cat conftest.err >&5
7842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7843 if (exit $ac_status) && test -s "$ac_outfile"; then
7844 # The compiler can only warn and ignore the option if not recognized
7845 # So say no if there are warnings other than the usual output.
7846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7848 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7849 lt_cv_prog_compiler_rtti_exceptions=yes
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7856 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7858 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7859 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7871 lt_prog_compiler_wl=
7872 lt_prog_compiler_pic=
7873 lt_prog_compiler_static=
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7876 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7878 if test "$GCC" = yes; then
7879 lt_prog_compiler_wl='-Wl,'
7880 lt_prog_compiler_static='-static'
7884 # All AIX code is PIC.
7885 if test "$host_cpu" = ia64; then
7886 # AIX 5 now supports IA64 processor
7887 lt_prog_compiler_static='-Bstatic'
7889 lt_prog_compiler_pic='-fPIC'
7895 # see comment about AmigaOS4 .so support
7896 lt_prog_compiler_pic='-fPIC'
7899 # FIXME: we need at least 68020 code to build shared libraries, but
7900 # adding the `-m68020' flag to GCC prevents building anything better,
7902 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7907 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7908 # PIC is the default for these OSes.
7911 mingw* | cygwin* | pw32* | os2* | cegcc*)
7912 # This hack is so that the source file can tell whether it is being
7913 # built for inclusion in a dll (and should export symbols for example).
7914 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7915 # (--disable-auto-import) libraries
7916 lt_prog_compiler_pic='-DDLL_EXPORT'
7919 darwin* | rhapsody*)
7920 # PIC is the default on this platform
7921 # Common symbols not allowed in MH_DYLIB files
7922 lt_prog_compiler_pic='-fno-common'
7926 # PIC is the default for Haiku.
7927 # The "-static" flag exists, but is broken.
7928 lt_prog_compiler_static=
7932 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7933 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7934 # sets the default TLS model and affects inlining.
7940 lt_prog_compiler_pic='-fPIC'
7946 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7947 # Instead, we relocate shared libraries at runtime.
7951 # Just because we use GCC doesn't mean we suddenly get shared libraries
7952 # on systems that don't support them.
7953 lt_prog_compiler_can_build_shared=no
7958 # QNX uses GNU C++, but need to define -shared option too, otherwise
7960 lt_prog_compiler_pic='-fPIC -shared'
7964 if test -d /usr/nec; then
7965 lt_prog_compiler_pic=-Kconform_pic
7970 lt_prog_compiler_pic='-fPIC'
7974 case $cc_basename in
7975 nvcc*) # Cuda Compiler Driver 2.2
7976 lt_prog_compiler_wl='-Xlinker '
7977 lt_prog_compiler_pic='-Xcompiler -fPIC'
7981 # PORTME Check for flag to pass linker flags through the system compiler.
7984 lt_prog_compiler_wl='-Wl,'
7985 if test "$host_cpu" = ia64; then
7986 # AIX 5 now supports IA64 processor
7987 lt_prog_compiler_static='-Bstatic'
7989 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7993 mingw* | cygwin* | pw32* | os2* | cegcc*)
7994 # This hack is so that the source file can tell whether it is being
7995 # built for inclusion in a dll (and should export symbols for example).
7996 lt_prog_compiler_pic='-DDLL_EXPORT'
7999 hpux9* | hpux10* | hpux11*)
8000 lt_prog_compiler_wl='-Wl,'
8001 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8008 lt_prog_compiler_pic='+Z'
8011 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8012 lt_prog_compiler_static='${wl}-a ${wl}archive'
8015 irix5* | irix6* | nonstopux*)
8016 lt_prog_compiler_wl='-Wl,'
8017 # PIC (with -KPIC) is the default.
8018 lt_prog_compiler_static='-non_shared'
8021 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8022 case $cc_basename in
8023 # old Intel for x86_64 which still supported -KPIC.
8025 lt_prog_compiler_wl='-Wl,'
8026 lt_prog_compiler_pic='-KPIC'
8027 lt_prog_compiler_static='-static'
8029 # icc used to be incompatible with GCC.
8030 # ICC 10 doesn't accept -KPIC any more.
8032 lt_prog_compiler_wl='-Wl,'
8033 lt_prog_compiler_pic='-fPIC'
8034 lt_prog_compiler_static='-static'
8036 # Lahey Fortran 8.1.
8038 lt_prog_compiler_wl='-Wl,'
8039 lt_prog_compiler_pic='--shared'
8040 lt_prog_compiler_static='--static'
8042 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8043 # Portland Group compilers (*not* the Pentium gcc compiler,
8044 # which looks to be a dead project)
8045 lt_prog_compiler_wl='-Wl,'
8046 lt_prog_compiler_pic='-fpic'
8047 lt_prog_compiler_static='-Bstatic'
8050 lt_prog_compiler_wl='-Wl,'
8051 # All Alpha code is PIC.
8052 lt_prog_compiler_static='-non_shared'
8054 xl* | bgxl* | bgf* | mpixl*)
8055 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8056 lt_prog_compiler_wl='-Wl,'
8057 lt_prog_compiler_pic='-qpic'
8058 lt_prog_compiler_static='-qstaticlink'
8061 case `$CC -V 2>&1 | sed 5q` in
8062 *Sun\ F* | *Sun*Fortran*)
8063 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8064 lt_prog_compiler_pic='-KPIC'
8065 lt_prog_compiler_static='-Bstatic'
8066 lt_prog_compiler_wl=''
8070 lt_prog_compiler_pic='-KPIC'
8071 lt_prog_compiler_static='-Bstatic'
8072 lt_prog_compiler_wl='-Wl,'
8080 lt_prog_compiler_pic='-KPIC'
8081 lt_prog_compiler_static='-Bstatic'
8085 # QNX uses GNU C++, but need to define -shared option too, otherwise
8087 lt_prog_compiler_pic='-fPIC -shared'
8090 osf3* | osf4* | osf5*)
8091 lt_prog_compiler_wl='-Wl,'
8092 # All OSF/1 code is PIC.
8093 lt_prog_compiler_static='-non_shared'
8097 lt_prog_compiler_static='-non_shared'
8101 lt_prog_compiler_pic='-KPIC'
8102 lt_prog_compiler_static='-Bstatic'
8103 case $cc_basename in
8105 lt_prog_compiler_wl='-Qoption ld ';;
8107 lt_prog_compiler_wl='-Wl,';;
8112 lt_prog_compiler_wl='-Qoption ld '
8113 lt_prog_compiler_pic='-PIC'
8114 lt_prog_compiler_static='-Bstatic'
8117 sysv4 | sysv4.2uw2* | sysv4.3*)
8118 lt_prog_compiler_wl='-Wl,'
8119 lt_prog_compiler_pic='-KPIC'
8120 lt_prog_compiler_static='-Bstatic'
8124 if test -d /usr/nec ;then
8125 lt_prog_compiler_pic='-Kconform_pic'
8126 lt_prog_compiler_static='-Bstatic'
8130 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8131 lt_prog_compiler_wl='-Wl,'
8132 lt_prog_compiler_pic='-KPIC'
8133 lt_prog_compiler_static='-Bstatic'
8137 lt_prog_compiler_wl='-Wl,'
8138 lt_prog_compiler_can_build_shared=no
8142 lt_prog_compiler_pic='-pic'
8143 lt_prog_compiler_static='-Bstatic'
8147 lt_prog_compiler_can_build_shared=no
8153 # For platforms which do not support PIC, -DPIC is meaningless:
8155 lt_prog_compiler_pic=
8158 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8162 $as_echo "$lt_prog_compiler_pic" >&6; }
8170 # Check to make sure the PIC flag actually works.
8172 if test -n "$lt_prog_compiler_pic"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8174 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8175 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8176 $as_echo_n "(cached
) " >&6
8178 lt_cv_prog_compiler_pic_works=no
8179 ac_outfile=conftest.$ac_objext
8180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8181 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8182 # Insert the option either (1) after the last *FLAGS variable, or
8183 # (2) before a word containing "conftest.
", or (3) at the end.
8184 # Note that $ac_compile itself does not contain backslashes and begins
8185 # with a dollar sign (not a hyphen), so the echo should work correctly.
8186 # The option is referenced via a variable to avoid confusing sed.
8187 lt_compile=`echo "$ac_compile" | $SED \
8188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8190 -e 's:$: $lt_compiler_flag:'`
8191 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8192 (eval "$lt_compile" 2>conftest.err)
8194 cat conftest.err >&5
8195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8196 if (exit $ac_status) && test -s "$ac_outfile"; then
8197 # The compiler can only warn and ignore the option if not recognized
8198 # So say no if there are warnings other than the usual output.
8199 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8200 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8201 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8202 lt_cv_prog_compiler_pic_works=yes
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8209 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8211 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8212 case $lt_prog_compiler_pic in
8214 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8217 lt_prog_compiler_pic=
8218 lt_prog_compiler_can_build_shared=no
8229 # Check to make sure the static flag actually works.
8231 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8233 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8234 if ${lt_cv_prog_compiler_static_works+:} false; then :
8235 $as_echo_n "(cached
) " >&6
8237 lt_cv_prog_compiler_static_works=no
8238 save_LDFLAGS="$LDFLAGS"
8239 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8240 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8241 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8242 # The linker can only warn and ignore the option if not recognized
8243 # So say no if there are warnings
8244 if test -s conftest.err; then
8245 # Append any errors to the config.log.
8246 cat conftest.err 1>&5
8247 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8248 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8249 if diff conftest.exp conftest.er2 >/dev/null; then
8250 lt_cv_prog_compiler_static_works=yes
8253 lt_cv_prog_compiler_static_works=yes
8257 LDFLAGS="$save_LDFLAGS"
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8261 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8263 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8266 lt_prog_compiler_static=
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; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8331 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8332 if ${lt_cv_prog_compiler_c_o+:} false; then :
8333 $as_echo_n "(cached
) " >&6
8335 lt_cv_prog_compiler_c_o=no
8336 $RM -r conftest 2>/dev/null
8340 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8342 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8343 # Insert the option either (1) after the last *FLAGS variable, or
8344 # (2) before a word containing "conftest.
", or (3) at the end.
8345 # Note that $ac_compile itself does not contain backslashes and begins
8346 # with a dollar sign (not a hyphen), so the echo should work correctly.
8347 lt_compile=`echo "$ac_compile" | $SED \
8348 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8350 -e 's:$: $lt_compiler_flag:'`
8351 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8352 (eval "$lt_compile" 2>out/conftest.err)
8354 cat out/conftest.err >&5
8355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8356 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8358 # The compiler can only warn and ignore the option if not recognized
8359 # So say no if there are warnings
8360 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8361 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8362 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8363 lt_cv_prog_compiler_c_o=yes
8368 # SGI C++ compiler will create directory out/ii_files/ for
8369 # template instantiation
8370 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8371 $RM out/* && rmdir out
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8378 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8383 hard_links="nottested
"
8384 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8385 # do not overwrite the value of need_locks provided by the user
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8387 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8390 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8392 ln conftest.a conftest.b 2>&5 || hard_links=no
8393 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8395 $as_echo "$hard_links" >&6; }
8396 if test "$hard_links" = no; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8398 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8411 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8414 allow_undefined_flag=
8415 always_export_symbols=no
8417 archive_expsym_cmds=
8418 compiler_needs_object=no
8419 enable_shared_with_static_runtimes=no
8420 export_dynamic_flag_spec=
8421 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8422 hardcode_automatic=no
8424 hardcode_direct_absolute=no
8425 hardcode_libdir_flag_spec=
8426 hardcode_libdir_flag_spec_ld=
8427 hardcode_libdir_separator=
8429 hardcode_shlibpath_var=unsupported
8431 link_all_deplibs=unknown
8434 old_archive_from_new_cmds=
8435 old_archive_from_expsyms_cmds=
8436 thread_safe_flag_spec=
8437 whole_archive_flag_spec=
8438 # include_expsyms should be a list of space-separated symbols to be *always*
8439 # included in the symbol list
8441 # exclude_expsyms can be an extended regexp of symbols to exclude
8442 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8443 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8444 # as well as any symbol that contains `d'.
8445 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8446 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8447 # platforms (ab)use it in PIC code, but their linkers get confused if
8448 # the symbol is explicitly referenced. Since portable code cannot
8449 # rely on this symbol name, it's probably fine to never include it in
8450 # preloaded symbol tables.
8451 # Exclude shared library initialization/finalization symbols.
8452 extract_expsyms_cmds=
8455 cygwin* | mingw* | pw32* | cegcc*)
8456 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8457 # When not using gcc, we currently assume that we are using
8458 # Microsoft Visual C++.
8459 if test "$GCC" != yes; then
8464 # we just hope/assume this is gcc and not c89 (= MSVC++)
8474 # On some targets, GNU ld is compatible enough with the native linker
8475 # that we're better off using the native interface for both.
8476 lt_use_gnu_ld_interface=no
8477 if test "$with_gnu_ld" = yes; then
8480 # The AIX port of GNU ld has always aspired to compatibility
8481 # with the native linker. However, as the warning in the GNU ld
8482 # block says, versions before 2.19.5* couldn't really create working
8483 # shared libraries, regardless of the interface used.
8484 case `$LD -v 2>&1` in
8485 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8486 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8487 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8489 lt_use_gnu_ld_interface=yes
8494 lt_use_gnu_ld_interface=yes
8499 if test "$lt_use_gnu_ld_interface" = yes; then
8500 # If archive_cmds runs LD, not CC, wlarc should be empty
8503 # Set some defaults for GNU ld with shared library support. These
8504 # are reset later if shared libraries are not supported. Putting them
8505 # here allows them to be overridden if necessary.
8506 runpath_var=LD_RUN_PATH
8507 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8508 export_dynamic_flag_spec='${wl}--export-dynamic'
8509 # ancient GNU ld didn't support --whole-archive et. al.
8510 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8511 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8513 whole_archive_flag_spec=
8515 supports_anon_versioning=no
8516 case `$LD -v 2>&1` in
8517 *GNU\ gold*) supports_anon_versioning=yes ;;
8518 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8519 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8520 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8521 *\ 2.11.*) ;; # other 2.11 versions
8522 *) supports_anon_versioning=yes ;;
8525 # See if GNU ld supports shared libraries.
8528 # On AIX/PPC, the GNU linker is very broken
8529 if test "$host_cpu" != ia64; then
8533 *** Warning: the GNU linker, at least up to release 2.19, is reported
8534 *** to be unable to reliably create shared libraries on AIX.
8535 *** Therefore, libtool is disabling shared libraries support. If you
8536 *** really care for shared libraries, you may want to install binutils
8537 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8538 *** You will then need to restart the configuration process.
8547 # see comment about AmigaOS4 .so support
8548 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549 archive_expsym_cmds=''
8552 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)'
8553 hardcode_libdir_flag_spec
='-L$libdir'
8554 hardcode_minus_L
=yes
8560 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8561 allow_undefined_flag
=unsupported
8562 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8563 # support --undefined. This deserves some investigation. FIXME
8564 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8570 cygwin
* | mingw
* | pw32
* | cegcc
*)
8571 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8572 # as there is no search path for DLLs.
8573 hardcode_libdir_flag_spec
='-L$libdir'
8574 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8575 allow_undefined_flag
=unsupported
8576 always_export_symbols
=no
8577 enable_shared_with_static_runtimes
=yes
8578 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8580 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8581 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8582 # If the export-symbols file already is a .def file (1st line
8583 # is EXPORTS), use it as is; otherwise, prepend...
8584 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8585 cp $export_symbols $output_objdir/$soname.def;
8587 echo EXPORTS > $output_objdir/$soname.def;
8588 cat $export_symbols >> $output_objdir/$soname.def;
8590 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8597 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8598 link_all_deplibs
=yes
8603 hardcode_shlibpath_var
=no
8604 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8605 export_dynamic_flag_spec
='${wl}-E'
8606 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8607 # Instead, shared libraries are loaded at an image base (0x10000000 by
8608 # default) and relocated if they conflict, which is a slow very memory
8609 # consuming and fragmenting process. To avoid this, we pick a random,
8610 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8611 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8612 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8613 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'
8616 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
8618 if test "$host_os" = linux-dietlibc
; then
8619 case $cc_basename in
8620 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8623 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8624 && test "$tmp_diet" = no
8626 tmp_addflag
=' $pic_flag'
8627 tmp_sharedflag
='-shared'
8628 case $cc_basename,$host_cpu in
8629 pgcc
*) # Portland Group C compiler
8630 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'
8631 tmp_addflag
=' $pic_flag'
8633 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8634 # Portland Group f77 and f90 compilers
8635 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'
8636 tmp_addflag
=' $pic_flag -Mnomain' ;;
8637 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8638 tmp_addflag
=' -i_dynamic' ;;
8639 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8640 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8641 ifc
* | ifort
*) # Intel Fortran compiler
8642 tmp_addflag
=' -nofor_main' ;;
8643 lf95
*) # Lahey Fortran 8.1
8644 whole_archive_flag_spec
=
8645 tmp_sharedflag
='--shared' ;;
8646 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8647 tmp_sharedflag
='-qmkshrobj'
8649 nvcc
*) # Cuda Compiler Driver 2.2
8650 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'
8651 compiler_needs_object
=yes
8654 case `$CC -V 2>&1 | sed 5q` in
8655 *Sun\ C
*) # Sun C 5.9
8656 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'
8657 compiler_needs_object
=yes
8658 tmp_sharedflag
='-G' ;;
8659 *Sun\ F
*) # Sun Fortran 8.3
8660 tmp_sharedflag
='-G' ;;
8662 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8664 if test "x$supports_anon_versioning" = xyes
; then
8665 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8666 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8667 echo "local: *; };" >> $output_objdir/$libname.ver~
8668 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8671 case $cc_basename in
8672 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8673 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8674 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8675 hardcode_libdir_flag_spec
=
8676 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8677 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8678 if test "x$supports_anon_versioning" = xyes
; then
8679 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8680 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8681 echo "local: *; };" >> $output_objdir/$libname.ver~
8682 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8692 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8693 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8696 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8697 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8702 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8706 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8707 *** create shared libraries on Solaris systems. Therefore, libtool
8708 *** is disabling shared libraries support. We urge you to upgrade GNU
8709 *** binutils to release 2.9.1 or newer. Another option is to modify
8710 *** your PATH or compiler configuration so that the native linker is
8711 *** used, and then restart.
8714 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8715 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8716 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8722 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8723 case `$LD -v 2>&1` in
8724 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8728 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8729 *** reliably create shared libraries on SCO systems. Therefore, libtool
8730 *** is disabling shared libraries support. We urge you to upgrade GNU
8731 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8732 *** your PATH or compiler configuration so that the native linker is
8733 *** used, and then restart.
8738 # For security reasons, it is highly recommended that you always
8739 # use absolute paths for naming shared libraries, and exclude the
8740 # DT_RUNPATH tag from executables and libraries. But doing so
8741 # requires that you compile everything twice, which is a pain.
8742 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8744 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8745 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8754 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8757 hardcode_shlibpath_var
=no
8761 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8762 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8763 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8770 if test "$ld_shlibs" = no
; then
8772 hardcode_libdir_flag_spec
=
8773 export_dynamic_flag_spec
=
8774 whole_archive_flag_spec
=
8777 # PORTME fill in a description of your system's linker (not GNU ld)
8780 allow_undefined_flag
=unsupported
8781 always_export_symbols
=yes
8782 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'
8783 # Note: this linker hardcodes the directories in LIBPATH if there
8784 # are no directories specified by -L.
8785 hardcode_minus_L
=yes
8786 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8787 # Neither direct hardcoding nor static linking is supported with a
8789 hardcode_direct
=unsupported
8794 if test "$host_cpu" = ia64
; then
8795 # On IA64, the linker does run time linking by default, so we don't
8796 # have to do anything special.
8797 aix_use_runtimelinking
=no
8798 exp_sym_flag
='-Bexport'
8801 # If we're using GNU nm, then we don't want the "-C" option.
8802 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8803 # Also, AIX nm treats weak defined symbols like other global
8804 # defined symbols, whereas GNU nm marks them as "W".
8805 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8806 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'
8808 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'
8810 aix_use_runtimelinking
=no
8812 # Test if we are trying to use run time linking or normal
8813 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8814 # need to do runtime linking.
8815 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8816 for ld_flag
in $LDFLAGS; do
8817 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8818 aix_use_runtimelinking
=yes
8825 exp_sym_flag
='-bexport'
8826 no_entry_flag
='-bnoentry'
8829 # When large executables or shared objects are built, AIX ld can
8830 # have problems creating the table of contents. If linking a library
8831 # or program results in "error TOC overflow" add -mminimal-toc to
8832 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8833 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8837 hardcode_direct_absolute
=yes
8838 hardcode_libdir_separator
=':'
8839 link_all_deplibs
=yes
8840 file_list_spec
='${wl}-f,'
8842 if test "$GCC" = yes; then
8843 case $host_os in aix4.
[012]|aix4.
[012].
*)
8844 # We only want to do this on AIX 4.2 and lower, the check
8845 # below for broken collect2 doesn't work under 4.3+
8846 collect2name
=`${CC} -print-prog-name=collect2`
8847 if test -f "$collect2name" &&
8848 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8850 # We have reworked collect2
8853 # We have old collect2
8854 hardcode_direct
=unsupported
8855 # It fails to find uninstalled libraries when the uninstalled
8856 # path is not listed in the libpath. Setting hardcode_minus_L
8857 # to unsupported forces relinking
8858 hardcode_minus_L
=yes
8859 hardcode_libdir_flag_spec
='-L$libdir'
8860 hardcode_libdir_separator
=
8864 shared_flag
='-shared'
8865 if test "$aix_use_runtimelinking" = yes; then
8866 shared_flag
="$shared_flag "'${wl}-G'
8870 if test "$host_cpu" = ia64
; then
8871 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8872 # chokes on -Wl,-G. The following line is correct:
8875 if test "$aix_use_runtimelinking" = yes; then
8876 shared_flag
='${wl}-G'
8878 shared_flag
='${wl}-bM:SRE'
8883 export_dynamic_flag_spec
='${wl}-bexpall'
8884 # It seems that -bexpall does not export symbols beginning with
8885 # underscore (_), so it is better to generate a list of symbols to export.
8886 always_export_symbols
=yes
8887 if test "$aix_use_runtimelinking" = yes; then
8888 # Warning - without using the other runtime loading flags (-brtl),
8889 # -berok will link without error, but may produce a broken library.
8890 allow_undefined_flag
='-berok'
8891 # Determine the default libpath from the value encoded in an
8893 if test x
$gcc_no_link = xyes
; then
8894 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8907 if ac_fn_c_try_link
"$LINENO"; then :
8909 lt_aix_libpath_sed
='
8910 /Import File Strings/,/^$/ {
8916 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8917 # Check for a 64-bit object if we didn't find anything.
8918 if test -z "$aix_libpath"; then
8919 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8922 rm -f core conftest.err conftest.
$ac_objext \
8923 conftest
$ac_exeext conftest.
$ac_ext
8924 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8926 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8927 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"
8929 if test "$host_cpu" = ia64
; then
8930 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8931 allow_undefined_flag
="-z nodefs"
8932 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"
8934 # Determine the default libpath from the value encoded in an
8936 if test x
$gcc_no_link = xyes
; then
8937 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8950 if ac_fn_c_try_link
"$LINENO"; then :
8952 lt_aix_libpath_sed
='
8953 /Import File Strings/,/^$/ {
8959 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8960 # Check for a 64-bit object if we didn't find anything.
8961 if test -z "$aix_libpath"; then
8962 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8965 rm -f core conftest.err conftest.
$ac_objext \
8966 conftest
$ac_exeext conftest.
$ac_ext
8967 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8969 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8970 # Warning - without using the other run time loading flags,
8971 # -berok will link without error, but may produce a broken library.
8972 no_undefined_flag
=' ${wl}-bernotok'
8973 allow_undefined_flag
=' ${wl}-berok'
8974 if test "$with_gnu_ld" = yes; then
8975 # We only use this code for GNU lds that support --whole-archive.
8976 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8978 # Exported symbols can be pulled into shared objects from archives
8979 whole_archive_flag_spec
='$convenience'
8981 archive_cmds_need_lc
=yes
8982 # This is similar to how AIX traditionally builds its shared libraries.
8983 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'
8991 # see comment about AmigaOS4 .so support
8992 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8993 archive_expsym_cmds
=''
8996 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)'
8997 hardcode_libdir_flag_spec
='-L$libdir'
8998 hardcode_minus_L
=yes
9004 export_dynamic_flag_spec
=-rdynamic
9007 cygwin
* | mingw
* | pw32
* | cegcc
*)
9008 # When not using gcc, we currently assume that we are using
9009 # Microsoft Visual C++.
9010 # hardcode_libdir_flag_spec is actually meaningless, as there is
9011 # no search path for DLLs.
9012 hardcode_libdir_flag_spec
=' '
9013 allow_undefined_flag
=unsupported
9014 # Tell ltmain to make .lib files, not .a files.
9016 # Tell ltmain to make .dll files, not .so files.
9018 # FIXME: Setting linknames here is a bad hack.
9019 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9020 # The linker will automatically build a .lib file if we build a DLL.
9021 old_archive_from_new_cmds
='true'
9022 # FIXME: Should let the user specify the lib program.
9023 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9024 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9025 enable_shared_with_static_runtimes
=yes
9028 darwin
* | rhapsody
*)
9032 # Publish an arg to allow the user to select that Darwin host (and target)
9033 # libraries should be given install-names like @rpath/libfoo.dylib. This
9034 # requires that the user of the library then adds an 'rpath' to the DSO that
9036 # NOTE: there are defaults below, for systems that support rpaths. The person
9037 # configuring can override the defaults for any system version that supports
9038 # them - they are, however, forced off for system versions without support.
9039 # Check whether --enable-darwin-at-rpath was given.
9040 if test "${enable_darwin_at_rpath+set}" = set; then :
9041 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
9042 # This is not supported before macOS 10.5 / Darwin9.
9043 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9044 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
9046 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
9047 enable_darwin_at_rpath
=no
9052 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9053 # As above, before 10.5 / Darwin9 this does not work.
9054 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9055 enable_darwin_at_rpath
=no
9058 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
9059 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
9060 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
9061 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
9063 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
9064 enable_darwin_at_rpath
=yes
9066 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
9067 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
9074 archive_cmds_need_lc
=no
9076 hardcode_automatic
=yes
9077 hardcode_shlibpath_var
=unsupported
9078 if test "$lt_cv_ld_force_load" = "yes"; then
9079 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\"`'
9081 whole_archive_flag_spec
=''
9083 link_all_deplibs
=yes
9084 allow_undefined_flag
="$_lt_dar_allow_undefined"
9085 case $cc_basename in
9086 ifort
*) _lt_dar_can_shared
=yes ;;
9087 *) _lt_dar_can_shared
=$GCC ;;
9089 if test "$_lt_dar_can_shared" = "yes"; then
9090 output_verbose_link_cmd
=func_echo_all
9091 _lt_install_name
='\$rpath/\$soname'
9092 if test "x$enable_darwin_at_rpath" = "xyes"; then
9093 _lt_install_name
='@rpath/\$soname'
9095 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
9096 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9097 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
9098 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}"
9107 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9108 hardcode_libdir_flag_spec
='-L$libdir'
9109 hardcode_shlibpath_var
=no
9112 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9113 # support. Future versions do this automatically, but an explicit c++rt0.o
9114 # does not break anything, and helps significantly (at the cost of a little
9117 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9118 hardcode_libdir_flag_spec
='-R$libdir'
9120 hardcode_shlibpath_var
=no
9123 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9125 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9127 hardcode_minus_L
=yes
9128 hardcode_shlibpath_var
=no
9131 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9132 freebsd
* | dragonfly
*)
9133 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9134 hardcode_libdir_flag_spec
='-R$libdir'
9136 hardcode_shlibpath_var
=no
9140 if test "$GCC" = yes; then
9141 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'
9143 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'
9145 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9146 hardcode_libdir_separator
=:
9149 # hardcode_minus_L: Not really in the search PATH,
9150 # but as the default location of the library.
9151 hardcode_minus_L
=yes
9152 export_dynamic_flag_spec
='${wl}-E'
9156 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9157 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9159 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9161 if test "$with_gnu_ld" = no
; then
9162 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9163 hardcode_libdir_flag_spec_ld
='+b $libdir'
9164 hardcode_libdir_separator
=:
9166 hardcode_direct_absolute
=yes
9167 export_dynamic_flag_spec
='${wl}-E'
9168 # hardcode_minus_L: Not really in the search PATH,
9169 # but as the default location of the library.
9170 hardcode_minus_L
=yes
9175 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9178 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9181 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9184 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9190 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9193 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9197 # Older versions of the 11.00 compiler do not understand -b yet
9198 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9200 $as_echo_n "checking if $CC understands -b... " >&6; }
9201 if ${lt_cv_prog_compiler__b+:} false
; then :
9202 $as_echo_n "(cached) " >&6
9204 lt_cv_prog_compiler__b
=no
9205 save_LDFLAGS
="$LDFLAGS"
9206 LDFLAGS
="$LDFLAGS -b"
9207 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9208 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9209 # The linker can only warn and ignore the option if not recognized
9210 # So say no if there are warnings
9211 if test -s conftest.err
; then
9212 # Append any errors to the config.log.
9213 cat conftest.err
1>&5
9214 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9215 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9216 if diff conftest.exp conftest.er2
>/dev
/null
; then
9217 lt_cv_prog_compiler__b
=yes
9220 lt_cv_prog_compiler__b
=yes
9224 LDFLAGS
="$save_LDFLAGS"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9228 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9230 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9231 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9233 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9239 if test "$with_gnu_ld" = no
; then
9240 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9241 hardcode_libdir_separator
=:
9246 hardcode_shlibpath_var
=no
9250 hardcode_direct_absolute
=yes
9251 export_dynamic_flag_spec
='${wl}-E'
9253 # hardcode_minus_L: Not really in the search PATH,
9254 # but as the default location of the library.
9255 hardcode_minus_L
=yes
9261 irix5
* | irix6
* | nonstopux
*)
9262 if test "$GCC" = yes; then
9263 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'
9264 # Try to use the -exported_symbol ld option, if it does not
9265 # work, assume that -exports_file does not work either and
9266 # implicitly export all symbols.
9267 save_LDFLAGS
="$LDFLAGS"
9268 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9269 if test x
$gcc_no_link = xyes
; then
9270 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9276 if ac_fn_c_try_link
"$LINENO"; then :
9277 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'
9280 rm -f core conftest.err conftest.
$ac_objext \
9281 conftest
$ac_exeext conftest.
$ac_ext
9282 LDFLAGS
="$save_LDFLAGS"
9284 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'
9285 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'
9287 archive_cmds_need_lc
='no'
9288 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9289 hardcode_libdir_separator
=:
9291 link_all_deplibs
=yes
9295 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9296 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9298 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9300 hardcode_libdir_flag_spec
='-R$libdir'
9302 hardcode_shlibpath_var
=no
9306 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9308 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9309 hardcode_libdir_separator
=:
9310 hardcode_shlibpath_var
=no
9317 if test -f /usr
/libexec
/ld.so
; then
9319 hardcode_shlibpath_var
=no
9320 hardcode_direct_absolute
=yes
9321 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9322 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9324 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9325 export_dynamic_flag_spec
='${wl}-E'
9328 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9329 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9330 hardcode_libdir_flag_spec
='-R$libdir'
9333 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9334 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9344 hardcode_libdir_flag_spec
='-L$libdir'
9345 hardcode_minus_L
=yes
9346 allow_undefined_flag
=unsupported
9347 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'
9348 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9352 if test "$GCC" = yes; then
9353 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9354 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'
9356 allow_undefined_flag
=' -expect_unresolved \*'
9357 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'
9359 archive_cmds_need_lc
='no'
9360 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9361 hardcode_libdir_separator
=:
9364 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9365 if test "$GCC" = yes; then
9366 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9367 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'
9368 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9370 allow_undefined_flag
=' -expect_unresolved \*'
9371 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'
9372 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~
9373 $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'
9375 # Both c and cxx compiler support -rpath directly
9376 hardcode_libdir_flag_spec
='-rpath $libdir'
9378 archive_cmds_need_lc
='no'
9379 hardcode_libdir_separator
=:
9383 no_undefined_flag
=' -z defs'
9384 if test "$GCC" = yes; then
9386 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9387 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9388 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9390 case `$CC -V 2>&1` in
9393 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9394 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9395 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9399 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9401 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9405 hardcode_libdir_flag_spec
='-R$libdir'
9406 hardcode_shlibpath_var
=no
9408 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9410 # The compiler driver will combine and reorder linker options,
9411 # but understands `-z linker_flag'. GCC discards it without `$wl',
9412 # but is careful enough not to reorder.
9413 # Supported since Solaris 2.6 (maybe 2.5.1?)
9414 if test "$GCC" = yes; then
9415 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9417 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9421 link_all_deplibs
=yes
9425 if test "x$host_vendor" = xsequent
; then
9426 # Use $CC to link under sequent, because it throws in some extra .o
9427 # files that make .init and .fini sections work.
9428 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9432 hardcode_libdir_flag_spec
='-L$libdir'
9434 hardcode_minus_L
=yes
9435 hardcode_shlibpath_var
=no
9439 case $host_vendor in
9441 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9442 hardcode_direct
=yes # is this really true???
9445 ## LD is ld it makes a PLAMLIB
9446 ## CC just makes a GrossModule.
9447 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9448 reload_cmds
='$CC -r -o $output$reload_objs'
9452 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9453 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9456 runpath_var
='LD_RUN_PATH'
9457 hardcode_shlibpath_var
=no
9461 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9462 hardcode_shlibpath_var
=no
9463 export_dynamic_flag_spec
='-Bexport'
9467 if test -d /usr
/nec
; then
9468 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9469 hardcode_shlibpath_var
=no
9470 runpath_var
=LD_RUN_PATH
9471 hardcode_runpath_var
=yes
9476 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9477 no_undefined_flag
='${wl}-z,text'
9478 archive_cmds_need_lc
=no
9479 hardcode_shlibpath_var
=no
9480 runpath_var
='LD_RUN_PATH'
9482 if test "$GCC" = yes; then
9483 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9484 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9486 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9487 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9491 sysv5
* | sco3.2v5
* | sco5v6
*)
9492 # Note: We can NOT use -z defs as we might desire, because we do not
9493 # link with -lc, and that would cause any symbols used from libc to
9494 # always be unresolved, which means just about no library would
9495 # ever link correctly. If we're not using GNU ld we use -z text
9496 # though, which does catch some bad symbols but isn't as heavy-handed
9498 no_undefined_flag
='${wl}-z,text'
9499 allow_undefined_flag
='${wl}-z,nodefs'
9500 archive_cmds_need_lc
=no
9501 hardcode_shlibpath_var
=no
9502 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9503 hardcode_libdir_separator
=':'
9504 link_all_deplibs
=yes
9505 export_dynamic_flag_spec
='${wl}-Bexport'
9506 runpath_var
='LD_RUN_PATH'
9508 if test "$GCC" = yes; then
9509 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9510 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9513 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9518 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec
='-L$libdir'
9520 hardcode_shlibpath_var
=no
9528 if test x
$host_vendor = xsni
; then
9530 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9531 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9538 $as_echo "$ld_shlibs" >&6; }
9539 test "$ld_shlibs" = no
&& can_build_shared
=no
9541 with_gnu_ld
=$with_gnu_ld
9558 # Do we need to explicitly link libc?
9560 case "x$archive_cmds_need_lc" in
9562 # Assume -lc should be added
9563 archive_cmds_need_lc
=yes
9565 if test "$enable_shared" = yes && test "$GCC" = yes; then
9566 case $archive_cmds in
9568 # FIXME: we may have to deal with multi-command sequences.
9571 # Test whether the compiler implicitly links with -lc since on some
9572 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9573 # to ld, don't add -lc before -lgcc.
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9575 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9576 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9577 $as_echo_n "(cached) " >&6
9580 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9583 (eval $ac_compile) 2>&5
9585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9586 test $ac_status = 0; } 2>conftest.err
; then
9589 libobjs
=conftest.
$ac_objext
9591 wl
=$lt_prog_compiler_wl
9592 pic_flag
=$lt_prog_compiler_pic
9598 lt_save_allow_undefined_flag
=$allow_undefined_flag
9599 allow_undefined_flag
=
9600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9601 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9604 test $ac_status = 0; }
9606 lt_cv_archive_cmds_need_lc
=no
9608 lt_cv_archive_cmds_need_lc
=yes
9610 allow_undefined_flag
=$lt_save_allow_undefined_flag
9612 cat conftest.err
1>&5
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9618 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9619 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9783 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9785 if test "$GCC" = yes; then
9787 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9788 *) lt_awk_arg
="/^libraries:/" ;;
9791 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9792 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9794 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9795 case $lt_search_path_spec in
9797 # if the path contains ";" then we assume it to be the separator
9798 # otherwise default to the standard path separator (i.e. ":") - it is
9799 # assumed that no part of a normal pathname contains ";" but that should
9800 # okay in the real world where ";" in dirpaths is itself problematic.
9801 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9804 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9807 # Ok, now we have the path, separated by spaces, we can step through it
9808 # and add multilib dir if necessary.
9809 lt_tmp_lt_search_path_spec
=
9810 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9811 for lt_sys_path
in $lt_search_path_spec; do
9812 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9813 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9815 test -d "$lt_sys_path" && \
9816 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9819 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9820 BEGIN {RS=" "; FS="/|\n";} {
9823 for (lt_i = NF; lt_i > 0; lt_i--) {
9824 if ($lt_i != "" && $lt_i != ".") {
9825 if ($lt_i == "..") {
9828 if (lt_count == 0) {
9829 lt_foo="/" $lt_i lt_foo;
9836 if (lt_foo != "") { lt_freq[lt_foo]++; }
9837 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9839 # AWK program above erroneously prepends '/' to C:/dos/paths
9842 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9843 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9845 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9847 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9850 libname_spec
='lib$name'
9858 shlibpath_overrides_runpath
=unknown
9860 dynamic_linker
="$host_os ld.so"
9861 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9862 need_lib_prefix
=unknown
9863 hardcode_into_libs
=no
9865 # when you set need_version to no, make sure it does not cause -set_version
9866 # flags to be left without arguments
9867 need_version
=unknown
9872 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9873 shlibpath_var
=LIBPATH
9875 # AIX 3 has no versioning support, so we append a major version to the name.
9876 soname_spec
='${libname}${release}${shared_ext}$major'
9883 hardcode_into_libs
=yes
9884 if test "$host_cpu" = ia64
; then
9885 # AIX 5 supports IA64
9886 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9887 shlibpath_var
=LD_LIBRARY_PATH
9889 # With GCC up to 2.95.x, collect2 would create an import file
9890 # for dependence libraries. The import file would start with
9891 # the line `#! .'. This would cause the generated library to
9892 # depend on `.', always an invalid library. This was fixed in
9893 # development snapshots of GCC prior to 3.0.
9895 aix4 | aix4.
[01] | aix4.
[01].
*)
9896 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9898 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9905 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9906 # soname into executable. Probably we can add versioning support to
9907 # collect2, so additional links can be useful in future.
9908 if test "$aix_use_runtimelinking" = yes; then
9909 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9910 # instead of lib<name>.a to let people know that these are not
9911 # typical AIX shared libraries.
9912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9914 # We preserve .a as extension for shared libraries through AIX4.2
9915 # and later when we are not doing run time linking.
9916 library_names_spec
='${libname}${release}.a $libname.a'
9917 soname_spec
='${libname}${release}${shared_ext}$major'
9919 shlibpath_var
=LIBPATH
9926 # Since July 2007 AmigaOS4 officially supports .so libraries.
9927 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9931 library_names_spec
='$libname.ixlibrary $libname.a'
9932 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9933 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'
9939 library_names_spec
='${libname}${shared_ext}'
9940 dynamic_linker
="$host_os ld.so"
9941 shlibpath_var
=LIBRARY_PATH
9947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9948 soname_spec
='${libname}${release}${shared_ext}$major'
9949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9950 shlibpath_var
=LD_LIBRARY_PATH
9951 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9952 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9953 # the default ld.so.conf also contains /usr/contrib/lib and
9954 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9955 # libtool to hard-code these into programs
9958 cygwin
* | mingw
* | pw32
* | cegcc
*)
9959 version_type
=windows
9964 case $GCC,$host_os in
9965 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9966 library_names_spec
='$libname.dll.a'
9967 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9968 postinstall_cmds
='base_file=`basename \${file}`~
9969 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9970 dldir=$destdir/`dirname \$dlpath`~
9971 test -d \$dldir || mkdir -p \$dldir~
9972 $install_prog $dir/$dlname \$dldir/$dlname~
9973 chmod a+x \$dldir/$dlname~
9974 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9975 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9977 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9978 dlpath=$dir/\$dldll~
9980 shlibpath_overrides_runpath
=yes
9984 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9985 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9987 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9990 # MinGW DLLs use traditional 'lib' prefix
9991 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9994 # pw32 DLLs use 'pw' prefix rather than 'lib'
9995 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10001 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10004 dynamic_linker
='Win32 ld.exe'
10005 # FIXME: first we should search . and the directory the executable is in
10009 darwin
* | rhapsody
*)
10010 dynamic_linker
="$host_os dyld"
10011 version_type
=darwin
10014 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10015 soname_spec
='${libname}${release}${major}$shared_ext'
10016 shlibpath_overrides_runpath
=yes
10017 shlibpath_var
=DYLD_LIBRARY_PATH
10018 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10020 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10021 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10029 soname_spec
='${libname}${release}${shared_ext}$major'
10030 shlibpath_var
=LD_LIBRARY_PATH
10033 freebsd
* | dragonfly
*)
10034 # DragonFly does not have aout. When/if they implement a new
10035 # versioning mechanism, adjust this.
10036 if test -x /usr
/bin
/objformat
; then
10037 objformat
=`/usr/bin/objformat`
10040 freebsd
[23].
*) objformat
=aout
;;
10041 *) objformat
=elf
;;
10044 version_type
=freebsd-
$objformat
10045 case $version_type in
10047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10052 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10056 shlibpath_var
=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath
=yes
10061 freebsd3.
[01]* | freebsdelf3.
[01]*)
10062 shlibpath_overrides_runpath
=yes
10063 hardcode_into_libs
=yes
10065 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10066 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10067 shlibpath_overrides_runpath
=no
10068 hardcode_into_libs
=yes
10070 *) # from 4.6 on, and DragonFly
10071 shlibpath_overrides_runpath
=yes
10072 hardcode_into_libs
=yes
10081 dynamic_linker
="$host_os runtime_loader"
10082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10083 soname_spec
='${libname}${release}${shared_ext}$major'
10084 shlibpath_var
=LIBRARY_PATH
10085 shlibpath_overrides_runpath
=yes
10086 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10087 hardcode_into_libs
=yes
10090 hpux9
* | hpux10
* | hpux11
*)
10091 # Give a soname corresponding to the major version so that dld.sl refuses to
10092 # link against other versions.
10099 hardcode_into_libs
=yes
10100 dynamic_linker
="$host_os dld.so"
10101 shlibpath_var
=LD_LIBRARY_PATH
10102 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10104 soname_spec
='${libname}${release}${shared_ext}$major'
10105 if test "X$HPUX_IA64_MODE" = X32
; then
10106 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10108 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10110 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10114 hardcode_into_libs
=yes
10115 dynamic_linker
="$host_os dld.sl"
10116 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10117 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119 soname_spec
='${libname}${release}${shared_ext}$major'
10120 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10121 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10125 dynamic_linker
="$host_os dld.sl"
10126 shlibpath_var
=SHLIB_PATH
10127 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 soname_spec
='${libname}${release}${shared_ext}$major'
10132 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10133 postinstall_cmds
='chmod 555 $lib'
10134 # or fails outright, so override atomically:
10135 install_override_mode
=555
10142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10143 soname_spec
='${libname}${release}${shared_ext}$major'
10144 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10145 shlibpath_var
=LD_LIBRARY_PATH
10146 shlibpath_overrides_runpath
=no
10147 hardcode_into_libs
=yes
10150 irix5
* | irix6
* | nonstopux
*)
10152 nonstopux
*) version_type
=nonstopux
;;
10154 if test "$lt_cv_prog_gnu_ld" = yes; then
10162 soname_spec
='${libname}${release}${shared_ext}$major'
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10165 irix5
* | nonstopux
*)
10166 libsuff
= shlibsuff
=
10169 case $LD in # libtool.m4 will add one of these switches to LD
10170 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10171 libsuff
= shlibsuff
= libmagic
=32-bit;;
10172 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10173 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10174 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10175 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10176 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10180 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10181 shlibpath_overrides_runpath
=no
10182 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10183 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10184 hardcode_into_libs
=yes
10187 # No shared lib support for Linux oldld, aout, or coff.
10188 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10192 # This must be Linux ELF.
10194 # uclinux* changes (here and below) have been submitted to the libtool
10195 # project, but have not yet been accepted: they are GCC-local changes
10196 # for the time being. (See
10197 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10198 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10203 soname_spec
='${libname}${release}${shared_ext}$major'
10204 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10205 shlibpath_var
=LD_LIBRARY_PATH
10206 shlibpath_overrides_runpath
=no
10208 # Some binutils ld are patched to set DT_RUNPATH
10209 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10210 $as_echo_n "(cached) " >&6
10212 lt_cv_shlibpath_overrides_runpath
=no
10213 save_LDFLAGS
=$LDFLAGS
10214 save_libdir
=$libdir
10215 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10216 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10217 if test x
$gcc_no_link = xyes
; then
10218 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10231 if ac_fn_c_try_link
"$LINENO"; then :
10232 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10233 lt_cv_shlibpath_overrides_runpath
=yes
10236 rm -f core conftest.err conftest.
$ac_objext \
10237 conftest
$ac_exeext conftest.
$ac_ext
10238 LDFLAGS
=$save_LDFLAGS
10239 libdir
=$save_libdir
10243 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10245 # This implies no fast_install, which is unacceptable.
10246 # Some rework will be needed to allow for fast_install
10247 # before this can be enabled.
10248 hardcode_into_libs
=yes
10250 # Append ld.so.conf contents to the search path
10251 if test -f /etc
/ld.so.conf
; then
10252 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' ' '`
10253 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10256 # We used to test for /lib/ld.so.1 and disable shared libraries on
10257 # powerpc, because MkLinux only supported shared libraries with the
10258 # GNU dynamic linker. Since this was broken with cross compilers,
10259 # most powerpc-linux boxes support dynamic linking these days and
10260 # people can always --disable-shared, the test was removed, and we
10261 # assume the GNU/Linux dynamic linker is in use.
10262 dynamic_linker
='GNU/Linux ld.so'
10269 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10271 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10272 dynamic_linker
='NetBSD (a.out) ld.so'
10274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10275 soname_spec
='${libname}${release}${shared_ext}$major'
10276 dynamic_linker
='NetBSD ld.elf_so'
10278 shlibpath_var
=LD_LIBRARY_PATH
10279 shlibpath_overrides_runpath
=yes
10280 hardcode_into_libs
=yes
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10286 shlibpath_var
=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath
=yes
10294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10295 soname_spec
='${libname}${release}${shared_ext}$major'
10296 shlibpath_var
=LD_LIBRARY_PATH
10297 shlibpath_overrides_runpath
=no
10298 hardcode_into_libs
=yes
10299 dynamic_linker
='ldqnx.so'
10304 sys_lib_dlsearch_path_spec
="/usr/lib"
10306 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10308 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10309 *) need_version
=no
;;
10311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10312 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10313 shlibpath_var
=LD_LIBRARY_PATH
10314 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10316 openbsd2.
[89] | openbsd2.
[89].
*)
10317 shlibpath_overrides_runpath
=no
10320 shlibpath_overrides_runpath
=yes
10324 shlibpath_overrides_runpath
=yes
10329 libname_spec
='$name'
10332 library_names_spec
='$libname${shared_ext} $libname.a'
10333 dynamic_linker
='OS/2 ld.exe'
10334 shlibpath_var
=LIBPATH
10337 osf3
* | osf4
* | osf5
*)
10341 soname_spec
='${libname}${release}${shared_ext}$major'
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 shlibpath_var
=LD_LIBRARY_PATH
10344 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10345 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 soname_spec
='${libname}${release}${shared_ext}$major'
10358 shlibpath_var
=LD_LIBRARY_PATH
10359 shlibpath_overrides_runpath
=yes
10360 hardcode_into_libs
=yes
10361 # ldd complains unless libraries are executable
10362 postinstall_cmds
='chmod +x $lib'
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10368 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10369 shlibpath_var
=LD_LIBRARY_PATH
10370 shlibpath_overrides_runpath
=yes
10371 if test "$with_gnu_ld" = yes; then
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380 soname_spec
='${libname}${release}${shared_ext}$major'
10381 shlibpath_var
=LD_LIBRARY_PATH
10382 case $host_vendor in
10384 shlibpath_overrides_runpath
=no
10386 runpath_var
=LD_RUN_PATH
10394 shlibpath_overrides_runpath
=no
10395 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10401 if test -d /usr
/nec
;then
10403 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10404 soname_spec
='$libname${shared_ext}.$major'
10405 shlibpath_var
=LD_LIBRARY_PATH
10409 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10410 version_type
=freebsd-elf
10413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10414 soname_spec
='${libname}${release}${shared_ext}$major'
10415 shlibpath_var
=LD_LIBRARY_PATH
10416 shlibpath_overrides_runpath
=yes
10417 hardcode_into_libs
=yes
10418 if test "$with_gnu_ld" = yes; then
10419 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10421 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10424 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10428 sys_lib_dlsearch_path_spec
='/usr/lib'
10432 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10437 shlibpath_var
=LD_LIBRARY_PATH
10438 shlibpath_overrides_runpath
=no
10439 hardcode_into_libs
=yes
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 soname_spec
='${libname}${release}${shared_ext}$major'
10446 shlibpath_var
=LD_LIBRARY_PATH
10449 # Shared libraries for VwWorks, >= 7 only at this stage
10450 # and (fpic) still incompatible with "large" code models
10451 # in a few configurations. Only for RTP mode in any case,
10452 # and upon explicit request at configure time.
10455 case ${with_multisubdir}-${enable_shared} in
10462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 soname_spec
='${libname}${release}${shared_ext}$major'
10464 dynamic_linker
="$host_os module_loader"
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10473 $as_echo "$dynamic_linker" >&6; }
10474 test "$dynamic_linker" = no
&& can_build_shared
=no
10476 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10477 if test "$GCC" = yes; then
10478 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10481 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10482 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10484 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10485 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10580 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10582 if test -n "$hardcode_libdir_flag_spec" ||
10583 test -n "$runpath_var" ||
10584 test "X$hardcode_automatic" = "Xyes" ; then
10586 # We can hardcode non-existent directories.
10587 if test "$hardcode_direct" != no
&&
10588 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10589 # have to relink, otherwise we might link with an installed library
10590 # when we should be linking with a yet-to-be-installed one
10591 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10592 test "$hardcode_minus_L" != no
; then
10593 # Linking always hardcodes the temporary library directory.
10594 hardcode_action
=relink
10596 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10597 hardcode_action
=immediate
10600 # We cannot hardcode anything, or else we can only hardcode existing
10602 hardcode_action
=unsupported
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10605 $as_echo "$hardcode_action" >&6; }
10607 if test "$hardcode_action" = relink ||
10608 test "$inherit_rpath" = yes; then
10609 # Fast installation is not supported
10610 enable_fast_install
=no
10611 elif test "$shlibpath_overrides_runpath" = yes ||
10612 test "$enable_shared" = no
; then
10613 # Fast installation is not necessary
10614 enable_fast_install
=needless
10622 if test "x$enable_dlopen" != xyes
; then
10623 enable_dlopen
=unknown
10624 enable_dlopen_self
=unknown
10625 enable_dlopen_self_static
=unknown
10632 lt_cv_dlopen
="load_add_on"
10634 lt_cv_dlopen_self
=yes
10637 mingw
* | pw32
* | cegcc
*)
10638 lt_cv_dlopen
="LoadLibrary"
10643 lt_cv_dlopen
="dlopen"
10648 # if libdl is installed we need to link against it
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10650 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10651 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10652 $as_echo_n "(cached) " >&6
10654 ac_check_lib_save_LIBS
=$LIBS
10656 if test x
$gcc_no_link = xyes
; then
10657 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10677 if ac_fn_c_try_link
"$LINENO"; then :
10678 ac_cv_lib_dl_dlopen
=yes
10680 ac_cv_lib_dl_dlopen
=no
10682 rm -f core conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 LIBS
=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10687 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10688 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10689 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10692 lt_cv_dlopen
="dyld"
10694 lt_cv_dlopen_self
=yes
10701 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10702 if test "x$ac_cv_func_shl_load" = xyes
; then :
10703 lt_cv_dlopen
="shl_load"
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10706 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10707 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 ac_check_lib_save_LIBS
=$LIBS
10712 if test x
$gcc_no_link = xyes
; then
10713 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10728 return shl_load ();
10733 if ac_fn_c_try_link
"$LINENO"; then :
10734 ac_cv_lib_dld_shl_load
=yes
10736 ac_cv_lib_dld_shl_load
=no
10738 rm -f core conftest.err conftest.
$ac_objext \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 LIBS
=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10743 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10744 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10745 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10747 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10748 if test "x$ac_cv_func_dlopen" = xyes
; then :
10749 lt_cv_dlopen
="dlopen"
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10752 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10753 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10754 $as_echo_n "(cached) " >&6
10756 ac_check_lib_save_LIBS
=$LIBS
10758 if test x
$gcc_no_link = xyes
; then
10759 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10779 if ac_fn_c_try_link
"$LINENO"; then :
10780 ac_cv_lib_dl_dlopen
=yes
10782 ac_cv_lib_dl_dlopen
=no
10784 rm -f core conftest.err conftest.
$ac_objext \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 LIBS
=$ac_check_lib_save_LIBS
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10789 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10790 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10791 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10794 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10795 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10796 $as_echo_n "(cached) " >&6
10798 ac_check_lib_save_LIBS
=$LIBS
10799 LIBS
="-lsvld $LIBS"
10800 if test x
$gcc_no_link = xyes
; then
10801 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10821 if ac_fn_c_try_link
"$LINENO"; then :
10822 ac_cv_lib_svld_dlopen
=yes
10824 ac_cv_lib_svld_dlopen
=no
10826 rm -f core conftest.err conftest.
$ac_objext \
10827 conftest
$ac_exeext conftest.
$ac_ext
10828 LIBS
=$ac_check_lib_save_LIBS
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10831 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10832 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10833 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10836 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10837 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10838 $as_echo_n "(cached) " >&6
10840 ac_check_lib_save_LIBS
=$LIBS
10842 if test x
$gcc_no_link = xyes
; then
10843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10858 return dld_link ();
10863 if ac_fn_c_try_link
"$LINENO"; then :
10864 ac_cv_lib_dld_dld_link
=yes
10866 ac_cv_lib_dld_dld_link
=no
10868 rm -f core conftest.err conftest.
$ac_objext \
10869 conftest
$ac_exeext conftest.
$ac_ext
10870 LIBS
=$ac_check_lib_save_LIBS
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10873 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10874 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10875 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10896 if test "x$lt_cv_dlopen" != xno
; then
10902 case $lt_cv_dlopen in
10904 save_CPPFLAGS
="$CPPFLAGS"
10905 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10907 save_LDFLAGS
="$LDFLAGS"
10908 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10911 LIBS
="$lt_cv_dlopen_libs $LIBS"
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10914 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10915 if ${lt_cv_dlopen_self+:} false
; then :
10916 $as_echo_n "(cached) " >&6
10918 if test "$cross_compiling" = yes; then :
10919 lt_cv_dlopen_self
=cross
10921 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10922 lt_status
=$lt_dlunknown
10923 cat > conftest.
$ac_ext <<_LT_EOF
10924 #line 10924 "configure"
10925 #include "confdefs.h"
10934 # define LT_DLGLOBAL RTLD_GLOBAL
10937 # define LT_DLGLOBAL DL_GLOBAL
10939 # define LT_DLGLOBAL 0
10943 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10944 find out it does not work in some platform. */
10945 #ifndef LT_DLLAZY_OR_NOW
10947 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10950 # define LT_DLLAZY_OR_NOW DL_LAZY
10953 # define LT_DLLAZY_OR_NOW RTLD_NOW
10956 # define LT_DLLAZY_OR_NOW DL_NOW
10958 # define LT_DLLAZY_OR_NOW 0
10965 /* When -fvisbility=hidden is used, assume the code has been annotated
10966 correspondingly for the symbols needed. */
10967 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10968 void fnord () __attribute__((visibility("default")));
10971 void fnord () { int i=42; }
10974 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10975 int status = $lt_dlunknown;
10979 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10982 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10983 else puts (dlerror ());
10985 /* dlclose (self); */
10993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10994 (eval $ac_link) 2>&5
10996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10997 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10998 (.
/conftest
; exit; ) >&5 2>/dev
/null
11000 case x
$lt_status in
11001 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11002 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11003 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11006 # compilation failed
11007 lt_cv_dlopen_self
=no
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11015 $as_echo "$lt_cv_dlopen_self" >&6; }
11017 if test "x$lt_cv_dlopen_self" = xyes
; then
11018 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11020 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11021 if ${lt_cv_dlopen_self_static+:} false
; then :
11022 $as_echo_n "(cached) " >&6
11024 if test "$cross_compiling" = yes; then :
11025 lt_cv_dlopen_self_static
=cross
11027 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11028 lt_status
=$lt_dlunknown
11029 cat > conftest.
$ac_ext <<_LT_EOF
11030 #line 11030 "configure"
11031 #include "confdefs.h"
11040 # define LT_DLGLOBAL RTLD_GLOBAL
11043 # define LT_DLGLOBAL DL_GLOBAL
11045 # define LT_DLGLOBAL 0
11049 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11050 find out it does not work in some platform. */
11051 #ifndef LT_DLLAZY_OR_NOW
11053 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11056 # define LT_DLLAZY_OR_NOW DL_LAZY
11059 # define LT_DLLAZY_OR_NOW RTLD_NOW
11062 # define LT_DLLAZY_OR_NOW DL_NOW
11064 # define LT_DLLAZY_OR_NOW 0
11071 /* When -fvisbility=hidden is used, assume the code has been annotated
11072 correspondingly for the symbols needed. */
11073 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11074 void fnord () __attribute__((visibility("default")));
11077 void fnord () { int i=42; }
11080 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11081 int status = $lt_dlunknown;
11085 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11088 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11089 else puts (dlerror ());
11091 /* dlclose (self); */
11099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11100 (eval $ac_link) 2>&5
11102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11103 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11104 (.
/conftest
; exit; ) >&5 2>/dev
/null
11106 case x
$lt_status in
11107 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11108 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11109 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11112 # compilation failed
11113 lt_cv_dlopen_self_static
=no
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11121 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11124 CPPFLAGS
="$save_CPPFLAGS"
11125 LDFLAGS
="$save_LDFLAGS"
11130 case $lt_cv_dlopen_self in
11131 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11132 *) enable_dlopen_self
=unknown
;;
11135 case $lt_cv_dlopen_self_static in
11136 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11137 *) enable_dlopen_self_static
=unknown
;;
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11160 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11161 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11162 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11163 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11165 $as_echo "yes" >&6; }
11167 # FIXME - insert some real tests, host_os isn't really good enough
11170 if test -n "$STRIP" ; then
11171 striplib
="$STRIP -x"
11172 old_striplib
="$STRIP -S"
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11174 $as_echo "yes" >&6; }
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11177 $as_echo "no" >&6; }
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11182 $as_echo "no" >&6; }
11198 # Report which library types will actually be built
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11200 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11202 $as_echo "$can_build_shared" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11205 $as_echo_n "checking whether to build shared libraries... " >&6; }
11206 test "$can_build_shared" = "no" && enable_shared
=no
11208 # On AIX, shared libraries and static libraries use the same namespace, and
11209 # are all built from PIC.
11212 test "$enable_shared" = yes && enable_static
=no
11213 if test -n "$RANLIB"; then
11214 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11215 postinstall_cmds
='$RANLIB $lib'
11220 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11221 test "$enable_shared" = yes && enable_static
=no
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11226 $as_echo "$enable_shared" >&6; }
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11229 $as_echo_n "checking whether to build static libraries... " >&6; }
11230 # Make sure either enable_shared or enable_static is yes.
11231 test "$enable_shared" = yes || enable_static
=yes
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11233 $as_echo "$enable_static" >&6; }
11240 ac_cpp
='$CPP $CPPFLAGS'
11241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11259 ac_config_commands
="$ac_config_commands libtool"
11264 # Only expand once:
11271 *-cygwin* |
*-mingw*)
11272 # 'host' will be top-level target in the case of a target lib,
11273 # we must compare to with_cross_host to decide if this is a native
11274 # or cross-compiler and select where to install dlls appropriately.
11275 if test -n "$with_cross_host" &&
11276 test x
"$with_cross_host" != x
"no"; then
11277 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11279 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11291 if test x
$enable_darwin_at_rpath = xyes
; then
11292 ENABLE_DARWIN_AT_RPATH_TRUE
=
11293 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
11295 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
11296 ENABLE_DARWIN_AT_RPATH_FALSE
=
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11302 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11303 # Check whether --enable-maintainer-mode was given.
11304 if test "${enable_maintainer_mode+set}" = set; then :
11305 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11307 USE_MAINTAINER_MODE
=no
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11311 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11312 if test $USE_MAINTAINER_MODE = yes; then
11313 MAINTAINER_MODE_TRUE
=
11314 MAINTAINER_MODE_FALSE
='#'
11316 MAINTAINER_MODE_TRUE
='#'
11317 MAINTAINER_MODE_FALSE
=
11320 MAINT
=$MAINTAINER_MODE_TRUE
11325 ac_cpp
='$CPP $CPPFLAGS'
11326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11330 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
11331 # We must force CC to /not/ be precious variables; otherwise
11332 # the wrong, non-multilib-adjusted value will be used in multilibs.
11333 # As a side effect, we have to subst CFLAGS ourselves.
11338 ac_cpp
='$CPP $CPPFLAGS'
11339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11342 if test -n "$ac_tool_prefix"; then
11343 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11344 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11346 $as_echo_n "checking for $ac_word... " >&6; }
11347 if ${ac_cv_prog_CC+:} false
; then :
11348 $as_echo_n "(cached) " >&6
11350 if test -n "$CC"; then
11351 ac_cv_prog_CC
="$CC" # Let the user override the test.
11353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11354 for as_dir
in $PATH
11357 test -z "$as_dir" && as_dir
=.
11358 for ac_exec_ext
in '' $ac_executable_extensions; do
11359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11360 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11371 if test -n "$CC"; then
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11373 $as_echo "$CC" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11376 $as_echo "no" >&6; }
11381 if test -z "$ac_cv_prog_CC"; then
11383 # Extract the first word of "gcc", so it can be a program name with args.
11384 set dummy gcc
; ac_word
=$2
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11386 $as_echo_n "checking for $ac_word... " >&6; }
11387 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11388 $as_echo_n "(cached) " >&6
11390 if test -n "$ac_ct_CC"; then
11391 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11394 for as_dir
in $PATH
11397 test -z "$as_dir" && as_dir
=.
11398 for ac_exec_ext
in '' $ac_executable_extensions; do
11399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11400 ac_cv_prog_ac_ct_CC
="gcc"
11401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11410 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11411 if test -n "$ac_ct_CC"; then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11413 $as_echo "$ac_ct_CC" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11416 $as_echo "no" >&6; }
11419 if test "x$ac_ct_CC" = x
; then
11422 case $cross_compiling:$ac_tool_warned in
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11426 ac_tool_warned
=yes ;;
11431 CC
="$ac_cv_prog_CC"
11434 if test -z "$CC"; then
11435 if test -n "$ac_tool_prefix"; then
11436 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11437 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11439 $as_echo_n "checking for $ac_word... " >&6; }
11440 if ${ac_cv_prog_CC+:} false
; then :
11441 $as_echo_n "(cached) " >&6
11443 if test -n "$CC"; then
11444 ac_cv_prog_CC
="$CC" # Let the user override the test.
11446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11447 for as_dir
in $PATH
11450 test -z "$as_dir" && as_dir
=.
11451 for ac_exec_ext
in '' $ac_executable_extensions; do
11452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11453 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11464 if test -n "$CC"; then
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11466 $as_echo "$CC" >&6; }
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11469 $as_echo "no" >&6; }
11475 if test -z "$CC"; then
11476 # Extract the first word of "cc", so it can be a program name with args.
11477 set dummy cc
; ac_word
=$2
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11479 $as_echo_n "checking for $ac_word... " >&6; }
11480 if ${ac_cv_prog_CC+:} false
; then :
11481 $as_echo_n "(cached) " >&6
11483 if test -n "$CC"; then
11484 ac_cv_prog_CC
="$CC" # Let the user override the test.
11486 ac_prog_rejected
=no
11487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11488 for as_dir
in $PATH
11491 test -z "$as_dir" && as_dir
=.
11492 for ac_exec_ext
in '' $ac_executable_extensions; do
11493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11494 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11495 ac_prog_rejected
=yes
11499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11506 if test $ac_prog_rejected = yes; then
11507 # We found a bogon in the path, so make sure we never use it.
11508 set dummy
$ac_cv_prog_CC
11510 if test $# != 0; then
11511 # We chose a different compiler from the bogus one.
11512 # However, it has the same basename, so the bogon will be chosen
11513 # first if we set CC to just the basename; use the full file name.
11515 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11521 if test -n "$CC"; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11523 $as_echo "$CC" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526 $as_echo "no" >&6; }
11531 if test -z "$CC"; then
11532 if test -n "$ac_tool_prefix"; then
11533 for ac_prog
in cl.exe
11535 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11536 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11538 $as_echo_n "checking for $ac_word... " >&6; }
11539 if ${ac_cv_prog_CC+:} false
; then :
11540 $as_echo_n "(cached) " >&6
11542 if test -n "$CC"; then
11543 ac_cv_prog_CC
="$CC" # Let the user override the test.
11545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11546 for as_dir
in $PATH
11549 test -z "$as_dir" && as_dir
=.
11550 for ac_exec_ext
in '' $ac_executable_extensions; do
11551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11552 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11563 if test -n "$CC"; then
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11565 $as_echo "$CC" >&6; }
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11568 $as_echo "no" >&6; }
11572 test -n "$CC" && break
11575 if test -z "$CC"; then
11577 for ac_prog
in cl.exe
11579 # Extract the first word of "$ac_prog", so it can be a program name with args.
11580 set dummy
$ac_prog; ac_word
=$2
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11582 $as_echo_n "checking for $ac_word... " >&6; }
11583 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11584 $as_echo_n "(cached) " >&6
11586 if test -n "$ac_ct_CC"; then
11587 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11590 for as_dir
in $PATH
11593 test -z "$as_dir" && as_dir
=.
11594 for ac_exec_ext
in '' $ac_executable_extensions; do
11595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11596 ac_cv_prog_ac_ct_CC
="$ac_prog"
11597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11606 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11607 if test -n "$ac_ct_CC"; then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11609 $as_echo "$ac_ct_CC" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11612 $as_echo "no" >&6; }
11616 test -n "$ac_ct_CC" && break
11619 if test "x$ac_ct_CC" = x
; then
11622 case $cross_compiling:$ac_tool_warned in
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11626 ac_tool_warned
=yes ;;
11635 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11637 as_fn_error $?
"no acceptable C compiler found in \$PATH
11638 See \`config.log' for more details" "$LINENO" 5; }
11640 # Provide some information about the compiler.
11641 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11644 for ac_option
in --version -v -V -qversion; do
11645 { { ac_try
="$ac_compiler $ac_option >&5"
11646 case "(($ac_try" in
11647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11648 *) ac_try_echo=$ac_try;;
11650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11651 $as_echo "$ac_try_echo"; } >&5
11652 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11654 if test -s conftest.err; then
11656 ... rest of stderr output deleted ...
11657 10q' conftest.err >conftest.er1
11658 cat conftest.er1 >&5
11660 rm -f conftest.er1 conftest.err
11661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11662 test $ac_status = 0; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11666 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11667 if ${ac_cv_c_compiler_gnu+:} false; then :
11668 $as_echo_n "(cached) " >&6
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11684 if ac_fn_c_try_compile "$LINENO"; then :
11685 ac_compiler_gnu=yes
11689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11690 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11694 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11695 if test $ac_compiler_gnu = yes; then
11700 ac_test_CFLAGS=${CFLAGS+set}
11701 ac_save_CFLAGS=$CFLAGS
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11703 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11704 if ${ac_cv_prog_cc_g+:} false; then :
11705 $as_echo_n "(cached) " >&6
11707 ac_save_c_werror_flag=$ac_c_werror_flag
11708 ac_c_werror_flag=yes
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11722 if ac_fn_c_try_compile "$LINENO"; then :
11723 ac_cv_prog_cc_g=yes
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11737 if ac_fn_c_try_compile "$LINENO"; then :
11740 ac_c_werror_flag=$ac_save_c_werror_flag
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11753 if ac_fn_c_try_compile "$LINENO"; then :
11754 ac_cv_prog_cc_g=yes
11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11761 ac_c_werror_flag=$ac_save_c_werror_flag
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11764 $as_echo "$ac_cv_prog_cc_g" >&6; }
11765 if test "$ac_test_CFLAGS" = set; then
11766 CFLAGS=$ac_save_CFLAGS
11767 elif test $ac_cv_prog_cc_g = yes; then
11768 if test "$GCC" = yes; then
11774 if test "$GCC" = yes; then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11781 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11782 if ${ac_cv_prog_cc_c89+:} false; then :
11783 $as_echo_n "(cached) " >&6
11785 ac_cv_prog_cc_c89=no
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11789 #include <stdarg.h>
11792 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11793 struct buf { int x; };
11794 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11795 static char *e (p, i)
11801 static char *f (char * (*g) (char **, int), char **p, ...)
11806 s = g (p, va_arg (v,int));
11811 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11812 function prototypes and stuff, but not '\xHH' hex character constants.
11813 These don't provoke an error unfortunately, instead are silently treated
11814 as 'x'. The following induces an error, until -std is added to get
11815 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11816 array size at least. It's necessary to write '\x00'==0 to get something
11817 that's true only with -std. */
11818 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11820 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11821 inside strings and character constants. */
11823 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11825 int test (int i, double x);
11826 struct s1 {int (*f) (int a);};
11827 struct s2 {int (*f) (double a);};
11828 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11834 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11839 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11840 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11842 CC="$ac_save_CC $ac_arg"
11843 if ac_fn_c_try_compile "$LINENO"; then :
11844 ac_cv_prog_cc_c89=$ac_arg
11846 rm -f core conftest.err conftest.$ac_objext
11847 test "x$ac_cv_prog_cc_c89" != "xno" && break
11849 rm -f conftest.$ac_ext
11854 case "x$ac_cv_prog_cc_c89" in
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11857 $as_echo "none needed" >&6; } ;;
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11860 $as_echo "unsupported" >&6; } ;;
11862 CC="$CC $ac_cv_prog_cc_c89"
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11864 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11866 if test "x$ac_cv_prog_cc_c89" != xno; then :
11871 ac_cpp='$CPP $CPPFLAGS'
11872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11877 ac_cpp='$CPP $CPPFLAGS'
11878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
11882 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
11883 if ${am_cv_prog_cc_c_o+:} false; then :
11884 $as_echo_n "(cached) " >&6
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11897 # Make sure it works both with $CC and with simple cc.
11898 # Following AC_PROG_CC_C_O, we do the test twice because some
11899 # compilers refuse to overwrite an existing .o file with -o,
11900 # though they will create one.
11901 am_cv_prog_cc_c_o=yes
11902 for am_i in 1 2; do
11903 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
11904 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } \
11908 && test -f conftest2.$ac_objext; then
11911 am_cv_prog_cc_c_o=no
11915 rm -f core conftest*
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
11919 $as_echo "$am_cv_prog_cc_c_o" >&6; }
11920 if test "$am_cv_prog_cc_c_o" != yes; then
11921 # Losing compiler, so override with the script.
11922 # FIXME: It is wrong to rewrite CC.
11923 # But if we don't then we get into trouble of one sort or another.
11924 # A longer-term fix would be to have automake use am__CC in this case,
11925 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11926 CC="$am_aux_dir/compile $CC"
11929 ac_cpp='$CPP $CPPFLAGS'
11930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11935 depcc="$CC" am_compiler_list=
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11938 $as_echo_n "checking dependency style of $depcc... " >&6; }
11939 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11940 $as_echo_n "(cached) " >&6
11942 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11943 # We make a subdir and do the tests there. Otherwise we can end up
11944 # making bogus files that we don't know about and never remove. For
11945 # instance it was reported that on HP-UX the gcc test will end up
11946 # making a dummy file named 'D' -- because '-MD' means "put the output
11948 rm -rf conftest.dir
11950 # Copy depcomp to subdir because otherwise we won't find it if we're
11951 # using a relative directory.
11952 cp "$am_depcomp" conftest.dir
11954 # We will build objects and dependencies in a subdirectory because
11955 # it helps to detect inapplicable dependency modes. For instance
11956 # both Tru64's cc and ICC support -MD to output dependencies as a
11957 # side effect of compilation, but ICC will put the dependencies in
11958 # the current directory while Tru64 will put them in the object
11962 am_cv_CC_dependencies_compiler_type=none
11963 if test "$am_compiler_list" = ""; then
11964 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11966 am__universal=false
11967 case " $depcc " in #(
11968 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11971 for depmode in $am_compiler_list; do
11972 # Setup a source with many dependencies, because some compilers
11973 # like to wrap large dependency lists on column 80 (with \), and
11974 # we should not choose a depcomp mode which is confused by this.
11976 # We need to recreate these files for each test, as the compiler may
11977 # overwrite some of them when testing with obscure command lines.
11978 # This happens at least with the AIX C compiler.
11980 for i in 1 2 3 4 5 6; do
11981 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11982 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
11983 # Solaris 10 /bin/sh.
11984 echo '/* dummy */' > sub/conftst$i.h
11986 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11988 # We check with '-c' and '-o' for the sake of the "dashmstdout"
11989 # mode. It turns out that the SunPro C++ compiler does not properly
11990 # handle '-M -o', and we need to detect this. Also, some Intel
11991 # versions had trouble with output in subdirs.
11992 am__obj=sub/conftest.${OBJEXT-o}
11993 am__minus_obj="-o $am__obj"
11996 # This depmode causes a compiler race in universal mode.
11997 test "$am__universal" = false || continue
12000 # After this tag, mechanisms are not by side-effect, so they'll
12001 # only be used when explicitly requested.
12002 if test "x$enable_dependency_tracking" = xyes; then
12008 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12009 # This compiler won't grok '-c -o', but also, the minuso test has
12010 # not run yet. These depmodes are late enough in the game, and
12011 # so weak that their functioning should not be impacted.
12012 am__obj=conftest.${OBJEXT-o}
12017 if depmode=$depmode \
12018 source=sub/conftest.c object=$am__obj \
12019 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12020 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12021 >/dev/null 2>conftest.err &&
12022 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12023 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12024 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12025 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12026 # icc doesn't choke on unknown options, it will just issue warnings
12027 # or remarks (even with -Werror). So we grep stderr for any message
12028 # that says an option was ignored or not supported.
12029 # When given -MP, icc 7.0 and 7.1 complain thusly:
12030 # icc: Command line warning: ignoring option '-M'; no argument required
12031 # The diagnosis changed in icc 8.0:
12032 # icc: Command line remark: option '-MP' not supported
12033 if (grep 'ignoring option' conftest.err ||
12034 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12035 am_cv_CC_dependencies_compiler_type=$depmode
12042 rm -rf conftest.dir
12044 am_cv_CC_dependencies_compiler_type=none
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12049 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12050 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12053 test "x$enable_dependency_tracking" != xno \
12054 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12055 am__fastdepCC_TRUE=
12056 am__fastdepCC_FALSE='#'
12058 am__fastdepCC_TRUE='#'
12059 am__fastdepCC_FALSE=
12069 if test "x$GCC" != "xyes"; then
12070 as_fn_error $? "libquadmath must be built with GCC" "$LINENO" 5
12073 ac_cpp='$CPP $CPPFLAGS'
12074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12078 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12079 # On Suns, sometimes $CPP names a directory.
12080 if test -n "$CPP" && test -d "$CPP"; then
12083 if test -z "$CPP"; then
12084 if ${ac_cv_prog_CPP+:} false; then :
12085 $as_echo_n "(cached) " >&6
12087 # Double quotes because CPP needs to be expanded
12088 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12090 ac_preproc_ok=false
12091 for ac_c_preproc_warn_flag in '' yes
12093 # Use a header file that comes with gcc, so configuring glibc
12094 # with a fresh cross-compiler works.
12095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12096 # <limits.h> exists even on freestanding compilers.
12097 # On the NeXT, cc -E runs the code through the compiler's parser,
12098 # not just through cpp. "Syntax error" is here to catch this case.
12099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h. */
12102 # include <limits.h>
12104 # include <assert.h>
12108 if ac_fn_c_try_cpp "$LINENO"; then :
12111 # Broken: fails on valid input.
12114 rm -f conftest.err conftest.i conftest.$ac_ext
12116 # OK, works on sane cases. Now check whether nonexistent headers
12117 # can be detected and how.
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 #include <ac_nonexistent.h>
12122 if ac_fn_c_try_cpp "$LINENO"; then :
12123 # Broken: success on invalid input.
12126 # Passes both tests.
12130 rm -f conftest.err conftest.i conftest.$ac_ext
12133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12134 rm -f conftest.i conftest.err conftest.
$ac_ext
12135 if $ac_preproc_ok; then :
12140 ac_cv_prog_CPP
=$CPP
12143 CPP
=$ac_cv_prog_CPP
12145 ac_cv_prog_CPP
=$CPP
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12148 $as_echo "$CPP" >&6; }
12149 ac_preproc_ok
=false
12150 for ac_c_preproc_warn_flag
in '' yes
12152 # Use a header file that comes with gcc, so configuring glibc
12153 # with a fresh cross-compiler works.
12154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12155 # <limits.h> exists even on freestanding compilers.
12156 # On the NeXT, cc -E runs the code through the compiler's parser,
12157 # not just through cpp. "Syntax error" is here to catch this case.
12158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 # include <limits.h>
12163 # include <assert.h>
12167 if ac_fn_c_try_cpp
"$LINENO"; then :
12170 # Broken: fails on valid input.
12173 rm -f conftest.err conftest.i conftest.
$ac_ext
12175 # OK, works on sane cases. Now check whether nonexistent headers
12176 # can be detected and how.
12177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12179 #include <ac_nonexistent.h>
12181 if ac_fn_c_try_cpp
"$LINENO"; then :
12182 # Broken: success on invalid input.
12185 # Passes both tests.
12189 rm -f conftest.err conftest.i conftest.
$ac_ext
12192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12193 rm -f conftest.i conftest.err conftest.
$ac_ext
12194 if $ac_preproc_ok; then :
12197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12199 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
12200 See \`config.log' for more details" "$LINENO" 5; }
12204 ac_cpp
='$CPP $CPPFLAGS'
12205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12211 # Check whether --with-toolexeclibdir was given.
12212 if test "${with_toolexeclibdir+set}" = set; then :
12213 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
12217 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
12221 with_toolexeclibdir
=no
12226 # Calculate toolexeclibdir
12227 # Also toolexecdir, though it's only used in toolexeclibdir
12228 case ${version_specific_libs} in
12230 # Need the gcc compiler version to know where to install libraries
12231 # and header files if --enable-version-specific-runtime-libs option
12233 toolexecdir
='$(libdir)/gcc/$(target_alias)'
12234 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
12237 if test -n "$with_cross_host" &&
12238 test x
"$with_cross_host" != x
"no"; then
12239 # Install a library built with a cross compiler in tooldir, not libdir.
12240 toolexecdir
='$(exec_prefix)/$(target_alias)'
12241 case ${with_toolexeclibdir} in
12243 toolexeclibdir
='$(toolexecdir)/lib'
12246 toolexeclibdir
=${with_toolexeclibdir}
12250 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
12251 toolexeclibdir
='$(libdir)'
12253 multi_os_directory
=`$CC -print-multi-os-directory`
12254 case $multi_os_directory in
12255 .
) ;; # Avoid trailing /.
12256 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
12263 for ac_header
in fenv.h langinfo.h locale.h wchar.h wctype.h limits.h ctype.h
printf.h errno.h
12265 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12266 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12267 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12268 cat >>confdefs.h
<<_ACEOF
12269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the math.h includes POSIX's signgam" >&5
12278 $as_echo_n "checking whether the math.h includes POSIX's signgam... " >&6; }
12279 if ${libgfor_cv_have_math_h_signgam+:} false
; then :
12280 $as_echo_n "(cached) " >&6
12283 save_CFLAGS
="$CFLAGS"
12284 CFLAGS
="$CFLAGS -Werror"
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12289 void foo(void) { signgam = 1; }
12298 if ac_fn_c_try_compile
"$LINENO"; then :
12299 libgfor_cv_have_math_h_signgam
=yes
12301 libgfor_cv_have_math_h_signgam
=no
12303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12304 CFLAGS
="$save_CFLAGS"
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_math_h_signgam" >&5
12307 $as_echo "$libgfor_cv_have_math_h_signgam" >&6; }
12308 if test $libgfor_cv_have_math_h_signgam = yes; then
12310 $as_echo "#define HAVE_MATH_H_SIGNGAM 1" >>confdefs.h
12314 # If available, sqrtl and cbrtl speed up the calculation -
12315 # but they are not required
12316 if test x
$gcc_no_link != xyes
; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
12318 $as_echo_n "checking for sqrtl in -lm... " >&6; }
12319 if ${ac_cv_lib_m_sqrtl+:} false
; then :
12320 $as_echo_n "(cached) " >&6
12322 ac_check_lib_save_LIBS
=$LIBS
12324 if test x
$gcc_no_link = xyes
; then
12325 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12345 if ac_fn_c_try_link
"$LINENO"; then :
12346 ac_cv_lib_m_sqrtl
=yes
12348 ac_cv_lib_m_sqrtl
=no
12350 rm -f core conftest.err conftest.
$ac_objext \
12351 conftest
$ac_exeext conftest.
$ac_ext
12352 LIBS
=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
12355 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
12356 if test "x$ac_cv_lib_m_sqrtl" = xyes
; then :
12358 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
12363 $as_echo_n "checking for cbrtl in -lm... " >&6; }
12364 if ${ac_cv_lib_m_cbrtl+:} false
; then :
12365 $as_echo_n "(cached) " >&6
12367 ac_check_lib_save_LIBS
=$LIBS
12369 if test x
$gcc_no_link = xyes
; then
12370 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 /* Override any GCC internal prototype to avoid an error.
12376 Use char because int might match the return type of a GCC
12377 builtin and then its argument prototype would still apply. */
12390 if ac_fn_c_try_link
"$LINENO"; then :
12391 ac_cv_lib_m_cbrtl
=yes
12393 ac_cv_lib_m_cbrtl
=no
12395 rm -f core conftest.err conftest.
$ac_objext \
12396 conftest
$ac_exeext conftest.
$ac_ext
12397 LIBS
=$ac_check_lib_save_LIBS
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
12400 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
12401 if test "x$ac_cv_lib_m_cbrtl" = xyes
; then :
12403 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
12408 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
12409 if ${ac_cv_lib_m_feholdexcept+:} false
; then :
12410 $as_echo_n "(cached) " >&6
12412 ac_check_lib_save_LIBS
=$LIBS
12414 if test x
$gcc_no_link = xyes
; then
12415 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12420 /* Override any GCC internal prototype to avoid an error.
12421 Use char because int might match the return type of a GCC
12422 builtin and then its argument prototype would still apply. */
12426 char feholdexcept ();
12430 return feholdexcept ();
12435 if ac_fn_c_try_link
"$LINENO"; then :
12436 ac_cv_lib_m_feholdexcept
=yes
12438 ac_cv_lib_m_feholdexcept
=no
12440 rm -f core conftest.err conftest.
$ac_objext \
12441 conftest
$ac_exeext conftest.
$ac_ext
12442 LIBS
=$ac_check_lib_save_LIBS
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feholdexcept" >&5
12445 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12446 if test "x$ac_cv_lib_m_feholdexcept" = xyes
; then :
12448 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12453 $as_echo_n "checking for fesetround in -lm... " >&6; }
12454 if ${ac_cv_lib_m_fesetround+:} false
; then :
12455 $as_echo_n "(cached) " >&6
12457 ac_check_lib_save_LIBS
=$LIBS
12459 if test x
$gcc_no_link = xyes
; then
12460 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12471 char fesetround ();
12475 return fesetround ();
12480 if ac_fn_c_try_link
"$LINENO"; then :
12481 ac_cv_lib_m_fesetround
=yes
12483 ac_cv_lib_m_fesetround
=no
12485 rm -f core conftest.err conftest.
$ac_objext \
12486 conftest
$ac_exeext conftest.
$ac_ext
12487 LIBS
=$ac_check_lib_save_LIBS
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12490 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12491 if test "x$ac_cv_lib_m_fesetround" = xyes
; then :
12493 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12498 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12499 if ${ac_cv_lib_m_feupdateenv+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 ac_check_lib_save_LIBS
=$LIBS
12504 if test x
$gcc_no_link = xyes
; then
12505 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 /* Override any GCC internal prototype to avoid an error.
12511 Use char because int might match the return type of a GCC
12512 builtin and then its argument prototype would still apply. */
12516 char feupdateenv ();
12520 return feupdateenv ();
12525 if ac_fn_c_try_link
"$LINENO"; then :
12526 ac_cv_lib_m_feupdateenv
=yes
12528 ac_cv_lib_m_feupdateenv
=no
12530 rm -f core conftest.err conftest.
$ac_objext \
12531 conftest
$ac_exeext conftest.
$ac_ext
12532 LIBS
=$ac_check_lib_save_LIBS
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12535 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12536 if test "x$ac_cv_lib_m_feupdateenv" = xyes
; then :
12538 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12543 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12544 if ${ac_cv_lib_m_fesetenv+:} false
; then :
12545 $as_echo_n "(cached) " >&6
12547 ac_check_lib_save_LIBS
=$LIBS
12549 if test x
$gcc_no_link = xyes
; then
12550 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12555 /* Override any GCC internal prototype to avoid an error.
12556 Use char because int might match the return type of a GCC
12557 builtin and then its argument prototype would still apply. */
12565 return fesetenv ();
12570 if ac_fn_c_try_link
"$LINENO"; then :
12571 ac_cv_lib_m_fesetenv
=yes
12573 ac_cv_lib_m_fesetenv
=no
12575 rm -f core conftest.err conftest.
$ac_objext \
12576 conftest
$ac_exeext conftest.
$ac_ext
12577 LIBS
=$ac_check_lib_save_LIBS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12580 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12581 if test "x$ac_cv_lib_m_fesetenv" = xyes
; then :
12583 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12588 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12589 if ${ac_cv_lib_m_fetestexcept+:} false
; then :
12590 $as_echo_n "(cached) " >&6
12592 ac_check_lib_save_LIBS
=$LIBS
12594 if test x
$gcc_no_link = xyes
; then
12595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12600 /* Override any GCC internal prototype to avoid an error.
12601 Use char because int might match the return type of a GCC
12602 builtin and then its argument prototype would still apply. */
12606 char fetestexcept ();
12610 return fetestexcept ();
12615 if ac_fn_c_try_link
"$LINENO"; then :
12616 ac_cv_lib_m_fetestexcept
=yes
12618 ac_cv_lib_m_fetestexcept
=no
12620 rm -f core conftest.err conftest.
$ac_objext \
12621 conftest
$ac_exeext conftest.
$ac_ext
12622 LIBS
=$ac_check_lib_save_LIBS
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12625 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12626 if test "x$ac_cv_lib_m_fetestexcept" = xyes
; then :
12628 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12632 for ac_func
in strtoull
12634 ac_fn_c_check_func
"$LINENO" "strtoull" "ac_cv_func_strtoull"
12635 if test "x$ac_cv_func_strtoull" = xyes
; then :
12636 cat >>confdefs.h
<<_ACEOF
12637 #define HAVE_STRTOULL 1
12644 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then
12646 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12649 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then
12651 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12654 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then
12656 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12659 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then
12661 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12664 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then
12666 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12669 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then
12671 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12674 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then
12676 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12681 # Check for hidden visibility (copied from libssp).
12682 saved_CFLAGS
="$CFLAGS"
12683 CFLAGS
="$CFLAGS -Werror"
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
12685 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
12686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 void __attribute__((visibility ("hidden"))) bar (void) {}
12698 if ac_fn_c_try_compile
"$LINENO"; then :
12699 quadmath_hidden
=yes
12703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_hidden" >&5
12705 $as_echo "$quadmath_hidden" >&6; }
12706 if test x
$quadmath_hidden = xyes
; then
12708 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
12711 CFLAGS
="$saved_CFLAGS"
12713 # Check for symbol versioning (copied from libssp).
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12715 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12716 # Check whether --enable-symvers was given.
12717 if test "${enable_symvers+set}" = set; then :
12718 enableval
=$enable_symvers; quadmath_use_symver
=$enableval
12720 quadmath_use_symver
=yes
12723 if test "x$quadmath_use_symver" != xno
; then
12724 if test x
$gcc_no_link = xyes
; then
12725 # If we cannot link, we cannot build shared libraries, so do not use
12726 # symbol versioning.
12727 quadmath_use_symver
=no
12729 save_LDFLAGS
="$LDFLAGS"
12730 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12731 cat > conftest.map
<<EOF
12733 global: *foo*; bar; local: *;
12736 if test x
$gcc_no_link = xyes
; then
12737 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12750 if ac_fn_c_try_link
"$LINENO"; then :
12751 quadmath_use_symver
=gnu
12753 quadmath_use_symver
=no
12755 rm -f core conftest.err conftest.
$ac_objext \
12756 conftest
$ac_exeext conftest.
$ac_ext
12757 if test x
$quadmath_use_symver = xno
; then
12758 case "$target_os" in
12760 LDFLAGS
="$save_LDFLAGS"
12761 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12762 # Sun ld cannot handle wildcards and treats all entries as undefined.
12763 cat > conftest.map
<<EOF
12765 global: foo; local: *;
12768 if test x
$gcc_no_link = xyes
; then
12769 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12782 if ac_fn_c_try_link
"$LINENO"; then :
12783 quadmath_use_symver
=sun
12785 quadmath_use_symver
=no
12787 rm -f core conftest.err conftest.
$ac_objext \
12788 conftest
$ac_exeext conftest.
$ac_ext
12792 LDFLAGS
="$save_LDFLAGS"
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12796 $as_echo "$quadmath_use_symver" >&6; }
12797 if test "x$quadmath_use_symver" != xno
; then
12798 LIBQUAD_USE_SYMVER_TRUE
=
12799 LIBQUAD_USE_SYMVER_FALSE
='#'
12801 LIBQUAD_USE_SYMVER_TRUE
='#'
12802 LIBQUAD_USE_SYMVER_FALSE
=
12805 if test "x$quadmath_use_symver" = xgnu
; then
12806 LIBQUAD_USE_SYMVER_GNU_TRUE
=
12807 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
12809 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
12810 LIBQUAD_USE_SYMVER_GNU_FALSE
=
12813 if test "x$quadmath_use_symver" = xsun
; then
12814 LIBQUAD_USE_SYMVER_SUN_TRUE
=
12815 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
12817 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
12818 LIBQUAD_USE_SYMVER_SUN_FALSE
=
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12823 $as_echo_n "checking whether __float128 is supported... " >&6; }
12824 if ${libquad_cv_have_float128+:} false
; then :
12825 $as_echo_n "(cached) " >&6
12827 if test x
$gcc_no_link = xyes
; then
12828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12832 typedef _Complex float __attribute__((mode(TC))) __complex128;
12834 typedef _Complex float __attribute__((mode(KC))) __complex128;
12837 __float128 foo (__float128 x)
12840 __complex128 z1, z2;
12846 return (__float128) z2;
12849 __float128 bar (__float128 x)
12851 return x * __builtin_huge_valq ();
12865 if ac_fn_c_try_compile
"$LINENO"; then :
12867 libquad_cv_have_float128
=yes
12871 libquad_cv_have_float128
=no
12874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12876 if test x
$gcc_no_link = xyes
; then
12877 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12883 typedef _Complex float __attribute__((mode(TC))) __complex128;
12885 typedef _Complex float __attribute__((mode(KC))) __complex128;
12888 __float128 foo (__float128 x)
12891 __complex128 z1, z2;
12897 return (__float128) z2;
12900 __float128 bar (__float128 x)
12902 return x * __builtin_huge_valq ();
12916 if ac_fn_c_try_link
"$LINENO"; then :
12918 libquad_cv_have_float128
=yes
12922 libquad_cv_have_float128
=no
12925 rm -f core conftest.err conftest.
$ac_objext \
12926 conftest
$ac_exeext conftest.
$ac_ext
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12930 $as_echo "$libquad_cv_have_float128" >&6; }
12931 if test "x$libquad_cv_have_float128" = xyes
; then
12932 BUILD_LIBQUADMATH_TRUE
=
12933 BUILD_LIBQUADMATH_FALSE
='#'
12935 BUILD_LIBQUADMATH_TRUE
='#'
12936 BUILD_LIBQUADMATH_FALSE
=
12940 # Check for printf hook support.
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf hooks are supported" >&5
12942 $as_echo_n "checking whether printf hooks are supported... " >&6; }
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 #include <printf.h>
12947 #include <stdarg.h>
12948 #include <stdlib.h>
12949 extern void flt128_va (void *, va_list *);
12950 extern int flt128_ais (const struct printf_info *, size_t, int *, int *);
12951 extern int flt128_printf_fp (FILE *, const struct printf_info *, const void *const *);
12957 int pa_flt128 = register_printf_type (flt128_va);
12958 int mod_Q = register_printf_modifier (L"Q");
12959 int res = register_printf_specifier ('f', flt128_printf_fp, flt128_ais);
12960 struct printf_info info = { .user = -1 };
12966 if ac_fn_c_try_compile
"$LINENO"; then :
12967 quadmath_printf_hooks
=yes
12969 quadmath_printf_hooks
=no
12971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_printf_hooks" >&5
12973 $as_echo "$quadmath_printf_hooks" >&6; }
12974 if test x
$quadmath_printf_hooks = xyes
; then
12976 $as_echo "#define HAVE_PRINTF_HOOKS 1" >>confdefs.h
12980 # Check for whether locale support for quadmath_snprintf or Q printf hooks
12981 # should be provided.
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used" >&5
12983 $as_echo_n "checking whether nl_langinfo should be used... " >&6; }
12984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12986 #include <langinfo.h>
12992 s = nl_langinfo (DECIMAL_POINT);
12993 s = nl_langinfo (MON_DECIMAL_POINT);
12994 s = nl_langinfo (GROUPING);
12995 s = nl_langinfo (MON_GROUPING);
12996 s = nl_langinfo (THOUSANDS_SEP);
12997 s = nl_langinfo (MON_THOUSANDS_SEP);
13004 if ac_fn_c_try_compile
"$LINENO"; then :
13005 quadmath_use_nl_langinfo
=yes
13007 quadmath_use_nl_langinfo
=no
13009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo" >&5
13011 $as_echo "$quadmath_use_nl_langinfo" >&6; }
13012 if test x
$quadmath_use_nl_langinfo = xyes
; then
13014 $as_echo "#define USE_NL_LANGINFO 1" >>confdefs.h
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used for wide char locale info" >&5
13019 $as_echo_n "checking whether nl_langinfo should be used for wide char locale info... " >&6; }
13020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13022 #include <langinfo.h>
13028 s = nl_langinfo (_NL_NUMERIC_DECIMAL_POINT_WC);
13029 s = nl_langinfo (_NL_MONETARY_DECIMAL_POINT_WC);
13030 s = nl_langinfo (_NL_NUMERIC_THOUSANDS_SEP_WC);
13031 s = nl_langinfo (_NL_MONETARY_THOUSANDS_SEP_WC);
13038 if ac_fn_c_try_compile
"$LINENO"; then :
13039 quadmath_use_nl_langinfo_wc
=yes
13041 quadmath_use_nl_langinfo_wc
=no
13043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo_wc" >&5
13045 $as_echo "$quadmath_use_nl_langinfo_wc" >&6; }
13046 if test x
$quadmath_use_nl_langinfo_wc = xyes
; then
13048 $as_echo "#define USE_NL_LANGINFO_WC 1" >>confdefs.h
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localeconv should be used" >&5
13053 $as_echo_n "checking whether localeconv should be used... " >&6; }
13054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13056 #include <locale.h>
13061 const struct lconv *l = localeconv ();
13063 s = l->decimal_point;
13064 s = l->mon_decimal_point;
13066 s = l->mon_grouping;
13067 s = l->thousands_sep;
13068 s = l->mon_thousands_sep;
13075 if ac_fn_c_try_compile
"$LINENO"; then :
13076 quadmath_use_localeconv
=yes
13078 quadmath_use_localeconv
=no
13080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_localeconv" >&5
13082 $as_echo "$quadmath_use_localeconv" >&6; }
13083 if test x
$quadmath_use_localeconv = xyes
; then
13085 $as_echo "#define USE_LOCALECONV 1" >>confdefs.h
13089 # Check for whether i18n number rewriting support for quadmath_snprintf
13090 # or Q printf hooks should be provided.
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether i18n number rewriting support for quadmath_snprintf should be added" >&5
13092 $as_echo_n "checking whether i18n number rewriting support for quadmath_snprintf should be added... " >&6; }
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13095 #include <langinfo.h>
13096 #include <limits.h>
13097 #include <string.h>
13099 #include <wctype.h>
13105 char decimal[MB_LEN_MAX];
13106 wctrans_t map = wctrans ("to_outpunct");
13107 wint_t wdecimal = towctrans (L'.', map);
13109 memset (&state, '\0', sizeof (state));
13110 wcrtomb (decimal, wdecimal, &state);
13111 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_MB);
13112 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_WC);
13113 s = nl_langinfo (_NL_CTYPE_MB_CUR_MAX);
13120 if ac_fn_c_try_compile
"$LINENO"; then :
13121 quadmath_use_i18n_number_h
=yes
13123 quadmath_use_i18n_number_h
=no
13125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_i18n_number_h" >&5
13127 $as_echo "$quadmath_use_i18n_number_h" >&6; }
13128 if test x
$quadmath_use_i18n_number_h = xyes
; then
13130 $as_echo "#define USE_I18N_NUMBER_H 1" >>confdefs.h
13134 # Add CET specific flags if CET is enabled
13135 # Check whether --enable-cet was given.
13136 if test "${enable_cet+set}" = set; then :
13137 enableval
=$enable_cet;
13138 case "$enableval" in
13140 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
13149 $as_echo_n "checking for CET support... " >&6; }
13151 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
13153 i
[34567]86-*-linux* | x86_64-
*-linux*)
13154 case "$enable_cet" in
13156 # Check if target supports multi-byte NOPs
13157 # and if compiler and assembler support CET insn.
13158 cet_save_CFLAGS
="$CFLAGS"
13159 CFLAGS
="$CFLAGS -fcf-protection"
13160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13167 #if !defined(__SSE2__)
13168 #error target does not support multi-byte NOPs
13177 if ac_fn_c_try_compile
"$LINENO"; then :
13182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13183 CFLAGS
="$cet_save_CFLAGS"
13186 # Check if assembler supports CET.
13187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13198 if ac_fn_c_try_compile
"$LINENO"; then :
13201 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
13203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13211 if test x
$enable_cet = xyes
; then
13212 CET_FLAGS
="-fcf-protection -mshstk"
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13214 $as_echo "yes" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13217 $as_echo "no" >&6; }
13220 XCFLAGS
="$XCFLAGS $CET_FLAGS"
13223 xpowerpc64le
*-linux*)
13224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13226 #if __SIZEOF_LONG_DOUBLE__ != 16
13227 #error long double is double
13237 if ac_fn_c_try_cpp
"$LINENO"; then :
13238 XCFLAGS
="$XCFLAGS -mno-gnu-attribute"
13240 rm -f conftest.err conftest.i conftest.
$ac_ext
13247 cat >confcache
<<\_ACEOF
13248 # This file is a shell script that caches the results of configure
13249 # tests run on this system so they can be shared between configure
13250 # scripts and configure runs, see configure's option --config-cache.
13251 # It is not useful on other systems. If it contains results you don't
13252 # want to keep, you may remove or edit it.
13254 # config.status only pays attention to the cache file if you give it
13255 # the --recheck option to rerun configure.
13257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13259 # following values.
13263 # The following way of writing the cache mishandles newlines in values,
13264 # but we know of no workaround that is simple, portable, and efficient.
13265 # So, we kill variables containing newlines.
13266 # Ultrix sh set writes to stderr and can't be redirected directly,
13267 # and sets the high bit in the cache file unless we assign to the vars.
13269 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13270 eval ac_val
=\$
$ac_var
13274 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13275 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13278 _ | IFS | as_nl
) ;; #(
13279 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13280 *) { eval $ac_var=; unset $ac_var;} ;;
13286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13287 *${as_nl}ac_space
=\
*)
13288 # `set' does not quote correctly, so add quotes: double-quote
13289 # substitution turns \\\\ into \\, and sed turns \\ into \.
13292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13295 # `set' quotes correctly as required by POSIX, so do not add quotes.
13296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13309 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13310 if test -w "$cache_file"; then
13311 if test "x$cache_file" != "x/dev/null"; then
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13313 $as_echo "$as_me: updating cache $cache_file" >&6;}
13314 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13315 cat confcache
>"$cache_file"
13317 case $cache_file in #(
13319 mv -f confcache
"$cache_file"$$
&&
13320 mv -f "$cache_file"$$
"$cache_file" ;; #(
13322 mv -f confcache
"$cache_file" ;;
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13328 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13333 if test ${multilib} = yes; then
13334 multilib_arg
="--enable-multilib"
13340 # We would like our source tree to be readonly. However when releases or
13341 # pre-releases are generated, the flex/bison generated files as well as the
13342 # various formats of manuals need to be included along with the rest of the
13343 # sources. Therefore we have --enable-generated-files-in-srcdir to do
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
13346 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
13347 # Check whether --enable-generated-files-in-srcdir was given.
13348 if test "${enable_generated_files_in_srcdir+set}" = set; then :
13349 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
13350 yes) enable_generated_files_in_srcdir
=yes ;;
13351 no
) enable_generated_files_in_srcdir
=no
;;
13352 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13355 enable_generated_files_in_srcdir
=no
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
13359 $as_echo "$enable_generated_files_in_srcdir" >&6; }
13360 if test "$enable_generated_files_in_srcdir" = yes; then
13369 # Determine what GCC version number to use in filesystem paths.
13371 get_gcc_base_ver
="cat"
13373 # Check whether --with-gcc-major-version-only was given.
13374 if test "${with_gcc_major_version_only+set}" = set; then :
13375 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13376 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13384 ac_config_files
="$ac_config_files Makefile"
13386 cat >confcache
<<\_ACEOF
13387 # This file is a shell script that caches the results of configure
13388 # tests run on this system so they can be shared between configure
13389 # scripts and configure runs, see configure's option --config-cache.
13390 # It is not useful on other systems. If it contains results you don't
13391 # want to keep, you may remove or edit it.
13393 # config.status only pays attention to the cache file if you give it
13394 # the --recheck option to rerun configure.
13396 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13397 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13398 # following values.
13402 # The following way of writing the cache mishandles newlines in values,
13403 # but we know of no workaround that is simple, portable, and efficient.
13404 # So, we kill variables containing newlines.
13405 # Ultrix sh set writes to stderr and can't be redirected directly,
13406 # and sets the high bit in the cache file unless we assign to the vars.
13408 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13409 eval ac_val
=\$
$ac_var
13413 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13414 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13417 _ | IFS | as_nl
) ;; #(
13418 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13419 *) { eval $ac_var=; unset $ac_var;} ;;
13425 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13426 *${as_nl}ac_space
=\
*)
13427 # `set' does not quote correctly, so add quotes: double-quote
13428 # substitution turns \\\\ into \\, and sed turns \\ into \.
13431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13434 # `set' quotes correctly as required by POSIX, so do not add quotes.
13435 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13446 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13448 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13449 if test -w "$cache_file"; then
13450 if test "x$cache_file" != "x/dev/null"; then
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13452 $as_echo "$as_me: updating cache $cache_file" >&6;}
13453 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13454 cat confcache
>"$cache_file"
13456 case $cache_file in #(
13458 mv -f confcache
"$cache_file"$$
&&
13459 mv -f "$cache_file"$$
"$cache_file" ;; #(
13461 mv -f confcache
"$cache_file" ;;
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13467 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13472 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13473 # Let make expand exec_prefix.
13474 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13476 DEFS
=-DHAVE_CONFIG_H
13481 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13482 # 1. Remove the extension, and $U if already installed.
13483 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13484 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13485 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13486 # will be set to the directory where LIBOBJS objects are built.
13487 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13488 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13490 LIBOBJS
=$ac_libobjs
13492 LTLIBOBJS
=$ac_ltlibobjs
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13496 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13497 if test -n "$am_sleep_pid"; then
13498 # Hide warnings about reused PIDs.
13499 wait $am_sleep_pid 2>/dev
/null
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13502 $as_echo "done" >&6; }
13503 if test -n "$EXEEXT"; then
13505 am__EXEEXT_FALSE
='#'
13507 am__EXEEXT_TRUE
='#'
13511 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13512 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13515 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13516 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13519 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
13520 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
13521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13523 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
13524 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
13525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13527 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13528 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13531 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13532 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13535 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
13536 as_fn_error $?
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
13537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13539 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
13540 as_fn_error $?
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
13541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13543 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
13544 as_fn_error $?
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
13545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13547 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
13548 as_fn_error $?
"conditional \"BUILD_LIBQUADMATH\" was never defined.
13549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13551 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
13552 as_fn_error $?
"conditional \"GENINSRC\" was never defined.
13553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13556 : "${CONFIG_STATUS=./config.status}"
13558 ac_clean_files_save
=$ac_clean_files
13559 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13561 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13563 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13565 # Generated by $as_me.
13566 # Run this file to recreate the current configuration.
13567 # Compiler output produced by configure, useful for debugging
13568 # configure, is in config.log if it exists.
13571 ac_cs_recheck=false
13574 SHELL=\${CONFIG_SHELL-$SHELL}
13577 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13578 ## -------------------- ##
13579 ## M4sh Initialization. ##
13580 ## -------------------- ##
13582 # Be more Bourne compatible
13583 DUALCASE
=1; export DUALCASE
# for MKS sh
13584 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13587 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13588 # is contrary to our usage. Disable this feature.
13589 alias -g '${1+"$@"}'='"$@"'
13590 setopt NO_GLOB_SUBST
13592 case `(set -o) 2>/dev/null` in #(
13604 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13605 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13608 # Prefer a ksh shell builtin over an external printf program on Solaris,
13609 # but without wasting forks for bash or zsh.
13610 if test -z "$BASH_VERSION$ZSH_VERSION" \
13611 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13612 as_echo='print
-r --'
13613 as_echo_n='print
-rn --'
13614 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13615 as_echo='printf %s
\n'
13616 as_echo_n='printf %s
'
13618 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13619 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13620 as_echo_n='/usr
/ucb
/echo -n'
13622 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13623 as_echo_n_body='eval
13627 expr "X$arg" : "X\\(.*\\)$as_nl";
13628 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13630 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13632 export as_echo_n_body
13633 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13635 export as_echo_body
13636 as_echo='sh
-c $as_echo_body as_echo
'
13639 # The user is always right.
13640 if test "${PATH_SEPARATOR+set}" != set; then
13642 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13643 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13650 # We need space, tab and new line, in precisely that order. Quoting is
13651 # there to prevent editors from complaining about space-tab.
13652 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13653 # splitting by setting IFS to empty value.)
13656 # Find who we are. Look in the path if we contain no directory separator.
13659 *[\\/]* ) as_myself=$0 ;;
13660 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13661 for as_dir in $PATH
13664 test -z "$as_dir" && as_dir=.
13665 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13671 # We did not find ourselves, most probably we were run as `sh COMMAND'
13672 # in which case we are not to be found in the path.
13673 if test "x$as_myself" = x
; then
13676 if test ! -f "$as_myself"; then
13677 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13681 # Unset variables that we do not need and which cause bugs (e.g. in
13682 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13683 # suppresses any "Segmentation fault" message there. '((' could
13684 # trigger a bug in pdksh 5.2.14.
13685 for as_var
in BASH_ENV ENV MAIL MAILPATH
13686 do eval test x\
${$as_var+set} = xset \
13687 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13700 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13703 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13704 # ----------------------------------------
13705 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13706 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13707 # script with STATUS, using 1 if that was 0.
13710 as_status
=$1; test $as_status -eq 0 && as_status
=1
13712 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13713 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13715 $as_echo "$as_me: error: $2" >&2
13716 as_fn_exit
$as_status
13720 # as_fn_set_status STATUS
13721 # -----------------------
13722 # Set $? to STATUS, without forking.
13723 as_fn_set_status
()
13726 } # as_fn_set_status
13728 # as_fn_exit STATUS
13729 # -----------------
13730 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13734 as_fn_set_status
$1
13740 # Portably unset VAR.
13743 { eval $1=; unset $1;}
13745 as_unset
=as_fn_unset
13746 # as_fn_append VAR VALUE
13747 # ----------------------
13748 # Append the text in VALUE to the end of the definition contained in VAR. Take
13749 # advantage of any shell optimizations that allow amortized linear growth over
13750 # repeated appends, instead of the typical quadratic growth present in naive
13752 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13753 eval 'as_fn_append ()
13764 # as_fn_arith ARG...
13765 # ------------------
13766 # Perform arithmetic evaluation on the ARGs, and store the result in the
13767 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13768 # must be portable across $(()) and expr.
13769 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13770 eval 'as_fn_arith ()
13777 as_val
=`expr "$@" || test $? -eq 1`
13782 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13783 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13789 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13790 as_basename
=basename
13795 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13801 as_me
=`$as_basename -- "$0" ||
13802 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13803 X"$0" : 'X\(//\)$' \| \
13804 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13806 sed '/^.*\/\([^/][^/]*\)\/*$/{
13820 # Avoid depending upon Character Ranges.
13821 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13822 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13823 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13824 as_cr_digits
='0123456789'
13825 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13827 ECHO_C
= ECHO_N
= ECHO_T
=
13828 case `echo -n x` in #(((((
13830 case `echo 'xy\c'` in
13831 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13833 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13840 rm -f conf$$ conf$$.exe conf$$.
file
13841 if test -d conf$$.dir
; then
13842 rm -f conf$$.dir
/conf$$.
file
13845 mkdir conf$$.dir
2>/dev
/null
13847 if (echo >conf$$.
file) 2>/dev
/null
; then
13848 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13850 # ... but there are two gotchas:
13851 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13852 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13853 # In both cases, we have to default to `cp -pR'.
13854 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13856 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13864 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13865 rmdir conf$$.dir
2>/dev
/null
13870 # Create "$as_dir" as a directory, including parents if necessary.
13875 -*) as_dir
=.
/$as_dir;;
13877 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13881 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13882 *) as_qdir
=$as_dir;;
13884 as_dirs
="'$as_qdir' $as_dirs"
13885 as_dir
=`$as_dirname -- "$as_dir" ||
13886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13887 X"$as_dir" : 'X\(//\)[^/]' \| \
13888 X"$as_dir" : 'X\(//\)$' \| \
13889 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13890 $as_echo X"$as_dir" |
13891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13895 /^X\(\/\/\)[^/].*/{
13908 test -d "$as_dir" && break
13910 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13911 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13915 if mkdir
-p .
2>/dev
/null
; then
13916 as_mkdir_p
='mkdir -p "$as_dir"'
13918 test -d .
/-p && rmdir .
/-p
13923 # as_fn_executable_p FILE
13924 # -----------------------
13925 # Test if FILE is an executable regular file.
13926 as_fn_executable_p
()
13928 test -f "$1" && test -x "$1"
13929 } # as_fn_executable_p
13930 as_test_x
='test -x'
13931 as_executable_p
=as_fn_executable_p
13933 # Sed expression to map a string onto a valid CPP name.
13934 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13936 # Sed expression to map a string onto a valid variable name.
13937 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13941 ## ----------------------------------- ##
13942 ## Main body of $CONFIG_STATUS script. ##
13943 ## ----------------------------------- ##
13945 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13948 # Save the log message, to keep $0 and so on meaningful, and to
13949 # report actual input values of CONFIG_FILES etc. instead of their
13950 # values after options handling.
13952 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13953 generated by GNU Autoconf 2.69. Invocation command line was
13955 CONFIG_FILES = $CONFIG_FILES
13956 CONFIG_HEADERS = $CONFIG_HEADERS
13957 CONFIG_LINKS = $CONFIG_LINKS
13958 CONFIG_COMMANDS = $CONFIG_COMMANDS
13961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13966 case $ac_config_files in *"
13967 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13970 case $ac_config_headers in *"
13971 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13976 # Files that config.status was made for.
13977 config_files="$ac_config_files"
13978 config_headers="$ac_config_headers"
13979 config_commands="$ac_config_commands"
13983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13985 \`$as_me' instantiates files and other configuration actions
13986 from templates according to the current configuration. Unless the files
13987 and actions are specified as TAGs, all are instantiated by default.
13989 Usage: $0 [OPTION]... [TAG]...
13991 -h, --help print this help, then exit
13992 -V, --version print version number and configuration settings, then exit
13993 --config print configuration, then exit
13994 -q, --quiet, --silent
13995 do not print progress messages
13996 -d, --debug don't remove temporary files
13997 --recheck update $as_me by reconfiguring in the same conditions
13998 --file=FILE[:TEMPLATE]
13999 instantiate the configuration file FILE
14000 --header=FILE[:TEMPLATE]
14001 instantiate the configuration header FILE
14003 Configuration files:
14006 Configuration headers:
14009 Configuration commands:
14012 Report bugs to the package provider."
14015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14016 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14018 GCC Quad-precision Math Library config.status 0.1
14019 configured by $0, generated by GNU Autoconf 2.69,
14020 with options \\"\$ac_cs_config\\"
14022 Copyright (C) 2012 Free Software Foundation, Inc.
14023 This config.status script is free software; the Free Software Foundation
14024 gives unlimited permission to copy, distribute and modify it."
14031 test -n "\$AWK" || AWK=awk
14034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14035 # The default lists apply if the user does not specify any file.
14041 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14042 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14046 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14058 # Handling of the options.
14059 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14061 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14062 $as_echo "$ac_cs_version"; exit ;;
14063 --config |
--confi |
--conf |
--con |
--co |
--c )
14064 $as_echo "$ac_cs_config"; exit ;;
14065 --debug |
--debu |
--deb |
--de |
--d |
-d )
14067 --file |
--fil |
--fi |
--f )
14070 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14071 '') as_fn_error $?
"missing file argument" ;;
14073 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14074 ac_need_defaults
=false
;;
14075 --header |
--heade |
--head |
--hea )
14078 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14080 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14081 ac_need_defaults
=false
;;
14083 # Conflict between --help and --header
14084 as_fn_error $?
"ambiguous option: \`$1'
14085 Try \`$0 --help' for more information.";;
14086 --help |
--hel |
-h )
14087 $as_echo "$ac_cs_usage"; exit ;;
14088 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14089 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14092 # This is an error.
14093 -*) as_fn_error $?
"unrecognized option: \`$1'
14094 Try \`$0 --help' for more information." ;;
14096 *) as_fn_append ac_config_targets
" $1"
14097 ac_need_defaults
=false
;;
14103 ac_configure_extra_args
=
14105 if $ac_cs_silent; then
14107 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14112 if \$ac_cs_recheck; then
14113 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14115 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14116 CONFIG_SHELL='$SHELL'
14117 export CONFIG_SHELL
14122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14127 ## Running $as_me. ##
14133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14141 with_multisubdir="$with_multisubdir"
14142 with_multisrctop="$with_multisrctop"
14143 with_target_subdir="$with_target_subdir"
14144 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14145 multi_basedir="$multi_basedir"
14146 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14149 GFORTRAN="$GFORTRAN"
14151 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14154 # The HP-UX ksh and POSIX shell print the target directory to stdout
14155 # if CDPATH is set.
14156 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14158 sed_quote_subst='$sed_quote_subst'
14159 double_quote_subst='$double_quote_subst'
14160 delay_variable_subst='$delay_variable_subst'
14161 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14162 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14163 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14164 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14165 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14166 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14167 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14168 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14169 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14170 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14171 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14172 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14173 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14174 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14175 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14176 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14177 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14178 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14179 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14180 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14181 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14182 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14183 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14184 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14185 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14186 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14187 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14188 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14189 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14190 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14191 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14192 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14193 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14194 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14195 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14196 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14197 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14198 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14199 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14200 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14201 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14202 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14203 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14204 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14205 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14206 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14207 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14208 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14209 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"`'
14210 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14211 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14212 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14213 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14214 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14215 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14216 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14217 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14218 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14219 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14220 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14221 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14222 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14223 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14224 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14225 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14226 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14227 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14228 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14229 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14230 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14231 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14232 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14233 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14234 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14235 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14236 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14237 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14238 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14239 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14240 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14241 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14242 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14243 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14244 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14245 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14246 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14247 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14248 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14249 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14250 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14251 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14252 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14253 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14254 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14255 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14256 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14257 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14258 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14259 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14260 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14261 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14262 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14263 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14264 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14265 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14266 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14267 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14268 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14269 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14270 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14271 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14272 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14273 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14274 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14275 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14276 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14277 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14278 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14279 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14280 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14283 LTCFLAGS='$LTCFLAGS'
14284 compiler='$compiler_DEFAULT'
14286 # A function that is used when there is no print builtin or printf.
14287 func_fallback_echo ()
14289 eval 'cat <<_LTECHO_EOF
14294 # Quote evaled strings.
14308 deplibs_check_method \
14317 lt_cv_sys_global_symbol_pipe \
14318 lt_cv_sys_global_symbol_to_cdecl \
14319 lt_cv_sys_global_symbol_to_c_name_address \
14320 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14321 lt_prog_compiler_no_builtin_flag \
14322 lt_prog_compiler_wl \
14323 lt_prog_compiler_pic \
14324 lt_prog_compiler_static \
14325 lt_cv_prog_compiler_c_o \
14333 export_dynamic_flag_spec \
14334 whole_archive_flag_spec \
14335 compiler_needs_object \
14337 allow_undefined_flag \
14338 no_undefined_flag \
14339 hardcode_libdir_flag_spec \
14340 hardcode_libdir_flag_spec_ld \
14341 hardcode_libdir_separator \
14346 variables_saved_for_relink \
14348 library_names_spec \
14350 install_override_mode \
14354 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14355 *[\\\\\\\`\\"\\\$]*)
14356 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14359 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14364 # Double-quote double-evaled strings.
14365 for var in reload_cmds \
14366 old_postinstall_cmds \
14367 old_postuninstall_cmds \
14369 extract_expsyms_cmds \
14370 old_archive_from_new_cmds \
14371 old_archive_from_expsyms_cmds \
14373 archive_expsym_cmds \
14375 module_expsym_cmds \
14376 export_symbols_cmds \
14379 postuninstall_cmds \
14381 sys_lib_search_path_spec \
14382 sys_lib_dlsearch_path_spec; do
14383 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14384 *[\\\\\\\`\\"\\\$]*)
14385 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14388 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14393 ac_aux_dir='$ac_aux_dir'
14394 xsi_shell='$xsi_shell'
14395 lt_shell_append='$lt_shell_append'
14397 # See if we are running on zsh, and set the options which allow our
14398 # commands through without removal of \ escapes INIT.
14399 if test -n "\${ZSH_VERSION+set}" ; then
14400 setopt NO_GLOB_SUBST
14406 TIMESTAMP='$TIMESTAMP'
14415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14417 # Handling of arguments.
14418 for ac_config_target
in $ac_config_targets
14420 case $ac_config_target in
14421 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14422 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14423 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14424 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14425 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14427 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14432 # If the user did not use the arguments to specify the items to instantiate,
14433 # then the envvar interface is used. Set only those that are not.
14434 # We use the long form for the default assignment because of an extremely
14435 # bizarre bug on SunOS 4.1.3.
14436 if $ac_need_defaults; then
14437 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14438 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14439 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14442 # Have a temporary directory for convenience. Make it in the build tree
14443 # simply because there is no reason against having it here, and in addition,
14444 # creating and moving files from /tmp can sometimes cause problems.
14445 # Hook for its removal unless debugging.
14446 # Note that there is a small window in which the directory will not be cleaned:
14447 # after its creation but before its name has been assigned to `$tmp'.
14451 trap 'exit_status=$?
14452 : "${ac_tmp:=$tmp}"
14453 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14455 trap 'as_fn_exit 1' 1 2 13 15
14457 # Create a (secure) tmp directory for tmp files.
14460 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14464 tmp
=.
/conf$$
-$RANDOM
14465 (umask 077 && mkdir
"$tmp")
14466 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14469 # Set up the scripts for CONFIG_FILES section.
14470 # No need to generate them if there are no CONFIG_FILES.
14471 # This happens for instance with `./config.status config.h'.
14472 if test -n "$CONFIG_FILES"; then
14475 ac_cr
=`echo X | tr X '\015'`
14476 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14477 # But we know of no other shell where ac_cr would be empty at this
14478 # point, so we can use a bashism as a fallback.
14479 if test "x$ac_cr" = x
; then
14480 eval ac_cr
=\$
\'\\r
\'
14482 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14483 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14486 ac_cs_awk_cr
=$ac_cr
14489 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14494 echo "cat >conf$$subs.awk <<_ACEOF" &&
14495 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14497 } >conf$$subs.sh ||
14498 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14499 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14501 for ac_last_try in false false false false false :; do
14502 . ./conf$$subs.sh ||
14503 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14505 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14506 if test $ac_delim_n = $ac_delim_num; then
14508 elif $ac_last_try; then
14509 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14511 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14514 rm -f conf$$subs.sh
14516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14517 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14521 s/^/S["/; s
/!.
*/"]=/
14531 s/\(.\{148\}\)..*/\1/
14533 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14538 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14545 s/\(.\{148\}\)..*/\1/
14547 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14551 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14556 ' <conf$$subs.awk | sed '
14561 ' >>$CONFIG_STATUS || ac_write_fail=1
14562 rm -f conf$$subs.awk
14563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14565 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14566 for (key in S) S_is_set[key] = 1
14572 nfields = split(line, field, "@
")
14574 len = length(field[1])
14575 for (i = 2; i < nfields; i++) {
14577 keylen = length(key)
14578 if (S_is_set[key]) {
14580 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14581 len += length(value) + length(field[++i])
14592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14593 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14594 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14597 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14598 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14601 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14602 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14603 # trailing colons and then remove the whole line if VPATH becomes empty
14604 # (actually we leave an empty line to preserve line numbers).
14605 if test "x
$srcdir" = x.; then
14606 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14625 fi # test -n "$CONFIG_FILES"
14627 # Set up the scripts for CONFIG_HEADERS section.
14628 # No need to generate them if there are no CONFIG_HEADERS.
14629 # This happens for instance with `./config.status Makefile'.
14630 if test -n "$CONFIG_HEADERS"; then
14631 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14635 # Transform confdefs.h into an awk script `defines.awk', embedded as
14636 # here-document in config.status, that substitutes the proper values into
14637 # config.h.in to produce config.h.
14639 # Create a delimiter string that does not exist in confdefs.h, to ease
14640 # handling of long lines.
14642 for ac_last_try in false false :; do
14643 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14644 if test -z "$ac_tt"; then
14646 elif $ac_last_try; then
14647 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14649 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14653 # For the awk script, D is an array of macro values keyed by name,
14654 # likewise P contains macro parameters if any. Preserve backslash
14655 # newline sequences.
14657 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14659 s/.\{148\}/&'"$ac_delim"'/g
14662 s/^[ ]*#[ ]*define[ ][ ]*/ /
14669 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14671 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14675 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14676 D["\
1"]=" \
3\\\\\\n
"\\/p
14678 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14683 s/.\{148\}/&'"$ac_delim"'/g
14688 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14691 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14693 ' <confdefs.h | sed '
14694 s/'"$ac_delim"'/"\\\
14695 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14698 for (key in D) D_is_set[key] = 1
14701 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14703 split(line, arg, " ")
14704 if (arg[1] == "#") {
14708 defundef
= substr
(arg
[1], 2)
14711 split(mac1
, mac2
, "(") #)
14713 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14714 if (D_is_set
[macro
]) {
14715 # Preserve the white space surrounding the "#".
14716 print prefix
"define", macro P
[macro
] D
[macro
]
14719 # Replace #undef with comments. This is necessary, for example,
14720 # in the case of _POSIX_SOURCE, which is predefined and required
14721 # on some systems where configure will not decide to define it.
14722 if (defundef
== "undef") {
14723 print
"/*", prefix defundef
, macro
, "*/"
14731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14732 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14733 fi # test -n "$CONFIG_HEADERS"
14736 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14741 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14743 case $ac_mode$ac_tag in
14745 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14746 :[FH
]-) ac_tag
=-:-;;
14747 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14764 -) ac_f
="$ac_tmp/stdin";;
14765 *) # Look for the file first in the build tree, then in the source tree
14766 # (if the path is not absolute). The absolute path cannot be DOS-style,
14767 # because $ac_f cannot contain `:'.
14771 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14773 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14775 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14776 as_fn_append ac_file_inputs
" '$ac_f'"
14779 # Let's still pretend it is `configure' which instantiates (i.e., don't
14780 # use $as_me), people would be surprised to read:
14781 # /* config.h. Generated by config.status. */
14782 configure_input
='Generated from '`
14783 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14785 if test x
"$ac_file" != x-
; then
14786 configure_input
="$ac_file. $configure_input"
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14788 $as_echo "$as_me: creating $ac_file" >&6;}
14790 # Neutralize special characters interpreted by sed in replacement strings.
14791 case $configure_input in #(
14792 *\
&* |
*\|
* |
*\\* )
14793 ac_sed_conf_input
=`$as_echo "$configure_input" |
14794 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14795 *) ac_sed_conf_input
=$configure_input;;
14799 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14800 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14805 ac_dir
=`$as_dirname -- "$ac_file" ||
14806 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14807 X"$ac_file" : 'X\(//\)[^/]' \| \
14808 X"$ac_file" : 'X\(//\)$' \| \
14809 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14810 $as_echo X"$ac_file" |
14811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14815 /^X\(\/\/\)[^/].*/{
14828 as_dir
="$ac_dir"; as_fn_mkdir_p
14832 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14834 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14835 # A ".." for each directory in $ac_dir_suffix.
14836 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14837 case $ac_top_builddir_sub in
14838 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14839 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14842 ac_abs_top_builddir
=$ac_pwd
14843 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14844 # for backward compatibility:
14845 ac_top_builddir
=$ac_top_build_prefix
14848 .
) # We are building in place.
14850 ac_top_srcdir
=$ac_top_builddir_sub
14851 ac_abs_top_srcdir
=$ac_pwd ;;
14852 [\\/]* | ?
:[\\/]* ) # Absolute name.
14853 ac_srcdir
=$srcdir$ac_dir_suffix;
14854 ac_top_srcdir
=$srcdir
14855 ac_abs_top_srcdir
=$srcdir ;;
14856 *) # Relative name.
14857 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14858 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14859 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14861 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14871 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14872 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14874 ac_MKDIR_P
=$MKDIR_P
14876 [\\/$
]* | ?
:[\\/]* ) ;;
14877 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14882 # If the template does not know about datarootdir, expand it.
14883 # FIXME: This hack should be removed a few years after 2.60.
14884 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14895 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14896 *datarootdir
*) ac_datarootdir_seen
=yes;;
14897 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14899 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14902 ac_datarootdir_hack='
14903 s&@datadir@&$datadir&g
14904 s&@docdir@&$docdir&g
14905 s&@infodir@&$infodir&g
14906 s&@localedir@&$localedir&g
14907 s&@mandir@&$mandir&g
14908 s&\\\${datarootdir}&$datarootdir&g' ;;
14912 # Neutralize VPATH when `$srcdir' = `.'.
14913 # Shell code in configure.ac might set extrasub.
14914 # FIXME: do we really want to maintain this feature?
14915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14916 ac_sed_extra="$ac_vpsub
14919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14921 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14922 s|@configure_input@|
$ac_sed_conf_input|
;t t
14923 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14924 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14925 s
&@srcdir@
&$ac_srcdir&;t t
14926 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14927 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14928 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14929 s
&@builddir@
&$ac_builddir&;t t
14930 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14931 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14932 s
&@INSTALL@
&$ac_INSTALL&;t t
14933 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14934 $ac_datarootdir_hack
14936 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14937 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14939 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14940 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14941 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14942 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14944 which seems to be undefined. Please make sure it is defined" >&5
14945 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14946 which seems to be undefined. Please make sure it is defined" >&2;}
14948 rm -f "$ac_tmp/stdin"
14950 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14951 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14953 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14959 if test x"$ac_file" != x-; then
14961 $as_echo "/* $configure_input */" \
14962 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14963 } >"$ac_tmp/config.h" \
14964 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14965 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14967 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14970 mv "$ac_tmp/config.h" "$ac_file" \
14971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14974 $as_echo "/* $configure_input */" \
14975 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14976 || as_fn_error $? "could not create -" "$LINENO" 5
14978 # Compute "$ac_file"'s index
in $config_headers.
14981 for _am_header
in $config_headers :; do
14982 case $_am_header in
14983 $_am_arg |
$_am_arg:* )
14986 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14989 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14990 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14991 X"$_am_arg" : 'X\(//\)[^/]' \| \
14992 X"$_am_arg" : 'X\(//\)$' \| \
14993 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14994 $as_echo X"$_am_arg" |
14995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14999 /^X\(\/\/\)[^/].*/{
15011 s/.*/./; q'`/stamp-h
$_am_stamp_count
15014 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15015 $as_echo "$as_me: executing $ac_file commands" >&6;}
15020 case $ac_file$ac_mode in
15022 # Only add multilib support code if we just rebuilt the top-level
15024 case " $CONFIG_FILES " in
15026 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15029 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15030 # Older Autoconf quotes --file arguments for eval, but not when files
15031 # are listed without --file. Let's play safe and only enable the eval
15032 # if we detect the quoting.
15033 case $CONFIG_FILES in
15034 *\'*) eval set x
"$CONFIG_FILES" ;;
15035 *) set x
$CONFIG_FILES ;;
15040 # Strip MF so we end up with the name of the file.
15041 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15042 # Check whether this is an Automake generated Makefile or not.
15043 # We used to match only the files named 'Makefile.in', but
15044 # some people rename them; so instead we look at the file content.
15045 # Grep'ing the first line is not enough: some people post-process
15046 # each Makefile.in and add a new line on top of each file to say so.
15047 # Grep'ing the whole file is not good either: AIX grep has a line
15048 # limit of 2048, but all sed's we know have understand at least 4000.
15049 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15050 dirpart
=`$as_dirname -- "$mf" ||
15051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15052 X"$mf" : 'X\(//\)[^/]' \| \
15053 X"$mf" : 'X\(//\)$' \| \
15054 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15060 /^X\(\/\/\)[^/].*/{
15076 # Extract the definition of DEPDIR, am__include, and am__quote
15077 # from the Makefile without running 'make'.
15078 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15079 test -z "$DEPDIR" && continue
15080 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15081 test -z "$am__include" && continue
15082 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15083 # Find all dependency output files, they are included files with
15084 # $(DEPDIR) in their names. We invoke sed twice because it is the
15085 # simplest approach to changing $(DEPDIR) to its actual value in the
15087 for file in `sed -n "
15088 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15089 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15090 # Make sure the directory exists.
15091 test -f "$dirpart/$file" && continue
15092 fdir
=`$as_dirname -- "$file" ||
15093 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15094 X"$file" : 'X\(//\)[^/]' \| \
15095 X"$file" : 'X\(//\)$' \| \
15096 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15097 $as_echo X"$file" |
15098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15102 /^X\(\/\/\)[^/].*/{
15115 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15116 # echo "creating $dirpart/$file"
15117 echo '# dummy' > "$dirpart/$file"
15124 # See if we are running on zsh, and set the options which allow our
15125 # commands through without removal of \ escapes.
15126 if test -n "${ZSH_VERSION+set}" ; then
15127 setopt NO_GLOB_SUBST
15130 cfgfile
="${ofile}T"
15131 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15134 cat <<_LT_EOF >> "$cfgfile"
15137 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15138 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15139 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15140 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15142 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15143 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15144 # Written by Gordon Matzigkeit, 1996
15146 # This file is part of GNU Libtool.
15148 # GNU Libtool is free software; you can redistribute it and/or
15149 # modify it under the terms of the GNU General Public License as
15150 # published by the Free Software Foundation; either version 2 of
15151 # the License, or (at your option) any later version.
15153 # As a special exception to the GNU General Public License,
15154 # if you distribute this file as part of a program or library that
15155 # is built using GNU Libtool, you may include this file under the
15156 # same distribution terms that you use for the rest of that program.
15158 # GNU Libtool is distributed in the hope that it will be useful,
15159 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15160 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15161 # GNU General Public License for more details.
15163 # You should have received a copy of the GNU General Public License
15164 # along with GNU Libtool; see the file COPYING. If not, a copy
15165 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15166 # obtained by writing to the Free Software Foundation, Inc.,
15167 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15170 # The names of the tagged configurations supported by this script.
15173 # ### BEGIN LIBTOOL CONFIG
15175 # Which release of libtool.m4 was used?
15176 macro_version=$macro_version
15177 macro_revision=$macro_revision
15179 # Whether or not to build shared libraries.
15180 build_libtool_libs=$enable_shared
15182 # Whether or not to build static libraries.
15183 build_old_libs=$enable_static
15185 # What type of objects to build.
15188 # Whether or not to optimize for fast installation.
15189 fast_install=$enable_fast_install
15191 # Shell to use when invoking shell scripts.
15194 # An echo program that protects backslashes.
15198 host_alias=$host_alias
15202 # The build system.
15203 build_alias=$build_alias
15207 # A sed program that does not truncate output.
15210 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15211 Xsed="\$SED -e 1s/^X//"
15213 # A grep program that handles long lines.
15219 # A literal string matcher.
15222 # A BSD- or MS-compatible name lister.
15225 # Whether we need soft or hard links.
15228 # What is the maximum length of a command?
15229 max_cmd_len=$max_cmd_len
15231 # Object file suffix (normally "o").
15234 # Executable file suffix (normally "").
15237 # whether the shell understands "unset".
15240 # turn spaces into newlines.
15243 # turn newlines into spaces.
15246 # An object symbol dumper.
15247 OBJDUMP=$lt_OBJDUMP
15249 # Method to check whether dependent libraries are shared objects.
15250 deplibs_check_method=$lt_deplibs_check_method
15252 # Command to use when deplibs_check_method == "file_magic".
15253 file_magic_cmd=$lt_file_magic_cmd
15257 AR_FLAGS=$lt_AR_FLAGS
15259 # A symbol stripping program.
15262 # Commands used to install an old-style archive.
15264 old_postinstall_cmds=$lt_old_postinstall_cmds
15265 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15267 # Whether to use a lock for old archive extraction.
15268 lock_old_archive_extraction=$lock_old_archive_extraction
15273 # LTCC compiler flags.
15274 LTCFLAGS=$lt_CFLAGS
15276 # Take the output of nm and produce a listing of raw symbols and C names.
15277 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15279 # Transform the output of nm in a proper C declaration.
15280 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15282 # Transform the output of nm in a C name address pair.
15283 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15285 # Transform the output of nm in a C name address pair when lib prefix is needed.
15286 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15288 # The name of the directory that contains temporary libtool files.
15291 # Used to examine libraries when file_magic_cmd begins with "file".
15292 MAGIC_CMD=$MAGIC_CMD
15294 # Must we lock files when doing compilation?
15295 need_locks=$lt_need_locks
15297 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15298 DSYMUTIL=$lt_DSYMUTIL
15300 # Tool to change global to local symbols on Mac OS X.
15303 # Tool to manipulate fat objects and archives on Mac OS X.
15306 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15309 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15310 OTOOL64=$lt_OTOOL64
15312 # Old archive suffix (normally "a").
15315 # Shared library suffix (normally ".so").
15316 shrext_cmds=$lt_shrext_cmds
15318 # The commands to extract the exported symbol list from a shared archive.
15319 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15321 # Variables whose values should be saved in libtool wrapper scripts and
15322 # restored at link time.
15323 variables_saved_for_relink=$lt_variables_saved_for_relink
15325 # Do we need the "lib" prefix for modules?
15326 need_lib_prefix=$need_lib_prefix
15328 # Do we need a version for libraries?
15329 need_version=$need_version
15331 # Library versioning type.
15332 version_type=$version_type
15334 # Shared library runtime path variable.
15335 runpath_var=$runpath_var
15337 # Shared library path variable.
15338 shlibpath_var=$shlibpath_var
15340 # Is shlibpath searched before the hard-coded library search path?
15341 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15343 # Format of library name prefix.
15344 libname_spec=$lt_libname_spec
15346 # List of archive names. First name is the real one, the rest are links.
15347 # The last name is the one that the linker finds with -lNAME
15348 library_names_spec=$lt_library_names_spec
15350 # The coded name of the library, if different from the real name.
15351 soname_spec=$lt_soname_spec
15353 # Permission mode override for installation of shared libraries.
15354 install_override_mode=$lt_install_override_mode
15356 # Command to use after installation of a shared archive.
15357 postinstall_cmds=$lt_postinstall_cmds
15359 # Command to use after uninstallation of a shared archive.
15360 postuninstall_cmds=$lt_postuninstall_cmds
15362 # Commands used to finish a libtool library installation in a directory.
15363 finish_cmds=$lt_finish_cmds
15365 # As "finish_cmds", except a single script fragment to be evaled but
15367 finish_eval=$lt_finish_eval
15369 # Whether we should hardcode library paths into libraries.
15370 hardcode_into_libs=$hardcode_into_libs
15372 # Compile-time system search path for libraries.
15373 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15375 # Run-time system search path for libraries.
15376 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15378 # Whether dlopen is supported.
15379 dlopen_support=$enable_dlopen
15381 # Whether dlopen of programs is supported.
15382 dlopen_self=$enable_dlopen_self
15384 # Whether dlopen of statically linked programs is supported.
15385 dlopen_self_static=$enable_dlopen_self_static
15387 # Commands to strip libraries.
15388 old_striplib=$lt_old_striplib
15389 striplib=$lt_striplib
15392 # The linker used to build libraries.
15395 # How to create reloadable object files.
15396 reload_flag=$lt_reload_flag
15397 reload_cmds=$lt_reload_cmds
15399 # Commands used to build an old-style archive.
15400 old_archive_cmds=$lt_old_archive_cmds
15402 # A language specific compiler.
15405 # Is the compiler the GNU compiler?
15408 # Compiler flag to turn off builtin functions.
15409 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15411 # How to pass a linker flag through the compiler.
15412 wl=$lt_lt_prog_compiler_wl
15414 # Additional compiler flags for building library objects.
15415 pic_flag=$lt_lt_prog_compiler_pic
15417 # Compiler flag to prevent dynamic linking.
15418 link_static_flag=$lt_lt_prog_compiler_static
15420 # Does compiler simultaneously support -c and -o options?
15421 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15423 # Whether or not to add -lc for building shared libraries.
15424 build_libtool_need_lc=$archive_cmds_need_lc
15426 # Whether or not to disallow shared libs when runtime libs are static.
15427 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15429 # Compiler flag to allow reflexive dlopens.
15430 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15432 # Compiler flag to generate shared objects directly from archives.
15433 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15435 # Whether the compiler copes with passing no objects directly.
15436 compiler_needs_object=$lt_compiler_needs_object
15438 # Create an old-style archive from a shared archive.
15439 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15441 # Create a temporary old-style archive to link instead of a shared archive.
15442 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15444 # Commands used to build a shared archive.
15445 archive_cmds=$lt_archive_cmds
15446 archive_expsym_cmds=$lt_archive_expsym_cmds
15448 # Commands used to build a loadable module if different from building
15449 # a shared archive.
15450 module_cmds=$lt_module_cmds
15451 module_expsym_cmds=$lt_module_expsym_cmds
15453 # Whether we are building with GNU ld or not.
15454 with_gnu_ld=$lt_with_gnu_ld
15456 # Flag that allows shared libraries with undefined symbols to be built.
15457 allow_undefined_flag=$lt_allow_undefined_flag
15459 # Flag that enforces no undefined symbols.
15460 no_undefined_flag=$lt_no_undefined_flag
15462 # Flag to hardcode \$libdir into a binary during linking.
15463 # This must work even if \$libdir does not exist
15464 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15466 # If ld is used when linking, flag to hardcode \$libdir into a binary
15467 # during linking. This must work even if \$libdir does not exist.
15468 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15470 # Whether we need a single "-rpath" flag with a separated argument.
15471 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15473 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15474 # DIR into the resulting binary.
15475 hardcode_direct=$hardcode_direct
15477 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15478 # DIR into the resulting binary and the resulting library dependency is
15479 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15480 # library is relocated.
15481 hardcode_direct_absolute=$hardcode_direct_absolute
15483 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15484 # into the resulting binary.
15485 hardcode_minus_L=$hardcode_minus_L
15487 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15488 # into the resulting binary.
15489 hardcode_shlibpath_var=$hardcode_shlibpath_var
15491 # Set to "yes" if building a shared library automatically hardcodes DIR
15492 # into the library and all subsequent libraries and executables linked
15494 hardcode_automatic=$hardcode_automatic
15496 # Set to yes if linker adds runtime paths of dependent libraries
15497 # to runtime path list.
15498 inherit_rpath=$inherit_rpath
15500 # Whether libtool must link a program against all its dependency libraries.
15501 link_all_deplibs=$link_all_deplibs
15503 # Fix the shell variable \$srcfile for the compiler.
15504 fix_srcfile_path=$lt_fix_srcfile_path
15506 # Set to "yes" if exported symbols are required.
15507 always_export_symbols=$always_export_symbols
15509 # The commands to list exported symbols.
15510 export_symbols_cmds=$lt_export_symbols_cmds
15512 # Symbols that should not be listed in the preloaded symbols.
15513 exclude_expsyms=$lt_exclude_expsyms
15515 # Symbols that must always be exported.
15516 include_expsyms=$lt_include_expsyms
15518 # Commands necessary for linking programs (against libraries) with templates.
15519 prelink_cmds=$lt_prelink_cmds
15521 # Specify filename containing input files.
15522 file_list_spec=$lt_file_list_spec
15524 # How to hardcode a shared library path into an executable.
15525 hardcode_action=$hardcode_action
15527 # ### END LIBTOOL CONFIG
15533 cat <<\_LT_EOF
>> "$cfgfile"
15534 # AIX sometimes has problems with the GCC collect2 program. For some
15535 # reason, if we set the COLLECT_NAMES environment variable, the problems
15536 # vanish in a puff of smoke.
15537 if test "X${COLLECT_NAMES+set}" != Xset
; then
15539 export COLLECT_NAMES
15546 ltmain
="$ac_aux_dir/ltmain.sh"
15549 # We use sed instead of cat because bash on DJGPP gets confused if
15550 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15551 # text mode, it properly converts lines to CR/LF. This bash problem
15552 # is reportedly fixed, but why not run on old versions too?
15553 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15554 ||
(rm -f "$cfgfile"; exit 1)
15558 cat << \_LT_EOF
>> "$cfgfile"
15560 # func_dirname file append nondir_replacement
15561 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15562 # otherwise set result to NONDIR_REPLACEMENT.
15566 */*) func_dirname_result
="${1%/*}${2}" ;;
15567 * ) func_dirname_result
="${3}" ;;
15571 # func_basename file
15574 func_basename_result
="${1##*/}"
15577 # func_dirname_and_basename file append nondir_replacement
15578 # perform func_basename and func_dirname in a single function
15580 # dirname: Compute the dirname of FILE. If nonempty,
15581 # add APPEND to the result, otherwise set result
15582 # to NONDIR_REPLACEMENT.
15583 # value returned in "$func_dirname_result"
15584 # basename: Compute filename of FILE.
15585 # value retuned in "$func_basename_result"
15586 # Implementation must be kept synchronized with func_dirname
15587 # and func_basename. For efficiency, we do not delegate to
15588 # those functions but instead duplicate the functionality here.
15589 func_dirname_and_basename
()
15592 */*) func_dirname_result
="${1%/*}${2}" ;;
15593 * ) func_dirname_result
="${3}" ;;
15595 func_basename_result
="${1##*/}"
15598 # func_stripname prefix suffix name
15599 # strip PREFIX and SUFFIX off of NAME.
15600 # PREFIX and SUFFIX must not contain globbing or regex special
15601 # characters, hashes, percent signs, but SUFFIX may contain a leading
15602 # dot (in which case that matches only a dot).
15605 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15606 # positional parameters, so assign one to ordinary parameter first.
15607 func_stripname_result
=${3}
15608 func_stripname_result
=${func_stripname_result#"${1}"}
15609 func_stripname_result
=${func_stripname_result%"${2}"}
15615 func_opt_split_opt
=${1%%=*}
15616 func_opt_split_arg
=${1#*=}
15623 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15624 *) func_lo2o_result
=${1} ;;
15628 # func_xform libobj-or-source
15631 func_xform_result
=${1%.*}.lo
15634 # func_arith arithmetic-term...
15637 func_arith_result
=$
(( $
* ))
15641 # STRING may not start with a hyphen.
15644 func_len_result
=${#1}
15649 *) # Bourne compatible functions.
15650 cat << \_LT_EOF
>> "$cfgfile"
15652 # func_dirname file append nondir_replacement
15653 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15654 # otherwise set result to NONDIR_REPLACEMENT.
15657 # Extract subdirectory from the argument.
15658 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15659 if test "X$func_dirname_result" = "X${1}"; then
15660 func_dirname_result
="${3}"
15662 func_dirname_result
="$func_dirname_result${2}"
15666 # func_basename file
15669 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15673 # func_stripname prefix suffix name
15674 # strip PREFIX and SUFFIX off of NAME.
15675 # PREFIX and SUFFIX must not contain globbing or regex special
15676 # characters, hashes, percent signs, but SUFFIX may contain a leading
15677 # dot (in which case that matches only a dot).
15678 # func_strip_suffix prefix name
15682 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15683 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15688 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15689 my_sed_long_arg
='1s/^-[^=]*=//'
15694 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15695 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15701 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15704 # func_xform libobj-or-source
15707 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15710 # func_arith arithmetic-term...
15713 func_arith_result
=`expr "$@"`
15717 # STRING may not start with a hyphen.
15720 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15726 case $lt_shell_append in
15728 cat << \_LT_EOF
>> "$cfgfile"
15730 # func_append var value
15731 # Append VALUE to the end of shell variable VAR.
15739 cat << \_LT_EOF
>> "$cfgfile"
15741 # func_append var value
15742 # Append VALUE to the end of shell variable VAR.
15753 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15754 ||
(rm -f "$cfgfile"; exit 1)
15756 mv -f "$cfgfile" "$ofile" ||
15757 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15768 ac_clean_files
=$ac_clean_files_save
15770 test $ac_write_fail = 0 ||
15771 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15774 # configure is writing to config.log, and then calls config.status.
15775 # config.status does its own redirection, appending to config.log.
15776 # Unfortunately, on DOS this fails, as config.log is still kept open
15777 # by configure, so config.status won't be able to write to it; its
15778 # output is simply discarded. So we exec the FD to /dev/null,
15779 # effectively closing config.log, so it can be properly (re)opened and
15780 # appended to by config.status. When coming back to configure, we
15781 # need to make the FD available again.
15782 if test "$no_create" != yes; then
15784 ac_config_status_args
=
15785 test "$silent" = yes &&
15786 ac_config_status_args
="$ac_config_status_args --quiet"
15788 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15790 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15791 # would make configure fail if this is the last instruction.
15792 $ac_cs_success || as_fn_exit
1
15794 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15796 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}