2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gas 2.32.51.
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.32.51'
591 PACKAGE_STRING
='gas 2.32.51'
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
643 MAINTAINER_MODE_FALSE
676 WARN_CFLAGS_FOR_BUILD
720 INSTALL_STRIP_PROGRAM
782 program_transform_name
795 enable_option_checking
796 enable_dependency_tracking
808 enable_compressed_debug_sections
809 enable_x86_relax_relocations
810 enable_elf_stt_common
811 enable_generate_build_notes
812 enable_mips_fix_loongson3_llsc
814 enable_default_riscv_attribute
816 enable_build_warnings
819 enable_maintainer_mode
822 ac_precious_vars
='build_alias
835 # Initialize some variables set by options.
837 ac_init_version
=false
838 ac_unrecognized_opts
=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
849 program_transform_name
=s
,x
,x
,
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir
='${exec_prefix}/bin'
864 sbindir
='${exec_prefix}/sbin'
865 libexecdir
='${exec_prefix}/libexec'
866 datarootdir
='${prefix}/share'
867 datadir
='${datarootdir}'
868 sysconfdir
='${prefix}/etc'
869 sharedstatedir
='${prefix}/com'
870 localstatedir
='${prefix}/var'
871 runstatedir
='${localstatedir}/run'
872 includedir
='${prefix}/include'
873 oldincludedir
='/usr/include'
874 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir
='${datarootdir}/info'
880 libdir
='${exec_prefix}/lib'
881 localedir
='${datarootdir}/locale'
882 mandir
='${datarootdir}/man'
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\
$ac_option
896 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error $?
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error $?
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1125 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1126 |
--run |
--ru |
--r)
1127 ac_prev
=runstatedir
;;
1128 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1129 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1130 |
--run=* |
--ru=* |
--r=*)
1131 runstatedir
=$ac_optarg ;;
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 runstatedir
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.32.51 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 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1424 --libdir=DIR object code libraries [EPREFIX/lib]
1425 --includedir=DIR C header files [PREFIX/include]
1426 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1427 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1428 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1429 --infodir=DIR info documentation [DATAROOTDIR/info]
1430 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1431 --mandir=DIR man documentation [DATAROOTDIR/man]
1432 --docdir=DIR documentation root [DATAROOTDIR/doc/gas]
1433 --htmldir=DIR html documentation [DOCDIR]
1434 --dvidir=DIR dvi documentation [DOCDIR]
1435 --pdfdir=DIR pdf documentation [DOCDIR]
1436 --psdir=DIR ps documentation [DOCDIR]
1442 --program-prefix=PREFIX prepend PREFIX to installed program names
1443 --program-suffix=SUFFIX append SUFFIX to installed program names
1444 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1447 --build=BUILD configure
for building on BUILD
[guessed
]
1448 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1449 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1453 if test -n "$ac_init_help"; then
1454 case $ac_init_help in
1455 short | recursive
) echo "Configuration of gas 2.32.51:";;
1460 --disable-option-checking ignore unrecognized
--enable/--with options
1461 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1462 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1463 --enable-dependency-tracking
1464 do not reject slow dependency extractors
1465 --disable-dependency-tracking
1466 speeds up one-time build
1467 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1468 --disable-silent-rules verbose build output
(undo
: "make V=0")
1469 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1470 --enable-static[=PKGS
] build static libraries
[default
=yes]
1471 --enable-fast-install[=PKGS
]
1472 optimize
for fast installation
[default
=yes]
1473 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1474 --enable-plugins Enable support
for plugins
1475 --disable-largefile omit support
for large files
1476 --enable-targets alternative target configurations besides the primary
1477 --enable-checking enable run-time checks
1478 --enable-compressed-debug-sections={all
,gas
,none
}
1479 compress debug sections by default
1480 --enable-x86-relax-relocations
1481 generate x86 relax relocations by default
1482 --enable-elf-stt-common generate ELF common symbols with STT_COMMON
type by
1484 --enable-generate-build-notes
1485 generate GNU Build notes
if none are provided by the
1487 --enable-mips-fix-loongson3-llsc
1488 enable MIPS fix Loongson3 LLSC errata
1489 --enable-x86-used-note generate GNU x86 used ISA and feature properties
1490 --enable-default-riscv-attribute
1491 generate RISC-V arch attribute by default
1492 --enable-werror treat compile warnings as errors
1493 --enable-build-warnings enable build-time compiler warnings
1494 --disable-nls do not use Native Language Support
1495 --enable-maintainer-mode
1496 enable make rules and dependencies not useful
(and
1497 sometimes confusing
) to the casual installer
1500 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1501 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1502 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1504 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1505 --with-cpu=CPU default cpu variant is CPU
(currently only supported
1507 --with-system-zlib use installed libz
1509 Some influential environment variables
:
1510 CC C compiler
command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1513 nonstandard directory
<lib dir
>
1514 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1515 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1516 you have headers
in a nonstandard directory
<include dir
>
1518 YACC The
`Yet Another Compiler Compiler' implementation to use.
1519 Defaults to the first program found out of: `bison
-y', `byacc',
1521 YFLAGS The list of arguments that will be passed by default to $YACC.
1522 This script will default YFLAGS to the empty string to avoid a
1523 default value of `-d' given by some make applications.
1525 Use these variables to override the choices made by `configure' or to
help
1526 it to
find libraries and programs with nonstandard names
/locations.
1528 Report bugs to the package provider.
1533 if test "$ac_init_help" = "recursive"; then
1534 # If there are subdirs, report their specific --help.
1535 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1536 test -d "$ac_dir" ||
1537 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1542 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1544 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1545 # A ".." for each directory in $ac_dir_suffix.
1546 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1547 case $ac_top_builddir_sub in
1548 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1549 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1552 ac_abs_top_builddir
=$ac_pwd
1553 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1554 # for backward compatibility:
1555 ac_top_builddir
=$ac_top_build_prefix
1558 .
) # We are building in place.
1560 ac_top_srcdir
=$ac_top_builddir_sub
1561 ac_abs_top_srcdir
=$ac_pwd ;;
1562 [\\/]* | ?
:[\\/]* ) # Absolute name.
1563 ac_srcdir
=$srcdir$ac_dir_suffix;
1564 ac_top_srcdir
=$srcdir
1565 ac_abs_top_srcdir
=$srcdir ;;
1567 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1568 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1569 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1571 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1573 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1574 # Check for guested configure.
1575 if test -f "$ac_srcdir/configure.gnu"; then
1577 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1578 elif test -f "$ac_srcdir/configure"; then
1580 $SHELL "$ac_srcdir/configure" --help=recursive
1582 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1588 test -n "$ac_init_help" && exit $ac_status
1589 if $ac_init_version; then
1591 gas configure
2.32.51
1592 generated by GNU Autoconf
2.69
1594 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1595 This configure
script is free software
; the Free Software Foundation
1596 gives unlimited permission to copy
, distribute and modify it.
1601 ## ------------------------ ##
1602 ## Autoconf initialization. ##
1603 ## ------------------------ ##
1605 # ac_fn_c_try_compile LINENO
1606 # --------------------------
1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1608 ac_fn_c_try_compile
()
1610 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1611 rm -f conftest.
$ac_objext
1612 if { { ac_try
="$ac_compile"
1614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_compile") 2>conftest.err
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && {
1628 test -z "$ac_c_werror_flag" ||
1629 test ! -s conftest.err
1630 } && test -s conftest.$ac_objext; then :
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1641 } # ac_fn_c_try_compile
1643 # ac_fn_c_try_link LINENO
1644 # -----------------------
1645 # Try to link conftest.$ac_ext, and return whether this succeeded.
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 rm -f conftest.$ac_objext conftest$ac_exeext
1650 if { { ac_try="$ac_link"
1652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1653 *) ac_try_echo
=$ac_try;;
1655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_link") 2>conftest.err
1659 if test -s conftest.err
; then
1660 grep -v '^ *+' conftest.err
>conftest.er1
1661 cat conftest.er1
>&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && {
1666 test -z "$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1668 } && test -s conftest
$ac_exeext && {
1669 test "$cross_compiling" = yes ||
1670 test -x conftest
$ac_exeext
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.
$ac_ext >&5
1679 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1680 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1681 # interfere with the next link command; also delete a directory that is
1682 # left behind by Apple's compiler. We do this before executing the actions.
1683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status
$ac_retval
1687 } # ac_fn_c_try_link
1689 # ac_fn_c_try_cpp LINENO
1690 # ----------------------
1691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1695 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } > conftest.i && {
1711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status $ac_retval
1726 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1727 # -------------------------------------------------------
1728 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1729 # the include files in INCLUDES and setting the cache variable VAR
1731 ac_fn_c_check_header_mongrel ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 if eval \${$3+:} false; then :
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval \${$3+:} false; then :
1738 $as_echo_n "(cached) " >&6
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1744 # Is the header compilable?
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1746 $as_echo_n "checking $2 usability... " >&6; }
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1753 ac_header_compiler=yes
1755 ac_header_compiler=no
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1759 $as_echo "$ac_header_compiler" >&6; }
1761 # Is the header present?
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1763 $as_echo_n "checking $2 presence... " >&6; }
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1768 if ac_fn_c_try_cpp "$LINENO"; then :
1769 ac_header_preproc=yes
1771 ac_header_preproc=no
1773 rm -f conftest.err conftest.i conftest.$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1775 $as_echo "$ac_header_preproc" >&6; }
1777 # So? What about this header?
1778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1781 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1783 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1787 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1789 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1791 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1793 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1803 eval "$3=\$ac_header_compiler"
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 } # ac_fn_c_check_header_mongrel
1813 # ac_fn_c_try_run LINENO
1814 # ----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1816 # that executables *can* be run.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if { { ac_try="$ac_link"
1822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1823 *) ac_try_echo
=$ac_try;;
1825 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_link") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1831 { { case "(($ac_try" in
1832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_try") 2>&5
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; }; }; then :
1843 $as_echo "$as_me: program exited with status $ac_status" >&5
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1847 ac_retval=$ac_status
1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 as_fn_set_status $ac_retval
1855 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1856 # -------------------------------------------------------
1857 # Tests whether HEADER exists and can be compiled using the include files in
1858 # INCLUDES, setting the cache variable VAR accordingly.
1859 ac_fn_c_check_header_compile ()
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if eval \${$3+:} false; then :
1865 $as_echo_n "(cached) " >&6
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1872 if ac_fn_c_try_compile "$LINENO"; then :
1877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_header_compile
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901 #define $2 innocuous_$2
1903 /* System header to define __stub macros and hopefully few prototypes,
1904 which can conflict with char $2 (); below.
1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906 <limits.h> exists even on freestanding compilers. */
1909 # include <limits.h>
1911 # include <assert.h>
1916 /* Override any GCC internal prototype to avoid an error.
1917 Use char because int might match the return type of a GCC
1918 builtin and then its argument prototype would still apply. */
1923 /* The GNU C library defines this for functions which it implements
1924 to always fail with ENOSYS. Some functions are actually named
1925 something starting with __ and the normal name is an alias. */
1926 #if defined __stub_$2 || defined __stub___$2
1938 if ac_fn_c_try_link "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext \
1944 conftest$ac_exeext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_func
1953 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1954 # -------------------------------------------
1955 # Tests whether TYPE exists after having included INCLUDES, setting cache
1956 # variable VAR accordingly.
1957 ac_fn_c_check_type ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if eval \${$3+:} false; then :
1963 $as_echo_n "(cached) " >&6
1966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1978 if ac_fn_c_try_compile "$LINENO"; then :
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1991 if ac_fn_c_try_compile "$LINENO"; then :
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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_type
2007 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2008 # ---------------------------------------------
2009 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2011 ac_fn_c_check_decl ()
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2015 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2017 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2018 if eval \${$3+:} false; then :
2019 $as_echo_n "(cached) " >&6
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2027 #ifndef $as_decl_name
2029 (void) $as_decl_use;
2031 (void) $as_decl_name;
2039 if ac_fn_c_try_compile "$LINENO"; then :
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051 } # ac_fn_c_check_decl
2052 cat >config.log <<_ACEOF
2053 This file contains any messages produced by compilers while
2054 running configure, to aid debugging if configure makes a mistake.
2056 It was created by gas $as_me 2.32.51, which was
2057 generated by GNU Autoconf 2.69. Invocation command line was
2069 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2070 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2071 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2072 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2073 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2075 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2076 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2078 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2079 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2080 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2081 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2082 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2083 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2084 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 $as_echo "PATH: $as_dir"
2109 # Keep a trace of the command line.
2110 # Strip out --no-create and --no-recursion so they do not pile up.
2111 # Strip out --silent because we don't want to record it for future runs.
2112 # Also quote any args containing shell meta-characters.
2113 # Make two passes to allow for proper duplicate-argument suppression.
2117 ac_must_keep_next=false
2123 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2125 | -silent | --silent | --silen | --sile | --sil)
2128 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2131 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2133 as_fn_append ac_configure_args1 " '$ac_arg'"
2134 if test $ac_must_keep_next = true; then
2135 ac_must_keep_next=false # Got value, back to normal.
2138 *=* | --config-cache | -C | -disable-* | --disable-* \
2139 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2140 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2141 | -with-* | --with-* | -without-* | --without-* | --x)
2142 case "$ac_configure_args0 " in
2143 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2146 -* ) ac_must_keep_next=true ;;
2149 as_fn_append ac_configure_args " '$ac_arg'"
2154 { ac_configure_args0=; unset ac_configure_args0;}
2155 { ac_configure_args1=; unset ac_configure_args1;}
2157 # When interrupted or exit'd, cleanup temporary files, and complete
2158 # config.log. We remove comments because anyway the quotes in there
2159 # would cause problems or look ugly.
2160 # WARNING: Use '\'' to represent an apostrophe within the trap.
2161 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2162 trap 'exit_status=$?
2163 # Save into config.log some information that might help in debugging.
2167 $as_echo "## ---------------- ##
2168 ## Cache variables. ##
2169 ## ---------------- ##"
2171 # The following way of writing the cache mishandles newlines in values,
2173 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2174 eval ac_val=\$$ac_var
2178 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2179 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2182 _ | IFS | as_nl) ;; #(
2183 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2184 *) { eval $ac_var=; unset $ac_var;} ;;
2189 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2190 *${as_nl}ac_space=\ *)
2192 "s/'\''/'\''\\\\'\'''\''/g;
2193 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2196 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2203 $as_echo "## ----------------- ##
2204 ## Output variables. ##
2205 ## ----------------- ##"
2207 for ac_var in $ac_subst_vars
2209 eval ac_val=\$$ac_var
2211 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2213 $as_echo "$ac_var='\''$ac_val'\''"
2217 if test -n "$ac_subst_files"; then
2218 $as_echo "## ------------------- ##
2219 ## File substitutions. ##
2220 ## ------------------- ##"
2222 for ac_var in $ac_subst_files
2224 eval ac_val=\$$ac_var
2226 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 $as_echo "$ac_var='\''$ac_val'\''"
2233 if test -s confdefs.h; then
2234 $as_echo "## ----------- ##
2241 test "$ac_signal" != 0 &&
2242 $as_echo "$as_me: caught signal $ac_signal"
2243 $as_echo "$as_me: exit $exit_status"
2245 rm -f core *.core core.conftest.* &&
2246 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2249 for ac_signal in 1 2 13 15; do
2250 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2254 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2255 rm -f -r conftest* confdefs.h
2257 $as_echo "/* confdefs.h */" > confdefs.h
2259 # Predefined preprocessor variables.
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_NAME "$PACKAGE_NAME"
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_STRING "$PACKAGE_STRING"
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_URL "$PACKAGE_URL"
2286 # Let the site file select an alternate cache file if it wants to.
2287 # Prefer an explicitly selected file to automatically selected ones.
2290 if test -n "$CONFIG_SITE"; then
2291 # We do not want a PATH search for config.site.
2292 case $CONFIG_SITE in #((
2293 -*) ac_site_file1=./$CONFIG_SITE;;
2294 */*) ac_site_file1=$CONFIG_SITE;;
2295 *) ac_site_file1=./$CONFIG_SITE;;
2297 elif test "x$prefix" != xNONE; then
2298 ac_site_file1=$prefix/share/config.site
2299 ac_site_file2=$prefix/etc/config.site
2301 ac_site_file1=$ac_default_prefix/share/config.site
2302 ac_site_file2=$ac_default_prefix/etc/config.site
2304 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2306 test "x$ac_site_file" = xNONE && continue
2307 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2309 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2310 sed 's/^/| /' "$ac_site_file" >&5
2312 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2314 as_fn_error $? "failed to load site
script $ac_site_file
2315 See \
`config.log' for more details" "$LINENO" 5; }
2319 if test -r "$cache_file"; then
2320 # Some versions of bash will fail to source /dev/null (special files
2321 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2322 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2324 $as_echo "$as_me: loading cache $cache_file" >&6;}
2326 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2327 *) . "./$cache_file";;
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2332 $as_echo "$as_me: creating cache $cache_file" >&6;}
2336 # Check that the precious variables saved in the cache have kept the same
2338 ac_cache_corrupted=false
2339 for ac_var in $ac_precious_vars; do
2340 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2341 eval ac_new_set=\$ac_env_${ac_var}_set
2342 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2343 eval ac_new_val=\$ac_env_${ac_var}_value
2344 case $ac_old_set,$ac_new_set in
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2347 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2348 ac_cache_corrupted=: ;;
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2351 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2355 if test "x$ac_old_val" != "x$ac_new_val"; then
2356 # differences in whitespace do not lead to failure.
2357 ac_old_val_w=`echo x
$ac_old_val`
2358 ac_new_val_w=`echo x
$ac_new_val`
2359 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2361 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2362 ac_cache_corrupted=:
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2365 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2366 eval $ac_var=\$ac_old_val
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2369 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2371 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2374 # Pass precious variables to config.status.
2375 if test "$ac_new_set" = set; then
2377 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2378 *) ac_arg=$ac_var=$ac_new_val ;;
2380 case " $ac_configure_args " in
2381 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2382 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2386 if $ac_cache_corrupted; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2390 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2391 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2393 ## -------------------- ##
2394 ## Main body of script. ##
2395 ## -------------------- ##
2398 ac_cpp='$CPP $CPPFLAGS'
2399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410 for ac_dir in .. "$srcdir"/..; do
2411 if test -f "$ac_dir/install-sh"; then
2413 ac_install_sh="$ac_aux_dir/install-sh -c"
2415 elif test -f "$ac_dir/install.sh"; then
2417 ac_install_sh="$ac_aux_dir/install.sh -c"
2419 elif test -f "$ac_dir/shtool"; then
2421 ac_install_sh="$ac_aux_dir/shtool install -c"
2425 if test -z "$ac_aux_dir"; then
2426 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2429 # These three variables are undocumented and unsupported,
2430 # and are intended to be withdrawn in a future Autoconf release.
2431 # They can cause serious problems if a builder's source tree is in a directory
2432 # whose full name contains unusual characters.
2433 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2434 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2435 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2438 # Make sure we can run config.sub.
2439 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2440 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2443 $as_echo_n "checking build system type... " >&6; }
2444 if ${ac_cv_build+:} false; then :
2445 $as_echo_n "(cached) " >&6
2447 ac_build_alias=$build_alias
2448 test "x$ac_build_alias" = x &&
2449 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2450 test "x$ac_build_alias" = x &&
2451 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2452 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2453 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2457 $as_echo "$ac_cv_build" >&6; }
2458 case $ac_cv_build in
2460 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2463 ac_save_IFS=$IFS; IFS='-'
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2473 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2477 $as_echo_n "checking host system type... " >&6; }
2478 if ${ac_cv_host+:} false; then :
2479 $as_echo_n "(cached) " >&6
2481 if test "x$host_alias" = x; then
2482 ac_cv_host=$ac_cv_build
2484 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2485 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2490 $as_echo "$ac_cv_host" >&6; }
2493 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2496 ac_save_IFS=$IFS; IFS='-'
2502 # Remember, the first character of IFS is used to create $*,
2503 # except with old shells:
2506 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2510 $as_echo_n "checking target system type... " >&6; }
2511 if ${ac_cv_target+:} false; then :
2512 $as_echo_n "(cached) " >&6
2514 if test "x$target_alias" = x; then
2515 ac_cv_target=$ac_cv_host
2517 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2518 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2523 $as_echo "$ac_cv_target" >&6; }
2524 case $ac_cv_target in
2526 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2528 target=$ac_cv_target
2529 ac_save_IFS=$IFS; IFS='-'
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2539 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2542 # The aliases save the names the user supplied, while $host etc.
2543 # will get canonicalized.
2544 test -n "$target_alias" &&
2545 test "$program_prefix$program_suffix$program_transform_name" = \
2547 program_prefix=${target_alias}-
2548 # Expand $ac_aux_dir to an absolute path.
2549 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2552 ac_cpp='$CPP $CPPFLAGS'
2553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if ${ac_cv_prog_CC+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC="$CC" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 if test -n "$CC"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2587 $as_echo "$CC" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2595 if test -z "$ac_cv_prog_CC"; then
2597 # Extract the first word of "gcc", so it can be a program name with args.
2598 set dummy gcc; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$ac_ct_CC"; then
2605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614 ac_cv_prog_ac_ct_CC="gcc"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2625 if test -n "$ac_ct_CC"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2627 $as_echo "$ac_ct_CC" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2633 if test "x$ac_ct_CC" = x; then
2636 case $cross_compiling:$ac_tool_warned in
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2640 ac_tool_warned=yes ;;
2648 if test -z "$CC"; then
2649 if test -n "$ac_tool_prefix"; then
2650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2651 set dummy ${ac_tool_prefix}cc; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_CC+:} false; then :
2655 $as_echo_n "(cached) " >&6
2657 if test -n "$CC"; then
2658 ac_cv_prog_CC="$CC" # Let the user override the test.
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_CC="${ac_tool_prefix}cc"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test -n "$CC"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2680 $as_echo "$CC" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2689 if test -z "$CC"; then
2690 # Extract the first word of "cc", so it can be a program name with args.
2691 set dummy cc; ac_word=$2
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if ${ac_cv_prog_CC+:} false; then :
2695 $as_echo_n "(cached) " >&6
2697 if test -n "$CC"; then
2698 ac_cv_prog_CC="$CC" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2709 ac_prog_rejected=yes
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test $ac_prog_rejected = yes; then
2721 # We found a bogon in the path, so make sure we never use it.
2722 set dummy $ac_cv_prog_CC
2724 if test $# != 0; then
2725 # We chose a different compiler from the bogus one.
2726 # However, it has the same basename, so the bogon will be chosen
2727 # first if we set CC to just the basename; use the full file name.
2729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2735 if test -n "$CC"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2745 if test -z "$CC"; then
2746 if test -n "$ac_tool_prefix"; then
2747 for ac_prog in cl.exe
2749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if ${ac_cv_prog_CC+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 if test -n "$CC"; then
2757 ac_cv_prog_CC="$CC" # Let the user override the test.
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir=.
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test -n "$CC"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2779 $as_echo "$CC" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2786 test -n "$CC" && break
2789 if test -z "$CC"; then
2791 for ac_prog in cl.exe
2793 # Extract the first word of "$ac_prog", so it can be a program name with args.
2794 set dummy $ac_prog; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$ac_ct_CC"; then
2801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_ac_ct_CC="$ac_prog"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2821 if test -n "$ac_ct_CC"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2823 $as_echo "$ac_ct_CC" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2830 test -n "$ac_ct_CC" && break
2833 if test "x$ac_ct_CC" = x; then
2836 case $cross_compiling:$ac_tool_warned in
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2840 ac_tool_warned=yes ;;
2849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2851 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2852 See \
`config.log' for more details" "$LINENO" 5; }
2854 # Provide some information about the compiler.
2855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2858 for ac_option in --version -v -V -qversion; do
2859 { { ac_try="$ac_compiler $ac_option >&5"
2861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2862 *) ac_try_echo
=$ac_try;;
2864 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865 $as_echo "$ac_try_echo"; } >&5
2866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2868 if test -s conftest.err
; then
2870 ... rest of stderr output deleted ...
2871 10q' conftest.err
>conftest.er1
2872 cat conftest.er1
>&5
2874 rm -f conftest.er1 conftest.err
2875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2876 test $ac_status = 0; }
2879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2890 ac_clean_files_save
=$ac_clean_files
2891 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2892 # Try to create an executable without -o first, disregard a.out.
2893 # It will help us diagnose broken compilers, and finding out an intuition
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2896 $as_echo_n "checking whether the C compiler works... " >&6; }
2897 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2899 # The possible output files:
2900 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2903 for ac_file
in $ac_files
2906 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2907 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2912 if { { ac_try
="$ac_link_default"
2914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_link_default") 2>&5
2921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2922 test $ac_status = 0; }; then :
2923 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2924 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2925 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2926 # so that the user can short-circuit this test for compilers unknown to
2928 for ac_file in $ac_files ''
2930 test -f "$ac_file" || continue
2932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2935 # We found the default executable, but exeext='' is most
2939 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2941 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2943 # We set ac_cv_exeext here because the later test for it is not
2944 # safe: cross compilers may not add the suffix if given an `-o'
2945 # argument, so we may need to know it at that point already.
2946 # Even if this section looks crufty: it has the advantage of
2953 test "$ac_cv_exeext" = no && ac_cv_exeext=
2958 if test -z "$ac_file"; then :
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's
/^
/|
/' conftest.$ac_ext >&5
2964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2966 as_fn_error 77 "C compiler cannot create executables
2967 See \`config.log
' for more details" "$LINENO" 5; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2970 $as_echo "yes" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2973 $as_echo_n "checking for C compiler default output file name... " >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2975 $as_echo "$ac_file" >&6; }
2976 ac_exeext=$ac_cv_exeext
2978 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2979 ac_clean_files=$ac_clean_files_save
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2981 $as_echo_n "checking for suffix of executables... " >&6; }
2982 if { { ac_try="$ac_link"
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 $as_echo "$ac_try_echo"; } >&5
2989 (eval "$ac_link") 2>&5
2991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992 test $ac_status = 0; }; then :
2993 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2994 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2995 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2997 for ac_file
in conftest.exe conftest conftest.
*; do
2998 test -f "$ac_file" ||
continue
3000 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3001 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3009 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3010 See \`config.log' for more details" "$LINENO" 5; }
3012 rm -f conftest conftest
$ac_cv_exeext
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3014 $as_echo "$ac_cv_exeext" >&6; }
3016 rm -f conftest.
$ac_ext
3017 EXEEXT
=$ac_cv_exeext
3019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3025 FILE *f = fopen ("conftest.out", "w");
3026 return ferror (f) || fclose (f) != 0;
3032 ac_clean_files
="$ac_clean_files conftest.out"
3033 # Check that the compiler produces executables we can run. If not, either
3034 # the compiler is broken, or we cross compile.
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3036 $as_echo_n "checking whether we are cross compiling... " >&6; }
3037 if test "$cross_compiling" != yes; then
3038 { { ac_try
="$ac_link"
3040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_link") 2>&5
3047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3048 test $ac_status = 0; }
3049 if { ac_try='./conftest$ac_cv_exeext'
3050 { { case "(($ac_try" in
3051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3052 *) ac_try_echo
=$ac_try;;
3054 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3055 $as_echo "$ac_try_echo"; } >&5
3056 (eval "$ac_try") 2>&5
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; }; }; then
3062 if test "$cross_compiling" = maybe
; then
3065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3067 as_fn_error $?
"cannot run C compiled programs.
3068 If you meant to cross compile, use \`--host'.
3069 See \`config.log' for more details" "$LINENO" 5; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3074 $as_echo "$cross_compiling" >&6; }
3076 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3077 ac_clean_files
=$ac_clean_files_save
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3079 $as_echo_n "checking for suffix of object files... " >&6; }
3080 if ${ac_cv_objext+:} false
; then :
3081 $as_echo_n "(cached) " >&6
3083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3094 rm -f conftest.o conftest.obj
3095 if { { ac_try
="$ac_compile"
3097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_compile") 2>&5
3104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105 test $ac_status = 0; }; then :
3106 for ac_file in conftest.o conftest.obj conftest.*; do
3107 test -f "$ac_file" || continue;
3109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3110 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3115 $as_echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.$ac_ext >&5
3118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3120 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3121 See \
`config.log' for more details" "$LINENO" 5; }
3123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3126 $as_echo "$ac_cv_objext" >&6; }
3127 OBJEXT=$ac_cv_objext
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3130 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3131 if ${ac_cv_c_compiler_gnu+:} false; then :
3132 $as_echo_n "(cached) " >&6
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3148 if ac_fn_c_try_compile "$LINENO"; then :
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3158 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3159 if test $ac_compiler_gnu = yes; then
3164 ac_test_CFLAGS=${CFLAGS+set}
3165 ac_save_CFLAGS=$CFLAGS
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3167 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3168 if ${ac_cv_prog_cc_g+:} false; then :
3169 $as_echo_n "(cached) " >&6
3171 ac_save_c_werror_flag=$ac_c_werror_flag
3172 ac_c_werror_flag=yes
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3186 if ac_fn_c_try_compile "$LINENO"; then :
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h. */
3201 if ac_fn_c_try_compile "$LINENO"; then :
3204 ac_c_werror_flag=$ac_save_c_werror_flag
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 if ac_fn_c_try_compile "$LINENO"; then :
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 ac_c_werror_flag=$ac_save_c_werror_flag
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3228 $as_echo "$ac_cv_prog_cc_g" >&6; }
3229 if test "$ac_test_CFLAGS" = set; then
3230 CFLAGS=$ac_save_CFLAGS
3231 elif test $ac_cv_prog_cc_g = yes; then
3232 if test "$GCC" = yes; then
3238 if test "$GCC" = yes; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3245 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3246 if ${ac_cv_prog_cc_c89+:} false; then :
3247 $as_echo_n "(cached) " >&6
3249 ac_cv_prog_cc_c89=no
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3257 struct buf { int x; };
3258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3259 static char *e (p, i)
3265 static char *f (char * (*g) (char **, int), char **p, ...)
3270 s = g (p, va_arg (v,int));
3275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3276 function prototypes and stuff, but not '\xHH' hex character constants.
3277 These don't provoke an error unfortunately, instead are silently treated
3278 as 'x'. The following induces an error, until -std is added to get
3279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3280 array size at least. It's necessary to write '\x00'==0 to get something
3281 that's true only with -std. */
3282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3285 inside strings and character constants. */
3287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3289 int test (int i, double x);
3290 struct s1 {int (*f) (int a);};
3291 struct s2 {int (*f) (double a);};
3292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3306 CC="$ac_save_CC $ac_arg"
3307 if ac_fn_c_try_compile "$LINENO"; then :
3308 ac_cv_prog_cc_c89=$ac_arg
3310 rm -f core conftest.err conftest.$ac_objext
3311 test "x$ac_cv_prog_cc_c89" != "xno" && break
3313 rm -f conftest.$ac_ext
3318 case "x$ac_cv_prog_cc_c89" in
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3321 $as_echo "none needed" >&6; } ;;
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3324 $as_echo "unsupported" >&6; } ;;
3326 CC="$CC $ac_cv_prog_cc_c89"
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3330 if test "x$ac_cv_prog_cc_c89" != xno; then :
3335 ac_cpp='$CPP $CPPFLAGS'
3336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3341 ac_cpp='$CPP $CPPFLAGS'
3342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3346 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3347 if ${am_cv_prog_cc_c_o+:} false; then :
3348 $as_echo_n "(cached) " >&6
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 # Make sure it works both with $CC and with simple cc.
3362 # Following AC_PROG_CC_C_O, we do the test twice because some
3363 # compilers refuse to overwrite an existing .o file with -o,
3364 # though they will create one.
3365 am_cv_prog_cc_c_o=yes
3367 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3368 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); } \
3372 && test -f conftest2.$ac_objext; then
3375 am_cv_prog_cc_c_o=no
3379 rm -f core conftest*
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3383 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3384 if test "$am_cv_prog_cc_c_o" != yes; then
3385 # Losing compiler, so override with the script.
3386 # FIXME: It is wrong to rewrite CC.
3387 # But if we don't then we get into trouble of one sort or another.
3388 # A longer-term fix would be to have automake use am__CC in this case,
3389 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3390 CC="$am_aux_dir/compile $CC"
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3401 $as_echo_n "checking for library containing strerror... " >&6; }
3402 if ${ac_cv_search_strerror+:} false; then :
3403 $as_echo_n "(cached) " >&6
3405 ac_func_search_save_LIBS=$LIBS
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3409 /* Override any GCC internal prototype to avoid an error.
3410 Use char because int might match the return type of a GCC
3411 builtin and then its argument prototype would still apply. */
3424 for ac_lib in '' cposix; do
3425 if test -z "$ac_lib"; then
3426 ac_res="none required"
3429 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3431 if ac_fn_c_try_link "$LINENO"; then :
3432 ac_cv_search_strerror=$ac_res
3434 rm -f core conftest.err conftest.$ac_objext \
3436 if ${ac_cv_search_strerror+:} false; then :
3440 if ${ac_cv_search_strerror+:} false; then :
3443 ac_cv_search_strerror=no
3446 LIBS=$ac_func_search_save_LIBS
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3449 $as_echo "$ac_cv_search_strerror" >&6; }
3450 ac_res=$ac_cv_search_strerror
3451 if test "$ac_res" != no; then :
3452 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3457 am__api_version='1.15'
3459 # Find a good install program. We prefer a C program (faster),
3460 # so one script is as good as another. But avoid the broken or
3461 # incompatible versions:
3462 # SysV /etc/install, /usr/sbin/install
3463 # SunOS /usr/etc/install
3464 # IRIX /sbin/install
3466 # AmigaOS /C/install, which installs bootblocks on floppy discs
3467 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3468 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3469 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3470 # OS/2's system install, which has a completely different semantic
3471 # ./install, which can be erroneously created by make from ./install.sh.
3472 # Reject install programs that cannot install multiple files.
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3474 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3475 if test -z "$INSTALL"; then
3476 if ${ac_cv_path_install+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 test -z "$as_dir" && as_dir=.
3484 # Account for people who put trailing slashes in PATH elements.
3485 case $as_dir/ in #((
3486 ./ | .// | /[cC]/* | \
3487 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3488 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3491 # OSF1 and SCO ODT 3.0 have their own names for install.
3492 # Don't use installbsd from OSF since it installs stuff as root
3494 for ac_prog in ginstall scoinst install; do
3495 for ac_exec_ext in '' $ac_executable_extensions; do
3496 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3497 if test $ac_prog = install &&
3498 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3499 # AIX install. It has an incompatible calling convention.
3501 elif test $ac_prog = install &&
3502 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3503 # program-specific install script used by HP pwplus--don't use.
3506 rm -rf conftest.one conftest.two conftest.dir
3507 echo one > conftest.one
3508 echo two > conftest.two
3510 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3511 test -s conftest.one && test -s conftest.two &&
3512 test -s conftest.dir/conftest.one &&
3513 test -s conftest.dir/conftest.two
3515 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3528 rm -rf conftest.one conftest.two conftest.dir
3531 if test "${ac_cv_path_install+set}" = set; then
3532 INSTALL=$ac_cv_path_install
3534 # As a last resort, use the slow shell script. Don't cache a
3535 # value for INSTALL within a source directory, because that will
3536 # break other packages using the cache if that directory is
3537 # removed, or if the value is a relative name.
3538 INSTALL=$ac_install_sh
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3542 $as_echo "$INSTALL" >&6; }
3544 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3545 # It thinks the first close brace ends the variable substitution.
3546 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3548 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3550 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3553 $as_echo_n "checking whether build environment is sane... " >&6; }
3554 # Reject unsafe characters in $srcdir or the absolute working directory
3555 # name. Accept space and tab only in the latter.
3559 *[\\\"\#\$\&\'\`$am_lf]*)
3560 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3563 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3564 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3567 # Do 'set' in a subshell so we don't clobber the current shell's
3568 # arguments. Must try -L first in case configure is actually a
3569 # symlink; some systems play weird games with the mod time of symlinks
3570 # (eg FreeBSD returns the mod time of the symlink's containing
3574 for am_try
in 1 2; do
3575 echo "timestamp, slept: $am_has_slept" > conftest.
file
3576 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3577 if test "$*" = "X"; then
3579 set X
`ls -t "$srcdir/configure" conftest.file`
3581 if test "$*" != "X $srcdir/configure conftest.file" \
3582 && test "$*" != "X conftest.file $srcdir/configure"; then
3584 # If neither matched, then we have a broken ls. This can happen
3585 # if, for instance, CONFIG_SHELL is bash and it inherits a
3586 # broken ls alias from the environment. This has actually
3587 # happened. Such a system could not be considered "sane".
3588 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3589 alias in your environment" "$LINENO" 5
3591 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3598 test "$2" = conftest.
file
3604 as_fn_error $?
"newly created file is older than distributed files!
3605 Check your system clock" "$LINENO" 5
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3608 $as_echo "yes" >&6; }
3609 # If we didn't sleep, we still need to ensure time stamps of config.status and
3610 # generated files are strictly newer.
3612 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3619 test "$program_prefix" != NONE
&&
3620 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3621 # Use a double $ so make ignores it.
3622 test "$program_suffix" != NONE
&&
3623 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3624 # Double any \ or $.
3625 # By default was `s,x,x', remove it if useless.
3626 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3627 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3629 if test x
"${MISSING+set}" != xset
; then
3632 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3634 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3637 # Use eval to expand $SHELL
3638 if eval "$MISSING --is-lightweight"; then
3639 am_missing_run
="$MISSING "
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3643 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3646 if test x
"${install_sh+set}" != xset
; then
3649 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3651 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3655 # Installed binaries are usually stripped using 'strip' when the user
3656 # run "make install-strip". However 'strip' might not be the right
3657 # tool to use in cross-compilation environments, therefore Automake
3658 # will honor the 'STRIP' environment variable to overrule this program.
3659 if test "$cross_compiling" != no
; then
3660 if test -n "$ac_tool_prefix"; then
3661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3662 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if ${ac_cv_prog_STRIP+:} false
; then :
3666 $as_echo_n "(cached) " >&6
3668 if test -n "$STRIP"; then
3669 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3675 test -z "$as_dir" && as_dir
=.
3676 for ac_exec_ext
in '' $ac_executable_extensions; do
3677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3678 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 STRIP
=$ac_cv_prog_STRIP
3689 if test -n "$STRIP"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3691 $as_echo "$STRIP" >&6; }
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3699 if test -z "$ac_cv_prog_STRIP"; then
3701 # Extract the first word of "strip", so it can be a program name with args.
3702 set dummy strip
; ac_word
=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -n "$ac_ct_STRIP"; then
3709 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3718 ac_cv_prog_ac_ct_STRIP
="strip"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3729 if test -n "$ac_ct_STRIP"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3731 $as_echo "$ac_ct_STRIP" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3737 if test "x$ac_ct_STRIP" = x
; then
3740 case $cross_compiling:$ac_tool_warned in
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3744 ac_tool_warned
=yes ;;
3749 STRIP
="$ac_cv_prog_STRIP"
3753 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3756 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3757 if test -z "$MKDIR_P"; then
3758 if ${ac_cv_path_mkdir+:} false
; then :
3759 $as_echo_n "(cached) " >&6
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3762 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3765 test -z "$as_dir" && as_dir
=.
3766 for ac_prog
in mkdir gmkdir
; do
3767 for ac_exec_ext
in '' $ac_executable_extensions; do
3768 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3769 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3770 'mkdir (GNU coreutils) '* | \
3771 'mkdir (coreutils) '* | \
3772 'mkdir (fileutils) '4.1*)
3773 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3783 test -d .
/--version && rmdir .
/--version
3784 if test "${ac_cv_path_mkdir+set}" = set; then
3785 MKDIR_P
="$ac_cv_path_mkdir -p"
3787 # As a last resort, use the slow shell script. Don't cache a
3788 # value for MKDIR_P within a source directory, because that will
3789 # break other packages using the cache if that directory is
3790 # removed, or if the value is a relative name.
3791 MKDIR_P
="$ac_install_sh -d"
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3795 $as_echo "$MKDIR_P" >&6; }
3797 for ac_prog
in gawk mawk nawk
awk
3799 # Extract the first word of "$ac_prog", so it can be a program name with args.
3800 set dummy
$ac_prog; ac_word
=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_AWK+:} false
; then :
3804 $as_echo_n "(cached) " >&6
3806 if test -n "$AWK"; then
3807 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir
=.
3814 for ac_exec_ext
in '' $ac_executable_extensions; do
3815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_AWK
="$ac_prog"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 if test -n "$AWK"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3829 $as_echo "$AWK" >&6; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3836 test -n "$AWK" && break
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3840 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3842 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3843 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3844 $as_echo_n "(cached) " >&6
3846 cat >conftest.
make <<\_ACEOF
3849 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3851 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3852 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3854 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3856 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3860 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3862 $as_echo "yes" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3867 SET_MAKE
="MAKE=${MAKE-make}"
3870 rm -rf .tst
2>/dev
/null
3871 mkdir .tst
2>/dev
/null
3872 if test -d .tst
; then
3877 rmdir .tst
2>/dev
/null
3879 DEPDIR
="${am__leading_dot}deps"
3881 ac_config_commands
="$ac_config_commands depfiles"
3884 am_make
=${MAKE-make}
3885 cat > confinc
<< 'END'
3887 @
echo this is the am__doit target
3890 # If we don't find an include directive, just comment out the code.
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3892 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3896 # First try GNU make style include.
3897 echo "include confinc" > confmf
3898 # Ignore all kinds of additional output from 'make'.
3899 case `$am_make -s -f confmf 2> /dev/null` in #(
3900 *the\ am__doit\ target
*)
3906 # Now try BSD make style include.
3907 if test "$am__include" = "#"; then
3908 echo '.include "confinc"' > confmf
3909 case `$am_make -s -f confmf 2> /dev/null` in #(
3910 *the\ am__doit\ target
*)
3911 am__include
=.include
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3920 $as_echo "$_am_result" >&6; }
3921 rm -f confinc confmf
3923 # Check whether --enable-dependency-tracking was given.
3924 if test "${enable_dependency_tracking+set}" = set; then :
3925 enableval
=$enable_dependency_tracking;
3928 if test "x$enable_dependency_tracking" != xno
; then
3929 am_depcomp
="$ac_aux_dir/depcomp"
3933 if test "x$enable_dependency_tracking" != xno; then
3942 # Check whether --enable-silent-rules was given.
3943 if test "${enable_silent_rules+set}" = set; then :
3944 enableval
=$enable_silent_rules;
3947 case $enable_silent_rules in # (((
3948 yes) AM_DEFAULT_VERBOSITY
=0;;
3949 no
) AM_DEFAULT_VERBOSITY
=1;;
3950 *) AM_DEFAULT_VERBOSITY
=1;;
3952 am_make
=${MAKE-make}
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3954 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3955 if ${am_cv_make_support_nested_variables+:} false
; then :
3956 $as_echo_n "(cached) " >&6
3958 if $as_echo 'TRUE=$(BAR$(V))
3964 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3965 am_cv_make_support_nested_variables
=yes
3967 am_cv_make_support_nested_variables
=no
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3971 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3972 if test $am_cv_make_support_nested_variables = yes; then
3974 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3976 AM_V
=$AM_DEFAULT_VERBOSITY
3977 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3981 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3982 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3983 # is not polluted with repeated "-I."
3984 am__isrc
=' -I$(srcdir)'
3985 # test to see if srcdir already configured
3986 if test -f $srcdir/config.status
; then
3987 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3991 # test whether we have cygpath
3992 if test -z "$CYGPATH_W"; then
3993 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3994 CYGPATH_W
='cygpath -w'
4001 # Define the identity of the package.
4006 cat >>confdefs.h
<<_ACEOF
4007 #define PACKAGE "$PACKAGE"
4011 cat >>confdefs.h
<<_ACEOF
4012 #define VERSION "$VERSION"
4015 # Some tools Automake needs.
4017 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4020 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4023 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4026 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4029 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4031 # For better backward compatibility. To be removed once Automake 1.9.x
4032 # dies out for good. For more background, see:
4033 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4034 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4035 mkdir_p
='$(MKDIR_P)'
4037 # We need awk for the "check" target (and possibly the TAP driver). The
4038 # system "awk" is bad on some platforms.
4039 # Always define AMTAR for backward compatibility. Yes, it's still used
4040 # in the wild :-( We should find a proper way to deprecate it ...
4044 # We'll loop over all known methods to create a tar archive until one works.
4045 _am_tools
='gnutar pax cpio none'
4047 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4053 depcc
="$CC" am_compiler_list
=
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4056 $as_echo_n "checking dependency style of $depcc... " >&6; }
4057 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4058 $as_echo_n "(cached) " >&6
4060 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4061 # We make a subdir and do the tests there. Otherwise we can end up
4062 # making bogus files that we don't know about and never remove. For
4063 # instance it was reported that on HP-UX the gcc test will end up
4064 # making a dummy file named 'D' -- because '-MD' means "put the output
4068 # Copy depcomp to subdir because otherwise we won't find it if we're
4069 # using a relative directory.
4070 cp "$am_depcomp" conftest.dir
4072 # We will build objects and dependencies in a subdirectory because
4073 # it helps to detect inapplicable dependency modes. For instance
4074 # both Tru64's cc and ICC support -MD to output dependencies as a
4075 # side effect of compilation, but ICC will put the dependencies in
4076 # the current directory while Tru64 will put them in the object
4080 am_cv_CC_dependencies_compiler_type
=none
4081 if test "$am_compiler_list" = ""; then
4082 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4085 case " $depcc " in #(
4086 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4089 for depmode
in $am_compiler_list; do
4090 # Setup a source with many dependencies, because some compilers
4091 # like to wrap large dependency lists on column 80 (with \), and
4092 # we should not choose a depcomp mode which is confused by this.
4094 # We need to recreate these files for each test, as the compiler may
4095 # overwrite some of them when testing with obscure command lines.
4096 # This happens at least with the AIX C compiler.
4098 for i
in 1 2 3 4 5 6; do
4099 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4100 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4101 # Solaris 10 /bin/sh.
4102 echo '/* dummy */' > sub
/conftst
$i.h
4104 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4106 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4107 # mode. It turns out that the SunPro C++ compiler does not properly
4108 # handle '-M -o', and we need to detect this. Also, some Intel
4109 # versions had trouble with output in subdirs.
4110 am__obj
=sub
/conftest.
${OBJEXT-o}
4111 am__minus_obj
="-o $am__obj"
4114 # This depmode causes a compiler race in universal mode.
4115 test "$am__universal" = false ||
continue
4118 # After this tag, mechanisms are not by side-effect, so they'll
4119 # only be used when explicitly requested.
4120 if test "x$enable_dependency_tracking" = xyes
; then
4126 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4127 # This compiler won't grok '-c -o', but also, the minuso test has
4128 # not run yet. These depmodes are late enough in the game, and
4129 # so weak that their functioning should not be impacted.
4130 am__obj
=conftest.
${OBJEXT-o}
4135 if depmode
=$depmode \
4136 source=sub
/conftest.c object
=$am__obj \
4137 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4138 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4139 >/dev
/null
2>conftest.err
&&
4140 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4141 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4142 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4143 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4144 # icc doesn't choke on unknown options, it will just issue warnings
4145 # or remarks (even with -Werror). So we grep stderr for any message
4146 # that says an option was ignored or not supported.
4147 # When given -MP, icc 7.0 and 7.1 complain thusly:
4148 # icc: Command line warning: ignoring option '-M'; no argument required
4149 # The diagnosis changed in icc 8.0:
4150 # icc: Command line remark: option '-MP' not supported
4151 if (grep 'ignoring option' conftest.err ||
4152 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4153 am_cv_CC_dependencies_compiler_type
=$depmode
4162 am_cv_CC_dependencies_compiler_type
=none
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4167 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4168 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4171 test "x$enable_dependency_tracking" != xno \
4172 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4174 am__fastdepCC_FALSE
='#'
4176 am__fastdepCC_TRUE
='#'
4177 am__fastdepCC_FALSE
=
4182 # POSIX will say in a future version that running "rm -f" with no argument
4183 # is OK; and we want to be able to make that assumption in our Makefile
4184 # recipes. So use an aggressive probe to check that the usage we want is
4185 # actually supported "in the wild" to an acceptable degree.
4186 # See automake bug#10828.
4187 # To make any issue more visible, cause the running configure to be aborted
4188 # by default if the 'rm' program in use doesn't match our expectations; the
4189 # user can still override this though.
4190 if rm -f && rm -fr && rm -rf; then : OK
; else
4194 Your 'rm' program seems unable to run without file operands specified
4195 on the command line, even when the '-f' option is present. This is contrary
4196 to the behaviour of most rm programs out there, and not conforming with
4197 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4199 Please tell bug-automake@gnu.org about your system, including the value
4200 of your $PATH and any error possibly output before this message. This
4201 can help us improve future automake versions.
4204 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4205 echo 'Configuration will proceed anyway, since you have set the' >&2
4206 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4210 Aborting the configuration process, to ensure you take notice of the issue.
4212 You can download and install GNU coreutils to get an 'rm' implementation
4213 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4215 If you want to complete the configuration process using your problematic
4216 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4217 to "yes", and re-run configure.
4220 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4226 ac_cpp
='$CPP $CPPFLAGS'
4227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4230 if test -n "$ac_tool_prefix"; then
4231 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4232 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234 $as_echo_n "checking for $ac_word... " >&6; }
4235 if ${ac_cv_prog_CC+:} false
; then :
4236 $as_echo_n "(cached) " >&6
4238 if test -n "$CC"; then
4239 ac_cv_prog_CC
="$CC" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4248 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 if test -n "$CC"; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4261 $as_echo "$CC" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4269 if test -z "$ac_cv_prog_CC"; then
4271 # Extract the first word of "gcc", so it can be a program name with args.
4272 set dummy gcc
; ac_word
=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -n "$ac_ct_CC"; then
4279 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_prog_ac_ct_CC
="gcc"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4299 if test -n "$ac_ct_CC"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4301 $as_echo "$ac_ct_CC" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4307 if test "x$ac_ct_CC" = x
; then
4310 case $cross_compiling:$ac_tool_warned in
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4314 ac_tool_warned
=yes ;;
4322 if test -z "$CC"; then
4323 if test -n "$ac_tool_prefix"; then
4324 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4325 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if ${ac_cv_prog_CC+:} false
; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$CC"; then
4332 ac_cv_prog_CC
="$CC" # Let the user override the test.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4341 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 if test -n "$CC"; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4354 $as_echo "$CC" >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4363 if test -z "$CC"; then
4364 # Extract the first word of "cc", so it can be a program name with args.
4365 set dummy cc
; ac_word
=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_prog_CC+:} false
; then :
4369 $as_echo_n "(cached) " >&6
4371 if test -n "$CC"; then
4372 ac_cv_prog_CC
="$CC" # Let the user override the test.
4375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir
=.
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4382 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4383 ac_prog_rejected
=yes
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 if test $ac_prog_rejected = yes; then
4395 # We found a bogon in the path, so make sure we never use it.
4396 set dummy
$ac_cv_prog_CC
4398 if test $# != 0; then
4399 # We chose a different compiler from the bogus one.
4400 # However, it has the same basename, so the bogon will be chosen
4401 # first if we set CC to just the basename; use the full file name.
4403 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4409 if test -n "$CC"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4411 $as_echo "$CC" >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4419 if test -z "$CC"; then
4420 if test -n "$ac_tool_prefix"; then
4421 for ac_prog
in cl.exe
4423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4424 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false
; then :
4428 $as_echo_n "(cached) " >&6
4430 if test -n "$CC"; then
4431 ac_cv_prog_CC
="$CC" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4460 test -n "$CC" && break
4463 if test -z "$CC"; then
4465 for ac_prog
in cl.exe
4467 # Extract the first word of "$ac_prog", so it can be a program name with args.
4468 set dummy
$ac_prog; ac_word
=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4472 $as_echo_n "(cached) " >&6
4474 if test -n "$ac_ct_CC"; then
4475 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir
=.
4482 for ac_exec_ext
in '' $ac_executable_extensions; do
4483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_ac_ct_CC
="$ac_prog"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4495 if test -n "$ac_ct_CC"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4497 $as_echo "$ac_ct_CC" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4504 test -n "$ac_ct_CC" && break
4507 if test "x$ac_ct_CC" = x
; then
4510 case $cross_compiling:$ac_tool_warned in
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4514 ac_tool_warned
=yes ;;
4523 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4525 as_fn_error $?
"no acceptable C compiler found in \$PATH
4526 See \`config.log' for more details" "$LINENO" 5; }
4528 # Provide some information about the compiler.
4529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4532 for ac_option
in --version -v -V -qversion; do
4533 { { ac_try
="$ac_compiler $ac_option >&5"
4535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4536 *) ac_try_echo=$ac_try;;
4538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4539 $as_echo "$ac_try_echo"; } >&5
4540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4542 if test -s conftest.err; then
4544 ... rest of stderr output deleted ...
4545 10q' conftest.err >conftest.er1
4546 cat conftest.er1 >&5
4548 rm -f conftest.er1 conftest.err
4549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4550 test $ac_status = 0; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4554 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4555 if ${ac_cv_c_compiler_gnu+:} false; then :
4556 $as_echo_n "(cached) " >&6
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4572 if ac_fn_c_try_compile "$LINENO"; then :
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4582 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4583 if test $ac_compiler_gnu = yes; then
4588 ac_test_CFLAGS=${CFLAGS+set}
4589 ac_save_CFLAGS=$CFLAGS
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4591 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4592 if ${ac_cv_prog_cc_g+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 ac_save_c_werror_flag=$ac_c_werror_flag
4596 ac_c_werror_flag=yes
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4610 if ac_fn_c_try_compile "$LINENO"; then :
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4625 if ac_fn_c_try_compile "$LINENO"; then :
4628 ac_c_werror_flag=$ac_save_c_werror_flag
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4641 if ac_fn_c_try_compile "$LINENO"; then :
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 ac_c_werror_flag=$ac_save_c_werror_flag
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4652 $as_echo "$ac_cv_prog_cc_g" >&6; }
4653 if test "$ac_test_CFLAGS" = set; then
4654 CFLAGS=$ac_save_CFLAGS
4655 elif test $ac_cv_prog_cc_g = yes; then
4656 if test "$GCC" = yes; then
4662 if test "$GCC" = yes; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4669 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4670 if ${ac_cv_prog_cc_c89+:} false; then :
4671 $as_echo_n "(cached) " >&6
4673 ac_cv_prog_cc_c89=no
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4680 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4681 struct buf { int x; };
4682 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4683 static char *e (p, i)
4689 static char *f (char * (*g) (char **, int), char **p, ...)
4694 s = g (p, va_arg (v,int));
4699 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4700 function prototypes and stuff, but not '\xHH' hex character constants.
4701 These don't provoke an error unfortunately, instead are silently treated
4702 as 'x'. The following induces an error, until -std is added to get
4703 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4704 array size at least. It's necessary to write '\x00'==0 to get something
4705 that's true only with -std. */
4706 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4708 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4709 inside strings and character constants. */
4711 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4713 int test (int i, double x);
4714 struct s1 {int (*f) (int a);};
4715 struct s2 {int (*f) (double a);};
4716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4722 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4727 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4728 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4730 CC="$ac_save_CC $ac_arg"
4731 if ac_fn_c_try_compile "$LINENO"; then :
4732 ac_cv_prog_cc_c89=$ac_arg
4734 rm -f core conftest.err conftest.$ac_objext
4735 test "x$ac_cv_prog_cc_c89" != "xno" && break
4737 rm -f conftest.$ac_ext
4742 case "x$ac_cv_prog_cc_c89" in
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4745 $as_echo "none needed" >&6; } ;;
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4748 $as_echo "unsupported" >&6; } ;;
4750 CC="$CC $ac_cv_prog_cc_c89"
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4752 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4754 if test "x$ac_cv_prog_cc_c89" != xno; then :
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4770 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4771 if ${am_cv_prog_cc_c_o+:} false; then :
4772 $as_echo_n "(cached) " >&6
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4785 # Make sure it works both with $CC and with simple cc.
4786 # Following AC_PROG_CC_C_O, we do the test twice because some
4787 # compilers refuse to overwrite an existing .o file with -o,
4788 # though they will create one.
4789 am_cv_prog_cc_c_o=yes
4791 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4792 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } \
4796 && test -f conftest2.$ac_objext; then
4799 am_cv_prog_cc_c_o=no
4803 rm -f core conftest*
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4807 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4808 if test "$am_cv_prog_cc_c_o" != yes; then
4809 # Losing compiler, so override with the script.
4810 # FIXME: It is wrong to rewrite CC.
4811 # But if we don't then we get into trouble of one sort or another.
4812 # A longer-term fix would be to have automake use am__CC in this case,
4813 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4814 CC="$am_aux_dir/compile $CC"
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4824 ac_cpp='$CPP $CPPFLAGS'
4825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4829 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4830 # On Suns, sometimes $CPP names a directory.
4831 if test -n "$CPP" && test -d "$CPP"; then
4834 if test -z "$CPP"; then
4835 if ${ac_cv_prog_CPP+:} false; then :
4836 $as_echo_n "(cached) " >&6
4838 # Double quotes because CPP needs to be expanded
4839 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4842 for ac_c_preproc_warn_flag in '' yes
4844 # Use a header file that comes with gcc, so configuring glibc
4845 # with a fresh cross-compiler works.
4846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4847 # <limits.h> exists even on freestanding compilers.
4848 # On the NeXT, cc -E runs the code through the compiler's parser,
4849 # not just through cpp. "Syntax error" is here to catch this case.
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4853 # include <limits.h>
4855 # include <assert.h>
4859 if ac_fn_c_try_cpp "$LINENO"; then :
4862 # Broken: fails on valid input.
4865 rm -f conftest.err conftest.i conftest.$ac_ext
4867 # OK, works on sane cases. Now check whether nonexistent headers
4868 # can be detected and how.
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4871 #include <ac_nonexistent.h>
4873 if ac_fn_c_try_cpp "$LINENO"; then :
4874 # Broken: success on invalid input.
4877 # Passes both tests.
4881 rm -f conftest.err conftest.i conftest.$ac_ext
4884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4885 rm -f conftest.i conftest.err conftest.
$ac_ext
4886 if $ac_preproc_ok; then :
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4899 $as_echo "$CPP" >&6; }
4901 for ac_c_preproc_warn_flag
in '' yes
4903 # Use a header file that comes with gcc, so configuring glibc
4904 # with a fresh cross-compiler works.
4905 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4906 # <limits.h> exists even on freestanding compilers.
4907 # On the NeXT, cc -E runs the code through the compiler's parser,
4908 # not just through cpp. "Syntax error" is here to catch this case.
4909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4912 # include <limits.h>
4914 # include <assert.h>
4918 if ac_fn_c_try_cpp
"$LINENO"; then :
4921 # Broken: fails on valid input.
4924 rm -f conftest.err conftest.i conftest.
$ac_ext
4926 # OK, works on sane cases. Now check whether nonexistent headers
4927 # can be detected and how.
4928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4930 #include <ac_nonexistent.h>
4932 if ac_fn_c_try_cpp
"$LINENO"; then :
4933 # Broken: success on invalid input.
4936 # Passes both tests.
4940 rm -f conftest.err conftest.i conftest.
$ac_ext
4943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4944 rm -f conftest.i conftest.err conftest.
$ac_ext
4945 if $ac_preproc_ok; then :
4948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4950 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4951 See \`config.log' for more details" "$LINENO" 5; }
4955 ac_cpp
='$CPP $CPPFLAGS'
4956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4962 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4963 if ${ac_cv_path_GREP+:} false
; then :
4964 $as_echo_n "(cached) " >&6
4966 if test -z "$GREP"; then
4967 ac_path_GREP_found
=false
4968 # Loop through the user's path and test for each of PROGNAME-LIST
4969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4973 test -z "$as_dir" && as_dir
=.
4974 for ac_prog
in grep ggrep
; do
4975 for ac_exec_ext
in '' $ac_executable_extensions; do
4976 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4977 as_fn_executable_p
"$ac_path_GREP" ||
continue
4978 # Check for GNU ac_path_GREP and select it if it is found.
4979 # Check for GNU $ac_path_GREP
4980 case `"$ac_path_GREP" --version 2>&1` in
4982 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4985 $as_echo_n 0123456789 >"conftest.in"
4988 cat "conftest.in" "conftest.in" >"conftest.tmp"
4989 mv "conftest.tmp" "conftest.in"
4990 cp "conftest.in" "conftest.nl"
4991 $as_echo 'GREP' >> "conftest.nl"
4992 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4993 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4994 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4995 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4996 # Best one so far, save it but keep looking for a better one
4997 ac_cv_path_GREP
="$ac_path_GREP"
4998 ac_path_GREP_max
=$ac_count
5000 # 10*(2^10) chars as input seems more than enough
5001 test $ac_count -gt 10 && break
5003 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5006 $ac_path_GREP_found && break 3
5011 if test -z "$ac_cv_path_GREP"; then
5012 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5015 ac_cv_path_GREP
=$GREP
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5020 $as_echo "$ac_cv_path_GREP" >&6; }
5021 GREP
="$ac_cv_path_GREP"
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5025 $as_echo_n "checking for egrep... " >&6; }
5026 if ${ac_cv_path_EGREP+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5030 then ac_cv_path_EGREP
="$GREP -E"
5032 if test -z "$EGREP"; then
5033 ac_path_EGREP_found
=false
5034 # Loop through the user's path and test for each of PROGNAME-LIST
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_prog
in egrep; do
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5043 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5044 # Check for GNU ac_path_EGREP and select it if it is found.
5045 # Check for GNU $ac_path_EGREP
5046 case `"$ac_path_EGREP" --version 2>&1` in
5048 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5051 $as_echo_n 0123456789 >"conftest.in"
5054 cat "conftest.in" "conftest.in" >"conftest.tmp"
5055 mv "conftest.tmp" "conftest.in"
5056 cp "conftest.in" "conftest.nl"
5057 $as_echo 'EGREP' >> "conftest.nl"
5058 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5059 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5060 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5061 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5062 # Best one so far, save it but keep looking for a better one
5063 ac_cv_path_EGREP
="$ac_path_EGREP"
5064 ac_path_EGREP_max
=$ac_count
5066 # 10*(2^10) chars as input seems more than enough
5067 test $ac_count -gt 10 && break
5069 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5072 $ac_path_EGREP_found && break 3
5077 if test -z "$ac_cv_path_EGREP"; then
5078 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5081 ac_cv_path_EGREP
=$EGREP
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5087 $as_echo "$ac_cv_path_EGREP" >&6; }
5088 EGREP
="$ac_cv_path_EGREP"
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5092 $as_echo_n "checking for ANSI C header files... " >&6; }
5093 if ${ac_cv_header_stdc+:} false
; then :
5094 $as_echo_n "(cached) " >&6
5096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5111 if ac_fn_c_try_compile
"$LINENO"; then :
5112 ac_cv_header_stdc
=yes
5114 ac_cv_header_stdc
=no
5116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5118 if test $ac_cv_header_stdc = yes; then
5119 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5126 $EGREP "memchr" >/dev
/null
2>&1; then :
5129 ac_cv_header_stdc
=no
5135 if test $ac_cv_header_stdc = yes; then
5136 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5143 $EGREP "free" >/dev
/null
2>&1; then :
5146 ac_cv_header_stdc
=no
5152 if test $ac_cv_header_stdc = yes; then
5153 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5154 if test "$cross_compiling" = yes; then :
5157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5158 /* end confdefs.h. */
5161 #if ((' ' & 0x0FF) == 0x020)
5162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5165 # define ISLOWER(c) \
5166 (('a' <= (c) && (c) <= 'i') \
5167 || ('j' <= (c) && (c) <= 'r') \
5168 || ('s' <= (c) && (c) <= 'z'))
5169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5177 for (i = 0; i < 256; i++)
5178 if (XOR (islower (i), ISLOWER (i))
5179 || toupper (i) != TOUPPER (i))
5184 if ac_fn_c_try_run
"$LINENO"; then :
5187 ac_cv_header_stdc
=no
5189 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5190 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5196 $as_echo "$ac_cv_header_stdc" >&6; }
5197 if test $ac_cv_header_stdc = yes; then
5199 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5203 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5204 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5205 inttypes.h stdint.h unistd.h
5207 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5208 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5210 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5211 cat >>confdefs.h
<<_ACEOF
5212 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5221 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5222 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5229 if test "$MINIX" = yes; then
5231 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5234 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5237 $as_echo "#define _MINIX 1" >>confdefs.h
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5243 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5244 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5250 # define __EXTENSIONS__ 1
5251 $ac_includes_default
5260 if ac_fn_c_try_compile
"$LINENO"; then :
5261 ac_cv_safe_to_define___extensions__
=yes
5263 ac_cv_safe_to_define___extensions__
=no
5265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5268 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5269 test $ac_cv_safe_to_define___extensions__ = yes &&
5270 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5272 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5274 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5276 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5278 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5287 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5292 macro_version
='2.2.7a'
5293 macro_revision
='1.3134'
5307 ltmain
="$ac_aux_dir/ltmain.sh"
5309 # Backslashify metacharacters that are still active within
5310 # double-quoted strings.
5311 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5313 # Same as above, but do not quote variable references.
5314 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5316 # Sed substitution to delay expansion of an escaped shell variable in a
5317 # double_quote_subst'ed string.
5318 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5320 # Sed substitution to delay expansion of an escaped single quote.
5321 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5323 # Sed substitution to avoid accidental globbing in evaled expressions
5324 no_glob_subst
='s/\*/\\\*/g'
5326 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5327 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5328 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5331 $as_echo_n "checking how to print strings... " >&6; }
5332 # Test print first, because it will be a builtin if present.
5333 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5334 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5336 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5339 # Use this function as a fallback that always works.
5340 func_fallback_echo ()
5342 eval 'cat <<_LTECHO_EOF
5346 ECHO='func_fallback_echo
'
5349 # func_echo_all arg...
5350 # Invoke $ECHO with all args, space-separated.
5357 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5358 $as_echo "printf" >&6; } ;;
5359 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5360 $as_echo "print -r" >&6; } ;;
5361 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5362 $as_echo "cat" >&6; } ;;
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5379 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5380 if ${ac_cv_path_SED+:} false; then :
5381 $as_echo_n "(cached) " >&6
5383 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5384 for ac_i in 1 2 3 4 5 6 7; do
5385 ac_script="$ac_script$as_nl$ac_script"
5387 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5388 { ac_script=; unset ac_script;}
5389 if test -z "$SED"; then
5390 ac_path_SED_found=false
5391 # Loop through the user's path and
test for each of PROGNAME-LIST
5392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir
=.
5397 for ac_prog
in sed gsed
; do
5398 for ac_exec_ext
in '' $ac_executable_extensions; do
5399 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5400 as_fn_executable_p
"$ac_path_SED" ||
continue
5401 # Check for GNU ac_path_SED and select it if it is found.
5402 # Check for GNU $ac_path_SED
5403 case `"$ac_path_SED" --version 2>&1` in
5405 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5408 $as_echo_n 0123456789 >"conftest.in"
5411 cat "conftest.in" "conftest.in" >"conftest.tmp"
5412 mv "conftest.tmp" "conftest.in"
5413 cp "conftest.in" "conftest.nl"
5414 $as_echo '' >> "conftest.nl"
5415 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5416 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5417 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5418 if test $ac_count -gt ${ac_path_SED_max-0}; then
5419 # Best one so far, save it but keep looking for a better one
5420 ac_cv_path_SED
="$ac_path_SED"
5421 ac_path_SED_max
=$ac_count
5423 # 10*(2^10) chars as input seems more than enough
5424 test $ac_count -gt 10 && break
5426 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5429 $ac_path_SED_found && break 3
5434 if test -z "$ac_cv_path_SED"; then
5435 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5443 $as_echo "$ac_cv_path_SED" >&6; }
5444 SED
="$ac_cv_path_SED"
5447 test -z "$SED" && SED
=sed
5448 Xsed
="$SED -e 1s/^X//"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5461 $as_echo_n "checking for fgrep... " >&6; }
5462 if ${ac_cv_path_FGREP+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5465 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5466 then ac_cv_path_FGREP
="$GREP -F"
5468 if test -z "$FGREP"; then
5469 ac_path_FGREP_found
=false
5470 # Loop through the user's path and test for each of PROGNAME-LIST
5471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5475 test -z "$as_dir" && as_dir
=.
5476 for ac_prog
in fgrep
; do
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5479 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5480 # Check for GNU ac_path_FGREP and select it if it is found.
5481 # Check for GNU $ac_path_FGREP
5482 case `"$ac_path_FGREP" --version 2>&1` in
5484 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5487 $as_echo_n 0123456789 >"conftest.in"
5490 cat "conftest.in" "conftest.in" >"conftest.tmp"
5491 mv "conftest.tmp" "conftest.in"
5492 cp "conftest.in" "conftest.nl"
5493 $as_echo 'FGREP' >> "conftest.nl"
5494 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5495 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5496 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5497 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5498 # Best one so far, save it but keep looking for a better one
5499 ac_cv_path_FGREP
="$ac_path_FGREP"
5500 ac_path_FGREP_max
=$ac_count
5502 # 10*(2^10) chars as input seems more than enough
5503 test $ac_count -gt 10 && break
5505 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5508 $ac_path_FGREP_found && break 3
5513 if test -z "$ac_cv_path_FGREP"; then
5514 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5517 ac_cv_path_FGREP
=$FGREP
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5523 $as_echo "$ac_cv_path_FGREP" >&6; }
5524 FGREP
="$ac_cv_path_FGREP"
5527 test -z "$GREP" && GREP
=grep
5547 # Check whether --with-gnu-ld was given.
5548 if test "${with_gnu_ld+set}" = set; then :
5549 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5555 if test "$GCC" = yes; then
5556 # Check if gcc -print-prog-name=ld gives a path.
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5558 $as_echo_n "checking for ld used by $CC... " >&6; }
5561 # gcc leaves a trailing carriage return which upsets mingw
5562 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5564 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5567 # Accept absolute paths.
5569 re_direlt
='/[^/][^/]*/\.\./'
5570 # Canonicalize the pathname of ld
5571 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5572 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5573 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5575 test -z "$LD" && LD
="$ac_prog"
5578 # If it fails, then pretend we aren't using GCC.
5582 # If it is relative, then search for the first ld in PATH.
5586 elif test "$with_gnu_ld" = yes; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5588 $as_echo_n "checking for GNU ld... " >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5591 $as_echo_n "checking for non-GNU ld... " >&6; }
5593 if ${lt_cv_path_LD+:} false
; then :
5594 $as_echo_n "(cached) " >&6
5596 if test -z "$LD"; then
5597 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5598 for ac_dir
in $PATH; do
5600 test -z "$ac_dir" && ac_dir
=.
5601 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5602 lt_cv_path_LD
="$ac_dir/$ac_prog"
5603 # Check to see if the program is GNU ld. I'd rather use --version,
5604 # but apparently some variants of GNU ld only accept -v.
5605 # Break only if it was the GNU/non-GNU ld that we prefer.
5606 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5607 *GNU
* |
*'with BFD'*)
5608 test "$with_gnu_ld" != no
&& break
5611 test "$with_gnu_ld" != yes && break
5618 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5623 if test -n "$LD"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5625 $as_echo "$LD" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5630 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5632 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5633 if ${lt_cv_prog_gnu_ld+:} false
; then :
5634 $as_echo_n "(cached) " >&6
5636 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5637 case `$LD -v 2>&1 </dev/null` in
5638 *GNU
* |
*'with BFD'*)
5639 lt_cv_prog_gnu_ld
=yes
5642 lt_cv_prog_gnu_ld
=no
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5647 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5648 with_gnu_ld
=$lt_cv_prog_gnu_ld
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5659 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5660 if ${lt_cv_path_NM+:} false
; then :
5661 $as_echo_n "(cached) " >&6
5663 if test -n "$NM"; then
5664 # Let the user override the test.
5667 lt_nm_to_check
="${ac_tool_prefix}nm"
5668 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5669 lt_nm_to_check
="$lt_nm_to_check nm"
5671 for lt_tmp_nm
in $lt_nm_to_check; do
5672 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5673 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5675 test -z "$ac_dir" && ac_dir
=.
5676 tmp_nm
="$ac_dir/$lt_tmp_nm"
5677 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5678 # Check to see if the nm accepts a BSD-compat flag.
5679 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5680 # nm: unknown option "B" ignored
5681 # Tru64's nm complains that /dev/null is an invalid object file
5682 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5683 */dev
/null
* |
*'Invalid file or object type'*)
5684 lt_cv_path_NM
="$tmp_nm -B"
5688 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5690 lt_cv_path_NM
="$tmp_nm -p"
5694 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5695 continue # so that we can try to find one that supports BSD flags
5704 : ${lt_cv_path_NM=no}
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5708 $as_echo "$lt_cv_path_NM" >&6; }
5709 if test "$lt_cv_path_NM" != "no"; then
5712 # Didn't find any BSD compatible name lister, look for dumpbin.
5713 if test -n "$DUMPBIN"; then :
5714 # Let the user override the test.
5716 if test -n "$ac_tool_prefix"; then
5717 for ac_prog
in dumpbin
"link -dump"
5719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5720 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$DUMPBIN"; then
5727 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_exec_ext
in '' $ac_executable_extensions; do
5735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 DUMPBIN
=$ac_cv_prog_DUMPBIN
5747 if test -n "$DUMPBIN"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5749 $as_echo "$DUMPBIN" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$DUMPBIN" && break
5759 if test -z "$DUMPBIN"; then
5760 ac_ct_DUMPBIN
=$DUMPBIN
5761 for ac_prog
in dumpbin
"link -dump"
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy
$ac_prog; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$ac_ct_DUMPBIN"; then
5771 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5791 if test -n "$ac_ct_DUMPBIN"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5793 $as_echo "$ac_ct_DUMPBIN" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$ac_ct_DUMPBIN" && break
5803 if test "x$ac_ct_DUMPBIN" = x
; then
5806 case $cross_compiling:$ac_tool_warned in
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5810 ac_tool_warned
=yes ;;
5812 DUMPBIN
=$ac_ct_DUMPBIN
5816 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5818 DUMPBIN
="$DUMPBIN -symbols"
5826 if test "$DUMPBIN" != ":"; then
5830 test -z "$NM" && NM
=nm
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5838 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5839 if ${lt_cv_nm_interface+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5842 lt_cv_nm_interface
="BSD nm"
5843 echo "int some_variable = 0;" > conftest.
$ac_ext
5844 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5845 (eval "$ac_compile" 2>conftest.err
)
5846 cat conftest.err
>&5
5847 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5848 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5849 cat conftest.err
>&5
5850 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5851 cat conftest.out
>&5
5852 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5853 lt_cv_nm_interface
="MS dumpbin"
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5858 $as_echo "$lt_cv_nm_interface" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5861 $as_echo_n "checking whether ln -s works... " >&6; }
5863 if test "$LN_S" = "ln -s"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5865 $as_echo "yes" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5868 $as_echo "no, using $LN_S" >&6; }
5871 # find the maximum length of command line arguments
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5873 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5874 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5882 # On DJGPP, this test can blow up pretty badly due to problems in libc
5883 # (any single argument exceeding 2000 bytes causes a buffer overrun
5884 # during glob expansion). Even if it were fixed, the result of this
5885 # check would be larger than it should be.
5886 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5890 # Under GNU Hurd, this test is not required because there is
5891 # no limit to the length of command line arguments.
5892 # Libtool will interpret -1 as no limit whatsoever
5893 lt_cv_sys_max_cmd_len
=-1;
5896 cygwin
* | mingw
* | cegcc
*)
5897 # On Win9x/ME, this test blows up -- it succeeds, but takes
5898 # about 5 minutes as the teststring grows exponentially.
5899 # Worse, since 9x/ME are not pre-emptively multitasking,
5900 # you end up with a "frozen" computer, even though with patience
5901 # the test eventually succeeds (with a max line length of 256k).
5902 # Instead, let's just punt: use the minimum linelength reported by
5903 # all of the supported platforms: 8192 (on NT/2K/XP).
5904 lt_cv_sys_max_cmd_len
=8192;
5908 # On MiNT this can take a long time and run out of memory.
5909 lt_cv_sys_max_cmd_len
=8192;
5913 # On AmigaOS with pdksh, this test takes hours, literally.
5914 # So we just punt and use a minimum line length of 8192.
5915 lt_cv_sys_max_cmd_len
=8192;
5918 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5919 # This has been around since 386BSD, at least. Likely further.
5920 if test -x /sbin
/sysctl
; then
5921 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5922 elif test -x /usr
/sbin
/sysctl
; then
5923 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5925 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5927 # And add a safety zone
5928 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5929 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5933 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5934 lt_cv_sys_max_cmd_len
=196608
5938 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5939 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5940 # nice to cause kernel panics so lets avoid the loop below.
5941 # First set a reasonable default.
5942 lt_cv_sys_max_cmd_len
=16384
5944 if test -x /sbin
/sysconfig
; then
5945 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5946 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5951 lt_cv_sys_max_cmd_len
=102400
5953 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5954 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5955 if test -n "$kargmax"; then
5956 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5958 lt_cv_sys_max_cmd_len
=32768
5962 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5963 if test -n "$lt_cv_sys_max_cmd_len"; then
5964 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5965 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5967 # Make teststring a little bigger before we do anything with it.
5968 # a 1K string should be a reasonable start.
5969 for i
in 1 2 3 4 5 6 7 8 ; do
5970 teststring
=$teststring$teststring
5972 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5973 # If test is not a shell built-in, we'll probably end up computing a
5974 # maximum length that is only half of the actual maximum length, but
5976 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5977 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5978 test $i != 17 # 1/2 MB should be enough
5981 teststring
=$teststring$teststring
5983 # Only check the string length outside the loop.
5984 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5986 # Add a significant safety factor because C++ compilers can tack on
5987 # massive amounts of additional arguments before passing them to the
5988 # linker. It appears as though 1/2 is a usable value.
5989 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5996 if test -n $lt_cv_sys_max_cmd_len ; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5998 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6001 $as_echo "none" >&6; }
6003 max_cmd_len
=$lt_cv_sys_max_cmd_len
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6015 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6016 # Try some XSI features
6019 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6021 && eval 'test $(( 1 + 1 )) -eq 2 \
6022 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6025 $as_echo "$xsi_shell" >&6; }
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6029 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6031 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6033 && lt_shell_append=yes
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6035 $as_echo "$lt_shell_append" >&6; }
6038 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 # test EBCDIC or ASCII
6049 case `echo X|tr X '\101'` in
6050 A) # ASCII based system
6051 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6052 lt_SP2NL='tr \040 \012'
6053 lt_NL2SP='tr \015\012 \040\040'
6055 *) # EBCDIC based system
6056 lt_SP2NL='tr \100 \n'
6057 lt_NL2SP='tr \r\n \100\100'
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6070 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6071 if ${lt_cv_ld_reload_flag+:} false; then :
6072 $as_echo_n "(cached
) " >&6
6074 lt_cv_ld_reload_flag='-r'
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6077 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6078 reload_flag=$lt_cv_ld_reload_flag
6079 case $reload_flag in
6081 *) reload_flag=" $reload_flag" ;;
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 if test "$GCC" = yes; then
6087 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6089 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6106 $as_echo_n "checking
for $ac_word...
" >&6; }
6107 if ${ac_cv_prog_OBJDUMP+:} false; then :
6108 $as_echo_n "(cached
) " >&6
6110 if test -n "$OBJDUMP"; then
6111 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6130 OBJDUMP=$ac_cv_prog_OBJDUMP
6131 if test -n "$OBJDUMP"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6133 $as_echo "$OBJDUMP" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6136 $as_echo "no
" >&6; }
6141 if test -z "$ac_cv_prog_OBJDUMP"; then
6142 ac_ct_OBJDUMP=$OBJDUMP
6143 # Extract the first word of "objdump
", so it can be a program name with args.
6144 set dummy objdump; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6146 $as_echo_n "checking
for $ac_word...
" >&6; }
6147 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6148 $as_echo_n "(cached
) " >&6
6150 if test -n "$ac_ct_OBJDUMP"; then
6151 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6171 if test -n "$ac_ct_OBJDUMP"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6173 $as_echo "$ac_ct_OBJDUMP" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6176 $as_echo "no
" >&6; }
6179 if test "x
$ac_ct_OBJDUMP" = x; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6185 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6186 ac_tool_warned=yes ;;
6188 OBJDUMP=$ac_ct_OBJDUMP
6191 OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 test -z "$OBJDUMP" && OBJDUMP=objdump
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6205 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6206 if ${lt_cv_deplibs_check_method+:} false; then :
6207 $as_echo_n "(cached
) " >&6
6209 lt_cv_file_magic_cmd='$MAGIC_CMD'
6210 lt_cv_file_magic_test_file=
6211 lt_cv_deplibs_check_method='unknown'
6212 # Need to set the preceding variable on all platforms that support
6213 # interlibrary dependencies.
6214 # 'none' -- dependencies not supported.
6215 # `unknown' -- same as none, but documents that we really don't know.
6216 # 'pass_all' -- all dependencies passed with no checks.
6217 # 'test_compile' -- check by making test program.
6218 # 'file_magic [[regex]]' -- check by looking for files in library path
6219 # which responds to the $file_magic_cmd with a given extended regex.
6220 # If you have `file' or equivalent on your system and you're not sure
6221 # whether `pass_all' will *always* work, you probably want this one.
6225 lt_cv_deplibs_check_method=pass_all
6229 lt_cv_deplibs_check_method=pass_all
6233 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6234 lt_cv_file_magic_cmd='/usr/bin/file -L'
6235 lt_cv_file_magic_test_file=/shlib/libc.so
6239 # func_win32_libid is a shell function defined in ltmain.sh
6240 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6241 lt_cv_file_magic_cmd='func_win32_libid'
6245 # Base MSYS/MinGW do not provide the 'file' command needed by
6246 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6247 # unless we find 'file', for example because we are cross-compiling.
6248 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6249 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6250 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6251 lt_cv_file_magic_cmd='func_win32_libid'
6253 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6254 lt_cv_file_magic_cmd='$OBJDUMP -f'
6259 # use the weaker test based on 'objdump'. See mingw*.
6260 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6261 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 darwin* | rhapsody*)
6265 lt_cv_deplibs_check_method=pass_all
6268 freebsd* | dragonfly*)
6269 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 # Not sure whether the presence of OpenBSD here was a mistake.
6273 # Let's accept both of them until this is cleared up.
6274 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6275 lt_cv_file_magic_cmd=/usr/bin/file
6276 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 lt_cv_deplibs_check_method=pass_all
6285 lt_cv_deplibs_check_method=pass_all
6289 lt_cv_deplibs_check_method=pass_all
6292 hpux10.20* | hpux11*)
6293 lt_cv_file_magic_cmd=/usr/bin/file
6296 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6297 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300 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]'
6301 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6305 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6311 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315 irix5* | irix6* | nonstopux*)
6317 *-32|*"-32 ") libmagic=32-bit;;
6318 *-n32|*"-n32 ") libmagic=N32;;
6319 *-64|*"-64 ") libmagic=64-bit;;
6320 *) libmagic=never-match;;
6322 lt_cv_deplibs_check_method=pass_all
6325 # This must be Linux ELF.
6326 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6327 lt_cv_deplibs_check_method=pass_all
6331 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6339 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6340 lt_cv_file_magic_cmd=/usr/bin/file
6341 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6345 lt_cv_deplibs_check_method=pass_all
6349 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6350 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6356 osf3* | osf4* | osf5*)
6357 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method=pass_all
6365 lt_cv_deplibs_check_method=pass_all
6368 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6369 lt_cv_deplibs_check_method=pass_all
6373 case $host_vendor in
6375 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]'
6376 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379 lt_cv_deplibs_check_method=pass_all
6382 lt_cv_file_magic_cmd='/bin/file'
6383 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386 lt_cv_file_magic_cmd='/bin/file'
6387 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6388 lt_cv_file_magic_test_file=/lib/libc.so
6391 lt_cv_deplibs_check_method=pass_all
6394 lt_cv_deplibs_check_method=pass_all
6400 lt_cv_deplibs_check_method=pass_all
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6406 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6407 file_magic_cmd=$lt_cv_file_magic_cmd
6408 deplibs_check_method=$lt_cv_deplibs_check_method
6409 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6422 if test -n "$ac_tool_prefix"; then
6423 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6424 set dummy ${ac_tool_prefix}ar; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6426 $as_echo_n "checking
for $ac_word...
" >&6; }
6427 if ${ac_cv_prog_AR+:} false; then :
6428 $as_echo_n "(cached
) " >&6
6430 if test -n "$AR"; then
6431 ac_cv_prog_AR="$AR" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_AR="${ac_tool_prefix}ar"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6451 if test -n "$AR"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6453 $as_echo "$AR" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6456 $as_echo "no
" >&6; }
6461 if test -z "$ac_cv_prog_AR"; then
6463 # Extract the first word of "ar", so it can be a program name with args.
6464 set dummy ar; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6466 $as_echo_n "checking
for $ac_word...
" >&6; }
6467 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6468 $as_echo_n "(cached
) " >&6
6470 if test -n "$ac_ct_AR"; then
6471 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_ac_ct_AR="ar"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6490 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6491 if test -n "$ac_ct_AR"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6493 $as_echo "$ac_ct_AR" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6496 $as_echo "no
" >&6; }
6499 if test "x
$ac_ct_AR" = x; then
6502 case $cross_compiling:$ac_tool_warned in
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6505 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6506 ac_tool_warned=yes ;;
6514 test -z "$AR" && AR=ar
6515 test -z "$AR_FLAGS" && AR_FLAGS=cru
6527 if test -n "$ac_tool_prefix"; then
6528 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6529 set dummy ${ac_tool_prefix}strip; ac_word=$2
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6531 $as_echo_n "checking
for $ac_word...
" >&6; }
6532 if ${ac_cv_prog_STRIP+:} false; then :
6533 $as_echo_n "(cached
) " >&6
6535 if test -n "$STRIP"; then
6536 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 test -z "$as_dir" && as_dir=.
6543 for ac_exec_ext in '' $ac_executable_extensions; do
6544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6545 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6555 STRIP=$ac_cv_prog_STRIP
6556 if test -n "$STRIP"; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6558 $as_echo "$STRIP" >&6; }
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6561 $as_echo "no
" >&6; }
6566 if test -z "$ac_cv_prog_STRIP"; then
6568 # Extract the first word of "strip
", so it can be a program name with args.
6569 set dummy strip; ac_word=$2
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6571 $as_echo_n "checking
for $ac_word...
" >&6; }
6572 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6573 $as_echo_n "(cached
) " >&6
6575 if test -n "$ac_ct_STRIP"; then
6576 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 test -z "$as_dir" && as_dir=.
6583 for ac_exec_ext in '' $ac_executable_extensions; do
6584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6585 ac_cv_prog_ac_ct_STRIP="strip
"
6586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6595 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6596 if test -n "$ac_ct_STRIP"; then
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6598 $as_echo "$ac_ct_STRIP" >&6; }
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6601 $as_echo "no
" >&6; }
6604 if test "x
$ac_ct_STRIP" = x; then
6607 case $cross_compiling:$ac_tool_warned in
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6610 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6611 ac_tool_warned=yes ;;
6616 STRIP="$ac_cv_prog_STRIP"
6619 test -z "$STRIP" && STRIP=:
6626 if test -n "$ac_tool_prefix"; then
6627 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6630 $as_echo_n "checking
for $ac_word...
" >&6; }
6631 if ${ac_cv_prog_RANLIB+:} false; then :
6632 $as_echo_n "(cached
) " >&6
6634 if test -n "$RANLIB"; then
6635 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6654 RANLIB=$ac_cv_prog_RANLIB
6655 if test -n "$RANLIB"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6657 $as_echo "$RANLIB" >&6; }
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6660 $as_echo "no
" >&6; }
6665 if test -z "$ac_cv_prog_RANLIB"; then
6666 ac_ct_RANLIB=$RANLIB
6667 # Extract the first word of "ranlib
", so it can be a program name with args.
6668 set dummy ranlib; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6670 $as_echo_n "checking
for $ac_word...
" >&6; }
6671 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6672 $as_echo_n "(cached
) " >&6
6674 if test -n "$ac_ct_RANLIB"; then
6675 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6695 if test -n "$ac_ct_RANLIB"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6697 $as_echo "$ac_ct_RANLIB" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6700 $as_echo "no
" >&6; }
6703 if test "x
$ac_ct_RANLIB" = x; then
6706 case $cross_compiling:$ac_tool_warned in
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6709 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6710 ac_tool_warned=yes ;;
6712 RANLIB=$ac_ct_RANLIB
6715 RANLIB="$ac_cv_prog_RANLIB"
6718 test -z "$RANLIB" && RANLIB=:
6725 # Determine commands to create old-style static archives.
6726 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6727 old_postinstall_cmds='chmod 644 $oldlib'
6728 old_postuninstall_cmds=
6730 if test -n "$RANLIB"; then
6733 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6736 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6739 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6744 lock_old_archive_extraction=yes ;;
6746 lock_old_archive_extraction=no ;;
6787 # If no C compiler was specified, use CC.
6790 # If no C compiler flags were specified, use CFLAGS.
6791 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6793 # Allow CC to be a program name with arguments.
6797 # Check for command to grab the raw symbol name followed by C symbol from nm.
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6799 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6800 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6801 $as_echo_n "(cached
) " >&6
6804 # These are sane defaults that work on at least a few old systems.
6805 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6807 # Character class describing NM global symbol codes.
6808 symcode='[BCDEGRST]'
6810 # Regexp to match symbols that can be accessed directly from C.
6811 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6813 # Define system-specific variables.
6818 cygwin* | mingw* | pw32* | cegcc*)
6819 symcode='[ABCDGISTW]'
6822 if test "$host_cpu" = ia64; then
6823 symcode='[ABCDEGRST]'
6827 symcode='[BCDEGRST]'
6830 symcode='[BCDEGQRST]'
6841 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6849 # If we're using GNU nm, then use its standard symbol codes.
6850 case `$NM -V 2>&1` in
6851 *GNU* | *'with BFD'*)
6852 symcode='[ABCDGIRSTW]' ;;
6855 # Transform an extracted symbol line into a proper C declaration.
6856 # Some systems (esp. on ia64) link data and code symbols differently,
6857 # so use this general approach.
6858 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6860 # Transform an extracted symbol line into symbol name and symbol address
6861 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6862 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'"
6864 # Handle CRLF in mingw tool chain
6868 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6872 # Try without a prefix underscore, then with it.
6873 for ac_symprfx in "" "_
"; do
6875 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6876 symxfrm="\\1 $ac_symprfx\\2 \\2"
6878 # Write the raw and C identifiers.
6879 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6880 # Fake it for dumpbin and say T for any non-static function
6881 # and D for any global variable.
6882 # Also find C++ and __fastcall symbols from MSVC++,
6883 # which start with @ or ?.
6884 lt_cv_sys_global_symbol_pipe="$AWK '"\
6885 " {last_section=section; section=\$ 3};"\
6886 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6887 " \$ 0!~/External *\|/{next};"\
6888 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6889 " {if(hide[section]) next};"\
6890 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6891 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6892 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6893 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6894 " ' prfx
=^
$ac_symprfx"
6896 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899 # Check to see that the pipe works correctly.
6903 cat > conftest.$ac_ext <<_LT_EOF
6908 void nm_test_func(void);
6909 void nm_test_func(void){}
6913 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6917 (eval $ac_compile) 2>&5
6919 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6920 test $ac_status = 0; }; then
6921 # Now try to grab the symbols.
6923 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6924 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6926 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6927 test $ac_status = 0; } && test -s "$nlist"; then
6928 # Try sorting and uniquifying the output.
6929 if sort "$nlist" | uniq > "$nlist"T; then
6930 mv -f "$nlist"T "$nlist"
6935 # Make sure that we snagged all the symbols we need.
6936 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6937 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6938 cat <<_LT_EOF > conftest.$ac_ext
6944 # Now generate the symbol file.
6945 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6947 cat <<_LT_EOF >> conftest.$ac_ext
6949 /* The mapping between symbol names and symbols. */
6954 lt__PROGRAM__LTX_preloaded_symbols[] =
6956 { "@PROGRAM@
", (void *) 0 },
6958 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6959 cat <<\_LT_EOF >> conftest.$ac_ext
6963 /* This works around a problem in FreeBSD linker */
6964 #ifdef FREEBSD_WORKAROUND
6965 static const void *lt_preloaded_setup() {
6966 return lt__PROGRAM__LTX_preloaded_symbols;
6974 # Now try linking the two files.
6975 mv conftest.$ac_objext conftstm.$ac_objext
6976 lt_save_LIBS="$LIBS"
6977 lt_save_CFLAGS="$CFLAGS"
6978 LIBS="conftstm.
$ac_objext"
6979 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6980 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6981 (eval $ac_link) 2>&5
6983 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6984 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 LIBS="$lt_save_LIBS"
6988 CFLAGS="$lt_save_CFLAGS"
6990 echo "cannot
find nm_test_func
in $nlist" >&5
6993 echo "cannot
find nm_test_var
in $nlist" >&5
6996 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6999 echo "$progname: failed program was
:" >&5
7000 cat conftest.$ac_ext >&5
7002 rm -rf conftest* conftst*
7004 # Do not use the global_symbol_pipe unless it works.
7005 if test "$pipe_works" = yes; then
7008 lt_cv_sys_global_symbol_pipe=
7014 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7015 lt_cv_sys_global_symbol_to_cdecl=
7017 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7019 $as_echo "failed
" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7022 $as_echo "ok
" >&6; }
7046 # Check whether --enable-libtool-lock was given.
7047 if test "${enable_libtool_lock+set}" = set; then :
7048 enableval=$enable_libtool_lock;
7051 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7053 # Some flags need to be propagated to the compiler or linker for good
7057 # Find out which ABI we are using.
7058 echo 'int i;' > conftest.$ac_ext
7059 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7060 (eval $ac_compile) 2>&5
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7063 test $ac_status = 0; }; then
7064 case `/usr/bin/file conftest.$ac_objext` in
7076 # Find out which ABI we are using.
7077 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7078 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7079 (eval $ac_compile) 2>&5
7081 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7082 test $ac_status = 0; }; then
7083 if test "$lt_cv_prog_gnu_ld" = yes; then
7084 case `/usr/bin/file conftest.$ac_objext` in
7086 LD="${LD-ld} -melf32bsmip"
7089 LD="${LD-ld} -melf32bmipn32"
7092 LD="${LD-ld} -melf64bmip"
7096 case `/usr/bin/file conftest.$ac_objext` in
7112 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7113 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7114 # Find out which ABI we are using.
7115 echo 'int i;' > conftest.$ac_ext
7116 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7117 (eval $ac_compile) 2>&5
7119 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7120 test $ac_status = 0; }; then
7121 case `/usr/bin/file conftest.o` in
7124 x86_64-*kfreebsd*-gnu)
7125 LD="${LD-ld} -m elf_i386_fbsd
"
7128 case `/usr/bin/file conftest.o` in
7130 LD="${LD-ld} -m elf32_x86_64
"
7133 LD="${LD-ld} -m elf_i386
"
7137 powerpc64le-*linux*)
7138 LD="${LD-ld} -m elf32lppclinux
"
7141 LD="${LD-ld} -m elf32ppclinux
"
7144 LD="${LD-ld} -m elf_s390
"
7147 LD="${LD-ld} -m elf32_sparc
"
7153 x86_64-*kfreebsd*-gnu)
7154 LD="${LD-ld} -m elf_x86_64_fbsd
"
7157 LD="${LD-ld} -m elf_x86_64
"
7160 LD="${LD-ld} -m elf64lppc
"
7163 LD="${LD-ld} -m elf64ppc
"
7165 s390*-*linux*|s390*-*tpf*)
7166 LD="${LD-ld} -m elf64_s390
"
7169 LD="${LD-ld} -m elf64_sparc
"
7179 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7180 SAVE_CFLAGS="$CFLAGS"
7181 CFLAGS="$CFLAGS -belf"
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7183 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7184 if ${lt_cv_cc_needs_belf+:} false; then :
7185 $as_echo_n "(cached
) " >&6
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7204 if ac_fn_c_try_link "$LINENO"; then :
7205 lt_cv_cc_needs_belf=yes
7207 lt_cv_cc_needs_belf=no
7209 rm -f core conftest.err conftest.$ac_objext \
7210 conftest$ac_exeext conftest.$ac_ext
7212 ac_cpp='$CPP $CPPFLAGS'
7213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7219 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7220 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7221 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7222 CFLAGS="$SAVE_CFLAGS"
7226 # Find out which ABI we are using.
7227 echo 'int i;' > conftest.$ac_ext
7228 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7229 (eval $ac_compile) 2>&5
7231 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7232 test $ac_status = 0; }; then
7233 case `/usr/bin/file conftest.o` in
7235 case $lt_cv_prog_gnu_ld in
7236 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7238 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7250 need_locks="$enable_libtool_lock"
7254 rhapsody* | darwin*)
7255 if test -n "$ac_tool_prefix"; then
7256 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7259 $as_echo_n "checking
for $ac_word...
" >&6; }
7260 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7261 $as_echo_n "(cached
) " >&6
7263 if test -n "$DSYMUTIL"; then
7264 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7283 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7284 if test -n "$DSYMUTIL"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7286 $as_echo "$DSYMUTIL" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7289 $as_echo "no
" >&6; }
7294 if test -z "$ac_cv_prog_DSYMUTIL"; then
7295 ac_ct_DSYMUTIL=$DSYMUTIL
7296 # Extract the first word of "dsymutil
", so it can be a program name with args.
7297 set dummy dsymutil; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7299 $as_echo_n "checking
for $ac_word...
" >&6; }
7300 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7301 $as_echo_n "(cached
) " >&6
7303 if test -n "$ac_ct_DSYMUTIL"; then
7304 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7323 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7324 if test -n "$ac_ct_DSYMUTIL"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7326 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7329 $as_echo "no
" >&6; }
7332 if test "x
$ac_ct_DSYMUTIL" = x; then
7335 case $cross_compiling:$ac_tool_warned in
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7338 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7339 ac_tool_warned=yes ;;
7341 DSYMUTIL=$ac_ct_DSYMUTIL
7344 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7347 if test -n "$ac_tool_prefix"; then
7348 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7349 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7351 $as_echo_n "checking
for $ac_word...
" >&6; }
7352 if ${ac_cv_prog_NMEDIT+:} false; then :
7353 $as_echo_n "(cached
) " >&6
7355 if test -n "$NMEDIT"; then
7356 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 test -z "$as_dir" && as_dir=.
7363 for ac_exec_ext in '' $ac_executable_extensions; do
7364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7365 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7375 NMEDIT=$ac_cv_prog_NMEDIT
7376 if test -n "$NMEDIT"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7378 $as_echo "$NMEDIT" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7381 $as_echo "no
" >&6; }
7386 if test -z "$ac_cv_prog_NMEDIT"; then
7387 ac_ct_NMEDIT=$NMEDIT
7388 # Extract the first word of "nmedit
", so it can be a program name with args.
7389 set dummy nmedit; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7391 $as_echo_n "checking
for $ac_word...
" >&6; }
7392 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7393 $as_echo_n "(cached
) " >&6
7395 if test -n "$ac_ct_NMEDIT"; then
7396 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402 test -z "$as_dir" && as_dir=.
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7415 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7416 if test -n "$ac_ct_NMEDIT"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7418 $as_echo "$ac_ct_NMEDIT" >&6; }
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7421 $as_echo "no
" >&6; }
7424 if test "x
$ac_ct_NMEDIT" = x; then
7427 case $cross_compiling:$ac_tool_warned in
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7430 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7431 ac_tool_warned=yes ;;
7433 NMEDIT=$ac_ct_NMEDIT
7436 NMEDIT="$ac_cv_prog_NMEDIT"
7439 if test -n "$ac_tool_prefix"; then
7440 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7441 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7443 $as_echo_n "checking
for $ac_word...
" >&6; }
7444 if ${ac_cv_prog_LIPO+:} false; then :
7445 $as_echo_n "(cached
) " >&6
7447 if test -n "$LIPO"; then
7448 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7467 LIPO=$ac_cv_prog_LIPO
7468 if test -n "$LIPO"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7470 $as_echo "$LIPO" >&6; }
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7473 $as_echo "no
" >&6; }
7478 if test -z "$ac_cv_prog_LIPO"; then
7480 # Extract the first word of "lipo
", so it can be a program name with args.
7481 set dummy lipo; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7483 $as_echo_n "checking
for $ac_word...
" >&6; }
7484 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7485 $as_echo_n "(cached
) " >&6
7487 if test -n "$ac_ct_LIPO"; then
7488 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_ac_ct_LIPO="lipo
"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7507 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7508 if test -n "$ac_ct_LIPO"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7510 $as_echo "$ac_ct_LIPO" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7513 $as_echo "no
" >&6; }
7516 if test "x
$ac_ct_LIPO" = x; then
7519 case $cross_compiling:$ac_tool_warned in
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7522 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7523 ac_tool_warned=yes ;;
7528 LIPO="$ac_cv_prog_LIPO"
7531 if test -n "$ac_tool_prefix"; then
7532 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7533 set dummy ${ac_tool_prefix}otool; ac_word=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7535 $as_echo_n "checking
for $ac_word...
" >&6; }
7536 if ${ac_cv_prog_OTOOL+:} false; then :
7537 $as_echo_n "(cached
) " >&6
7539 if test -n "$OTOOL"; then
7540 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7559 OTOOL=$ac_cv_prog_OTOOL
7560 if test -n "$OTOOL"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7562 $as_echo "$OTOOL" >&6; }
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7565 $as_echo "no
" >&6; }
7570 if test -z "$ac_cv_prog_OTOOL"; then
7572 # Extract the first word of "otool
", so it can be a program name with args.
7573 set dummy otool; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7575 $as_echo_n "checking
for $ac_word...
" >&6; }
7576 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7577 $as_echo_n "(cached
) " >&6
7579 if test -n "$ac_ct_OTOOL"; then
7580 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_ac_ct_OTOOL="otool
"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7599 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7600 if test -n "$ac_ct_OTOOL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7602 $as_echo "$ac_ct_OTOOL" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7605 $as_echo "no
" >&6; }
7608 if test "x
$ac_ct_OTOOL" = x; then
7611 case $cross_compiling:$ac_tool_warned in
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7614 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7615 ac_tool_warned=yes ;;
7620 OTOOL="$ac_cv_prog_OTOOL"
7623 if test -n "$ac_tool_prefix"; then
7624 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7625 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7627 $as_echo_n "checking
for $ac_word...
" >&6; }
7628 if ${ac_cv_prog_OTOOL64+:} false; then :
7629 $as_echo_n "(cached
) " >&6
7631 if test -n "$OTOOL64"; then
7632 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638 test -z "$as_dir" && as_dir=.
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7641 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7651 OTOOL64=$ac_cv_prog_OTOOL64
7652 if test -n "$OTOOL64"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7654 $as_echo "$OTOOL64" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7657 $as_echo "no
" >&6; }
7662 if test -z "$ac_cv_prog_OTOOL64"; then
7663 ac_ct_OTOOL64=$OTOOL64
7664 # Extract the first word of "otool64
", so it can be a program name with args.
7665 set dummy otool64; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7667 $as_echo_n "checking
for $ac_word...
" >&6; }
7668 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7669 $as_echo_n "(cached
) " >&6
7671 if test -n "$ac_ct_OTOOL64"; then
7672 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7691 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7692 if test -n "$ac_ct_OTOOL64"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7694 $as_echo "$ac_ct_OTOOL64" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7697 $as_echo "no
" >&6; }
7700 if test "x
$ac_ct_OTOOL64" = x; then
7703 case $cross_compiling:$ac_tool_warned in
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7706 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7707 ac_tool_warned=yes ;;
7709 OTOOL64=$ac_ct_OTOOL64
7712 OTOOL64="$ac_cv_prog_OTOOL64"
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7742 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7743 if ${lt_cv_apple_cc_single_mod+:} false; then :
7744 $as_echo_n "(cached
) " >&6
7746 lt_cv_apple_cc_single_mod=no
7747 if test -z "${LT_MULTI_MODULE}"; then
7748 # By default we will add the -single_module flag. You can override
7749 # by either setting the environment variable LT_MULTI_MODULE
7750 # non-empty at configure time, or by adding -multi_module to the
7752 rm -rf libconftest.dylib*
7753 echo "int foo
(void
){return 1;}" > conftest.c
7754 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7755 -dynamiclib -Wl,-single_module conftest.c
" >&5
7756 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7757 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7759 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7760 lt_cv_apple_cc_single_mod=yes
7762 cat conftest.err >&5
7764 rm -rf libconftest.dylib*
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7769 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7771 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7772 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7773 $as_echo_n "(cached
) " >&6
7775 lt_cv_ld_exported_symbols_list=no
7776 save_LDFLAGS=$LDFLAGS
7777 echo "_main
" > conftest.sym
7778 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7790 if ac_fn_c_try_link "$LINENO"; then :
7791 lt_cv_ld_exported_symbols_list=yes
7793 lt_cv_ld_exported_symbols_list=no
7795 rm -f core conftest.err conftest.$ac_objext \
7796 conftest$ac_exeext conftest.$ac_ext
7797 LDFLAGS="$save_LDFLAGS"
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7801 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7803 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7804 if ${lt_cv_ld_force_load+:} false; then :
7805 $as_echo_n "(cached
) " >&6
7807 lt_cv_ld_force_load=no
7808 cat > conftest.c << _LT_EOF
7809 int forced_loaded() { return 2;}
7811 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7812 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7813 echo "$AR cru libconftest.a conftest.o
" >&5
7814 $AR cru libconftest.a conftest.o 2>&5
7815 cat > conftest.c << _LT_EOF
7816 int main() { return 0;}
7818 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7819 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7821 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7822 lt_cv_ld_force_load=yes
7824 cat conftest.err >&5
7826 rm -f conftest.err libconftest.a conftest conftest.c
7827 rm -rf conftest.dSYM
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7831 $as_echo "$lt_cv_ld_force_load" >&6; }
7833 rhapsody* | darwin1.[012])
7834 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7836 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7837 darwin*) # darwin 5.x on
7838 # if running on 10.5 or later, the deployment target defaults
7839 # to the OS version, if on x86, and 10.4, the deployment
7840 # target defaults to 10.4. Don't you love it?
7841 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7842 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7843 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7845 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7847 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7851 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7852 _lt_dar_single_mod='$single_module'
7854 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7855 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7857 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7859 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7860 _lt_dsymutil='~$DSYMUTIL $lib || :'
7867 for ac_header in dlfcn.h
7869 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7871 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7872 cat >>confdefs.h <<_ACEOF
7873 #define HAVE_DLFCN_H 1
7894 # Check whether --enable-shared was given.
7895 if test "${enable_shared+set}" = set; then :
7896 enableval=$enable_shared; p=${PACKAGE-default}
7898 yes) enable_shared=yes ;;
7899 no) enable_shared=no ;;
7902 # Look at the argument we got. We use all the common list separators.
7903 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7904 for pkg in $enableval; do
7906 if test "X
$pkg" = "X
$p"; then
7925 # Check whether --enable-static was given.
7926 if test "${enable_static+set}" = set; then :
7927 enableval=$enable_static; p=${PACKAGE-default}
7929 yes) enable_static=yes ;;
7930 no) enable_static=no ;;
7933 # Look at the argument we got. We use all the common list separators.
7934 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7935 for pkg in $enableval; do
7937 if test "X
$pkg" = "X
$p"; then
7957 # Check whether --with-pic was given.
7958 if test "${with_pic+set}" = set; then :
7959 withval=$with_pic; pic_mode="$withval"
7965 test -z "$pic_mode" && pic_mode=default
7973 # Check whether --enable-fast-install was given.
7974 if test "${enable_fast_install+set}" = set; then :
7975 enableval=$enable_fast_install; p=${PACKAGE-default}
7977 yes) enable_fast_install=yes ;;
7978 no) enable_fast_install=no ;;
7980 enable_fast_install=no
7981 # Look at the argument we got. We use all the common list separators.
7982 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7983 for pkg in $enableval; do
7985 if test "X
$pkg" = "X
$p"; then
7986 enable_fast_install=yes
7993 enable_fast_install=yes
8006 # This can be used to rebuild libtool when needed
8007 LIBTOOL_DEPS="$ltmain"
8009 # Always use our own libtool.
8010 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8037 test -z "$LN_S" && LN_S="ln -s"
8052 if test -n "${ZSH_VERSION+set}" ; then
8053 setopt NO_GLOB_SUBST
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8057 $as_echo_n "checking
for objdir...
" >&6; }
8058 if ${lt_cv_objdir+:} false; then :
8059 $as_echo_n "(cached
) " >&6
8061 rm -f .libs 2>/dev/null
8062 mkdir .libs 2>/dev/null
8063 if test -d .libs; then
8066 # MS-DOS does not allow filenames that begin with a dot.
8069 rmdir .libs 2>/dev/null
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8072 $as_echo "$lt_cv_objdir" >&6; }
8073 objdir=$lt_cv_objdir
8079 cat >>confdefs.h <<_ACEOF
8080 #define LT_OBJDIR "$lt_cv_objdir/"
8088 # AIX sometimes has problems with the GCC collect2 program. For some
8089 # reason, if we set the COLLECT_NAMES environment variable, the problems
8090 # vanish in a puff of smoke.
8091 if test "X
${COLLECT_NAMES+set}" != Xset; then
8093 export COLLECT_NAMES
8100 can_build_shared=yes
8102 # All known linkers require a `.a' archive for static linking (except MSVC,
8103 # which needs '.lib').
8106 with_gnu_ld="$lt_cv_prog_gnu_ld"
8109 old_CFLAGS="$CFLAGS"
8111 # Set sane defaults for various variables
8112 test -z "$CC" && CC=cc
8113 test -z "$LTCC" && LTCC=$CC
8114 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8115 test -z "$LD" && LD=ld
8116 test -z "$ac_objext" && ac_objext=o
8118 for cc_temp in $compiler""; do
8120 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8121 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8126 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8129 # Only perform the check for file, if the check method requires it
8130 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8131 case $deplibs_check_method in
8133 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8135 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8136 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8137 $as_echo_n "(cached
) " >&6
8141 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8144 lt_save_MAGIC_CMD="$MAGIC_CMD"
8145 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8146 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8147 for ac_dir in $ac_dummy; do
8149 test -z "$ac_dir" && ac_dir=.
8150 if test -f $ac_dir/${ac_tool_prefix}file; then
8151 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8152 if test -n "$file_magic_test_file"; then
8153 case $deplibs_check_method in
8155 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8156 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8157 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8158 $EGREP "$file_magic_regex" > /dev/null; then
8163 *** Warning: the command libtool uses to detect shared libraries,
8164 *** $file_magic_cmd, produces output that libtool cannot recognize.
8165 *** The result is that libtool may fail to recognize shared libraries
8166 *** as such. This will affect the creation of libtool libraries that
8167 *** depend on shared libraries, but programs linked with such libtool
8168 *** libraries will work regardless of this problem. Nevertheless, you
8169 *** may want to report the problem to your system manager and/or to
8170 *** bug-libtool@gnu.org
8180 MAGIC_CMD="$lt_save_MAGIC_CMD"
8185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8186 if test -n "$MAGIC_CMD"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8188 $as_echo "$MAGIC_CMD" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8191 $as_echo "no
" >&6; }
8198 if test -z "$lt_cv_path_MAGIC_CMD"; then
8199 if test -n "$ac_tool_prefix"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8201 $as_echo_n "checking
for file...
" >&6; }
8202 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8203 $as_echo_n "(cached
) " >&6
8207 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8210 lt_save_MAGIC_CMD="$MAGIC_CMD"
8211 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8212 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8213 for ac_dir in $ac_dummy; do
8215 test -z "$ac_dir" && ac_dir=.
8216 if test -f $ac_dir/file; then
8217 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8218 if test -n "$file_magic_test_file"; then
8219 case $deplibs_check_method in
8221 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8222 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8223 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8224 $EGREP "$file_magic_regex" > /dev/null; then
8229 *** Warning: the command libtool uses to detect shared libraries,
8230 *** $file_magic_cmd, produces output that libtool cannot recognize.
8231 *** The result is that libtool may fail to recognize shared libraries
8232 *** as such. This will affect the creation of libtool libraries that
8233 *** depend on shared libraries, but programs linked with such libtool
8234 *** libraries will work regardless of this problem. Nevertheless, you
8235 *** may want to report the problem to your system manager and/or to
8236 *** bug-libtool@gnu.org
8246 MAGIC_CMD="$lt_save_MAGIC_CMD"
8251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8252 if test -n "$MAGIC_CMD"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8254 $as_echo "$MAGIC_CMD" >&6; }
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8257 $as_echo "no
" >&6; }
8270 # Use C for the default configuration in the libtool script
8274 ac_cpp='$CPP $CPPFLAGS'
8275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8280 # Source file extension for C test sources.
8283 # Object file extension for compiled C test sources.
8287 # Code to be used in simple compile tests
8288 lt_simple_compile_test_code="int some_variable
= 0;"
8290 # Code to be used in simple link tests
8291 lt_simple_link_test_code='int main(){return(0);}'
8299 # If no C compiler was specified, use CC.
8302 # If no C compiler flags were specified, use CFLAGS.
8303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8305 # Allow CC to be a program name with arguments.
8308 # Save the default compiler, since it gets overwritten when the other
8309 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8310 compiler_DEFAULT=$CC
8312 # save warnings/boilerplate of simple test code
8313 ac_outfile=conftest.$ac_objext
8314 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8315 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8316 _lt_compiler_boilerplate=`cat conftest.err`
8319 ac_outfile=conftest.$ac_objext
8320 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8321 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8322 _lt_linker_boilerplate=`cat conftest.err`
8327 ## There is no encapsulation within the following macros, do not change
8328 ## the running order or otherwise move them around unless you know exactly
8329 ## what you are doing...
8330 if test -n "$compiler"; then
8332 lt_prog_compiler_no_builtin_flag=
8334 if test "$GCC" = yes; then
8335 case $cc_basename in
8337 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8339 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8343 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8344 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8345 $as_echo_n "(cached
) " >&6
8347 lt_cv_prog_compiler_rtti_exceptions=no
8348 ac_outfile=conftest.$ac_objext
8349 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8350 lt_compiler_flag="-fno-rtti -fno-exceptions"
8351 # Insert the option either (1) after the last *FLAGS variable, or
8352 # (2) before a word containing "conftest.
", or (3) at the end.
8353 # Note that $ac_compile itself does not contain backslashes and begins
8354 # with a dollar sign (not a hyphen), so the echo should work correctly.
8355 # The option is referenced via a variable to avoid confusing sed.
8356 lt_compile=`echo "$ac_compile" | $SED \
8357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8359 -e 's:$: $lt_compiler_flag:'`
8360 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8361 (eval "$lt_compile" 2>conftest.err)
8363 cat conftest.err >&5
8364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8365 if (exit $ac_status) && test -s "$ac_outfile"; then
8366 # The compiler can only warn and ignore the option if not recognized
8367 # So say no if there are warnings other than the usual output.
8368 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8369 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8370 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8371 lt_cv_prog_compiler_rtti_exceptions=yes
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8378 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8380 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8381 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8393 lt_prog_compiler_wl=
8394 lt_prog_compiler_pic=
8395 lt_prog_compiler_static=
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8398 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8400 if test "$GCC" = yes; then
8401 lt_prog_compiler_wl='-Wl,'
8402 lt_prog_compiler_static='-static'
8406 # All AIX code is PIC.
8407 if test "$host_cpu" = ia64; then
8408 # AIX 5 now supports IA64 processor
8409 lt_prog_compiler_static='-Bstatic'
8411 lt_prog_compiler_pic='-fPIC'
8417 # see comment about AmigaOS4 .so support
8418 lt_prog_compiler_pic='-fPIC'
8421 # FIXME: we need at least 68020 code to build shared libraries, but
8422 # adding the `-m68020' flag to GCC prevents building anything better,
8424 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8429 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8430 # PIC is the default for these OSes.
8433 mingw* | cygwin* | pw32* | os2* | cegcc*)
8434 # This hack is so that the source file can tell whether it is being
8435 # built for inclusion in a dll (and should export symbols for example).
8436 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8437 # (--disable-auto-import) libraries
8438 lt_prog_compiler_pic='-DDLL_EXPORT'
8441 darwin* | rhapsody*)
8442 # PIC is the default on this platform
8443 # Common symbols not allowed in MH_DYLIB files
8444 lt_prog_compiler_pic='-fno-common'
8448 # PIC is the default for Haiku.
8449 # The "-static" flag exists, but is broken.
8450 lt_prog_compiler_static=
8454 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8455 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8456 # sets the default TLS model and affects inlining.
8462 lt_prog_compiler_pic='-fPIC'
8468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8469 # Instead, we relocate shared libraries at runtime.
8473 # Just because we use GCC doesn't mean we suddenly get shared libraries
8474 # on systems that don't support them.
8475 lt_prog_compiler_can_build_shared=no
8480 # QNX uses GNU C++, but need to define -shared option too, otherwise
8482 lt_prog_compiler_pic='-fPIC -shared'
8486 if test -d /usr/nec; then
8487 lt_prog_compiler_pic=-Kconform_pic
8492 lt_prog_compiler_pic='-fPIC'
8496 case $cc_basename in
8497 nvcc*) # Cuda Compiler Driver 2.2
8498 lt_prog_compiler_wl='-Xlinker '
8499 lt_prog_compiler_pic='-Xcompiler -fPIC'
8503 # PORTME Check for flag to pass linker flags through the system compiler.
8506 lt_prog_compiler_wl='-Wl,'
8507 if test "$host_cpu" = ia64; then
8508 # AIX 5 now supports IA64 processor
8509 lt_prog_compiler_static='-Bstatic'
8511 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8515 mingw* | cygwin* | pw32* | os2* | cegcc*)
8516 # This hack is so that the source file can tell whether it is being
8517 # built for inclusion in a dll (and should export symbols for example).
8518 lt_prog_compiler_pic='-DDLL_EXPORT'
8521 hpux9* | hpux10* | hpux11*)
8522 lt_prog_compiler_wl='-Wl,'
8523 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8530 lt_prog_compiler_pic='+Z'
8533 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8534 lt_prog_compiler_static='${wl}-a ${wl}archive'
8537 irix5* | irix6* | nonstopux*)
8538 lt_prog_compiler_wl='-Wl,'
8539 # PIC (with -KPIC) is the default.
8540 lt_prog_compiler_static='-non_shared'
8543 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8544 case $cc_basename in
8545 # old Intel for x86_64 which still supported -KPIC.
8547 lt_prog_compiler_wl='-Wl,'
8548 lt_prog_compiler_pic='-KPIC'
8549 lt_prog_compiler_static='-static'
8551 # icc used to be incompatible with GCC.
8552 # ICC 10 doesn't accept -KPIC any more.
8554 lt_prog_compiler_wl='-Wl,'
8555 lt_prog_compiler_pic='-fPIC'
8556 lt_prog_compiler_static='-static'
8558 # Lahey Fortran 8.1.
8560 lt_prog_compiler_wl='-Wl,'
8561 lt_prog_compiler_pic='--shared'
8562 lt_prog_compiler_static='--static'
8564 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8565 # Portland Group compilers (*not* the Pentium gcc compiler,
8566 # which looks to be a dead project)
8567 lt_prog_compiler_wl='-Wl,'
8568 lt_prog_compiler_pic='-fpic'
8569 lt_prog_compiler_static='-Bstatic'
8572 lt_prog_compiler_wl='-Wl,'
8573 # All Alpha code is PIC.
8574 lt_prog_compiler_static='-non_shared'
8576 xl* | bgxl* | bgf* | mpixl*)
8577 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8578 lt_prog_compiler_wl='-Wl,'
8579 lt_prog_compiler_pic='-qpic'
8580 lt_prog_compiler_static='-qstaticlink'
8583 case `$CC -V 2>&1 | sed 5q` in
8584 *Sun\ F* | *Sun*Fortran*)
8585 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8586 lt_prog_compiler_pic='-KPIC'
8587 lt_prog_compiler_static='-Bstatic'
8588 lt_prog_compiler_wl=''
8592 lt_prog_compiler_pic='-KPIC'
8593 lt_prog_compiler_static='-Bstatic'
8594 lt_prog_compiler_wl='-Wl,'
8602 lt_prog_compiler_pic='-KPIC'
8603 lt_prog_compiler_static='-Bstatic'
8607 # QNX uses GNU C++, but need to define -shared option too, otherwise
8609 lt_prog_compiler_pic='-fPIC -shared'
8612 osf3* | osf4* | osf5*)
8613 lt_prog_compiler_wl='-Wl,'
8614 # All OSF/1 code is PIC.
8615 lt_prog_compiler_static='-non_shared'
8619 lt_prog_compiler_static='-non_shared'
8623 lt_prog_compiler_pic='-KPIC'
8624 lt_prog_compiler_static='-Bstatic'
8625 case $cc_basename in
8627 lt_prog_compiler_wl='-Qoption ld ';;
8629 lt_prog_compiler_wl='-Wl,';;
8634 lt_prog_compiler_wl='-Qoption ld '
8635 lt_prog_compiler_pic='-PIC'
8636 lt_prog_compiler_static='-Bstatic'
8639 sysv4 | sysv4.2uw2* | sysv4.3*)
8640 lt_prog_compiler_wl='-Wl,'
8641 lt_prog_compiler_pic='-KPIC'
8642 lt_prog_compiler_static='-Bstatic'
8646 if test -d /usr/nec ;then
8647 lt_prog_compiler_pic='-Kconform_pic'
8648 lt_prog_compiler_static='-Bstatic'
8652 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-Bstatic'
8659 lt_prog_compiler_wl='-Wl,'
8660 lt_prog_compiler_can_build_shared=no
8664 lt_prog_compiler_pic='-pic'
8665 lt_prog_compiler_static='-Bstatic'
8669 lt_prog_compiler_can_build_shared=no
8675 # For platforms which do not support PIC, -DPIC is meaningless:
8677 lt_prog_compiler_pic=
8680 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8684 $as_echo "$lt_prog_compiler_pic" >&6; }
8692 # Check to make sure the PIC flag actually works.
8694 if test -n "$lt_prog_compiler_pic"; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8696 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8697 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8698 $as_echo_n "(cached
) " >&6
8700 lt_cv_prog_compiler_pic_works=no
8701 ac_outfile=conftest.$ac_objext
8702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8703 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8704 # Insert the option either (1) after the last *FLAGS variable, or
8705 # (2) before a word containing "conftest.
", or (3) at the end.
8706 # Note that $ac_compile itself does not contain backslashes and begins
8707 # with a dollar sign (not a hyphen), so the echo should work correctly.
8708 # The option is referenced via a variable to avoid confusing sed.
8709 lt_compile=`echo "$ac_compile" | $SED \
8710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8712 -e 's:$: $lt_compiler_flag:'`
8713 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8714 (eval "$lt_compile" 2>conftest.err)
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8718 if (exit $ac_status) && test -s "$ac_outfile"; then
8719 # The compiler can only warn and ignore the option if not recognized
8720 # So say no if there are warnings other than the usual output.
8721 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8722 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8723 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8724 lt_cv_prog_compiler_pic_works=yes
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8731 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8733 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8734 case $lt_prog_compiler_pic in
8736 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8739 lt_prog_compiler_pic=
8740 lt_prog_compiler_can_build_shared=no
8751 # Check to make sure the static flag actually works.
8753 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8755 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8756 if ${lt_cv_prog_compiler_static_works+:} false; then :
8757 $as_echo_n "(cached
) " >&6
8759 lt_cv_prog_compiler_static_works=no
8760 save_LDFLAGS="$LDFLAGS"
8761 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8762 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8763 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8764 # The linker can only warn and ignore the option if not recognized
8765 # So say no if there are warnings
8766 if test -s conftest.err; then
8767 # Append any errors to the config.log.
8768 cat conftest.err 1>&5
8769 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8770 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8771 if diff conftest.exp conftest.er2 >/dev/null; then
8772 lt_cv_prog_compiler_static_works=yes
8775 lt_cv_prog_compiler_static_works=yes
8779 LDFLAGS="$save_LDFLAGS"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8783 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8785 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8788 lt_prog_compiler_static=
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8798 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8799 if ${lt_cv_prog_compiler_c_o+:} false; then :
8800 $as_echo_n "(cached
) " >&6
8802 lt_cv_prog_compiler_c_o=no
8803 $RM -r conftest 2>/dev/null
8807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.
", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 lt_compile=`echo "$ac_compile" | $SED \
8815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817 -e 's:$: $lt_compiler_flag:'`
8818 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8819 (eval "$lt_compile" 2>out/conftest.err)
8821 cat out/conftest.err >&5
8822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8823 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8828 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8829 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_c_o=yes
8835 # SGI C++ compiler will create directory out/ii_files/ for
8836 # template instantiation
8837 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8838 $RM out/* && rmdir out
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8845 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8853 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8854 if ${lt_cv_prog_compiler_c_o+:} false; then :
8855 $as_echo_n "(cached
) " >&6
8857 lt_cv_prog_compiler_c_o=no
8858 $RM -r conftest 2>/dev/null
8862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8864 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8865 # Insert the option either (1) after the last *FLAGS variable, or
8866 # (2) before a word containing "conftest.
", or (3) at the end.
8867 # Note that $ac_compile itself does not contain backslashes and begins
8868 # with a dollar sign (not a hyphen), so the echo should work correctly.
8869 lt_compile=`echo "$ac_compile" | $SED \
8870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8872 -e 's:$: $lt_compiler_flag:'`
8873 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8874 (eval "$lt_compile" 2>out/conftest.err)
8876 cat out/conftest.err >&5
8877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8878 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8880 # The compiler can only warn and ignore the option if not recognized
8881 # So say no if there are warnings
8882 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8883 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8884 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8885 lt_cv_prog_compiler_c_o=yes
8890 # SGI C++ compiler will create directory out/ii_files/ for
8891 # template instantiation
8892 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8893 $RM out/* && rmdir out
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8900 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8905 hard_links="nottested
"
8906 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8907 # do not overwrite the value of need_locks provided by the user
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8909 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8912 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8914 ln conftest.a conftest.b 2>&5 || hard_links=no
8915 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8917 $as_echo "$hard_links" >&6; }
8918 if test "$hard_links" = no; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8920 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8933 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8936 allow_undefined_flag=
8937 always_export_symbols=no
8939 archive_expsym_cmds=
8940 compiler_needs_object=no
8941 enable_shared_with_static_runtimes=no
8942 export_dynamic_flag_spec=
8943 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8944 hardcode_automatic=no
8946 hardcode_direct_absolute=no
8947 hardcode_libdir_flag_spec=
8948 hardcode_libdir_flag_spec_ld=
8949 hardcode_libdir_separator=
8951 hardcode_shlibpath_var=unsupported
8953 link_all_deplibs=unknown
8956 old_archive_from_new_cmds=
8957 old_archive_from_expsyms_cmds=
8958 thread_safe_flag_spec=
8959 whole_archive_flag_spec=
8960 # include_expsyms should be a list of space-separated symbols to be *always*
8961 # included in the symbol list
8963 # exclude_expsyms can be an extended regexp of symbols to exclude
8964 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8965 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8966 # as well as any symbol that contains `d'.
8967 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8968 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8969 # platforms (ab)use it in PIC code, but their linkers get confused if
8970 # the symbol is explicitly referenced. Since portable code cannot
8971 # rely on this symbol name, it's probably fine to never include it in
8972 # preloaded symbol tables.
8973 # Exclude shared library initialization/finalization symbols.
8974 extract_expsyms_cmds=
8977 cygwin* | mingw* | pw32* | cegcc*)
8978 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8979 # When not using gcc, we currently assume that we are using
8980 # Microsoft Visual C++.
8981 if test "$GCC" != yes; then
8986 # we just hope/assume this is gcc and not c89 (= MSVC++)
8996 # On some targets, GNU ld is compatible enough with the native linker
8997 # that we're better off using the native interface for both.
8998 lt_use_gnu_ld_interface=no
8999 if test "$with_gnu_ld" = yes; then
9002 # The AIX port of GNU ld has always aspired to compatibility
9003 # with the native linker. However, as the warning in the GNU ld
9004 # block says, versions before 2.19.5* couldn't really create working
9005 # shared libraries, regardless of the interface used.
9006 case `$LD -v 2>&1` in
9007 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9008 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9009 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9011 lt_use_gnu_ld_interface=yes
9016 lt_use_gnu_ld_interface=yes
9021 if test "$lt_use_gnu_ld_interface" = yes; then
9022 # If archive_cmds runs LD, not CC, wlarc should be empty
9025 # Set some defaults for GNU ld with shared library support. These
9026 # are reset later if shared libraries are not supported. Putting them
9027 # here allows them to be overridden if necessary.
9028 runpath_var=LD_RUN_PATH
9029 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9030 export_dynamic_flag_spec='${wl}--export-dynamic'
9031 # ancient GNU ld didn't support --whole-archive et. al.
9032 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9033 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9035 whole_archive_flag_spec=
9037 supports_anon_versioning=no
9038 case `$LD -v 2>&1` in
9039 *GNU\ gold*) supports_anon_versioning=yes ;;
9040 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9041 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9042 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9043 *\ 2.11.*) ;; # other 2.11 versions
9044 *) supports_anon_versioning=yes ;;
9047 # See if GNU ld supports shared libraries.
9050 # On AIX/PPC, the GNU linker is very broken
9051 if test "$host_cpu" != ia64; then
9055 *** Warning: the GNU linker, at least up to release 2.19, is reported
9056 *** to be unable to reliably create shared libraries on AIX.
9057 *** Therefore, libtool is disabling shared libraries support. If you
9058 *** really care for shared libraries, you may want to install binutils
9059 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9060 *** You will then need to restart the configuration process.
9069 # see comment about AmigaOS4 .so support
9070 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071 archive_expsym_cmds=''
9074 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)'
9075 hardcode_libdir_flag_spec
='-L$libdir'
9076 hardcode_minus_L
=yes
9082 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9083 allow_undefined_flag
=unsupported
9084 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9085 # support --undefined. This deserves some investigation. FIXME
9086 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092 cygwin
* | mingw
* | pw32
* | cegcc
*)
9093 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9094 # as there is no search path for DLLs.
9095 hardcode_libdir_flag_spec
='-L$libdir'
9096 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9097 allow_undefined_flag
=unsupported
9098 always_export_symbols
=no
9099 enable_shared_with_static_runtimes
=yes
9100 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9102 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9103 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9104 # If the export-symbols file already is a .def file (1st line
9105 # is EXPORTS), use it as is; otherwise, prepend...
9106 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9107 cp $export_symbols $output_objdir/$soname.def;
9109 echo EXPORTS > $output_objdir/$soname.def;
9110 cat $export_symbols >> $output_objdir/$soname.def;
9112 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9119 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9120 link_all_deplibs
=yes
9125 hardcode_shlibpath_var
=no
9126 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9127 export_dynamic_flag_spec
='${wl}-E'
9128 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9129 # Instead, shared libraries are loaded at an image base (0x10000000 by
9130 # default) and relocated if they conflict, which is a slow very memory
9131 # consuming and fragmenting process. To avoid this, we pick a random,
9132 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9133 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9134 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9135 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'
9138 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9140 if test "$host_os" = linux-dietlibc
; then
9141 case $cc_basename in
9142 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9145 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9146 && test "$tmp_diet" = no
9148 tmp_addflag
=' $pic_flag'
9149 tmp_sharedflag
='-shared'
9150 case $cc_basename,$host_cpu in
9151 pgcc
*) # Portland Group C compiler
9152 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'
9153 tmp_addflag
=' $pic_flag'
9155 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9156 # Portland Group f77 and f90 compilers
9157 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'
9158 tmp_addflag
=' $pic_flag -Mnomain' ;;
9159 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9160 tmp_addflag
=' -i_dynamic' ;;
9161 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9162 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9163 ifc
* | ifort
*) # Intel Fortran compiler
9164 tmp_addflag
=' -nofor_main' ;;
9165 lf95
*) # Lahey Fortran 8.1
9166 whole_archive_flag_spec
=
9167 tmp_sharedflag
='--shared' ;;
9168 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9169 tmp_sharedflag
='-qmkshrobj'
9171 nvcc
*) # Cuda Compiler Driver 2.2
9172 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'
9173 compiler_needs_object
=yes
9176 case `$CC -V 2>&1 | sed 5q` in
9177 *Sun\ C
*) # Sun C 5.9
9178 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'
9179 compiler_needs_object
=yes
9180 tmp_sharedflag
='-G' ;;
9181 *Sun\ F
*) # Sun Fortran 8.3
9182 tmp_sharedflag
='-G' ;;
9184 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186 if test "x$supports_anon_versioning" = xyes
; then
9187 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9188 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9189 echo "local: *; };" >> $output_objdir/$libname.ver~
9190 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9193 case $cc_basename in
9194 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9195 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9196 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9197 hardcode_libdir_flag_spec
=
9198 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9199 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9200 if test "x$supports_anon_versioning" = xyes
; then
9201 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9202 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9203 echo "local: *; };" >> $output_objdir/$libname.ver~
9204 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9214 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9215 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9218 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9219 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9224 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9228 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9229 *** create shared libraries on Solaris systems. Therefore, libtool
9230 *** is disabling shared libraries support. We urge you to upgrade GNU
9231 *** binutils to release 2.9.1 or newer. Another option is to modify
9232 *** your PATH or compiler configuration so that the native linker is
9233 *** used, and then restart.
9236 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9237 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9244 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9245 case `$LD -v 2>&1` in
9246 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9250 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9251 *** reliably create shared libraries on SCO systems. Therefore, libtool
9252 *** is disabling shared libraries support. We urge you to upgrade GNU
9253 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9254 *** your PATH or compiler configuration so that the native linker is
9255 *** used, and then restart.
9260 # For security reasons, it is highly recommended that you always
9261 # use absolute paths for naming shared libraries, and exclude the
9262 # DT_RUNPATH tag from executables and libraries. But doing so
9263 # requires that you compile everything twice, which is a pain.
9264 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9265 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9266 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9276 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9279 hardcode_shlibpath_var
=no
9283 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9284 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9292 if test "$ld_shlibs" = no
; then
9294 hardcode_libdir_flag_spec
=
9295 export_dynamic_flag_spec
=
9296 whole_archive_flag_spec
=
9299 # PORTME fill in a description of your system's linker (not GNU ld)
9302 allow_undefined_flag
=unsupported
9303 always_export_symbols
=yes
9304 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'
9305 # Note: this linker hardcodes the directories in LIBPATH if there
9306 # are no directories specified by -L.
9307 hardcode_minus_L
=yes
9308 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9309 # Neither direct hardcoding nor static linking is supported with a
9311 hardcode_direct
=unsupported
9316 if test "$host_cpu" = ia64
; then
9317 # On IA64, the linker does run time linking by default, so we don't
9318 # have to do anything special.
9319 aix_use_runtimelinking
=no
9320 exp_sym_flag
='-Bexport'
9323 # If we're using GNU nm, then we don't want the "-C" option.
9324 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9325 # Also, AIX nm treats weak defined symbols like other global
9326 # defined symbols, whereas GNU nm marks them as "W".
9327 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9328 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'
9330 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'
9332 aix_use_runtimelinking
=no
9334 # Test if we are trying to use run time linking or normal
9335 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9336 # need to do runtime linking.
9337 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9338 for ld_flag
in $LDFLAGS; do
9339 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9340 aix_use_runtimelinking
=yes
9347 exp_sym_flag
='-bexport'
9348 no_entry_flag
='-bnoentry'
9351 # When large executables or shared objects are built, AIX ld can
9352 # have problems creating the table of contents. If linking a library
9353 # or program results in "error TOC overflow" add -mminimal-toc to
9354 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9355 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9359 hardcode_direct_absolute
=yes
9360 hardcode_libdir_separator
=':'
9361 link_all_deplibs
=yes
9362 file_list_spec
='${wl}-f,'
9364 if test "$GCC" = yes; then
9365 case $host_os in aix4.
[012]|aix4.
[012].
*)
9366 # We only want to do this on AIX 4.2 and lower, the check
9367 # below for broken collect2 doesn't work under 4.3+
9368 collect2name
=`${CC} -print-prog-name=collect2`
9369 if test -f "$collect2name" &&
9370 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9372 # We have reworked collect2
9375 # We have old collect2
9376 hardcode_direct
=unsupported
9377 # It fails to find uninstalled libraries when the uninstalled
9378 # path is not listed in the libpath. Setting hardcode_minus_L
9379 # to unsupported forces relinking
9380 hardcode_minus_L
=yes
9381 hardcode_libdir_flag_spec
='-L$libdir'
9382 hardcode_libdir_separator
=
9386 shared_flag
='-shared'
9387 if test "$aix_use_runtimelinking" = yes; then
9388 shared_flag
="$shared_flag "'${wl}-G'
9392 if test "$host_cpu" = ia64
; then
9393 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9394 # chokes on -Wl,-G. The following line is correct:
9397 if test "$aix_use_runtimelinking" = yes; then
9398 shared_flag
='${wl}-G'
9400 shared_flag
='${wl}-bM:SRE'
9405 export_dynamic_flag_spec
='${wl}-bexpall'
9406 # It seems that -bexpall does not export symbols beginning with
9407 # underscore (_), so it is better to generate a list of symbols to export.
9408 always_export_symbols
=yes
9409 if test "$aix_use_runtimelinking" = yes; then
9410 # Warning - without using the other runtime loading flags (-brtl),
9411 # -berok will link without error, but may produce a broken library.
9412 allow_undefined_flag
='-berok'
9413 # Determine the default libpath from the value encoded in an
9415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9426 if ac_fn_c_try_link
"$LINENO"; then :
9428 lt_aix_libpath_sed
='
9429 /Import File Strings/,/^$/ {
9435 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9436 # Check for a 64-bit object if we didn't find anything.
9437 if test -z "$aix_libpath"; then
9438 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9441 rm -f core conftest.err conftest.
$ac_objext \
9442 conftest
$ac_exeext conftest.
$ac_ext
9443 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9445 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9446 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"
9448 if test "$host_cpu" = ia64
; then
9449 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9450 allow_undefined_flag
="-z nodefs"
9451 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"
9453 # Determine the default libpath from the value encoded in an
9455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9466 if ac_fn_c_try_link
"$LINENO"; then :
9468 lt_aix_libpath_sed
='
9469 /Import File Strings/,/^$/ {
9475 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9476 # Check for a 64-bit object if we didn't find anything.
9477 if test -z "$aix_libpath"; then
9478 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9481 rm -f core conftest.err conftest.
$ac_objext \
9482 conftest
$ac_exeext conftest.
$ac_ext
9483 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9485 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9486 # Warning - without using the other run time loading flags,
9487 # -berok will link without error, but may produce a broken library.
9488 no_undefined_flag
=' ${wl}-bernotok'
9489 allow_undefined_flag
=' ${wl}-berok'
9490 if test "$with_gnu_ld" = yes; then
9491 # We only use this code for GNU lds that support --whole-archive.
9492 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9494 # Exported symbols can be pulled into shared objects from archives
9495 whole_archive_flag_spec
='$convenience'
9497 archive_cmds_need_lc
=yes
9498 # This is similar to how AIX traditionally builds its shared libraries.
9499 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'
9507 # see comment about AmigaOS4 .so support
9508 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9509 archive_expsym_cmds
=''
9512 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)'
9513 hardcode_libdir_flag_spec
='-L$libdir'
9514 hardcode_minus_L
=yes
9520 export_dynamic_flag_spec
=-rdynamic
9523 cygwin
* | mingw
* | pw32
* | cegcc
*)
9524 # When not using gcc, we currently assume that we are using
9525 # Microsoft Visual C++.
9526 # hardcode_libdir_flag_spec is actually meaningless, as there is
9527 # no search path for DLLs.
9528 hardcode_libdir_flag_spec
=' '
9529 allow_undefined_flag
=unsupported
9530 # Tell ltmain to make .lib files, not .a files.
9532 # Tell ltmain to make .dll files, not .so files.
9534 # FIXME: Setting linknames here is a bad hack.
9535 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9536 # The linker will automatically build a .lib file if we build a DLL.
9537 old_archive_from_new_cmds
='true'
9538 # FIXME: Should let the user specify the lib program.
9539 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9540 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9541 enable_shared_with_static_runtimes
=yes
9544 darwin
* | rhapsody
*)
9547 archive_cmds_need_lc
=no
9549 hardcode_automatic
=yes
9550 hardcode_shlibpath_var
=unsupported
9551 if test "$lt_cv_ld_force_load" = "yes"; then
9552 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\"`'
9554 whole_archive_flag_spec
=''
9556 link_all_deplibs
=yes
9557 allow_undefined_flag
="$_lt_dar_allow_undefined"
9558 case $cc_basename in
9559 ifort
*) _lt_dar_can_shared
=yes ;;
9560 *) _lt_dar_can_shared
=$GCC ;;
9562 if test "$_lt_dar_can_shared" = "yes"; then
9563 output_verbose_link_cmd
=func_echo_all
9564 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9565 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9566 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}"
9567 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}"
9576 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9577 hardcode_libdir_flag_spec
='-L$libdir'
9578 hardcode_shlibpath_var
=no
9581 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9582 # support. Future versions do this automatically, but an explicit c++rt0.o
9583 # does not break anything, and helps significantly (at the cost of a little
9586 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9587 hardcode_libdir_flag_spec
='-R$libdir'
9589 hardcode_shlibpath_var
=no
9592 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9594 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9596 hardcode_minus_L
=yes
9597 hardcode_shlibpath_var
=no
9600 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9601 freebsd
* | dragonfly
*)
9602 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9603 hardcode_libdir_flag_spec
='-R$libdir'
9605 hardcode_shlibpath_var
=no
9609 if test "$GCC" = yes; then
9610 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'
9612 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'
9614 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9615 hardcode_libdir_separator
=:
9618 # hardcode_minus_L: Not really in the search PATH,
9619 # but as the default location of the library.
9620 hardcode_minus_L
=yes
9621 export_dynamic_flag_spec
='${wl}-E'
9625 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9626 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9630 if test "$with_gnu_ld" = no
; then
9631 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9632 hardcode_libdir_flag_spec_ld
='+b $libdir'
9633 hardcode_libdir_separator
=:
9635 hardcode_direct_absolute
=yes
9636 export_dynamic_flag_spec
='${wl}-E'
9637 # hardcode_minus_L: Not really in the search PATH,
9638 # but as the default location of the library.
9639 hardcode_minus_L
=yes
9644 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9647 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9650 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9653 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9662 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9666 # Older versions of the 11.00 compiler do not understand -b yet
9667 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9669 $as_echo_n "checking if $CC understands -b... " >&6; }
9670 if ${lt_cv_prog_compiler__b+:} false
; then :
9671 $as_echo_n "(cached) " >&6
9673 lt_cv_prog_compiler__b
=no
9674 save_LDFLAGS
="$LDFLAGS"
9675 LDFLAGS
="$LDFLAGS -b"
9676 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9677 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9678 # The linker can only warn and ignore the option if not recognized
9679 # So say no if there are warnings
9680 if test -s conftest.err
; then
9681 # Append any errors to the config.log.
9682 cat conftest.err
1>&5
9683 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9684 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9685 if diff conftest.exp conftest.er2
>/dev
/null
; then
9686 lt_cv_prog_compiler__b
=yes
9689 lt_cv_prog_compiler__b
=yes
9693 LDFLAGS
="$save_LDFLAGS"
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9697 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9699 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9700 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9708 if test "$with_gnu_ld" = no
; then
9709 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9710 hardcode_libdir_separator
=:
9715 hardcode_shlibpath_var
=no
9719 hardcode_direct_absolute
=yes
9720 export_dynamic_flag_spec
='${wl}-E'
9722 # hardcode_minus_L: Not really in the search PATH,
9723 # but as the default location of the library.
9724 hardcode_minus_L
=yes
9730 irix5
* | irix6
* | nonstopux
*)
9731 if test "$GCC" = yes; then
9732 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'
9733 # Try to use the -exported_symbol ld option, if it does not
9734 # work, assume that -exports_file does not work either and
9735 # implicitly export all symbols.
9736 save_LDFLAGS
="$LDFLAGS"
9737 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9742 if ac_fn_c_try_link
"$LINENO"; then :
9743 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'
9746 rm -f core conftest.err conftest.
$ac_objext \
9747 conftest
$ac_exeext conftest.
$ac_ext
9748 LDFLAGS
="$save_LDFLAGS"
9750 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'
9751 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'
9753 archive_cmds_need_lc
='no'
9754 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9755 hardcode_libdir_separator
=:
9757 link_all_deplibs
=yes
9761 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9762 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9764 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9766 hardcode_libdir_flag_spec
='-R$libdir'
9768 hardcode_shlibpath_var
=no
9772 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9774 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9775 hardcode_libdir_separator
=:
9776 hardcode_shlibpath_var
=no
9783 if test -f /usr
/libexec
/ld.so
; then
9785 hardcode_shlibpath_var
=no
9786 hardcode_direct_absolute
=yes
9787 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9788 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9790 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9791 export_dynamic_flag_spec
='${wl}-E'
9794 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9795 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9796 hardcode_libdir_flag_spec
='-R$libdir'
9799 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9800 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9810 hardcode_libdir_flag_spec
='-L$libdir'
9811 hardcode_minus_L
=yes
9812 allow_undefined_flag
=unsupported
9813 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'
9814 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9818 if test "$GCC" = yes; then
9819 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9820 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'
9822 allow_undefined_flag
=' -expect_unresolved \*'
9823 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'
9825 archive_cmds_need_lc
='no'
9826 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9827 hardcode_libdir_separator
=:
9830 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9831 if test "$GCC" = yes; then
9832 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9833 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'
9834 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9836 allow_undefined_flag
=' -expect_unresolved \*'
9837 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'
9838 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~
9839 $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'
9841 # Both c and cxx compiler support -rpath directly
9842 hardcode_libdir_flag_spec
='-rpath $libdir'
9844 archive_cmds_need_lc
='no'
9845 hardcode_libdir_separator
=:
9849 no_undefined_flag
=' -z defs'
9850 if test "$GCC" = yes; then
9852 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9853 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9854 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9856 case `$CC -V 2>&1` in
9859 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9860 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9861 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9865 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9867 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9871 hardcode_libdir_flag_spec
='-R$libdir'
9872 hardcode_shlibpath_var
=no
9874 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9876 # The compiler driver will combine and reorder linker options,
9877 # but understands `-z linker_flag'. GCC discards it without `$wl',
9878 # but is careful enough not to reorder.
9879 # Supported since Solaris 2.6 (maybe 2.5.1?)
9880 if test "$GCC" = yes; then
9881 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9883 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9887 link_all_deplibs
=yes
9891 if test "x$host_vendor" = xsequent
; then
9892 # Use $CC to link under sequent, because it throws in some extra .o
9893 # files that make .init and .fini sections work.
9894 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9898 hardcode_libdir_flag_spec
='-L$libdir'
9900 hardcode_minus_L
=yes
9901 hardcode_shlibpath_var
=no
9905 case $host_vendor in
9907 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9908 hardcode_direct
=yes # is this really true???
9911 ## LD is ld it makes a PLAMLIB
9912 ## CC just makes a GrossModule.
9913 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9914 reload_cmds
='$CC -r -o $output$reload_objs'
9918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9922 runpath_var
='LD_RUN_PATH'
9923 hardcode_shlibpath_var
=no
9927 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9928 hardcode_shlibpath_var
=no
9929 export_dynamic_flag_spec
='-Bexport'
9933 if test -d /usr
/nec
; then
9934 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_shlibpath_var
=no
9936 runpath_var
=LD_RUN_PATH
9937 hardcode_runpath_var
=yes
9942 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9943 no_undefined_flag
='${wl}-z,text'
9944 archive_cmds_need_lc
=no
9945 hardcode_shlibpath_var
=no
9946 runpath_var
='LD_RUN_PATH'
9948 if test "$GCC" = yes; then
9949 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9952 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9957 sysv5
* | sco3.2v5
* | sco5v6
*)
9958 # Note: We can NOT use -z defs as we might desire, because we do not
9959 # link with -lc, and that would cause any symbols used from libc to
9960 # always be unresolved, which means just about no library would
9961 # ever link correctly. If we're not using GNU ld we use -z text
9962 # though, which does catch some bad symbols but isn't as heavy-handed
9964 no_undefined_flag
='${wl}-z,text'
9965 allow_undefined_flag
='${wl}-z,nodefs'
9966 archive_cmds_need_lc
=no
9967 hardcode_shlibpath_var
=no
9968 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9969 hardcode_libdir_separator
=':'
9970 link_all_deplibs
=yes
9971 export_dynamic_flag_spec
='${wl}-Bexport'
9972 runpath_var
='LD_RUN_PATH'
9974 if test "$GCC" = yes; then
9975 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 hardcode_libdir_flag_spec
='-L$libdir'
9986 hardcode_shlibpath_var
=no
9994 if test x
$host_vendor = xsni
; then
9996 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9997 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10004 $as_echo "$ld_shlibs" >&6; }
10005 test "$ld_shlibs" = no
&& can_build_shared
=no
10007 with_gnu_ld
=$with_gnu_ld
10024 # Do we need to explicitly link libc?
10026 case "x$archive_cmds_need_lc" in
10028 # Assume -lc should be added
10029 archive_cmds_need_lc
=yes
10031 if test "$enable_shared" = yes && test "$GCC" = yes; then
10032 case $archive_cmds in
10034 # FIXME: we may have to deal with multi-command sequences.
10037 # Test whether the compiler implicitly links with -lc since on some
10038 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10039 # to ld, don't add -lc before -lgcc.
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10041 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10042 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10043 $as_echo_n "(cached) " >&6
10046 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10049 (eval $ac_compile) 2>&5
10051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10052 test $ac_status = 0; } 2>conftest.err
; then
10055 libobjs
=conftest.
$ac_objext
10057 wl
=$lt_prog_compiler_wl
10058 pic_flag
=$lt_prog_compiler_pic
10064 lt_save_allow_undefined_flag
=$allow_undefined_flag
10065 allow_undefined_flag
=
10066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10067 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10070 test $ac_status = 0; }
10072 lt_cv_archive_cmds_need_lc
=no
10074 lt_cv_archive_cmds_need_lc
=yes
10076 allow_undefined_flag
=$lt_save_allow_undefined_flag
10078 cat conftest.err
1>&5
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10084 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10085 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10249 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10251 if test "$GCC" = yes; then
10253 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10254 *) lt_awk_arg
="/^libraries:/" ;;
10257 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10258 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10260 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10261 case $lt_search_path_spec in
10263 # if the path contains ";" then we assume it to be the separator
10264 # otherwise default to the standard path separator (i.e. ":") - it is
10265 # assumed that no part of a normal pathname contains ";" but that should
10266 # okay in the real world where ";" in dirpaths is itself problematic.
10267 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10270 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10273 # Ok, now we have the path, separated by spaces, we can step through it
10274 # and add multilib dir if necessary.
10275 lt_tmp_lt_search_path_spec
=
10276 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10277 for lt_sys_path
in $lt_search_path_spec; do
10278 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10279 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10281 test -d "$lt_sys_path" && \
10282 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10285 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10286 BEGIN {RS=" "; FS="/|\n";} {
10289 for (lt_i = NF; lt_i > 0; lt_i--) {
10290 if ($lt_i != "" && $lt_i != ".") {
10291 if ($lt_i == "..") {
10294 if (lt_count == 0) {
10295 lt_foo="/" $lt_i lt_foo;
10302 if (lt_foo != "") { lt_freq[lt_foo]++; }
10303 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10305 # AWK program above erroneously prepends '/' to C:/dos/paths
10308 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10309 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10311 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10313 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10315 library_names_spec
=
10316 libname_spec
='lib$name'
10320 postuninstall_cmds
=
10324 shlibpath_overrides_runpath
=unknown
10326 dynamic_linker
="$host_os ld.so"
10327 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10328 need_lib_prefix
=unknown
10329 hardcode_into_libs
=no
10331 # when you set need_version to no, make sure it does not cause -set_version
10332 # flags to be left without arguments
10333 need_version
=unknown
10338 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10339 shlibpath_var
=LIBPATH
10341 # AIX 3 has no versioning support, so we append a major version to the name.
10342 soname_spec
='${libname}${release}${shared_ext}$major'
10349 hardcode_into_libs
=yes
10350 if test "$host_cpu" = ia64
; then
10351 # AIX 5 supports IA64
10352 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10353 shlibpath_var
=LD_LIBRARY_PATH
10355 # With GCC up to 2.95.x, collect2 would create an import file
10356 # for dependence libraries. The import file would start with
10357 # the line `#! .'. This would cause the generated library to
10358 # depend on `.', always an invalid library. This was fixed in
10359 # development snapshots of GCC prior to 3.0.
10361 aix4 | aix4.
[01] | aix4.
[01].
*)
10362 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10364 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10367 can_build_shared
=no
10371 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10372 # soname into executable. Probably we can add versioning support to
10373 # collect2, so additional links can be useful in future.
10374 if test "$aix_use_runtimelinking" = yes; then
10375 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10376 # instead of lib<name>.a to let people know that these are not
10377 # typical AIX shared libraries.
10378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380 # We preserve .a as extension for shared libraries through AIX4.2
10381 # and later when we are not doing run time linking.
10382 library_names_spec
='${libname}${release}.a $libname.a'
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10385 shlibpath_var
=LIBPATH
10392 # Since July 2007 AmigaOS4 officially supports .so libraries.
10393 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397 library_names_spec
='$libname.ixlibrary $libname.a'
10398 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10399 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'
10405 library_names_spec
='${libname}${shared_ext}'
10406 dynamic_linker
="$host_os ld.so"
10407 shlibpath_var
=LIBRARY_PATH
10413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414 soname_spec
='${libname}${release}${shared_ext}$major'
10415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10416 shlibpath_var
=LD_LIBRARY_PATH
10417 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10418 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10419 # the default ld.so.conf also contains /usr/contrib/lib and
10420 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10421 # libtool to hard-code these into programs
10424 cygwin
* | mingw
* | pw32
* | cegcc
*)
10425 version_type
=windows
10430 case $GCC,$host_os in
10431 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10432 library_names_spec
='$libname.dll.a'
10433 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10434 postinstall_cmds
='base_file=`basename \${file}`~
10435 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10436 dldir=$destdir/`dirname \$dlpath`~
10437 test -d \$dldir || mkdir -p \$dldir~
10438 $install_prog $dir/$dlname \$dldir/$dlname~
10439 chmod a+x \$dldir/$dlname~
10440 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10441 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10443 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10444 dlpath=$dir/\$dldll~
10446 shlibpath_overrides_runpath
=yes
10450 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10451 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10453 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10456 # MinGW DLLs use traditional 'lib' prefix
10457 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10460 # pw32 DLLs use 'pw' prefix rather than 'lib'
10461 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10467 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10470 dynamic_linker
='Win32 ld.exe'
10471 # FIXME: first we should search . and the directory the executable is in
10475 darwin
* | rhapsody
*)
10476 dynamic_linker
="$host_os dyld"
10477 version_type
=darwin
10480 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10481 soname_spec
='${libname}${release}${major}$shared_ext'
10482 shlibpath_overrides_runpath
=yes
10483 shlibpath_var
=DYLD_LIBRARY_PATH
10484 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10486 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10487 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10495 soname_spec
='${libname}${release}${shared_ext}$major'
10496 shlibpath_var
=LD_LIBRARY_PATH
10499 freebsd
* | dragonfly
*)
10500 # DragonFly does not have aout. When/if they implement a new
10501 # versioning mechanism, adjust this.
10502 if test -x /usr
/bin
/objformat
; then
10503 objformat
=`/usr/bin/objformat`
10506 freebsd
[23].
*) objformat
=aout
;;
10507 *) objformat
=elf
;;
10510 version_type
=freebsd-
$objformat
10511 case $version_type in
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10522 shlibpath_var
=LD_LIBRARY_PATH
10525 shlibpath_overrides_runpath
=yes
10527 freebsd3.
[01]* | freebsdelf3.
[01]*)
10528 shlibpath_overrides_runpath
=yes
10529 hardcode_into_libs
=yes
10531 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10532 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10533 shlibpath_overrides_runpath
=no
10534 hardcode_into_libs
=yes
10536 *) # from 4.6 on, and DragonFly
10537 shlibpath_overrides_runpath
=yes
10538 hardcode_into_libs
=yes
10547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10548 soname_spec
='${libname}${release}${shared_ext}$major'
10549 shlibpath_var
=LD_LIBRARY_PATH
10550 hardcode_into_libs
=yes
10557 dynamic_linker
="$host_os runtime_loader"
10558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10559 soname_spec
='${libname}${release}${shared_ext}$major'
10560 shlibpath_var
=LIBRARY_PATH
10561 shlibpath_overrides_runpath
=yes
10562 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10563 hardcode_into_libs
=yes
10566 hpux9
* | hpux10
* | hpux11
*)
10567 # Give a soname corresponding to the major version so that dld.sl refuses to
10568 # link against other versions.
10575 hardcode_into_libs
=yes
10576 dynamic_linker
="$host_os dld.so"
10577 shlibpath_var
=LD_LIBRARY_PATH
10578 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec
='${libname}${release}${shared_ext}$major'
10581 if test "X$HPUX_IA64_MODE" = X32
; then
10582 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10584 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10586 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10590 hardcode_into_libs
=yes
10591 dynamic_linker
="$host_os dld.sl"
10592 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10593 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec
='${libname}${release}${shared_ext}$major'
10596 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10597 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10601 dynamic_linker
="$host_os dld.sl"
10602 shlibpath_var
=SHLIB_PATH
10603 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605 soname_spec
='${libname}${release}${shared_ext}$major'
10608 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10609 postinstall_cmds
='chmod 555 $lib'
10610 # or fails outright, so override atomically:
10611 install_override_mode
=555
10618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10619 soname_spec
='${libname}${release}${shared_ext}$major'
10620 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10621 shlibpath_var
=LD_LIBRARY_PATH
10622 shlibpath_overrides_runpath
=no
10623 hardcode_into_libs
=yes
10626 irix5
* | irix6
* | nonstopux
*)
10628 nonstopux
*) version_type
=nonstopux
;;
10630 if test "$lt_cv_prog_gnu_ld" = yes; then
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10641 irix5
* | nonstopux
*)
10642 libsuff
= shlibsuff
=
10645 case $LD in # libtool.m4 will add one of these switches to LD
10646 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10647 libsuff
= shlibsuff
= libmagic
=32-bit;;
10648 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10649 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10650 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10651 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10652 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10656 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10657 shlibpath_overrides_runpath
=no
10658 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10659 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10660 hardcode_into_libs
=yes
10663 # No shared lib support for Linux oldld, aout, or coff.
10664 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10668 # This must be Linux ELF.
10669 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 soname_spec
='${libname}${release}${shared_ext}$major'
10675 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10676 shlibpath_var
=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath
=no
10679 # Some binutils ld are patched to set DT_RUNPATH
10680 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10681 $as_echo_n "(cached) " >&6
10683 lt_cv_shlibpath_overrides_runpath
=no
10684 save_LDFLAGS
=$LDFLAGS
10685 save_libdir
=$libdir
10686 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10687 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10699 if ac_fn_c_try_link
"$LINENO"; then :
10700 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10701 lt_cv_shlibpath_overrides_runpath
=yes
10704 rm -f core conftest.err conftest.
$ac_objext \
10705 conftest
$ac_exeext conftest.
$ac_ext
10706 LDFLAGS
=$save_LDFLAGS
10707 libdir
=$save_libdir
10711 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10713 # This implies no fast_install, which is unacceptable.
10714 # Some rework will be needed to allow for fast_install
10715 # before this can be enabled.
10716 hardcode_into_libs
=yes
10718 # Append ld.so.conf contents to the search path
10719 if test -f /etc
/ld.so.conf
; then
10720 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' ' '`
10721 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10724 # We used to test for /lib/ld.so.1 and disable shared libraries on
10725 # powerpc, because MkLinux only supported shared libraries with the
10726 # GNU dynamic linker. Since this was broken with cross compilers,
10727 # most powerpc-linux boxes support dynamic linking these days and
10728 # people can always --disable-shared, the test was removed, and we
10729 # assume the GNU/Linux dynamic linker is in use.
10730 dynamic_linker
='GNU/Linux ld.so'
10737 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10739 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10740 dynamic_linker
='NetBSD (a.out) ld.so'
10742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10743 soname_spec
='${libname}${release}${shared_ext}$major'
10744 dynamic_linker
='NetBSD ld.elf_so'
10746 shlibpath_var
=LD_LIBRARY_PATH
10747 shlibpath_overrides_runpath
=yes
10748 hardcode_into_libs
=yes
10753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10754 shlibpath_var
=LD_LIBRARY_PATH
10755 shlibpath_overrides_runpath
=yes
10762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 soname_spec
='${libname}${release}${shared_ext}$major'
10764 shlibpath_var
=LD_LIBRARY_PATH
10765 shlibpath_overrides_runpath
=no
10766 hardcode_into_libs
=yes
10767 dynamic_linker
='ldqnx.so'
10772 sys_lib_dlsearch_path_spec
="/usr/lib"
10774 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10776 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10777 *) need_version
=no
;;
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10780 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10781 shlibpath_var
=LD_LIBRARY_PATH
10782 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10784 openbsd2.
[89] | openbsd2.
[89].
*)
10785 shlibpath_overrides_runpath
=no
10788 shlibpath_overrides_runpath
=yes
10792 shlibpath_overrides_runpath
=yes
10797 libname_spec
='$name'
10800 library_names_spec
='$libname${shared_ext} $libname.a'
10801 dynamic_linker
='OS/2 ld.exe'
10802 shlibpath_var
=LIBPATH
10805 osf3
* | osf4
* | osf5
*)
10809 soname_spec
='${libname}${release}${shared_ext}$major'
10810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811 shlibpath_var
=LD_LIBRARY_PATH
10812 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10813 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 soname_spec
='${libname}${release}${shared_ext}$major'
10826 shlibpath_var
=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath
=yes
10828 hardcode_into_libs
=yes
10829 # ldd complains unless libraries are executable
10830 postinstall_cmds
='chmod +x $lib'
10835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10836 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10837 shlibpath_var
=LD_LIBRARY_PATH
10838 shlibpath_overrides_runpath
=yes
10839 if test "$with_gnu_ld" = yes; then
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848 soname_spec
='${libname}${release}${shared_ext}$major'
10849 shlibpath_var
=LD_LIBRARY_PATH
10850 case $host_vendor in
10852 shlibpath_overrides_runpath
=no
10854 runpath_var
=LD_RUN_PATH
10862 shlibpath_overrides_runpath
=no
10863 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10869 if test -d /usr
/nec
;then
10871 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10872 soname_spec
='$libname${shared_ext}.$major'
10873 shlibpath_var
=LD_LIBRARY_PATH
10877 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10878 version_type
=freebsd-elf
10881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10882 soname_spec
='${libname}${release}${shared_ext}$major'
10883 shlibpath_var
=LD_LIBRARY_PATH
10884 shlibpath_overrides_runpath
=yes
10885 hardcode_into_libs
=yes
10886 if test "$with_gnu_ld" = yes; then
10887 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10889 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10892 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10896 sys_lib_dlsearch_path_spec
='/usr/lib'
10900 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 shlibpath_var
=LD_LIBRARY_PATH
10906 shlibpath_overrides_runpath
=no
10907 hardcode_into_libs
=yes
10912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 soname_spec
='${libname}${release}${shared_ext}$major'
10914 shlibpath_var
=LD_LIBRARY_PATH
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10922 $as_echo "$dynamic_linker" >&6; }
10923 test "$dynamic_linker" = no
&& can_build_shared
=no
10925 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10926 if test "$GCC" = yes; then
10927 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10930 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10931 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10933 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10934 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11029 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11031 if test -n "$hardcode_libdir_flag_spec" ||
11032 test -n "$runpath_var" ||
11033 test "X$hardcode_automatic" = "Xyes" ; then
11035 # We can hardcode non-existent directories.
11036 if test "$hardcode_direct" != no
&&
11037 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11038 # have to relink, otherwise we might link with an installed library
11039 # when we should be linking with a yet-to-be-installed one
11040 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11041 test "$hardcode_minus_L" != no
; then
11042 # Linking always hardcodes the temporary library directory.
11043 hardcode_action
=relink
11045 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11046 hardcode_action
=immediate
11049 # We cannot hardcode anything, or else we can only hardcode existing
11051 hardcode_action
=unsupported
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11054 $as_echo "$hardcode_action" >&6; }
11056 if test "$hardcode_action" = relink ||
11057 test "$inherit_rpath" = yes; then
11058 # Fast installation is not supported
11059 enable_fast_install
=no
11060 elif test "$shlibpath_overrides_runpath" = yes ||
11061 test "$enable_shared" = no
; then
11062 # Fast installation is not necessary
11063 enable_fast_install
=needless
11071 if test "x$enable_dlopen" != xyes
; then
11072 enable_dlopen
=unknown
11073 enable_dlopen_self
=unknown
11074 enable_dlopen_self_static
=unknown
11081 lt_cv_dlopen
="load_add_on"
11083 lt_cv_dlopen_self
=yes
11086 mingw
* | pw32
* | cegcc
*)
11087 lt_cv_dlopen
="LoadLibrary"
11092 lt_cv_dlopen
="dlopen"
11097 # if libdl is installed we need to link against it
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11099 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11100 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11101 $as_echo_n "(cached) " >&6
11103 ac_check_lib_save_LIBS
=$LIBS
11105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11123 if ac_fn_c_try_link
"$LINENO"; then :
11124 ac_cv_lib_dl_dlopen
=yes
11126 ac_cv_lib_dl_dlopen
=no
11128 rm -f core conftest.err conftest.
$ac_objext \
11129 conftest
$ac_exeext conftest.
$ac_ext
11130 LIBS
=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11133 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11134 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11135 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11138 lt_cv_dlopen
="dyld"
11140 lt_cv_dlopen_self
=yes
11147 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11148 if test "x$ac_cv_func_shl_load" = xyes
; then :
11149 lt_cv_dlopen
="shl_load"
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11152 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11153 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11154 $as_echo_n "(cached) " >&6
11156 ac_check_lib_save_LIBS
=$LIBS
11158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11161 /* Override any GCC internal prototype to avoid an error.
11162 Use char because int might match the return type of a GCC
11163 builtin and then its argument prototype would still apply. */
11171 return shl_load ();
11176 if ac_fn_c_try_link
"$LINENO"; then :
11177 ac_cv_lib_dld_shl_load
=yes
11179 ac_cv_lib_dld_shl_load
=no
11181 rm -f core conftest.err conftest.
$ac_objext \
11182 conftest
$ac_exeext conftest.
$ac_ext
11183 LIBS
=$ac_check_lib_save_LIBS
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11186 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11187 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11188 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11190 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11191 if test "x$ac_cv_func_dlopen" = xyes
; then :
11192 lt_cv_dlopen
="dlopen"
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11195 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11196 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11197 $as_echo_n "(cached) " >&6
11199 ac_check_lib_save_LIBS
=$LIBS
11201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11219 if ac_fn_c_try_link
"$LINENO"; then :
11220 ac_cv_lib_dl_dlopen
=yes
11222 ac_cv_lib_dl_dlopen
=no
11224 rm -f core conftest.err conftest.
$ac_objext \
11225 conftest
$ac_exeext conftest.
$ac_ext
11226 LIBS
=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11229 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11230 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11231 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11234 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11235 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_lib_save_LIBS
=$LIBS
11239 LIBS
="-lsvld $LIBS"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11258 if ac_fn_c_try_link
"$LINENO"; then :
11259 ac_cv_lib_svld_dlopen
=yes
11261 ac_cv_lib_svld_dlopen
=no
11263 rm -f core conftest.err conftest.
$ac_objext \
11264 conftest
$ac_exeext conftest.
$ac_ext
11265 LIBS
=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11268 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11269 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11270 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11273 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11274 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_lib_save_LIBS
=$LIBS
11279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11292 return dld_link ();
11297 if ac_fn_c_try_link
"$LINENO"; then :
11298 ac_cv_lib_dld_dld_link
=yes
11300 ac_cv_lib_dld_dld_link
=no
11302 rm -f core conftest.err conftest.
$ac_objext \
11303 conftest
$ac_exeext conftest.
$ac_ext
11304 LIBS
=$ac_check_lib_save_LIBS
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11307 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11308 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11309 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11330 if test "x$lt_cv_dlopen" != xno
; then
11336 case $lt_cv_dlopen in
11338 save_CPPFLAGS
="$CPPFLAGS"
11339 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11341 save_LDFLAGS
="$LDFLAGS"
11342 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11345 LIBS
="$lt_cv_dlopen_libs $LIBS"
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11348 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11349 if ${lt_cv_dlopen_self+:} false
; then :
11350 $as_echo_n "(cached) " >&6
11352 if test "$cross_compiling" = yes; then :
11353 lt_cv_dlopen_self
=cross
11355 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11356 lt_status
=$lt_dlunknown
11357 cat > conftest.
$ac_ext <<_LT_EOF
11358 #line 11358 "configure"
11359 #include "confdefs.h"
11368 # define LT_DLGLOBAL RTLD_GLOBAL
11371 # define LT_DLGLOBAL DL_GLOBAL
11373 # define LT_DLGLOBAL 0
11377 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11378 find out it does not work in some platform. */
11379 #ifndef LT_DLLAZY_OR_NOW
11381 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11384 # define LT_DLLAZY_OR_NOW DL_LAZY
11387 # define LT_DLLAZY_OR_NOW RTLD_NOW
11390 # define LT_DLLAZY_OR_NOW DL_NOW
11392 # define LT_DLLAZY_OR_NOW 0
11399 /* When -fvisbility=hidden is used, assume the code has been annotated
11400 correspondingly for the symbols needed. */
11401 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11402 void fnord () __attribute__((visibility("default")));
11405 void fnord () { int i=42; }
11408 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11409 int status = $lt_dlunknown;
11413 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11416 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11417 else puts (dlerror ());
11419 /* dlclose (self); */
11427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11428 (eval $ac_link) 2>&5
11430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11431 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11432 (.
/conftest
; exit; ) >&5 2>/dev
/null
11434 case x
$lt_status in
11435 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11436 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11437 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11440 # compilation failed
11441 lt_cv_dlopen_self
=no
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11449 $as_echo "$lt_cv_dlopen_self" >&6; }
11451 if test "x$lt_cv_dlopen_self" = xyes
; then
11452 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11454 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11455 if ${lt_cv_dlopen_self_static+:} false
; then :
11456 $as_echo_n "(cached) " >&6
11458 if test "$cross_compiling" = yes; then :
11459 lt_cv_dlopen_self_static
=cross
11461 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11462 lt_status
=$lt_dlunknown
11463 cat > conftest.
$ac_ext <<_LT_EOF
11464 #line 11464 "configure"
11465 #include "confdefs.h"
11474 # define LT_DLGLOBAL RTLD_GLOBAL
11477 # define LT_DLGLOBAL DL_GLOBAL
11479 # define LT_DLGLOBAL 0
11483 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11484 find out it does not work in some platform. */
11485 #ifndef LT_DLLAZY_OR_NOW
11487 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11490 # define LT_DLLAZY_OR_NOW DL_LAZY
11493 # define LT_DLLAZY_OR_NOW RTLD_NOW
11496 # define LT_DLLAZY_OR_NOW DL_NOW
11498 # define LT_DLLAZY_OR_NOW 0
11505 /* When -fvisbility=hidden is used, assume the code has been annotated
11506 correspondingly for the symbols needed. */
11507 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11508 void fnord () __attribute__((visibility("default")));
11511 void fnord () { int i=42; }
11514 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11515 int status = $lt_dlunknown;
11519 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11522 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11523 else puts (dlerror ());
11525 /* dlclose (self); */
11533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11534 (eval $ac_link) 2>&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11537 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11538 (.
/conftest
; exit; ) >&5 2>/dev
/null
11540 case x
$lt_status in
11541 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11542 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11543 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11546 # compilation failed
11547 lt_cv_dlopen_self_static
=no
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11555 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11558 CPPFLAGS
="$save_CPPFLAGS"
11559 LDFLAGS
="$save_LDFLAGS"
11564 case $lt_cv_dlopen_self in
11565 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11566 *) enable_dlopen_self
=unknown
;;
11569 case $lt_cv_dlopen_self_static in
11570 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11571 *) enable_dlopen_self_static
=unknown
;;
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11594 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11595 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11596 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11597 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11599 $as_echo "yes" >&6; }
11601 # FIXME - insert some real tests, host_os isn't really good enough
11604 if test -n "$STRIP" ; then
11605 striplib
="$STRIP -x"
11606 old_striplib
="$STRIP -S"
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11608 $as_echo "yes" >&6; }
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11611 $as_echo "no" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11616 $as_echo "no" >&6; }
11632 # Report which library types will actually be built
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11634 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11636 $as_echo "$can_build_shared" >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11639 $as_echo_n "checking whether to build shared libraries... " >&6; }
11640 test "$can_build_shared" = "no" && enable_shared
=no
11642 # On AIX, shared libraries and static libraries use the same namespace, and
11643 # are all built from PIC.
11646 test "$enable_shared" = yes && enable_static
=no
11647 if test -n "$RANLIB"; then
11648 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11649 postinstall_cmds
='$RANLIB $lib'
11654 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11655 test "$enable_shared" = yes && enable_static
=no
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11660 $as_echo "$enable_shared" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11663 $as_echo_n "checking whether to build static libraries... " >&6; }
11664 # Make sure either enable_shared or enable_static is yes.
11665 test "$enable_shared" = yes || enable_static
=yes
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11667 $as_echo "$enable_static" >&6; }
11674 ac_cpp
='$CPP $CPPFLAGS'
11675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11693 ac_config_commands
="$ac_config_commands libtool"
11698 # Only expand once:
11702 # The tests for host and target for $enable_largefile require
11707 # As the $enable_largefile decision depends on --enable-plugins we must set it
11708 # even in directories otherwise not depending on the $plugins option.
11712 for ac_header
in dlfcn.h
11714 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11716 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
11717 cat >>confdefs.h
<<_ACEOF
11718 #define HAVE_DLFCN_H 1
11725 for ac_header
in windows.h
11727 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11729 if test "x$ac_cv_header_windows_h" = xyes
; then :
11730 cat >>confdefs.h
<<_ACEOF
11731 #define HAVE_WINDOWS_H 1
11739 # Check whether --enable-plugins was given.
11740 if test "${enable_plugins+set}" = set; then :
11741 enableval
=$enable_plugins; case "${enableval}" in
11744 if test "$maybe_plugins" != "yes" ; then
11745 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11749 plugins
=$maybe_plugins
11753 if test "$plugins" = "yes"; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
11755 $as_echo_n "checking for library containing dlsym... " >&6; }
11756 if ${ac_cv_search_dlsym+:} false
; then :
11757 $as_echo_n "(cached) " >&6
11759 ac_func_search_save_LIBS
=$LIBS
11760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11778 for ac_lib
in '' dl
; do
11779 if test -z "$ac_lib"; then
11780 ac_res
="none required"
11783 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11785 if ac_fn_c_try_link
"$LINENO"; then :
11786 ac_cv_search_dlsym
=$ac_res
11788 rm -f core conftest.err conftest.
$ac_objext \
11790 if ${ac_cv_search_dlsym+:} false
; then :
11794 if ${ac_cv_search_dlsym+:} false
; then :
11797 ac_cv_search_dlsym
=no
11799 rm conftest.
$ac_ext
11800 LIBS
=$ac_func_search_save_LIBS
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
11803 $as_echo "$ac_cv_search_dlsym" >&6; }
11804 ac_res
=$ac_cv_search_dlsym
11805 if test "$ac_res" != no
; then :
11806 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11814 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
11815 # On native 32bit sparc and ia32 solaris, large-file and procfs support
11816 # are mutually exclusive; and without procfs support, the bfd/ elf module
11817 # cannot provide certain routines such as elfcore_write_prpsinfo
11818 # or elfcore_write_prstatus. So unless the user explicitly requested
11819 # large-file support through the --enable-largefile switch, disable
11820 # large-file support in favor of procfs support.
11821 test "${target}" = "${host}" -a "x$plugins" = xno \
11822 && : ${enable_largefile="no"}
11826 # Check whether --enable-largefile was given.
11827 if test "${enable_largefile+set}" = set; then :
11828 enableval
=$enable_largefile;
11831 if test "$enable_largefile" != no
; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11834 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11835 if ${ac_cv_sys_largefile_CC+:} false
; then :
11836 $as_echo_n "(cached) " >&6
11838 ac_cv_sys_largefile_CC
=no
11839 if test "$GCC" != yes; then
11842 # IRIX 6.2 and later do not support large files by default,
11843 # so use the C compiler's -n32 option if that helps.
11844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11846 #include <sys/types.h>
11847 /* Check that off_t can represent 2**63 - 1 correctly.
11848 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11849 since some C++ compilers masquerading as C compilers
11850 incorrectly reject 9223372036854775807. */
11851 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11852 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11853 && LARGE_OFF_T % 2147483647 == 1)
11863 if ac_fn_c_try_compile
"$LINENO"; then :
11866 rm -f core conftest.err conftest.
$ac_objext
11868 if ac_fn_c_try_compile
"$LINENO"; then :
11869 ac_cv_sys_largefile_CC
=' -n32'; break
11871 rm -f core conftest.err conftest.
$ac_objext
11875 rm -f conftest.
$ac_ext
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11879 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11880 if test "$ac_cv_sys_largefile_CC" != no
; then
11881 CC
=$CC$ac_cv_sys_largefile_CC
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11885 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11886 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11887 $as_echo_n "(cached) " >&6
11890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11892 #include <sys/types.h>
11893 /* Check that off_t can represent 2**63 - 1 correctly.
11894 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11895 since some C++ compilers masquerading as C compilers
11896 incorrectly reject 9223372036854775807. */
11897 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11898 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11899 && LARGE_OFF_T % 2147483647 == 1)
11909 if ac_fn_c_try_compile
"$LINENO"; then :
11910 ac_cv_sys_file_offset_bits
=no
; break
11912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11915 #define _FILE_OFFSET_BITS 64
11916 #include <sys/types.h>
11917 /* Check that off_t can represent 2**63 - 1 correctly.
11918 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11919 since some C++ compilers masquerading as C compilers
11920 incorrectly reject 9223372036854775807. */
11921 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11922 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11923 && LARGE_OFF_T % 2147483647 == 1)
11933 if ac_fn_c_try_compile
"$LINENO"; then :
11934 ac_cv_sys_file_offset_bits
=64; break
11936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11937 ac_cv_sys_file_offset_bits
=unknown
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11942 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11943 case $ac_cv_sys_file_offset_bits in #(
11946 cat >>confdefs.h
<<_ACEOF
11947 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11952 if test $ac_cv_sys_file_offset_bits = unknown
; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11954 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11955 if ${ac_cv_sys_large_files+:} false
; then :
11956 $as_echo_n "(cached) " >&6
11959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 #include <sys/types.h>
11962 /* Check that off_t can represent 2**63 - 1 correctly.
11963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11964 since some C++ compilers masquerading as C compilers
11965 incorrectly reject 9223372036854775807. */
11966 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11968 && LARGE_OFF_T % 2147483647 == 1)
11978 if ac_fn_c_try_compile
"$LINENO"; then :
11979 ac_cv_sys_large_files
=no
; break
11981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11984 #define _LARGE_FILES 1
11985 #include <sys/types.h>
11986 /* Check that off_t can represent 2**63 - 1 correctly.
11987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11988 since some C++ compilers masquerading as C compilers
11989 incorrectly reject 9223372036854775807. */
11990 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11992 && LARGE_OFF_T % 2147483647 == 1)
12002 if ac_fn_c_try_compile
"$LINENO"; then :
12003 ac_cv_sys_large_files
=1; break
12005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12006 ac_cv_sys_large_files
=unknown
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12011 $as_echo "$ac_cv_sys_large_files" >&6; }
12012 case $ac_cv_sys_large_files in #(
12015 cat >>confdefs.h
<<_ACEOF
12016 #define _LARGE_FILES $ac_cv_sys_large_files
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
12028 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
12029 if ${gcc_cv_prog_cmp_skip+:} false
; then :
12030 $as_echo_n "(cached) " >&6
12034 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
12035 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
12036 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
12039 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
12042 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
12043 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
12046 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
12053 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
12054 do_compare
="$gcc_cv_prog_cmp_skip"
12058 # Check whether --enable-targets was given.
12059 if test "${enable_targets+set}" = set; then :
12060 enableval
=$enable_targets; case "${enableval}" in
12061 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
12063 no
) enable_targets
= ;;
12064 *) enable_targets
=$enableval ;;
12069 .
${srcdir}/..
/bfd
/development.sh
12070 test "$development" = true
&& ac_checking
=yes
12071 # Check whether --enable-checking was given.
12072 if test "${enable_checking+set}" = set; then :
12073 enableval
=$enable_checking; case "${enableval}" in
12074 no|none
) ac_checking
= ;;
12075 *) ac_checking
=yes ;;
12078 if test x
$ac_checking != x
; then
12080 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
12085 # Decide the default method for compressing debug sections.
12086 ac_default_compressed_debug_sections
=unset
12087 # Provide a configure time option to override our default.
12088 # Check whether --enable-compressed_debug_sections was given.
12089 if test "${enable_compressed_debug_sections+set}" = set; then :
12090 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
12091 ,yes, |
,all
, |
*,gas
,*) ac_default_compressed_debug_sections
=yes ;;
12092 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
12093 *) ac_default_compressed_debug_sections
=unset ;;
12098 # Decide if x86 assembler should generate relax relocations.
12099 ac_default_x86_relax_relocations
=unset
12100 # Provide a configure time option to override our default.
12101 # Check whether --enable-x86_relax_relocations was given.
12102 if test "${enable_x86_relax_relocations+set}" = set; then :
12103 enableval
=$enable_x86_relax_relocations; case "${enableval}" in
12104 no
) ac_default_x86_relax_relocations
=0 ;;
12108 # Decide if ELF assembler should generate common symbols with the
12110 ac_default_elf_stt_common
=unset
12111 # Provide a configure time option to override our default.
12112 # Check whether --enable-elf_stt_common was given.
12113 if test "${enable_elf_stt_common+set}" = set; then :
12114 enableval
=$enable_elf_stt_common; case "${enableval}" in
12115 yes) ac_default_elf_stt_common
=1 ;;
12120 # Decide if the ELF assembler should default to generating
12121 # GNU Build notes if none are provided by the input.
12122 ac_default_generate_build_notes
=0
12123 # Provide a configuration option to override the default.
12124 # Check whether --enable-generate_build_notes was given.
12125 if test "${enable_generate_build_notes+set}" = set; then :
12126 enableval
=$enable_generate_build_notes; case "${enableval}" in
12127 yes) ac_default_generate_build_notes
=1 ;;
12128 no
) ac_default_generate_build_notes
=0 ;;
12132 # Decide if the MIPS assembler should default to enable MIPS fix Loongson3
12134 ac_default_mips_fix_loongson3_llsc
=unset
12135 # Provide a configuration option to override the default.
12136 # Check whether --enable-mips-fix-loongson3-llsc was given.
12137 if test "${enable_mips_fix_loongson3_llsc+set}" = set; then :
12138 enableval
=$enable_mips_fix_loongson3_llsc; case "${enableval}" in
12139 yes) ac_default_mips_fix_loongson3_llsc
=1 ;;
12140 no
) ac_default_mips_fix_loongson3_llsc
=0 ;;
12144 # Decide if the x86 ELF assembler should default to generating GNU x86
12145 # used ISA and feature properties.
12146 ac_default_generate_x86_used_note
=unset
12147 # Provide a configuration option to override the default.
12148 # Check whether --enable-x86-used-note was given.
12149 if test "${enable_x86_used_note+set}" = set; then :
12150 enableval
=$enable_x86_used_note; case "${enableval}" in
12151 yes) ac_default_generate_x86_used_note
=1 ;;
12152 no
) ac_default_generate_x86_used_note
=0 ;;
12156 # Decide if the RISC-V ELF assembler should default to generating attribute.
12157 ac_default_generate_riscv_attr
=unset
12158 # Provide a configuration option to override the default.
12159 # Check whether --enable-default-riscv-attribute was given.
12160 if test "${enable_default_riscv_attribute+set}" = set; then :
12161 enableval
=$enable_default_riscv_attribute; case "${enableval}" in
12162 yes) ac_default_generate_riscv_attr
=1 ;;
12163 no
) ac_default_generate_riscv_attr
=0 ;;
12170 # Set the 'development' global.
12171 .
$srcdir/..
/bfd
/development.sh
12173 # Set acp_cpp_for_build variable
12174 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
12176 # Default set of GCC warnings to enable.
12177 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12178 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12180 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12186 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
12189 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
12194 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12200 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
12203 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
12208 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
12209 WARN_WRITE_STRINGS
=""
12210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12215 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
12218 WARN_WRITE_STRINGS
="-Wwrite-strings"
12223 # Verify CC_FOR_BUILD to be compatible with warning flags
12225 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12230 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12231 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
12234 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
12239 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12244 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12245 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
12248 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
12253 # Check whether --enable-werror was given.
12254 if test "${enable_werror+set}" = set; then :
12255 enableval
=$enable_werror; case "${enableval}" in
12256 yes | y
) ERROR_ON_WARNING
="yes" ;;
12257 no | n
) ERROR_ON_WARNING
="no" ;;
12258 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12263 # Disable -Wformat by default when using gcc on mingw
12266 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12267 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
12268 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
12274 # Enable -Werror by default when using gcc. Turn it off for releases.
12275 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
12276 ERROR_ON_WARNING
=yes
12280 if test "${ERROR_ON_WARNING}" = yes ; then
12281 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
12282 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
12283 NO_WERROR
="-Wno-error"
12286 if test "${GCC}" = yes ; then
12287 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
12288 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
12291 # Check whether --enable-build-warnings was given.
12292 if test "${enable_build_warnings+set}" = set; then :
12293 enableval
=$enable_build_warnings; case "${enableval}" in
12294 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
12295 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
12296 no
) if test "${GCC}" = yes ; then
12298 WARN_CFLAGS_FOR_BUILD
="-w"
12300 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12301 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
12302 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
12303 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12304 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
12305 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
12306 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
12307 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12312 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
12313 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12322 # Generate a header file
12323 ac_config_headers
="$ac_config_headers config.h:config.in"
12327 # Check whether --with-cpu was given.
12328 if test "${with_cpu+set}" = set; then :
12330 cat >>confdefs.h
<<_ACEOF
12331 #define TARGET_WITH_CPU "${with_cpu}"
12340 # If we are on a DOS filesystem, we must use gdb.ini rather than
12343 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
12345 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
12350 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
12356 #We need this for the host.
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12358 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12359 if ${ac_cv_c_bigendian+:} false
; then :
12360 $as_echo_n "(cached) " >&6
12362 ac_cv_c_bigendian
=unknown
12363 # See if we're dealing with a universal compiler.
12364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #ifndef __APPLE_CC__
12367 not a universal capable compiler
12372 if ac_fn_c_try_compile
"$LINENO"; then :
12374 # Check for potential -arch flags. It is not universal unless
12375 # there are at least two -arch flags with different values.
12378 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12379 if test -n "$ac_prev"; then
12381 i?
86 | x86_64 | ppc | ppc64
)
12382 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
12385 ac_cv_c_bigendian
=universal
12391 elif test "x$ac_word" = "x-arch"; then
12396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12397 if test $ac_cv_c_bigendian = unknown
; then
12398 # See if sys/param.h defines the BYTE_ORDER macro.
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12401 #include <sys/types.h>
12402 #include <sys/param.h>
12407 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12408 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12410 bogus endian macros
12417 if ac_fn_c_try_compile
"$LINENO"; then :
12418 # It does; now see whether it defined to BIG_ENDIAN or not.
12419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12421 #include <sys/types.h>
12422 #include <sys/param.h>
12427 #if BYTE_ORDER != BIG_ENDIAN
12435 if ac_fn_c_try_compile
"$LINENO"; then :
12436 ac_cv_c_bigendian
=yes
12438 ac_cv_c_bigendian
=no
12440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12444 if test $ac_cv_c_bigendian = unknown
; then
12445 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12448 #include <limits.h>
12453 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12454 bogus endian macros
12461 if ac_fn_c_try_compile
"$LINENO"; then :
12462 # It does; now see whether it defined to _BIG_ENDIAN or not.
12463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12465 #include <limits.h>
12470 #ifndef _BIG_ENDIAN
12478 if ac_fn_c_try_compile
"$LINENO"; then :
12479 ac_cv_c_bigendian
=yes
12481 ac_cv_c_bigendian
=no
12483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12487 if test $ac_cv_c_bigendian = unknown
; then
12488 # Compile a test program.
12489 if test "$cross_compiling" = yes; then :
12490 # Try to guess by grepping values from an object file.
12491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 short int ascii_mm[] =
12494 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12495 short int ascii_ii[] =
12496 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12497 int use_ascii (int i) {
12498 return ascii_mm[i] + ascii_ii[i];
12500 short int ebcdic_ii[] =
12501 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12502 short int ebcdic_mm[] =
12503 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12504 int use_ebcdic (int i) {
12505 return ebcdic_mm[i] + ebcdic_ii[i];
12512 return use_ascii (foo) == use_ebcdic (foo);
12517 if ac_fn_c_try_compile
"$LINENO"; then :
12518 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
12519 ac_cv_c_bigendian
=yes
12521 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
12522 if test "$ac_cv_c_bigendian" = unknown
; then
12523 ac_cv_c_bigendian
=no
12525 # finding both strings is unlikely to happen, but who knows?
12526 ac_cv_c_bigendian
=unknown
12530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12534 $ac_includes_default
12539 /* Are we little or big endian? From Harbison&Steele. */
12543 char c[sizeof (long int)];
12546 return u.c[sizeof (long int) - 1] == 1;
12552 if ac_fn_c_try_run
"$LINENO"; then :
12553 ac_cv_c_bigendian
=no
12555 ac_cv_c_bigendian
=yes
12557 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12558 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12564 $as_echo "$ac_cv_c_bigendian" >&6; }
12565 case $ac_cv_c_bigendian in #(
12567 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12573 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12577 as_fn_error $?
"unknown endianness
12578 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12584 # Makefile target for installing gas in $(tooldir)/bin.
12585 install_tooldir
=install-exec-tooldir
12589 if test -n "$enable_targets" ; then
12590 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
12591 if test $t = "all"; then
12595 result
=`$ac_config_sub $t 2>/dev/null`
12596 if test -n "$result" ; then
12597 canon_targets
="$canon_targets $result"
12599 # # Permit "all", etc. We don't support it yet though.
12600 # canon_targets="$canon_targets $t"
12603 _gas_uniq_list
="$canon_targets"
12604 _gas_uniq_newlist
=""
12605 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12606 case $_gas_uniq_i in
12607 _gas_uniq_dummy
) ;;
12608 *) case " $_gas_uniq_newlist " in
12609 *" $_gas_uniq_i "*) ;;
12610 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12614 canon_targets
=$_gas_uniq_newlist
12620 for this_target
in $target $canon_targets ; do
12622 targ
=${this_target}
12623 .
${srcdir}/configure.tgt
12625 case ${target_cpu} in
12628 cat >>confdefs.h
<<_ACEOF
12629 #define DEFAULT_CRIS_ARCH $arch
12635 if test ${this_target} = $target ; then
12636 target_cpu_type
=${cpu_type}
12637 elif test ${target_cpu_type} != ${cpu_type} ; then
12641 generic_target
=${cpu_type}-${target_vendor}-${target_os}
12642 case ${generic_target} in
12643 i386-
*-msdosdjgpp* \
12645 | i386-go32-rtems
*)
12647 $as_echo "#define STRICTCOFF 1" >>confdefs.h
12652 | x86_64-
*-solaris2 \
12653 | i386-
*-solaris2.
[0-9] \
12654 | i386-
*-solaris2.1
[01] \
12655 | x86_64-
*-solaris2.1
[01])
12656 if test ${this_target} = $target \
12657 && test ${ac_default_x86_relax_relocations} = unset; then
12658 ac_default_x86_relax_relocations
=0
12667 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
12671 if test ${this_target} = $target; then
12673 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
12676 if test x
${endian} = xbig
; then
12677 as_fn_error $?
"Solaris must be configured little endian" "$LINENO" 5
12682 if test ${this_target} = $target ; then
12684 if test x
${endian} = xbig
; then
12686 elif test x
${endian} = xlittle
; then
12689 if test x
${endian_def} != x
; then
12691 cat >>confdefs.h
<<_ACEOF
12692 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12698 # Other random stuff.
12700 case ${cpu_type} in
12702 # Set mips_cpu to the name of the default CPU.
12703 case ${target_cpu} in
12704 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
12707 mipsisa32 | mipsisa32el
)
12710 mipsisa32r2 | mipsisa32r2el
)
12713 mipsisa32r3 | mipsisa32r3el
)
12716 mipsisa32r5 | mipsisa32r5el
)
12719 mipsisa32r6 | mipsisa32r6el
)
12722 mipsisa64 | mipsisa64el
)
12725 mipsisa64r2 | mipsisa64r2el
)
12728 mipsisa64r3 | mipsisa64r3el
)
12731 mipsisa64r5 | mipsisa64r5el
)
12734 mipsisa64r6 | mipsisa64r6el
)
12737 mipstx39 | mipstx39el
)
12740 mips64vr | mips64vrel
)
12743 mipsisa32r2
* | mipsisa64r2
*)
12744 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12746 mipsisa32r6
* | mipsisa64r6
*)
12747 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r6//' -e 's/el$//'`
12749 mips64
* | mipsisa64
* | mipsisa32
*)
12750 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12753 mips_cpu
=`echo $target_cpu | sed -e 's/^mips//' -e 's/el$//'`
12756 as_fn_error $?
"$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12759 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12760 # binaries. It's a GNU extension that some OSes don't understand.
12763 use_e_mips_abi_o32
=0
12766 use_e_mips_abi_o32
=1
12769 # Decide whether to generate 32-bit or 64-bit code by default.
12770 # Used to resolve -march=from-abi when an embedded ABI is selected.
12772 mips64
*-*-* | mipsisa64
*-*-*)
12773 mips_default_64bit
=1
12776 mips_default_64bit
=0
12779 # Decide which ABI to target by default.
12781 mips64
*-linux* | mips-sgi-irix6
* | mips64
*-freebsd* \
12782 | mips64
*-kfreebsd*-gnu | mips64
*-ps2-elf*)
12783 mips_default_abi
=N32_ABI
12785 mips
*-linux* | mips
*-freebsd* | mips
*-kfreebsd*-gnu)
12786 mips_default_abi
=O32_ABI
12789 mips_default_abi
=N64_ABI
12792 mips_default_abi
=NO_ABI
12796 cat >>confdefs.h
<<_ACEOF
12797 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12801 cat >>confdefs.h
<<_ACEOF
12802 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12806 cat >>confdefs.h
<<_ACEOF
12807 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12811 cat >>confdefs.h
<<_ACEOF
12812 #define MIPS_DEFAULT_ABI $mips_default_abi
12818 # Do we need the opcodes library?
12819 case ${cpu_type} in
12826 case "${enable_shared}" in
12827 yes) shared_opcodes
=true
;;
12828 *opcodes
*) shared_opcodes
=true
;;
12829 *) shared_opcodes
=false
;;
12834 # Any other special object files needed ?
12835 case ${cpu_type} in
12838 for f
in bfin-parse.o bfin-lex-wrapper.o
; do
12839 case " $extra_objects " in
12841 *) extra_objects
="$extra_objects $f" ;;
12847 if test $this_target = $target ; then
12849 cat >>confdefs.h
<<_ACEOF
12850 #define DEFAULT_ARCH "${arch}"
12856 epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k
)
12868 case " $extra_objects " in
12870 *) extra_objects
="$extra_objects $f" ;;
12879 for f
in itbl-parse.o itbl-lex-wrapper.o itbl-ops.o
; do
12880 case " $extra_objects " in
12882 *) extra_objects
="$extra_objects $f" ;;
12892 # setup NDS32_LINUX_TOOLCHAIN definition
12893 if test "linux" = $em; then
12895 $as_echo "#define NDS32_LINUX_TOOLCHAIN 1" >>confdefs.h
12899 $as_echo "#define NDS32_LINUX_TOOLCHAIN 0" >>confdefs.h
12903 # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features
12904 # based on arch_name.
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
12906 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
12907 if test "x${with_arch}" != x
; then
12908 case ${with_arch} in
12909 v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3
)
12911 cat >>confdefs.h
<<_ACEOF
12912 #define NDS32_DEFAULT_ARCH_NAME "$with_arch"
12917 as_fn_error $?
"This kind of arch name does *NOT* exist!" "$LINENO" 5
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
12922 $as_echo "$with_arch" >&6; }
12924 # Decide features one by one.
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
12926 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
12927 if test "x${enable_dx_regs}" = xyes
; then
12929 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
12933 $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5
12937 $as_echo "$enable_dx_regs" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
12940 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
12941 if test "x${enable_perf_ext}" = xno
; then
12943 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
12947 $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5
12951 $as_echo "$enable_perf_ext" >&6; }
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
12954 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
12955 if test "x${enable_perf_ext2}" = xno
; then
12957 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
12961 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5
12965 $as_echo "$enable_perf_ext2" >&6; }
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
12968 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
12969 if test "x${enable_string_ext}" = xno
; then
12971 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
12975 $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5
12979 $as_echo "$enable_string_ext" >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
12982 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
12983 if test "x${enable_audio_ext}" = xno
; then
12985 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
12989 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5
12993 $as_echo "$enable_audio_ext" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dsp-ext" >&5
12996 $as_echo_n "checking for default configuration of --enable-dsp-ext... " >&6; }
12997 if test "x${enable_dsp_ext}" = xno
; then
12999 $as_echo "#define NDS32_DEFAULT_DSP_EXT 0" >>confdefs.h
13003 $as_echo "#define NDS32_DEFAULT_DSP_EXT 1" >>confdefs.h
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dsp_ext" >&5
13007 $as_echo "$enable_dsp_ext" >&6; }
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-zol-ext" >&5
13010 $as_echo_n "checking for default configuration of --enable-zol-ext... " >&6; }
13011 if test "x${enable_zol_ext}" = xno
; then
13013 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 0" >>confdefs.h
13017 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 1" >>confdefs.h
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_zol_ext" >&5
13021 $as_echo "$enable_zol_ext" >&6; }
13024 aarch64 | i386 | riscv | s390 | sparc
)
13025 if test $this_target = $target ; then
13027 cat >>confdefs.h
<<_ACEOF
13028 #define DEFAULT_ARCH "${arch}"
13036 case " $extra_objects " in
13038 *) extra_objects
="$extra_objects $f" ;;
13044 case " $extra_objects " in
13046 *) extra_objects
="$extra_objects $f" ;;
13059 f
=config
/xtensa-relax.o
13060 case " $extra_objects " in
13062 *) extra_objects
="$extra_objects $f" ;;
13070 if test $using_cgen = yes ; then
13072 case " $extra_objects " in
13074 *) extra_objects
="$extra_objects $f" ;;
13078 # See if we really can support this configuration with the emulation code.
13080 if test $this_target = $target ; then
13088 case " $extra_objects " in
13090 *) extra_objects
="$extra_objects $f" ;;
13094 # From target name and format, produce a list of supported emulations.
13096 case ${generic_target}-${fmt} in
13097 mips-
*-*-*) case "$endian" in
13098 big
) emulation
="mipsbelf mipslelf mipself" ;;
13099 *) emulation
="mipslelf mipsbelf mipself" ;;
13101 # i386-pc-pe-coff != i386-pc-coff.
13103 # Uncommenting the next line will turn on support for i386 AOUT
13104 # for the default linux configuration
13105 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
13107 i386-
*-aout) emulation
="i386aout" ;;
13108 i386-
*-coff) emulation
="i386coff" ;;
13109 i386-
*-elf) emulation
="i386elf" ;;
13111 # Always all formats. The first stated emulation becomes the default.
13112 cris-
*-*aout
*) emulation
="crisaout criself" ;;
13113 cris-
*-*) emulation
="criself crisaout" ;;
13116 emulations
="$emulations $emulation"
13120 if test ${ac_default_x86_relax_relocations} = unset; then
13121 ac_default_x86_relax_relocations
=1
13124 cat >>confdefs.h
<<_ACEOF
13125 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS $ac_default_x86_relax_relocations
13129 if test ${ac_default_elf_stt_common} = unset; then
13130 ac_default_elf_stt_common
=0
13133 cat >>confdefs.h
<<_ACEOF
13134 #define DEFAULT_GENERATE_ELF_STT_COMMON $ac_default_elf_stt_common
13139 cat >>confdefs.h
<<_ACEOF
13140 #define DEFAULT_GENERATE_BUILD_NOTES $ac_default_generate_build_notes
13144 if test ${ac_default_generate_x86_used_note} = unset; then
13145 ac_default_generate_x86_used_note
=0
13148 cat >>confdefs.h
<<_ACEOF
13149 #define DEFAULT_X86_USED_NOTE $ac_default_generate_x86_used_note
13153 if test ${ac_default_generate_riscv_attr} = unset; then
13154 case ${target_os} in
13156 ac_default_generate_riscv_attr
=1
13159 ac_default_generate_riscv_attr
=0
13165 cat >>confdefs.h
<<_ACEOF
13166 #define DEFAULT_RISCV_ATTR $ac_default_generate_riscv_attr
13170 if test ${ac_default_mips_fix_loongson3_llsc} = unset; then
13171 ac_default_mips_fix_loongson3_llsc
=0
13174 cat >>confdefs.h
<<_ACEOF
13175 #define DEFAULT_MIPS_FIX_LOONGSON3_LLSC $ac_default_mips_fix_loongson3_llsc
13179 if test x
$ac_default_compressed_debug_sections = xyes
; then
13181 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
13185 # Turn on all targets if possible
13186 if test ${all_targets} = "yes"; then
13187 case ${target_cpu_type} in
13189 case ${obj_format} in
13191 emulations
="$emulations i386coff i386elf"
13194 emulations
="$emulations i386aout i386elf"
13197 emulations
="$emulations i386aout i386coff"
13202 case ${obj_format} in
13204 emulations
="$emulations i386coff i386elf"
13207 emulations
="$emulations i386aout i386elf"
13210 emulations
="$emulations i386aout i386coff"
13217 # PE code has way too many macros tweaking behaviour
13219 pe
*) emulations
="" ;;
13222 # Assign floating point type. Most processors with FP support
13223 # IEEE FP. On those that don't support FP at all, usually IEEE
13225 case ${target_cpu} in
13226 vax | pdp11
) atof
=vax
;;
13230 case "${obj_format}" in
13231 "") as_fn_error $?
"GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
13234 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
13236 if test $using_cgen = yes ; then
13237 case ${target_cpu} in
13239 cgen_cpu_prefix
=or1k
;;
13240 *) cgen_cpu_prefix
=${target_cpu} ;;
13244 $as_echo "#define USING_CGEN 1" >>confdefs.h
13249 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
13250 as_fn_error $?
"GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
13253 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
13254 as_fn_error $?
"GAS does not have support for object file format ${obj_format}" "$LINENO" 5
13257 # Some COFF configurations want these random other flags set.
13258 case ${obj_format} in
13260 case ${target_cpu_type} in
13262 $as_echo "#define I386COFF 1" >>confdefs.h
13265 $as_echo "#define I386COFF 1" >>confdefs.h
13271 # Getting this done right is going to be a bitch. Each configuration specified
13272 # with --enable-targets=... should be checked for environment, format, cpu
13275 # For each configuration, the necessary object file support code must be linked
13276 # in. This might be only one, it might be up to four. The necessary emulation
13277 # code needs to be provided, too.
13279 # And then there's "--enable-targets=all"....
13281 # For now, just always do it for MIPS ELF configurations. Sigh.
13283 formats
="${obj_format}"
13286 _gas_uniq_list
="$emulations"
13287 _gas_uniq_newlist
=""
13288 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
13289 case $_gas_uniq_i in
13290 _gas_uniq_dummy
) ;;
13291 *) case " $_gas_uniq_newlist " in
13292 *" $_gas_uniq_i "*) ;;
13293 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
13297 emulations
=$_gas_uniq_newlist
13299 for em
in .
$emulations ; do
13302 mipsbelf | mipslelf | mipself
)
13303 fmt=elf
file=mipself
;;
13305 fmt=coff
file=$em ;;
13307 fmt=aout
file=$em ;;
13309 fmt=elf
file=$em ;;
13311 formats
="$formats $fmt"
13312 emfiles
="$emfiles config/e-$file.o"
13313 EMULATIONS
="$EMULATIONS &$em,"
13315 _gas_uniq_list
="$formats"
13316 _gas_uniq_newlist
=""
13317 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
13318 case $_gas_uniq_i in
13319 _gas_uniq_dummy
) ;;
13320 *) case " $_gas_uniq_newlist " in
13321 *" $_gas_uniq_i "*) ;;
13322 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
13326 formats
=$_gas_uniq_newlist
13328 _gas_uniq_list
="$emfiles"
13329 _gas_uniq_newlist
=""
13330 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
13331 case $_gas_uniq_i in
13332 _gas_uniq_dummy
) ;;
13333 *) case " $_gas_uniq_newlist " in
13334 *" $_gas_uniq_i "*) ;;
13335 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
13339 emfiles
=$_gas_uniq_newlist
13341 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
13342 for fmt in $formats ; do
13345 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
13348 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
13351 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
13354 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
13357 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
13360 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
13363 extra_objects
="$extra_objects config/obj-$fmt.o"
13367 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
13368 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
13369 # e-mipself has more than one emulation per file, e-i386* has just one at the
13370 # moment. If only one emulation is specified, then don't define
13371 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
13372 case "${obj_format}${emfiles}" in
13373 multi
* |
*mipself
*)
13374 extra_objects
="$extra_objects $emfiles"
13376 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
13382 cat >>confdefs.h
<<_ACEOF
13383 #define EMULATIONS $EMULATIONS
13387 cat >>confdefs.h
<<_ACEOF
13388 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
13392 reject_dev_configs
=yes
13394 case ${reject_dev_configs}-${dev} in
13396 as_fn_error $?
"GAS does not support the ${generic_target} configuration." "$LINENO" 5
13406 # do we need the opcodes library?
13407 case "${need_opcodes}" in
13409 OPCODES_LIB
=..
/opcodes
/libopcodes.la
13416 cat >>confdefs.h
<<_ACEOF
13417 #define TARGET_ALIAS "${target_alias}"
13421 cat >>confdefs.h
<<_ACEOF
13422 #define TARGET_CANONICAL "${target}"
13426 cat >>confdefs.h
<<_ACEOF
13427 #define TARGET_CPU "${target_cpu}"
13431 cat >>confdefs.h
<<_ACEOF
13432 #define TARGET_VENDOR "${target_vendor}"
13436 cat >>confdefs.h
<<_ACEOF
13437 #define TARGET_OS "${target_os}"
13441 for ac_prog
in 'bison -y' byacc
13443 # Extract the first word of "$ac_prog", so it can be a program name with args.
13444 set dummy
$ac_prog; ac_word
=$2
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13446 $as_echo_n "checking for $ac_word... " >&6; }
13447 if ${ac_cv_prog_YACC+:} false
; then :
13448 $as_echo_n "(cached) " >&6
13450 if test -n "$YACC"; then
13451 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13454 for as_dir
in $PATH
13457 test -z "$as_dir" && as_dir
=.
13458 for ac_exec_ext
in '' $ac_executable_extensions; do
13459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13460 ac_cv_prog_YACC
="$ac_prog"
13461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13470 YACC
=$ac_cv_prog_YACC
13471 if test -n "$YACC"; then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13473 $as_echo "$YACC" >&6; }
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13476 $as_echo "no" >&6; }
13480 test -n "$YACC" && break
13482 test -n "$YACC" || YACC
="yacc"
13484 for ac_prog
in flex
lex
13486 # Extract the first word of "$ac_prog", so it can be a program name with args.
13487 set dummy
$ac_prog; ac_word
=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13489 $as_echo_n "checking for $ac_word... " >&6; }
13490 if ${ac_cv_prog_LEX+:} false
; then :
13491 $as_echo_n "(cached) " >&6
13493 if test -n "$LEX"; then
13494 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
13496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13497 for as_dir
in $PATH
13500 test -z "$as_dir" && as_dir
=.
13501 for ac_exec_ext
in '' $ac_executable_extensions; do
13502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13503 ac_cv_prog_LEX
="$ac_prog"
13504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13513 LEX
=$ac_cv_prog_LEX
13514 if test -n "$LEX"; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13516 $as_echo "$LEX" >&6; }
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13519 $as_echo "no" >&6; }
13523 test -n "$LEX" && break
13525 test -n "$LEX" || LEX
=":"
13529 *) cat >conftest.l
<<_ACEOF
13535 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
13536 yyless ((input () != 0)); }
13537 f { unput (yytext[0]); }
13538 . { BEGIN INITIAL; }
13540 #ifdef YYTEXT_POINTER
13541 extern char *yytext;
13546 return ! yylex () + ! yywrap ();
13549 { { ac_try
="$LEX conftest.l"
13550 case "(($ac_try" in
13551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13552 *) ac_try_echo=$ac_try;;
13554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13555 $as_echo "$ac_try_echo"; } >&5
13556 (eval "$LEX conftest.l") 2>&5
13558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13559 test $ac_status = 0; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13561 $as_echo_n "checking lex output file root... " >&6; }
13562 if ${ac_cv_prog_lex_root+:} false; then :
13563 $as_echo_n "(cached) " >&6
13566 if test -f lex.yy.c; then
13567 ac_cv_prog_lex_root=lex.yy
13568 elif test -f lexyy.c; then
13569 ac_cv_prog_lex_root=lexyy
13571 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13575 $as_echo "$ac_cv_prog_lex_root" >&6; }
13576 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13578 if test -z "${LEXLIB+set}"; then
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13580 $as_echo_n "checking lex library... " >&6; }
13581 if ${ac_cv_lib_lex+:} false; then :
13582 $as_echo_n "(cached) " >&6
13586 ac_cv_lib_lex='none needed'
13587 for ac_lib in '' -lfl -ll; do
13588 LIBS="$ac_lib $ac_save_LIBS"
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13591 `cat $LEX_OUTPUT_ROOT.c
`
13593 if ac_fn_c_try_link "$LINENO"; then :
13594 ac_cv_lib_lex=$ac_lib
13596 rm -f core conftest.err conftest.$ac_objext \
13597 conftest$ac_exeext conftest.$ac_ext
13598 test "$ac_cv_lib_lex" != 'none needed' && break
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13604 $as_echo "$ac_cv_lib_lex" >&6; }
13605 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13610 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13611 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
13612 $as_echo_n "(cached) " >&6
13614 # POSIX says lex can declare yytext either as a pointer or an array; the
13615 # default is implementation-dependent. Figure out which it is, since
13616 # not all implementations provide the %pointer and %array declarations.
13617 ac_cv_prog_lex_yytext_pointer=no
13619 LIBS="$LEXLIB $ac_save_LIBS"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13623 #define YYTEXT_POINTER 1
13624 `cat $LEX_OUTPUT_ROOT.c
`
13626 if ac_fn_c_try_link "$LINENO"; then :
13627 ac_cv_prog_lex_yytext_pointer=yes
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13635 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13636 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13638 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13641 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13644 if test "$LEX" = :; then
13645 LEX=${am_missing_run}flex
13648 ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN"
13649 # If we haven't got the data from the intl directory,
13650 # assume NLS is disabled.
13659 if test -f ../intl/config.intl; then
13660 . ../intl/config.intl
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13663 $as_echo_n "checking whether NLS is requested... " >&6; }
13664 if test x"$USE_NLS" != xyes; then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13666 $as_echo "no" >&6; }
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13669 $as_echo "yes" >&6; }
13671 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13675 $as_echo_n "checking for catalogs to be installed... " >&6; }
13676 # Look for .po and .gmo files in the source directory.
13679 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
13680 # If there aren't any .gmo files the shell will give us the
13681 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13683 case "$cat" in *\**)
13686 # The quadruple backslash is collapsed to a double backslash
13687 # by the backticks, then collapsed again by the double quotes,
13688 # leaving us with one backslash in the sed expression (right
13689 # before the dot that mustn't act as a wildcard).
13690 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13691 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
13692 # The user is allowed to set LINGUAS to a list of languages to
13693 # install catalogs for. If it's empty that means "all of them."
13694 if test "x$LINGUAS" = x; then
13695 CATALOGS="$CATALOGS $cat"
13696 XLINGUAS="$XLINGUAS $lang"
13698 case "$LINGUAS" in *$lang*)
13699 CATALOGS="$CATALOGS $cat"
13700 XLINGUAS="$XLINGUAS $lang"
13705 LINGUAS="$XLINGUAS"
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13707 $as_echo "$LINGUAS" >&6; }
13721 if test -n "$ac_aux_dir"; then
13722 case "$ac_aux_dir" in
13723 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
13724 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13727 if test -z "$MKINSTALLDIRS"; then
13728 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13734 $as_echo_n "checking whether NLS is requested... " >&6; }
13735 # Check whether --enable-nls was given.
13736 if test "${enable_nls+set}" = set; then :
13737 enableval=$enable_nls; USE_NLS=$enableval
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13743 $as_echo "$USE_NLS" >&6; }
13750 # Prepare PATH_SEPARATOR.
13751 # The user is always right.
13752 if test "${PATH_SEPARATOR+set}" != set; then
13753 echo "#! /bin/sh" >conf$$.sh
13754 echo "exit 0" >>conf$$.sh
13756 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13764 # Find out how to test for executable files. Don't use a zero-byte file,
13765 # as systems may use methods other than mode bits to determine executability.
13766 cat >conf$$.file <<_ASEOF
13770 chmod +x conf$$.file
13771 if test -x conf$$.file >/dev/null 2>&1; then
13772 ac_executable_p="test -x"
13774 ac_executable_p="test -f"
13778 # Extract the first word of "msgfmt", so it can be a program name with args.
13779 set dummy msgfmt; ac_word=$2
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13781 $as_echo_n "checking for $ac_word... " >&6; }
13782 if ${ac_cv_path_MSGFMT+:} false; then :
13783 $as_echo_n "(cached) " >&6
13787 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13790 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13791 for ac_dir in $PATH; do
13793 test -z "$ac_dir" && ac_dir=.
13794 for ac_exec_ext in '' $ac_executable_extensions; do
13795 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13796 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
13797 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13798 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13805 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13809 MSGFMT="$ac_cv_path_MSGFMT"
13810 if test "$MSGFMT" != ":"; then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13812 $as_echo "$MSGFMT" >&6; }
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13815 $as_echo "no" >&6; }
13818 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13819 set dummy gmsgfmt; ac_word=$2
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13821 $as_echo_n "checking for $ac_word... " >&6; }
13822 if ${ac_cv_path_GMSGFMT+:} false; then :
13823 $as_echo_n "(cached) " >&6
13827 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13831 for as_dir in $PATH
13834 test -z "$as_dir" && as_dir=.
13835 for ac_exec_ext in '' $ac_executable_extensions; do
13836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13837 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13845 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13849 GMSGFMT=$ac_cv_path_GMSGFMT
13850 if test -n "$GMSGFMT"; then
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13852 $as_echo "$GMSGFMT" >&6; }
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13855 $as_echo "no" >&6; }
13861 # Prepare PATH_SEPARATOR.
13862 # The user is always right.
13863 if test "${PATH_SEPARATOR+set}" != set; then
13864 echo "#! /bin/sh" >conf$$.sh
13865 echo "exit 0" >>conf$$.sh
13867 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13875 # Find out how to test for executable files. Don't use a zero-byte file,
13876 # as systems may use methods other than mode bits to determine executability.
13877 cat >conf$$.file <<_ASEOF
13881 chmod +x conf$$.file
13882 if test -x conf$$.file >/dev/null 2>&1; then
13883 ac_executable_p="test -x"
13885 ac_executable_p="test -f"
13889 # Extract the first word of "xgettext", so it can be a program name with args.
13890 set dummy xgettext; ac_word=$2
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13892 $as_echo_n "checking for $ac_word... " >&6; }
13893 if ${ac_cv_path_XGETTEXT+:} false; then :
13894 $as_echo_n "(cached) " >&6
13896 case "$XGETTEXT" in
13898 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13901 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13902 for ac_dir in $PATH; do
13904 test -z "$ac_dir" && ac_dir=.
13905 for ac_exec_ext in '' $ac_executable_extensions; do
13906 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13907 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13908 (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
13909 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13916 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13920 XGETTEXT="$ac_cv_path_XGETTEXT"
13921 if test "$XGETTEXT" != ":"; then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13923 $as_echo "$XGETTEXT" >&6; }
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13926 $as_echo "no" >&6; }
13932 # Prepare PATH_SEPARATOR.
13933 # The user is always right.
13934 if test "${PATH_SEPARATOR+set}" != set; then
13935 echo "#! /bin/sh" >conf$$.sh
13936 echo "exit 0" >>conf$$.sh
13938 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13946 # Find out how to test for executable files. Don't use a zero-byte file,
13947 # as systems may use methods other than mode bits to determine executability.
13948 cat >conf$$.file <<_ASEOF
13952 chmod +x conf$$.file
13953 if test -x conf$$.file >/dev/null 2>&1; then
13954 ac_executable_p="test -x"
13956 ac_executable_p="test -f"
13960 # Extract the first word of "msgmerge", so it can be a program name with args.
13961 set dummy msgmerge; ac_word=$2
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13963 $as_echo_n "checking for $ac_word... " >&6; }
13964 if ${ac_cv_path_MSGMERGE+:} false; then :
13965 $as_echo_n "(cached) " >&6
13967 case "$MSGMERGE" in
13969 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13972 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13973 for ac_dir in $PATH; do
13975 test -z "$ac_dir" && ac_dir=.
13976 for ac_exec_ext in '' $ac_executable_extensions; do
13977 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13978 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13979 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13986 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13990 MSGMERGE="$ac_cv_path_MSGMERGE"
13991 if test "$MSGMERGE" != ":"; then
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13993 $as_echo "$MSGMERGE" >&6; }
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
14000 if test "$GMSGFMT" != ":"; then
14001 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
14002 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14005 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
14007 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
14012 if test "$XGETTEXT" != ":"; then
14013 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
14014 (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
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14018 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14024 ac_config_commands="$ac_config_commands default-1"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
14030 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
14031 # Check whether --enable-maintainer-mode was given.
14032 if test "${enable_maintainer_mode+set}" = set; then :
14033 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14035 USE_MAINTAINER_MODE=no
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
14039 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14040 if test $USE_MAINTAINER_MODE = yes; then
14041 MAINTAINER_MODE_TRUE=
14042 MAINTAINER_MODE_FALSE='#'
14044 MAINTAINER_MODE_TRUE='#'
14045 MAINTAINER_MODE_FALSE=
14048 MAINT=$MAINTAINER_MODE_TRUE
14052 GENINSRC_NEVER_TRUE=
14053 GENINSRC_NEVER_FALSE='#'
14055 GENINSRC_NEVER_TRUE='#'
14056 GENINSRC_NEVER_FALSE=
14061 for ac_header in string.h stdlib.h memory.h strings.h unistd.h errno.h sys/types.h limits.h locale.h time.h sys/stat.h
14063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14064 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14066 cat >>confdefs.h <<_ACEOF
14067 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14075 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14076 if ${gcc_cv_header_string+:} false; then :
14077 $as_echo_n "(cached) " >&6
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 #include <string.h>
14082 #include <strings.h>
14091 if ac_fn_c_try_compile "$LINENO"; then :
14092 gcc_cv_header_string=yes
14094 gcc_cv_header_string=no
14096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14099 $as_echo "$gcc_cv_header_string" >&6; }
14100 if test $gcc_cv_header_string = yes; then
14102 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14107 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
14108 # people who are not cross-compiling but are compiling cross-assemblers.
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
14110 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
14111 if test "${host}" = "${target}"; then
14116 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
14120 $as_echo "$cross_gas" >&6; }
14122 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14123 if test "x$ac_cv_type_size_t" = xyes; then :
14127 cat >>confdefs.h <<_ACEOF
14128 #define size_t unsigned int
14133 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14134 # for constant arguments. Useless!
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14136 $as_echo_n "checking for working alloca.h... " >&6; }
14137 if ${ac_cv_working_alloca_h+:} false; then :
14138 $as_echo_n "(cached) " >&6
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 #include <alloca.h>
14146 char *p = (char *) alloca (2 * sizeof (int));
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 ac_cv_working_alloca_h=yes
14155 ac_cv_working_alloca_h=no
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14161 $as_echo "$ac_cv_working_alloca_h" >&6; }
14162 if test $ac_cv_working_alloca_h = yes; then
14164 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14169 $as_echo_n "checking for alloca... " >&6; }
14170 if ${ac_cv_func_alloca_works+:} false; then :
14171 $as_echo_n "(cached) " >&6
14173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14176 # define alloca __builtin_alloca
14179 # include <malloc.h>
14180 # define alloca _alloca
14182 # ifdef HAVE_ALLOCA_H
14183 # include <alloca.h>
14188 # ifndef alloca /* predefined by HP cc +Olibcalls */
14189 void *alloca (size_t);
14199 char *p = (char *) alloca (1);
14205 if ac_fn_c_try_link "$LINENO"; then :
14206 ac_cv_func_alloca_works=yes
14208 ac_cv_func_alloca_works=no
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14214 $as_echo "$ac_cv_func_alloca_works" >&6; }
14216 if test $ac_cv_func_alloca_works = yes; then
14218 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14221 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14222 # that cause trouble. Some versions do not even contain alloca or
14223 # contain a buggy version. If you still want to use their alloca,
14224 # use ar to extract alloca.o from them instead of compiling alloca.c.
14226 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14228 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c
' needs Cray hooks" >&5
14232 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
14233 if ${ac_cv_os_cray+:} false; then :
14234 $as_echo_n "(cached
) " >&6
14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14238 #if defined CRAY && ! defined CRAY2
14245 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
14246 $EGREP "webecray
" >/dev/null 2>&1; then :
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_os_cray" >&5
14255 $as_echo "$ac_cv_os_cray" >&6; }
14256 if test $ac_cv_os_cray = yes; then
14257 for ac_func in _getb67 GETB67 getb67; do
14258 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14260 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14262 cat >>confdefs.h <<_ACEOF
14263 #define CRAY_STACKSEG_END $ac_func
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction
for C alloca
" >&5
14273 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
14274 if ${ac_cv_c_stack_direction+:} false; then :
14275 $as_echo_n "(cached
) " >&6
14277 if test "$cross_compiling" = yes; then :
14278 ac_cv_c_stack_direction=0
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 $ac_includes_default
14284 find_stack_direction (int *addr, int depth)
14286 int dir, dummy = 0;
14289 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14290 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14291 return dir + dummy;
14295 main (int argc, char **argv)
14297 return find_stack_direction (0, argc + !argv + 20) < 0;
14300 if ac_fn_c_try_run "$LINENO"; then :
14301 ac_cv_c_stack_direction=1
14303 ac_cv_c_stack_direction=-1
14305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14306 conftest.$ac_objext conftest.beam conftest.$ac_ext
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_stack_direction" >&5
14311 $as_echo "$ac_cv_c_stack_direction" >&6; }
14312 cat >>confdefs.h <<_ACEOF
14313 #define STACK_DIRECTION $ac_cv_c_stack_direction
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for inline
" >&5
14320 $as_echo_n "checking
for inline...
" >&6; }
14321 if ${ac_cv_c_inline+:} false; then :
14322 $as_echo_n "(cached
) " >&6
14325 for ac_kw in inline __inline__ __inline; do
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328 #ifndef __cplusplus
14330 static $ac_kw foo_t static_foo () {return 0; }
14331 $ac_kw foo_t foo () {return 0; }
14335 if ac_fn_c_try_compile "$LINENO"; then :
14336 ac_cv_c_inline=$ac_kw
14338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14339 test "$ac_cv_c_inline" != no && break
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_inline" >&5
14344 $as_echo "$ac_cv_c_inline" >&6; }
14346 case $ac_cv_c_inline in
14349 case $ac_cv_c_inline in
14351 *) ac_val=$ac_cv_c_inline;;
14353 cat >>confdefs.h <<_ACEOF
14354 #ifndef __cplusplus
14355 #define inline $ac_val
14362 # VMS doesn't have unlink.
14363 for ac_func in unlink remove
14365 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14368 cat >>confdefs.h <<_ACEOF
14369 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14375 for ac_func in sbrk setlocale
14377 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14379 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14380 cat >>confdefs.h <<_ACEOF
14381 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14387 for ac_func in strsignal
14389 ac_fn_c_check_func "$LINENO" "strsignal
" "ac_cv_func_strsignal
"
14390 if test "x
$ac_cv_func_strsignal" = xyes; then :
14391 cat >>confdefs.h <<_ACEOF
14392 #define HAVE_STRSIGNAL 1
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for LC_MESSAGES
" >&5
14401 $as_echo_n "checking
for LC_MESSAGES...
" >&6; }
14402 if ${am_cv_val_LC_MESSAGES+:} false; then :
14403 $as_echo_n "(cached
) " >&6
14405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14407 #include <locale.h>
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 am_cv_val_LC_MESSAGES=yes
14419 am_cv_val_LC_MESSAGES=no
14421 rm -f core conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_val_LC_MESSAGES" >&5
14425 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14426 if test $am_cv_val_LC_MESSAGES = yes; then
14428 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14433 # do we need the math library?
14434 case "${need_libm}" in
14438 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
14439 # These system don't have libm, or don't need it
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14443 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14444 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
14445 $as_echo_n "(cached) " >&6
14447 ac_check_lib_save_LIBS
=$LIBS
14449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14452 /* Override any GCC internal prototype to avoid an error.
14453 Use char because int might match the return type of a GCC
14454 builtin and then its argument prototype would still apply. */
14458 char _mwvalidcheckl ();
14462 return _mwvalidcheckl ();
14467 if ac_fn_c_try_link
"$LINENO"; then :
14468 ac_cv_lib_mw__mwvalidcheckl
=yes
14470 ac_cv_lib_mw__mwvalidcheckl
=no
14472 rm -f core conftest.err conftest.
$ac_objext \
14473 conftest
$ac_exeext conftest.
$ac_ext
14474 LIBS
=$ac_check_lib_save_LIBS
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14477 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14478 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14483 $as_echo_n "checking for cos in -lm... " >&6; }
14484 if ${ac_cv_lib_m_cos+:} false
; then :
14485 $as_echo_n "(cached) " >&6
14487 ac_check_lib_save_LIBS
=$LIBS
14489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14492 /* Override any GCC internal prototype to avoid an error.
14493 Use char because int might match the return type of a GCC
14494 builtin and then its argument prototype would still apply. */
14507 if ac_fn_c_try_link
"$LINENO"; then :
14508 ac_cv_lib_m_cos
=yes
14512 rm -f core conftest.err conftest.
$ac_objext \
14513 conftest
$ac_exeext conftest.
$ac_ext
14514 LIBS
=$ac_check_lib_save_LIBS
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14517 $as_echo "$ac_cv_lib_m_cos" >&6; }
14518 if test "x$ac_cv_lib_m_cos" = xyes
; then :
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14525 $as_echo_n "checking for cos in -lm... " >&6; }
14526 if ${ac_cv_lib_m_cos+:} false
; then :
14527 $as_echo_n "(cached) " >&6
14529 ac_check_lib_save_LIBS
=$LIBS
14531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14549 if ac_fn_c_try_link
"$LINENO"; then :
14550 ac_cv_lib_m_cos
=yes
14554 rm -f core conftest.err conftest.
$ac_objext \
14555 conftest
$ac_exeext conftest.
$ac_ext
14556 LIBS
=$ac_check_lib_save_LIBS
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14559 $as_echo "$ac_cv_lib_m_cos" >&6; }
14560 if test "x$ac_cv_lib_m_cos" = xyes
; then :
14572 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
14573 # enough, but on some of those systems, the assert macro relies on requoting
14574 # working properly!
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
14576 $as_echo_n "checking for working assert macro... " >&6; }
14577 if ${gas_cv_assert_ok+:} false
; then :
14578 $as_echo_n "(cached) " >&6
14580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14582 #include <assert.h>
14588 /* check for requoting problems */
14589 static int a, b, c, d;
14591 assert (!strcmp(s, "foo bar baz quux"));
14592 /* check for newline handling */
14600 if ac_fn_c_try_link
"$LINENO"; then :
14601 gas_cv_assert_ok
=yes
14603 gas_cv_assert_ok
=no
14605 rm -f core conftest.err conftest.
$ac_objext \
14606 conftest
$ac_exeext conftest.
$ac_ext
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
14609 $as_echo "$gas_cv_assert_ok" >&6; }
14610 test $gas_cv_assert_ok = yes ||
14611 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
14615 # On some systems, the system header files may not declare malloc, realloc,
14616 # and free. There are places where gas needs these functions to have been
14617 # declared -- such as when taking their addresses.
14619 #ifdef HAVE_MEMORY_H
14620 #include <memory.h>
14622 #ifdef HAVE_STRING_H
14623 #include <string.h>
14625 #ifdef HAVE_STRINGS_H
14626 #include <strings.h>
14629 #ifdef HAVE_STDLIB_H
14630 #include <stdlib.h>
14632 #ifdef HAVE_UNISTD_H
14633 #include <unistd.h>
14637 # Does errno.h declare errno, or do we have to add a separate declaration
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
14641 $as_echo_n "checking whether declaration is required for errno... " >&6; }
14642 if ${gas_cv_decl_needed_errno+:} false
; then :
14643 $as_echo_n "(cached) " >&6
14645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14648 #ifdef HAVE_ERRNO_H
14664 if ac_fn_c_try_link
"$LINENO"; then :
14665 gas_cv_decl_needed_errno
=no
14667 gas_cv_decl_needed_errno
=yes
14669 rm -f core conftest.err conftest.
$ac_objext \
14670 conftest
$ac_exeext conftest.
$ac_ext
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
14673 $as_echo "$gas_cv_decl_needed_errno" >&6; }
14674 if test $gas_cv_decl_needed_errno = yes; then
14676 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
14682 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
14683 if ${gas_cv_decl_getopt_unistd_h+:} false
; then :
14684 $as_echo_n "(cached) " >&6
14686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14688 #include <unistd.h>
14692 extern int getopt (int, char *const*, const char *);
14697 if ac_fn_c_try_compile
"$LINENO"; then :
14698 gas_cv_decl_getopt_unistd_h
=yes
14700 gas_cv_decl_getopt_unistd_h
=no
14702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
14706 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
14707 if test $gas_cv_decl_getopt_unistd_h = yes; then
14709 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
14715 $as_echo_n "checking whether declaration is required for environ... " >&6; }
14716 if ${gas_cv_decl_needed_environ+:} false
; then :
14717 $as_echo_n "(cached) " >&6
14719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14734 if ac_fn_c_try_link
"$LINENO"; then :
14735 gas_cv_decl_needed_environ
=no
14737 gas_cv_decl_needed_environ
=yes
14739 rm -f core conftest.err conftest.
$ac_objext \
14740 conftest
$ac_exeext conftest.
$ac_ext
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
14743 $as_echo "$gas_cv_decl_needed_environ" >&6; }
14744 if test $gas_cv_decl_needed_environ = yes; then
14746 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
14752 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
14753 if ${gas_cv_decl_needed_ffs+:} false
; then :
14754 $as_echo_n "(cached) " >&6
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14763 typedef int (*f)(int);
14771 if ac_fn_c_try_link
"$LINENO"; then :
14772 gas_cv_decl_needed_ffs
=no
14774 gas_cv_decl_needed_ffs
=yes
14776 rm -f core conftest.err conftest.
$ac_objext \
14777 conftest
$ac_exeext conftest.
$ac_ext
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
14780 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
14781 if test $gas_cv_decl_needed_ffs = yes; then
14783 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
14789 $as_echo_n "checking whether declaration is required for free... " >&6; }
14790 if ${gas_cv_decl_needed_free+:} false
; then :
14791 $as_echo_n "(cached) " >&6
14793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14800 typedef void (*f)();
14808 if ac_fn_c_try_link
"$LINENO"; then :
14809 gas_cv_decl_needed_free
=no
14811 gas_cv_decl_needed_free
=yes
14813 rm -f core conftest.err conftest.
$ac_objext \
14814 conftest
$ac_exeext conftest.
$ac_ext
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
14817 $as_echo "$gas_cv_decl_needed_free" >&6; }
14818 if test $gas_cv_decl_needed_free = yes; then
14820 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
14826 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
14827 if ${gas_cv_decl_needed_malloc+:} false
; then :
14828 $as_echo_n "(cached) " >&6
14830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h. */
14837 typedef char *(*f)();
14845 if ac_fn_c_try_link
"$LINENO"; then :
14846 gas_cv_decl_needed_malloc
=no
14848 gas_cv_decl_needed_malloc
=yes
14850 rm -f core conftest.err conftest.
$ac_objext \
14851 conftest
$ac_exeext conftest.
$ac_ext
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
14854 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
14855 if test $gas_cv_decl_needed_malloc = yes; then
14857 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
14863 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
14864 if ${gas_cv_decl_needed_sbrk+:} false
; then :
14865 $as_echo_n "(cached) " >&6
14867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14874 typedef char *(*f)();
14882 if ac_fn_c_try_link
"$LINENO"; then :
14883 gas_cv_decl_needed_sbrk
=no
14885 gas_cv_decl_needed_sbrk
=yes
14887 rm -f core conftest.err conftest.
$ac_objext \
14888 conftest
$ac_exeext conftest.
$ac_ext
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
14891 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
14892 if test $gas_cv_decl_needed_sbrk = yes; then
14894 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
14900 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
14901 if ${gas_cv_decl_needed_strstr+:} false
; then :
14902 $as_echo_n "(cached) " >&6
14904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14911 typedef char *(*f)();
14919 if ac_fn_c_try_link
"$LINENO"; then :
14920 gas_cv_decl_needed_strstr
=no
14922 gas_cv_decl_needed_strstr
=yes
14924 rm -f core conftest.err conftest.
$ac_objext \
14925 conftest
$ac_exeext conftest.
$ac_ext
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
14928 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
14929 if test $gas_cv_decl_needed_strstr = yes; then
14931 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
14936 ac_fn_c_check_decl
"$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
14937 if test "x$ac_cv_have_decl_free" = xyes
; then :
14943 cat >>confdefs.h
<<_ACEOF
14944 #define HAVE_DECL_FREE $ac_have_decl
14946 ac_fn_c_check_decl
"$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14947 if test "x$ac_cv_have_decl_getenv" = xyes
; then :
14953 cat >>confdefs.h
<<_ACEOF
14954 #define HAVE_DECL_GETENV $ac_have_decl
14956 ac_fn_c_check_decl
"$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
14957 if test "x$ac_cv_have_decl_malloc" = xyes
; then :
14963 cat >>confdefs.h
<<_ACEOF
14964 #define HAVE_DECL_MALLOC $ac_have_decl
14966 ac_fn_c_check_decl
"$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
14967 if test "x$ac_cv_have_decl_mempcpy" = xyes
; then :
14973 cat >>confdefs.h
<<_ACEOF
14974 #define HAVE_DECL_MEMPCPY $ac_have_decl
14976 ac_fn_c_check_decl
"$LINENO" "realloc" "ac_cv_have_decl_realloc" "$ac_includes_default"
14977 if test "x$ac_cv_have_decl_realloc" = xyes
; then :
14983 cat >>confdefs.h
<<_ACEOF
14984 #define HAVE_DECL_REALLOC $ac_have_decl
14986 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14987 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
14993 cat >>confdefs.h
<<_ACEOF
14994 #define HAVE_DECL_STPCPY $ac_have_decl
14996 ac_fn_c_check_decl
"$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
14997 if test "x$ac_cv_have_decl_strstr" = xyes
; then :
15003 cat >>confdefs.h
<<_ACEOF
15004 #define HAVE_DECL_STRSTR $ac_have_decl
15006 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
15007 if test "x$ac_cv_have_decl_vsnprintf" = xyes
; then :
15013 cat >>confdefs.h
<<_ACEOF
15014 #define HAVE_DECL_VSNPRINTF $ac_have_decl
15016 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
15017 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
15023 cat >>confdefs.h
<<_ACEOF
15024 #define HAVE_DECL_ASPRINTF $ac_have_decl
15030 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
15032 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
15036 # Link in zlib if we can. This allows us to write compressed debug sections.
15038 # Use the system's zlib library.
15039 zlibdir
="-L\$(top_builddir)/../zlib"
15040 zlibinc
="-I\$(top_srcdir)/../zlib"
15042 # Check whether --with-system-zlib was given.
15043 if test "${with_system_zlib+set}" = set; then :
15044 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
15055 # Support for VMS timestamps via cross compile
15057 if test "$ac_cv_header_time_h" = yes; then
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
15059 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
15060 if ${gas_cv_have_time_type_member_tm_gmtoff+:} false
; then :
15061 $as_echo_n "(cached) " >&6
15063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 #define _BSD_SOURCE 1
15071 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
15076 if ac_fn_c_try_compile
"$LINENO"; then :
15077 gas_cv_have_time_type_member_tm_gmtoff
=yes
15079 gas_cv_have_time_type_member_tm_gmtoff
=no
15082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15085 if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
15087 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
15091 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
15095 if test "$ac_cv_header_sys_stat_h" = yes; then
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
15097 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
15098 if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+:} false
; then :
15099 $as_echo_n "(cached) " >&6
15101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15104 #define _BSD_SOURCE 1
15105 #include <sys/stat.h>
15109 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
15114 if ac_fn_c_try_compile
"$LINENO"; then :
15115 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=yes
15117 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=no
15120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15123 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
15125 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
15129 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
15132 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
15133 if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+:} false
; then :
15134 $as_echo_n "(cached) " >&6
15136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15139 #define _BSD_SOURCE 1
15140 #include <sys/stat.h>
15144 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
15149 if ac_fn_c_try_compile
"$LINENO"; then :
15150 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=yes
15152 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=no
15155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15158 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
15160 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
15164 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
15176 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
15178 ac_config_commands
="$ac_config_commands default"
15181 cat >confcache
<<\_ACEOF
15182 # This file is a shell script that caches the results of configure
15183 # tests run on this system so they can be shared between configure
15184 # scripts and configure runs, see configure's option --config-cache.
15185 # It is not useful on other systems. If it contains results you don't
15186 # want to keep, you may remove or edit it.
15188 # config.status only pays attention to the cache file if you give it
15189 # the --recheck option to rerun configure.
15191 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15192 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15193 # following values.
15197 # The following way of writing the cache mishandles newlines in values,
15198 # but we know of no workaround that is simple, portable, and efficient.
15199 # So, we kill variables containing newlines.
15200 # Ultrix sh set writes to stderr and can't be redirected directly,
15201 # and sets the high bit in the cache file unless we assign to the vars.
15203 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15204 eval ac_val
=\$
$ac_var
15208 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15209 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15212 _ | IFS | as_nl
) ;; #(
15213 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15214 *) { eval $ac_var=; unset $ac_var;} ;;
15220 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15221 *${as_nl}ac_space
=\
*)
15222 # `set' does not quote correctly, so add quotes: double-quote
15223 # substitution turns \\\\ into \\, and sed turns \\ into \.
15226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15229 # `set' quotes correctly as required by POSIX, so do not add quotes.
15230 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15241 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15243 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15244 if test -w "$cache_file"; then
15245 if test "x$cache_file" != "x/dev/null"; then
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15247 $as_echo "$as_me: updating cache $cache_file" >&6;}
15248 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15249 cat confcache
>"$cache_file"
15251 case $cache_file in #(
15253 mv -f confcache
"$cache_file"$$
&&
15254 mv -f "$cache_file"$$
"$cache_file" ;; #(
15256 mv -f confcache
"$cache_file" ;;
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15262 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15267 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15268 # Let make expand exec_prefix.
15269 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15271 DEFS
=-DHAVE_CONFIG_H
15276 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15277 # 1. Remove the extension, and $U if already installed.
15278 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15279 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15280 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15281 # will be set to the directory where LIBOBJS objects are built.
15282 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15283 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15285 LIBOBJS
=$ac_libobjs
15287 LTLIBOBJS
=$ac_ltlibobjs
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15291 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15292 if test -n "$am_sleep_pid"; then
15293 # Hide warnings about reused PIDs.
15294 wait $am_sleep_pid 2>/dev
/null
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15297 $as_echo "done" >&6; }
15298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15299 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15303 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15306 if test -n "$EXEEXT"; then
15308 am__EXEEXT_FALSE
='#'
15310 am__EXEEXT_TRUE
='#'
15315 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15316 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15319 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15320 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
15321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15324 : "${CONFIG_STATUS=./config.status}"
15326 ac_clean_files_save
=$ac_clean_files
15327 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15329 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15331 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15333 # Generated by $as_me.
15334 # Run this file to recreate the current configuration.
15335 # Compiler output produced by configure, useful for debugging
15336 # configure, is in config.log if it exists.
15339 ac_cs_recheck=false
15342 SHELL=\${CONFIG_SHELL-$SHELL}
15345 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15346 ## -------------------- ##
15347 ## M4sh Initialization. ##
15348 ## -------------------- ##
15350 # Be more Bourne compatible
15351 DUALCASE
=1; export DUALCASE
# for MKS sh
15352 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15355 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15356 # is contrary to our usage. Disable this feature.
15357 alias -g '${1+"$@"}'='"$@"'
15358 setopt NO_GLOB_SUBST
15360 case `(set -o) 2>/dev/null` in #(
15372 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15373 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15376 # Prefer a ksh shell builtin over an external printf program on Solaris,
15377 # but without wasting forks for bash or zsh.
15378 if test -z "$BASH_VERSION$ZSH_VERSION" \
15379 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15380 as_echo='print
-r --'
15381 as_echo_n='print
-rn --'
15382 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15383 as_echo='printf %s
\n'
15384 as_echo_n='printf %s
'
15386 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15387 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15388 as_echo_n='/usr
/ucb
/echo -n'
15390 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15391 as_echo_n_body='eval
15395 expr "X$arg" : "X\\(.*\\)$as_nl";
15396 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15398 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15400 export as_echo_n_body
15401 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15403 export as_echo_body
15404 as_echo='sh
-c $as_echo_body as_echo
'
15407 # The user is always right.
15408 if test "${PATH_SEPARATOR+set}" != set; then
15410 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15411 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15418 # We need space, tab and new line, in precisely that order. Quoting is
15419 # there to prevent editors from complaining about space-tab.
15420 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15421 # splitting by setting IFS to empty value.)
15424 # Find who we are. Look in the path if we contain no directory separator.
15427 *[\\/]* ) as_myself=$0 ;;
15428 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15429 for as_dir in $PATH
15432 test -z "$as_dir" && as_dir=.
15433 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15439 # We did not find ourselves, most probably we were run as `sh COMMAND'
15440 # in which case we are not to be found in the path.
15441 if test "x$as_myself" = x
; then
15444 if test ! -f "$as_myself"; then
15445 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15449 # Unset variables that we do not need and which cause bugs (e.g. in
15450 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15451 # suppresses any "Segmentation fault" message there. '((' could
15452 # trigger a bug in pdksh 5.2.14.
15453 for as_var
in BASH_ENV ENV MAIL MAILPATH
15454 do eval test x\
${$as_var+set} = xset \
15455 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15468 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15471 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15472 # ----------------------------------------
15473 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15474 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15475 # script with STATUS, using 1 if that was 0.
15478 as_status
=$1; test $as_status -eq 0 && as_status
=1
15480 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15481 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15483 $as_echo "$as_me: error: $2" >&2
15484 as_fn_exit
$as_status
15488 # as_fn_set_status STATUS
15489 # -----------------------
15490 # Set $? to STATUS, without forking.
15491 as_fn_set_status
()
15494 } # as_fn_set_status
15496 # as_fn_exit STATUS
15497 # -----------------
15498 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15502 as_fn_set_status
$1
15508 # Portably unset VAR.
15511 { eval $1=; unset $1;}
15513 as_unset
=as_fn_unset
15514 # as_fn_append VAR VALUE
15515 # ----------------------
15516 # Append the text in VALUE to the end of the definition contained in VAR. Take
15517 # advantage of any shell optimizations that allow amortized linear growth over
15518 # repeated appends, instead of the typical quadratic growth present in naive
15520 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15521 eval 'as_fn_append ()
15532 # as_fn_arith ARG...
15533 # ------------------
15534 # Perform arithmetic evaluation on the ARGs, and store the result in the
15535 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15536 # must be portable across $(()) and expr.
15537 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15538 eval 'as_fn_arith ()
15545 as_val
=`expr "$@" || test $? -eq 1`
15550 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15551 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15557 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15558 as_basename
=basename
15563 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15569 as_me
=`$as_basename -- "$0" ||
15570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15571 X"$0" : 'X\(//\)$' \| \
15572 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15574 sed '/^.*\/\([^/][^/]*\)\/*$/{
15588 # Avoid depending upon Character Ranges.
15589 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15590 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15591 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15592 as_cr_digits
='0123456789'
15593 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15595 ECHO_C
= ECHO_N
= ECHO_T
=
15596 case `echo -n x` in #(((((
15598 case `echo 'xy\c'` in
15599 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15601 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15608 rm -f conf$$ conf$$.exe conf$$.
file
15609 if test -d conf$$.dir
; then
15610 rm -f conf$$.dir
/conf$$.
file
15613 mkdir conf$$.dir
2>/dev
/null
15615 if (echo >conf$$.
file) 2>/dev
/null
; then
15616 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15618 # ... but there are two gotchas:
15619 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15620 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15621 # In both cases, we have to default to `cp -pR'.
15622 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15624 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15632 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15633 rmdir conf$$.dir
2>/dev
/null
15638 # Create "$as_dir" as a directory, including parents if necessary.
15643 -*) as_dir
=.
/$as_dir;;
15645 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15649 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15650 *) as_qdir
=$as_dir;;
15652 as_dirs
="'$as_qdir' $as_dirs"
15653 as_dir
=`$as_dirname -- "$as_dir" ||
15654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15655 X"$as_dir" : 'X\(//\)[^/]' \| \
15656 X"$as_dir" : 'X\(//\)$' \| \
15657 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15658 $as_echo X"$as_dir" |
15659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15663 /^X\(\/\/\)[^/].*/{
15676 test -d "$as_dir" && break
15678 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15679 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15683 if mkdir
-p .
2>/dev
/null
; then
15684 as_mkdir_p
='mkdir -p "$as_dir"'
15686 test -d .
/-p && rmdir .
/-p
15691 # as_fn_executable_p FILE
15692 # -----------------------
15693 # Test if FILE is an executable regular file.
15694 as_fn_executable_p
()
15696 test -f "$1" && test -x "$1"
15697 } # as_fn_executable_p
15698 as_test_x
='test -x'
15699 as_executable_p
=as_fn_executable_p
15701 # Sed expression to map a string onto a valid CPP name.
15702 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15704 # Sed expression to map a string onto a valid variable name.
15705 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15709 ## ----------------------------------- ##
15710 ## Main body of $CONFIG_STATUS script. ##
15711 ## ----------------------------------- ##
15713 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15716 # Save the log message, to keep $0 and so on meaningful, and to
15717 # report actual input values of CONFIG_FILES etc. instead of their
15718 # values after options handling.
15720 This file was extended by gas $as_me 2.32.51, which was
15721 generated by GNU Autoconf 2.69. Invocation command line was
15723 CONFIG_FILES = $CONFIG_FILES
15724 CONFIG_HEADERS = $CONFIG_HEADERS
15725 CONFIG_LINKS = $CONFIG_LINKS
15726 CONFIG_COMMANDS = $CONFIG_COMMANDS
15729 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15734 case $ac_config_files in *"
15735 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15738 case $ac_config_headers in *"
15739 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15744 # Files that config.status was made for.
15745 config_files="$ac_config_files"
15746 config_headers="$ac_config_headers"
15747 config_commands="$ac_config_commands"
15751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15753 \`$as_me' instantiates files and other configuration actions
15754 from templates according to the current configuration. Unless the files
15755 and actions are specified as TAGs, all are instantiated by default.
15757 Usage: $0 [OPTION]... [TAG]...
15759 -h, --help print this help, then exit
15760 -V, --version print version number and configuration settings, then exit
15761 --config print configuration, then exit
15762 -q, --quiet, --silent
15763 do not print progress messages
15764 -d, --debug don't remove temporary files
15765 --recheck update $as_me by reconfiguring in the same conditions
15766 --file=FILE[:TEMPLATE]
15767 instantiate the configuration file FILE
15768 --header=FILE[:TEMPLATE]
15769 instantiate the configuration header FILE
15771 Configuration files:
15774 Configuration headers:
15777 Configuration commands:
15780 Report bugs to the package provider."
15783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15784 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15786 gas config.status 2.32.51
15787 configured by $0, generated by GNU Autoconf 2.69,
15788 with options \\"\$ac_cs_config\\"
15790 Copyright (C) 2012 Free Software Foundation, Inc.
15791 This config.status script is free software; the Free Software Foundation
15792 gives unlimited permission to copy, distribute and modify it."
15799 test -n "\$AWK" || AWK=awk
15802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15803 # The default lists apply if the user does not specify any file.
15809 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15810 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15814 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15826 # Handling of the options.
15827 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15829 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15830 $as_echo "$ac_cs_version"; exit ;;
15831 --config |
--confi |
--conf |
--con |
--co |
--c )
15832 $as_echo "$ac_cs_config"; exit ;;
15833 --debug |
--debu |
--deb |
--de |
--d |
-d )
15835 --file |
--fil |
--fi |
--f )
15838 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15839 '') as_fn_error $?
"missing file argument" ;;
15841 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15842 ac_need_defaults
=false
;;
15843 --header |
--heade |
--head |
--hea )
15846 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15848 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15849 ac_need_defaults
=false
;;
15851 # Conflict between --help and --header
15852 as_fn_error $?
"ambiguous option: \`$1'
15853 Try \`$0 --help' for more information.";;
15854 --help |
--hel |
-h )
15855 $as_echo "$ac_cs_usage"; exit ;;
15856 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15857 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15860 # This is an error.
15861 -*) as_fn_error $?
"unrecognized option: \`$1'
15862 Try \`$0 --help' for more information." ;;
15864 *) as_fn_append ac_config_targets
" $1"
15865 ac_need_defaults
=false
;;
15871 ac_configure_extra_args
=
15873 if $ac_cs_silent; then
15875 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880 if \$ac_cs_recheck; then
15881 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15883 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15884 CONFIG_SHELL='$SHELL'
15885 export CONFIG_SHELL
15890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15894 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15895 ## Running $as_me. ##
15901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15905 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15908 # The HP-UX ksh and POSIX shell print the target directory to stdout
15909 # if CDPATH is set.
15910 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15912 sed_quote_subst='$sed_quote_subst'
15913 double_quote_subst='$double_quote_subst'
15914 delay_variable_subst='$delay_variable_subst'
15915 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15916 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15917 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15918 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15919 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15920 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15921 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15922 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15923 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15924 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15925 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15926 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15927 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15928 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15929 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15930 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15931 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15932 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15933 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15934 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15935 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15936 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15937 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15938 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15939 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15940 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15941 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15942 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15943 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15944 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15945 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15946 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15947 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15948 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15949 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15950 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15951 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15952 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15953 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15954 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15955 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15956 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15957 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15958 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15959 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15960 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15961 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15962 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15963 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"`'
15964 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15965 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15966 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15967 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15968 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15969 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15970 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15971 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15972 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15973 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15974 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15975 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15976 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15977 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15978 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15979 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15980 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15981 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15982 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15983 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15984 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15985 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15986 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15987 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15988 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15989 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15990 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15991 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15992 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15993 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15994 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15995 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15996 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15997 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15998 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15999 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16000 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16001 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16002 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16003 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16004 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16005 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16006 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16007 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16008 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16009 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16010 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16011 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16012 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16013 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16014 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16015 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16016 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16017 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16018 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16019 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16020 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16021 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16022 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16023 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16024 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16025 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16026 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16027 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16028 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16029 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16030 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16031 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16032 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16033 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16034 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16037 LTCFLAGS='$LTCFLAGS'
16038 compiler='$compiler_DEFAULT'
16040 # A function that is used when there is no print builtin or printf.
16041 func_fallback_echo ()
16043 eval 'cat <<_LTECHO_EOF
16048 # Quote evaled strings.
16062 deplibs_check_method \
16071 lt_cv_sys_global_symbol_pipe \
16072 lt_cv_sys_global_symbol_to_cdecl \
16073 lt_cv_sys_global_symbol_to_c_name_address \
16074 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16075 lt_prog_compiler_no_builtin_flag \
16076 lt_prog_compiler_wl \
16077 lt_prog_compiler_pic \
16078 lt_prog_compiler_static \
16079 lt_cv_prog_compiler_c_o \
16087 export_dynamic_flag_spec \
16088 whole_archive_flag_spec \
16089 compiler_needs_object \
16091 allow_undefined_flag \
16092 no_undefined_flag \
16093 hardcode_libdir_flag_spec \
16094 hardcode_libdir_flag_spec_ld \
16095 hardcode_libdir_separator \
16100 variables_saved_for_relink \
16102 library_names_spec \
16104 install_override_mode \
16108 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16109 *[\\\\\\\`\\"\\\$]*)
16110 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16113 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16118 # Double-quote double-evaled strings.
16119 for var in reload_cmds \
16120 old_postinstall_cmds \
16121 old_postuninstall_cmds \
16123 extract_expsyms_cmds \
16124 old_archive_from_new_cmds \
16125 old_archive_from_expsyms_cmds \
16127 archive_expsym_cmds \
16129 module_expsym_cmds \
16130 export_symbols_cmds \
16133 postuninstall_cmds \
16135 sys_lib_search_path_spec \
16136 sys_lib_dlsearch_path_spec; do
16137 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16138 *[\\\\\\\`\\"\\\$]*)
16139 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16142 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16147 ac_aux_dir='$ac_aux_dir'
16148 xsi_shell='$xsi_shell'
16149 lt_shell_append='$lt_shell_append'
16151 # See if we are running on zsh, and set the options which allow our
16152 # commands through without removal of \ escapes INIT.
16153 if test -n "\${ZSH_VERSION+set}" ; then
16154 setopt NO_GLOB_SUBST
16160 TIMESTAMP='$TIMESTAMP'
16166 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16167 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16169 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16170 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16171 LINGUAS="${LINGUAS-%UNSET%}"
16173 target_cpu_type=${target_cpu_type}
16174 cgen_cpu_prefix=${cgen_cpu_prefix}
16175 obj_format=${obj_format}
16180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16182 # Handling of arguments.
16183 for ac_config_target
in $ac_config_targets
16185 case $ac_config_target in
16186 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16187 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16188 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
16189 "gdb.ini") CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
16190 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
16191 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16192 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16193 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16194 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
16195 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16197 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16202 # If the user did not use the arguments to specify the items to instantiate,
16203 # then the envvar interface is used. Set only those that are not.
16204 # We use the long form for the default assignment because of an extremely
16205 # bizarre bug on SunOS 4.1.3.
16206 if $ac_need_defaults; then
16207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16208 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16209 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16212 # Have a temporary directory for convenience. Make it in the build tree
16213 # simply because there is no reason against having it here, and in addition,
16214 # creating and moving files from /tmp can sometimes cause problems.
16215 # Hook for its removal unless debugging.
16216 # Note that there is a small window in which the directory will not be cleaned:
16217 # after its creation but before its name has been assigned to `$tmp'.
16221 trap 'exit_status=$?
16222 : "${ac_tmp:=$tmp}"
16223 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16225 trap 'as_fn_exit 1' 1 2 13 15
16227 # Create a (secure) tmp directory for tmp files.
16230 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16234 tmp
=.
/conf$$
-$RANDOM
16235 (umask 077 && mkdir
"$tmp")
16236 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16239 # Set up the scripts for CONFIG_FILES section.
16240 # No need to generate them if there are no CONFIG_FILES.
16241 # This happens for instance with `./config.status config.h'.
16242 if test -n "$CONFIG_FILES"; then
16245 ac_cr
=`echo X | tr X '\015'`
16246 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16247 # But we know of no other shell where ac_cr would be empty at this
16248 # point, so we can use a bashism as a fallback.
16249 if test "x$ac_cr" = x
; then
16250 eval ac_cr
=\$
\'\\r
\'
16252 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16253 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16256 ac_cs_awk_cr
=$ac_cr
16259 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16264 echo "cat >conf$$subs.awk <<_ACEOF" &&
16265 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16267 } >conf$$subs.sh ||
16268 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16269 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16271 for ac_last_try in false false false false false :; do
16272 . ./conf$$subs.sh ||
16273 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16275 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16276 if test $ac_delim_n = $ac_delim_num; then
16278 elif $ac_last_try; then
16279 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16281 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16284 rm -f conf$$subs.sh
16286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16287 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16291 s/^/S["/; s
/!.
*/"]=/
16301 s/\(.\{148\}\)..*/\1/
16303 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16308 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16315 s/\(.\{148\}\)..*/\1/
16317 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16321 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16326 ' <conf$$subs.awk | sed '
16331 ' >>$CONFIG_STATUS || ac_write_fail=1
16332 rm -f conf$$subs.awk
16333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16335 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16336 for (key in S) S_is_set[key] = 1
16342 nfields = split(line, field, "@
")
16344 len = length(field[1])
16345 for (i = 2; i < nfields; i++) {
16347 keylen = length(key)
16348 if (S_is_set[key]) {
16350 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16351 len += length(value) + length(field[++i])
16362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16363 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16364 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16367 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16368 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16371 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16372 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16373 # trailing colons and then remove the whole line if VPATH becomes empty
16374 # (actually we leave an empty line to preserve line numbers).
16375 if test "x
$srcdir" = x.; then
16376 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16395 fi # test -n "$CONFIG_FILES"
16397 # Set up the scripts for CONFIG_HEADERS section.
16398 # No need to generate them if there are no CONFIG_HEADERS.
16399 # This happens for instance with `./config.status Makefile'.
16400 if test -n "$CONFIG_HEADERS"; then
16401 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16405 # Transform confdefs.h into an awk script `defines.awk', embedded as
16406 # here-document in config.status, that substitutes the proper values into
16407 # config.h.in to produce config.h.
16409 # Create a delimiter string that does not exist in confdefs.h, to ease
16410 # handling of long lines.
16412 for ac_last_try in false false :; do
16413 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16414 if test -z "$ac_tt"; then
16416 elif $ac_last_try; then
16417 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16419 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16423 # For the awk script, D is an array of macro values keyed by name,
16424 # likewise P contains macro parameters if any. Preserve backslash
16425 # newline sequences.
16427 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16429 s/.\{148\}/&'"$ac_delim"'/g
16432 s/^[ ]*#[ ]*define[ ][ ]*/ /
16439 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16441 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16445 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16446 D["\
1"]=" \
3\\\\\\n
"\\/p
16448 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16453 s/.\{148\}/&'"$ac_delim"'/g
16458 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16461 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16463 ' <confdefs.h | sed '
16464 s/'"$ac_delim"'/"\\\
16465 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16468 for (key in D) D_is_set[key] = 1
16471 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16473 split(line, arg, " ")
16474 if (arg[1] == "#") {
16478 defundef
= substr
(arg
[1], 2)
16481 split(mac1
, mac2
, "(") #)
16483 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16484 if (D_is_set
[macro
]) {
16485 # Preserve the white space surrounding the "#".
16486 print prefix
"define", macro P
[macro
] D
[macro
]
16489 # Replace #undef with comments. This is necessary, for example,
16490 # in the case of _POSIX_SOURCE, which is predefined and required
16491 # on some systems where configure will not decide to define it.
16492 if (defundef
== "undef") {
16493 print
"/*", prefix defundef
, macro
, "*/"
16501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16502 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16503 fi # test -n "$CONFIG_HEADERS"
16506 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16511 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16513 case $ac_mode$ac_tag in
16515 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16516 :[FH
]-) ac_tag
=-:-;;
16517 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16534 -) ac_f
="$ac_tmp/stdin";;
16535 *) # Look for the file first in the build tree, then in the source tree
16536 # (if the path is not absolute). The absolute path cannot be DOS-style,
16537 # because $ac_f cannot contain `:'.
16541 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16543 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16545 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16546 as_fn_append ac_file_inputs
" '$ac_f'"
16549 # Let's still pretend it is `configure' which instantiates (i.e., don't
16550 # use $as_me), people would be surprised to read:
16551 # /* config.h. Generated by config.status. */
16552 configure_input
='Generated from '`
16553 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16555 if test x
"$ac_file" != x-
; then
16556 configure_input
="$ac_file. $configure_input"
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16558 $as_echo "$as_me: creating $ac_file" >&6;}
16560 # Neutralize special characters interpreted by sed in replacement strings.
16561 case $configure_input in #(
16562 *\
&* |
*\|
* |
*\\* )
16563 ac_sed_conf_input
=`$as_echo "$configure_input" |
16564 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16565 *) ac_sed_conf_input
=$configure_input;;
16569 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16570 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16575 ac_dir
=`$as_dirname -- "$ac_file" ||
16576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16577 X"$ac_file" : 'X\(//\)[^/]' \| \
16578 X"$ac_file" : 'X\(//\)$' \| \
16579 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16580 $as_echo X"$ac_file" |
16581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16585 /^X\(\/\/\)[^/].*/{
16598 as_dir
="$ac_dir"; as_fn_mkdir_p
16602 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16604 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16605 # A ".." for each directory in $ac_dir_suffix.
16606 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16607 case $ac_top_builddir_sub in
16608 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16609 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16612 ac_abs_top_builddir
=$ac_pwd
16613 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16614 # for backward compatibility:
16615 ac_top_builddir
=$ac_top_build_prefix
16618 .
) # We are building in place.
16620 ac_top_srcdir
=$ac_top_builddir_sub
16621 ac_abs_top_srcdir
=$ac_pwd ;;
16622 [\\/]* | ?
:[\\/]* ) # Absolute name.
16623 ac_srcdir
=$srcdir$ac_dir_suffix;
16624 ac_top_srcdir
=$srcdir
16625 ac_abs_top_srcdir
=$srcdir ;;
16626 *) # Relative name.
16627 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16628 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16629 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16631 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16641 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16642 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16644 ac_MKDIR_P
=$MKDIR_P
16646 [\\/$
]* | ?
:[\\/]* ) ;;
16647 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16652 # If the template does not know about datarootdir, expand it.
16653 # FIXME: This hack should be removed a few years after 2.60.
16654 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16665 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16666 *datarootdir
*) ac_datarootdir_seen
=yes;;
16667 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16669 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16672 ac_datarootdir_hack='
16673 s&@datadir@&$datadir&g
16674 s&@docdir@&$docdir&g
16675 s&@infodir@&$infodir&g
16676 s&@localedir@&$localedir&g
16677 s&@mandir@&$mandir&g
16678 s&\\\${datarootdir}&$datarootdir&g' ;;
16682 # Neutralize VPATH when `$srcdir' = `.'.
16683 # Shell code in configure.ac might set extrasub.
16684 # FIXME: do we really want to maintain this feature?
16685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16686 ac_sed_extra="$ac_vpsub
16689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16691 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16692 s|@configure_input@|
$ac_sed_conf_input|
;t t
16693 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16694 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16695 s
&@srcdir@
&$ac_srcdir&;t t
16696 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16697 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16698 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16699 s
&@builddir@
&$ac_builddir&;t t
16700 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16701 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16702 s
&@INSTALL@
&$ac_INSTALL&;t t
16703 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16704 $ac_datarootdir_hack
16706 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16707 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16712 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16714 which seems to be undefined. Please make sure it is defined" >&5
16715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16716 which seems to be undefined. Please make sure it is defined" >&2;}
16718 rm -f "$ac_tmp/stdin"
16720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16729 if test x"$ac_file" != x-; then
16731 $as_echo "/* $configure_input */" \
16732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16733 } >"$ac_tmp/config.h" \
16734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16740 mv "$ac_tmp/config.h" "$ac_file" \
16741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16744 $as_echo "/* $configure_input */" \
16745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16746 || as_fn_error $? "could not create -" "$LINENO" 5
16748 # Compute "$ac_file"'s index
in $config_headers.
16751 for _am_header
in $config_headers :; do
16752 case $_am_header in
16753 $_am_arg |
$_am_arg:* )
16756 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16759 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16760 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16761 X"$_am_arg" : 'X\(//\)[^/]' \| \
16762 X"$_am_arg" : 'X\(//\)$' \| \
16763 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16764 $as_echo X"$_am_arg" |
16765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16769 /^X\(\/\/\)[^/].*/{
16781 s/.*/./; q'`/stamp-h
$_am_stamp_count
16784 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16785 $as_echo "$as_me: executing $ac_file commands" >&6;}
16790 case $ac_file$ac_mode in
16791 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16792 # Older Autoconf quotes --file arguments for eval, but not when files
16793 # are listed without --file. Let's play safe and only enable the eval
16794 # if we detect the quoting.
16795 case $CONFIG_FILES in
16796 *\'*) eval set x
"$CONFIG_FILES" ;;
16797 *) set x
$CONFIG_FILES ;;
16802 # Strip MF so we end up with the name of the file.
16803 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16804 # Check whether this is an Automake generated Makefile or not.
16805 # We used to match only the files named 'Makefile.in', but
16806 # some people rename them; so instead we look at the file content.
16807 # Grep'ing the first line is not enough: some people post-process
16808 # each Makefile.in and add a new line on top of each file to say so.
16809 # Grep'ing the whole file is not good either: AIX grep has a line
16810 # limit of 2048, but all sed's we know have understand at least 4000.
16811 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16812 dirpart
=`$as_dirname -- "$mf" ||
16813 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16814 X"$mf" : 'X\(//\)[^/]' \| \
16815 X"$mf" : 'X\(//\)$' \| \
16816 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16822 /^X\(\/\/\)[^/].*/{
16838 # Extract the definition of DEPDIR, am__include, and am__quote
16839 # from the Makefile without running 'make'.
16840 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16841 test -z "$DEPDIR" && continue
16842 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16843 test -z "$am__include" && continue
16844 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16845 # Find all dependency output files, they are included files with
16846 # $(DEPDIR) in their names. We invoke sed twice because it is the
16847 # simplest approach to changing $(DEPDIR) to its actual value in the
16849 for file in `sed -n "
16850 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16851 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16852 # Make sure the directory exists.
16853 test -f "$dirpart/$file" && continue
16854 fdir
=`$as_dirname -- "$file" ||
16855 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16856 X"$file" : 'X\(//\)[^/]' \| \
16857 X"$file" : 'X\(//\)$' \| \
16858 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16859 $as_echo X"$file" |
16860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16864 /^X\(\/\/\)[^/].*/{
16877 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16878 # echo "creating $dirpart/$file"
16879 echo '# dummy' > "$dirpart/$file"
16886 # See if we are running on zsh, and set the options which allow our
16887 # commands through without removal of \ escapes.
16888 if test -n "${ZSH_VERSION+set}" ; then
16889 setopt NO_GLOB_SUBST
16892 cfgfile
="${ofile}T"
16893 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16896 cat <<_LT_EOF >> "$cfgfile"
16899 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16900 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16901 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16902 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16904 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16905 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16906 # Written by Gordon Matzigkeit, 1996
16908 # This file is part of GNU Libtool.
16910 # GNU Libtool is free software; you can redistribute it and/or
16911 # modify it under the terms of the GNU General Public License as
16912 # published by the Free Software Foundation; either version 2 of
16913 # the License, or (at your option) any later version.
16915 # As a special exception to the GNU General Public License,
16916 # if you distribute this file as part of a program or library that
16917 # is built using GNU Libtool, you may include this file under the
16918 # same distribution terms that you use for the rest of that program.
16920 # GNU Libtool is distributed in the hope that it will be useful,
16921 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16922 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16923 # GNU General Public License for more details.
16925 # You should have received a copy of the GNU General Public License
16926 # along with GNU Libtool; see the file COPYING. If not, a copy
16927 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16928 # obtained by writing to the Free Software Foundation, Inc.,
16929 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16932 # The names of the tagged configurations supported by this script.
16935 # ### BEGIN LIBTOOL CONFIG
16937 # Which release of libtool.m4 was used?
16938 macro_version=$macro_version
16939 macro_revision=$macro_revision
16941 # Whether or not to build shared libraries.
16942 build_libtool_libs=$enable_shared
16944 # Whether or not to build static libraries.
16945 build_old_libs=$enable_static
16947 # What type of objects to build.
16950 # Whether or not to optimize for fast installation.
16951 fast_install=$enable_fast_install
16953 # Shell to use when invoking shell scripts.
16956 # An echo program that protects backslashes.
16960 host_alias=$host_alias
16964 # The build system.
16965 build_alias=$build_alias
16969 # A sed program that does not truncate output.
16972 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16973 Xsed="\$SED -e 1s/^X//"
16975 # A grep program that handles long lines.
16981 # A literal string matcher.
16984 # A BSD- or MS-compatible name lister.
16987 # Whether we need soft or hard links.
16990 # What is the maximum length of a command?
16991 max_cmd_len=$max_cmd_len
16993 # Object file suffix (normally "o").
16996 # Executable file suffix (normally "").
16999 # whether the shell understands "unset".
17002 # turn spaces into newlines.
17005 # turn newlines into spaces.
17008 # An object symbol dumper.
17009 OBJDUMP=$lt_OBJDUMP
17011 # Method to check whether dependent libraries are shared objects.
17012 deplibs_check_method=$lt_deplibs_check_method
17014 # Command to use when deplibs_check_method == "file_magic".
17015 file_magic_cmd=$lt_file_magic_cmd
17019 AR_FLAGS=$lt_AR_FLAGS
17021 # A symbol stripping program.
17024 # Commands used to install an old-style archive.
17026 old_postinstall_cmds=$lt_old_postinstall_cmds
17027 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17029 # Whether to use a lock for old archive extraction.
17030 lock_old_archive_extraction=$lock_old_archive_extraction
17035 # LTCC compiler flags.
17036 LTCFLAGS=$lt_CFLAGS
17038 # Take the output of nm and produce a listing of raw symbols and C names.
17039 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17041 # Transform the output of nm in a proper C declaration.
17042 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17044 # Transform the output of nm in a C name address pair.
17045 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17047 # Transform the output of nm in a C name address pair when lib prefix is needed.
17048 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17050 # The name of the directory that contains temporary libtool files.
17053 # Used to examine libraries when file_magic_cmd begins with "file".
17054 MAGIC_CMD=$MAGIC_CMD
17056 # Must we lock files when doing compilation?
17057 need_locks=$lt_need_locks
17059 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17060 DSYMUTIL=$lt_DSYMUTIL
17062 # Tool to change global to local symbols on Mac OS X.
17065 # Tool to manipulate fat objects and archives on Mac OS X.
17068 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17071 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17072 OTOOL64=$lt_OTOOL64
17074 # Old archive suffix (normally "a").
17077 # Shared library suffix (normally ".so").
17078 shrext_cmds=$lt_shrext_cmds
17080 # The commands to extract the exported symbol list from a shared archive.
17081 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17083 # Variables whose values should be saved in libtool wrapper scripts and
17084 # restored at link time.
17085 variables_saved_for_relink=$lt_variables_saved_for_relink
17087 # Do we need the "lib" prefix for modules?
17088 need_lib_prefix=$need_lib_prefix
17090 # Do we need a version for libraries?
17091 need_version=$need_version
17093 # Library versioning type.
17094 version_type=$version_type
17096 # Shared library runtime path variable.
17097 runpath_var=$runpath_var
17099 # Shared library path variable.
17100 shlibpath_var=$shlibpath_var
17102 # Is shlibpath searched before the hard-coded library search path?
17103 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17105 # Format of library name prefix.
17106 libname_spec=$lt_libname_spec
17108 # List of archive names. First name is the real one, the rest are links.
17109 # The last name is the one that the linker finds with -lNAME
17110 library_names_spec=$lt_library_names_spec
17112 # The coded name of the library, if different from the real name.
17113 soname_spec=$lt_soname_spec
17115 # Permission mode override for installation of shared libraries.
17116 install_override_mode=$lt_install_override_mode
17118 # Command to use after installation of a shared archive.
17119 postinstall_cmds=$lt_postinstall_cmds
17121 # Command to use after uninstallation of a shared archive.
17122 postuninstall_cmds=$lt_postuninstall_cmds
17124 # Commands used to finish a libtool library installation in a directory.
17125 finish_cmds=$lt_finish_cmds
17127 # As "finish_cmds", except a single script fragment to be evaled but
17129 finish_eval=$lt_finish_eval
17131 # Whether we should hardcode library paths into libraries.
17132 hardcode_into_libs=$hardcode_into_libs
17134 # Compile-time system search path for libraries.
17135 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17137 # Run-time system search path for libraries.
17138 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17140 # Whether dlopen is supported.
17141 dlopen_support=$enable_dlopen
17143 # Whether dlopen of programs is supported.
17144 dlopen_self=$enable_dlopen_self
17146 # Whether dlopen of statically linked programs is supported.
17147 dlopen_self_static=$enable_dlopen_self_static
17149 # Commands to strip libraries.
17150 old_striplib=$lt_old_striplib
17151 striplib=$lt_striplib
17154 # The linker used to build libraries.
17157 # How to create reloadable object files.
17158 reload_flag=$lt_reload_flag
17159 reload_cmds=$lt_reload_cmds
17161 # Commands used to build an old-style archive.
17162 old_archive_cmds=$lt_old_archive_cmds
17164 # A language specific compiler.
17167 # Is the compiler the GNU compiler?
17170 # Compiler flag to turn off builtin functions.
17171 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17173 # How to pass a linker flag through the compiler.
17174 wl=$lt_lt_prog_compiler_wl
17176 # Additional compiler flags for building library objects.
17177 pic_flag=$lt_lt_prog_compiler_pic
17179 # Compiler flag to prevent dynamic linking.
17180 link_static_flag=$lt_lt_prog_compiler_static
17182 # Does compiler simultaneously support -c and -o options?
17183 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17185 # Whether or not to add -lc for building shared libraries.
17186 build_libtool_need_lc=$archive_cmds_need_lc
17188 # Whether or not to disallow shared libs when runtime libs are static.
17189 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17191 # Compiler flag to allow reflexive dlopens.
17192 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17194 # Compiler flag to generate shared objects directly from archives.
17195 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17197 # Whether the compiler copes with passing no objects directly.
17198 compiler_needs_object=$lt_compiler_needs_object
17200 # Create an old-style archive from a shared archive.
17201 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17203 # Create a temporary old-style archive to link instead of a shared archive.
17204 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17206 # Commands used to build a shared archive.
17207 archive_cmds=$lt_archive_cmds
17208 archive_expsym_cmds=$lt_archive_expsym_cmds
17210 # Commands used to build a loadable module if different from building
17211 # a shared archive.
17212 module_cmds=$lt_module_cmds
17213 module_expsym_cmds=$lt_module_expsym_cmds
17215 # Whether we are building with GNU ld or not.
17216 with_gnu_ld=$lt_with_gnu_ld
17218 # Flag that allows shared libraries with undefined symbols to be built.
17219 allow_undefined_flag=$lt_allow_undefined_flag
17221 # Flag that enforces no undefined symbols.
17222 no_undefined_flag=$lt_no_undefined_flag
17224 # Flag to hardcode \$libdir into a binary during linking.
17225 # This must work even if \$libdir does not exist
17226 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17228 # If ld is used when linking, flag to hardcode \$libdir into a binary
17229 # during linking. This must work even if \$libdir does not exist.
17230 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17232 # Whether we need a single "-rpath" flag with a separated argument.
17233 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17235 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17236 # DIR into the resulting binary.
17237 hardcode_direct=$hardcode_direct
17239 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17240 # DIR into the resulting binary and the resulting library dependency is
17241 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17242 # library is relocated.
17243 hardcode_direct_absolute=$hardcode_direct_absolute
17245 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17246 # into the resulting binary.
17247 hardcode_minus_L=$hardcode_minus_L
17249 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17250 # into the resulting binary.
17251 hardcode_shlibpath_var=$hardcode_shlibpath_var
17253 # Set to "yes" if building a shared library automatically hardcodes DIR
17254 # into the library and all subsequent libraries and executables linked
17256 hardcode_automatic=$hardcode_automatic
17258 # Set to yes if linker adds runtime paths of dependent libraries
17259 # to runtime path list.
17260 inherit_rpath=$inherit_rpath
17262 # Whether libtool must link a program against all its dependency libraries.
17263 link_all_deplibs=$link_all_deplibs
17265 # Fix the shell variable \$srcfile for the compiler.
17266 fix_srcfile_path=$lt_fix_srcfile_path
17268 # Set to "yes" if exported symbols are required.
17269 always_export_symbols=$always_export_symbols
17271 # The commands to list exported symbols.
17272 export_symbols_cmds=$lt_export_symbols_cmds
17274 # Symbols that should not be listed in the preloaded symbols.
17275 exclude_expsyms=$lt_exclude_expsyms
17277 # Symbols that must always be exported.
17278 include_expsyms=$lt_include_expsyms
17280 # Commands necessary for linking programs (against libraries) with templates.
17281 prelink_cmds=$lt_prelink_cmds
17283 # Specify filename containing input files.
17284 file_list_spec=$lt_file_list_spec
17286 # How to hardcode a shared library path into an executable.
17287 hardcode_action=$hardcode_action
17289 # ### END LIBTOOL CONFIG
17295 cat <<\_LT_EOF
>> "$cfgfile"
17296 # AIX sometimes has problems with the GCC collect2 program. For some
17297 # reason, if we set the COLLECT_NAMES environment variable, the problems
17298 # vanish in a puff of smoke.
17299 if test "X${COLLECT_NAMES+set}" != Xset
; then
17301 export COLLECT_NAMES
17308 ltmain
="$ac_aux_dir/ltmain.sh"
17311 # We use sed instead of cat because bash on DJGPP gets confused if
17312 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17313 # text mode, it properly converts lines to CR/LF. This bash problem
17314 # is reportedly fixed, but why not run on old versions too?
17315 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17316 ||
(rm -f "$cfgfile"; exit 1)
17320 cat << \_LT_EOF
>> "$cfgfile"
17322 # func_dirname file append nondir_replacement
17323 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17324 # otherwise set result to NONDIR_REPLACEMENT.
17328 */*) func_dirname_result
="${1%/*}${2}" ;;
17329 * ) func_dirname_result
="${3}" ;;
17333 # func_basename file
17336 func_basename_result
="${1##*/}"
17339 # func_dirname_and_basename file append nondir_replacement
17340 # perform func_basename and func_dirname in a single function
17342 # dirname: Compute the dirname of FILE. If nonempty,
17343 # add APPEND to the result, otherwise set result
17344 # to NONDIR_REPLACEMENT.
17345 # value returned in "$func_dirname_result"
17346 # basename: Compute filename of FILE.
17347 # value retuned in "$func_basename_result"
17348 # Implementation must be kept synchronized with func_dirname
17349 # and func_basename. For efficiency, we do not delegate to
17350 # those functions but instead duplicate the functionality here.
17351 func_dirname_and_basename
()
17354 */*) func_dirname_result
="${1%/*}${2}" ;;
17355 * ) func_dirname_result
="${3}" ;;
17357 func_basename_result
="${1##*/}"
17360 # func_stripname prefix suffix name
17361 # strip PREFIX and SUFFIX off of NAME.
17362 # PREFIX and SUFFIX must not contain globbing or regex special
17363 # characters, hashes, percent signs, but SUFFIX may contain a leading
17364 # dot (in which case that matches only a dot).
17367 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17368 # positional parameters, so assign one to ordinary parameter first.
17369 func_stripname_result
=${3}
17370 func_stripname_result
=${func_stripname_result#"${1}"}
17371 func_stripname_result
=${func_stripname_result%"${2}"}
17377 func_opt_split_opt
=${1%%=*}
17378 func_opt_split_arg
=${1#*=}
17385 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17386 *) func_lo2o_result
=${1} ;;
17390 # func_xform libobj-or-source
17393 func_xform_result
=${1%.*}.lo
17396 # func_arith arithmetic-term...
17399 func_arith_result
=$
(( $
* ))
17403 # STRING may not start with a hyphen.
17406 func_len_result
=${#1}
17411 *) # Bourne compatible functions.
17412 cat << \_LT_EOF
>> "$cfgfile"
17414 # func_dirname file append nondir_replacement
17415 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17416 # otherwise set result to NONDIR_REPLACEMENT.
17419 # Extract subdirectory from the argument.
17420 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17421 if test "X$func_dirname_result" = "X${1}"; then
17422 func_dirname_result
="${3}"
17424 func_dirname_result
="$func_dirname_result${2}"
17428 # func_basename file
17431 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17435 # func_stripname prefix suffix name
17436 # strip PREFIX and SUFFIX off of NAME.
17437 # PREFIX and SUFFIX must not contain globbing or regex special
17438 # characters, hashes, percent signs, but SUFFIX may contain a leading
17439 # dot (in which case that matches only a dot).
17440 # func_strip_suffix prefix name
17444 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17445 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17450 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17451 my_sed_long_arg
='1s/^-[^=]*=//'
17456 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17457 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17463 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17466 # func_xform libobj-or-source
17469 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17472 # func_arith arithmetic-term...
17475 func_arith_result
=`expr "$@"`
17479 # STRING may not start with a hyphen.
17482 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17488 case $lt_shell_append in
17490 cat << \_LT_EOF
>> "$cfgfile"
17492 # func_append var value
17493 # Append VALUE to the end of shell variable VAR.
17501 cat << \_LT_EOF
>> "$cfgfile"
17503 # func_append var value
17504 # Append VALUE to the end of shell variable VAR.
17515 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17516 ||
(rm -f "$cfgfile"; exit 1)
17518 mv -f "$cfgfile" "$ofile" ||
17519 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17524 for ac_file
in $CONFIG_FILES; do
17525 # Support "outfile[:infile[:infile...]]"
17527 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17529 # PO directories have a Makefile.in generated from Makefile.in.in.
17530 case "$ac_file" in */Makefile.
in)
17531 # Adjust a relative srcdir.
17532 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17533 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
17534 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17535 # In autoconf-2.13 it is called $ac_given_srcdir.
17536 # In autoconf-2.50 it is called $srcdir.
17537 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17538 case "$ac_given_srcdir" in
17539 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17540 /*) top_srcdir
="$ac_given_srcdir" ;;
17541 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17543 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17544 rm -f "$ac_dir/POTFILES"
17545 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17546 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17547 POMAKEFILEDEPS
="POTFILES.in"
17548 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17549 # on $ac_dir but don't depend on user-specified configuration
17551 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17552 # The LINGUAS file contains the set of available languages.
17553 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17554 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
17556 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17557 # Hide the ALL_LINGUAS assigment from automake.
17558 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17559 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
17561 # The set of available languages was given in configure.ac.
17562 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17564 case "$ac_given_srcdir" in
17566 *) srcdirpre
='$(srcdir)/' ;;
17572 for lang
in $ALL_LINGUAS; do
17573 POFILES
="$POFILES $srcdirpre$lang.po"
17574 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17575 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17576 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17578 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17579 # environment variable.
17581 if test -n "$ALL_LINGUAS"; then
17582 for presentlang
in $ALL_LINGUAS; do
17584 if test "%UNSET%" != "$LINGUAS"; then
17585 desiredlanguages
="$LINGUAS"
17587 desiredlanguages
="$ALL_LINGUAS"
17589 for desiredlang
in $desiredlanguages; do
17590 # Use the presentlang catalog if desiredlang is
17591 # a. equal to presentlang, or
17592 # b. a variant of presentlang (because in this case,
17593 # presentlang can be used as a fallback for messages
17594 # which are not translated in the desiredlang catalog).
17595 case "$desiredlang" in
17596 "$presentlang"*) useit
=yes;;
17599 if test $useit = yes; then
17600 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17605 if test -n "$INST_LINGUAS"; then
17606 for lang
in $INST_LINGUAS; do
17607 CATALOGS
="$CATALOGS $lang.gmo"
17610 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17611 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"
17612 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17613 if test -f "$f"; then
17615 *.orig |
*.bak |
*~
) ;;
17616 *) cat "$f" >> "$ac_dir/Makefile" ;;
17624 "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
17625 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
17626 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
17627 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
17628 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
17629 if test "x$cgen_cpu_prefix" != x
; then
17630 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
17639 ac_clean_files
=$ac_clean_files_save
17641 test $ac_write_fail = 0 ||
17642 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17645 # configure is writing to config.log, and then calls config.status.
17646 # config.status does its own redirection, appending to config.log.
17647 # Unfortunately, on DOS this fails, as config.log is still kept open
17648 # by configure, so config.status won't be able to write to it; its
17649 # output is simply discarded. So we exec the FD to /dev/null,
17650 # effectively closing config.log, so it can be properly (re)opened and
17651 # appended to by config.status. When coming back to configure, we
17652 # need to make the FD available again.
17653 if test "$no_create" != yes; then
17655 ac_config_status_args
=
17656 test "$silent" = yes &&
17657 ac_config_status_args
="$ac_config_status_args --quiet"
17659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17662 # would make configure fail if this is the last instruction.
17663 $ac_cs_success || as_fn_exit
1
17665 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17667 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}