2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gas 2.39.50.
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.
589 PACKAGE_TARNAME
='gas'
590 PACKAGE_VERSION
='2.39.50'
591 PACKAGE_STRING
='gas 2.39.50'
595 ac_unique_file
="as.h"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
647 MAINTAINER_MODE_FALSE
680 WARN_CFLAGS_FOR_BUILD
732 INSTALL_STRIP_PROGRAM
786 program_transform_name
799 enable_option_checking
801 enable_dependency_tracking
812 enable_compressed_debug_sections
813 enable_x86_relax_relocations
814 enable_elf_stt_common
815 enable_generate_build_notes
816 enable_mips_fix_loongson3_llsc
818 enable_default_riscv_attribute
820 enable_build_warnings
823 enable_maintainer_mode
827 ac_precious_vars
='build_alias
845 # Initialize some variables set by options.
847 ac_init_version
=false
848 ac_unrecognized_opts
=
850 # The variables have the same names as the options, with
851 # dashes changed to underlines.
859 program_transform_name
=s
,x
,x
,
867 # Installation directory options.
868 # These are left unexpanded so users can "make install exec_prefix=/foo"
869 # and all the variables that are supposed to be based on exec_prefix
870 # by default will actually change.
871 # Use braces instead of parens because sh, perl, etc. also accept them.
872 # (The list follows the same order as the GNU Coding Standards.)
873 bindir
='${exec_prefix}/bin'
874 sbindir
='${exec_prefix}/sbin'
875 libexecdir
='${exec_prefix}/libexec'
876 datarootdir
='${prefix}/share'
877 datadir
='${datarootdir}'
878 sysconfdir
='${prefix}/etc'
879 sharedstatedir
='${prefix}/com'
880 localstatedir
='${prefix}/var'
881 includedir
='${prefix}/include'
882 oldincludedir
='/usr/include'
883 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
884 infodir
='${datarootdir}/info'
889 libdir
='${exec_prefix}/lib'
890 localedir
='${datarootdir}/locale'
891 mandir
='${datarootdir}/man'
897 # If the previous option needs an argument, assign it.
898 if test -n "$ac_prev"; then
899 eval $ac_prev=\
$ac_option
905 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir |
--docdir |
--docdi |
--doc |
--do)
966 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
969 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
971 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
974 -enable-* |
--enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error $?
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
991 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
992 |
--exec |
--exe |
--ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
995 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
996 |
--exec=* |
--exe=* |
--ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas |
--gas |
--ga |
--g)
1000 # Obsolete; use --with-gas.
1003 -help |
--help |
--hel |
--he |
-h)
1004 ac_init_help
=long
;;
1005 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1008 ac_init_help
=short
;;
1010 -host |
--host |
--hos |
--ho)
1011 ac_prev
=host_alias
;;
1012 -host=* |
--host=* |
--hos=* |
--ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1017 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir |
--includedir |
--includedi |
--included |
--include \
1022 |
--includ |
--inclu |
--incl |
--inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1025 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1030 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir |
--libdir |
--libdi |
--libd)
1035 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1039 |
--libexe |
--libex |
--libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1042 |
--libexe=* |
--libex=* |
--libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1051 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1054 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1059 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp |
--nfp |
--nf)
1063 # Obsolete; use --without-fp.
1066 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1067 |
--no-cr |
--no-c |
-n)
1070 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1071 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1074 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1075 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1076 |
--oldin |
--oldi |
--old |
--ol |
--o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1079 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1080 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1085 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1089 |
--program-pre |
--program-pr |
--program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1092 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1096 |
--program-suf |
--program-su |
--program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1099 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name |
--program-transform-name \
1103 |
--program-transform-nam |
--program-transform-na \
1104 |
--program-transform-n |
--program-transform- \
1105 |
--program-transform |
--program-transfor \
1106 |
--program-transfo |
--program-transf \
1107 |
--program-trans |
--program-tran \
1108 |
--progr-tra |
--program-tr |
--program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* |
--program-transform-name=* \
1111 |
--program-transform-nam=* |
--program-transform-na=* \
1112 |
--program-transform-n=* |
--program-transform-=* \
1113 |
--program-transform=* |
--program-transfor=* \
1114 |
--program-transfo=* |
--program-transf=* \
1115 |
--program-trans=* |
--program-tran=* \
1116 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1121 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1126 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1130 |
-silent |
--silent |
--silen |
--sile |
--sil)
1133 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1135 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1137 sbindir
=$ac_optarg ;;
1139 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1140 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1141 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1143 ac_prev
=sharedstatedir
;;
1144 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1145 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1146 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1148 sharedstatedir
=$ac_optarg ;;
1150 -site |
--site |
--sit)
1152 -site=* |
--site=* |
--sit=*)
1155 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1157 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1158 srcdir
=$ac_optarg ;;
1160 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1161 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1162 ac_prev
=sysconfdir
;;
1163 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1164 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1165 sysconfdir
=$ac_optarg ;;
1167 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1168 ac_prev
=target_alias
;;
1169 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1170 target_alias
=$ac_optarg ;;
1172 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1175 -version |
--version |
--versio |
--versi |
--vers |
-V)
1176 ac_init_version
=: ;;
1179 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error $?
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=\
$ac_optarg ;;
1194 -without-* |
--without-*)
1195 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1198 as_fn_error $?
"invalid package name: $ac_useropt"
1199 ac_useropt_orig
=$ac_useropt
1200 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1205 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206 ac_unrecognized_sep
=', ';;
1208 eval with_
$ac_useropt=no
;;
1211 # Obsolete; use --with-x.
1214 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1215 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1216 ac_prev
=x_includes
;;
1217 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1218 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1219 x_includes
=$ac_optarg ;;
1221 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1222 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1223 ac_prev
=x_libraries
;;
1224 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1225 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1226 x_libraries
=$ac_optarg ;;
1228 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information"
1233 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 case $ac_envvar in #(
1236 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1237 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1239 eval $ac_envvar=\
$ac_optarg
1240 export $ac_envvar ;;
1243 # FIXME: should be removed in autoconf 3.0.
1244 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1246 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1253 if test -n "$ac_prev"; then
1254 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1255 as_fn_error $?
"missing argument to $ac_option"
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1262 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266 # Check all directory arguments for consistency.
1267 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268 datadir sysconfdir sharedstatedir localstatedir includedir \
1269 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 libdir localedir mandir
1272 eval ac_val
=\$
$ac_var
1273 # Remove trailing slashes.
1276 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277 eval $ac_var=\
$ac_val;;
1279 # Be sure to have absolute directory names.
1281 [\\/$
]* | ?
:[\\/]* ) continue;;
1282 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1284 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1292 target
=$target_alias
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x
; then
1296 if test "x$build_alias" = x
; then
1297 cross_compiling
=maybe
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error $?
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error $?
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures gas 2.39.50 to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking ...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/gas]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1446 --build=BUILD configure
for building on BUILD
[guessed
]
1447 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1448 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1452 if test -n "$ac_init_help"; then
1453 case $ac_init_help in
1454 short | recursive
) echo "Configuration of gas 2.39.50:";;
1459 --disable-option-checking ignore unrecognized
--enable/--with options
1460 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1461 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1462 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1463 --disable-silent-rules verbose build output
(undo
: "make V=0")
1464 --enable-dependency-tracking
1465 do not reject slow dependency extractors
1466 --disable-dependency-tracking
1467 speeds up one-time build
1468 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1469 --enable-static[=PKGS
] build static libraries
[default
=yes]
1470 --enable-fast-install[=PKGS
]
1471 optimize
for fast installation
[default
=yes]
1472 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1473 --enable-plugins Enable support
for plugins
1474 --disable-largefile omit support
for large files
1475 --enable-targets alternative target configurations besides the primary
1476 --enable-checking enable run-time checks
1477 --enable-compressed-debug-sections={all
,gas
,none
}
1478 compress debug sections by default
1479 --enable-x86-relax-relocations
1480 generate x86 relax relocations by default
1481 --enable-elf-stt-common generate ELF common symbols with STT_COMMON
type by
1483 --enable-generate-build-notes
1484 generate GNU Build notes
if none are provided by the
1486 --enable-mips-fix-loongson3-llsc
1487 enable MIPS fix Loongson3 LLSC errata
1488 --enable-x86-used-note generate GNU x86 used ISA and feature properties
1489 --enable-default-riscv-attribute
1490 generate RISC-V arch attribute by default
1491 --enable-werror treat compile warnings as errors
1492 --enable-build-warnings enable build-time compiler warnings
1493 --disable-nls do not use Native Language Support
1494 --enable-maintainer-mode
1495 enable make rules and dependencies not useful
(and
1496 sometimes confusing
) to the casual installer
1499 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1500 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1501 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1503 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1504 --with-cpu=CPU default cpu variant is CPU
(currently only supported
1506 --with-system-zlib use installed libz
1507 --with-zstd support zstd compressed debug sections
1510 Some influential environment variables
:
1511 CC C compiler
command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1514 nonstandard directory
<lib dir
>
1515 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1516 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1517 you have headers
in a nonstandard directory
<include dir
>
1519 YACC The
`Yet Another Compiler Compiler' implementation to use.
1520 Defaults to the first program found out of: `bison
-y', `byacc',
1522 YFLAGS The list of arguments that will be passed by default to $YACC.
1523 This script will default YFLAGS to the empty string to avoid a
1524 default value of `-d' given by some make applications.
1525 PKG_CONFIG path to pkg-config utility
1527 directories to add to pkg-config's search path
1529 path overriding pkg-config
's built-in search path
1530 ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
1531 ZSTD_LIBS linker flags for ZSTD, overriding pkg-config
1533 Use these variables to override the choices made by `configure' or to
help
1534 it to
find libraries and programs with nonstandard names
/locations.
1536 Report bugs to the package provider.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1550 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1552 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1557 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir
=$ac_pwd
1561 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir
=$ac_top_build_prefix
1566 .
) # We are building in place.
1568 ac_top_srcdir
=$ac_top_builddir_sub
1569 ac_abs_top_srcdir
=$ac_pwd ;;
1570 [\\/]* | ?
:[\\/]* ) # Absolute name.
1571 ac_srcdir
=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir
=$srcdir
1573 ac_abs_top_srcdir
=$srcdir ;;
1575 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 gas configure
2.39.50
1600 generated by GNU Autoconf
2.69
1602 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1603 This configure
script is free software
; the Free Software Foundation
1604 gives unlimited permission to copy
, distribute and modify it.
1609 ## ------------------------ ##
1610 ## Autoconf initialization. ##
1611 ## ------------------------ ##
1613 # ac_fn_c_try_compile LINENO
1614 # --------------------------
1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_compile
()
1618 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1619 rm -f conftest.
$ac_objext
1620 if { { ac_try
="$ac_compile"
1622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_compile") 2>conftest.err
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest.$ac_objext; then :
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status $ac_retval
1649 } # ac_fn_c_try_compile
1651 # ac_fn_c_try_cpp LINENO
1652 # ----------------------
1653 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if { { ac_try="$ac_cpp conftest.$ac_ext"
1659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1660 *) ac_try_echo
=$ac_try;;
1662 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1666 if test -s conftest.err
; then
1667 grep -v '^ *+' conftest.err
>conftest.er1
1668 cat conftest.er1
>&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } > conftest.i
&& {
1673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.
$ac_ext >&5
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status
$ac_retval
1688 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1691 # the include files in INCLUDES and setting the cache variable VAR
1693 ac_fn_c_check_header_mongrel
()
1695 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1696 if eval \
${$3+:} false
; then :
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \
${$3+:} false
; then :
1700 $as_echo_n "(cached) " >&6
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1706 # Is the header compilable?
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1708 $as_echo_n "checking $2 usability... " >&6; }
1709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1714 if ac_fn_c_try_compile
"$LINENO"; then :
1715 ac_header_compiler
=yes
1717 ac_header_compiler
=no
1719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1721 $as_echo "$ac_header_compiler" >&6; }
1723 # Is the header present?
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1725 $as_echo_n "checking $2 presence... " >&6; }
1726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1730 if ac_fn_c_try_cpp
"$LINENO"; then :
1731 ac_header_preproc
=yes
1733 ac_header_preproc
=no
1735 rm -f conftest.err conftest.i conftest.
$ac_ext
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1737 $as_echo "$ac_header_preproc" >&6; }
1739 # So? What about this header?
1740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1743 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1749 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1751 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1753 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1755 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1757 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \
${$3+:} false
; then :
1763 $as_echo_n "(cached) " >&6
1765 eval "$3=\$ac_header_compiler"
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 } # ac_fn_c_check_header_mongrel
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1782 if { { ac_try
="$ac_link"
1784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793 { { case "(($ac_try" in
1794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1795 *) ac_try_echo
=$ac_try;;
1797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_try") 2>&5
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; }; }; then :
1805 $as_echo "$as_me: program exited with status $ac_status" >&5
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.
$ac_ext >&5
1809 ac_retval
=$ac_status
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status
$ac_retval
1817 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1818 # -------------------------------------------------------
1819 # Tests whether HEADER exists and can be compiled using the include files in
1820 # INCLUDES, setting the cache variable VAR accordingly.
1821 ac_fn_c_check_header_compile
()
1823 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825 $as_echo_n "checking for $2... " >&6; }
1826 if eval \
${$3+:} false
; then :
1827 $as_echo_n "(cached) " >&6
1829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1834 if ac_fn_c_try_compile
"$LINENO"; then :
1839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 } # ac_fn_c_check_header_compile
1848 # ac_fn_c_try_link LINENO
1849 # -----------------------
1850 # Try to link conftest.$ac_ext, and return whether this succeeded.
1853 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1854 rm -f conftest.
$ac_objext conftest
$ac_exeext
1855 if { { ac_try
="$ac_link"
1857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1858 *) ac_try_echo=$ac_try;;
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_link") 2>conftest.err
1864 if test -s conftest.err; then
1865 grep -v '^ *+' conftest.err >conftest.er1
1866 cat conftest.er1 >&5
1867 mv -f conftest.er1 conftest.err
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && {
1871 test -z "$ac_c_werror_flag" ||
1872 test ! -s conftest.err
1873 } && test -s conftest$ac_exeext && {
1874 test "$cross_compiling" = yes ||
1875 test -x conftest$ac_exeext
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1884 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1885 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1886 # interfere with the next link command; also delete a directory that is
1887 # left behind by Apple's compiler. We do this before executing the actions.
1888 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 as_fn_set_status $ac_retval
1892 } # ac_fn_c_try_link
1894 # ac_fn_c_check_func LINENO FUNC VAR
1895 # ----------------------------------
1896 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1897 ac_fn_c_check_func ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if eval \${$3+:} false; then :
1903 $as_echo_n "(cached) " >&6
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1907 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1909 #define $2 innocuous_$2
1911 /* System header to define __stub macros and hopefully few prototypes,
1912 which can conflict with char $2 (); below.
1913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1914 <limits.h> exists even on freestanding compilers. */
1917 # include <limits.h>
1919 # include <assert.h>
1924 /* Override any GCC internal prototype to avoid an error.
1925 Use char because int might match the return type of a GCC
1926 builtin and then its argument prototype would still apply. */
1931 /* The GNU C library defines this for functions which it implements
1932 to always fail with ENOSYS. Some functions are actually named
1933 something starting with __ and the normal name is an alias. */
1934 #if defined __stub_$2 || defined __stub___$2
1946 if ac_fn_c_try_link "$LINENO"; then :
1951 rm -f core conftest.err conftest.$ac_objext \
1952 conftest$ac_exeext conftest.$ac_ext
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 } # ac_fn_c_check_func
1961 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1962 # ---------------------------------------------
1963 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1965 ac_fn_c_check_decl ()
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1969 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1971 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1972 if eval \${$3+:} false; then :
1973 $as_echo_n "(cached) " >&6
1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1981 #ifndef $as_decl_name
1983 (void) $as_decl_use;
1985 (void) $as_decl_name;
1993 if ac_fn_c_try_compile "$LINENO"; then :
1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 } # ac_fn_c_check_decl
2006 cat >config.log <<_ACEOF
2007 This file contains any messages produced by compilers while
2008 running configure, to aid debugging if configure makes a mistake.
2010 It was created by gas $as_me 2.39.50, which was
2011 generated by GNU Autoconf 2.69. Invocation command line was
2023 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2024 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2025 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2026 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2027 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2029 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2030 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2032 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2033 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2034 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2035 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2036 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2037 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2038 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir=.
2047 $as_echo "PATH: $as_dir"
2063 # Keep a trace of the command line.
2064 # Strip out --no-create and --no-recursion so they do not pile up.
2065 # Strip out --silent because we don't want to record it for future runs.
2066 # Also quote any args containing shell meta-characters.
2067 # Make two passes to allow for proper duplicate-argument suppression.
2071 ac_must_keep_next=false
2077 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2079 | -silent | --silent | --silen | --sile | --sil)
2082 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2085 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2087 as_fn_append ac_configure_args1 " '$ac_arg'"
2088 if test $ac_must_keep_next = true; then
2089 ac_must_keep_next=false # Got value, back to normal.
2092 *=* | --config-cache | -C | -disable-* | --disable-* \
2093 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2094 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2095 | -with-* | --with-* | -without-* | --without-* | --x)
2096 case "$ac_configure_args0 " in
2097 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2100 -* ) ac_must_keep_next=true ;;
2103 as_fn_append ac_configure_args " '$ac_arg'"
2108 { ac_configure_args0=; unset ac_configure_args0;}
2109 { ac_configure_args1=; unset ac_configure_args1;}
2111 # When interrupted or exit'd, cleanup temporary files, and complete
2112 # config.log. We remove comments because anyway the quotes in there
2113 # would cause problems or look ugly.
2114 # WARNING: Use '\'' to represent an apostrophe within the trap.
2115 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2116 trap 'exit_status=$?
2117 # Save into config.log some information that might help in debugging.
2121 $as_echo "## ---------------- ##
2122 ## Cache variables. ##
2123 ## ---------------- ##"
2125 # The following way of writing the cache mishandles newlines in values,
2127 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2128 eval ac_val=\$$ac_var
2132 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2133 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2136 _ | IFS | as_nl) ;; #(
2137 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2138 *) { eval $ac_var=; unset $ac_var;} ;;
2143 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2144 *${as_nl}ac_space=\ *)
2146 "s/'\''/'\''\\\\'\'''\''/g;
2147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2157 $as_echo "## ----------------- ##
2158 ## Output variables. ##
2159 ## ----------------- ##"
2161 for ac_var in $ac_subst_vars
2163 eval ac_val=\$$ac_var
2165 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2167 $as_echo "$ac_var='\''$ac_val'\''"
2171 if test -n "$ac_subst_files"; then
2172 $as_echo "## ------------------- ##
2173 ## File substitutions. ##
2174 ## ------------------- ##"
2176 for ac_var in $ac_subst_files
2178 eval ac_val=\$$ac_var
2180 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182 $as_echo "$ac_var='\''$ac_val'\''"
2187 if test -s confdefs.h; then
2188 $as_echo "## ----------- ##
2195 test "$ac_signal" != 0 &&
2196 $as_echo "$as_me: caught signal $ac_signal"
2197 $as_echo "$as_me: exit $exit_status"
2199 rm -f core *.core core.conftest.* &&
2200 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2203 for ac_signal in 1 2 13 15; do
2204 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2208 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2209 rm -f -r conftest* confdefs.h
2211 $as_echo "/* confdefs.h */" > confdefs.h
2213 # Predefined preprocessor variables.
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_NAME "$PACKAGE_NAME"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_STRING "$PACKAGE_STRING"
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_URL "$PACKAGE_URL"
2240 # Let the site file select an alternate cache file if it wants to.
2241 # Prefer an explicitly selected file to automatically selected ones.
2244 if test -n "$CONFIG_SITE"; then
2245 # We do not want a PATH search for config.site.
2246 case $CONFIG_SITE in #((
2247 -*) ac_site_file1=./$CONFIG_SITE;;
2248 */*) ac_site_file1=$CONFIG_SITE;;
2249 *) ac_site_file1=./$CONFIG_SITE;;
2251 elif test "x$prefix" != xNONE; then
2252 ac_site_file1=$prefix/share/config.site
2253 ac_site_file2=$prefix/etc/config.site
2255 ac_site_file1=$ac_default_prefix/share/config.site
2256 ac_site_file2=$ac_default_prefix/etc/config.site
2258 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2260 test "x$ac_site_file" = xNONE && continue
2261 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2263 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2264 sed 's/^/| /' "$ac_site_file" >&5
2266 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2268 as_fn_error $? "failed to load site
script $ac_site_file
2269 See \
`config.log' for more details" "$LINENO" 5; }
2273 if test -r "$cache_file"; then
2274 # Some versions of bash will fail to source /dev/null (special files
2275 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2276 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2278 $as_echo "$as_me: loading cache $cache_file" >&6;}
2280 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2281 *) . "./$cache_file";;
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2286 $as_echo "$as_me: creating cache $cache_file" >&6;}
2290 # Check that the precious variables saved in the cache have kept the same
2292 ac_cache_corrupted=false
2293 for ac_var in $ac_precious_vars; do
2294 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2295 eval ac_new_set=\$ac_env_${ac_var}_set
2296 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2297 eval ac_new_val=\$ac_env_${ac_var}_value
2298 case $ac_old_set,$ac_new_set in
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2301 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2302 ac_cache_corrupted=: ;;
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2305 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2306 ac_cache_corrupted=: ;;
2309 if test "x$ac_old_val" != "x$ac_new_val"; then
2310 # differences in whitespace do not lead to failure.
2311 ac_old_val_w=`echo x
$ac_old_val`
2312 ac_new_val_w=`echo x
$ac_new_val`
2313 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2315 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2316 ac_cache_corrupted=:
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2319 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2320 eval $ac_var=\$ac_old_val
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2323 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2325 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2328 # Pass precious variables to config.status.
2329 if test "$ac_new_set" = set; then
2331 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2332 *) ac_arg=$ac_var=$ac_new_val ;;
2334 case " $ac_configure_args " in
2335 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2336 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2340 if $ac_cache_corrupted; then
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2344 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2345 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2347 ## -------------------- ##
2348 ## Main body of script. ##
2349 ## -------------------- ##
2352 ac_cpp='$CPP $CPPFLAGS'
2353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2364 for ac_dir in .. "$srcdir"/..; do
2365 if test -f "$ac_dir/install-sh"; then
2367 ac_install_sh="$ac_aux_dir/install-sh -c"
2369 elif test -f "$ac_dir/install.sh"; then
2371 ac_install_sh="$ac_aux_dir/install.sh -c"
2373 elif test -f "$ac_dir/shtool"; then
2375 ac_install_sh="$ac_aux_dir/shtool install -c"
2379 if test -z "$ac_aux_dir"; then
2380 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2383 # These three variables are undocumented and unsupported,
2384 # and are intended to be withdrawn in a future Autoconf release.
2385 # They can cause serious problems if a builder's source tree is in a directory
2386 # whose full name contains unusual characters.
2387 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2388 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2389 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2392 # Make sure we can run config.sub.
2393 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2394 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2397 $as_echo_n "checking build system type... " >&6; }
2398 if ${ac_cv_build+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 ac_build_alias=$build_alias
2402 test "x$ac_build_alias" = x &&
2403 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2404 test "x$ac_build_alias" = x &&
2405 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2406 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2407 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2411 $as_echo "$ac_cv_build" >&6; }
2412 case $ac_cv_build in
2414 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2417 ac_save_IFS=$IFS; IFS='-'
2423 # Remember, the first character of IFS is used to create $*,
2424 # except with old shells:
2427 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2431 $as_echo_n "checking host system type... " >&6; }
2432 if ${ac_cv_host+:} false; then :
2433 $as_echo_n "(cached) " >&6
2435 if test "x$host_alias" = x; then
2436 ac_cv_host=$ac_cv_build
2438 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2439 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2444 $as_echo "$ac_cv_host" >&6; }
2447 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2450 ac_save_IFS=$IFS; IFS='-'
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2460 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2464 $as_echo_n "checking target system type... " >&6; }
2465 if ${ac_cv_target+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 if test "x$target_alias" = x; then
2469 ac_cv_target=$ac_cv_host
2471 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2472 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2477 $as_echo "$ac_cv_target" >&6; }
2478 case $ac_cv_target in
2480 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2482 target=$ac_cv_target
2483 ac_save_IFS=$IFS; IFS='-'
2489 # Remember, the first character of IFS is used to create $*,
2490 # except with old shells:
2493 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2496 # The aliases save the names the user supplied, while $host etc.
2497 # will get canonicalized.
2498 test -n "$target_alias" &&
2499 test "$program_prefix$program_suffix$program_transform_name" = \
2501 program_prefix=${target_alias}-
2503 am__api_version='1.15'
2505 # Find a good install program. We prefer a C program (faster),
2506 # so one script is as good as another. But avoid the broken or
2507 # incompatible versions:
2508 # SysV /etc/install, /usr/sbin/install
2509 # SunOS /usr/etc/install
2510 # IRIX /sbin/install
2512 # AmigaOS /C/install, which installs bootblocks on floppy discs
2513 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2514 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2515 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2516 # OS/2's system install, which has a completely different semantic
2517 # ./install, which can be erroneously created by make from ./install.sh.
2518 # Reject install programs that cannot install multiple files.
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2520 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2521 if test -z "$INSTALL"; then
2522 if ${ac_cv_path_install+:} false; then :
2523 $as_echo_n "(cached) " >&6
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 # Account for people who put trailing slashes in PATH elements.
2531 case $as_dir/ in #((
2532 ./ | .// | /[cC]/* | \
2533 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2534 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2537 # OSF1 and SCO ODT 3.0 have their own names for install.
2538 # Don't use installbsd from OSF since it installs stuff as root
2540 for ac_prog in ginstall scoinst install; do
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2543 if test $ac_prog = install &&
2544 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2545 # AIX install. It has an incompatible calling convention.
2547 elif test $ac_prog = install &&
2548 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2549 # program-specific install script used by HP pwplus--don't use.
2552 rm -rf conftest.one conftest.two conftest.dir
2553 echo one > conftest.one
2554 echo two > conftest.two
2556 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2557 test -s conftest.one && test -s conftest.two &&
2558 test -s conftest.dir/conftest.one &&
2559 test -s conftest.dir/conftest.two
2561 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2574 rm -rf conftest.one conftest.two conftest.dir
2577 if test "${ac_cv_path_install+set}" = set; then
2578 INSTALL=$ac_cv_path_install
2580 # As a last resort, use the slow shell script. Don't cache a
2581 # value for INSTALL within a source directory, because that will
2582 # break other packages using the cache if that directory is
2583 # removed, or if the value is a relative name.
2584 INSTALL=$ac_install_sh
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2588 $as_echo "$INSTALL" >&6; }
2590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2591 # It thinks the first close brace ends the variable substitution.
2592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2596 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2599 $as_echo_n "checking whether build environment is sane... " >&6; }
2600 # Reject unsafe characters in $srcdir or the absolute working directory
2601 # name. Accept space and tab only in the latter.
2605 *[\\\"\#\$\&\'\`$am_lf]*)
2606 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2609 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2610 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2613 # Do 'set' in a subshell so we don't clobber the current shell's
2614 # arguments. Must try -L first in case configure is actually a
2615 # symlink; some systems play weird games with the mod time of symlinks
2616 # (eg FreeBSD returns the mod time of the symlink's containing
2620 for am_try
in 1 2; do
2621 echo "timestamp, slept: $am_has_slept" > conftest.
file
2622 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2623 if test "$*" = "X"; then
2625 set X
`ls -t "$srcdir/configure" conftest.file`
2627 if test "$*" != "X $srcdir/configure conftest.file" \
2628 && test "$*" != "X conftest.file $srcdir/configure"; then
2630 # If neither matched, then we have a broken ls. This can happen
2631 # if, for instance, CONFIG_SHELL is bash and it inherits a
2632 # broken ls alias from the environment. This has actually
2633 # happened. Such a system could not be considered "sane".
2634 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2635 alias in your environment" "$LINENO" 5
2637 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2644 test "$2" = conftest.
file
2650 as_fn_error $?
"newly created file is older than distributed files!
2651 Check your system clock" "$LINENO" 5
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2654 $as_echo "yes" >&6; }
2655 # If we didn't sleep, we still need to ensure time stamps of config.status and
2656 # generated files are strictly newer.
2658 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2665 test "$program_prefix" != NONE
&&
2666 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2667 # Use a double $ so make ignores it.
2668 test "$program_suffix" != NONE
&&
2669 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2670 # Double any \ or $.
2671 # By default was `s,x,x', remove it if useless.
2672 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2673 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2675 # Expand $ac_aux_dir to an absolute path.
2676 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2678 if test x
"${MISSING+set}" != xset
; then
2681 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2683 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2686 # Use eval to expand $SHELL
2687 if eval "$MISSING --is-lightweight"; then
2688 am_missing_run
="$MISSING "
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2692 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2695 if test x
"${install_sh+set}" != xset
; then
2698 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2700 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2704 # Installed binaries are usually stripped using 'strip' when the user
2705 # run "make install-strip". However 'strip' might not be the right
2706 # tool to use in cross-compilation environments, therefore Automake
2707 # will honor the 'STRIP' environment variable to overrule this program.
2708 if test "$cross_compiling" != no
; then
2709 if test -n "$ac_tool_prefix"; then
2710 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2711 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if ${ac_cv_prog_STRIP+:} false
; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$STRIP"; then
2718 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2727 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 STRIP
=$ac_cv_prog_STRIP
2738 if test -n "$STRIP"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2740 $as_echo "$STRIP" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2748 if test -z "$ac_cv_prog_STRIP"; then
2750 # Extract the first word of "strip", so it can be a program name with args.
2751 set dummy strip
; ac_word
=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2755 $as_echo_n "(cached) " >&6
2757 if test -n "$ac_ct_STRIP"; then
2758 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2764 test -z "$as_dir" && as_dir
=.
2765 for ac_exec_ext
in '' $ac_executable_extensions; do
2766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_ac_ct_STRIP
="strip"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2778 if test -n "$ac_ct_STRIP"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2780 $as_echo "$ac_ct_STRIP" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2786 if test "x$ac_ct_STRIP" = x
; then
2789 case $cross_compiling:$ac_tool_warned in
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2793 ac_tool_warned
=yes ;;
2798 STRIP
="$ac_cv_prog_STRIP"
2802 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2805 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2806 if test -z "$MKDIR_P"; then
2807 if ${ac_cv_path_mkdir+:} false
; then :
2808 $as_echo_n "(cached) " >&6
2810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2814 test -z "$as_dir" && as_dir
=.
2815 for ac_prog
in mkdir gmkdir
; do
2816 for ac_exec_ext
in '' $ac_executable_extensions; do
2817 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2818 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2819 'mkdir (GNU coreutils) '* | \
2820 'mkdir (coreutils) '* | \
2821 'mkdir (fileutils) '4.1*)
2822 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2832 test -d .
/--version && rmdir .
/--version
2833 if test "${ac_cv_path_mkdir+set}" = set; then
2834 MKDIR_P
="$ac_cv_path_mkdir -p"
2836 # As a last resort, use the slow shell script. Don't cache a
2837 # value for MKDIR_P within a source directory, because that will
2838 # break other packages using the cache if that directory is
2839 # removed, or if the value is a relative name.
2840 MKDIR_P
="$ac_install_sh -d"
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2844 $as_echo "$MKDIR_P" >&6; }
2846 for ac_prog
in gawk mawk nawk
awk
2848 # Extract the first word of "$ac_prog", so it can be a program name with args.
2849 set dummy
$ac_prog; ac_word
=$2
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851 $as_echo_n "checking for $ac_word... " >&6; }
2852 if ${ac_cv_prog_AWK+:} false
; then :
2853 $as_echo_n "(cached) " >&6
2855 if test -n "$AWK"; then
2856 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir
=.
2863 for ac_exec_ext
in '' $ac_executable_extensions; do
2864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2865 ac_cv_prog_AWK
="$ac_prog"
2866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test -n "$AWK"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2878 $as_echo "$AWK" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2885 test -n "$AWK" && break
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2889 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2891 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2892 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2893 $as_echo_n "(cached) " >&6
2895 cat >conftest.
make <<\_ACEOF
2898 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2900 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2901 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2903 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2905 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2909 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2911 $as_echo "yes" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2916 SET_MAKE
="MAKE=${MAKE-make}"
2919 rm -rf .tst
2>/dev
/null
2920 mkdir .tst
2>/dev
/null
2921 if test -d .tst
; then
2926 rmdir .tst
2>/dev
/null
2928 # Check whether --enable-silent-rules was given.
2929 if test "${enable_silent_rules+set}" = set; then :
2930 enableval
=$enable_silent_rules;
2933 case $enable_silent_rules in # (((
2934 yes) AM_DEFAULT_VERBOSITY
=0;;
2935 no
) AM_DEFAULT_VERBOSITY
=1;;
2936 *) AM_DEFAULT_VERBOSITY
=1;;
2938 am_make
=${MAKE-make}
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2940 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2941 if ${am_cv_make_support_nested_variables+:} false
; then :
2942 $as_echo_n "(cached) " >&6
2944 if $as_echo 'TRUE=$(BAR$(V))
2950 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2951 am_cv_make_support_nested_variables
=yes
2953 am_cv_make_support_nested_variables
=no
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2957 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2958 if test $am_cv_make_support_nested_variables = yes; then
2960 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2962 AM_V
=$AM_DEFAULT_VERBOSITY
2963 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2967 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2968 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2969 # is not polluted with repeated "-I."
2970 am__isrc
=' -I$(srcdir)'
2971 # test to see if srcdir already configured
2972 if test -f $srcdir/config.status
; then
2973 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2977 # test whether we have cygpath
2978 if test -z "$CYGPATH_W"; then
2979 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2980 CYGPATH_W
='cygpath -w'
2987 # Define the identity of the package.
2992 cat >>confdefs.h
<<_ACEOF
2993 #define PACKAGE "$PACKAGE"
2997 cat >>confdefs.h
<<_ACEOF
2998 #define VERSION "$VERSION"
3001 # Some tools Automake needs.
3003 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3006 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3009 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3012 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3015 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3017 # For better backward compatibility. To be removed once Automake 1.9.x
3018 # dies out for good. For more background, see:
3019 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3020 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3021 mkdir_p
='$(MKDIR_P)'
3023 # We need awk for the "check" target (and possibly the TAP driver). The
3024 # system "awk" is bad on some platforms.
3025 # Always define AMTAR for backward compatibility. Yes, it's still used
3026 # in the wild :-( We should find a proper way to deprecate it ...
3030 # We'll loop over all known methods to create a tar archive until one works.
3031 _am_tools
='gnutar pax cpio none'
3033 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3040 # POSIX will say in a future version that running "rm -f" with no argument
3041 # is OK; and we want to be able to make that assumption in our Makefile
3042 # recipes. So use an aggressive probe to check that the usage we want is
3043 # actually supported "in the wild" to an acceptable degree.
3044 # See automake bug#10828.
3045 # To make any issue more visible, cause the running configure to be aborted
3046 # by default if the 'rm' program in use doesn't match our expectations; the
3047 # user can still override this though.
3048 if rm -f && rm -fr && rm -rf; then : OK
; else
3052 Your 'rm' program seems unable to run without file operands specified
3053 on the command line, even when the '-f' option is present. This is contrary
3054 to the behaviour of most rm programs out there, and not conforming with
3055 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3057 Please tell bug-automake@gnu.org about your system, including the value
3058 of your $PATH and any error possibly output before this message. This
3059 can help us improve future automake versions.
3062 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3063 echo 'Configuration will proceed anyway, since you have set the' >&2
3064 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3068 Aborting the configuration process, to ensure you take notice of the issue.
3070 You can download and install GNU coreutils to get an 'rm' implementation
3071 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3073 If you want to complete the configuration process using your problematic
3074 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3075 to "yes", and re-run configure.
3078 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3082 # Check whether --enable-silent-rules was given.
3083 if test "${enable_silent_rules+set}" = set; then :
3084 enableval
=$enable_silent_rules;
3087 case $enable_silent_rules in # (((
3088 yes) AM_DEFAULT_VERBOSITY
=0;;
3089 no
) AM_DEFAULT_VERBOSITY
=1;;
3090 *) AM_DEFAULT_VERBOSITY
=0;;
3092 am_make
=${MAKE-make}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3094 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3095 if ${am_cv_make_support_nested_variables+:} false
; then :
3096 $as_echo_n "(cached) " >&6
3098 if $as_echo 'TRUE=$(BAR$(V))
3104 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3105 am_cv_make_support_nested_variables
=yes
3107 am_cv_make_support_nested_variables
=no
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3111 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3112 if test $am_cv_make_support_nested_variables = yes; then
3114 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3116 AM_V
=$AM_DEFAULT_VERBOSITY
3117 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3123 ac_cpp='$CPP $CPPFLAGS'
3124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3125 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3127 if test -n "$ac_tool_prefix"; then
3128 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3129 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if ${ac_cv_prog_CC+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC="$CC" # Let the user override the test.
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3166 if test -z "$ac_cv_prog_CC"; then
3168 # Extract the first word of "gcc", so it can be a program name with args.
3169 set dummy gcc; ac_word=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 if test -n "$ac_ct_CC"; then
3176 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 test -z "$as_dir" && as_dir=.
3183 for ac_exec_ext in '' $ac_executable_extensions; do
3184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3185 ac_cv_prog_ac_ct_CC="gcc"
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3196 if test -n "$ac_ct_CC"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3198 $as_echo "$ac_ct_CC" >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3204 if test "x$ac_ct_CC" = x; then
3207 case $cross_compiling:$ac_tool_warned in
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3211 ac_tool_warned=yes ;;
3219 if test -z "$CC"; then
3220 if test -n "$ac_tool_prefix"; then
3221 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3222 set dummy ${ac_tool_prefix}cc; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_CC+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$CC"; then
3229 ac_cv_prog_CC="$CC" # Let the user override the test.
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_CC="${ac_tool_prefix}cc"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 if test -n "$CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3251 $as_echo "$CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3260 if test -z "$CC"; then
3261 # Extract the first word of "cc", so it can be a program name with args.
3262 set dummy cc; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_CC+:} false; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$CC"; then
3269 ac_cv_prog_CC="$CC" # Let the user override the test.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3280 ac_prog_rejected=yes
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 if test $ac_prog_rejected = yes; then
3292 # We found a bogon in the path, so make sure we never use it.
3293 set dummy $ac_cv_prog_CC
3295 if test $# != 0; then
3296 # We chose a different compiler from the bogus one.
3297 # However, it has the same basename, so the bogon will be chosen
3298 # first if we set CC to just the basename; use the full file name.
3300 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3306 if test -n "$CC"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3308 $as_echo "$CC" >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3316 if test -z "$CC"; then
3317 if test -n "$ac_tool_prefix"; then
3318 for ac_prog in cl.exe
3320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3321 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if ${ac_cv_prog_CC+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 if test -n "$CC"; then
3328 ac_cv_prog_CC="$CC" # Let the user override the test.
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3337 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test -n "$CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350 $as_echo "$CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3357 test -n "$CC" && break
3360 if test -z "$CC"; then
3362 for ac_prog in cl.exe
3364 # Extract the first word of "$ac_prog", so it can be a program name with args.
3365 set dummy $ac_prog; ac_word=$2
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367 $as_echo_n "checking for $ac_word... " >&6; }
3368 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3369 $as_echo_n "(cached) " >&6
3371 if test -n "$ac_ct_CC"; then
3372 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381 ac_cv_prog_ac_ct_CC="$ac_prog"
3382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3392 if test -n "$ac_ct_CC"; then
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3394 $as_echo "$ac_ct_CC" >&6; }
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397 $as_echo "no" >&6; }
3401 test -n "$ac_ct_CC" && break
3404 if test "x$ac_ct_CC" = x; then
3407 case $cross_compiling:$ac_tool_warned in
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3411 ac_tool_warned=yes ;;
3420 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3421 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3422 as_fn_error $? "no acceptable C compiler found in \$PATH
3423 See \`config.log
' for more details" "$LINENO" 5; }
3425 # Provide some information about the compiler.
3426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3429 for ac_option in --version -v -V -qversion; do
3430 { { ac_try="$ac_compiler $ac_option >&5"
3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436 $as_echo "$ac_try_echo"; } >&5
3437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3439 if test -s conftest.err; then
3441 ... rest of stderr output deleted ...
3442 10q
' conftest.err >conftest.er1
3443 cat conftest.er1 >&5
3445 rm -f conftest.er1 conftest.err
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3461 ac_clean_files_save=$ac_clean_files
3462 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3463 # Try to create an executable without -o first, disregard a.out.
3464 # It will help us diagnose broken compilers, and finding out an intuition
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3467 $as_echo_n "checking whether the C compiler works... " >&6; }
3468 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3470 # The possible output files:
3471 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3474 for ac_file in $ac_files
3477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3478 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3483 if { { ac_try="$ac_link_default"
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_link_default") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; then :
3494 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3495 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3496 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3497 # so that the user can short-circuit this test for compilers unknown to
3499 for ac_file
in $ac_files ''
3501 test -f "$ac_file" ||
continue
3503 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3506 # We found the default executable, but exeext='' is most
3510 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3512 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3514 # We set ac_cv_exeext here because the later test for it is not
3515 # safe: cross compilers may not add the suffix if given an `-o'
3516 # argument, so we may need to know it at that point already.
3517 # Even if this section looks crufty: it has the advantage of
3524 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3529 if test -z "$ac_file"; then :
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3532 $as_echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.
$ac_ext >&5
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error
77 "C compiler cannot create executables
3538 See \`config.log' for more details" "$LINENO" 5; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3541 $as_echo "yes" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3544 $as_echo_n "checking for C compiler default output file name... " >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3546 $as_echo "$ac_file" >&6; }
3547 ac_exeext
=$ac_cv_exeext
3549 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3550 ac_clean_files
=$ac_clean_files_save
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3552 $as_echo_n "checking for suffix of executables... " >&6; }
3553 if { { ac_try
="$ac_link"
3555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559 $as_echo "$ac_try_echo"; } >&5
3560 (eval "$ac_link") 2>&5
3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563 test $ac_status = 0; }; then :
3564 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3565 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3566 # work properly (i.e., refer to `conftest.exe'), while it won't with
3568 for ac_file
in conftest.exe conftest conftest.
*; do
3569 test -f "$ac_file" ||
continue
3571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3581 See \`config.log' for more details" "$LINENO" 5; }
3583 rm -f conftest conftest
$ac_cv_exeext
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3585 $as_echo "$ac_cv_exeext" >&6; }
3587 rm -f conftest.
$ac_ext
3588 EXEEXT
=$ac_cv_exeext
3590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3596 FILE *f = fopen ("conftest.out", "w");
3597 return ferror (f) || fclose (f) != 0;
3603 ac_clean_files
="$ac_clean_files conftest.out"
3604 # Check that the compiler produces executables we can run. If not, either
3605 # the compiler is broken, or we cross compile.
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3607 $as_echo_n "checking whether we are cross compiling... " >&6; }
3608 if test "$cross_compiling" != yes; then
3609 { { ac_try
="$ac_link"
3611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_link") 2>&5
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }
3620 if { ac_try='./conftest$ac_cv_exeext'
3621 { { case "(($ac_try" in
3622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3623 *) ac_try_echo
=$ac_try;;
3625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; }; }; then
3633 if test "$cross_compiling" = maybe
; then
3636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error $?
"cannot run C compiled programs.
3639 If you meant to cross compile, use \`--host'.
3640 See \`config.log' for more details" "$LINENO" 5; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3645 $as_echo "$cross_compiling" >&6; }
3647 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3648 ac_clean_files
=$ac_clean_files_save
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3650 $as_echo_n "checking for suffix of object files... " >&6; }
3651 if ${ac_cv_objext+:} false
; then :
3652 $as_echo_n "(cached) " >&6
3654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 rm -f conftest.o conftest.obj
3666 if { { ac_try
="$ac_compile"
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_compile") 2>&5
3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3676 test $ac_status = 0; }; then :
3677 for ac_file in conftest.o conftest.obj conftest.*; do
3678 test -f "$ac_file" || continue;
3680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3686 $as_echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3692 See \
`config.log' for more details" "$LINENO" 5; }
3694 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3697 $as_echo "$ac_cv_objext" >&6; }
3698 OBJEXT=$ac_cv_objext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3701 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3702 if ${ac_cv_c_compiler_gnu+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3719 if ac_fn_c_try_compile "$LINENO"; then :
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3729 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3730 if test $ac_compiler_gnu = yes; then
3735 ac_test_CFLAGS=${CFLAGS+set}
3736 ac_save_CFLAGS=$CFLAGS
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3738 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3739 if ${ac_cv_prog_cc_g+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 ac_save_c_werror_flag=$ac_c_werror_flag
3743 ac_c_werror_flag=yes
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3757 if ac_fn_c_try_compile "$LINENO"; then :
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3775 ac_c_werror_flag=$ac_save_c_werror_flag
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 ac_c_werror_flag=$ac_save_c_werror_flag
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3799 $as_echo "$ac_cv_prog_cc_g" >&6; }
3800 if test "$ac_test_CFLAGS" = set; then
3801 CFLAGS=$ac_save_CFLAGS
3802 elif test $ac_cv_prog_cc_g = yes; then
3803 if test "$GCC" = yes; then
3809 if test "$GCC" = yes; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3816 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3817 if ${ac_cv_prog_cc_c89+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 ac_cv_prog_cc_c89=no
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3827 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3828 struct buf { int x; };
3829 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3830 static char *e (p, i)
3836 static char *f (char * (*g) (char **, int), char **p, ...)
3841 s = g (p, va_arg (v,int));
3846 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3847 function prototypes and stuff, but not '\xHH' hex character constants.
3848 These don't provoke an error unfortunately, instead are silently treated
3849 as 'x'. The following induces an error, until -std is added to get
3850 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3851 array size at least. It's necessary to write '\x00'==0 to get something
3852 that's true only with -std. */
3853 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3855 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3856 inside strings and character constants. */
3858 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3860 int test (int i, double x);
3861 struct s1 {int (*f) (int a);};
3862 struct s2 {int (*f) (double a);};
3863 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3869 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3874 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3875 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3877 CC="$ac_save_CC $ac_arg"
3878 if ac_fn_c_try_compile "$LINENO"; then :
3879 ac_cv_prog_cc_c89=$ac_arg
3881 rm -f core conftest.err conftest.$ac_objext
3882 test "x$ac_cv_prog_cc_c89" != "xno" && break
3884 rm -f conftest.$ac_ext
3889 case "x$ac_cv_prog_cc_c89" in
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3892 $as_echo "none needed" >&6; } ;;
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3895 $as_echo "unsupported" >&6; } ;;
3897 CC="$CC $ac_cv_prog_cc_c89"
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3899 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3901 if test "x$ac_cv_prog_cc_c89" != xno; then :
3906 ac_cpp='$CPP $CPPFLAGS'
3907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912 ac_cpp='$CPP $CPPFLAGS'
3913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3917 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3918 if ${am_cv_prog_cc_c_o+:} false; then :
3919 $as_echo_n "(cached) " >&6
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3932 # Make sure it works both with $CC and with simple cc.
3933 # Following AC_PROG_CC_C_O, we do the test twice because some
3934 # compilers refuse to overwrite an existing .o file with -o,
3935 # though they will create one.
3936 am_cv_prog_cc_c_o=yes
3938 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3939 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); } \
3943 && test -f conftest2.$ac_objext; then
3946 am_cv_prog_cc_c_o=no
3950 rm -f core conftest*
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3954 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3955 if test "$am_cv_prog_cc_c_o" != yes; then
3956 # Losing compiler, so override with the script.
3957 # FIXME: It is wrong to rewrite CC.
3958 # But if we don't then we get into trouble of one sort or another.
3959 # A longer-term fix would be to have automake use am__CC in this case,
3960 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3961 CC="$am_aux_dir/compile $CC"
3964 ac_cpp='$CPP $CPPFLAGS'
3965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3969 DEPDIR="${am__leading_dot}deps"
3971 ac_config_commands="$ac_config_commands depfiles"
3974 am_make=${MAKE-make}
3975 cat > confinc << 'END'
3977 @echo this is the am__doit target
3980 # If we don't find an include directive, just comment out the code.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3982 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3986 # First try GNU make style include.
3987 echo "include confinc" > confmf
3988 # Ignore all kinds of additional output from 'make'.
3989 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3990 *the\ am__doit\ target*)
3996 # Now try BSD make style include.
3997 if test "$am__include" = "#"; then
3998 echo '.include "confinc"' > confmf
3999 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4000 *the\ am__doit\ target*)
4001 am__include=.include
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4010 $as_echo "$_am_result" >&6; }
4011 rm -f confinc confmf
4013 # Check whether --enable-dependency-tracking was given.
4014 if test "${enable_dependency_tracking+set}" = set; then :
4015 enableval=$enable_dependency_tracking;
4018 if test "x$enable_dependency_tracking" != xno; then
4019 am_depcomp="$ac_aux_dir/depcomp"
4023 if test "x$enable_dependency_tracking" != xno; then
4033 depcc="$CC" am_compiler_list=
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4036 $as_echo_n "checking dependency style of $depcc... " >&6; }
4037 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4038 $as_echo_n "(cached) " >&6
4040 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4041 # We make a subdir and do the tests there. Otherwise we can end up
4042 # making bogus files that we don't know about and never remove. For
4043 # instance it was reported that on HP-UX the gcc test will end up
4044 # making a dummy file named 'D' -- because '-MD' means "put the output
4048 # Copy depcomp to subdir because otherwise we won't find it if we're
4049 # using a relative directory.
4050 cp "$am_depcomp" conftest.dir
4052 # We will build objects and dependencies in a subdirectory because
4053 # it helps to detect inapplicable dependency modes. For instance
4054 # both Tru64's cc and ICC support -MD to output dependencies as a
4055 # side effect of compilation, but ICC will put the dependencies in
4056 # the current directory while Tru64 will put them in the object
4060 am_cv_CC_dependencies_compiler_type=none
4061 if test "$am_compiler_list" = ""; then
4062 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4065 case " $depcc " in #(
4066 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4069 for depmode in $am_compiler_list; do
4070 # Setup a source with many dependencies, because some compilers
4071 # like to wrap large dependency lists on column 80 (with \), and
4072 # we should not choose a depcomp mode which is confused by this.
4074 # We need to recreate these files for each test, as the compiler may
4075 # overwrite some of them when testing with obscure command lines.
4076 # This happens at least with the AIX C compiler.
4078 for i in 1 2 3 4 5 6; do
4079 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4080 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4081 # Solaris 10 /bin/sh.
4082 echo '/* dummy */' > sub/conftst$i.h
4084 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4086 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4087 # mode. It turns out that the SunPro C++ compiler does not properly
4088 # handle '-M -o', and we need to detect this. Also, some Intel
4089 # versions had trouble with output in subdirs.
4090 am__obj=sub/conftest.${OBJEXT-o}
4091 am__minus_obj="-o $am__obj"
4094 # This depmode causes a compiler race in universal mode.
4095 test "$am__universal" = false || continue
4098 # After this tag, mechanisms are not by side-effect, so they'll
4099 # only be used when explicitly requested.
4100 if test "x$enable_dependency_tracking" = xyes; then
4106 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4107 # This compiler won't grok '-c -o', but also, the minuso test has
4108 # not run yet. These depmodes are late enough in the game, and
4109 # so weak that their functioning should not be impacted.
4110 am__obj=conftest.${OBJEXT-o}
4115 if depmode=$depmode \
4116 source=sub/conftest.c object=$am__obj \
4117 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4118 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4119 >/dev/null 2>conftest.err &&
4120 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4121 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4122 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4123 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4124 # icc doesn't choke on unknown options, it will just issue warnings
4125 # or remarks (even with -Werror). So we grep stderr for any message
4126 # that says an option was ignored or not supported.
4127 # When given -MP, icc 7.0 and 7.1 complain thusly:
4128 # icc: Command line warning: ignoring option '-M'; no argument required
4129 # The diagnosis changed in icc 8.0:
4130 # icc: Command line remark: option '-MP' not supported
4131 if (grep 'ignoring option' conftest.err ||
4132 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4133 am_cv_CC_dependencies_compiler_type=$depmode
4142 am_cv_CC_dependencies_compiler_type=none
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4147 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4148 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4151 test "x$enable_dependency_tracking" != xno \
4152 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4154 am__fastdepCC_FALSE='#'
4156 am__fastdepCC_TRUE='#'
4157 am__fastdepCC_FALSE=
4163 ac_cpp='$CPP $CPPFLAGS'
4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4168 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4169 # On Suns, sometimes $CPP names a directory.
4170 if test -n "$CPP" && test -d "$CPP"; then
4173 if test -z "$CPP"; then
4174 if ${ac_cv_prog_CPP+:} false; then :
4175 $as_echo_n "(cached) " >&6
4177 # Double quotes because CPP needs to be expanded
4178 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4181 for ac_c_preproc_warn_flag in '' yes
4183 # Use a header file that comes with gcc, so configuring glibc
4184 # with a fresh cross-compiler works.
4185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4186 # <limits.h> exists even on freestanding compilers.
4187 # On the NeXT, cc -E runs the code through the compiler's parser,
4188 # not just through cpp. "Syntax error" is here to catch this case.
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4192 # include <limits.h>
4194 # include <assert.h>
4198 if ac_fn_c_try_cpp "$LINENO"; then :
4201 # Broken: fails on valid input.
4204 rm -f conftest.err conftest.i conftest.$ac_ext
4206 # OK, works on sane cases. Now check whether nonexistent headers
4207 # can be detected and how.
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4210 #include <ac_nonexistent.h>
4212 if ac_fn_c_try_cpp "$LINENO"; then :
4213 # Broken: success on invalid input.
4216 # Passes both tests.
4220 rm -f conftest.err conftest.i conftest.$ac_ext
4223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4224 rm -f conftest.i conftest.err conftest.
$ac_ext
4225 if $ac_preproc_ok; then :
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4238 $as_echo "$CPP" >&6; }
4240 for ac_c_preproc_warn_flag
in '' yes
4242 # Use a header file that comes with gcc, so configuring glibc
4243 # with a fresh cross-compiler works.
4244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4245 # <limits.h> exists even on freestanding compilers.
4246 # On the NeXT, cc -E runs the code through the compiler's parser,
4247 # not just through cpp. "Syntax error" is here to catch this case.
4248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4251 # include <limits.h>
4253 # include <assert.h>
4257 if ac_fn_c_try_cpp
"$LINENO"; then :
4260 # Broken: fails on valid input.
4263 rm -f conftest.err conftest.i conftest.
$ac_ext
4265 # OK, works on sane cases. Now check whether nonexistent headers
4266 # can be detected and how.
4267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269 #include <ac_nonexistent.h>
4271 if ac_fn_c_try_cpp
"$LINENO"; then :
4272 # Broken: success on invalid input.
4275 # Passes both tests.
4279 rm -f conftest.err conftest.i conftest.
$ac_ext
4282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4283 rm -f conftest.i conftest.err conftest.
$ac_ext
4284 if $ac_preproc_ok; then :
4287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4289 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4290 See \`config.log' for more details" "$LINENO" 5; }
4294 ac_cpp
='$CPP $CPPFLAGS'
4295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4301 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4302 if ${ac_cv_path_GREP+:} false
; then :
4303 $as_echo_n "(cached) " >&6
4305 if test -z "$GREP"; then
4306 ac_path_GREP_found
=false
4307 # Loop through the user's path and test for each of PROGNAME-LIST
4308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4309 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4312 test -z "$as_dir" && as_dir
=.
4313 for ac_prog
in grep ggrep
; do
4314 for ac_exec_ext
in '' $ac_executable_extensions; do
4315 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4316 as_fn_executable_p
"$ac_path_GREP" ||
continue
4317 # Check for GNU ac_path_GREP and select it if it is found.
4318 # Check for GNU $ac_path_GREP
4319 case `"$ac_path_GREP" --version 2>&1` in
4321 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4324 $as_echo_n 0123456789 >"conftest.in"
4327 cat "conftest.in" "conftest.in" >"conftest.tmp"
4328 mv "conftest.tmp" "conftest.in"
4329 cp "conftest.in" "conftest.nl"
4330 $as_echo 'GREP' >> "conftest.nl"
4331 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4332 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4333 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4334 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4335 # Best one so far, save it but keep looking for a better one
4336 ac_cv_path_GREP
="$ac_path_GREP"
4337 ac_path_GREP_max
=$ac_count
4339 # 10*(2^10) chars as input seems more than enough
4340 test $ac_count -gt 10 && break
4342 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4345 $ac_path_GREP_found && break 3
4350 if test -z "$ac_cv_path_GREP"; then
4351 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4354 ac_cv_path_GREP
=$GREP
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4359 $as_echo "$ac_cv_path_GREP" >&6; }
4360 GREP
="$ac_cv_path_GREP"
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4364 $as_echo_n "checking for egrep... " >&6; }
4365 if ${ac_cv_path_EGREP+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4369 then ac_cv_path_EGREP
="$GREP -E"
4371 if test -z "$EGREP"; then
4372 ac_path_EGREP_found
=false
4373 # Loop through the user's path and test for each of PROGNAME-LIST
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4375 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_prog
in egrep; do
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4382 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4383 # Check for GNU ac_path_EGREP and select it if it is found.
4384 # Check for GNU $ac_path_EGREP
4385 case `"$ac_path_EGREP" --version 2>&1` in
4387 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4390 $as_echo_n 0123456789 >"conftest.in"
4393 cat "conftest.in" "conftest.in" >"conftest.tmp"
4394 mv "conftest.tmp" "conftest.in"
4395 cp "conftest.in" "conftest.nl"
4396 $as_echo 'EGREP' >> "conftest.nl"
4397 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4398 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4399 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4400 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4401 # Best one so far, save it but keep looking for a better one
4402 ac_cv_path_EGREP
="$ac_path_EGREP"
4403 ac_path_EGREP_max
=$ac_count
4405 # 10*(2^10) chars as input seems more than enough
4406 test $ac_count -gt 10 && break
4408 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4411 $ac_path_EGREP_found && break 3
4416 if test -z "$ac_cv_path_EGREP"; then
4417 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4420 ac_cv_path_EGREP
=$EGREP
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4426 $as_echo "$ac_cv_path_EGREP" >&6; }
4427 EGREP
="$ac_cv_path_EGREP"
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4431 $as_echo_n "checking for ANSI C header files... " >&6; }
4432 if ${ac_cv_header_stdc+:} false
; then :
4433 $as_echo_n "(cached) " >&6
4435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4450 if ac_fn_c_try_compile
"$LINENO"; then :
4451 ac_cv_header_stdc
=yes
4453 ac_cv_header_stdc
=no
4455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4457 if test $ac_cv_header_stdc = yes; then
4458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4465 $EGREP "memchr" >/dev
/null
2>&1; then :
4468 ac_cv_header_stdc
=no
4474 if test $ac_cv_header_stdc = yes; then
4475 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4482 $EGREP "free" >/dev
/null
2>&1; then :
4485 ac_cv_header_stdc
=no
4491 if test $ac_cv_header_stdc = yes; then
4492 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4493 if test "$cross_compiling" = yes; then :
4496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4500 #if ((' ' & 0x0FF) == 0x020)
4501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4504 # define ISLOWER(c) \
4505 (('a' <= (c) && (c) <= 'i') \
4506 || ('j' <= (c) && (c) <= 'r') \
4507 || ('s' <= (c) && (c) <= 'z'))
4508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4516 for (i = 0; i < 256; i++)
4517 if (XOR (islower (i), ISLOWER (i))
4518 || toupper (i) != TOUPPER (i))
4523 if ac_fn_c_try_run
"$LINENO"; then :
4526 ac_cv_header_stdc
=no
4528 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4529 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4535 $as_echo "$ac_cv_header_stdc" >&6; }
4536 if test $ac_cv_header_stdc = yes; then
4538 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4542 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4543 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4544 inttypes.h stdint.h unistd.h
4546 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4547 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4549 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4550 cat >>confdefs.h
<<_ACEOF
4551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4560 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4561 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4568 if test "$MINIX" = yes; then
4570 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4573 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4576 $as_echo "#define _MINIX 1" >>confdefs.h
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4582 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4583 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4584 $as_echo_n "(cached) " >&6
4586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4589 # define __EXTENSIONS__ 1
4590 $ac_includes_default
4599 if ac_fn_c_try_compile
"$LINENO"; then :
4600 ac_cv_safe_to_define___extensions__
=yes
4602 ac_cv_safe_to_define___extensions__
=no
4604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4607 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4608 test $ac_cv_safe_to_define___extensions__ = yes &&
4609 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4611 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4613 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4615 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4617 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4626 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4631 macro_version
='2.2.7a'
4632 macro_revision
='1.3134'
4646 ltmain
="$ac_aux_dir/ltmain.sh"
4648 # Backslashify metacharacters that are still active within
4649 # double-quoted strings.
4650 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4652 # Same as above, but do not quote variable references.
4653 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4655 # Sed substitution to delay expansion of an escaped shell variable in a
4656 # double_quote_subst'ed string.
4657 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4659 # Sed substitution to delay expansion of an escaped single quote.
4660 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4662 # Sed substitution to avoid accidental globbing in evaled expressions
4663 no_glob_subst
='s/\*/\\\*/g'
4665 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4666 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4670 $as_echo_n "checking how to print strings... " >&6; }
4671 # Test print first, because it will be a builtin if present.
4672 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4673 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4675 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4678 # Use this function as a fallback that always works.
4679 func_fallback_echo ()
4681 eval 'cat <<_LTECHO_EOF
4685 ECHO='func_fallback_echo
'
4688 # func_echo_all arg...
4689 # Invoke $ECHO with all args, space-separated.
4696 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4697 $as_echo "printf" >&6; } ;;
4698 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4699 $as_echo "print -r" >&6; } ;;
4700 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4701 $as_echo "cat" >&6; } ;;
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4718 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4719 if ${ac_cv_path_SED+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4723 for ac_i in 1 2 3 4 5 6 7; do
4724 ac_script="$ac_script$as_nl$ac_script"
4726 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4727 { ac_script=; unset ac_script;}
4728 if test -z "$SED"; then
4729 ac_path_SED_found=false
4730 # Loop through the user's path and
test for each of PROGNAME-LIST
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir
=.
4736 for ac_prog
in sed gsed
; do
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4739 as_fn_executable_p
"$ac_path_SED" ||
continue
4740 # Check for GNU ac_path_SED and select it if it is found.
4741 # Check for GNU $ac_path_SED
4742 case `"$ac_path_SED" --version 2>&1` in
4744 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4747 $as_echo_n 0123456789 >"conftest.in"
4750 cat "conftest.in" "conftest.in" >"conftest.tmp"
4751 mv "conftest.tmp" "conftest.in"
4752 cp "conftest.in" "conftest.nl"
4753 $as_echo '' >> "conftest.nl"
4754 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4755 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4756 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4757 if test $ac_count -gt ${ac_path_SED_max-0}; then
4758 # Best one so far, save it but keep looking for a better one
4759 ac_cv_path_SED
="$ac_path_SED"
4760 ac_path_SED_max
=$ac_count
4762 # 10*(2^10) chars as input seems more than enough
4763 test $ac_count -gt 10 && break
4765 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4768 $ac_path_SED_found && break 3
4773 if test -z "$ac_cv_path_SED"; then
4774 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4782 $as_echo "$ac_cv_path_SED" >&6; }
4783 SED
="$ac_cv_path_SED"
4786 test -z "$SED" && SED
=sed
4787 Xsed
="$SED -e 1s/^X//"
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4800 $as_echo_n "checking for fgrep... " >&6; }
4801 if ${ac_cv_path_FGREP+:} false
; then :
4802 $as_echo_n "(cached) " >&6
4804 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4805 then ac_cv_path_FGREP
="$GREP -F"
4807 if test -z "$FGREP"; then
4808 ac_path_FGREP_found
=false
4809 # Loop through the user's path and test for each of PROGNAME-LIST
4810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4811 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4814 test -z "$as_dir" && as_dir
=.
4815 for ac_prog
in fgrep
; do
4816 for ac_exec_ext
in '' $ac_executable_extensions; do
4817 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4818 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4819 # Check for GNU ac_path_FGREP and select it if it is found.
4820 # Check for GNU $ac_path_FGREP
4821 case `"$ac_path_FGREP" --version 2>&1` in
4823 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4826 $as_echo_n 0123456789 >"conftest.in"
4829 cat "conftest.in" "conftest.in" >"conftest.tmp"
4830 mv "conftest.tmp" "conftest.in"
4831 cp "conftest.in" "conftest.nl"
4832 $as_echo 'FGREP' >> "conftest.nl"
4833 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4834 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4835 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4836 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4837 # Best one so far, save it but keep looking for a better one
4838 ac_cv_path_FGREP
="$ac_path_FGREP"
4839 ac_path_FGREP_max
=$ac_count
4841 # 10*(2^10) chars as input seems more than enough
4842 test $ac_count -gt 10 && break
4844 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4847 $ac_path_FGREP_found && break 3
4852 if test -z "$ac_cv_path_FGREP"; then
4853 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4856 ac_cv_path_FGREP
=$FGREP
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4862 $as_echo "$ac_cv_path_FGREP" >&6; }
4863 FGREP
="$ac_cv_path_FGREP"
4866 test -z "$GREP" && GREP
=grep
4886 # Check whether --with-gnu-ld was given.
4887 if test "${with_gnu_ld+set}" = set; then :
4888 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4894 if test "$GCC" = yes; then
4895 # Check if gcc -print-prog-name=ld gives a path.
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4897 $as_echo_n "checking for ld used by $CC... " >&6; }
4900 # gcc leaves a trailing carriage return which upsets mingw
4901 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4903 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4906 # Accept absolute paths.
4908 re_direlt
='/[^/][^/]*/\.\./'
4909 # Canonicalize the pathname of ld
4910 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4911 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4912 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4914 test -z "$LD" && LD
="$ac_prog"
4917 # If it fails, then pretend we aren't using GCC.
4921 # If it is relative, then search for the first ld in PATH.
4925 elif test "$with_gnu_ld" = yes; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4927 $as_echo_n "checking for GNU ld... " >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4930 $as_echo_n "checking for non-GNU ld... " >&6; }
4932 if ${lt_cv_path_LD+:} false
; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -z "$LD"; then
4936 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4937 for ac_dir
in $PATH; do
4939 test -z "$ac_dir" && ac_dir
=.
4940 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4941 lt_cv_path_LD
="$ac_dir/$ac_prog"
4942 # Check to see if the program is GNU ld. I'd rather use --version,
4943 # but apparently some variants of GNU ld only accept -v.
4944 # Break only if it was the GNU/non-GNU ld that we prefer.
4945 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4946 *GNU
* |
*'with BFD'*)
4947 test "$with_gnu_ld" != no
&& break
4950 test "$with_gnu_ld" != yes && break
4957 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4962 if test -n "$LD"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4964 $as_echo "$LD" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4969 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4971 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4972 if ${lt_cv_prog_gnu_ld+:} false
; then :
4973 $as_echo_n "(cached) " >&6
4975 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4976 case `$LD -v 2>&1 </dev/null` in
4977 *GNU
* |
*'with BFD'*)
4978 lt_cv_prog_gnu_ld
=yes
4981 lt_cv_prog_gnu_ld
=no
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4986 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4987 with_gnu_ld
=$lt_cv_prog_gnu_ld
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4998 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4999 if ${lt_cv_path_NM+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$NM"; then
5003 # Let the user override the nm to test.
5004 lt_nm_to_check
="$NM"
5006 lt_nm_to_check
="${ac_tool_prefix}nm"
5007 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5008 lt_nm_to_check
="$lt_nm_to_check nm"
5011 for lt_tmp_nm
in "$lt_nm_to_check"; do
5012 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5013 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5015 test -z "$ac_dir" && ac_dir
=.
5016 # Strip out any user-provided options from the nm to test twice,
5017 # the first time to test to see if nm (rather than its options) has
5018 # an explicit path, the second time to yield a file which can be
5020 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5021 case "$tmp_nm_path" in
5022 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5023 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5025 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5026 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5027 # Check to see if the nm accepts a BSD-compat flag.
5028 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5029 # nm: unknown option "B" ignored
5030 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5031 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5035 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5037 lt_cv_path_NM
="$tmp_nm -p"
5041 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5042 continue # so that we can try to find one that supports BSD flags
5051 : ${lt_cv_path_NM=no}
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5054 $as_echo "$lt_cv_path_NM" >&6; }
5055 if test "$lt_cv_path_NM" != "no"; then
5058 # Didn't find any BSD compatible name lister, look for dumpbin.
5059 if test -n "$DUMPBIN"; then :
5060 # Let the user override the test.
5062 if test -n "$ac_tool_prefix"; then
5063 for ac_prog
in dumpbin
"link -dump"
5065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5066 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$DUMPBIN"; then
5073 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 DUMPBIN
=$ac_cv_prog_DUMPBIN
5093 if test -n "$DUMPBIN"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5095 $as_echo "$DUMPBIN" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5102 test -n "$DUMPBIN" && break
5105 if test -z "$DUMPBIN"; then
5106 ac_ct_DUMPBIN
=$DUMPBIN
5107 for ac_prog
in dumpbin
"link -dump"
5109 # Extract the first word of "$ac_prog", so it can be a program name with args.
5110 set dummy
$ac_prog; ac_word
=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5114 $as_echo_n "(cached) " >&6
5116 if test -n "$ac_ct_DUMPBIN"; then
5117 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5123 test -z "$as_dir" && as_dir
=.
5124 for ac_exec_ext
in '' $ac_executable_extensions; do
5125 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5137 if test -n "$ac_ct_DUMPBIN"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5139 $as_echo "$ac_ct_DUMPBIN" >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5146 test -n "$ac_ct_DUMPBIN" && break
5149 if test "x$ac_ct_DUMPBIN" = x
; then
5152 case $cross_compiling:$ac_tool_warned in
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5156 ac_tool_warned
=yes ;;
5158 DUMPBIN
=$ac_ct_DUMPBIN
5162 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5164 DUMPBIN
="$DUMPBIN -symbols"
5172 if test "$DUMPBIN" != ":"; then
5176 test -z "$NM" && NM
=nm
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5184 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5185 if ${lt_cv_nm_interface+:} false
; then :
5186 $as_echo_n "(cached) " >&6
5188 lt_cv_nm_interface
="BSD nm"
5189 echo "int some_variable = 0;" > conftest.
$ac_ext
5190 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5191 (eval "$ac_compile" 2>conftest.err
)
5192 cat conftest.err
>&5
5193 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5194 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5195 cat conftest.err
>&5
5196 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5197 cat conftest.out
>&5
5198 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5199 lt_cv_nm_interface
="MS dumpbin"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5204 $as_echo "$lt_cv_nm_interface" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5207 $as_echo_n "checking whether ln -s works... " >&6; }
5209 if test "$LN_S" = "ln -s"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5211 $as_echo "yes" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5214 $as_echo "no, using $LN_S" >&6; }
5217 # find the maximum length of command line arguments
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5219 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5220 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5221 $as_echo_n "(cached) " >&6
5228 # On DJGPP, this test can blow up pretty badly due to problems in libc
5229 # (any single argument exceeding 2000 bytes causes a buffer overrun
5230 # during glob expansion). Even if it were fixed, the result of this
5231 # check would be larger than it should be.
5232 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5236 # Under GNU Hurd, this test is not required because there is
5237 # no limit to the length of command line arguments.
5238 # Libtool will interpret -1 as no limit whatsoever
5239 lt_cv_sys_max_cmd_len
=-1;
5242 cygwin
* | mingw
* | cegcc
*)
5243 # On Win9x/ME, this test blows up -- it succeeds, but takes
5244 # about 5 minutes as the teststring grows exponentially.
5245 # Worse, since 9x/ME are not pre-emptively multitasking,
5246 # you end up with a "frozen" computer, even though with patience
5247 # the test eventually succeeds (with a max line length of 256k).
5248 # Instead, let's just punt: use the minimum linelength reported by
5249 # all of the supported platforms: 8192 (on NT/2K/XP).
5250 lt_cv_sys_max_cmd_len
=8192;
5254 # On MiNT this can take a long time and run out of memory.
5255 lt_cv_sys_max_cmd_len
=8192;
5259 # On AmigaOS with pdksh, this test takes hours, literally.
5260 # So we just punt and use a minimum line length of 8192.
5261 lt_cv_sys_max_cmd_len
=8192;
5264 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5265 # This has been around since 386BSD, at least. Likely further.
5266 if test -x /sbin
/sysctl
; then
5267 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5268 elif test -x /usr
/sbin
/sysctl
; then
5269 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5271 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5273 # And add a safety zone
5274 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5275 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5279 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5280 lt_cv_sys_max_cmd_len
=196608
5284 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5285 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5286 # nice to cause kernel panics so lets avoid the loop below.
5287 # First set a reasonable default.
5288 lt_cv_sys_max_cmd_len
=16384
5290 if test -x /sbin
/sysconfig
; then
5291 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5292 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5297 lt_cv_sys_max_cmd_len
=102400
5299 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5300 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5301 if test -n "$kargmax"; then
5302 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5304 lt_cv_sys_max_cmd_len
=32768
5308 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5309 if test -n "$lt_cv_sys_max_cmd_len"; then
5310 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5311 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5313 # Make teststring a little bigger before we do anything with it.
5314 # a 1K string should be a reasonable start.
5315 for i
in 1 2 3 4 5 6 7 8 ; do
5316 teststring
=$teststring$teststring
5318 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5319 # If test is not a shell built-in, we'll probably end up computing a
5320 # maximum length that is only half of the actual maximum length, but
5322 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5323 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5324 test $i != 17 # 1/2 MB should be enough
5327 teststring
=$teststring$teststring
5329 # Only check the string length outside the loop.
5330 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5332 # Add a significant safety factor because C++ compilers can tack on
5333 # massive amounts of additional arguments before passing them to the
5334 # linker. It appears as though 1/2 is a usable value.
5335 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5342 if test -n $lt_cv_sys_max_cmd_len ; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5344 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5347 $as_echo "none" >&6; }
5349 max_cmd_len
=$lt_cv_sys_max_cmd_len
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5361 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5362 # Try some XSI features
5365 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5367 && eval 'test $(( 1 + 1 )) -eq 2 \
5368 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5371 $as_echo "$xsi_shell" >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5375 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5377 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5379 && lt_shell_append=yes
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5381 $as_echo "$lt_shell_append" >&6; }
5384 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5394 # test EBCDIC or ASCII
5395 case `echo X|tr X '\101'` in
5396 A) # ASCII based system
5397 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5398 lt_SP2NL='tr \040 \012'
5399 lt_NL2SP='tr \015\012 \040\040'
5401 *) # EBCDIC based system
5402 lt_SP2NL='tr \100 \n'
5403 lt_NL2SP='tr \r\n \100\100'
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5416 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5417 if ${lt_cv_ld_reload_flag+:} false; then :
5418 $as_echo_n "(cached
) " >&6
5420 lt_cv_ld_reload_flag='-r'
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5423 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5424 reload_flag=$lt_cv_ld_reload_flag
5425 case $reload_flag in
5427 *) reload_flag=" $reload_flag" ;;
5429 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5432 if test "$GCC" = yes; then
5433 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5435 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5448 if test -n "$ac_tool_prefix"; then
5449 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5450 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5452 $as_echo_n "checking
for $ac_word...
" >&6; }
5453 if ${ac_cv_prog_OBJDUMP+:} false; then :
5454 $as_echo_n "(cached
) " >&6
5456 if test -n "$OBJDUMP"; then
5457 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5476 OBJDUMP=$ac_cv_prog_OBJDUMP
5477 if test -n "$OBJDUMP"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5479 $as_echo "$OBJDUMP" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5482 $as_echo "no
" >&6; }
5487 if test -z "$ac_cv_prog_OBJDUMP"; then
5488 ac_ct_OBJDUMP=$OBJDUMP
5489 # Extract the first word of "objdump
", so it can be a program name with args.
5490 set dummy objdump; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5492 $as_echo_n "checking
for $ac_word...
" >&6; }
5493 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5494 $as_echo_n "(cached
) " >&6
5496 if test -n "$ac_ct_OBJDUMP"; then
5497 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5516 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5517 if test -n "$ac_ct_OBJDUMP"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5519 $as_echo "$ac_ct_OBJDUMP" >&6; }
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5522 $as_echo "no
" >&6; }
5525 if test "x
$ac_ct_OBJDUMP" = x; then
5528 case $cross_compiling:$ac_tool_warned in
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5532 ac_tool_warned=yes ;;
5534 OBJDUMP=$ac_ct_OBJDUMP
5537 OBJDUMP="$ac_cv_prog_OBJDUMP"
5540 test -z "$OBJDUMP" && OBJDUMP=objdump
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5551 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5552 if ${lt_cv_deplibs_check_method+:} false; then :
5553 $as_echo_n "(cached
) " >&6
5555 lt_cv_file_magic_cmd='$MAGIC_CMD'
5556 lt_cv_file_magic_test_file=
5557 lt_cv_deplibs_check_method='unknown'
5558 # Need to set the preceding variable on all platforms that support
5559 # interlibrary dependencies.
5560 # 'none' -- dependencies not supported.
5561 # `unknown' -- same as none, but documents that we really don't know.
5562 # 'pass_all' -- all dependencies passed with no checks.
5563 # 'test_compile' -- check by making test program.
5564 # 'file_magic [[regex]]' -- check by looking for files in library path
5565 # which responds to the $file_magic_cmd with a given extended regex.
5566 # If you have `file' or equivalent on your system and you're not sure
5567 # whether `pass_all' will *always* work, you probably want this one.
5571 lt_cv_deplibs_check_method=pass_all
5575 lt_cv_deplibs_check_method=pass_all
5579 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5580 lt_cv_file_magic_cmd='/usr/bin/file -L'
5581 lt_cv_file_magic_test_file=/shlib/libc.so
5585 # func_win32_libid is a shell function defined in ltmain.sh
5586 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5587 lt_cv_file_magic_cmd='func_win32_libid'
5591 # Base MSYS/MinGW do not provide the 'file' command needed by
5592 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5593 # unless we find 'file', for example because we are cross-compiling.
5594 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5595 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5596 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5597 lt_cv_file_magic_cmd='func_win32_libid'
5599 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5600 lt_cv_file_magic_cmd='$OBJDUMP -f'
5605 # use the weaker test based on 'objdump'. See mingw*.
5606 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5607 lt_cv_file_magic_cmd='$OBJDUMP -f'
5610 darwin* | rhapsody*)
5611 lt_cv_deplibs_check_method=pass_all
5614 freebsd* | dragonfly*)
5615 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5618 # Not sure whether the presence of OpenBSD here was a mistake.
5619 # Let's accept both of them until this is cleared up.
5620 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5621 lt_cv_file_magic_cmd=/usr/bin/file
5622 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5626 lt_cv_deplibs_check_method=pass_all
5631 lt_cv_deplibs_check_method=pass_all
5635 lt_cv_deplibs_check_method=pass_all
5638 hpux10.20* | hpux11*)
5639 lt_cv_file_magic_cmd=/usr/bin/file
5642 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5643 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5646 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]'
5647 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5650 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5651 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5657 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5658 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5661 irix5* | irix6* | nonstopux*)
5663 *-32|*"-32 ") libmagic=32-bit;;
5664 *-n32|*"-n32 ") libmagic=N32;;
5665 *-64|*"-64 ") libmagic=64-bit;;
5666 *) libmagic=never-match;;
5668 lt_cv_deplibs_check_method=pass_all
5671 # This must be Linux ELF.
5672 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5673 lt_cv_deplibs_check_method=pass_all
5677 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5678 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5680 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5685 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5686 lt_cv_file_magic_cmd=/usr/bin/file
5687 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5691 lt_cv_deplibs_check_method=pass_all
5695 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5698 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5702 osf3* | osf4* | osf5*)
5703 lt_cv_deplibs_check_method=pass_all
5707 lt_cv_deplibs_check_method=pass_all
5711 lt_cv_deplibs_check_method=pass_all
5714 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5715 lt_cv_deplibs_check_method=pass_all
5719 case $host_vendor in
5721 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]'
5722 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5725 lt_cv_deplibs_check_method=pass_all
5728 lt_cv_file_magic_cmd='/bin/file'
5729 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5732 lt_cv_file_magic_cmd='/bin/file'
5733 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5734 lt_cv_file_magic_test_file=/lib/libc.so
5737 lt_cv_deplibs_check_method=pass_all
5740 lt_cv_deplibs_check_method=pass_all
5746 lt_cv_deplibs_check_method=pass_all
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5752 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5753 file_magic_cmd=$lt_cv_file_magic_cmd
5754 deplibs_check_method=$lt_cv_deplibs_check_method
5755 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5769 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
5770 for plugin in $plugin_names; do
5771 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
5772 if test x$plugin_so = x$plugin; then
5773 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
5775 if test x$plugin_so != x$plugin; then
5776 plugin_option="--plugin $plugin_so"
5781 if test -n "$ac_tool_prefix"; then
5782 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5783 set dummy ${ac_tool_prefix}ar; ac_word=$2
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5785 $as_echo_n "checking
for $ac_word...
" >&6; }
5786 if ${ac_cv_prog_AR+:} false; then :
5787 $as_echo_n "(cached
) " >&6
5789 if test -n "$AR"; then
5790 ac_cv_prog_AR="$AR" # Let the user override the test.
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 test -z "$as_dir" && as_dir=.
5797 for ac_exec_ext in '' $ac_executable_extensions; do
5798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5799 ac_cv_prog_AR="${ac_tool_prefix}ar"
5800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5810 if test -n "$AR"; then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5812 $as_echo "$AR" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5815 $as_echo "no
" >&6; }
5820 if test -z "$ac_cv_prog_AR"; then
5822 # Extract the first word of "ar", so it can be a program name with args.
5823 set dummy ar; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5825 $as_echo_n "checking
for $ac_word...
" >&6; }
5826 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5827 $as_echo_n "(cached
) " >&6
5829 if test -n "$ac_ct_AR"; then
5830 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_ac_ct_AR="ar"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5849 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5850 if test -n "$ac_ct_AR"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5852 $as_echo "$ac_ct_AR" >&6; }
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5855 $as_echo "no
" >&6; }
5858 if test "x
$ac_ct_AR" = x; then
5861 case $cross_compiling:$ac_tool_warned in
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5864 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5865 ac_tool_warned=yes ;;
5873 test -z "$AR" && AR=ar
5874 if test -n "$plugin_option"; then
5875 if $AR --help 2>&1 | grep -q "\
--plugin"; then
5877 $AR $plugin_option rc conftest.a conftest.c
5878 if test "$?
" != 0; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
5880 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
5882 AR="$AR $plugin_option"
5887 test -z "$AR_FLAGS" && AR_FLAGS=cru
5899 if test -n "$ac_tool_prefix"; then
5900 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5901 set dummy ${ac_tool_prefix}strip; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5903 $as_echo_n "checking
for $ac_word...
" >&6; }
5904 if ${ac_cv_prog_STRIP+:} false; then :
5905 $as_echo_n "(cached
) " >&6
5907 if test -n "$STRIP"; then
5908 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5927 STRIP=$ac_cv_prog_STRIP
5928 if test -n "$STRIP"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5930 $as_echo "$STRIP" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5933 $as_echo "no
" >&6; }
5938 if test -z "$ac_cv_prog_STRIP"; then
5940 # Extract the first word of "strip
", so it can be a program name with args.
5941 set dummy strip; ac_word=$2
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5943 $as_echo_n "checking
for $ac_word...
" >&6; }
5944 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5945 $as_echo_n "(cached
) " >&6
5947 if test -n "$ac_ct_STRIP"; then
5948 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 test -z "$as_dir" && as_dir=.
5955 for ac_exec_ext in '' $ac_executable_extensions; do
5956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5957 ac_cv_prog_ac_ct_STRIP="strip
"
5958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5967 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5968 if test -n "$ac_ct_STRIP"; then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5970 $as_echo "$ac_ct_STRIP" >&6; }
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5973 $as_echo "no
" >&6; }
5976 if test "x
$ac_ct_STRIP" = x; then
5979 case $cross_compiling:$ac_tool_warned in
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5982 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5983 ac_tool_warned=yes ;;
5988 STRIP="$ac_cv_prog_STRIP"
5991 test -z "$STRIP" && STRIP=:
5998 if test -n "$ac_tool_prefix"; then
5999 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6000 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6002 $as_echo_n "checking
for $ac_word...
" >&6; }
6003 if ${ac_cv_prog_RANLIB+:} false; then :
6004 $as_echo_n "(cached
) " >&6
6006 if test -n "$RANLIB"; then
6007 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6026 RANLIB=$ac_cv_prog_RANLIB
6027 if test -n "$RANLIB"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6029 $as_echo "$RANLIB" >&6; }
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6032 $as_echo "no
" >&6; }
6037 if test -z "$ac_cv_prog_RANLIB"; then
6038 ac_ct_RANLIB=$RANLIB
6039 # Extract the first word of "ranlib
", so it can be a program name with args.
6040 set dummy ranlib; ac_word=$2
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6042 $as_echo_n "checking
for $ac_word...
" >&6; }
6043 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6044 $as_echo_n "(cached
) " >&6
6046 if test -n "$ac_ct_RANLIB"; then
6047 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6056 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6066 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6067 if test -n "$ac_ct_RANLIB"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6069 $as_echo "$ac_ct_RANLIB" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6072 $as_echo "no
" >&6; }
6075 if test "x
$ac_ct_RANLIB" = x; then
6078 case $cross_compiling:$ac_tool_warned in
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6081 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6082 ac_tool_warned=yes ;;
6084 RANLIB=$ac_ct_RANLIB
6087 RANLIB="$ac_cv_prog_RANLIB"
6090 test -z "$RANLIB" && RANLIB=:
6091 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6092 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6093 RANLIB="$RANLIB $plugin_option"
6102 # Determine commands to create old-style static archives.
6103 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6104 old_postinstall_cmds='chmod 644 $oldlib'
6105 old_postuninstall_cmds=
6107 if test -n "$RANLIB"; then
6110 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6113 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6116 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6121 lock_old_archive_extraction=yes ;;
6123 lock_old_archive_extraction=no ;;
6164 # If no C compiler was specified, use CC.
6167 # If no C compiler flags were specified, use CFLAGS.
6168 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6170 # Allow CC to be a program name with arguments.
6174 # Check for command to grab the raw symbol name followed by C symbol from nm.
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6176 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6177 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6178 $as_echo_n "(cached
) " >&6
6181 # These are sane defaults that work on at least a few old systems.
6182 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6184 # Character class describing NM global symbol codes.
6185 symcode='[BCDEGRST]'
6187 # Regexp to match symbols that can be accessed directly from C.
6188 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6190 # Define system-specific variables.
6195 cygwin* | mingw* | pw32* | cegcc*)
6196 symcode='[ABCDGISTW]'
6199 if test "$host_cpu" = ia64; then
6200 symcode='[ABCDEGRST]'
6204 symcode='[BCDEGRST]'
6207 symcode='[BCDEGQRST]'
6218 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6226 # If we're using GNU nm, then use its standard symbol codes.
6227 case `$NM -V 2>&1` in
6228 *GNU* | *'with BFD'*)
6229 symcode='[ABCDGIRSTW]' ;;
6232 # Transform an extracted symbol line into a proper C declaration.
6233 # Some systems (esp. on ia64) link data and code symbols differently,
6234 # so use this general approach.
6235 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6237 # Transform an extracted symbol line into symbol name and symbol address
6238 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6239 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'"
6241 # Handle CRLF in mingw tool chain
6245 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6249 # Try without a prefix underscore, then with it.
6250 for ac_symprfx in "" "_
"; do
6252 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6253 symxfrm="\\1 $ac_symprfx\\2 \\2"
6255 # Write the raw and C identifiers.
6256 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6257 # Fake it for dumpbin and say T for any non-static function
6258 # and D for any global variable.
6259 # Also find C++ and __fastcall symbols from MSVC++,
6260 # which start with @ or ?.
6261 lt_cv_sys_global_symbol_pipe="$AWK '"\
6262 " {last_section=section; section=\$ 3};"\
6263 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6264 " \$ 0!~/External *\|/{next};"\
6265 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6266 " {if(hide[section]) next};"\
6267 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6268 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6269 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6270 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6271 " ' prfx
=^
$ac_symprfx"
6273 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6276 # Check to see that the pipe works correctly.
6280 cat > conftest.$ac_ext <<_LT_EOF
6285 void nm_test_func(void);
6286 void nm_test_func(void){}
6290 int main(){nm_test_var='a';nm_test_func();return(0);}
6293 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6294 (eval $ac_compile) 2>&5
6296 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6297 test $ac_status = 0; }; then
6298 # Now try to grab the symbols.
6300 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6301 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6303 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6304 test $ac_status = 0; } && test -s "$nlist"; then
6305 # Try sorting and uniquifying the output.
6306 if sort "$nlist" | uniq > "$nlist"T; then
6307 mv -f "$nlist"T "$nlist"
6312 # Make sure that we snagged all the symbols we need.
6313 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6314 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6315 cat <<_LT_EOF > conftest.$ac_ext
6321 # Now generate the symbol file.
6322 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6324 cat <<_LT_EOF >> conftest.$ac_ext
6326 /* The mapping between symbol names and symbols. */
6331 lt__PROGRAM__LTX_preloaded_symbols[] =
6333 { "@PROGRAM@
", (void *) 0 },
6335 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6336 cat <<\_LT_EOF >> conftest.$ac_ext
6340 /* This works around a problem in FreeBSD linker */
6341 #ifdef FREEBSD_WORKAROUND
6342 static const void *lt_preloaded_setup() {
6343 return lt__PROGRAM__LTX_preloaded_symbols;
6351 # Now try linking the two files.
6352 mv conftest.$ac_objext conftstm.$ac_objext
6353 lt_save_LIBS="$LIBS"
6354 lt_save_CFLAGS="$CFLAGS"
6355 LIBS="conftstm.
$ac_objext"
6356 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6357 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6358 (eval $ac_link) 2>&5
6360 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6361 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6364 LIBS="$lt_save_LIBS"
6365 CFLAGS="$lt_save_CFLAGS"
6367 echo "cannot
find nm_test_func
in $nlist" >&5
6370 echo "cannot
find nm_test_var
in $nlist" >&5
6373 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6376 echo "$progname: failed program was
:" >&5
6377 cat conftest.$ac_ext >&5
6379 rm -rf conftest* conftst*
6381 # Do not use the global_symbol_pipe unless it works.
6382 if test "$pipe_works" = yes; then
6385 lt_cv_sys_global_symbol_pipe=
6391 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6392 lt_cv_sys_global_symbol_to_cdecl=
6394 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6396 $as_echo "failed
" >&6; }
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6399 $as_echo "ok
" >&6; }
6423 # Check whether --enable-libtool-lock was given.
6424 if test "${enable_libtool_lock+set}" = set; then :
6425 enableval=$enable_libtool_lock;
6428 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6430 # Some flags need to be propagated to the compiler or linker for good
6434 # Find out which ABI we are using.
6435 echo 'int i;' > conftest.$ac_ext
6436 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6437 (eval $ac_compile) 2>&5
6439 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6440 test $ac_status = 0; }; then
6441 case `/usr/bin/file conftest.$ac_objext` in
6453 # Find out which ABI we are using.
6454 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6455 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6456 (eval $ac_compile) 2>&5
6458 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6459 test $ac_status = 0; }; then
6460 if test "$lt_cv_prog_gnu_ld" = yes; then
6461 case `/usr/bin/file conftest.$ac_objext` in
6463 LD="${LD-ld} -melf32bsmip"
6466 LD="${LD-ld} -melf32bmipn32"
6469 LD="${LD-ld} -melf64bmip"
6473 case `/usr/bin/file conftest.$ac_objext` in
6489 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6490 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6491 # Find out which ABI we are using.
6492 echo 'int i;' > conftest.$ac_ext
6493 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6494 (eval $ac_compile) 2>&5
6496 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6497 test $ac_status = 0; }; then
6498 case `/usr/bin/file conftest.o` in
6501 x86_64-*kfreebsd*-gnu)
6502 LD="${LD-ld} -m elf_i386_fbsd
"
6505 case `/usr/bin/file conftest.o` in
6507 LD="${LD-ld} -m elf32_x86_64
"
6510 LD="${LD-ld} -m elf_i386
"
6514 powerpc64le-*linux*)
6515 LD="${LD-ld} -m elf32lppclinux
"
6518 LD="${LD-ld} -m elf32ppclinux
"
6521 LD="${LD-ld} -m elf_s390
"
6524 LD="${LD-ld} -m elf32_sparc
"
6530 x86_64-*kfreebsd*-gnu)
6531 LD="${LD-ld} -m elf_x86_64_fbsd
"
6534 LD="${LD-ld} -m elf_x86_64
"
6537 LD="${LD-ld} -m elf64lppc
"
6540 LD="${LD-ld} -m elf64ppc
"
6542 s390*-*linux*|s390*-*tpf*)
6543 LD="${LD-ld} -m elf64_s390
"
6546 LD="${LD-ld} -m elf64_sparc
"
6556 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6557 SAVE_CFLAGS="$CFLAGS"
6558 CFLAGS="$CFLAGS -belf"
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6560 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6561 if ${lt_cv_cc_needs_belf+:} false; then :
6562 $as_echo_n "(cached
) " >&6
6565 ac_cpp='$CPP $CPPFLAGS'
6566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6581 if ac_fn_c_try_link "$LINENO"; then :
6582 lt_cv_cc_needs_belf=yes
6584 lt_cv_cc_needs_belf=no
6586 rm -f core conftest.err conftest.$ac_objext \
6587 conftest$ac_exeext conftest.$ac_ext
6589 ac_cpp='$CPP $CPPFLAGS'
6590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6596 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6597 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6598 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6599 CFLAGS="$SAVE_CFLAGS"
6603 # Find out which ABI we are using.
6604 echo 'int i;' > conftest.$ac_ext
6605 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6606 (eval $ac_compile) 2>&5
6608 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6609 test $ac_status = 0; }; then
6610 case `/usr/bin/file conftest.o` in
6612 case $lt_cv_prog_gnu_ld in
6613 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6615 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6627 need_locks="$enable_libtool_lock"
6631 rhapsody* | darwin*)
6632 if test -n "$ac_tool_prefix"; then
6633 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6634 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6636 $as_echo_n "checking
for $ac_word...
" >&6; }
6637 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6638 $as_echo_n "(cached
) " >&6
6640 if test -n "$DSYMUTIL"; then
6641 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6660 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6661 if test -n "$DSYMUTIL"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6663 $as_echo "$DSYMUTIL" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6666 $as_echo "no
" >&6; }
6671 if test -z "$ac_cv_prog_DSYMUTIL"; then
6672 ac_ct_DSYMUTIL=$DSYMUTIL
6673 # Extract the first word of "dsymutil
", so it can be a program name with args.
6674 set dummy dsymutil; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6676 $as_echo_n "checking
for $ac_word...
" >&6; }
6677 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6678 $as_echo_n "(cached
) " >&6
6680 if test -n "$ac_ct_DSYMUTIL"; then
6681 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6690 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6700 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6701 if test -n "$ac_ct_DSYMUTIL"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6703 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6706 $as_echo "no
" >&6; }
6709 if test "x
$ac_ct_DSYMUTIL" = x; then
6712 case $cross_compiling:$ac_tool_warned in
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6715 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6716 ac_tool_warned=yes ;;
6718 DSYMUTIL=$ac_ct_DSYMUTIL
6721 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6724 if test -n "$ac_tool_prefix"; then
6725 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6726 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6728 $as_echo_n "checking
for $ac_word...
" >&6; }
6729 if ${ac_cv_prog_NMEDIT+:} false; then :
6730 $as_echo_n "(cached
) " >&6
6732 if test -n "$NMEDIT"; then
6733 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6752 NMEDIT=$ac_cv_prog_NMEDIT
6753 if test -n "$NMEDIT"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6755 $as_echo "$NMEDIT" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6758 $as_echo "no
" >&6; }
6763 if test -z "$ac_cv_prog_NMEDIT"; then
6764 ac_ct_NMEDIT=$NMEDIT
6765 # Extract the first word of "nmedit
", so it can be a program name with args.
6766 set dummy nmedit; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6768 $as_echo_n "checking
for $ac_word...
" >&6; }
6769 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6770 $as_echo_n "(cached
) " >&6
6772 if test -n "$ac_ct_NMEDIT"; then
6773 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6793 if test -n "$ac_ct_NMEDIT"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6795 $as_echo "$ac_ct_NMEDIT" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6798 $as_echo "no
" >&6; }
6801 if test "x
$ac_ct_NMEDIT" = x; then
6804 case $cross_compiling:$ac_tool_warned in
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6807 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6808 ac_tool_warned=yes ;;
6810 NMEDIT=$ac_ct_NMEDIT
6813 NMEDIT="$ac_cv_prog_NMEDIT"
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6818 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6820 $as_echo_n "checking
for $ac_word...
" >&6; }
6821 if ${ac_cv_prog_LIPO+:} false; then :
6822 $as_echo_n "(cached
) " >&6
6824 if test -n "$LIPO"; then
6825 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6844 LIPO=$ac_cv_prog_LIPO
6845 if test -n "$LIPO"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6847 $as_echo "$LIPO" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6850 $as_echo "no
" >&6; }
6855 if test -z "$ac_cv_prog_LIPO"; then
6857 # Extract the first word of "lipo
", so it can be a program name with args.
6858 set dummy lipo; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6860 $as_echo_n "checking
for $ac_word...
" >&6; }
6861 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6862 $as_echo_n "(cached
) " >&6
6864 if test -n "$ac_ct_LIPO"; then
6865 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_ac_ct_LIPO="lipo
"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6885 if test -n "$ac_ct_LIPO"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6887 $as_echo "$ac_ct_LIPO" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6890 $as_echo "no
" >&6; }
6893 if test "x
$ac_ct_LIPO" = x; then
6896 case $cross_compiling:$ac_tool_warned in
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6899 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6900 ac_tool_warned=yes ;;
6905 LIPO="$ac_cv_prog_LIPO"
6908 if test -n "$ac_tool_prefix"; then
6909 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6910 set dummy ${ac_tool_prefix}otool; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6912 $as_echo_n "checking
for $ac_word...
" >&6; }
6913 if ${ac_cv_prog_OTOOL+:} false; then :
6914 $as_echo_n "(cached
) " >&6
6916 if test -n "$OTOOL"; then
6917 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6936 OTOOL=$ac_cv_prog_OTOOL
6937 if test -n "$OTOOL"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6939 $as_echo "$OTOOL" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6942 $as_echo "no
" >&6; }
6947 if test -z "$ac_cv_prog_OTOOL"; then
6949 # Extract the first word of "otool
", so it can be a program name with args.
6950 set dummy otool; ac_word=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6952 $as_echo_n "checking
for $ac_word...
" >&6; }
6953 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6954 $as_echo_n "(cached
) " >&6
6956 if test -n "$ac_ct_OTOOL"; then
6957 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir=.
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_prog_ac_ct_OTOOL="otool
"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6976 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6977 if test -n "$ac_ct_OTOOL"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6979 $as_echo "$ac_ct_OTOOL" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6982 $as_echo "no
" >&6; }
6985 if test "x
$ac_ct_OTOOL" = x; then
6988 case $cross_compiling:$ac_tool_warned in
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6991 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6992 ac_tool_warned=yes ;;
6997 OTOOL="$ac_cv_prog_OTOOL"
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7004 $as_echo_n "checking
for $ac_word...
" >&6; }
7005 if ${ac_cv_prog_OTOOL64+:} false; then :
7006 $as_echo_n "(cached
) " >&6
7008 if test -n "$OTOOL64"; then
7009 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7028 OTOOL64=$ac_cv_prog_OTOOL64
7029 if test -n "$OTOOL64"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7031 $as_echo "$OTOOL64" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7034 $as_echo "no
" >&6; }
7039 if test -z "$ac_cv_prog_OTOOL64"; then
7040 ac_ct_OTOOL64=$OTOOL64
7041 # Extract the first word of "otool64
", so it can be a program name with args.
7042 set dummy otool64; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7044 $as_echo_n "checking
for $ac_word...
" >&6; }
7045 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7046 $as_echo_n "(cached
) " >&6
7048 if test -n "$ac_ct_OTOOL64"; then
7049 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7068 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7069 if test -n "$ac_ct_OTOOL64"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7071 $as_echo "$ac_ct_OTOOL64" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7074 $as_echo "no
" >&6; }
7077 if test "x
$ac_ct_OTOOL64" = x; then
7080 case $cross_compiling:$ac_tool_warned in
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7083 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7084 ac_tool_warned=yes ;;
7086 OTOOL64=$ac_ct_OTOOL64
7089 OTOOL64="$ac_cv_prog_OTOOL64"
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7119 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7120 if ${lt_cv_apple_cc_single_mod+:} false; then :
7121 $as_echo_n "(cached
) " >&6
7123 lt_cv_apple_cc_single_mod=no
7124 if test -z "${LT_MULTI_MODULE}"; then
7125 # By default we will add the -single_module flag. You can override
7126 # by either setting the environment variable LT_MULTI_MODULE
7127 # non-empty at configure time, or by adding -multi_module to the
7129 rm -rf libconftest.dylib*
7130 echo "int foo
(void
){return 1;}" > conftest.c
7131 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7132 -dynamiclib -Wl,-single_module conftest.c
" >&5
7133 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7134 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7136 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7137 lt_cv_apple_cc_single_mod=yes
7139 cat conftest.err >&5
7141 rm -rf libconftest.dylib*
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7146 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7148 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7149 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7150 $as_echo_n "(cached
) " >&6
7152 lt_cv_ld_exported_symbols_list=no
7153 save_LDFLAGS=$LDFLAGS
7154 echo "_main
" > conftest.sym
7155 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157 /* end confdefs.h. */
7167 if ac_fn_c_try_link "$LINENO"; then :
7168 lt_cv_ld_exported_symbols_list=yes
7170 lt_cv_ld_exported_symbols_list=no
7172 rm -f core conftest.err conftest.$ac_objext \
7173 conftest$ac_exeext conftest.$ac_ext
7174 LDFLAGS="$save_LDFLAGS"
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7178 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7180 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7181 if ${lt_cv_ld_force_load+:} false; then :
7182 $as_echo_n "(cached
) " >&6
7184 lt_cv_ld_force_load=no
7185 cat > conftest.c << _LT_EOF
7186 int forced_loaded() { return 2;}
7188 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7189 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7190 echo "$AR cru libconftest.a conftest.o
" >&5
7191 $AR cru libconftest.a conftest.o 2>&5
7192 cat > conftest.c << _LT_EOF
7193 int main() { return 0;}
7195 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7196 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7198 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7199 lt_cv_ld_force_load=yes
7201 cat conftest.err >&5
7203 rm -f conftest.err libconftest.a conftest conftest.c
7204 rm -rf conftest.dSYM
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7208 $as_echo "$lt_cv_ld_force_load" >&6; }
7210 rhapsody* | darwin1.[012])
7211 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7213 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7214 darwin*) # darwin 5.x on
7215 # if running on 10.5 or later, the deployment target defaults
7216 # to the OS version, if on x86, and 10.4, the deployment
7217 # target defaults to 10.4. Don't you love it?
7218 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7219 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7220 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7222 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7224 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7228 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7229 _lt_dar_single_mod='$single_module'
7231 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7232 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7234 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7236 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7237 _lt_dsymutil='~$DSYMUTIL $lib || :'
7244 for ac_header in dlfcn.h
7246 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7248 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7249 cat >>confdefs.h <<_ACEOF
7250 #define HAVE_DLFCN_H 1
7271 # Check whether --enable-shared was given.
7272 if test "${enable_shared+set}" = set; then :
7273 enableval=$enable_shared; p=${PACKAGE-default}
7275 yes) enable_shared=yes ;;
7276 no) enable_shared=no ;;
7279 # Look at the argument we got. We use all the common list separators.
7280 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7281 for pkg in $enableval; do
7283 if test "X
$pkg" = "X
$p"; then
7302 # Check whether --enable-static was given.
7303 if test "${enable_static+set}" = set; then :
7304 enableval=$enable_static; p=${PACKAGE-default}
7306 yes) enable_static=yes ;;
7307 no) enable_static=no ;;
7310 # Look at the argument we got. We use all the common list separators.
7311 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7312 for pkg in $enableval; do
7314 if test "X
$pkg" = "X
$p"; then
7334 # Check whether --with-pic was given.
7335 if test "${with_pic+set}" = set; then :
7336 withval=$with_pic; pic_mode="$withval"
7342 test -z "$pic_mode" && pic_mode=default
7350 # Check whether --enable-fast-install was given.
7351 if test "${enable_fast_install+set}" = set; then :
7352 enableval=$enable_fast_install; p=${PACKAGE-default}
7354 yes) enable_fast_install=yes ;;
7355 no) enable_fast_install=no ;;
7357 enable_fast_install=no
7358 # Look at the argument we got. We use all the common list separators.
7359 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7360 for pkg in $enableval; do
7362 if test "X
$pkg" = "X
$p"; then
7363 enable_fast_install=yes
7370 enable_fast_install=yes
7383 # This can be used to rebuild libtool when needed
7384 LIBTOOL_DEPS="$ltmain"
7386 # Always use our own libtool.
7387 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7414 test -z "$LN_S" && LN_S="ln -s"
7429 if test -n "${ZSH_VERSION+set}" ; then
7430 setopt NO_GLOB_SUBST
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7434 $as_echo_n "checking
for objdir...
" >&6; }
7435 if ${lt_cv_objdir+:} false; then :
7436 $as_echo_n "(cached
) " >&6
7438 rm -f .libs 2>/dev/null
7439 mkdir .libs 2>/dev/null
7440 if test -d .libs; then
7443 # MS-DOS does not allow filenames that begin with a dot.
7446 rmdir .libs 2>/dev/null
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7449 $as_echo "$lt_cv_objdir" >&6; }
7450 objdir=$lt_cv_objdir
7456 cat >>confdefs.h <<_ACEOF
7457 #define LT_OBJDIR "$lt_cv_objdir/"
7465 # AIX sometimes has problems with the GCC collect2 program. For some
7466 # reason, if we set the COLLECT_NAMES environment variable, the problems
7467 # vanish in a puff of smoke.
7468 if test "X
${COLLECT_NAMES+set}" != Xset; then
7470 export COLLECT_NAMES
7477 can_build_shared=yes
7479 # All known linkers require a `.a' archive for static linking (except MSVC,
7480 # which needs '.lib').
7483 with_gnu_ld="$lt_cv_prog_gnu_ld"
7486 old_CFLAGS="$CFLAGS"
7488 # Set sane defaults for various variables
7489 test -z "$CC" && CC=cc
7490 test -z "$LTCC" && LTCC=$CC
7491 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7492 test -z "$LD" && LD=ld
7493 test -z "$ac_objext" && ac_objext=o
7495 for cc_temp in $compiler""; do
7497 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7498 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7503 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7506 # Only perform the check for file, if the check method requires it
7507 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7508 case $deplibs_check_method in
7510 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7512 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7513 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7514 $as_echo_n "(cached
) " >&6
7518 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7521 lt_save_MAGIC_CMD="$MAGIC_CMD"
7522 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7523 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7524 for ac_dir in $ac_dummy; do
7526 test -z "$ac_dir" && ac_dir=.
7527 if test -f $ac_dir/${ac_tool_prefix}file; then
7528 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7529 if test -n "$file_magic_test_file"; then
7530 case $deplibs_check_method in
7532 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7534 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7535 $EGREP "$file_magic_regex" > /dev/null; then
7540 *** Warning: the command libtool uses to detect shared libraries,
7541 *** $file_magic_cmd, produces output that libtool cannot recognize.
7542 *** The result is that libtool may fail to recognize shared libraries
7543 *** as such. This will affect the creation of libtool libraries that
7544 *** depend on shared libraries, but programs linked with such libtool
7545 *** libraries will work regardless of this problem. Nevertheless, you
7546 *** may want to report the problem to your system manager and/or to
7547 *** bug-libtool@gnu.org
7557 MAGIC_CMD="$lt_save_MAGIC_CMD"
7562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7563 if test -n "$MAGIC_CMD"; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7565 $as_echo "$MAGIC_CMD" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7568 $as_echo "no
" >&6; }
7575 if test -z "$lt_cv_path_MAGIC_CMD"; then
7576 if test -n "$ac_tool_prefix"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7578 $as_echo_n "checking
for file...
" >&6; }
7579 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7580 $as_echo_n "(cached
) " >&6
7584 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7587 lt_save_MAGIC_CMD="$MAGIC_CMD"
7588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7589 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7590 for ac_dir in $ac_dummy; do
7592 test -z "$ac_dir" && ac_dir=.
7593 if test -f $ac_dir/file; then
7594 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7595 if test -n "$file_magic_test_file"; then
7596 case $deplibs_check_method in
7598 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7599 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7600 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7601 $EGREP "$file_magic_regex" > /dev/null; then
7606 *** Warning: the command libtool uses to detect shared libraries,
7607 *** $file_magic_cmd, produces output that libtool cannot recognize.
7608 *** The result is that libtool may fail to recognize shared libraries
7609 *** as such. This will affect the creation of libtool libraries that
7610 *** depend on shared libraries, but programs linked with such libtool
7611 *** libraries will work regardless of this problem. Nevertheless, you
7612 *** may want to report the problem to your system manager and/or to
7613 *** bug-libtool@gnu.org
7623 MAGIC_CMD="$lt_save_MAGIC_CMD"
7628 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7629 if test -n "$MAGIC_CMD"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7631 $as_echo "$MAGIC_CMD" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7634 $as_echo "no
" >&6; }
7647 # Use C for the default configuration in the libtool script
7651 ac_cpp='$CPP $CPPFLAGS'
7652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7657 # Source file extension for C test sources.
7660 # Object file extension for compiled C test sources.
7664 # Code to be used in simple compile tests
7665 lt_simple_compile_test_code="int some_variable
= 0;"
7667 # Code to be used in simple link tests
7668 lt_simple_link_test_code='int main(){return(0);}'
7676 # If no C compiler was specified, use CC.
7679 # If no C compiler flags were specified, use CFLAGS.
7680 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7682 # Allow CC to be a program name with arguments.
7685 # Save the default compiler, since it gets overwritten when the other
7686 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7687 compiler_DEFAULT=$CC
7689 # save warnings/boilerplate of simple test code
7690 ac_outfile=conftest.$ac_objext
7691 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7692 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7693 _lt_compiler_boilerplate=`cat conftest.err`
7696 ac_outfile=conftest.$ac_objext
7697 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7698 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7699 _lt_linker_boilerplate=`cat conftest.err`
7704 ## There is no encapsulation within the following macros, do not change
7705 ## the running order or otherwise move them around unless you know exactly
7706 ## what you are doing...
7707 if test -n "$compiler"; then
7709 lt_prog_compiler_no_builtin_flag=
7711 if test "$GCC" = yes; then
7712 case $cc_basename in
7714 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7716 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7720 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7721 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7722 $as_echo_n "(cached
) " >&6
7724 lt_cv_prog_compiler_rtti_exceptions=no
7725 ac_outfile=conftest.$ac_objext
7726 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7727 lt_compiler_flag="-fno-rtti -fno-exceptions"
7728 # Insert the option either (1) after the last *FLAGS variable, or
7729 # (2) before a word containing "conftest.
", or (3) at the end.
7730 # Note that $ac_compile itself does not contain backslashes and begins
7731 # with a dollar sign (not a hyphen), so the echo should work correctly.
7732 # The option is referenced via a variable to avoid confusing sed.
7733 lt_compile=`echo "$ac_compile" | $SED \
7734 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7735 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7736 -e 's:$: $lt_compiler_flag:'`
7737 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7738 (eval "$lt_compile" 2>conftest.err)
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7742 if (exit $ac_status) && test -s "$ac_outfile"; then
7743 # The compiler can only warn and ignore the option if not recognized
7744 # So say no if there are warnings other than the usual output.
7745 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7746 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7747 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7748 lt_cv_prog_compiler_rtti_exceptions=yes
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7755 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7757 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7758 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7770 lt_prog_compiler_wl=
7771 lt_prog_compiler_pic=
7772 lt_prog_compiler_static=
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7775 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7777 if test "$GCC" = yes; then
7778 lt_prog_compiler_wl='-Wl,'
7779 lt_prog_compiler_static='-static'
7783 # All AIX code is PIC.
7784 if test "$host_cpu" = ia64; then
7785 # AIX 5 now supports IA64 processor
7786 lt_prog_compiler_static='-Bstatic'
7788 lt_prog_compiler_pic='-fPIC'
7794 # see comment about AmigaOS4 .so support
7795 lt_prog_compiler_pic='-fPIC'
7798 # FIXME: we need at least 68020 code to build shared libraries, but
7799 # adding the `-m68020' flag to GCC prevents building anything better,
7801 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7806 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7807 # PIC is the default for these OSes.
7810 mingw* | cygwin* | pw32* | os2* | cegcc*)
7811 # This hack is so that the source file can tell whether it is being
7812 # built for inclusion in a dll (and should export symbols for example).
7813 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7814 # (--disable-auto-import) libraries
7815 lt_prog_compiler_pic='-DDLL_EXPORT'
7818 darwin* | rhapsody*)
7819 # PIC is the default on this platform
7820 # Common symbols not allowed in MH_DYLIB files
7821 lt_prog_compiler_pic='-fno-common'
7825 # PIC is the default for Haiku.
7826 # The "-static" flag exists, but is broken.
7827 lt_prog_compiler_static=
7831 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7832 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7833 # sets the default TLS model and affects inlining.
7839 lt_prog_compiler_pic='-fPIC'
7845 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7846 # Instead, we relocate shared libraries at runtime.
7850 # Just because we use GCC doesn't mean we suddenly get shared libraries
7851 # on systems that don't support them.
7852 lt_prog_compiler_can_build_shared=no
7857 # QNX uses GNU C++, but need to define -shared option too, otherwise
7859 lt_prog_compiler_pic='-fPIC -shared'
7863 if test -d /usr/nec; then
7864 lt_prog_compiler_pic=-Kconform_pic
7869 lt_prog_compiler_pic='-fPIC'
7873 case $cc_basename in
7874 nvcc*) # Cuda Compiler Driver 2.2
7875 lt_prog_compiler_wl='-Xlinker '
7876 lt_prog_compiler_pic='-Xcompiler -fPIC'
7880 # PORTME Check for flag to pass linker flags through the system compiler.
7883 lt_prog_compiler_wl='-Wl,'
7884 if test "$host_cpu" = ia64; then
7885 # AIX 5 now supports IA64 processor
7886 lt_prog_compiler_static='-Bstatic'
7888 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7892 mingw* | cygwin* | pw32* | os2* | cegcc*)
7893 # This hack is so that the source file can tell whether it is being
7894 # built for inclusion in a dll (and should export symbols for example).
7895 lt_prog_compiler_pic='-DDLL_EXPORT'
7898 hpux9* | hpux10* | hpux11*)
7899 lt_prog_compiler_wl='-Wl,'
7900 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7907 lt_prog_compiler_pic='+Z'
7910 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7911 lt_prog_compiler_static='${wl}-a ${wl}archive'
7914 irix5* | irix6* | nonstopux*)
7915 lt_prog_compiler_wl='-Wl,'
7916 # PIC (with -KPIC) is the default.
7917 lt_prog_compiler_static='-non_shared'
7920 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7921 case $cc_basename in
7922 # old Intel for x86_64 which still supported -KPIC.
7924 lt_prog_compiler_wl='-Wl,'
7925 lt_prog_compiler_pic='-KPIC'
7926 lt_prog_compiler_static='-static'
7928 # icc used to be incompatible with GCC.
7929 # ICC 10 doesn't accept -KPIC any more.
7931 lt_prog_compiler_wl='-Wl,'
7932 lt_prog_compiler_pic='-fPIC'
7933 lt_prog_compiler_static='-static'
7935 # Lahey Fortran 8.1.
7937 lt_prog_compiler_wl='-Wl,'
7938 lt_prog_compiler_pic='--shared'
7939 lt_prog_compiler_static='--static'
7941 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7942 # Portland Group compilers (*not* the Pentium gcc compiler,
7943 # which looks to be a dead project)
7944 lt_prog_compiler_wl='-Wl,'
7945 lt_prog_compiler_pic='-fpic'
7946 lt_prog_compiler_static='-Bstatic'
7949 lt_prog_compiler_wl='-Wl,'
7950 # All Alpha code is PIC.
7951 lt_prog_compiler_static='-non_shared'
7953 xl* | bgxl* | bgf* | mpixl*)
7954 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7955 lt_prog_compiler_wl='-Wl,'
7956 lt_prog_compiler_pic='-qpic'
7957 lt_prog_compiler_static='-qstaticlink'
7960 case `$CC -V 2>&1 | sed 5q` in
7961 *Sun\ F* | *Sun*Fortran*)
7962 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7963 lt_prog_compiler_pic='-KPIC'
7964 lt_prog_compiler_static='-Bstatic'
7965 lt_prog_compiler_wl=''
7969 lt_prog_compiler_pic='-KPIC'
7970 lt_prog_compiler_static='-Bstatic'
7971 lt_prog_compiler_wl='-Wl,'
7979 lt_prog_compiler_pic='-KPIC'
7980 lt_prog_compiler_static='-Bstatic'
7984 # QNX uses GNU C++, but need to define -shared option too, otherwise
7986 lt_prog_compiler_pic='-fPIC -shared'
7989 osf3* | osf4* | osf5*)
7990 lt_prog_compiler_wl='-Wl,'
7991 # All OSF/1 code is PIC.
7992 lt_prog_compiler_static='-non_shared'
7996 lt_prog_compiler_static='-non_shared'
8000 lt_prog_compiler_pic='-KPIC'
8001 lt_prog_compiler_static='-Bstatic'
8002 case $cc_basename in
8004 lt_prog_compiler_wl='-Qoption ld ';;
8006 lt_prog_compiler_wl='-Wl,';;
8011 lt_prog_compiler_wl='-Qoption ld '
8012 lt_prog_compiler_pic='-PIC'
8013 lt_prog_compiler_static='-Bstatic'
8016 sysv4 | sysv4.2uw2* | sysv4.3*)
8017 lt_prog_compiler_wl='-Wl,'
8018 lt_prog_compiler_pic='-KPIC'
8019 lt_prog_compiler_static='-Bstatic'
8023 if test -d /usr/nec ;then
8024 lt_prog_compiler_pic='-Kconform_pic'
8025 lt_prog_compiler_static='-Bstatic'
8029 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8030 lt_prog_compiler_wl='-Wl,'
8031 lt_prog_compiler_pic='-KPIC'
8032 lt_prog_compiler_static='-Bstatic'
8036 lt_prog_compiler_wl='-Wl,'
8037 lt_prog_compiler_can_build_shared=no
8041 lt_prog_compiler_pic='-pic'
8042 lt_prog_compiler_static='-Bstatic'
8046 lt_prog_compiler_can_build_shared=no
8052 # For platforms which do not support PIC, -DPIC is meaningless:
8054 lt_prog_compiler_pic=
8057 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8061 $as_echo "$lt_prog_compiler_pic" >&6; }
8069 # Check to make sure the PIC flag actually works.
8071 if test -n "$lt_prog_compiler_pic"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8073 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8074 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8075 $as_echo_n "(cached
) " >&6
8077 lt_cv_prog_compiler_pic_works=no
8078 ac_outfile=conftest.$ac_objext
8079 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8080 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8081 # Insert the option either (1) after the last *FLAGS variable, or
8082 # (2) before a word containing "conftest.
", or (3) at the end.
8083 # Note that $ac_compile itself does not contain backslashes and begins
8084 # with a dollar sign (not a hyphen), so the echo should work correctly.
8085 # The option is referenced via a variable to avoid confusing sed.
8086 lt_compile=`echo "$ac_compile" | $SED \
8087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8089 -e 's:$: $lt_compiler_flag:'`
8090 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8091 (eval "$lt_compile" 2>conftest.err)
8093 cat conftest.err >&5
8094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8095 if (exit $ac_status) && test -s "$ac_outfile"; then
8096 # The compiler can only warn and ignore the option if not recognized
8097 # So say no if there are warnings other than the usual output.
8098 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8099 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8100 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8101 lt_cv_prog_compiler_pic_works=yes
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8108 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8110 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8111 case $lt_prog_compiler_pic in
8113 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8116 lt_prog_compiler_pic=
8117 lt_prog_compiler_can_build_shared=no
8128 # Check to make sure the static flag actually works.
8130 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8132 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8133 if ${lt_cv_prog_compiler_static_works+:} false; then :
8134 $as_echo_n "(cached
) " >&6
8136 lt_cv_prog_compiler_static_works=no
8137 save_LDFLAGS="$LDFLAGS"
8138 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8139 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8140 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8141 # The linker can only warn and ignore the option if not recognized
8142 # So say no if there are warnings
8143 if test -s conftest.err; then
8144 # Append any errors to the config.log.
8145 cat conftest.err 1>&5
8146 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8147 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8148 if diff conftest.exp conftest.er2 >/dev/null; then
8149 lt_cv_prog_compiler_static_works=yes
8152 lt_cv_prog_compiler_static_works=yes
8156 LDFLAGS="$save_LDFLAGS"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8160 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8162 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8165 lt_prog_compiler_static=
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8175 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8176 if ${lt_cv_prog_compiler_c_o+:} false; then :
8177 $as_echo_n "(cached
) " >&6
8179 lt_cv_prog_compiler_c_o=no
8180 $RM -r conftest 2>/dev/null
8184 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8186 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8187 # Insert the option either (1) after the last *FLAGS variable, or
8188 # (2) before a word containing "conftest.
", or (3) at the end.
8189 # Note that $ac_compile itself does not contain backslashes and begins
8190 # with a dollar sign (not a hyphen), so the echo should work correctly.
8191 lt_compile=`echo "$ac_compile" | $SED \
8192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8194 -e 's:$: $lt_compiler_flag:'`
8195 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8196 (eval "$lt_compile" 2>out/conftest.err)
8198 cat out/conftest.err >&5
8199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8200 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8202 # The compiler can only warn and ignore the option if not recognized
8203 # So say no if there are warnings
8204 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8205 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8206 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8207 lt_cv_prog_compiler_c_o=yes
8212 # SGI C++ compiler will create directory out/ii_files/ for
8213 # template instantiation
8214 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8215 $RM out/* && rmdir out
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8222 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8230 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8231 if ${lt_cv_prog_compiler_c_o+:} false; then :
8232 $as_echo_n "(cached
) " >&6
8234 lt_cv_prog_compiler_c_o=no
8235 $RM -r conftest 2>/dev/null
8239 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8241 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8242 # Insert the option either (1) after the last *FLAGS variable, or
8243 # (2) before a word containing "conftest.
", or (3) at the end.
8244 # Note that $ac_compile itself does not contain backslashes and begins
8245 # with a dollar sign (not a hyphen), so the echo should work correctly.
8246 lt_compile=`echo "$ac_compile" | $SED \
8247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8249 -e 's:$: $lt_compiler_flag:'`
8250 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8251 (eval "$lt_compile" 2>out/conftest.err)
8253 cat out/conftest.err >&5
8254 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8255 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8257 # The compiler can only warn and ignore the option if not recognized
8258 # So say no if there are warnings
8259 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8260 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8261 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8262 lt_cv_prog_compiler_c_o=yes
8267 # SGI C++ compiler will create directory out/ii_files/ for
8268 # template instantiation
8269 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8270 $RM out/* && rmdir out
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8277 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8282 hard_links="nottested
"
8283 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8284 # do not overwrite the value of need_locks provided by the user
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8286 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8289 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8291 ln conftest.a conftest.b 2>&5 || hard_links=no
8292 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8294 $as_echo "$hard_links" >&6; }
8295 if test "$hard_links" = no; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8297 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8310 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8313 allow_undefined_flag=
8314 always_export_symbols=no
8316 archive_expsym_cmds=
8317 compiler_needs_object=no
8318 enable_shared_with_static_runtimes=no
8319 export_dynamic_flag_spec=
8320 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8321 hardcode_automatic=no
8323 hardcode_direct_absolute=no
8324 hardcode_libdir_flag_spec=
8325 hardcode_libdir_flag_spec_ld=
8326 hardcode_libdir_separator=
8328 hardcode_shlibpath_var=unsupported
8330 link_all_deplibs=unknown
8333 old_archive_from_new_cmds=
8334 old_archive_from_expsyms_cmds=
8335 thread_safe_flag_spec=
8336 whole_archive_flag_spec=
8337 # include_expsyms should be a list of space-separated symbols to be *always*
8338 # included in the symbol list
8340 # exclude_expsyms can be an extended regexp of symbols to exclude
8341 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8342 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8343 # as well as any symbol that contains `d'.
8344 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8345 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8346 # platforms (ab)use it in PIC code, but their linkers get confused if
8347 # the symbol is explicitly referenced. Since portable code cannot
8348 # rely on this symbol name, it's probably fine to never include it in
8349 # preloaded symbol tables.
8350 # Exclude shared library initialization/finalization symbols.
8351 extract_expsyms_cmds=
8354 cygwin* | mingw* | pw32* | cegcc*)
8355 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8356 # When not using gcc, we currently assume that we are using
8357 # Microsoft Visual C++.
8358 if test "$GCC" != yes; then
8363 # we just hope/assume this is gcc and not c89 (= MSVC++)
8373 # On some targets, GNU ld is compatible enough with the native linker
8374 # that we're better off using the native interface for both.
8375 lt_use_gnu_ld_interface=no
8376 if test "$with_gnu_ld" = yes; then
8379 # The AIX port of GNU ld has always aspired to compatibility
8380 # with the native linker. However, as the warning in the GNU ld
8381 # block says, versions before 2.19.5* couldn't really create working
8382 # shared libraries, regardless of the interface used.
8383 case `$LD -v 2>&1` in
8384 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8385 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8386 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8388 lt_use_gnu_ld_interface=yes
8393 lt_use_gnu_ld_interface=yes
8398 if test "$lt_use_gnu_ld_interface" = yes; then
8399 # If archive_cmds runs LD, not CC, wlarc should be empty
8402 # Set some defaults for GNU ld with shared library support. These
8403 # are reset later if shared libraries are not supported. Putting them
8404 # here allows them to be overridden if necessary.
8405 runpath_var=LD_RUN_PATH
8406 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8407 export_dynamic_flag_spec='${wl}--export-dynamic'
8408 # ancient GNU ld didn't support --whole-archive et. al.
8409 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8410 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8412 whole_archive_flag_spec=
8414 supports_anon_versioning=no
8415 case `$LD -v 2>&1` in
8416 *GNU\ gold*) supports_anon_versioning=yes ;;
8417 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8418 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8419 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8420 *\ 2.11.*) ;; # other 2.11 versions
8421 *) supports_anon_versioning=yes ;;
8424 # See if GNU ld supports shared libraries.
8427 # On AIX/PPC, the GNU linker is very broken
8428 if test "$host_cpu" != ia64; then
8432 *** Warning: the GNU linker, at least up to release 2.19, is reported
8433 *** to be unable to reliably create shared libraries on AIX.
8434 *** Therefore, libtool is disabling shared libraries support. If you
8435 *** really care for shared libraries, you may want to install binutils
8436 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8437 *** You will then need to restart the configuration process.
8446 # see comment about AmigaOS4 .so support
8447 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8448 archive_expsym_cmds=''
8451 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)'
8452 hardcode_libdir_flag_spec
='-L$libdir'
8453 hardcode_minus_L
=yes
8459 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8460 allow_undefined_flag
=unsupported
8461 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8462 # support --undefined. This deserves some investigation. FIXME
8463 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8469 cygwin
* | mingw
* | pw32
* | cegcc
*)
8470 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8471 # as there is no search path for DLLs.
8472 hardcode_libdir_flag_spec
='-L$libdir'
8473 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8474 allow_undefined_flag
=unsupported
8475 always_export_symbols
=no
8476 enable_shared_with_static_runtimes
=yes
8477 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8479 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8480 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8481 # If the export-symbols file already is a .def file (1st line
8482 # is EXPORTS), use it as is; otherwise, prepend...
8483 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8484 cp $export_symbols $output_objdir/$soname.def;
8486 echo EXPORTS > $output_objdir/$soname.def;
8487 cat $export_symbols >> $output_objdir/$soname.def;
8489 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8497 link_all_deplibs
=yes
8502 hardcode_shlibpath_var
=no
8503 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8504 export_dynamic_flag_spec
='${wl}-E'
8505 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8506 # Instead, shared libraries are loaded at an image base (0x10000000 by
8507 # default) and relocated if they conflict, which is a slow very memory
8508 # consuming and fragmenting process. To avoid this, we pick a random,
8509 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8510 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8511 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8512 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'
8515 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8517 if test "$host_os" = linux-dietlibc
; then
8518 case $cc_basename in
8519 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8522 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8523 && test "$tmp_diet" = no
8525 tmp_addflag
=' $pic_flag'
8526 tmp_sharedflag
='-shared'
8527 case $cc_basename,$host_cpu in
8528 pgcc
*) # Portland Group C compiler
8529 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'
8530 tmp_addflag
=' $pic_flag'
8532 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8533 # Portland Group f77 and f90 compilers
8534 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'
8535 tmp_addflag
=' $pic_flag -Mnomain' ;;
8536 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8537 tmp_addflag
=' -i_dynamic' ;;
8538 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8539 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8540 ifc
* | ifort
*) # Intel Fortran compiler
8541 tmp_addflag
=' -nofor_main' ;;
8542 lf95
*) # Lahey Fortran 8.1
8543 whole_archive_flag_spec
=
8544 tmp_sharedflag
='--shared' ;;
8545 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8546 tmp_sharedflag
='-qmkshrobj'
8548 nvcc
*) # Cuda Compiler Driver 2.2
8549 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'
8550 compiler_needs_object
=yes
8553 case `$CC -V 2>&1 | sed 5q` in
8554 *Sun\ C
*) # Sun C 5.9
8555 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'
8556 compiler_needs_object
=yes
8557 tmp_sharedflag
='-G' ;;
8558 *Sun\ F
*) # Sun Fortran 8.3
8559 tmp_sharedflag
='-G' ;;
8561 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8563 if test "x$supports_anon_versioning" = xyes
; then
8564 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8565 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8566 echo "local: *; };" >> $output_objdir/$libname.ver~
8567 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8570 case $cc_basename in
8571 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8572 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8573 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8574 hardcode_libdir_flag_spec
=
8575 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8576 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8577 if test "x$supports_anon_versioning" = xyes
; then
8578 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8579 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8580 echo "local: *; };" >> $output_objdir/$libname.ver~
8581 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8591 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8592 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8595 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8596 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8601 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8605 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8606 *** create shared libraries on Solaris systems. Therefore, libtool
8607 *** is disabling shared libraries support. We urge you to upgrade GNU
8608 *** binutils to release 2.9.1 or newer. Another option is to modify
8609 *** your PATH or compiler configuration so that the native linker is
8610 *** used, and then restart.
8613 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8614 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8615 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8621 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8622 case `$LD -v 2>&1` in
8623 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8627 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8628 *** reliably create shared libraries on SCO systems. Therefore, libtool
8629 *** is disabling shared libraries support. We urge you to upgrade GNU
8630 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8631 *** your PATH or compiler configuration so that the native linker is
8632 *** used, and then restart.
8637 # For security reasons, it is highly recommended that you always
8638 # use absolute paths for naming shared libraries, and exclude the
8639 # DT_RUNPATH tag from executables and libraries. But doing so
8640 # requires that you compile everything twice, which is a pain.
8641 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8642 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8643 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8644 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8653 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8656 hardcode_shlibpath_var
=no
8660 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8661 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8662 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8669 if test "$ld_shlibs" = no
; then
8671 hardcode_libdir_flag_spec
=
8672 export_dynamic_flag_spec
=
8673 whole_archive_flag_spec
=
8676 # PORTME fill in a description of your system's linker (not GNU ld)
8679 allow_undefined_flag
=unsupported
8680 always_export_symbols
=yes
8681 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'
8682 # Note: this linker hardcodes the directories in LIBPATH if there
8683 # are no directories specified by -L.
8684 hardcode_minus_L
=yes
8685 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8686 # Neither direct hardcoding nor static linking is supported with a
8688 hardcode_direct
=unsupported
8693 if test "$host_cpu" = ia64
; then
8694 # On IA64, the linker does run time linking by default, so we don't
8695 # have to do anything special.
8696 aix_use_runtimelinking
=no
8697 exp_sym_flag
='-Bexport'
8700 # If we're using GNU nm, then we don't want the "-C" option.
8701 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8702 # Also, AIX nm treats weak defined symbols like other global
8703 # defined symbols, whereas GNU nm marks them as "W".
8704 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8705 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'
8707 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'
8709 aix_use_runtimelinking
=no
8711 # Test if we are trying to use run time linking or normal
8712 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8713 # need to do runtime linking.
8714 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8715 for ld_flag
in $LDFLAGS; do
8716 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8717 aix_use_runtimelinking
=yes
8724 exp_sym_flag
='-bexport'
8725 no_entry_flag
='-bnoentry'
8728 # When large executables or shared objects are built, AIX ld can
8729 # have problems creating the table of contents. If linking a library
8730 # or program results in "error TOC overflow" add -mminimal-toc to
8731 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8732 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8736 hardcode_direct_absolute
=yes
8737 hardcode_libdir_separator
=':'
8738 link_all_deplibs
=yes
8739 file_list_spec
='${wl}-f,'
8741 if test "$GCC" = yes; then
8742 case $host_os in aix4.
[012]|aix4.
[012].
*)
8743 # We only want to do this on AIX 4.2 and lower, the check
8744 # below for broken collect2 doesn't work under 4.3+
8745 collect2name
=`${CC} -print-prog-name=collect2`
8746 if test -f "$collect2name" &&
8747 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8749 # We have reworked collect2
8752 # We have old collect2
8753 hardcode_direct
=unsupported
8754 # It fails to find uninstalled libraries when the uninstalled
8755 # path is not listed in the libpath. Setting hardcode_minus_L
8756 # to unsupported forces relinking
8757 hardcode_minus_L
=yes
8758 hardcode_libdir_flag_spec
='-L$libdir'
8759 hardcode_libdir_separator
=
8763 shared_flag
='-shared'
8764 if test "$aix_use_runtimelinking" = yes; then
8765 shared_flag
="$shared_flag "'${wl}-G'
8769 if test "$host_cpu" = ia64
; then
8770 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8771 # chokes on -Wl,-G. The following line is correct:
8774 if test "$aix_use_runtimelinking" = yes; then
8775 shared_flag
='${wl}-G'
8777 shared_flag
='${wl}-bM:SRE'
8782 export_dynamic_flag_spec
='${wl}-bexpall'
8783 # It seems that -bexpall does not export symbols beginning with
8784 # underscore (_), so it is better to generate a list of symbols to export.
8785 always_export_symbols
=yes
8786 if test "$aix_use_runtimelinking" = yes; then
8787 # Warning - without using the other runtime loading flags (-brtl),
8788 # -berok will link without error, but may produce a broken library.
8789 allow_undefined_flag
='-berok'
8790 # Determine the default libpath from the value encoded in an
8792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8803 if ac_fn_c_try_link
"$LINENO"; then :
8805 lt_aix_libpath_sed
='
8806 /Import File Strings/,/^$/ {
8812 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8813 # Check for a 64-bit object if we didn't find anything.
8814 if test -z "$aix_libpath"; then
8815 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8818 rm -f core conftest.err conftest.
$ac_objext \
8819 conftest
$ac_exeext conftest.
$ac_ext
8820 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8822 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8823 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"
8825 if test "$host_cpu" = ia64
; then
8826 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8827 allow_undefined_flag
="-z nodefs"
8828 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"
8830 # Determine the default libpath from the value encoded in an
8832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8843 if ac_fn_c_try_link
"$LINENO"; then :
8845 lt_aix_libpath_sed
='
8846 /Import File Strings/,/^$/ {
8852 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8853 # Check for a 64-bit object if we didn't find anything.
8854 if test -z "$aix_libpath"; then
8855 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8858 rm -f core conftest.err conftest.
$ac_objext \
8859 conftest
$ac_exeext conftest.
$ac_ext
8860 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8862 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8863 # Warning - without using the other run time loading flags,
8864 # -berok will link without error, but may produce a broken library.
8865 no_undefined_flag
=' ${wl}-bernotok'
8866 allow_undefined_flag
=' ${wl}-berok'
8867 if test "$with_gnu_ld" = yes; then
8868 # We only use this code for GNU lds that support --whole-archive.
8869 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8871 # Exported symbols can be pulled into shared objects from archives
8872 whole_archive_flag_spec
='$convenience'
8874 archive_cmds_need_lc
=yes
8875 # This is similar to how AIX traditionally builds its shared libraries.
8876 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'
8884 # see comment about AmigaOS4 .so support
8885 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8886 archive_expsym_cmds
=''
8889 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)'
8890 hardcode_libdir_flag_spec
='-L$libdir'
8891 hardcode_minus_L
=yes
8897 export_dynamic_flag_spec
=-rdynamic
8900 cygwin
* | mingw
* | pw32
* | cegcc
*)
8901 # When not using gcc, we currently assume that we are using
8902 # Microsoft Visual C++.
8903 # hardcode_libdir_flag_spec is actually meaningless, as there is
8904 # no search path for DLLs.
8905 hardcode_libdir_flag_spec
=' '
8906 allow_undefined_flag
=unsupported
8907 # Tell ltmain to make .lib files, not .a files.
8909 # Tell ltmain to make .dll files, not .so files.
8911 # FIXME: Setting linknames here is a bad hack.
8912 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8913 # The linker will automatically build a .lib file if we build a DLL.
8914 old_archive_from_new_cmds
='true'
8915 # FIXME: Should let the user specify the lib program.
8916 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8917 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8918 enable_shared_with_static_runtimes
=yes
8921 darwin
* | rhapsody
*)
8924 archive_cmds_need_lc
=no
8926 hardcode_automatic
=yes
8927 hardcode_shlibpath_var
=unsupported
8928 if test "$lt_cv_ld_force_load" = "yes"; then
8929 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\"`'
8931 whole_archive_flag_spec
=''
8933 link_all_deplibs
=yes
8934 allow_undefined_flag
="$_lt_dar_allow_undefined"
8935 case $cc_basename in
8936 ifort
*) _lt_dar_can_shared
=yes ;;
8937 *) _lt_dar_can_shared
=$GCC ;;
8939 if test "$_lt_dar_can_shared" = "yes"; then
8940 output_verbose_link_cmd
=func_echo_all
8941 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8942 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8943 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8944 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}"
8953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8954 hardcode_libdir_flag_spec
='-L$libdir'
8955 hardcode_shlibpath_var
=no
8958 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8959 # support. Future versions do this automatically, but an explicit c++rt0.o
8960 # does not break anything, and helps significantly (at the cost of a little
8963 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8964 hardcode_libdir_flag_spec
='-R$libdir'
8966 hardcode_shlibpath_var
=no
8969 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8971 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8973 hardcode_minus_L
=yes
8974 hardcode_shlibpath_var
=no
8977 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8978 freebsd
* | dragonfly
*)
8979 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8980 hardcode_libdir_flag_spec
='-R$libdir'
8982 hardcode_shlibpath_var
=no
8986 if test "$GCC" = yes; then
8987 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'
8989 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'
8991 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8992 hardcode_libdir_separator
=:
8995 # hardcode_minus_L: Not really in the search PATH,
8996 # but as the default location of the library.
8997 hardcode_minus_L
=yes
8998 export_dynamic_flag_spec
='${wl}-E'
9002 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9003 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9005 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9007 if test "$with_gnu_ld" = no
; then
9008 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9009 hardcode_libdir_flag_spec_ld
='+b $libdir'
9010 hardcode_libdir_separator
=:
9012 hardcode_direct_absolute
=yes
9013 export_dynamic_flag_spec
='${wl}-E'
9014 # hardcode_minus_L: Not really in the search PATH,
9015 # but as the default location of the library.
9016 hardcode_minus_L
=yes
9021 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9024 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9027 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9030 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9036 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9039 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9043 # Older versions of the 11.00 compiler do not understand -b yet
9044 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9046 $as_echo_n "checking if $CC understands -b... " >&6; }
9047 if ${lt_cv_prog_compiler__b+:} false
; then :
9048 $as_echo_n "(cached) " >&6
9050 lt_cv_prog_compiler__b
=no
9051 save_LDFLAGS
="$LDFLAGS"
9052 LDFLAGS
="$LDFLAGS -b"
9053 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9054 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9055 # The linker can only warn and ignore the option if not recognized
9056 # So say no if there are warnings
9057 if test -s conftest.err
; then
9058 # Append any errors to the config.log.
9059 cat conftest.err
1>&5
9060 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9061 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9062 if diff conftest.exp conftest.er2
>/dev
/null
; then
9063 lt_cv_prog_compiler__b
=yes
9066 lt_cv_prog_compiler__b
=yes
9070 LDFLAGS
="$save_LDFLAGS"
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9074 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9076 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9077 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9079 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9085 if test "$with_gnu_ld" = no
; then
9086 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9087 hardcode_libdir_separator
=:
9092 hardcode_shlibpath_var
=no
9096 hardcode_direct_absolute
=yes
9097 export_dynamic_flag_spec
='${wl}-E'
9099 # hardcode_minus_L: Not really in the search PATH,
9100 # but as the default location of the library.
9101 hardcode_minus_L
=yes
9107 irix5
* | irix6
* | nonstopux
*)
9108 if test "$GCC" = yes; then
9109 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'
9110 # Try to use the -exported_symbol ld option, if it does not
9111 # work, assume that -exports_file does not work either and
9112 # implicitly export all symbols.
9113 save_LDFLAGS
="$LDFLAGS"
9114 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9119 if ac_fn_c_try_link
"$LINENO"; then :
9120 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'
9123 rm -f core conftest.err conftest.
$ac_objext \
9124 conftest
$ac_exeext conftest.
$ac_ext
9125 LDFLAGS
="$save_LDFLAGS"
9127 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'
9128 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'
9130 archive_cmds_need_lc
='no'
9131 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9132 hardcode_libdir_separator
=:
9134 link_all_deplibs
=yes
9138 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9139 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9141 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9143 hardcode_libdir_flag_spec
='-R$libdir'
9145 hardcode_shlibpath_var
=no
9149 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9151 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9152 hardcode_libdir_separator
=:
9153 hardcode_shlibpath_var
=no
9160 if test -f /usr
/libexec
/ld.so
; then
9162 hardcode_shlibpath_var
=no
9163 hardcode_direct_absolute
=yes
9164 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9165 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9166 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9167 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9168 export_dynamic_flag_spec
='${wl}-E'
9171 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9172 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9173 hardcode_libdir_flag_spec
='-R$libdir'
9176 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9177 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9187 hardcode_libdir_flag_spec
='-L$libdir'
9188 hardcode_minus_L
=yes
9189 allow_undefined_flag
=unsupported
9190 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'
9191 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9195 if test "$GCC" = yes; then
9196 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9197 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'
9199 allow_undefined_flag
=' -expect_unresolved \*'
9200 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'
9202 archive_cmds_need_lc
='no'
9203 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9204 hardcode_libdir_separator
=:
9207 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9208 if test "$GCC" = yes; then
9209 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9210 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'
9211 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9213 allow_undefined_flag
=' -expect_unresolved \*'
9214 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'
9215 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~
9216 $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'
9218 # Both c and cxx compiler support -rpath directly
9219 hardcode_libdir_flag_spec
='-rpath $libdir'
9221 archive_cmds_need_lc
='no'
9222 hardcode_libdir_separator
=:
9226 no_undefined_flag
=' -z defs'
9227 if test "$GCC" = yes; then
9229 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9230 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9231 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9233 case `$CC -V 2>&1` in
9236 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9237 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9238 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9242 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9243 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9244 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9248 hardcode_libdir_flag_spec
='-R$libdir'
9249 hardcode_shlibpath_var
=no
9251 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9253 # The compiler driver will combine and reorder linker options,
9254 # but understands `-z linker_flag'. GCC discards it without `$wl',
9255 # but is careful enough not to reorder.
9256 # Supported since Solaris 2.6 (maybe 2.5.1?)
9257 if test "$GCC" = yes; then
9258 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9260 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9264 link_all_deplibs
=yes
9268 if test "x$host_vendor" = xsequent
; then
9269 # Use $CC to link under sequent, because it throws in some extra .o
9270 # files that make .init and .fini sections work.
9271 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9273 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9275 hardcode_libdir_flag_spec
='-L$libdir'
9277 hardcode_minus_L
=yes
9278 hardcode_shlibpath_var
=no
9282 case $host_vendor in
9284 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9285 hardcode_direct
=yes # is this really true???
9288 ## LD is ld it makes a PLAMLIB
9289 ## CC just makes a GrossModule.
9290 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9291 reload_cmds
='$CC -r -o $output$reload_objs'
9295 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9296 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9299 runpath_var
='LD_RUN_PATH'
9300 hardcode_shlibpath_var
=no
9304 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9305 hardcode_shlibpath_var
=no
9306 export_dynamic_flag_spec
='-Bexport'
9310 if test -d /usr
/nec
; then
9311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9312 hardcode_shlibpath_var
=no
9313 runpath_var
=LD_RUN_PATH
9314 hardcode_runpath_var
=yes
9319 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9320 no_undefined_flag
='${wl}-z,text'
9321 archive_cmds_need_lc
=no
9322 hardcode_shlibpath_var
=no
9323 runpath_var
='LD_RUN_PATH'
9325 if test "$GCC" = yes; then
9326 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9327 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9329 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9330 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9334 sysv5
* | sco3.2v5
* | sco5v6
*)
9335 # Note: We can NOT use -z defs as we might desire, because we do not
9336 # link with -lc, and that would cause any symbols used from libc to
9337 # always be unresolved, which means just about no library would
9338 # ever link correctly. If we're not using GNU ld we use -z text
9339 # though, which does catch some bad symbols but isn't as heavy-handed
9341 no_undefined_flag
='${wl}-z,text'
9342 allow_undefined_flag
='${wl}-z,nodefs'
9343 archive_cmds_need_lc
=no
9344 hardcode_shlibpath_var
=no
9345 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9346 hardcode_libdir_separator
=':'
9347 link_all_deplibs
=yes
9348 export_dynamic_flag_spec
='${wl}-Bexport'
9349 runpath_var
='LD_RUN_PATH'
9351 if test "$GCC" = yes; then
9352 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9361 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9362 hardcode_libdir_flag_spec
='-L$libdir'
9363 hardcode_shlibpath_var
=no
9371 if test x
$host_vendor = xsni
; then
9373 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9374 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9381 $as_echo "$ld_shlibs" >&6; }
9382 test "$ld_shlibs" = no
&& can_build_shared
=no
9384 with_gnu_ld
=$with_gnu_ld
9401 # Do we need to explicitly link libc?
9403 case "x$archive_cmds_need_lc" in
9405 # Assume -lc should be added
9406 archive_cmds_need_lc
=yes
9408 if test "$enable_shared" = yes && test "$GCC" = yes; then
9409 case $archive_cmds in
9411 # FIXME: we may have to deal with multi-command sequences.
9414 # Test whether the compiler implicitly links with -lc since on some
9415 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9416 # to ld, don't add -lc before -lgcc.
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9418 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9419 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9420 $as_echo_n "(cached) " >&6
9423 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9426 (eval $ac_compile) 2>&5
9428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9429 test $ac_status = 0; } 2>conftest.err
; then
9432 libobjs
=conftest.
$ac_objext
9434 wl
=$lt_prog_compiler_wl
9435 pic_flag
=$lt_prog_compiler_pic
9441 lt_save_allow_undefined_flag
=$allow_undefined_flag
9442 allow_undefined_flag
=
9443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9444 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9447 test $ac_status = 0; }
9449 lt_cv_archive_cmds_need_lc
=no
9451 lt_cv_archive_cmds_need_lc
=yes
9453 allow_undefined_flag
=$lt_save_allow_undefined_flag
9455 cat conftest.err
1>&5
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9461 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9462 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9626 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9628 if test "$GCC" = yes; then
9630 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9631 *) lt_awk_arg
="/^libraries:/" ;;
9634 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9635 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9637 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9638 case $lt_search_path_spec in
9640 # if the path contains ";" then we assume it to be the separator
9641 # otherwise default to the standard path separator (i.e. ":") - it is
9642 # assumed that no part of a normal pathname contains ";" but that should
9643 # okay in the real world where ";" in dirpaths is itself problematic.
9644 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9647 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9650 # Ok, now we have the path, separated by spaces, we can step through it
9651 # and add multilib dir if necessary.
9652 lt_tmp_lt_search_path_spec
=
9653 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9654 for lt_sys_path
in $lt_search_path_spec; do
9655 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9656 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9658 test -d "$lt_sys_path" && \
9659 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9662 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9663 BEGIN {RS=" "; FS="/|\n";} {
9666 for (lt_i = NF; lt_i > 0; lt_i--) {
9667 if ($lt_i != "" && $lt_i != ".") {
9668 if ($lt_i == "..") {
9671 if (lt_count == 0) {
9672 lt_foo="/" $lt_i lt_foo;
9679 if (lt_foo != "") { lt_freq[lt_foo]++; }
9680 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9682 # AWK program above erroneously prepends '/' to C:/dos/paths
9685 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9686 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9688 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9690 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9693 libname_spec
='lib$name'
9701 shlibpath_overrides_runpath
=unknown
9703 dynamic_linker
="$host_os ld.so"
9704 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9705 need_lib_prefix
=unknown
9706 hardcode_into_libs
=no
9708 # when you set need_version to no, make sure it does not cause -set_version
9709 # flags to be left without arguments
9710 need_version
=unknown
9715 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9716 shlibpath_var
=LIBPATH
9718 # AIX 3 has no versioning support, so we append a major version to the name.
9719 soname_spec
='${libname}${release}${shared_ext}$major'
9726 hardcode_into_libs
=yes
9727 if test "$host_cpu" = ia64
; then
9728 # AIX 5 supports IA64
9729 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9730 shlibpath_var
=LD_LIBRARY_PATH
9732 # With GCC up to 2.95.x, collect2 would create an import file
9733 # for dependence libraries. The import file would start with
9734 # the line `#! .'. This would cause the generated library to
9735 # depend on `.', always an invalid library. This was fixed in
9736 # development snapshots of GCC prior to 3.0.
9738 aix4 | aix4.
[01] | aix4.
[01].
*)
9739 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9741 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9748 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9749 # soname into executable. Probably we can add versioning support to
9750 # collect2, so additional links can be useful in future.
9751 if test "$aix_use_runtimelinking" = yes; then
9752 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9753 # instead of lib<name>.a to let people know that these are not
9754 # typical AIX shared libraries.
9755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9757 # We preserve .a as extension for shared libraries through AIX4.2
9758 # and later when we are not doing run time linking.
9759 library_names_spec
='${libname}${release}.a $libname.a'
9760 soname_spec
='${libname}${release}${shared_ext}$major'
9762 shlibpath_var
=LIBPATH
9769 # Since July 2007 AmigaOS4 officially supports .so libraries.
9770 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9774 library_names_spec
='$libname.ixlibrary $libname.a'
9775 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9776 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'
9782 library_names_spec
='${libname}${shared_ext}'
9783 dynamic_linker
="$host_os ld.so"
9784 shlibpath_var
=LIBRARY_PATH
9790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9791 soname_spec
='${libname}${release}${shared_ext}$major'
9792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9793 shlibpath_var
=LD_LIBRARY_PATH
9794 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9795 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9796 # the default ld.so.conf also contains /usr/contrib/lib and
9797 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9798 # libtool to hard-code these into programs
9801 cygwin
* | mingw
* | pw32
* | cegcc
*)
9802 version_type
=windows
9807 case $GCC,$host_os in
9808 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9809 library_names_spec
='$libname.dll.a'
9810 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9811 postinstall_cmds
='base_file=`basename \${file}`~
9812 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9813 dldir=$destdir/`dirname \$dlpath`~
9814 test -d \$dldir || mkdir -p \$dldir~
9815 $install_prog $dir/$dlname \$dldir/$dlname~
9816 chmod a+x \$dldir/$dlname~
9817 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9818 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9820 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9821 dlpath=$dir/\$dldll~
9823 shlibpath_overrides_runpath
=yes
9827 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9828 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9830 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9833 # MinGW DLLs use traditional 'lib' prefix
9834 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9837 # pw32 DLLs use 'pw' prefix rather than 'lib'
9838 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9844 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9847 dynamic_linker
='Win32 ld.exe'
9848 # FIXME: first we should search . and the directory the executable is in
9852 darwin
* | rhapsody
*)
9853 dynamic_linker
="$host_os dyld"
9857 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9858 soname_spec
='${libname}${release}${major}$shared_ext'
9859 shlibpath_overrides_runpath
=yes
9860 shlibpath_var
=DYLD_LIBRARY_PATH
9861 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9863 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9864 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9872 soname_spec
='${libname}${release}${shared_ext}$major'
9873 shlibpath_var
=LD_LIBRARY_PATH
9876 freebsd
* | dragonfly
*)
9877 # DragonFly does not have aout. When/if they implement a new
9878 # versioning mechanism, adjust this.
9879 if test -x /usr
/bin
/objformat
; then
9880 objformat
=`/usr/bin/objformat`
9883 freebsd
[23].
*) objformat
=aout
;;
9887 version_type
=freebsd-
$objformat
9888 case $version_type in
9890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9895 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9899 shlibpath_var
=LD_LIBRARY_PATH
9902 shlibpath_overrides_runpath
=yes
9904 freebsd3.
[01]* | freebsdelf3.
[01]*)
9905 shlibpath_overrides_runpath
=yes
9906 hardcode_into_libs
=yes
9908 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9909 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9910 shlibpath_overrides_runpath
=no
9911 hardcode_into_libs
=yes
9913 *) # from 4.6 on, and DragonFly
9914 shlibpath_overrides_runpath
=yes
9915 hardcode_into_libs
=yes
9924 dynamic_linker
="$host_os runtime_loader"
9925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9926 soname_spec
='${libname}${release}${shared_ext}$major'
9927 shlibpath_var
=LIBRARY_PATH
9928 shlibpath_overrides_runpath
=yes
9929 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9930 hardcode_into_libs
=yes
9933 hpux9
* | hpux10
* | hpux11
*)
9934 # Give a soname corresponding to the major version so that dld.sl refuses to
9935 # link against other versions.
9942 hardcode_into_libs
=yes
9943 dynamic_linker
="$host_os dld.so"
9944 shlibpath_var
=LD_LIBRARY_PATH
9945 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9947 soname_spec
='${libname}${release}${shared_ext}$major'
9948 if test "X$HPUX_IA64_MODE" = X32
; then
9949 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9951 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9953 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9957 hardcode_into_libs
=yes
9958 dynamic_linker
="$host_os dld.sl"
9959 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9960 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9962 soname_spec
='${libname}${release}${shared_ext}$major'
9963 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9964 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9968 dynamic_linker
="$host_os dld.sl"
9969 shlibpath_var
=SHLIB_PATH
9970 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9972 soname_spec
='${libname}${release}${shared_ext}$major'
9975 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9976 postinstall_cmds
='chmod 555 $lib'
9977 # or fails outright, so override atomically:
9978 install_override_mode
=555
9985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9986 soname_spec
='${libname}${release}${shared_ext}$major'
9987 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9988 shlibpath_var
=LD_LIBRARY_PATH
9989 shlibpath_overrides_runpath
=no
9990 hardcode_into_libs
=yes
9993 irix5
* | irix6
* | nonstopux
*)
9995 nonstopux
*) version_type
=nonstopux
;;
9997 if test "$lt_cv_prog_gnu_ld" = yes; then
10005 soname_spec
='${libname}${release}${shared_ext}$major'
10006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10008 irix5
* | nonstopux
*)
10009 libsuff
= shlibsuff
=
10012 case $LD in # libtool.m4 will add one of these switches to LD
10013 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10014 libsuff
= shlibsuff
= libmagic
=32-bit;;
10015 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10016 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10017 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10018 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10019 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10023 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10024 shlibpath_overrides_runpath
=no
10025 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10026 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10027 hardcode_into_libs
=yes
10030 # No shared lib support for Linux oldld, aout, or coff.
10031 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10035 # This must be Linux ELF.
10036 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10041 soname_spec
='${libname}${release}${shared_ext}$major'
10042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10043 shlibpath_var
=LD_LIBRARY_PATH
10044 shlibpath_overrides_runpath
=no
10046 # Some binutils ld are patched to set DT_RUNPATH
10047 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10048 $as_echo_n "(cached) " >&6
10050 lt_cv_shlibpath_overrides_runpath
=no
10051 save_LDFLAGS
=$LDFLAGS
10052 save_libdir
=$libdir
10053 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10054 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10066 if ac_fn_c_try_link
"$LINENO"; then :
10067 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10068 lt_cv_shlibpath_overrides_runpath
=yes
10071 rm -f core conftest.err conftest.
$ac_objext \
10072 conftest
$ac_exeext conftest.
$ac_ext
10073 LDFLAGS
=$save_LDFLAGS
10074 libdir
=$save_libdir
10078 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10080 # This implies no fast_install, which is unacceptable.
10081 # Some rework will be needed to allow for fast_install
10082 # before this can be enabled.
10083 hardcode_into_libs
=yes
10085 # Append ld.so.conf contents to the search path
10086 if test -f /etc
/ld.so.conf
; then
10087 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' ' '`
10088 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10091 # We used to test for /lib/ld.so.1 and disable shared libraries on
10092 # powerpc, because MkLinux only supported shared libraries with the
10093 # GNU dynamic linker. Since this was broken with cross compilers,
10094 # most powerpc-linux boxes support dynamic linking these days and
10095 # people can always --disable-shared, the test was removed, and we
10096 # assume the GNU/Linux dynamic linker is in use.
10097 dynamic_linker
='GNU/Linux ld.so'
10104 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10107 dynamic_linker
='NetBSD (a.out) ld.so'
10109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10110 soname_spec
='${libname}${release}${shared_ext}$major'
10111 dynamic_linker
='NetBSD ld.elf_so'
10113 shlibpath_var
=LD_LIBRARY_PATH
10114 shlibpath_overrides_runpath
=yes
10115 hardcode_into_libs
=yes
10120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10121 shlibpath_var
=LD_LIBRARY_PATH
10122 shlibpath_overrides_runpath
=yes
10129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10130 soname_spec
='${libname}${release}${shared_ext}$major'
10131 shlibpath_var
=LD_LIBRARY_PATH
10132 shlibpath_overrides_runpath
=no
10133 hardcode_into_libs
=yes
10134 dynamic_linker
='ldqnx.so'
10139 sys_lib_dlsearch_path_spec
="/usr/lib"
10141 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10143 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10144 *) need_version
=no
;;
10146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10147 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10148 shlibpath_var
=LD_LIBRARY_PATH
10149 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10151 openbsd2.
[89] | openbsd2.
[89].
*)
10152 shlibpath_overrides_runpath
=no
10155 shlibpath_overrides_runpath
=yes
10159 shlibpath_overrides_runpath
=yes
10164 libname_spec
='$name'
10167 library_names_spec
='$libname${shared_ext} $libname.a'
10168 dynamic_linker
='OS/2 ld.exe'
10169 shlibpath_var
=LIBPATH
10172 osf3
* | osf4
* | osf5
*)
10176 soname_spec
='${libname}${release}${shared_ext}$major'
10177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178 shlibpath_var
=LD_LIBRARY_PATH
10179 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10180 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10192 soname_spec
='${libname}${release}${shared_ext}$major'
10193 shlibpath_var
=LD_LIBRARY_PATH
10194 shlibpath_overrides_runpath
=yes
10195 hardcode_into_libs
=yes
10196 # ldd complains unless libraries are executable
10197 postinstall_cmds
='chmod +x $lib'
10202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10203 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10204 shlibpath_var
=LD_LIBRARY_PATH
10205 shlibpath_overrides_runpath
=yes
10206 if test "$with_gnu_ld" = yes; then
10214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215 soname_spec
='${libname}${release}${shared_ext}$major'
10216 shlibpath_var
=LD_LIBRARY_PATH
10217 case $host_vendor in
10219 shlibpath_overrides_runpath
=no
10221 runpath_var
=LD_RUN_PATH
10229 shlibpath_overrides_runpath
=no
10230 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10236 if test -d /usr
/nec
;then
10238 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10239 soname_spec
='$libname${shared_ext}.$major'
10240 shlibpath_var
=LD_LIBRARY_PATH
10244 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10245 version_type
=freebsd-elf
10248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10249 soname_spec
='${libname}${release}${shared_ext}$major'
10250 shlibpath_var
=LD_LIBRARY_PATH
10251 shlibpath_overrides_runpath
=yes
10252 hardcode_into_libs
=yes
10253 if test "$with_gnu_ld" = yes; then
10254 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10256 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10259 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10263 sys_lib_dlsearch_path_spec
='/usr/lib'
10267 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10272 shlibpath_var
=LD_LIBRARY_PATH
10273 shlibpath_overrides_runpath
=no
10274 hardcode_into_libs
=yes
10279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10280 soname_spec
='${libname}${release}${shared_ext}$major'
10281 shlibpath_var
=LD_LIBRARY_PATH
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10289 $as_echo "$dynamic_linker" >&6; }
10290 test "$dynamic_linker" = no
&& can_build_shared
=no
10292 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10293 if test "$GCC" = yes; then
10294 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10297 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10298 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10300 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10301 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10396 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10398 if test -n "$hardcode_libdir_flag_spec" ||
10399 test -n "$runpath_var" ||
10400 test "X$hardcode_automatic" = "Xyes" ; then
10402 # We can hardcode non-existent directories.
10403 if test "$hardcode_direct" != no
&&
10404 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10405 # have to relink, otherwise we might link with an installed library
10406 # when we should be linking with a yet-to-be-installed one
10407 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10408 test "$hardcode_minus_L" != no
; then
10409 # Linking always hardcodes the temporary library directory.
10410 hardcode_action
=relink
10412 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10413 hardcode_action
=immediate
10416 # We cannot hardcode anything, or else we can only hardcode existing
10418 hardcode_action
=unsupported
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10421 $as_echo "$hardcode_action" >&6; }
10423 if test "$hardcode_action" = relink ||
10424 test "$inherit_rpath" = yes; then
10425 # Fast installation is not supported
10426 enable_fast_install
=no
10427 elif test "$shlibpath_overrides_runpath" = yes ||
10428 test "$enable_shared" = no
; then
10429 # Fast installation is not necessary
10430 enable_fast_install
=needless
10438 if test "x$enable_dlopen" != xyes
; then
10439 enable_dlopen
=unknown
10440 enable_dlopen_self
=unknown
10441 enable_dlopen_self_static
=unknown
10448 lt_cv_dlopen
="load_add_on"
10450 lt_cv_dlopen_self
=yes
10453 mingw
* | pw32
* | cegcc
*)
10454 lt_cv_dlopen
="LoadLibrary"
10459 lt_cv_dlopen
="dlopen"
10464 # if libdl is installed we need to link against it
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10466 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10467 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10468 $as_echo_n "(cached) " >&6
10470 ac_check_lib_save_LIBS
=$LIBS
10472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10490 if ac_fn_c_try_link
"$LINENO"; then :
10491 ac_cv_lib_dl_dlopen
=yes
10493 ac_cv_lib_dl_dlopen
=no
10495 rm -f core conftest.err conftest.
$ac_objext \
10496 conftest
$ac_exeext conftest.
$ac_ext
10497 LIBS
=$ac_check_lib_save_LIBS
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10500 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10501 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10502 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10505 lt_cv_dlopen
="dyld"
10507 lt_cv_dlopen_self
=yes
10514 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10515 if test "x$ac_cv_func_shl_load" = xyes
; then :
10516 lt_cv_dlopen
="shl_load"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10519 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10520 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10521 $as_echo_n "(cached) " >&6
10523 ac_check_lib_save_LIBS
=$LIBS
10525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10538 return shl_load ();
10543 if ac_fn_c_try_link
"$LINENO"; then :
10544 ac_cv_lib_dld_shl_load
=yes
10546 ac_cv_lib_dld_shl_load
=no
10548 rm -f core conftest.err conftest.
$ac_objext \
10549 conftest
$ac_exeext conftest.
$ac_ext
10550 LIBS
=$ac_check_lib_save_LIBS
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10553 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10554 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10555 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10557 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10558 if test "x$ac_cv_func_dlopen" = xyes
; then :
10559 lt_cv_dlopen
="dlopen"
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10562 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10563 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 ac_check_lib_save_LIBS
=$LIBS
10568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10586 if ac_fn_c_try_link
"$LINENO"; then :
10587 ac_cv_lib_dl_dlopen
=yes
10589 ac_cv_lib_dl_dlopen
=no
10591 rm -f core conftest.err conftest.
$ac_objext \
10592 conftest
$ac_exeext conftest.
$ac_ext
10593 LIBS
=$ac_check_lib_save_LIBS
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10596 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10597 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10598 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10601 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10602 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10603 $as_echo_n "(cached) " >&6
10605 ac_check_lib_save_LIBS
=$LIBS
10606 LIBS
="-lsvld $LIBS"
10607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10625 if ac_fn_c_try_link
"$LINENO"; then :
10626 ac_cv_lib_svld_dlopen
=yes
10628 ac_cv_lib_svld_dlopen
=no
10630 rm -f core conftest.err conftest.
$ac_objext \
10631 conftest
$ac_exeext conftest.
$ac_ext
10632 LIBS
=$ac_check_lib_save_LIBS
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10635 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10636 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10637 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10640 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10641 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10642 $as_echo_n "(cached) " >&6
10644 ac_check_lib_save_LIBS
=$LIBS
10646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10659 return dld_link ();
10664 if ac_fn_c_try_link
"$LINENO"; then :
10665 ac_cv_lib_dld_dld_link
=yes
10667 ac_cv_lib_dld_dld_link
=no
10669 rm -f core conftest.err conftest.
$ac_objext \
10670 conftest
$ac_exeext conftest.
$ac_ext
10671 LIBS
=$ac_check_lib_save_LIBS
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10674 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10675 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10676 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10697 if test "x$lt_cv_dlopen" != xno
; then
10703 case $lt_cv_dlopen in
10705 save_CPPFLAGS
="$CPPFLAGS"
10706 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10708 save_LDFLAGS
="$LDFLAGS"
10709 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10712 LIBS
="$lt_cv_dlopen_libs $LIBS"
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10715 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10716 if ${lt_cv_dlopen_self+:} false
; then :
10717 $as_echo_n "(cached) " >&6
10719 if test "$cross_compiling" = yes; then :
10720 lt_cv_dlopen_self
=cross
10722 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10723 lt_status
=$lt_dlunknown
10724 cat > conftest.
$ac_ext <<_LT_EOF
10725 #line 10725 "configure"
10726 #include "confdefs.h"
10735 # define LT_DLGLOBAL RTLD_GLOBAL
10738 # define LT_DLGLOBAL DL_GLOBAL
10740 # define LT_DLGLOBAL 0
10744 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10745 find out it does not work in some platform. */
10746 #ifndef LT_DLLAZY_OR_NOW
10748 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10751 # define LT_DLLAZY_OR_NOW DL_LAZY
10754 # define LT_DLLAZY_OR_NOW RTLD_NOW
10757 # define LT_DLLAZY_OR_NOW DL_NOW
10759 # define LT_DLLAZY_OR_NOW 0
10766 /* When -fvisbility=hidden is used, assume the code has been annotated
10767 correspondingly for the symbols needed. */
10768 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10769 void fnord () __attribute__((visibility("default")));
10772 void fnord () { int i=42; }
10775 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10776 int status = $lt_dlunknown;
10780 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10783 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10784 else puts (dlerror ());
10786 /* dlclose (self); */
10794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10795 (eval $ac_link) 2>&5
10797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10798 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10799 (.
/conftest
; exit; ) >&5 2>/dev
/null
10801 case x
$lt_status in
10802 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10803 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10804 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10807 # compilation failed
10808 lt_cv_dlopen_self
=no
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10816 $as_echo "$lt_cv_dlopen_self" >&6; }
10818 if test "x$lt_cv_dlopen_self" = xyes
; then
10819 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10821 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10822 if ${lt_cv_dlopen_self_static+:} false
; then :
10823 $as_echo_n "(cached) " >&6
10825 if test "$cross_compiling" = yes; then :
10826 lt_cv_dlopen_self_static
=cross
10828 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10829 lt_status
=$lt_dlunknown
10830 cat > conftest.
$ac_ext <<_LT_EOF
10831 #line 10831 "configure"
10832 #include "confdefs.h"
10841 # define LT_DLGLOBAL RTLD_GLOBAL
10844 # define LT_DLGLOBAL DL_GLOBAL
10846 # define LT_DLGLOBAL 0
10850 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10851 find out it does not work in some platform. */
10852 #ifndef LT_DLLAZY_OR_NOW
10854 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10857 # define LT_DLLAZY_OR_NOW DL_LAZY
10860 # define LT_DLLAZY_OR_NOW RTLD_NOW
10863 # define LT_DLLAZY_OR_NOW DL_NOW
10865 # define LT_DLLAZY_OR_NOW 0
10872 /* When -fvisbility=hidden is used, assume the code has been annotated
10873 correspondingly for the symbols needed. */
10874 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10875 void fnord () __attribute__((visibility("default")));
10878 void fnord () { int i=42; }
10881 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10882 int status = $lt_dlunknown;
10886 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10889 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10890 else puts (dlerror ());
10892 /* dlclose (self); */
10900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10901 (eval $ac_link) 2>&5
10903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10904 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10905 (.
/conftest
; exit; ) >&5 2>/dev
/null
10907 case x
$lt_status in
10908 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10909 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10910 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10913 # compilation failed
10914 lt_cv_dlopen_self_static
=no
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10922 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10925 CPPFLAGS
="$save_CPPFLAGS"
10926 LDFLAGS
="$save_LDFLAGS"
10931 case $lt_cv_dlopen_self in
10932 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10933 *) enable_dlopen_self
=unknown
;;
10936 case $lt_cv_dlopen_self_static in
10937 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10938 *) enable_dlopen_self_static
=unknown
;;
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10961 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10962 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10963 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10964 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10966 $as_echo "yes" >&6; }
10968 # FIXME - insert some real tests, host_os isn't really good enough
10971 if test -n "$STRIP" ; then
10972 striplib
="$STRIP -x"
10973 old_striplib
="$STRIP -S"
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10975 $as_echo "yes" >&6; }
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10978 $as_echo "no" >&6; }
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10983 $as_echo "no" >&6; }
10999 # Report which library types will actually be built
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11001 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11003 $as_echo "$can_build_shared" >&6; }
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11006 $as_echo_n "checking whether to build shared libraries... " >&6; }
11007 test "$can_build_shared" = "no" && enable_shared
=no
11009 # On AIX, shared libraries and static libraries use the same namespace, and
11010 # are all built from PIC.
11013 test "$enable_shared" = yes && enable_static
=no
11014 if test -n "$RANLIB"; then
11015 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11016 postinstall_cmds
='$RANLIB $lib'
11021 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11022 test "$enable_shared" = yes && enable_static
=no
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11027 $as_echo "$enable_shared" >&6; }
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11030 $as_echo_n "checking whether to build static libraries... " >&6; }
11031 # Make sure either enable_shared or enable_static is yes.
11032 test "$enable_shared" = yes || enable_static
=yes
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11034 $as_echo "$enable_static" >&6; }
11041 ac_cpp
='$CPP $CPPFLAGS'
11042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11060 ac_config_commands
="$ac_config_commands libtool"
11065 # Only expand once:
11069 # The tests for host and target for $enable_largefile require
11074 # As the $enable_largefile decision depends on --enable-plugins we must set it
11075 # even in directories otherwise not depending on the $plugins option.
11079 for ac_header
in dlfcn.h
11081 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11083 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
11084 cat >>confdefs.h
<<_ACEOF
11085 #define HAVE_DLFCN_H 1
11092 for ac_header
in windows.h
11094 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11096 if test "x$ac_cv_header_windows_h" = xyes
; then :
11097 cat >>confdefs.h
<<_ACEOF
11098 #define HAVE_WINDOWS_H 1
11106 # Check whether --enable-plugins was given.
11107 if test "${enable_plugins+set}" = set; then :
11108 enableval
=$enable_plugins; case "${enableval}" in
11111 if test "$maybe_plugins" != "yes" ; then
11112 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11116 plugins
=$maybe_plugins
11120 if test "$plugins" = "yes"; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
11122 $as_echo_n "checking for library containing dlsym... " >&6; }
11123 if ${ac_cv_search_dlsym+:} false
; then :
11124 $as_echo_n "(cached) " >&6
11126 ac_func_search_save_LIBS
=$LIBS
11127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11145 for ac_lib
in '' dl
; do
11146 if test -z "$ac_lib"; then
11147 ac_res
="none required"
11150 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11152 if ac_fn_c_try_link
"$LINENO"; then :
11153 ac_cv_search_dlsym
=$ac_res
11155 rm -f core conftest.err conftest.
$ac_objext \
11157 if ${ac_cv_search_dlsym+:} false
; then :
11161 if ${ac_cv_search_dlsym+:} false
; then :
11164 ac_cv_search_dlsym
=no
11166 rm conftest.
$ac_ext
11167 LIBS
=$ac_func_search_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
11170 $as_echo "$ac_cv_search_dlsym" >&6; }
11171 ac_res
=$ac_cv_search_dlsym
11172 if test "$ac_res" != no
; then :
11173 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11181 sparc-
*-solaris*|i?
86-*-solaris*)
11182 # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
11183 # were mutually exclusive until Solaris 11.3. Without procfs support,
11184 # the bfd/ elf module cannot provide certain routines such as
11185 # elfcore_write_prpsinfo or elfcore_write_prstatus. So unless the user
11186 # explicitly requested large-file support through the
11187 # --enable-largefile switch, disable large-file support in favor of
11190 # Check if <sys/procfs.h> is incompatible with large-file support.
11191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11193 #define _FILE_OFFSET_BITS 64
11194 #define _STRUCTURED_PROC 1
11195 #include <sys/procfs.h>
11204 if ac_fn_c_try_compile
"$LINENO"; then :
11205 acx_cv_procfs_lfs
=yes
11207 acx_cv_procfs_lfs
=no
11209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11211 # Forcefully disable large-file support only if necessary, gdb is in
11212 # tree and enabled.
11213 if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
11214 -a -d $srcdir/..
/gdb
-a "$enable_gdb" != no
; then
11215 : ${enable_largefile="no"}
11216 if test "$plugins" = yes; then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11218 plugin support disabled; require large-file support which is incompatible with GDB." >&5
11219 $as_echo "$as_me: WARNING:
11220 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
11225 # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
11226 # benefit of g++ 9+ which predefines it on Solaris.
11227 if test "$enable_largefile" = no
; then
11228 LARGEFILE_CPPFLAGS
="-U_FILE_OFFSET_BITS"
11234 # Check whether --enable-largefile was given.
11235 if test "${enable_largefile+set}" = set; then :
11236 enableval
=$enable_largefile;
11239 if test "$enable_largefile" != no
; then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11242 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11243 if ${ac_cv_sys_largefile_CC+:} false
; then :
11244 $as_echo_n "(cached) " >&6
11246 ac_cv_sys_largefile_CC
=no
11247 if test "$GCC" != yes; then
11250 # IRIX 6.2 and later do not support large files by default,
11251 # so use the C compiler's -n32 option if that helps.
11252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11254 #include <sys/types.h>
11255 /* Check that off_t can represent 2**63 - 1 correctly.
11256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11257 since some C++ compilers masquerading as C compilers
11258 incorrectly reject 9223372036854775807. */
11259 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11261 && LARGE_OFF_T % 2147483647 == 1)
11271 if ac_fn_c_try_compile
"$LINENO"; then :
11274 rm -f core conftest.err conftest.
$ac_objext
11276 if ac_fn_c_try_compile
"$LINENO"; then :
11277 ac_cv_sys_largefile_CC
=' -n32'; break
11279 rm -f core conftest.err conftest.
$ac_objext
11283 rm -f conftest.
$ac_ext
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11287 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11288 if test "$ac_cv_sys_largefile_CC" != no
; then
11289 CC
=$CC$ac_cv_sys_largefile_CC
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11293 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11294 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11295 $as_echo_n "(cached) " >&6
11298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11300 #include <sys/types.h>
11301 /* Check that off_t can represent 2**63 - 1 correctly.
11302 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11303 since some C++ compilers masquerading as C compilers
11304 incorrectly reject 9223372036854775807. */
11305 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11306 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11307 && LARGE_OFF_T % 2147483647 == 1)
11317 if ac_fn_c_try_compile
"$LINENO"; then :
11318 ac_cv_sys_file_offset_bits
=no
; break
11320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11323 #define _FILE_OFFSET_BITS 64
11324 #include <sys/types.h>
11325 /* Check that off_t can represent 2**63 - 1 correctly.
11326 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11327 since some C++ compilers masquerading as C compilers
11328 incorrectly reject 9223372036854775807. */
11329 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11330 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11331 && LARGE_OFF_T % 2147483647 == 1)
11341 if ac_fn_c_try_compile
"$LINENO"; then :
11342 ac_cv_sys_file_offset_bits
=64; break
11344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11345 ac_cv_sys_file_offset_bits
=unknown
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11350 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11351 case $ac_cv_sys_file_offset_bits in #(
11354 cat >>confdefs.h
<<_ACEOF
11355 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11360 if test $ac_cv_sys_file_offset_bits = unknown
; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11362 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11363 if ${ac_cv_sys_large_files+:} false
; then :
11364 $as_echo_n "(cached) " >&6
11367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 #include <sys/types.h>
11370 /* Check that off_t can represent 2**63 - 1 correctly.
11371 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11372 since some C++ compilers masquerading as C compilers
11373 incorrectly reject 9223372036854775807. */
11374 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11375 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11376 && LARGE_OFF_T % 2147483647 == 1)
11386 if ac_fn_c_try_compile
"$LINENO"; then :
11387 ac_cv_sys_large_files
=no
; break
11389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11392 #define _LARGE_FILES 1
11393 #include <sys/types.h>
11394 /* Check that off_t can represent 2**63 - 1 correctly.
11395 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11396 since some C++ compilers masquerading as C compilers
11397 incorrectly reject 9223372036854775807. */
11398 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11399 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11400 && LARGE_OFF_T % 2147483647 == 1)
11410 if ac_fn_c_try_compile
"$LINENO"; then :
11411 ac_cv_sys_large_files
=1; break
11413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11414 ac_cv_sys_large_files
=unknown
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11419 $as_echo "$ac_cv_sys_large_files" >&6; }
11420 case $ac_cv_sys_large_files in #(
11423 cat >>confdefs.h
<<_ACEOF
11424 #define _LARGE_FILES $ac_cv_sys_large_files
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
11436 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
11437 if ${gcc_cv_prog_cmp_skip+:} false
; then :
11438 $as_echo_n "(cached) " >&6
11442 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
11443 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
11444 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
11447 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
11450 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
11451 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
11454 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
11461 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
11462 do_compare
="$gcc_cv_prog_cmp_skip"
11466 # Check whether --enable-targets was given.
11467 if test "${enable_targets+set}" = set; then :
11468 enableval
=$enable_targets; case "${enableval}" in
11469 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11471 no
) enable_targets
= ;;
11472 *) enable_targets
=$enableval ;;
11477 .
${srcdir}/..
/bfd
/development.sh
11478 test "$development" = true
&& ac_checking
=yes
11479 # Check whether --enable-checking was given.
11480 if test "${enable_checking+set}" = set; then :
11481 enableval
=$enable_checking; case "${enableval}" in
11482 no|none
) ac_checking
= ;;
11483 *) ac_checking
=yes ;;
11486 if test x
$ac_checking != x
; then
11488 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11493 # Decide the default method for compressing debug sections.
11494 ac_default_compressed_debug_sections
=unset
11495 # Provide a configure time option to override our default.
11496 # Check whether --enable-compressed_debug_sections was given.
11497 if test "${enable_compressed_debug_sections+set}" = set; then :
11498 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
11499 ,yes, |
,all
, |
*,gas
,*) ac_default_compressed_debug_sections
=yes ;;
11500 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
11501 *) ac_default_compressed_debug_sections
=unset ;;
11506 # Decide if x86 assembler should generate relax relocations.
11507 ac_default_x86_relax_relocations
=unset
11508 # Provide a configure time option to override our default.
11509 # Check whether --enable-x86_relax_relocations was given.
11510 if test "${enable_x86_relax_relocations+set}" = set; then :
11511 enableval
=$enable_x86_relax_relocations; case "${enableval}" in
11512 no
) ac_default_x86_relax_relocations
=0 ;;
11516 # Decide if ELF assembler should generate common symbols with the
11518 ac_default_elf_stt_common
=unset
11519 # Provide a configure time option to override our default.
11520 # Check whether --enable-elf_stt_common was given.
11521 if test "${enable_elf_stt_common+set}" = set; then :
11522 enableval
=$enable_elf_stt_common; case "${enableval}" in
11523 yes) ac_default_elf_stt_common
=1 ;;
11528 # Decide if the ELF assembler should default to generating
11529 # GNU Build notes if none are provided by the input.
11530 ac_default_generate_build_notes
=0
11531 # Provide a configuration option to override the default.
11532 # Check whether --enable-generate_build_notes was given.
11533 if test "${enable_generate_build_notes+set}" = set; then :
11534 enableval
=$enable_generate_build_notes; case "${enableval}" in
11535 yes) ac_default_generate_build_notes
=1 ;;
11536 no
) ac_default_generate_build_notes
=0 ;;
11540 # Decide if the MIPS assembler should default to enable MIPS fix Loongson3
11542 ac_default_mips_fix_loongson3_llsc
=unset
11543 # Provide a configuration option to override the default.
11544 # Check whether --enable-mips-fix-loongson3-llsc was given.
11545 if test "${enable_mips_fix_loongson3_llsc+set}" = set; then :
11546 enableval
=$enable_mips_fix_loongson3_llsc; case "${enableval}" in
11547 yes) ac_default_mips_fix_loongson3_llsc
=1 ;;
11548 no
) ac_default_mips_fix_loongson3_llsc
=0 ;;
11552 # Decide if the x86 ELF assembler should default to generating GNU x86
11553 # used ISA and feature properties.
11554 ac_default_generate_x86_used_note
=unset
11555 # Provide a configuration option to override the default.
11556 # Check whether --enable-x86-used-note was given.
11557 if test "${enable_x86_used_note+set}" = set; then :
11558 enableval
=$enable_x86_used_note; case "${enableval}" in
11559 yes) ac_default_generate_x86_used_note
=1 ;;
11560 no
) ac_default_generate_x86_used_note
=0 ;;
11564 # Decide if the RISC-V ELF assembler should default to generating attribute.
11565 ac_default_generate_riscv_attr
=unset
11566 # Provide a configuration option to override the default.
11567 # Check whether --enable-default-riscv-attribute was given.
11568 if test "${enable_default_riscv_attribute+set}" = set; then :
11569 enableval
=$enable_default_riscv_attribute; case "${enableval}" in
11570 yes) ac_default_generate_riscv_attr
=1 ;;
11571 no
) ac_default_generate_riscv_attr
=0 ;;
11578 # Set the 'development' global.
11579 .
$srcdir/..
/bfd
/development.sh
11581 # Set acp_cpp_for_build variable
11582 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
11584 # Default set of GCC warnings to enable.
11585 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11586 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11588 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11594 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11597 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11602 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11608 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11616 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
11617 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
11625 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
11626 WARN_WRITE_STRINGS
=""
11627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11632 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11635 WARN_WRITE_STRINGS
="-Wwrite-strings"
11640 # Verify CC_FOR_BUILD to be compatible with warning flags
11642 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11647 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11648 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11651 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
11656 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11661 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11662 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11669 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
11670 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
11671 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
11679 # Check whether --enable-werror was given.
11680 if test "${enable_werror+set}" = set; then :
11681 enableval
=$enable_werror; case "${enableval}" in
11682 yes | y
) ERROR_ON_WARNING
="yes" ;;
11683 no | n
) ERROR_ON_WARNING
="no" ;;
11684 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11689 # Disable -Wformat by default when using gcc on mingw
11692 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11693 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11694 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
11700 # Enable -Werror by default when using gcc. Turn it off for releases.
11701 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
11702 ERROR_ON_WARNING
=yes
11706 if test "${ERROR_ON_WARNING}" = yes ; then
11707 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11708 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
11709 NO_WERROR
="-Wno-error"
11712 if test "${GCC}" = yes ; then
11713 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11714 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
11717 # Check whether --enable-build-warnings was given.
11718 if test "${enable_build_warnings+set}" = set; then :
11719 enableval
=$enable_build_warnings; case "${enableval}" in
11720 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11721 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
11722 no
) if test "${GCC}" = yes ; then
11724 WARN_CFLAGS_FOR_BUILD
="-w"
11726 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11727 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
11728 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
11729 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11730 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
11731 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
11732 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
11733 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11738 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11739 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11748 # Generate a header file
11749 ac_config_headers
="$ac_config_headers config.h:config.in"
11753 # Check whether --with-cpu was given.
11754 if test "${with_cpu+set}" = set; then :
11756 cat >>confdefs.h
<<_ACEOF
11757 #define TARGET_WITH_CPU "${with_cpu}"
11766 # If we are on a DOS filesystem, we must use gdb.ini rather than
11769 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
11771 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
11776 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
11782 #We need this for the host.
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11784 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11785 if ${ac_cv_c_bigendian+:} false
; then :
11786 $as_echo_n "(cached) " >&6
11788 ac_cv_c_bigendian
=unknown
11789 # See if we're dealing with a universal compiler.
11790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11792 #ifndef __APPLE_CC__
11793 not a universal capable compiler
11798 if ac_fn_c_try_compile
"$LINENO"; then :
11800 # Check for potential -arch flags. It is not universal unless
11801 # there are at least two -arch flags with different values.
11804 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11805 if test -n "$ac_prev"; then
11807 i?
86 | x86_64 | ppc | ppc64
)
11808 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
11811 ac_cv_c_bigendian
=universal
11817 elif test "x$ac_word" = "x-arch"; then
11822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11823 if test $ac_cv_c_bigendian = unknown
; then
11824 # See if sys/param.h defines the BYTE_ORDER macro.
11825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11827 #include <sys/types.h>
11828 #include <sys/param.h>
11833 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11834 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11836 bogus endian macros
11843 if ac_fn_c_try_compile
"$LINENO"; then :
11844 # It does; now see whether it defined to BIG_ENDIAN or not.
11845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11847 #include <sys/types.h>
11848 #include <sys/param.h>
11853 #if BYTE_ORDER != BIG_ENDIAN
11861 if ac_fn_c_try_compile
"$LINENO"; then :
11862 ac_cv_c_bigendian
=yes
11864 ac_cv_c_bigendian
=no
11866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11870 if test $ac_cv_c_bigendian = unknown
; then
11871 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 #include <limits.h>
11879 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11880 bogus endian macros
11887 if ac_fn_c_try_compile
"$LINENO"; then :
11888 # It does; now see whether it defined to _BIG_ENDIAN or not.
11889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11891 #include <limits.h>
11896 #ifndef _BIG_ENDIAN
11904 if ac_fn_c_try_compile
"$LINENO"; then :
11905 ac_cv_c_bigendian
=yes
11907 ac_cv_c_bigendian
=no
11909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11913 if test $ac_cv_c_bigendian = unknown
; then
11914 # Compile a test program.
11915 if test "$cross_compiling" = yes; then :
11916 # Try to guess by grepping values from an object file.
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11919 short int ascii_mm[] =
11920 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11921 short int ascii_ii[] =
11922 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11923 int use_ascii (int i) {
11924 return ascii_mm[i] + ascii_ii[i];
11926 short int ebcdic_ii[] =
11927 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11928 short int ebcdic_mm[] =
11929 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11930 int use_ebcdic (int i) {
11931 return ebcdic_mm[i] + ebcdic_ii[i];
11938 return use_ascii (foo) == use_ebcdic (foo);
11943 if ac_fn_c_try_compile
"$LINENO"; then :
11944 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
11945 ac_cv_c_bigendian
=yes
11947 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
11948 if test "$ac_cv_c_bigendian" = unknown
; then
11949 ac_cv_c_bigendian
=no
11951 # finding both strings is unlikely to happen, but who knows?
11952 ac_cv_c_bigendian
=unknown
11956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 $ac_includes_default
11965 /* Are we little or big endian? From Harbison&Steele. */
11969 char c[sizeof (long int)];
11972 return u.c[sizeof (long int) - 1] == 1;
11978 if ac_fn_c_try_run
"$LINENO"; then :
11979 ac_cv_c_bigendian
=no
11981 ac_cv_c_bigendian
=yes
11983 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11984 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11990 $as_echo "$ac_cv_c_bigendian" >&6; }
11991 case $ac_cv_c_bigendian in #(
11993 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11999 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12003 as_fn_error $?
"unknown endianness
12004 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12010 # Makefile target for installing gas in $(tooldir)/bin.
12011 install_tooldir
=install-exec-tooldir
12015 if test -n "$enable_targets" ; then
12016 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
12017 if test $t = "all"; then
12021 result
=`$ac_config_sub $t 2>/dev/null`
12022 if test -n "$result" ; then
12023 canon_targets
="$canon_targets $result"
12025 # # Permit "all", etc. We don't support it yet though.
12026 # canon_targets="$canon_targets $t"
12029 _gas_uniq_list
="$canon_targets"
12030 _gas_uniq_newlist
=""
12031 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12032 case $_gas_uniq_i in
12033 _gas_uniq_dummy
) ;;
12034 *) case " $_gas_uniq_newlist " in
12035 *" $_gas_uniq_i "*) ;;
12036 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12040 canon_targets
=$_gas_uniq_newlist
12046 for this_target
in $target $canon_targets ; do
12048 targ
=${this_target}
12049 .
${srcdir}/configure.tgt
12051 case ${target_cpu} in
12054 cat >>confdefs.h
<<_ACEOF
12055 #define DEFAULT_CRIS_ARCH $arch
12061 if test ${this_target} = $target ; then
12062 target_cpu_type
=${cpu_type}
12063 elif test ${target_cpu_type} != ${cpu_type} ; then
12067 generic_target
=${cpu_type}-${target_vendor}-${target_os}
12068 case ${generic_target} in
12069 i386-
*-msdosdjgpp* \
12071 | i386-go32-rtems
*)
12073 $as_echo "#define STRICTCOFF 1" >>confdefs.h
12077 i386-
*-linux-* | x86_64-
*-linux-*)
12078 if test ${this_target} = $target \
12079 && test ${ac_default_generate_x86_used_note} = unset; then
12080 ac_default_generate_x86_used_note
=1
12085 | x86_64-
*-solaris2 \
12086 | i386-
*-solaris2.
[0-9] \
12087 | i386-
*-solaris2.1
[01] \
12088 | x86_64-
*-solaris2.1
[01])
12089 if test ${this_target} = $target \
12090 && test ${ac_default_x86_relax_relocations} = unset; then
12091 ac_default_x86_relax_relocations
=0
12100 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
12104 if test ${this_target} = $target; then
12106 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
12109 if test x
${endian} = xbig
; then
12110 as_fn_error $?
"Solaris must be configured little endian" "$LINENO" 5
12115 if test ${this_target} = $target ; then
12117 if test x
${endian} = xbig
; then
12119 elif test x
${endian} = xlittle
; then
12122 if test x
${endian_def} != x
; then
12124 cat >>confdefs.h
<<_ACEOF
12125 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12131 # Other random stuff.
12133 case ${cpu_type} in
12135 # Set mips_cpu to the name of the default CPU.
12136 case ${target_cpu} in
12137 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
12140 mipsisa32 | mipsisa32el
)
12143 mipsisa32r2 | mipsisa32r2el
)
12146 mipsisa32r3 | mipsisa32r3el
)
12149 mipsisa32r5 | mipsisa32r5el
)
12152 mipsisa32r6 | mipsisa32r6el
)
12155 mipsisa64 | mipsisa64el
)
12158 mipsisa64r2 | mipsisa64r2el
)
12161 mipsisa64r3 | mipsisa64r3el
)
12164 mipsisa64r5 | mipsisa64r5el
)
12167 mipsisa64r6 | mipsisa64r6el
)
12170 mipstx39 | mipstx39el
)
12173 mips64vr | mips64vrel
)
12176 mipsisa32r2
* | mipsisa64r2
*)
12177 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12179 mipsisa32r6
* | mipsisa64r6
*)
12180 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r6//' -e 's/el$//'`
12182 mips64
* | mipsisa64
* | mipsisa32
*)
12183 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12186 mips_cpu
=`echo $target_cpu | sed -e 's/^mips//' -e 's/el$//'`
12189 as_fn_error $?
"$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12192 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12193 # binaries. It's a GNU extension that some OSes don't understand.
12196 use_e_mips_abi_o32
=0
12199 use_e_mips_abi_o32
=1
12202 # Decide whether to generate 32-bit or 64-bit code by default.
12203 # Used to resolve -march=from-abi when an embedded ABI is selected.
12205 mips64
*-*-* | mipsisa64
*-*-*)
12206 mips_default_64bit
=1
12209 mips_default_64bit
=0
12212 # Decide which ABI to target by default.
12214 mips64
*-linux* | mips-sgi-irix6
* | mips64
*-freebsd* \
12215 | mips64
*-kfreebsd*-gnu | mips64
*-ps2-elf*)
12216 mips_default_abi
=N32_ABI
12218 mips
*-linux* | mips
*-freebsd* | mips
*-kfreebsd*-gnu)
12219 mips_default_abi
=O32_ABI
12222 mips_default_abi
=N64_ABI
12225 mips_default_abi
=NO_ABI
12229 cat >>confdefs.h
<<_ACEOF
12230 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12234 cat >>confdefs.h
<<_ACEOF
12235 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12239 cat >>confdefs.h
<<_ACEOF
12240 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12244 cat >>confdefs.h
<<_ACEOF
12245 #define MIPS_DEFAULT_ABI $mips_default_abi
12251 # Do we need the opcodes library?
12252 case ${cpu_type} in
12259 case "${enable_shared}" in
12260 yes) shared_opcodes
=true
;;
12261 *opcodes
*) shared_opcodes
=true
;;
12262 *) shared_opcodes
=false
;;
12267 # Any other special object files needed ?
12268 case ${cpu_type} in
12271 for f
in config
/bfin-parse.o config
/bfin-lex-wrapper.o
; do
12272 case " $extra_objects " in
12274 *) extra_objects
="$extra_objects $f" ;;
12280 if test $this_target = $target ; then
12282 cat >>confdefs.h
<<_ACEOF
12283 #define DEFAULT_ARCH "${arch}"
12289 epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k
)
12294 for f
in config
/loongarch-parse.o config
/loongarch-lex-wrapper.o
; do
12295 case " $extra_objects " in
12297 *) extra_objects
="$extra_objects $f" ;;
12300 # --target=loongarch[32|64]-*-*. */
12301 if test $this_target = $target ; then
12303 cat >>confdefs.h
<<_ACEOF
12304 #define DEFAULT_ARCH "${arch}"
12317 f
=config
/m68k-parse.o
12318 case " $extra_objects " in
12320 *) extra_objects
="$extra_objects $f" ;;
12329 for f
in itbl-parse.o itbl-lex-wrapper.o itbl-ops.o
; do
12330 case " $extra_objects " in
12332 *) extra_objects
="$extra_objects $f" ;;
12342 # setup NDS32_LINUX_TOOLCHAIN definition
12343 if test "linux" = $em; then
12345 $as_echo "#define NDS32_LINUX_TOOLCHAIN 1" >>confdefs.h
12349 $as_echo "#define NDS32_LINUX_TOOLCHAIN 0" >>confdefs.h
12353 # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features
12354 # based on arch_name.
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
12356 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
12357 if test "x${with_arch}" != x
; then
12358 case ${with_arch} in
12359 v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3
)
12361 cat >>confdefs.h
<<_ACEOF
12362 #define NDS32_DEFAULT_ARCH_NAME "$with_arch"
12367 as_fn_error $?
"This kind of arch name does *NOT* exist!" "$LINENO" 5
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
12372 $as_echo "$with_arch" >&6; }
12374 # Decide features one by one.
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
12376 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
12377 if test "x${enable_dx_regs}" = xyes
; then
12379 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
12383 $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5
12387 $as_echo "$enable_dx_regs" >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
12390 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
12391 if test "x${enable_perf_ext}" = xno
; then
12393 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
12397 $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5
12401 $as_echo "$enable_perf_ext" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
12404 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
12405 if test "x${enable_perf_ext2}" = xno
; then
12407 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
12411 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5
12415 $as_echo "$enable_perf_ext2" >&6; }
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
12418 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
12419 if test "x${enable_string_ext}" = xno
; then
12421 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
12425 $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5
12429 $as_echo "$enable_string_ext" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
12432 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
12433 if test "x${enable_audio_ext}" = xno
; then
12435 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
12439 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5
12443 $as_echo "$enable_audio_ext" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dsp-ext" >&5
12446 $as_echo_n "checking for default configuration of --enable-dsp-ext... " >&6; }
12447 if test "x${enable_dsp_ext}" = xno
; then
12449 $as_echo "#define NDS32_DEFAULT_DSP_EXT 0" >>confdefs.h
12453 $as_echo "#define NDS32_DEFAULT_DSP_EXT 1" >>confdefs.h
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dsp_ext" >&5
12457 $as_echo "$enable_dsp_ext" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-zol-ext" >&5
12460 $as_echo_n "checking for default configuration of --enable-zol-ext... " >&6; }
12461 if test "x${enable_zol_ext}" = xno
; then
12463 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 0" >>confdefs.h
12467 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 1" >>confdefs.h
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_zol_ext" >&5
12471 $as_echo "$enable_zol_ext" >&6; }
12474 aarch64 | i386 | s390 | sparc
)
12475 if test $this_target = $target ; then
12477 cat >>confdefs.h
<<_ACEOF
12478 #define DEFAULT_ARCH "${arch}"
12485 # --target=riscv[32|64]-*-*. */
12486 if test $this_target = $target ; then
12488 cat >>confdefs.h
<<_ACEOF
12489 #define DEFAULT_ARCH "${arch}"
12494 # --with-arch=<value>. The syntax of <value> is same as Gas option -march.
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
12496 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
12497 if test "x${with_arch}" != x
; then
12499 cat >>confdefs.h
<<_ACEOF
12500 #define DEFAULT_RISCV_ARCH_WITH_EXT "$with_arch"
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
12505 $as_echo "$with_arch" >&6; }
12507 # --with-isa-spec=[2.2|20190608|20191213].
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-isa-spec" >&5
12509 $as_echo_n "checking for default configuration of --with-isa-spec... " >&6; }
12510 if test "x${with_isa_spec}" != x
; then
12512 cat >>confdefs.h
<<_ACEOF
12513 #define DEFAULT_RISCV_ISA_SPEC "$with_isa_spec"
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isa_spec" >&5
12518 $as_echo "$with_isa_spec" >&6; }
12520 # --with-priv-spec=[1.9.1|1.10|1.11|1.12].
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-priv-spec" >&5
12522 $as_echo_n "checking for default configuration of --with-priv-spec... " >&6; }
12523 if test "x${with_priv_spec}" != x
; then
12525 cat >>confdefs.h
<<_ACEOF
12526 #define DEFAULT_RISCV_PRIV_SPEC "$with_priv_spec"
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_priv_spec" >&5
12531 $as_echo "$with_priv_spec" >&6; }
12535 f
=config
/rl78-parse.o
12536 case " $extra_objects " in
12538 *) extra_objects
="$extra_objects $f" ;;
12543 f
=config
/rx-parse.o
12544 case " $extra_objects " in
12546 *) extra_objects
="$extra_objects $f" ;;
12555 f
=config
/xtensa-relax.o
12556 case " $extra_objects " in
12558 *) extra_objects
="$extra_objects $f" ;;
12566 if test $using_cgen = yes ; then
12568 case " $extra_objects " in
12570 *) extra_objects
="$extra_objects $f" ;;
12574 # See if we really can support this configuration with the emulation code.
12576 if test $this_target = $target ; then
12584 case " $extra_objects " in
12586 *) extra_objects
="$extra_objects $f" ;;
12590 # From target name and format, produce a list of supported emulations.
12592 case ${generic_target}-${fmt} in
12593 mips-
*-*-*) case "$endian" in
12594 big
) emulation
="mipsbelf mipslelf mipself" ;;
12595 *) emulation
="mipslelf mipsbelf mipself" ;;
12597 # i386-pc-pe-coff != i386-pc-coff.
12599 # Uncommenting the next line will turn on support for i386 AOUT
12600 # for the default linux configuration
12601 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
12603 i386-
*-aout) emulation
="i386aout" ;;
12604 i386-
*-coff) emulation
="i386coff" ;;
12605 i386-
*-elf) emulation
="i386elf" ;;
12607 # Always all formats. The first stated emulation becomes the default.
12608 cris-
*-*aout
*) emulation
="crisaout criself" ;;
12609 cris-
*-*) emulation
="criself crisaout" ;;
12612 emulations
="$emulations $emulation"
12616 if test ${ac_default_x86_relax_relocations} = unset; then
12617 ac_default_x86_relax_relocations
=1
12620 cat >>confdefs.h
<<_ACEOF
12621 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS $ac_default_x86_relax_relocations
12625 if test ${ac_default_elf_stt_common} = unset; then
12626 ac_default_elf_stt_common
=0
12629 cat >>confdefs.h
<<_ACEOF
12630 #define DEFAULT_GENERATE_ELF_STT_COMMON $ac_default_elf_stt_common
12635 cat >>confdefs.h
<<_ACEOF
12636 #define DEFAULT_GENERATE_BUILD_NOTES $ac_default_generate_build_notes
12640 if test ${ac_default_generate_x86_used_note} = unset; then
12641 ac_default_generate_x86_used_note
=0
12644 cat >>confdefs.h
<<_ACEOF
12645 #define DEFAULT_X86_USED_NOTE $ac_default_generate_x86_used_note
12649 if test ${ac_default_generate_riscv_attr} = unset; then
12650 ac_default_generate_riscv_attr
=1
12654 cat >>confdefs.h
<<_ACEOF
12655 #define DEFAULT_RISCV_ATTR $ac_default_generate_riscv_attr
12659 if test ${ac_default_mips_fix_loongson3_llsc} = unset; then
12660 ac_default_mips_fix_loongson3_llsc
=0
12663 cat >>confdefs.h
<<_ACEOF
12664 #define DEFAULT_MIPS_FIX_LOONGSON3_LLSC $ac_default_mips_fix_loongson3_llsc
12668 if test x
$ac_default_compressed_debug_sections = xyes
; then
12670 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
12674 # Turn on all targets if possible
12675 if test ${all_targets} = "yes"; then
12676 case ${target_cpu_type} in
12678 case ${obj_format} in
12680 emulations
="$emulations i386coff i386elf"
12683 emulations
="$emulations i386aout i386elf"
12686 emulations
="$emulations i386aout i386coff"
12691 case ${obj_format} in
12693 emulations
="$emulations i386coff i386elf"
12696 emulations
="$emulations i386aout i386elf"
12699 emulations
="$emulations i386aout i386coff"
12706 # PE code has way too many macros tweaking behaviour
12708 pe
*) emulations
="" ;;
12711 # Assign floating point type. Most processors with FP support
12712 # IEEE FP. On those that don't support FP at all, usually IEEE
12714 case ${target_cpu} in
12715 vax | pdp11
) atof
=vax
;;
12719 case "${obj_format}" in
12720 "") as_fn_error $?
"GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
12723 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
12725 if test $using_cgen = yes ; then
12726 case ${target_cpu} in
12728 cgen_cpu_prefix
=or1k
;;
12729 *) cgen_cpu_prefix
=${target_cpu} ;;
12733 $as_echo "#define USING_CGEN 1" >>confdefs.h
12738 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
12739 as_fn_error $?
"GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
12742 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
12743 as_fn_error $?
"GAS does not have support for object file format ${obj_format}" "$LINENO" 5
12746 # Some COFF configurations want these random other flags set.
12747 case ${obj_format} in
12749 case ${target_cpu_type} in
12751 $as_echo "#define I386COFF 1" >>confdefs.h
12754 $as_echo "#define I386COFF 1" >>confdefs.h
12760 # Getting this done right is going to be a bitch. Each configuration specified
12761 # with --enable-targets=... should be checked for environment, format, cpu
12764 # For each configuration, the necessary object file support code must be linked
12765 # in. This might be only one, it might be up to four. The necessary emulation
12766 # code needs to be provided, too.
12768 # And then there's "--enable-targets=all"....
12770 # For now, just always do it for MIPS ELF configurations. Sigh.
12772 formats
="${obj_format}"
12775 _gas_uniq_list
="$emulations"
12776 _gas_uniq_newlist
=""
12777 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12778 case $_gas_uniq_i in
12779 _gas_uniq_dummy
) ;;
12780 *) case " $_gas_uniq_newlist " in
12781 *" $_gas_uniq_i "*) ;;
12782 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12786 emulations
=$_gas_uniq_newlist
12788 for em
in .
$emulations ; do
12791 mipsbelf | mipslelf | mipself
)
12792 fmt=elf
file=mipself
;;
12794 fmt=coff
file=$em ;;
12796 fmt=aout
file=$em ;;
12798 fmt=elf
file=$em ;;
12800 formats
="$formats $fmt"
12801 emfiles
="$emfiles config/e-$file.o"
12802 EMULATIONS
="$EMULATIONS &$em,"
12804 _gas_uniq_list
="$formats"
12805 _gas_uniq_newlist
=""
12806 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12807 case $_gas_uniq_i in
12808 _gas_uniq_dummy
) ;;
12809 *) case " $_gas_uniq_newlist " in
12810 *" $_gas_uniq_i "*) ;;
12811 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12815 formats
=$_gas_uniq_newlist
12817 _gas_uniq_list
="$emfiles"
12818 _gas_uniq_newlist
=""
12819 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12820 case $_gas_uniq_i in
12821 _gas_uniq_dummy
) ;;
12822 *) case " $_gas_uniq_newlist " in
12823 *" $_gas_uniq_i "*) ;;
12824 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12828 emfiles
=$_gas_uniq_newlist
12830 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
12831 for fmt in $formats ; do
12834 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
12837 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
12840 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
12843 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
12846 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
12849 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
12852 extra_objects
="$extra_objects config/obj-$fmt.o"
12856 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
12857 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
12858 # e-mipself has more than one emulation per file, e-i386* has just one at the
12859 # moment. If only one emulation is specified, then don't define
12860 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
12861 case "${obj_format}${emfiles}" in
12862 multi
* |
*mipself
*)
12863 extra_objects
="$extra_objects $emfiles"
12865 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
12871 cat >>confdefs.h
<<_ACEOF
12872 #define EMULATIONS $EMULATIONS
12876 cat >>confdefs.h
<<_ACEOF
12877 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
12881 reject_dev_configs
=yes
12883 case ${reject_dev_configs}-${dev} in
12885 as_fn_error $?
"GAS does not support the ${generic_target} configuration." "$LINENO" 5
12895 # do we need the opcodes library?
12896 case "${need_opcodes}" in
12898 OPCODES_LIB
=..
/opcodes
/libopcodes.la
12905 cat >>confdefs.h
<<_ACEOF
12906 #define TARGET_ALIAS "${target_alias}"
12910 cat >>confdefs.h
<<_ACEOF
12911 #define TARGET_CANONICAL "${target}"
12915 cat >>confdefs.h
<<_ACEOF
12916 #define TARGET_CPU "${target_cpu}"
12920 cat >>confdefs.h
<<_ACEOF
12921 #define TARGET_VENDOR "${target_vendor}"
12925 cat >>confdefs.h
<<_ACEOF
12926 #define TARGET_OS "${target_os}"
12930 for ac_prog
in 'bison -y' byacc
12932 # Extract the first word of "$ac_prog", so it can be a program name with args.
12933 set dummy
$ac_prog; ac_word
=$2
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12935 $as_echo_n "checking for $ac_word... " >&6; }
12936 if ${ac_cv_prog_YACC+:} false
; then :
12937 $as_echo_n "(cached) " >&6
12939 if test -n "$YACC"; then
12940 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12943 for as_dir
in $PATH
12946 test -z "$as_dir" && as_dir
=.
12947 for ac_exec_ext
in '' $ac_executable_extensions; do
12948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12949 ac_cv_prog_YACC
="$ac_prog"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 YACC
=$ac_cv_prog_YACC
12960 if test -n "$YACC"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12962 $as_echo "$YACC" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12969 test -n "$YACC" && break
12971 test -n "$YACC" || YACC
="yacc"
12973 for ac_prog
in flex
lex
12975 # Extract the first word of "$ac_prog", so it can be a program name with args.
12976 set dummy
$ac_prog; ac_word
=$2
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12978 $as_echo_n "checking for $ac_word... " >&6; }
12979 if ${ac_cv_prog_LEX+:} false
; then :
12980 $as_echo_n "(cached) " >&6
12982 if test -n "$LEX"; then
12983 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12986 for as_dir
in $PATH
12989 test -z "$as_dir" && as_dir
=.
12990 for ac_exec_ext
in '' $ac_executable_extensions; do
12991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12992 ac_cv_prog_LEX
="$ac_prog"
12993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13002 LEX
=$ac_cv_prog_LEX
13003 if test -n "$LEX"; then
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13005 $as_echo "$LEX" >&6; }
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13008 $as_echo "no" >&6; }
13012 test -n "$LEX" && break
13014 test -n "$LEX" || LEX
=":"
13018 *) cat >conftest.l
<<_ACEOF
13024 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
13025 yyless ((input () != 0)); }
13026 f { unput (yytext[0]); }
13027 . { BEGIN INITIAL; }
13029 #ifdef YYTEXT_POINTER
13030 extern char *yytext;
13035 return ! yylex () + ! yywrap ();
13038 { { ac_try
="$LEX conftest.l"
13039 case "(($ac_try" in
13040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13041 *) ac_try_echo=$ac_try;;
13043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13044 $as_echo "$ac_try_echo"; } >&5
13045 (eval "$LEX conftest.l") 2>&5
13047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13048 test $ac_status = 0; }
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13050 $as_echo_n "checking lex output file root... " >&6; }
13051 if ${ac_cv_prog_lex_root+:} false; then :
13052 $as_echo_n "(cached) " >&6
13055 if test -f lex.yy.c; then
13056 ac_cv_prog_lex_root=lex.yy
13057 elif test -f lexyy.c; then
13058 ac_cv_prog_lex_root=lexyy
13060 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13064 $as_echo "$ac_cv_prog_lex_root" >&6; }
13065 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13067 if test -z "${LEXLIB+set}"; then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13069 $as_echo_n "checking lex library... " >&6; }
13070 if ${ac_cv_lib_lex+:} false; then :
13071 $as_echo_n "(cached) " >&6
13075 ac_cv_lib_lex='none needed'
13076 for ac_lib in '' -lfl -ll; do
13077 LIBS="$ac_lib $ac_save_LIBS"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13080 `cat $LEX_OUTPUT_ROOT.c
`
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_lex=$ac_lib
13085 rm -f core conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13087 test "$ac_cv_lib_lex" != 'none needed' && break
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13093 $as_echo "$ac_cv_lib_lex" >&6; }
13094 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13099 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13100 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
13101 $as_echo_n "(cached) " >&6
13103 # POSIX says lex can declare yytext either as a pointer or an array; the
13104 # default is implementation-dependent. Figure out which it is, since
13105 # not all implementations provide the %pointer and %array declarations.
13106 ac_cv_prog_lex_yytext_pointer=no
13108 LIBS="$LEXLIB $ac_save_LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 #define YYTEXT_POINTER 1
13113 `cat $LEX_OUTPUT_ROOT.c
`
13115 if ac_fn_c_try_link "$LINENO"; then :
13116 ac_cv_prog_lex_yytext_pointer=yes
13118 rm -f core conftest.err conftest.$ac_objext \
13119 conftest$ac_exeext conftest.$ac_ext
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13124 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13125 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13127 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13130 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13133 if test "$LEX" = :; then
13134 LEX=${am_missing_run}flex
13137 ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN"
13138 # If we haven't got the data from the intl directory,
13139 # assume NLS is disabled.
13148 if test -f ../intl/config.intl; then
13149 . ../intl/config.intl
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13152 $as_echo_n "checking whether NLS is requested... " >&6; }
13153 if test x"$USE_NLS" != xyes; then
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13155 $as_echo "no" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13158 $as_echo "yes" >&6; }
13160 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13164 $as_echo_n "checking for catalogs to be installed... " >&6; }
13165 # Look for .po and .gmo files in the source directory.
13168 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
13169 # If there aren't any .gmo files the shell will give us the
13170 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13172 case "$cat" in *\**)
13175 # The quadruple backslash is collapsed to a double backslash
13176 # by the backticks, then collapsed again by the double quotes,
13177 # leaving us with one backslash in the sed expression (right
13178 # before the dot that mustn't act as a wildcard).
13179 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13180 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
13181 # The user is allowed to set LINGUAS to a list of languages to
13182 # install catalogs for. If it's empty that means "all of them."
13183 if test "x$LINGUAS" = x; then
13184 CATALOGS="$CATALOGS $cat"
13185 XLINGUAS="$XLINGUAS $lang"
13187 case "$LINGUAS" in *$lang*)
13188 CATALOGS="$CATALOGS $cat"
13189 XLINGUAS="$XLINGUAS $lang"
13194 LINGUAS="$XLINGUAS"
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13196 $as_echo "$LINGUAS" >&6; }
13210 if test -n "$ac_aux_dir"; then
13211 case "$ac_aux_dir" in
13212 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
13213 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13216 if test -z "$MKINSTALLDIRS"; then
13217 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13223 $as_echo_n "checking whether NLS is requested... " >&6; }
13224 # Check whether --enable-nls was given.
13225 if test "${enable_nls+set}" = set; then :
13226 enableval=$enable_nls; USE_NLS=$enableval
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13232 $as_echo "$USE_NLS" >&6; }
13239 # Prepare PATH_SEPARATOR.
13240 # The user is always right.
13241 if test "${PATH_SEPARATOR+set}" != set; then
13242 echo "#! /bin/sh" >conf$$.sh
13243 echo "exit 0" >>conf$$.sh
13245 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13253 # Find out how to test for executable files. Don't use a zero-byte file,
13254 # as systems may use methods other than mode bits to determine executability.
13255 cat >conf$$.file <<_ASEOF
13259 chmod +x conf$$.file
13260 if test -x conf$$.file >/dev/null 2>&1; then
13261 ac_executable_p="test -x"
13263 ac_executable_p="test -f"
13267 # Extract the first word of "msgfmt", so it can be a program name with args.
13268 set dummy msgfmt; ac_word=$2
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13270 $as_echo_n "checking for $ac_word... " >&6; }
13271 if ${ac_cv_path_MSGFMT+:} false; then :
13272 $as_echo_n "(cached) " >&6
13276 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13279 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13280 for ac_dir in $PATH; do
13282 test -z "$ac_dir" && ac_dir=.
13283 for ac_exec_ext in '' $ac_executable_extensions; do
13284 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13285 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
13286 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13287 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13294 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13298 MSGFMT="$ac_cv_path_MSGFMT"
13299 if test "$MSGFMT" != ":"; then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13301 $as_echo "$MSGFMT" >&6; }
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13304 $as_echo "no" >&6; }
13307 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13308 set dummy gmsgfmt; ac_word=$2
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13310 $as_echo_n "checking for $ac_word... " >&6; }
13311 if ${ac_cv_path_GMSGFMT+:} false; then :
13312 $as_echo_n "(cached) " >&6
13316 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13320 for as_dir in $PATH
13323 test -z "$as_dir" && as_dir=.
13324 for ac_exec_ext in '' $ac_executable_extensions; do
13325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13326 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13334 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13338 GMSGFMT=$ac_cv_path_GMSGFMT
13339 if test -n "$GMSGFMT"; then
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13341 $as_echo "$GMSGFMT" >&6; }
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13344 $as_echo "no" >&6; }
13350 # Prepare PATH_SEPARATOR.
13351 # The user is always right.
13352 if test "${PATH_SEPARATOR+set}" != set; then
13353 echo "#! /bin/sh" >conf$$.sh
13354 echo "exit 0" >>conf$$.sh
13356 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13364 # Find out how to test for executable files. Don't use a zero-byte file,
13365 # as systems may use methods other than mode bits to determine executability.
13366 cat >conf$$.file <<_ASEOF
13370 chmod +x conf$$.file
13371 if test -x conf$$.file >/dev/null 2>&1; then
13372 ac_executable_p="test -x"
13374 ac_executable_p="test -f"
13378 # Extract the first word of "xgettext", so it can be a program name with args.
13379 set dummy xgettext; ac_word=$2
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13381 $as_echo_n "checking for $ac_word... " >&6; }
13382 if ${ac_cv_path_XGETTEXT+:} false; then :
13383 $as_echo_n "(cached) " >&6
13385 case "$XGETTEXT" in
13387 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13390 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13391 for ac_dir in $PATH; do
13393 test -z "$ac_dir" && ac_dir=.
13394 for ac_exec_ext in '' $ac_executable_extensions; do
13395 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13396 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13397 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13398 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13405 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13409 XGETTEXT="$ac_cv_path_XGETTEXT"
13410 if test "$XGETTEXT" != ":"; then
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13412 $as_echo "$XGETTEXT" >&6; }
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13415 $as_echo "no" >&6; }
13421 # Prepare PATH_SEPARATOR.
13422 # The user is always right.
13423 if test "${PATH_SEPARATOR+set}" != set; then
13424 echo "#! /bin/sh" >conf$$.sh
13425 echo "exit 0" >>conf$$.sh
13427 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13435 # Find out how to test for executable files. Don't use a zero-byte file,
13436 # as systems may use methods other than mode bits to determine executability.
13437 cat >conf$$.file <<_ASEOF
13441 chmod +x conf$$.file
13442 if test -x conf$$.file >/dev/null 2>&1; then
13443 ac_executable_p="test -x"
13445 ac_executable_p="test -f"
13449 # Extract the first word of "msgmerge", so it can be a program name with args.
13450 set dummy msgmerge; ac_word=$2
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13452 $as_echo_n "checking for $ac_word... " >&6; }
13453 if ${ac_cv_path_MSGMERGE+:} false; then :
13454 $as_echo_n "(cached) " >&6
13456 case "$MSGMERGE" in
13458 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13461 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13462 for ac_dir in $PATH; do
13464 test -z "$ac_dir" && ac_dir=.
13465 for ac_exec_ext in '' $ac_executable_extensions; do
13466 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13467 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13468 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13475 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13479 MSGMERGE="$ac_cv_path_MSGMERGE"
13480 if test "$MSGMERGE" != ":"; then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13482 $as_echo "$MSGMERGE" >&6; }
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13489 if test "$GMSGFMT" != ":"; then
13490 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
13491 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13494 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13496 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13501 if test "$XGETTEXT" != ":"; then
13502 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13503 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13507 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13513 ac_config_commands="$ac_config_commands default-1"
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13519 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13520 # Check whether --enable-maintainer-mode was given.
13521 if test "${enable_maintainer_mode+set}" = set; then :
13522 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13524 USE_MAINTAINER_MODE=no
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13528 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13529 if test $USE_MAINTAINER_MODE = yes; then
13530 MAINTAINER_MODE_TRUE=
13531 MAINTAINER_MODE_FALSE='#'
13533 MAINTAINER_MODE_TRUE='#'
13534 MAINTAINER_MODE_FALSE=
13537 MAINT=$MAINTAINER_MODE_TRUE
13541 GENINSRC_NEVER_TRUE=
13542 GENINSRC_NEVER_FALSE='#'
13544 GENINSRC_NEVER_TRUE='#'
13545 GENINSRC_NEVER_FALSE=
13550 for ac_header in memory.h sys/stat.h sys/types.h unistd.h
13552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13553 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13555 cat >>confdefs.h <<_ACEOF
13556 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13564 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
13565 # people who are not cross-compiling but are compiling cross-assemblers.
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
13567 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
13568 if test "${host}" = "${target}"; then
13573 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
13577 $as_echo "$cross_gas" >&6; }
13579 for ac_func in strsignal
13581 ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
13582 if test "x$ac_cv_func_strsignal" = xyes; then :
13583 cat >>confdefs.h <<_ACEOF
13584 #define HAVE_STRSIGNAL 1
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13593 $as_echo_n "checking for LC_MESSAGES... " >&6; }
13594 if ${am_cv_val_LC_MESSAGES+:} false; then :
13595 $as_echo_n "(cached) " >&6
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13599 #include <locale.h>
13608 if ac_fn_c_try_link "$LINENO"; then :
13609 am_cv_val_LC_MESSAGES=yes
13611 am_cv_val_LC_MESSAGES=no
13613 rm -f core conftest.err conftest.$ac_objext \
13614 conftest$ac_exeext conftest.$ac_ext
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13617 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13618 if test $am_cv_val_LC_MESSAGES = yes; then
13620 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13625 # do we need the math library?
13626 case "${need_libm}" in
13630 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13631 # These system don't have libm, or don't need it
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13635 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13636 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13637 $as_echo_n "(cached) " >&6
13639 ac_check_lib_save_LIBS=$LIBS
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13650 char _mwvalidcheckl ();
13654 return _mwvalidcheckl ();
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 ac_cv_lib_mw__mwvalidcheckl=yes
13662 ac_cv_lib_mw__mwvalidcheckl=no
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 LIBS=$ac_check_lib_save_LIBS
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13669 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13670 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13675 $as_echo_n "checking for cos in -lm... " >&6; }
13676 if ${ac_cv_lib_m_cos+:} false; then :
13677 $as_echo_n "(cached) " >&6
13679 ac_check_lib_save_LIBS=$LIBS
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 ac_cv_lib_m_cos=yes
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 LIBS=$ac_check_lib_save_LIBS
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13709 $as_echo "$ac_cv_lib_m_cos" >&6; }
13710 if test "x$ac_cv_lib_m_cos" = xyes; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13717 $as_echo_n "checking for cos in -lm... " >&6; }
13718 if ${ac_cv_lib_m_cos+:} false; then :
13719 $as_echo_n "(cached) " >&6
13721 ac_check_lib_save_LIBS=$LIBS
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13726 /* Override any GCC internal prototype to avoid an error.
13727 Use char because int might match the return type of a GCC
13728 builtin and then its argument prototype would still apply. */
13741 if ac_fn_c_try_link "$LINENO"; then :
13742 ac_cv_lib_m_cos=yes
13746 rm -f core conftest.err conftest.$ac_objext \
13747 conftest$ac_exeext conftest.$ac_ext
13748 LIBS=$ac_check_lib_save_LIBS
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13751 $as_echo "$ac_cv_lib_m_cos" >&6; }
13752 if test "x$ac_cv_lib_m_cos" = xyes; then :
13764 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
13765 # enough, but on some of those systems, the assert macro relies on requoting
13766 # working properly!
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
13768 $as_echo_n "checking for working assert macro... " >&6; }
13769 if ${gas_cv_assert_ok+:} false; then :
13770 $as_echo_n "(cached) " >&6
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 #include <assert.h>
13780 /* check for requoting problems */
13781 static int a, b, c, d;
13783 assert (!strcmp(s, "foo bar baz quux"));
13784 /* check for newline handling */
13792 if ac_fn_c_try_link "$LINENO"; then :
13793 gas_cv_assert_ok=yes
13795 gas_cv_assert_ok=no
13797 rm -f core conftest.err conftest.$ac_objext \
13798 conftest$ac_exeext conftest.$ac_ext
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
13801 $as_echo "$gas_cv_assert_ok" >&6; }
13802 test $gas_cv_assert_ok = yes ||
13803 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
13807 # On some systems, the system header files may not declare malloc, realloc,
13808 # and free. There are places where gas needs these functions to have been
13809 # declared -- such as when taking their addresses.
13811 #ifdef HAVE_MEMORY_H
13812 #include <memory.h>
13814 #include <string.h>
13815 #include <stdlib.h>
13816 #ifdef HAVE_UNISTD_H
13817 #include <unistd.h>
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
13822 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
13823 if ${gas_cv_decl_getopt_unistd_h+:} false; then :
13824 $as_echo_n "(cached) " >&6
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13828 #include <unistd.h>
13832 extern int getopt (int, char *const*, const char *);
13837 if ac_fn_c_try_compile "$LINENO"; then :
13838 gas_cv_decl_getopt_unistd_h=yes
13840 gas_cv_decl_getopt_unistd_h=no
13842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
13846 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
13847 if test $gas_cv_decl_getopt_unistd_h = yes; then
13849 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
13855 $as_echo_n "checking whether declaration is required for environ... " >&6; }
13856 if ${gas_cv_decl_needed_environ+:} false; then :
13857 $as_echo_n "(cached) " >&6
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 gas_cv_decl_needed_environ=no
13877 gas_cv_decl_needed_environ=yes
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
13883 $as_echo "$gas_cv_decl_needed_environ" >&6; }
13884 if test $gas_cv_decl_needed_environ = yes; then
13886 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
13892 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
13893 if ${gas_cv_decl_needed_ffs+:} false; then :
13894 $as_echo_n "(cached) " >&6
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13903 typedef int (*f)(int);
13911 if ac_fn_c_try_link "$LINENO"; then :
13912 gas_cv_decl_needed_ffs=no
13914 gas_cv_decl_needed_ffs=yes
13916 rm -f core conftest.err conftest.$ac_objext \
13917 conftest$ac_exeext conftest.$ac_ext
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
13920 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
13921 if test $gas_cv_decl_needed_ffs = yes; then
13923 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
13928 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
13929 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
13935 cat >>confdefs.h <<_ACEOF
13936 #define HAVE_DECL_ASPRINTF $ac_have_decl
13938 ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
13939 if test "x$ac_cv_have_decl_mempcpy" = xyes; then :
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_DECL_MEMPCPY $ac_have_decl
13948 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
13949 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
13955 cat >>confdefs.h <<_ACEOF
13956 #define HAVE_DECL_STPCPY $ac_have_decl
13962 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
13964 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
13968 # Link in zlib/zstd if we can. This allows us to write compressed debug sections.
13970 # Use the system's zlib library.
13971 zlibdir="-L\$(top_builddir)/../zlib"
13972 zlibinc="-I\$(top_srcdir)/../zlib"
13974 # Check whether --with-system-zlib was given.
13975 if test "${with_system_zlib+set}" = set; then :
13976 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
13993 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13994 if test -n "$ac_tool_prefix"; then
13995 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13996 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13998 $as_echo_n "checking for $ac_word... " >&6; }
13999 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14000 $as_echo_n "(cached) " >&6
14002 case $PKG_CONFIG in
14004 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14008 for as_dir in $PATH
14011 test -z "$as_dir" && as_dir=.
14012 for ac_exec_ext in '' $ac_executable_extensions; do
14013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14014 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14025 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14026 if test -n "$PKG_CONFIG"; then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14028 $as_echo "$PKG_CONFIG" >&6; }
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14036 if test -z "$ac_cv_path_PKG_CONFIG"; then
14037 ac_pt_PKG_CONFIG=$PKG_CONFIG
14038 # Extract the first word of "pkg-config", so it can be a program name with args.
14039 set dummy pkg-config; ac_word=$2
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14041 $as_echo_n "checking for $ac_word... " >&6; }
14042 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14043 $as_echo_n "(cached) " >&6
14045 case $ac_pt_PKG_CONFIG in
14047 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14051 for as_dir in $PATH
14054 test -z "$as_dir" && as_dir=.
14055 for ac_exec_ext in '' $ac_executable_extensions; do
14056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14057 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14068 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14069 if test -n "$ac_pt_PKG_CONFIG"; then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14071 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14074 $as_echo "no" >&6; }
14077 if test "x$ac_pt_PKG_CONFIG" = x; then
14080 case $cross_compiling:$ac_tool_warned in
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14084 ac_tool_warned=yes ;;
14086 PKG_CONFIG=$ac_pt_PKG_CONFIG
14089 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14093 if test -n "$PKG_CONFIG"; then
14094 _pkg_min_version=0.9.0
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14096 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14097 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14099 $as_echo "yes" >&6; }
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14102 $as_echo "no" >&6; }
14108 # Check whether --with-zstd was given.
14109 if test "${with_zstd+set}" = set; then :
14110 withval=$with_zstd;
14116 if test "$with_zstd" != no; then :
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd" >&5
14120 $as_echo_n "checking for libzstd... " >&6; }
14122 if test -n "$ZSTD_CFLAGS"; then
14123 pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
14124 elif test -n "$PKG_CONFIG"; then
14125 if test -n "$PKG_CONFIG" && \
14126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd\""; } >&5
14127 ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5
14129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14130 test $ac_status = 0; }; then
14131 pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd" 2>/dev
/null
`
14132 test "x$?" != "x0" && pkg_failed=yes
14139 if test -n "$ZSTD_LIBS"; then
14140 pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
14141 elif test -n "$PKG_CONFIG"; then
14142 if test -n "$PKG_CONFIG" && \
14143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd\""; } >&5
14144 ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }; then
14148 pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd" 2>/dev
/null
`
14149 test "x$?" != "x0" && pkg_failed=yes
14157 if test $pkg_failed = no; then
14158 pkg_save_LDFLAGS="$LDFLAGS"
14159 LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
14160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14171 if ac_fn_c_try_link "$LINENO"; then :
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 LDFLAGS=$pkg_save_LDFLAGS
14183 if test $pkg_failed = yes; then
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14185 $as_echo "no" >&6; }
14187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14188 _pkg_short_errors_supported=yes
14190 _pkg_short_errors_supported=no
14192 if test $_pkg_short_errors_supported = yes; then
14193 ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd" 2>&1`
14195 ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd" 2>&1`
14197 # Put the nasty error message in config.log where it belongs
14198 echo "$ZSTD_PKG_ERRORS" >&5
14201 if test "$with_zstd" = yes; then
14202 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
14205 elif test $pkg_failed = untried; then
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14207 $as_echo "no" >&6; }
14209 if test "$with_zstd" = yes; then
14210 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
14214 ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
14215 ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14217 $as_echo "yes" >&6; }
14220 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
14228 # Support for VMS timestamps via cross compile
14230 if test "$ac_cv_header_time_h" = yes; then
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
14232 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
14233 if ${gas_cv_have_time_type_member_tm_gmtoff+:} false; then :
14234 $as_echo_n "(cached) " >&6
14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14239 #define _BSD_SOURCE 1
14244 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
14249 if ac_fn_c_try_compile "$LINENO"; then :
14250 gas_cv_have_time_type_member_tm_gmtoff=yes
14252 gas_cv_have_time_type_member_tm_gmtoff=no
14255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14258 if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
14260 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
14264 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
14268 if test "$ac_cv_header_sys_stat_h" = yes; then
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
14270 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
14271 if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+:} false; then :
14272 $as_echo_n "(cached) " >&6
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14277 #define _BSD_SOURCE 1
14278 #include <sys/stat.h>
14282 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
14287 if ac_fn_c_try_compile "$LINENO"; then :
14288 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=yes
14290 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=no
14293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14296 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
14298 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
14302 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
14305 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
14306 if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+:} false; then :
14307 $as_echo_n "(cached) " >&6
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 #define _BSD_SOURCE 1
14313 #include <sys/stat.h>
14317 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
14322 if ac_fn_c_try_compile "$LINENO"; then :
14323 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=yes
14325 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=no
14328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14331 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
14333 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
14337 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
14349 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
14351 ac_config_commands="$ac_config_commands default"
14354 cat >confcache <<\_ACEOF
14355 # This file is a shell script that caches the results of configure
14356 # tests run on this system so they can be shared between configure
14357 # scripts and configure runs, see configure's option --config-cache.
14358 # It is not useful on other systems. If it contains results you don't
14359 # want to keep, you may remove or edit it.
14361 # config.status only pays attention to the cache file if you give it
14362 # the --recheck option to rerun configure.
14364 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
14365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14366 # following values.
14370 # The following way of writing the cache mishandles newlines in values,
14371 # but we know of no workaround that is simple, portable, and efficient.
14372 # So, we kill variables containing newlines.
14373 # Ultrix sh set writes to stderr and can't be redirected directly,
14374 # and sets the high bit in the cache file unless we assign to the vars.
14376 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14377 eval ac_val
=\$
$ac_var
14381 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14382 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14385 _ | IFS | as_nl
) ;; #(
14386 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14387 *) { eval $ac_var=; unset $ac_var;} ;;
14393 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14394 *${as_nl}ac_space
=\
*)
14395 # `set' does not quote correctly, so add quotes: double-quote
14396 # substitution turns \\\\ into \\, and sed turns \\ into \.
14399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14402 # `set' quotes correctly as required by POSIX, so do not add quotes.
14403 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14412 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14414 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14416 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14417 if test -w "$cache_file"; then
14418 if test "x$cache_file" != "x/dev/null"; then
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14420 $as_echo "$as_me: updating cache $cache_file" >&6;}
14421 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14422 cat confcache
>"$cache_file"
14424 case $cache_file in #(
14426 mv -f confcache
"$cache_file"$$
&&
14427 mv -f "$cache_file"$$
"$cache_file" ;; #(
14429 mv -f confcache
"$cache_file" ;;
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14435 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14440 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14441 # Let make expand exec_prefix.
14442 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14444 DEFS
=-DHAVE_CONFIG_H
14449 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14450 # 1. Remove the extension, and $U if already installed.
14451 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14452 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14454 # will be set to the directory where LIBOBJS objects are built.
14455 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14456 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14458 LIBOBJS
=$ac_libobjs
14460 LTLIBOBJS
=$ac_ltlibobjs
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14464 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14465 if test -n "$am_sleep_pid"; then
14466 # Hide warnings about reused PIDs.
14467 wait $am_sleep_pid 2>/dev
/null
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14470 $as_echo "done" >&6; }
14471 if test -n "$EXEEXT"; then
14473 am__EXEEXT_FALSE
='#'
14475 am__EXEEXT_TRUE
='#'
14479 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14480 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14483 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14484 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14488 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14489 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14492 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
14493 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
14494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14497 : "${CONFIG_STATUS=./config.status}"
14499 ac_clean_files_save
=$ac_clean_files
14500 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14502 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14504 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14506 # Generated by $as_me.
14507 # Run this file to recreate the current configuration.
14508 # Compiler output produced by configure, useful for debugging
14509 # configure, is in config.log if it exists.
14512 ac_cs_recheck=false
14515 SHELL=\${CONFIG_SHELL-$SHELL}
14518 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14519 ## -------------------- ##
14520 ## M4sh Initialization. ##
14521 ## -------------------- ##
14523 # Be more Bourne compatible
14524 DUALCASE
=1; export DUALCASE
# for MKS sh
14525 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14528 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14529 # is contrary to our usage. Disable this feature.
14530 alias -g '${1+"$@"}'='"$@"'
14531 setopt NO_GLOB_SUBST
14533 case `(set -o) 2>/dev/null` in #(
14545 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14546 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14547 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14548 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14549 # Prefer a ksh shell builtin over an external printf program on Solaris,
14550 # but without wasting forks for bash or zsh.
14551 if test -z "$BASH_VERSION$ZSH_VERSION" \
14552 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14553 as_echo='print
-r --'
14554 as_echo_n='print
-rn --'
14555 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14556 as_echo='printf %s
\n'
14557 as_echo_n='printf %s
'
14559 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14560 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14561 as_echo_n='/usr
/ucb
/echo -n'
14563 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14564 as_echo_n_body='eval
14568 expr "X$arg" : "X\\(.*\\)$as_nl";
14569 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14571 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14573 export as_echo_n_body
14574 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14576 export as_echo_body
14577 as_echo='sh
-c $as_echo_body as_echo
'
14580 # The user is always right.
14581 if test "${PATH_SEPARATOR+set}" != set; then
14583 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14584 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14591 # We need space, tab and new line, in precisely that order. Quoting is
14592 # there to prevent editors from complaining about space-tab.
14593 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14594 # splitting by setting IFS to empty value.)
14597 # Find who we are. Look in the path if we contain no directory separator.
14600 *[\\/]* ) as_myself=$0 ;;
14601 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14602 for as_dir in $PATH
14605 test -z "$as_dir" && as_dir=.
14606 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14612 # We did not find ourselves, most probably we were run as `sh COMMAND'
14613 # in which case we are not to be found in the path.
14614 if test "x$as_myself" = x
; then
14617 if test ! -f "$as_myself"; then
14618 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14622 # Unset variables that we do not need and which cause bugs (e.g. in
14623 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14624 # suppresses any "Segmentation fault" message there. '((' could
14625 # trigger a bug in pdksh 5.2.14.
14626 for as_var
in BASH_ENV ENV MAIL MAILPATH
14627 do eval test x\
${$as_var+set} = xset \
14628 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14641 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14644 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14645 # ----------------------------------------
14646 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14647 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14648 # script with STATUS, using 1 if that was 0.
14651 as_status
=$1; test $as_status -eq 0 && as_status
=1
14653 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14654 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14656 $as_echo "$as_me: error: $2" >&2
14657 as_fn_exit
$as_status
14661 # as_fn_set_status STATUS
14662 # -----------------------
14663 # Set $? to STATUS, without forking.
14664 as_fn_set_status
()
14667 } # as_fn_set_status
14669 # as_fn_exit STATUS
14670 # -----------------
14671 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14675 as_fn_set_status
$1
14681 # Portably unset VAR.
14684 { eval $1=; unset $1;}
14686 as_unset
=as_fn_unset
14687 # as_fn_append VAR VALUE
14688 # ----------------------
14689 # Append the text in VALUE to the end of the definition contained in VAR. Take
14690 # advantage of any shell optimizations that allow amortized linear growth over
14691 # repeated appends, instead of the typical quadratic growth present in naive
14693 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14694 eval 'as_fn_append ()
14705 # as_fn_arith ARG...
14706 # ------------------
14707 # Perform arithmetic evaluation on the ARGs, and store the result in the
14708 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14709 # must be portable across $(()) and expr.
14710 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14711 eval 'as_fn_arith ()
14718 as_val
=`expr "$@" || test $? -eq 1`
14723 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14724 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14730 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14731 as_basename
=basename
14736 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14742 as_me
=`$as_basename -- "$0" ||
14743 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14744 X"$0" : 'X\(//\)$' \| \
14745 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14747 sed '/^.*\/\([^/][^/]*\)\/*$/{
14761 # Avoid depending upon Character Ranges.
14762 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14763 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14764 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14765 as_cr_digits
='0123456789'
14766 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14768 ECHO_C
= ECHO_N
= ECHO_T
=
14769 case `echo -n x` in #(((((
14771 case `echo 'xy\c'` in
14772 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14774 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14781 rm -f conf$$ conf$$.exe conf$$.
file
14782 if test -d conf$$.dir
; then
14783 rm -f conf$$.dir
/conf$$.
file
14786 mkdir conf$$.dir
2>/dev
/null
14788 if (echo >conf$$.
file) 2>/dev
/null
; then
14789 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14791 # ... but there are two gotchas:
14792 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14793 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14794 # In both cases, we have to default to `cp -pR'.
14795 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14797 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14805 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14806 rmdir conf$$.dir
2>/dev
/null
14811 # Create "$as_dir" as a directory, including parents if necessary.
14816 -*) as_dir
=.
/$as_dir;;
14818 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14822 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14823 *) as_qdir
=$as_dir;;
14825 as_dirs
="'$as_qdir' $as_dirs"
14826 as_dir
=`$as_dirname -- "$as_dir" ||
14827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14828 X"$as_dir" : 'X\(//\)[^/]' \| \
14829 X"$as_dir" : 'X\(//\)$' \| \
14830 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14831 $as_echo X"$as_dir" |
14832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14836 /^X\(\/\/\)[^/].*/{
14849 test -d "$as_dir" && break
14851 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14852 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14856 if mkdir
-p .
2>/dev
/null
; then
14857 as_mkdir_p
='mkdir -p "$as_dir"'
14859 test -d .
/-p && rmdir .
/-p
14864 # as_fn_executable_p FILE
14865 # -----------------------
14866 # Test if FILE is an executable regular file.
14867 as_fn_executable_p
()
14869 test -f "$1" && test -x "$1"
14870 } # as_fn_executable_p
14871 as_test_x
='test -x'
14872 as_executable_p
=as_fn_executable_p
14874 # Sed expression to map a string onto a valid CPP name.
14875 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14877 # Sed expression to map a string onto a valid variable name.
14878 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14882 ## ----------------------------------- ##
14883 ## Main body of $CONFIG_STATUS script. ##
14884 ## ----------------------------------- ##
14886 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14889 # Save the log message, to keep $0 and so on meaningful, and to
14890 # report actual input values of CONFIG_FILES etc. instead of their
14891 # values after options handling.
14893 This file was extended by gas $as_me 2.39.50, which was
14894 generated by GNU Autoconf 2.69. Invocation command line was
14896 CONFIG_FILES = $CONFIG_FILES
14897 CONFIG_HEADERS = $CONFIG_HEADERS
14898 CONFIG_LINKS = $CONFIG_LINKS
14899 CONFIG_COMMANDS = $CONFIG_COMMANDS
14902 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14907 case $ac_config_files in *"
14908 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14911 case $ac_config_headers in *"
14912 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14917 # Files that config.status was made for.
14918 config_files="$ac_config_files"
14919 config_headers="$ac_config_headers"
14920 config_commands="$ac_config_commands"
14924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14926 \`$as_me' instantiates files and other configuration actions
14927 from templates according to the current configuration. Unless the files
14928 and actions are specified as TAGs, all are instantiated by default.
14930 Usage: $0 [OPTION]... [TAG]...
14932 -h, --help print this help, then exit
14933 -V, --version print version number and configuration settings, then exit
14934 --config print configuration, then exit
14935 -q, --quiet, --silent
14936 do not print progress messages
14937 -d, --debug don't remove temporary files
14938 --recheck update $as_me by reconfiguring in the same conditions
14939 --file=FILE[:TEMPLATE]
14940 instantiate the configuration file FILE
14941 --header=FILE[:TEMPLATE]
14942 instantiate the configuration header FILE
14944 Configuration files:
14947 Configuration headers:
14950 Configuration commands:
14953 Report bugs to the package provider."
14956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14959 gas config.status 2.39.50
14960 configured by $0, generated by GNU Autoconf 2.69,
14961 with options \\"\$ac_cs_config\\"
14963 Copyright (C) 2012 Free Software Foundation, Inc.
14964 This config.status script is free software; the Free Software Foundation
14965 gives unlimited permission to copy, distribute and modify it."
14972 test -n "\$AWK" || AWK=awk
14975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14976 # The default lists apply if the user does not specify any file.
14982 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14983 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14987 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14999 # Handling of the options.
15000 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15002 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15003 $as_echo "$ac_cs_version"; exit ;;
15004 --config |
--confi |
--conf |
--con |
--co |
--c )
15005 $as_echo "$ac_cs_config"; exit ;;
15006 --debug |
--debu |
--deb |
--de |
--d |
-d )
15008 --file |
--fil |
--fi |
--f )
15011 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15012 '') as_fn_error $?
"missing file argument" ;;
15014 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15015 ac_need_defaults
=false
;;
15016 --header |
--heade |
--head |
--hea )
15019 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15021 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15022 ac_need_defaults
=false
;;
15024 # Conflict between --help and --header
15025 as_fn_error $?
"ambiguous option: \`$1'
15026 Try \`$0 --help' for more information.";;
15027 --help |
--hel |
-h )
15028 $as_echo "$ac_cs_usage"; exit ;;
15029 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15030 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15033 # This is an error.
15034 -*) as_fn_error $?
"unrecognized option: \`$1'
15035 Try \`$0 --help' for more information." ;;
15037 *) as_fn_append ac_config_targets
" $1"
15038 ac_need_defaults
=false
;;
15044 ac_configure_extra_args
=
15046 if $ac_cs_silent; then
15048 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15053 if \$ac_cs_recheck; then
15054 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15056 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15057 CONFIG_SHELL='$SHELL'
15058 export CONFIG_SHELL
15063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15067 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15068 ## Running $as_me. ##
15074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15078 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15081 # The HP-UX ksh and POSIX shell print the target directory to stdout
15082 # if CDPATH is set.
15083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15085 sed_quote_subst='$sed_quote_subst'
15086 double_quote_subst='$double_quote_subst'
15087 delay_variable_subst='$delay_variable_subst'
15088 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15089 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15090 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15091 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15092 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15093 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15094 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15095 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15096 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15097 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15098 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15099 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15100 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15101 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15102 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15103 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15104 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15105 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15106 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15107 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15108 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15109 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15110 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15111 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15112 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15113 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15114 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15115 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15116 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15117 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15118 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15119 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15120 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15121 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15122 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15123 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15124 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15125 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15126 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15127 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15128 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15129 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15130 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15131 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15132 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15133 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15134 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15135 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15136 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"`'
15137 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15138 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15139 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15140 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15141 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15142 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15143 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15144 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15145 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15146 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15147 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15148 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15149 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15150 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15151 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15152 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15153 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15154 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15155 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15156 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15157 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15158 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15159 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15160 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15161 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15162 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15163 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15164 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15165 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15166 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15167 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15168 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15169 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15170 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15171 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15172 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15173 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15174 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15175 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15176 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15177 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15178 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15179 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15180 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15181 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15182 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15183 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15184 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15185 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15186 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15187 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15188 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15189 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15190 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15191 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15192 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15193 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15194 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15195 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15196 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15197 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15198 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15199 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15200 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15201 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15202 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15203 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15204 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15205 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15206 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15207 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15210 LTCFLAGS='$LTCFLAGS'
15211 compiler='$compiler_DEFAULT'
15213 # A function that is used when there is no print builtin or printf.
15214 func_fallback_echo ()
15216 eval 'cat <<_LTECHO_EOF
15221 # Quote evaled strings.
15235 deplibs_check_method \
15244 lt_cv_sys_global_symbol_pipe \
15245 lt_cv_sys_global_symbol_to_cdecl \
15246 lt_cv_sys_global_symbol_to_c_name_address \
15247 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15248 lt_prog_compiler_no_builtin_flag \
15249 lt_prog_compiler_wl \
15250 lt_prog_compiler_pic \
15251 lt_prog_compiler_static \
15252 lt_cv_prog_compiler_c_o \
15260 export_dynamic_flag_spec \
15261 whole_archive_flag_spec \
15262 compiler_needs_object \
15264 allow_undefined_flag \
15265 no_undefined_flag \
15266 hardcode_libdir_flag_spec \
15267 hardcode_libdir_flag_spec_ld \
15268 hardcode_libdir_separator \
15273 variables_saved_for_relink \
15275 library_names_spec \
15277 install_override_mode \
15281 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15282 *[\\\\\\\`\\"\\\$]*)
15283 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15286 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15291 # Double-quote double-evaled strings.
15292 for var in reload_cmds \
15293 old_postinstall_cmds \
15294 old_postuninstall_cmds \
15296 extract_expsyms_cmds \
15297 old_archive_from_new_cmds \
15298 old_archive_from_expsyms_cmds \
15300 archive_expsym_cmds \
15302 module_expsym_cmds \
15303 export_symbols_cmds \
15306 postuninstall_cmds \
15308 sys_lib_search_path_spec \
15309 sys_lib_dlsearch_path_spec; do
15310 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15311 *[\\\\\\\`\\"\\\$]*)
15312 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15315 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15320 ac_aux_dir='$ac_aux_dir'
15321 xsi_shell='$xsi_shell'
15322 lt_shell_append='$lt_shell_append'
15324 # See if we are running on zsh, and set the options which allow our
15325 # commands through without removal of \ escapes INIT.
15326 if test -n "\${ZSH_VERSION+set}" ; then
15327 setopt NO_GLOB_SUBST
15333 TIMESTAMP='$TIMESTAMP'
15339 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15340 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15342 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15343 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15344 LINGUAS="${LINGUAS-%UNSET%}"
15346 target_cpu_type=${target_cpu_type}
15347 cgen_cpu_prefix=${cgen_cpu_prefix}
15348 obj_format=${obj_format}
15353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15355 # Handling of arguments.
15356 for ac_config_target
in $ac_config_targets
15358 case $ac_config_target in
15359 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15360 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15361 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15362 "gdb.ini") CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
15363 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
15364 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15365 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15366 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15367 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15369 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15374 # If the user did not use the arguments to specify the items to instantiate,
15375 # then the envvar interface is used. Set only those that are not.
15376 # We use the long form for the default assignment because of an extremely
15377 # bizarre bug on SunOS 4.1.3.
15378 if $ac_need_defaults; then
15379 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15380 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15381 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15384 # Have a temporary directory for convenience. Make it in the build tree
15385 # simply because there is no reason against having it here, and in addition,
15386 # creating and moving files from /tmp can sometimes cause problems.
15387 # Hook for its removal unless debugging.
15388 # Note that there is a small window in which the directory will not be cleaned:
15389 # after its creation but before its name has been assigned to `$tmp'.
15393 trap 'exit_status=$?
15394 : "${ac_tmp:=$tmp}"
15395 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15397 trap 'as_fn_exit 1' 1 2 13 15
15399 # Create a (secure) tmp directory for tmp files.
15402 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15406 tmp
=.
/conf$$
-$RANDOM
15407 (umask 077 && mkdir
"$tmp")
15408 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15411 # Set up the scripts for CONFIG_FILES section.
15412 # No need to generate them if there are no CONFIG_FILES.
15413 # This happens for instance with `./config.status config.h'.
15414 if test -n "$CONFIG_FILES"; then
15417 ac_cr
=`echo X | tr X '\015'`
15418 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15419 # But we know of no other shell where ac_cr would be empty at this
15420 # point, so we can use a bashism as a fallback.
15421 if test "x$ac_cr" = x
; then
15422 eval ac_cr
=\$
\'\\r
\'
15424 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15425 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15428 ac_cs_awk_cr
=$ac_cr
15431 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15436 echo "cat >conf$$subs.awk <<_ACEOF" &&
15437 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15439 } >conf$$subs.sh ||
15440 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15441 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15443 for ac_last_try in false false false false false :; do
15444 . ./conf$$subs.sh ||
15445 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15447 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15448 if test $ac_delim_n = $ac_delim_num; then
15450 elif $ac_last_try; then
15451 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15453 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15456 rm -f conf$$subs.sh
15458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15459 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15463 s/^/S["/; s
/!.
*/"]=/
15473 s/\(.\{148\}\)..*/\1/
15475 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15480 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15487 s/\(.\{148\}\)..*/\1/
15489 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15493 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15498 ' <conf$$subs.awk | sed '
15503 ' >>$CONFIG_STATUS || ac_write_fail=1
15504 rm -f conf$$subs.awk
15505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15507 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15508 for (key in S) S_is_set[key] = 1
15514 nfields = split(line, field, "@
")
15516 len = length(field[1])
15517 for (i = 2; i < nfields; i++) {
15519 keylen = length(key)
15520 if (S_is_set[key]) {
15522 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15523 len += length(value) + length(field[++i])
15534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15535 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15536 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15539 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15540 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15543 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15544 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15545 # trailing colons and then remove the whole line if VPATH becomes empty
15546 # (actually we leave an empty line to preserve line numbers).
15547 if test "x
$srcdir" = x.; then
15548 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15567 fi # test -n "$CONFIG_FILES"
15569 # Set up the scripts for CONFIG_HEADERS section.
15570 # No need to generate them if there are no CONFIG_HEADERS.
15571 # This happens for instance with `./config.status Makefile'.
15572 if test -n "$CONFIG_HEADERS"; then
15573 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15577 # Transform confdefs.h into an awk script `defines.awk', embedded as
15578 # here-document in config.status, that substitutes the proper values into
15579 # config.h.in to produce config.h.
15581 # Create a delimiter string that does not exist in confdefs.h, to ease
15582 # handling of long lines.
15584 for ac_last_try in false false :; do
15585 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15586 if test -z "$ac_tt"; then
15588 elif $ac_last_try; then
15589 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15591 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15595 # For the awk script, D is an array of macro values keyed by name,
15596 # likewise P contains macro parameters if any. Preserve backslash
15597 # newline sequences.
15599 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15601 s/.\{148\}/&'"$ac_delim"'/g
15604 s/^[ ]*#[ ]*define[ ][ ]*/ /
15611 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15613 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15617 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15618 D["\
1"]=" \
3\\\\\\n
"\\/p
15620 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15625 s/.\{148\}/&'"$ac_delim"'/g
15630 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15633 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15635 ' <confdefs.h | sed '
15636 s/'"$ac_delim"'/"\\\
15637 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15640 for (key in D) D_is_set[key] = 1
15643 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15645 split(line, arg, " ")
15646 if (arg[1] == "#") {
15650 defundef
= substr
(arg
[1], 2)
15653 split(mac1
, mac2
, "(") #)
15655 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15656 if (D_is_set
[macro
]) {
15657 # Preserve the white space surrounding the "#".
15658 print prefix
"define", macro P
[macro
] D
[macro
]
15661 # Replace #undef with comments. This is necessary, for example,
15662 # in the case of _POSIX_SOURCE, which is predefined and required
15663 # on some systems where configure will not decide to define it.
15664 if (defundef
== "undef") {
15665 print
"/*", prefix defundef
, macro
, "*/"
15673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15674 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15675 fi # test -n "$CONFIG_HEADERS"
15678 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15683 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15685 case $ac_mode$ac_tag in
15687 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15688 :[FH
]-) ac_tag
=-:-;;
15689 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15706 -) ac_f
="$ac_tmp/stdin";;
15707 *) # Look for the file first in the build tree, then in the source tree
15708 # (if the path is not absolute). The absolute path cannot be DOS-style,
15709 # because $ac_f cannot contain `:'.
15713 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15715 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15717 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15718 as_fn_append ac_file_inputs
" '$ac_f'"
15721 # Let's still pretend it is `configure' which instantiates (i.e., don't
15722 # use $as_me), people would be surprised to read:
15723 # /* config.h. Generated by config.status. */
15724 configure_input
='Generated from '`
15725 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15727 if test x
"$ac_file" != x-
; then
15728 configure_input
="$ac_file. $configure_input"
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15730 $as_echo "$as_me: creating $ac_file" >&6;}
15732 # Neutralize special characters interpreted by sed in replacement strings.
15733 case $configure_input in #(
15734 *\
&* |
*\|
* |
*\\* )
15735 ac_sed_conf_input
=`$as_echo "$configure_input" |
15736 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15737 *) ac_sed_conf_input
=$configure_input;;
15741 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15742 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15747 ac_dir
=`$as_dirname -- "$ac_file" ||
15748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15749 X"$ac_file" : 'X\(//\)[^/]' \| \
15750 X"$ac_file" : 'X\(//\)$' \| \
15751 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15752 $as_echo X"$ac_file" |
15753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15757 /^X\(\/\/\)[^/].*/{
15770 as_dir
="$ac_dir"; as_fn_mkdir_p
15774 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15776 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15777 # A ".." for each directory in $ac_dir_suffix.
15778 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15779 case $ac_top_builddir_sub in
15780 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15781 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15784 ac_abs_top_builddir
=$ac_pwd
15785 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15786 # for backward compatibility:
15787 ac_top_builddir
=$ac_top_build_prefix
15790 .
) # We are building in place.
15792 ac_top_srcdir
=$ac_top_builddir_sub
15793 ac_abs_top_srcdir
=$ac_pwd ;;
15794 [\\/]* | ?
:[\\/]* ) # Absolute name.
15795 ac_srcdir
=$srcdir$ac_dir_suffix;
15796 ac_top_srcdir
=$srcdir
15797 ac_abs_top_srcdir
=$srcdir ;;
15798 *) # Relative name.
15799 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15800 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15801 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15803 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15813 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15814 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15816 ac_MKDIR_P
=$MKDIR_P
15818 [\\/$
]* | ?
:[\\/]* ) ;;
15819 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15824 # If the template does not know about datarootdir, expand it.
15825 # FIXME: This hack should be removed a few years after 2.60.
15826 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15837 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15838 *datarootdir
*) ac_datarootdir_seen
=yes;;
15839 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15841 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15844 ac_datarootdir_hack='
15845 s&@datadir@&$datadir&g
15846 s&@docdir@&$docdir&g
15847 s&@infodir@&$infodir&g
15848 s&@localedir@&$localedir&g
15849 s&@mandir@&$mandir&g
15850 s&\\\${datarootdir}&$datarootdir&g' ;;
15854 # Neutralize VPATH when `$srcdir' = `.'.
15855 # Shell code in configure.ac might set extrasub.
15856 # FIXME: do we really want to maintain this feature?
15857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15858 ac_sed_extra="$ac_vpsub
15861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15863 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15864 s|@configure_input@|
$ac_sed_conf_input|
;t t
15865 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15866 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15867 s
&@srcdir@
&$ac_srcdir&;t t
15868 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15869 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15870 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15871 s
&@builddir@
&$ac_builddir&;t t
15872 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15873 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15874 s
&@INSTALL@
&$ac_INSTALL&;t t
15875 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15876 $ac_datarootdir_hack
15878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15879 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15881 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15882 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15883 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15884 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15886 which seems to be undefined. Please make sure it is defined" >&5
15887 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15888 which seems to be undefined. Please make sure it is defined" >&2;}
15890 rm -f "$ac_tmp/stdin"
15892 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15893 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15901 if test x"$ac_file" != x-; then
15903 $as_echo "/* $configure_input */" \
15904 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15905 } >"$ac_tmp/config.h" \
15906 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15907 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15909 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15912 mv "$ac_tmp/config.h" "$ac_file" \
15913 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15916 $as_echo "/* $configure_input */" \
15917 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15918 || as_fn_error $? "could not create -" "$LINENO" 5
15920 # Compute "$ac_file"'s index
in $config_headers.
15923 for _am_header
in $config_headers :; do
15924 case $_am_header in
15925 $_am_arg |
$_am_arg:* )
15928 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15931 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15932 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15933 X"$_am_arg" : 'X\(//\)[^/]' \| \
15934 X"$_am_arg" : 'X\(//\)$' \| \
15935 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15936 $as_echo X"$_am_arg" |
15937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15941 /^X\(\/\/\)[^/].*/{
15953 s/.*/./; q'`/stamp-h
$_am_stamp_count
15956 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15957 $as_echo "$as_me: executing $ac_file commands" >&6;}
15962 case $ac_file$ac_mode in
15963 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15964 # Older Autoconf quotes --file arguments for eval, but not when files
15965 # are listed without --file. Let's play safe and only enable the eval
15966 # if we detect the quoting.
15967 case $CONFIG_FILES in
15968 *\'*) eval set x
"$CONFIG_FILES" ;;
15969 *) set x
$CONFIG_FILES ;;
15974 # Strip MF so we end up with the name of the file.
15975 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15976 # Check whether this is an Automake generated Makefile or not.
15977 # We used to match only the files named 'Makefile.in', but
15978 # some people rename them; so instead we look at the file content.
15979 # Grep'ing the first line is not enough: some people post-process
15980 # each Makefile.in and add a new line on top of each file to say so.
15981 # Grep'ing the whole file is not good either: AIX grep has a line
15982 # limit of 2048, but all sed's we know have understand at least 4000.
15983 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15984 dirpart
=`$as_dirname -- "$mf" ||
15985 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15986 X"$mf" : 'X\(//\)[^/]' \| \
15987 X"$mf" : 'X\(//\)$' \| \
15988 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15994 /^X\(\/\/\)[^/].*/{
16010 # Extract the definition of DEPDIR, am__include, and am__quote
16011 # from the Makefile without running 'make'.
16012 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16013 test -z "$DEPDIR" && continue
16014 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16015 test -z "$am__include" && continue
16016 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16017 # Find all dependency output files, they are included files with
16018 # $(DEPDIR) in their names. We invoke sed twice because it is the
16019 # simplest approach to changing $(DEPDIR) to its actual value in the
16021 for file in `sed -n "
16022 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16023 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16024 # Make sure the directory exists.
16025 test -f "$dirpart/$file" && continue
16026 fdir
=`$as_dirname -- "$file" ||
16027 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16028 X"$file" : 'X\(//\)[^/]' \| \
16029 X"$file" : 'X\(//\)$' \| \
16030 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16031 $as_echo X"$file" |
16032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16036 /^X\(\/\/\)[^/].*/{
16049 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16050 # echo "creating $dirpart/$file"
16051 echo '# dummy' > "$dirpart/$file"
16058 # See if we are running on zsh, and set the options which allow our
16059 # commands through without removal of \ escapes.
16060 if test -n "${ZSH_VERSION+set}" ; then
16061 setopt NO_GLOB_SUBST
16064 cfgfile
="${ofile}T"
16065 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16068 cat <<_LT_EOF >> "$cfgfile"
16071 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16072 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16073 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16074 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16076 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16077 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16078 # Written by Gordon Matzigkeit, 1996
16080 # This file is part of GNU Libtool.
16082 # GNU Libtool is free software; you can redistribute it and/or
16083 # modify it under the terms of the GNU General Public License as
16084 # published by the Free Software Foundation; either version 2 of
16085 # the License, or (at your option) any later version.
16087 # As a special exception to the GNU General Public License,
16088 # if you distribute this file as part of a program or library that
16089 # is built using GNU Libtool, you may include this file under the
16090 # same distribution terms that you use for the rest of that program.
16092 # GNU Libtool is distributed in the hope that it will be useful,
16093 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16094 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16095 # GNU General Public License for more details.
16097 # You should have received a copy of the GNU General Public License
16098 # along with GNU Libtool; see the file COPYING. If not, a copy
16099 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16100 # obtained by writing to the Free Software Foundation, Inc.,
16101 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16104 # The names of the tagged configurations supported by this script.
16107 # ### BEGIN LIBTOOL CONFIG
16109 # Which release of libtool.m4 was used?
16110 macro_version=$macro_version
16111 macro_revision=$macro_revision
16113 # Whether or not to build shared libraries.
16114 build_libtool_libs=$enable_shared
16116 # Whether or not to build static libraries.
16117 build_old_libs=$enable_static
16119 # What type of objects to build.
16122 # Whether or not to optimize for fast installation.
16123 fast_install=$enable_fast_install
16125 # Shell to use when invoking shell scripts.
16128 # An echo program that protects backslashes.
16132 host_alias=$host_alias
16136 # The build system.
16137 build_alias=$build_alias
16141 # A sed program that does not truncate output.
16144 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16145 Xsed="\$SED -e 1s/^X//"
16147 # A grep program that handles long lines.
16153 # A literal string matcher.
16156 # A BSD- or MS-compatible name lister.
16159 # Whether we need soft or hard links.
16162 # What is the maximum length of a command?
16163 max_cmd_len=$max_cmd_len
16165 # Object file suffix (normally "o").
16168 # Executable file suffix (normally "").
16171 # whether the shell understands "unset".
16174 # turn spaces into newlines.
16177 # turn newlines into spaces.
16180 # An object symbol dumper.
16181 OBJDUMP=$lt_OBJDUMP
16183 # Method to check whether dependent libraries are shared objects.
16184 deplibs_check_method=$lt_deplibs_check_method
16186 # Command to use when deplibs_check_method == "file_magic".
16187 file_magic_cmd=$lt_file_magic_cmd
16191 AR_FLAGS=$lt_AR_FLAGS
16193 # A symbol stripping program.
16196 # Commands used to install an old-style archive.
16198 old_postinstall_cmds=$lt_old_postinstall_cmds
16199 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16201 # Whether to use a lock for old archive extraction.
16202 lock_old_archive_extraction=$lock_old_archive_extraction
16207 # LTCC compiler flags.
16208 LTCFLAGS=$lt_CFLAGS
16210 # Take the output of nm and produce a listing of raw symbols and C names.
16211 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16213 # Transform the output of nm in a proper C declaration.
16214 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16216 # Transform the output of nm in a C name address pair.
16217 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16219 # Transform the output of nm in a C name address pair when lib prefix is needed.
16220 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16222 # The name of the directory that contains temporary libtool files.
16225 # Used to examine libraries when file_magic_cmd begins with "file".
16226 MAGIC_CMD=$MAGIC_CMD
16228 # Must we lock files when doing compilation?
16229 need_locks=$lt_need_locks
16231 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16232 DSYMUTIL=$lt_DSYMUTIL
16234 # Tool to change global to local symbols on Mac OS X.
16237 # Tool to manipulate fat objects and archives on Mac OS X.
16240 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16243 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16244 OTOOL64=$lt_OTOOL64
16246 # Old archive suffix (normally "a").
16249 # Shared library suffix (normally ".so").
16250 shrext_cmds=$lt_shrext_cmds
16252 # The commands to extract the exported symbol list from a shared archive.
16253 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16255 # Variables whose values should be saved in libtool wrapper scripts and
16256 # restored at link time.
16257 variables_saved_for_relink=$lt_variables_saved_for_relink
16259 # Do we need the "lib" prefix for modules?
16260 need_lib_prefix=$need_lib_prefix
16262 # Do we need a version for libraries?
16263 need_version=$need_version
16265 # Library versioning type.
16266 version_type=$version_type
16268 # Shared library runtime path variable.
16269 runpath_var=$runpath_var
16271 # Shared library path variable.
16272 shlibpath_var=$shlibpath_var
16274 # Is shlibpath searched before the hard-coded library search path?
16275 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16277 # Format of library name prefix.
16278 libname_spec=$lt_libname_spec
16280 # List of archive names. First name is the real one, the rest are links.
16281 # The last name is the one that the linker finds with -lNAME
16282 library_names_spec=$lt_library_names_spec
16284 # The coded name of the library, if different from the real name.
16285 soname_spec=$lt_soname_spec
16287 # Permission mode override for installation of shared libraries.
16288 install_override_mode=$lt_install_override_mode
16290 # Command to use after installation of a shared archive.
16291 postinstall_cmds=$lt_postinstall_cmds
16293 # Command to use after uninstallation of a shared archive.
16294 postuninstall_cmds=$lt_postuninstall_cmds
16296 # Commands used to finish a libtool library installation in a directory.
16297 finish_cmds=$lt_finish_cmds
16299 # As "finish_cmds", except a single script fragment to be evaled but
16301 finish_eval=$lt_finish_eval
16303 # Whether we should hardcode library paths into libraries.
16304 hardcode_into_libs=$hardcode_into_libs
16306 # Compile-time system search path for libraries.
16307 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16309 # Run-time system search path for libraries.
16310 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16312 # Whether dlopen is supported.
16313 dlopen_support=$enable_dlopen
16315 # Whether dlopen of programs is supported.
16316 dlopen_self=$enable_dlopen_self
16318 # Whether dlopen of statically linked programs is supported.
16319 dlopen_self_static=$enable_dlopen_self_static
16321 # Commands to strip libraries.
16322 old_striplib=$lt_old_striplib
16323 striplib=$lt_striplib
16326 # The linker used to build libraries.
16329 # How to create reloadable object files.
16330 reload_flag=$lt_reload_flag
16331 reload_cmds=$lt_reload_cmds
16333 # Commands used to build an old-style archive.
16334 old_archive_cmds=$lt_old_archive_cmds
16336 # A language specific compiler.
16339 # Is the compiler the GNU compiler?
16342 # Compiler flag to turn off builtin functions.
16343 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16345 # How to pass a linker flag through the compiler.
16346 wl=$lt_lt_prog_compiler_wl
16348 # Additional compiler flags for building library objects.
16349 pic_flag=$lt_lt_prog_compiler_pic
16351 # Compiler flag to prevent dynamic linking.
16352 link_static_flag=$lt_lt_prog_compiler_static
16354 # Does compiler simultaneously support -c and -o options?
16355 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16357 # Whether or not to add -lc for building shared libraries.
16358 build_libtool_need_lc=$archive_cmds_need_lc
16360 # Whether or not to disallow shared libs when runtime libs are static.
16361 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16363 # Compiler flag to allow reflexive dlopens.
16364 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16366 # Compiler flag to generate shared objects directly from archives.
16367 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16369 # Whether the compiler copes with passing no objects directly.
16370 compiler_needs_object=$lt_compiler_needs_object
16372 # Create an old-style archive from a shared archive.
16373 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16375 # Create a temporary old-style archive to link instead of a shared archive.
16376 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16378 # Commands used to build a shared archive.
16379 archive_cmds=$lt_archive_cmds
16380 archive_expsym_cmds=$lt_archive_expsym_cmds
16382 # Commands used to build a loadable module if different from building
16383 # a shared archive.
16384 module_cmds=$lt_module_cmds
16385 module_expsym_cmds=$lt_module_expsym_cmds
16387 # Whether we are building with GNU ld or not.
16388 with_gnu_ld=$lt_with_gnu_ld
16390 # Flag that allows shared libraries with undefined symbols to be built.
16391 allow_undefined_flag=$lt_allow_undefined_flag
16393 # Flag that enforces no undefined symbols.
16394 no_undefined_flag=$lt_no_undefined_flag
16396 # Flag to hardcode \$libdir into a binary during linking.
16397 # This must work even if \$libdir does not exist
16398 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16400 # If ld is used when linking, flag to hardcode \$libdir into a binary
16401 # during linking. This must work even if \$libdir does not exist.
16402 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16404 # Whether we need a single "-rpath" flag with a separated argument.
16405 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16407 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16408 # DIR into the resulting binary.
16409 hardcode_direct=$hardcode_direct
16411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16412 # DIR into the resulting binary and the resulting library dependency is
16413 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16414 # library is relocated.
16415 hardcode_direct_absolute=$hardcode_direct_absolute
16417 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16418 # into the resulting binary.
16419 hardcode_minus_L=$hardcode_minus_L
16421 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16422 # into the resulting binary.
16423 hardcode_shlibpath_var=$hardcode_shlibpath_var
16425 # Set to "yes" if building a shared library automatically hardcodes DIR
16426 # into the library and all subsequent libraries and executables linked
16428 hardcode_automatic=$hardcode_automatic
16430 # Set to yes if linker adds runtime paths of dependent libraries
16431 # to runtime path list.
16432 inherit_rpath=$inherit_rpath
16434 # Whether libtool must link a program against all its dependency libraries.
16435 link_all_deplibs=$link_all_deplibs
16437 # Fix the shell variable \$srcfile for the compiler.
16438 fix_srcfile_path=$lt_fix_srcfile_path
16440 # Set to "yes" if exported symbols are required.
16441 always_export_symbols=$always_export_symbols
16443 # The commands to list exported symbols.
16444 export_symbols_cmds=$lt_export_symbols_cmds
16446 # Symbols that should not be listed in the preloaded symbols.
16447 exclude_expsyms=$lt_exclude_expsyms
16449 # Symbols that must always be exported.
16450 include_expsyms=$lt_include_expsyms
16452 # Commands necessary for linking programs (against libraries) with templates.
16453 prelink_cmds=$lt_prelink_cmds
16455 # Specify filename containing input files.
16456 file_list_spec=$lt_file_list_spec
16458 # How to hardcode a shared library path into an executable.
16459 hardcode_action=$hardcode_action
16461 # ### END LIBTOOL CONFIG
16467 cat <<\_LT_EOF
>> "$cfgfile"
16468 # AIX sometimes has problems with the GCC collect2 program. For some
16469 # reason, if we set the COLLECT_NAMES environment variable, the problems
16470 # vanish in a puff of smoke.
16471 if test "X${COLLECT_NAMES+set}" != Xset
; then
16473 export COLLECT_NAMES
16480 ltmain
="$ac_aux_dir/ltmain.sh"
16483 # We use sed instead of cat because bash on DJGPP gets confused if
16484 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16485 # text mode, it properly converts lines to CR/LF. This bash problem
16486 # is reportedly fixed, but why not run on old versions too?
16487 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16488 ||
(rm -f "$cfgfile"; exit 1)
16492 cat << \_LT_EOF
>> "$cfgfile"
16494 # func_dirname file append nondir_replacement
16495 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16496 # otherwise set result to NONDIR_REPLACEMENT.
16500 */*) func_dirname_result
="${1%/*}${2}" ;;
16501 * ) func_dirname_result
="${3}" ;;
16505 # func_basename file
16508 func_basename_result
="${1##*/}"
16511 # func_dirname_and_basename file append nondir_replacement
16512 # perform func_basename and func_dirname in a single function
16514 # dirname: Compute the dirname of FILE. If nonempty,
16515 # add APPEND to the result, otherwise set result
16516 # to NONDIR_REPLACEMENT.
16517 # value returned in "$func_dirname_result"
16518 # basename: Compute filename of FILE.
16519 # value retuned in "$func_basename_result"
16520 # Implementation must be kept synchronized with func_dirname
16521 # and func_basename. For efficiency, we do not delegate to
16522 # those functions but instead duplicate the functionality here.
16523 func_dirname_and_basename
()
16526 */*) func_dirname_result
="${1%/*}${2}" ;;
16527 * ) func_dirname_result
="${3}" ;;
16529 func_basename_result
="${1##*/}"
16532 # func_stripname prefix suffix name
16533 # strip PREFIX and SUFFIX off of NAME.
16534 # PREFIX and SUFFIX must not contain globbing or regex special
16535 # characters, hashes, percent signs, but SUFFIX may contain a leading
16536 # dot (in which case that matches only a dot).
16539 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16540 # positional parameters, so assign one to ordinary parameter first.
16541 func_stripname_result
=${3}
16542 func_stripname_result
=${func_stripname_result#"${1}"}
16543 func_stripname_result
=${func_stripname_result%"${2}"}
16549 func_opt_split_opt
=${1%%=*}
16550 func_opt_split_arg
=${1#*=}
16557 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16558 *) func_lo2o_result
=${1} ;;
16562 # func_xform libobj-or-source
16565 func_xform_result
=${1%.*}.lo
16568 # func_arith arithmetic-term...
16571 func_arith_result
=$
(( $
* ))
16575 # STRING may not start with a hyphen.
16578 func_len_result
=${#1}
16583 *) # Bourne compatible functions.
16584 cat << \_LT_EOF
>> "$cfgfile"
16586 # func_dirname file append nondir_replacement
16587 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16588 # otherwise set result to NONDIR_REPLACEMENT.
16591 # Extract subdirectory from the argument.
16592 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16593 if test "X$func_dirname_result" = "X${1}"; then
16594 func_dirname_result
="${3}"
16596 func_dirname_result
="$func_dirname_result${2}"
16600 # func_basename file
16603 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16607 # func_stripname prefix suffix name
16608 # strip PREFIX and SUFFIX off of NAME.
16609 # PREFIX and SUFFIX must not contain globbing or regex special
16610 # characters, hashes, percent signs, but SUFFIX may contain a leading
16611 # dot (in which case that matches only a dot).
16612 # func_strip_suffix prefix name
16616 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16617 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16622 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16623 my_sed_long_arg
='1s/^-[^=]*=//'
16628 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16629 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16635 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16638 # func_xform libobj-or-source
16641 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16644 # func_arith arithmetic-term...
16647 func_arith_result
=`expr "$@"`
16651 # STRING may not start with a hyphen.
16654 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16660 case $lt_shell_append in
16662 cat << \_LT_EOF
>> "$cfgfile"
16664 # func_append var value
16665 # Append VALUE to the end of shell variable VAR.
16673 cat << \_LT_EOF
>> "$cfgfile"
16675 # func_append var value
16676 # Append VALUE to the end of shell variable VAR.
16687 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16688 ||
(rm -f "$cfgfile"; exit 1)
16690 mv -f "$cfgfile" "$ofile" ||
16691 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16696 for ac_file
in $CONFIG_FILES; do
16697 # Support "outfile[:infile[:infile...]]"
16699 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16701 # PO directories have a Makefile.in generated from Makefile.in.in.
16702 case "$ac_file" in */Makefile.
in)
16703 # Adjust a relative srcdir.
16704 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16705 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
16706 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16707 # In autoconf-2.13 it is called $ac_given_srcdir.
16708 # In autoconf-2.50 it is called $srcdir.
16709 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16710 case "$ac_given_srcdir" in
16711 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16712 /*) top_srcdir
="$ac_given_srcdir" ;;
16713 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16715 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16716 rm -f "$ac_dir/POTFILES"
16717 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16718 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16719 POMAKEFILEDEPS
="POTFILES.in"
16720 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16721 # on $ac_dir but don't depend on user-specified configuration
16723 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16724 # The LINGUAS file contains the set of available languages.
16725 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16726 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
16728 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16729 # Hide the ALL_LINGUAS assigment from automake.
16730 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16731 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16733 # The set of available languages was given in configure.ac.
16734 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16736 case "$ac_given_srcdir" in
16738 *) srcdirpre
='$(srcdir)/' ;;
16744 for lang
in $ALL_LINGUAS; do
16745 POFILES
="$POFILES $srcdirpre$lang.po"
16746 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16747 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16748 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16750 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16751 # environment variable.
16753 if test -n "$ALL_LINGUAS"; then
16754 for presentlang
in $ALL_LINGUAS; do
16756 if test "%UNSET%" != "$LINGUAS"; then
16757 desiredlanguages
="$LINGUAS"
16759 desiredlanguages
="$ALL_LINGUAS"
16761 for desiredlang
in $desiredlanguages; do
16762 # Use the presentlang catalog if desiredlang is
16763 # a. equal to presentlang, or
16764 # b. a variant of presentlang (because in this case,
16765 # presentlang can be used as a fallback for messages
16766 # which are not translated in the desiredlang catalog).
16767 case "$desiredlang" in
16768 "$presentlang"*) useit
=yes;;
16771 if test $useit = yes; then
16772 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16777 if test -n "$INST_LINGUAS"; then
16778 for lang
in $INST_LINGUAS; do
16779 CATALOGS
="$CATALOGS $lang.gmo"
16782 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16783 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16784 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16785 if test -f "$f"; then
16787 *.orig |
*.bak |
*~
) ;;
16788 *) cat "$f" >> "$ac_dir/Makefile" ;;
16796 "default":C
) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
16797 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
16798 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
16799 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
16800 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
16801 if test "x$cgen_cpu_prefix" != x
; then
16802 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
16811 ac_clean_files
=$ac_clean_files_save
16813 test $ac_write_fail = 0 ||
16814 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16817 # configure is writing to config.log, and then calls config.status.
16818 # config.status does its own redirection, appending to config.log.
16819 # Unfortunately, on DOS this fails, as config.log is still kept open
16820 # by configure, so config.status won't be able to write to it; its
16821 # output is simply discarded. So we exec the FD to /dev/null,
16822 # effectively closing config.log, so it can be properly (re)opened and
16823 # appended to by config.status. When coming back to configure, we
16824 # need to make the FD available again.
16825 if test "$no_create" != yes; then
16827 ac_config_status_args
=
16828 test "$silent" = yes &&
16829 ac_config_status_args
="$ac_config_status_args --quiet"
16831 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16833 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16834 # would make configure fail if this is the last instruction.
16835 $ac_cs_success || as_fn_exit
1
16837 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16839 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16844 touch config.status.tmp
16845 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
16846 sed '/as_fn_exit 0/i \
16847 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
16848 touch --reference=Makefile Makefile.tmp \
16849 mv Makefile.tmp Makefile \
16850 ' config.status
> config.status.tmp
16851 touch --reference=config.status config.status.tmp
16852 mv config.status.tmp config.status
16853 chmod +x config.status
16854 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
16855 touch --reference=Makefile Makefile.tmp
16856 mv Makefile.tmp Makefile
16858 rm -f config.status.tmp