2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gas 2.25.51.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
558 PACKAGE_TARNAME
='gas'
559 PACKAGE_VERSION
='2.25.51'
560 PACKAGE_STRING
='gas 2.25.51'
564 ac_unique_file
="as.h"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
612 MAINTAINER_MODE_FALSE
681 INSTALL_STRIP_PROGRAM
742 program_transform_name
755 enable_option_checking
756 enable_dependency_tracking
767 enable_compressed_debug_sections
769 enable_build_warnings
771 enable_maintainer_mode
774 ac_precious_vars
='build_alias
787 # Initialize some variables set by options.
789 ac_init_version
=false
790 ac_unrecognized_opts
=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
801 program_transform_name
=s
,x
,x
,
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir
='${exec_prefix}/bin'
816 sbindir
='${exec_prefix}/sbin'
817 libexecdir
='${exec_prefix}/libexec'
818 datarootdir
='${prefix}/share'
819 datadir
='${datarootdir}'
820 sysconfdir
='${prefix}/etc'
821 sharedstatedir
='${prefix}/com'
822 localstatedir
='${prefix}/var'
823 includedir
='${prefix}/include'
824 oldincludedir
='/usr/include'
825 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir
='${datarootdir}/info'
831 libdir
='${exec_prefix}/lib'
832 localedir
='${datarootdir}/locale'
833 mandir
='${datarootdir}/man'
839 # If the previous option needs an argument, assign it.
840 if test -n "$ac_prev"; then
841 eval $ac_prev=\
$ac_option
847 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 # Accept the important Cygnus configure options, so we can diagnose typos.
853 case $ac_dashdash$ac_option in
857 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
859 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
862 -build |
--build |
--buil |
--bui |
--bu)
863 ac_prev
=build_alias
;;
864 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
865 build_alias
=$ac_optarg ;;
867 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
868 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
869 ac_prev
=cache_file
;;
870 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
871 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
872 cache_file
=$ac_optarg ;;
875 cache_file
=config.cache
;;
877 -datadir |
--datadir |
--datadi |
--datad)
879 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
880 datadir
=$ac_optarg ;;
882 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
883 |
--dataroo |
--dataro |
--datar)
884 ac_prev
=datarootdir
;;
885 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
886 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
887 datarootdir
=$ac_optarg ;;
889 -disable-* |
--disable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error
"invalid feature name: $ac_useropt"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
919 as_fn_error
"invalid feature name: $ac_useropt"
920 ac_useropt_orig
=$ac_useropt
921 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep
=', ';;
929 eval enable_
$ac_useropt=\
$ac_optarg ;;
931 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
932 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
933 |
--exec |
--exe |
--ex)
934 ac_prev
=exec_prefix
;;
935 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
936 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
937 |
--exec=* |
--exe=* |
--ex=*)
938 exec_prefix
=$ac_optarg ;;
940 -gas |
--gas |
--ga |
--g)
941 # Obsolete; use --with-gas.
944 -help |
--help |
--hel |
--he |
-h)
946 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
947 ac_init_help
=recursive
;;
948 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
949 ac_init_help
=short
;;
951 -host |
--host |
--hos |
--ho)
952 ac_prev
=host_alias
;;
953 -host=* |
--host=* |
--hos=* |
--ho=*)
954 host_alias
=$ac_optarg ;;
956 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
958 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
960 htmldir
=$ac_optarg ;;
962 -includedir |
--includedir |
--includedi |
--included |
--include \
963 |
--includ |
--inclu |
--incl |
--inc)
964 ac_prev
=includedir
;;
965 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
966 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
967 includedir
=$ac_optarg ;;
969 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
971 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
972 infodir
=$ac_optarg ;;
974 -libdir |
--libdir |
--libdi |
--libd)
976 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
979 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
980 |
--libexe |
--libex |
--libe)
981 ac_prev
=libexecdir
;;
982 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
983 |
--libexe=* |
--libex=* |
--libe=*)
984 libexecdir
=$ac_optarg ;;
986 -localedir |
--localedir |
--localedi |
--localed |
--locale)
988 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
989 localedir
=$ac_optarg ;;
991 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
992 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
993 ac_prev
=localstatedir
;;
994 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
995 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
996 localstatedir
=$ac_optarg ;;
998 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1000 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 mandir
=$ac_optarg ;;
1003 -nfp |
--nfp |
--nf)
1004 # Obsolete; use --without-fp.
1007 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1008 |
--no-cr |
--no-c |
-n)
1011 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1012 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1015 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1016 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1017 |
--oldin |
--oldi |
--old |
--ol |
--o)
1018 ac_prev
=oldincludedir
;;
1019 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1020 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1021 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1022 oldincludedir
=$ac_optarg ;;
1024 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1026 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1027 prefix
=$ac_optarg ;;
1029 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1030 |
--program-pre |
--program-pr |
--program-p)
1031 ac_prev
=program_prefix
;;
1032 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1033 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1034 program_prefix
=$ac_optarg ;;
1036 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1037 |
--program-suf |
--program-su |
--program-s)
1038 ac_prev
=program_suffix
;;
1039 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1040 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1041 program_suffix
=$ac_optarg ;;
1043 -program-transform-name |
--program-transform-name \
1044 |
--program-transform-nam |
--program-transform-na \
1045 |
--program-transform-n |
--program-transform- \
1046 |
--program-transform |
--program-transfor \
1047 |
--program-transfo |
--program-transf \
1048 |
--program-trans |
--program-tran \
1049 |
--progr-tra |
--program-tr |
--program-t)
1050 ac_prev
=program_transform_name
;;
1051 -program-transform-name=* |
--program-transform-name=* \
1052 |
--program-transform-nam=* |
--program-transform-na=* \
1053 |
--program-transform-n=* |
--program-transform-=* \
1054 |
--program-transform=* |
--program-transfor=* \
1055 |
--program-transfo=* |
--program-transf=* \
1056 |
--program-trans=* |
--program-tran=* \
1057 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1058 program_transform_name
=$ac_optarg ;;
1060 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1062 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1063 pdfdir
=$ac_optarg ;;
1065 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1067 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1071 |
-silent |
--silent |
--silen |
--sile |
--sil)
1074 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1076 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1078 sbindir
=$ac_optarg ;;
1080 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1081 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1082 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1084 ac_prev
=sharedstatedir
;;
1085 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1086 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1087 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1089 sharedstatedir
=$ac_optarg ;;
1091 -site |
--site |
--sit)
1093 -site=* |
--site=* |
--sit=*)
1096 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1098 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1099 srcdir
=$ac_optarg ;;
1101 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1102 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1103 ac_prev
=sysconfdir
;;
1104 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1105 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1106 sysconfdir
=$ac_optarg ;;
1108 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1109 ac_prev
=target_alias
;;
1110 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1111 target_alias
=$ac_optarg ;;
1113 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1116 -version |
--version |
--versio |
--versi |
--vers |
-V)
1117 ac_init_version
=: ;;
1120 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1123 as_fn_error
"invalid package name: $ac_useropt"
1124 ac_useropt_orig
=$ac_useropt
1125 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131 ac_unrecognized_sep
=', ';;
1133 eval with_
$ac_useropt=\
$ac_optarg ;;
1135 -without-* |
--without-*)
1136 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=no
;;
1152 # Obsolete; use --with-x.
1155 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1156 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1157 ac_prev
=x_includes
;;
1158 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1159 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1160 x_includes
=$ac_optarg ;;
1162 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1163 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1164 ac_prev
=x_libraries
;;
1165 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1166 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1167 x_libraries
=$ac_optarg ;;
1169 -*) as_fn_error
"unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information."
1174 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 case $ac_envvar in #(
1177 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1178 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1180 eval $ac_envvar=\
$ac_optarg
1181 export $ac_envvar ;;
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1194 if test -n "$ac_prev"; then
1195 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1196 as_fn_error
"missing argument to $ac_option"
1199 if test -n "$ac_unrecognized_opts"; then
1200 case $enable_option_checking in
1202 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1203 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 # Check all directory arguments for consistency.
1208 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val
=\$
$ac_var
1214 # Remove trailing slashes.
1217 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218 eval $ac_var=\
$ac_val;;
1220 # Be sure to have absolute directory names.
1222 [\\/$
]* | ?
:[\\/]* ) continue;;
1223 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1225 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1233 target
=$target_alias
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x
; then
1237 if test "x$build_alias" = x
; then
1238 cross_compiling
=maybe
1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240 If a cross compiler is detected then cross compile mode will be used." >&2
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1249 test "$silent" = yes && exec 6>/dev
/null
1252 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di
=`ls -di .` &&
1254 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error
"working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error
"pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted
=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir
=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted
=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1296 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var
in $ac_precious_vars; do
1313 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1315 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures gas 2.25.51 to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/gas]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1384 --program-prefix=PREFIX prepend PREFIX to installed program names
1385 --program-suffix=SUFFIX append SUFFIX to installed program names
1386 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of gas 2.25.51:";;
1402 --disable-option-checking ignore unrecognized
--enable/--with options
1403 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1404 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1405 --disable-dependency-tracking speeds up one-time build
1406 --enable-dependency-tracking do not reject slow dependency extractors
1407 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1408 --enable-static[=PKGS
] build static libraries
[default
=yes]
1409 --enable-fast-install[=PKGS
]
1410 optimize
for fast installation
[default
=yes]
1411 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1412 --enable-plugins Enable support
for plugins
1413 --disable-largefile omit support
for large files
1414 --enable-targets alternative target configurations besides the primary
1415 --enable-checking enable run-time checks
1416 --enable-compressed-debug-sections compress debug sections by default
1417 --enable-werror treat compile warnings as errors
1418 --enable-build-warnings enable build-time compiler warnings
1419 --disable-nls do not use Native Language Support
1420 --enable-maintainer-mode enable make rules and dependencies not useful
1421 (and sometimes confusing
) to the casual installer
1424 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1425 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1426 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1428 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1429 --with-system-zlib use installed libz
1431 Some influential environment variables
:
1432 CC C compiler
command
1433 CFLAGS C compiler flags
1434 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1435 nonstandard directory
<lib dir
>
1436 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1437 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1438 you have headers
in a nonstandard directory
<include dir
>
1440 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1441 the first program found out of: `bison
-y', `byacc', `yacc'.
1442 YFLAGS The list of arguments that will be passed by default to $YACC.
1443 This script will default YFLAGS to the empty string to avoid a
1444 default value of `-d' given by some make applications.
1446 Use these variables to override the choices made by `configure' or to
help
1447 it to
find libraries and programs with nonstandard names
/locations.
1449 Report bugs to the package provider.
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1463 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1465 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1470 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir
=$ac_pwd
1474 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir
=$ac_top_build_prefix
1479 .
) # We are building in place.
1481 ac_top_srcdir
=$ac_top_builddir_sub
1482 ac_abs_top_srcdir
=$ac_pwd ;;
1483 [\\/]* | ?
:[\\/]* ) # Absolute name.
1484 ac_srcdir
=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir
=$srcdir
1486 ac_abs_top_srcdir
=$srcdir ;;
1488 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1512 gas configure
2.25.51
1513 generated by GNU Autoconf
2.64
1515 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1516 This configure
script is free software
; the Free Software Foundation
1517 gives unlimited permission to copy
, distribute and modify it.
1522 ## ------------------------ ##
1523 ## Autoconf initialization. ##
1524 ## ------------------------ ##
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile
()
1531 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1532 rm -f conftest.
$ac_objext
1533 if { { ac_try
="$ac_compile"
1535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.$ac_objext; then :
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562 } # ac_fn_c_try_compile
1564 # ac_fn_c_try_link LINENO
1565 # -----------------------
1566 # Try to link conftest.$ac_ext, and return whether this succeeded.
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 rm -f conftest.$ac_objext conftest$ac_exeext
1571 if { { ac_try="$ac_link"
1573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1574 *) ac_try_echo
=$ac_try;;
1576 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_link") 2>conftest.err
1580 if test -s conftest.err
; then
1581 grep -v '^ *+' conftest.err
>conftest.er1
1582 cat conftest.er1
>&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest
$ac_exeext && {
1590 test "$cross_compiling" = yes ||
1591 $as_test_x conftest
$ac_exeext
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.
$ac_ext >&5
1600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1602 # interfere with the next link command; also delete a directory that is
1603 # left behind by Apple's compiler. We do this before executing the actions.
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1608 } # ac_fn_c_try_link
1610 # ac_fn_c_try_cpp LINENO
1611 # ----------------------
1612 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1616 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625 if test -s conftest.err; then
1626 grep -v '^ *+' conftest.err >conftest.er1
1627 cat conftest.er1 >&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } >/dev/null && {
1632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1647 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1648 # -------------------------------------------------------
1649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1650 # the include files in INCLUDES and setting the cache variable VAR
1652 ac_fn_c_check_header_mongrel ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1659 $as_echo_n "(cached) " >&6
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1665 # Is the header compilable?
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1667 $as_echo_n "checking $2 usability... " >&6; }
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669 /* end confdefs.h. */
1673 if ac_fn_c_try_compile "$LINENO"; then :
1674 ac_header_compiler=yes
1676 ac_header_compiler=no
1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1680 $as_echo "$ac_header_compiler" >&6; }
1682 # Is the header present?
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1684 $as_echo_n "checking $2 presence... " >&6; }
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1689 if ac_fn_c_try_cpp "$LINENO"; then :
1690 ac_header_preproc=yes
1692 ac_header_preproc=no
1694 rm -f conftest.err conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1696 $as_echo "$ac_header_preproc" >&6; }
1698 # So? What about this header?
1699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1710 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1714 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720 $as_echo_n "checking for $2... " >&6; }
1721 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1722 $as_echo_n "(cached) " >&6
1724 eval "$3=\$ac_header_compiler"
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 } # ac_fn_c_check_header_mongrel
1734 # ac_fn_c_try_run LINENO
1735 # ----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737 # that executables *can* be run.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1752 { { case "(($ac_try" in
1753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_try") 2>&5
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; }; }; then :
1764 $as_echo "$as_me: program exited with status $ac_status" >&5
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1768 ac_retval=$ac_status
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1776 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists and can be compiled using the include files in
1779 # INCLUDES, setting the cache variable VAR accordingly.
1780 ac_fn_c_check_header_compile ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1793 if ac_fn_c_try_compile "$LINENO"; then :
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805 } # ac_fn_c_check_header_compile
1807 # ac_fn_c_check_func LINENO FUNC VAR
1808 # ----------------------------------
1809 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1810 ac_fn_c_check_func ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1816 $as_echo_n "(cached) " >&6
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1822 #define $2 innocuous_$2
1824 /* System header to define __stub macros and hopefully few prototypes,
1825 which can conflict with char $2 (); below.
1826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827 <limits.h> exists even on freestanding compilers. */
1830 # include <limits.h>
1832 # include <assert.h>
1837 /* Override any GCC internal prototype to avoid an error.
1838 Use char because int might match the return type of a GCC
1839 builtin and then its argument prototype would still apply. */
1844 /* The GNU C library defines this for functions which it implements
1845 to always fail with ENOSYS. Some functions are actually named
1846 something starting with __ and the normal name is an alias. */
1847 #if defined __stub_$2 || defined __stub___$2
1859 if ac_fn_c_try_link "$LINENO"; then :
1864 rm -f core conftest.err conftest.$ac_objext \
1865 conftest$ac_exeext conftest.$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872 } # ac_fn_c_check_func
1874 # ac_fn_c_check_decl LINENO SYMBOL VAR
1875 # ------------------------------------
1876 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1877 ac_fn_c_check_decl ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1881 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1883 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1884 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1885 $as_echo_n "(cached) " >&6
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1893 #ifndef $as_decl_name
1895 (void) $as_decl_use;
1897 (void) $as_decl_name;
1905 if ac_fn_c_try_compile "$LINENO"; then :
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917 } # ac_fn_c_check_decl
1918 cat >config.log <<_ACEOF
1919 This file contains any messages produced by compilers while
1920 running configure, to aid debugging if configure makes a mistake.
1922 It was created by gas $as_me 2.25.51, which was
1923 generated by GNU Autoconf 2.64. Invocation command line was
1935 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1936 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1937 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1938 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1939 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1941 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1942 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1944 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1945 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1946 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1947 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1948 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1949 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1950 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir=.
1959 $as_echo "PATH: $as_dir"
1975 # Keep a trace of the command line.
1976 # Strip out --no-create and --no-recursion so they do not pile up.
1977 # Strip out --silent because we don't want to record it for future runs.
1978 # Also quote any args containing shell meta-characters.
1979 # Make two passes to allow for proper duplicate-argument suppression.
1983 ac_must_keep_next=false
1989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1991 | -silent | --silent | --silen | --sile | --sil)
1994 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1997 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1999 as_fn_append ac_configure_args1 " '$ac_arg'"
2000 if test $ac_must_keep_next = true; then
2001 ac_must_keep_next=false # Got value, back to normal.
2004 *=* | --config-cache | -C | -disable-* | --disable-* \
2005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2007 | -with-* | --with-* | -without-* | --without-* | --x)
2008 case "$ac_configure_args0 " in
2009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2012 -* ) ac_must_keep_next=true ;;
2015 as_fn_append ac_configure_args " '$ac_arg'"
2020 { ac_configure_args0=; unset ac_configure_args0;}
2021 { ac_configure_args1=; unset ac_configure_args1;}
2023 # When interrupted or exit'd, cleanup temporary files, and complete
2024 # config.log. We remove comments because anyway the quotes in there
2025 # would cause problems or look ugly.
2026 # WARNING: Use '\'' to represent an apostrophe within the trap.
2027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2028 trap 'exit_status=$?
2029 # Save into config.log some information that might help in debugging.
2034 ## ---------------- ##
2035 ## Cache variables. ##
2036 ## ---------------- ##
2039 # The following way of writing the cache mishandles newlines in values,
2041 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2042 eval ac_val=\$$ac_var
2046 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2050 _ | IFS | as_nl) ;; #(
2051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2052 *) { eval $ac_var=; unset $ac_var;} ;;
2057 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2058 *${as_nl}ac_space=\ *)
2060 "s/'\''/'\''\\\\'\'''\''/g;
2061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2072 ## ----------------- ##
2073 ## Output variables. ##
2074 ## ----------------- ##
2077 for ac_var in $ac_subst_vars
2079 eval ac_val=\$$ac_var
2081 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2083 $as_echo "$ac_var='\''$ac_val'\''"
2087 if test -n "$ac_subst_files"; then
2089 ## ------------------- ##
2090 ## File substitutions. ##
2091 ## ------------------- ##
2094 for ac_var in $ac_subst_files
2096 eval ac_val=\$$ac_var
2098 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2100 $as_echo "$ac_var='\''$ac_val'\''"
2105 if test -s confdefs.h; then
2115 test "$ac_signal" != 0 &&
2116 $as_echo "$as_me: caught signal $ac_signal"
2117 $as_echo "$as_me: exit $exit_status"
2119 rm -f core *.core core.conftest.* &&
2120 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2123 for ac_signal in 1 2 13 15; do
2124 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2128 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2129 rm -f -r conftest* confdefs.h
2131 $as_echo "/* confdefs.h */" > confdefs.h
2133 # Predefined preprocessor variables.
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_NAME "$PACKAGE_NAME"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_STRING "$PACKAGE_STRING"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_URL "$PACKAGE_URL"
2160 # Let the site file select an alternate cache file if it wants to.
2161 # Prefer an explicitly selected file to automatically selected ones.
2164 if test -n "$CONFIG_SITE"; then
2165 ac_site_file1=$CONFIG_SITE
2166 elif test "x$prefix" != xNONE; then
2167 ac_site_file1=$prefix/share/config.site
2168 ac_site_file2=$prefix/etc/config.site
2170 ac_site_file1=$ac_default_prefix/share/config.site
2171 ac_site_file2=$ac_default_prefix/etc/config.site
2173 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2175 test "x$ac_site_file" = xNONE && continue
2176 if test -r "$ac_site_file"; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2178 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2179 sed 's/^/| /' "$ac_site_file" >&5
2184 if test -r "$cache_file"; then
2185 # Some versions of bash will fail to source /dev/null (special
2186 # files actually), so we avoid doing that.
2187 if test -f "$cache_file"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2189 $as_echo "$as_me: loading cache $cache_file" >&6;}
2191 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2192 *) . "./$cache_file";;
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2197 $as_echo "$as_me: creating cache $cache_file" >&6;}
2201 # Check that the precious variables saved in the cache have kept the same
2203 ac_cache_corrupted=false
2204 for ac_var in $ac_precious_vars; do
2205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2206 eval ac_new_set=\$ac_env_${ac_var}_set
2207 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2208 eval ac_new_val=\$ac_env_${ac_var}_value
2209 case $ac_old_set,$ac_new_set in
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2212 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2213 ac_cache_corrupted=: ;;
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2216 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2217 ac_cache_corrupted=: ;;
2220 if test "x$ac_old_val" != "x$ac_new_val"; then
2221 # differences in whitespace do not lead to failure.
2222 ac_old_val_w=`echo x
$ac_old_val`
2223 ac_new_val_w=`echo x
$ac_new_val`
2224 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2226 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2227 ac_cache_corrupted=:
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2230 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2231 eval $ac_var=\$ac_old_val
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2234 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2236 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2239 # Pass precious variables to config.status.
2240 if test "$ac_new_set" = set; then
2242 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2243 *) ac_arg=$ac_var=$ac_new_val ;;
2245 case " $ac_configure_args " in
2246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2247 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2251 if $ac_cache_corrupted; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2255 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2256 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2258 ## -------------------- ##
2259 ## Main body of script. ##
2260 ## -------------------- ##
2263 ac_cpp='$CPP $CPPFLAGS'
2264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2275 for ac_dir in .. "$srcdir"/..; do
2276 for ac_t in install-sh install.sh shtool; do
2277 if test -f "$ac_dir/$ac_t"; then
2279 ac_install_sh="$ac_aux_dir/$ac_t -c"
2284 if test -z "$ac_aux_dir"; then
2285 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2288 # These three variables are undocumented and unsupported,
2289 # and are intended to be withdrawn in a future Autoconf release.
2290 # They can cause serious problems if a builder's source tree is in a directory
2291 # whose full name contains unusual characters.
2292 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2293 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2294 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2297 # Make sure we can run config.sub.
2298 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2299 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2302 $as_echo_n "checking build system type... " >&6; }
2303 if test "${ac_cv_build+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2306 ac_build_alias=$build_alias
2307 test "x$ac_build_alias" = x &&
2308 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2309 test "x$ac_build_alias" = x &&
2310 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2311 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2312 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2316 $as_echo "$ac_cv_build" >&6; }
2317 case $ac_cv_build in
2319 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2322 ac_save_IFS=$IFS; IFS='-'
2328 # Remember, the first character of IFS is used to create $*,
2329 # except with old shells:
2332 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2336 $as_echo_n "checking host system type... " >&6; }
2337 if test "${ac_cv_host+set}" = set; then :
2338 $as_echo_n "(cached) " >&6
2340 if test "x$host_alias" = x; then
2341 ac_cv_host=$ac_cv_build
2343 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2344 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2349 $as_echo "$ac_cv_host" >&6; }
2352 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2355 ac_save_IFS=$IFS; IFS='-'
2361 # Remember, the first character of IFS is used to create $*,
2362 # except with old shells:
2365 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2369 $as_echo_n "checking target system type... " >&6; }
2370 if test "${ac_cv_target+set}" = set; then :
2371 $as_echo_n "(cached) " >&6
2373 if test "x$target_alias" = x; then
2374 ac_cv_target=$ac_cv_host
2376 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2377 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2382 $as_echo "$ac_cv_target" >&6; }
2383 case $ac_cv_target in
2385 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2387 target=$ac_cv_target
2388 ac_save_IFS=$IFS; IFS='-'
2394 # Remember, the first character of IFS is used to create $*,
2395 # except with old shells:
2398 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2401 # The aliases save the names the user supplied, while $host etc.
2402 # will get canonicalized.
2403 test -n "$target_alias" &&
2404 test "$program_prefix$program_suffix$program_transform_name" = \
2406 program_prefix=${target_alias}-
2408 ac_cpp='$CPP $CPPFLAGS'
2409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2412 if test -n "$ac_tool_prefix"; then
2413 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2414 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2416 $as_echo_n "checking for $ac_word... " >&6; }
2417 if test "${ac_cv_prog_CC+set}" = set; then :
2418 $as_echo_n "(cached) " >&6
2420 if test -n "$CC"; then
2421 ac_cv_prog_CC="$CC" # Let the user override the test.
2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 test -z "$as_dir" && as_dir=.
2428 for ac_exec_ext in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 if test -n "$CC"; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2443 $as_echo "$CC" >&6; }
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2446 $as_echo "no" >&6; }
2451 if test -z "$ac_cv_prog_CC"; then
2453 # Extract the first word of "gcc", so it can be a program name with args.
2454 set dummy gcc; ac_word=$2
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2456 $as_echo_n "checking for $ac_word... " >&6; }
2457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2458 $as_echo_n "(cached) " >&6
2460 if test -n "$ac_ct_CC"; then
2461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_ac_ct_CC="gcc"
2471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2481 if test -n "$ac_ct_CC"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2483 $as_echo "$ac_ct_CC" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2486 $as_echo "no" >&6; }
2489 if test "x$ac_ct_CC" = x; then
2492 case $cross_compiling:$ac_tool_warned in
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2496 ac_tool_warned=yes ;;
2504 if test -z "$CC"; then
2505 if test -n "$ac_tool_prefix"; then
2506 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2507 set dummy ${ac_tool_prefix}cc; ac_word=$2
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2509 $as_echo_n "checking for $ac_word... " >&6; }
2510 if test "${ac_cv_prog_CC+set}" = set; then :
2511 $as_echo_n "(cached) " >&6
2513 if test -n "$CC"; then
2514 ac_cv_prog_CC="$CC" # Let the user override the test.
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir=.
2521 for ac_exec_ext in '' $ac_executable_extensions; do
2522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2523 ac_cv_prog_CC="${ac_tool_prefix}cc"
2524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 if test -n "$CC"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2536 $as_echo "$CC" >&6; }
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2539 $as_echo "no" >&6; }
2545 if test -z "$CC"; then
2546 # Extract the first word of "cc", so it can be a program name with args.
2547 set dummy cc; ac_word=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if test "${ac_cv_prog_CC+set}" = set; then :
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$CC"; then
2554 ac_cv_prog_CC="$CC" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2565 ac_prog_rejected=yes
2569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 if test $ac_prog_rejected = yes; then
2577 # We found a bogon in the path, so make sure we never use it.
2578 set dummy $ac_cv_prog_CC
2580 if test $# != 0; then
2581 # We chose a different compiler from the bogus one.
2582 # However, it has the same basename, so the bogon will be chosen
2583 # first if we set CC to just the basename; use the full file name.
2585 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2591 if test -n "$CC"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2593 $as_echo "$CC" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2601 if test -z "$CC"; then
2602 if test -n "$ac_tool_prefix"; then
2603 for ac_prog in cl.exe
2605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608 $as_echo_n "checking for $ac_word... " >&6; }
2609 if test "${ac_cv_prog_CC+set}" = set; then :
2610 $as_echo_n "(cached) " >&6
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC="$CC" # Let the user override the test.
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir=.
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2622 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633 if test -n "$CC"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2635 $as_echo "$CC" >&6; }
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638 $as_echo "no" >&6; }
2642 test -n "$CC" && break
2645 if test -z "$CC"; then
2647 for ac_prog in cl.exe
2649 # Extract the first word of "$ac_prog", so it can be a program name with args.
2650 set dummy $ac_prog; ac_word=$2
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2654 $as_echo_n "(cached) " >&6
2656 if test -n "$ac_ct_CC"; then
2657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_ac_ct_CC="$ac_prog"
2667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2677 if test -n "$ac_ct_CC"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2679 $as_echo "$ac_ct_CC" >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2686 test -n "$ac_ct_CC" && break
2689 if test "x$ac_ct_CC" = x; then
2692 case $cross_compiling:$ac_tool_warned in
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned=yes ;;
2705 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2707 as_fn_error "no acceptable C compiler found
in \
$PATH
2708 See \
`config.log' for more details." "$LINENO" 5; }
2710 # Provide some information about the compiler.
2711 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2714 for ac_option in --version -v -V -qversion; do
2715 { { ac_try="$ac_compiler $ac_option >&5"
2717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2718 *) ac_try_echo
=$ac_try;;
2720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2724 if test -s conftest.err
; then
2726 ... rest of stderr output deleted ...
2727 10q' conftest.err
>conftest.er1
2728 cat conftest.er1
>&5
2729 rm -f conftest.er1 conftest.err
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; }
2735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2746 ac_clean_files_save
=$ac_clean_files
2747 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2748 # Try to create an executable without -o first, disregard a.out.
2749 # It will help us diagnose broken compilers, and finding out an intuition
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2752 $as_echo_n "checking for C compiler default output file name... " >&6; }
2753 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2755 # The possible output files:
2756 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2759 for ac_file
in $ac_files
2762 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2763 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2768 if { { ac_try
="$ac_link_default"
2770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 $as_echo "$ac_try_echo"; } >&5
2775 (eval "$ac_link_default") 2>&5
2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; }; then :
2779 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2780 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2781 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2782 # so that the user can short-circuit this test for compilers unknown to
2784 for ac_file in $ac_files ''
2786 test -f "$ac_file" || continue
2788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2791 # We found the default executable, but exeext='' is most
2795 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2797 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2799 # We set ac_cv_exeext here because the later test for it is not
2800 # safe: cross compilers may not add the suffix if given an `-o'
2801 # argument, so we may need to know it at that point already.
2802 # Even if this section looks crufty: it has the advantage of
2809 test "$ac_cv_exeext" = no && ac_cv_exeext=
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2815 $as_echo "$ac_file" >&6; }
2816 if test -z "$ac_file"; then :
2817 $as_echo "$as_me: failed program was:" >&5
2818 sed 's
/^
/|
/' conftest.$ac_ext >&5
2820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2821 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2822 { as_fn_set_status 77
2823 as_fn_error "C compiler cannot create executables
2824 See \`config.log
' for more details." "$LINENO" 5; }; }
2826 ac_exeext=$ac_cv_exeext
2828 # Check that the compiler produces executables we can run. If not, either
2829 # the compiler is broken, or we cross compile.
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2831 $as_echo_n "checking whether the C compiler works... " >&6; }
2832 # If not cross compiling, check that we can run a simple program.
2833 if test "$cross_compiling" != yes; then
2834 if { ac_try='.
/$ac_file'
2835 { { case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_try") 2>&5
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; }; }; then
2847 if test "$cross_compiling" = maybe; then
2850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2851 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2852 as_fn_error "cannot run C compiled programs.
2853 If you meant to cross compile, use \`--host'.
2854 See \`config.log' for more details.
" "$LINENO" 5; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2859 $as_echo "yes" >&6; }
2861 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2862 ac_clean_files=$ac_clean_files_save
2863 # Check that the compiler produces executables we can run. If not, either
2864 # the compiler is broken, or we cross compile.
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2866 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2868 $as_echo "$cross_compiling" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2871 $as_echo_n "checking
for suffix of executables...
" >&6; }
2872 if { { ac_try="$ac_link"
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2877 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 $as_echo "$ac_try_echo"; } >&5
2879 (eval "$ac_link") 2>&5
2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2882 test $ac_status = 0; }; then :
2883 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2884 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2885 # work properly (i.e., refer to `conftest.exe'), while it won't with
2887 for ac_file in conftest.exe conftest conftest.*; do
2888 test -f "$ac_file" || continue
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2891 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2899 as_fn_error "cannot compute suffix of executables: cannot compile and link
2900 See \`config.log' for more details.
" "$LINENO" 5; }
2902 rm -f conftest$ac_cv_exeext
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2904 $as_echo "$ac_cv_exeext" >&6; }
2906 rm -f conftest.$ac_ext
2907 EXEEXT=$ac_cv_exeext
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
2910 $as_echo_n "checking
for suffix of object files...
" >&6; }
2911 if test "${ac_cv_objext+set}" = set; then :
2912 $as_echo_n "(cached
) " >&6
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2925 rm -f conftest.o conftest.obj
2926 if { { ac_try="$ac_compile"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2932 $as_echo "$ac_try_echo"; } >&5
2933 (eval "$ac_compile") 2>&5
2935 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2936 test $ac_status = 0; }; then :
2937 for ac_file in conftest.o conftest.obj conftest.*; do
2938 test -f "$ac_file" || continue;
2940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2941 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2946 $as_echo "$as_me: failed program was
:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 as_fn_error "cannot compute suffix of object files: cannot compile
2952 See \`config.log' for more details.
" "$LINENO" 5; }
2954 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
2957 $as_echo "$ac_cv_objext" >&6; }
2958 OBJEXT=$ac_cv_objext
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
2961 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
2962 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2963 $as_echo_n "(cached
) " >&6
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2979 if ac_fn_c_try_compile "$LINENO"; then :
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
2989 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2990 if test $ac_compiler_gnu = yes; then
2995 ac_test_CFLAGS=${CFLAGS+set}
2996 ac_save_CFLAGS=$CFLAGS
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
2998 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
2999 if test "${ac_cv_prog_cc_g+set}" = set; then :
3000 $as_echo_n "(cached
) " >&6
3002 ac_save_c_werror_flag=$ac_c_werror_flag
3003 ac_c_werror_flag=yes
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3017 if ac_fn_c_try_compile "$LINENO"; then :
3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3032 if ac_fn_c_try_compile "$LINENO"; then :
3035 ac_c_werror_flag=$ac_save_c_werror_flag
3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3048 if ac_fn_c_try_compile "$LINENO"; then :
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 ac_c_werror_flag=$ac_save_c_werror_flag
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3059 $as_echo "$ac_cv_prog_cc_g" >&6; }
3060 if test "$ac_test_CFLAGS" = set; then
3061 CFLAGS=$ac_save_CFLAGS
3062 elif test $ac_cv_prog_cc_g = yes; then
3063 if test "$GCC" = yes; then
3069 if test "$GCC" = yes; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3076 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3077 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3078 $as_echo_n "(cached
) " >&6
3080 ac_cv_prog_cc_c89=no
3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3083 /* end confdefs.h. */
3086 #include <sys/types.h>
3087 #include <sys/stat.h>
3088 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3089 struct buf { int x; };
3090 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3091 static char *e (p, i)
3097 static char *f (char * (*g) (char **, int), char **p, ...)
3102 s = g (p, va_arg (v,int));
3107 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3108 function prototypes and stuff, but not '\xHH' hex character constants.
3109 These don't provoke an error unfortunately, instead are silently treated
3110 as 'x'. The following induces an error, until -std is added to get
3111 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3112 array size at least. It's necessary to write '\x00'==0 to get something
3113 that's true only with -std. */
3114 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3116 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3117 inside strings and character constants. */
3119 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3121 int test (int i, double x);
3122 struct s1 {int (*f) (int a);};
3123 struct s2 {int (*f) (double a);};
3124 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3130 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3135 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3136 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3138 CC="$ac_save_CC $ac_arg"
3139 if ac_fn_c_try_compile "$LINENO"; then :
3140 ac_cv_prog_cc_c89=$ac_arg
3142 rm -f core conftest.err conftest.$ac_objext
3143 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3145 rm -f conftest.$ac_ext
3150 case "x
$ac_cv_prog_cc_c89" in
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3153 $as_echo "none needed
" >&6; } ;;
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3156 $as_echo "unsupported
" >&6; } ;;
3158 CC="$CC $ac_cv_prog_cc_c89"
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3160 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3162 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3167 ac_cpp='$CPP $CPPFLAGS'
3168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing strerror
" >&5
3174 $as_echo_n "checking
for library containing strerror...
" >&6; }
3175 if test "${ac_cv_search_strerror+set}" = set; then :
3176 $as_echo_n "(cached
) " >&6
3178 ac_func_search_save_LIBS=$LIBS
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3182 /* Override any GCC internal prototype to avoid an error.
3183 Use char because int might match the return type of a GCC
3184 builtin and then its argument prototype would still apply. */
3197 for ac_lib in '' cposix; do
3198 if test -z "$ac_lib"; then
3199 ac_res="none required
"
3202 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3204 if ac_fn_c_try_link "$LINENO"; then :
3205 ac_cv_search_strerror=$ac_res
3207 rm -f core conftest.err conftest.$ac_objext \
3209 if test "${ac_cv_search_strerror+set}" = set; then :
3213 if test "${ac_cv_search_strerror+set}" = set; then :
3216 ac_cv_search_strerror=no
3219 LIBS=$ac_func_search_save_LIBS
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_strerror" >&5
3222 $as_echo "$ac_cv_search_strerror" >&6; }
3223 ac_res=$ac_cv_search_strerror
3224 if test "$ac_res" != no; then :
3225 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3230 am__api_version='1.11'
3232 # Find a good install program. We prefer a C program (faster),
3233 # so one script is as good as another. But avoid the broken or
3234 # incompatible versions:
3235 # SysV /etc/install, /usr/sbin/install
3236 # SunOS /usr/etc/install
3237 # IRIX /sbin/install
3239 # AmigaOS /C/install, which installs bootblocks on floppy discs
3240 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3241 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3242 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3243 # OS/2's system install, which has a completely different semantic
3244 # ./install, which can be erroneously created by make from ./install.sh.
3245 # Reject install programs that cannot install multiple files.
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3247 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3248 if test -z "$INSTALL"; then
3249 if test "${ac_cv_path_install+set}" = set; then :
3250 $as_echo_n "(cached
) " >&6
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256 test -z "$as_dir" && as_dir=.
3257 # Account for people who put trailing slashes in PATH elements.
3258 case $as_dir/ in #((
3259 ./ | .// | /[cC]/* | \
3260 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3261 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3264 # OSF1 and SCO ODT 3.0 have their own names for install.
3265 # Don't use installbsd from OSF since it installs stuff as root
3267 for ac_prog in ginstall scoinst install; do
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3270 if test $ac_prog = install &&
3271 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3272 # AIX install. It has an incompatible calling convention.
3274 elif test $ac_prog = install &&
3275 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3276 # program-specific install script used by HP pwplus--don't use.
3279 rm -rf conftest.one conftest.two conftest.dir
3280 echo one > conftest.one
3281 echo two > conftest.two
3283 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3284 test -s conftest.one && test -s conftest.two &&
3285 test -s conftest.dir/conftest.one &&
3286 test -s conftest.dir/conftest.two
3288 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3301 rm -rf conftest.one conftest.two conftest.dir
3304 if test "${ac_cv_path_install+set}" = set; then
3305 INSTALL=$ac_cv_path_install
3307 # As a last resort, use the slow shell script. Don't cache a
3308 # value for INSTALL within a source directory, because that will
3309 # break other packages using the cache if that directory is
3310 # removed, or if the value is a relative name.
3311 INSTALL=$ac_install_sh
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3315 $as_echo "$INSTALL" >&6; }
3317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3318 # It thinks the first close brace ends the variable substitution.
3319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3326 $as_echo_n "checking whether build environment is sane...
" >&6; }
3329 echo timestamp > conftest.file
3330 # Reject unsafe characters in $srcdir or the absolute working directory
3331 # name. Accept space and tab only in the latter.
3335 *[\\\"\#\$\&\'\`$am_lf]*)
3336 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3339 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3340 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3343 # Do `set' in a subshell so we don't clobber the current shell
's
3344 # arguments. Must try -L first in case configure is actually a
3345 # symlink; some systems play weird games with the mod time of symlinks
3346 # (eg FreeBSD returns the mod time of the symlink's containing
3349 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3350 if test "$*" = "X"; then
3352 set X
`ls -t "$srcdir/configure" conftest.file`
3355 if test "$*" != "X $srcdir/configure conftest.file" \
3356 && test "$*" != "X conftest.file $srcdir/configure"; then
3358 # If neither matched, then we have a broken ls. This can happen
3359 # if, for instance, CONFIG_SHELL is bash and it inherits a
3360 # broken ls alias from the environment. This has actually
3361 # happened. Such a system could not be considered "sane".
3362 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3363 alias in your environment" "$LINENO" 5
3366 test "$2" = conftest.
file
3372 as_fn_error
"newly created file is older than distributed files!
3373 Check your system clock" "$LINENO" 5
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3376 $as_echo "yes" >&6; }
3377 test "$program_prefix" != NONE
&&
3378 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3379 # Use a double $ so make ignores it.
3380 test "$program_suffix" != NONE
&&
3381 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3382 # Double any \ or $.
3383 # By default was `s,x,x', remove it if useless.
3384 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3385 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3387 # expand $ac_aux_dir to an absolute path
3388 am_aux_dir
=`cd $ac_aux_dir && pwd`
3390 if test x
"${MISSING+set}" != xset
; then
3393 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3395 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3398 # Use eval to expand $SHELL
3399 if eval "$MISSING --run true"; then
3400 am_missing_run
="$MISSING --run "
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3404 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3407 if test x
"${install_sh}" != xset
; then
3410 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3412 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3416 # Installed binaries are usually stripped using `strip' when the user
3417 # run `make install-strip'. However `strip' might not be the right
3418 # tool to use in cross-compilation environments, therefore Automake
3419 # will honor the `STRIP' environment variable to overrule this program.
3420 if test "$cross_compiling" != no
; then
3421 if test -n "$ac_tool_prefix"; then
3422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3423 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if test "${ac_cv_prog_STRIP+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3429 if test -n "$STRIP"; then
3430 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3436 test -z "$as_dir" && as_dir
=.
3437 for ac_exec_ext
in '' $ac_executable_extensions; do
3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 STRIP
=$ac_cv_prog_STRIP
3450 if test -n "$STRIP"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3452 $as_echo "$STRIP" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3460 if test -z "$ac_cv_prog_STRIP"; then
3462 # Extract the first word of "strip", so it can be a program name with args.
3463 set dummy strip
; ac_word
=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 if test -n "$ac_ct_STRIP"; then
3470 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3476 test -z "$as_dir" && as_dir
=.
3477 for ac_exec_ext
in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_ac_ct_STRIP
="strip"
3480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3490 if test -n "$ac_ct_STRIP"; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3492 $as_echo "$ac_ct_STRIP" >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3498 if test "x$ac_ct_STRIP" = x
; then
3501 case $cross_compiling:$ac_tool_warned in
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505 ac_tool_warned
=yes ;;
3510 STRIP
="$ac_cv_prog_STRIP"
3514 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3517 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3518 if test -z "$MKDIR_P"; then
3519 if test "${ac_cv_path_mkdir+set}" = set; then :
3520 $as_echo_n "(cached) " >&6
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3523 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_prog
in mkdir gmkdir
; do
3528 for ac_exec_ext
in '' $ac_executable_extensions; do
3529 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3530 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3531 'mkdir (GNU coreutils) '* | \
3532 'mkdir (coreutils) '* | \
3533 'mkdir (fileutils) '4.1*)
3534 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3544 if test "${ac_cv_path_mkdir+set}" = set; then
3545 MKDIR_P
="$ac_cv_path_mkdir -p"
3547 # As a last resort, use the slow shell script. Don't cache a
3548 # value for MKDIR_P within a source directory, because that will
3549 # break other packages using the cache if that directory is
3550 # removed, or if the value is a relative name.
3551 test -d .
/--version && rmdir .
/--version
3552 MKDIR_P
="$ac_install_sh -d"
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3556 $as_echo "$MKDIR_P" >&6; }
3560 [\\/$
]* | ?
:[\\/]*) ;;
3561 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3564 for ac_prog
in gawk mawk nawk
awk
3566 # Extract the first word of "$ac_prog", so it can be a program name with args.
3567 set dummy
$ac_prog; ac_word
=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if test "${ac_cv_prog_AWK+set}" = set; then :
3571 $as_echo_n "(cached) " >&6
3573 if test -n "$AWK"; then
3574 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir
=.
3581 for ac_exec_ext
in '' $ac_executable_extensions; do
3582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583 ac_cv_prog_AWK
="$ac_prog"
3584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 if test -n "$AWK"; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3596 $as_echo "$AWK" >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3603 test -n "$AWK" && break
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3607 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3609 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3610 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3611 $as_echo_n "(cached) " >&6
3613 cat >conftest.
make <<\_ACEOF
3616 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3618 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3621 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3623 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3627 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3629 $as_echo "yes" >&6; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3634 SET_MAKE
="MAKE=${MAKE-make}"
3637 rm -rf .tst
2>/dev
/null
3638 mkdir .tst
2>/dev
/null
3639 if test -d .tst
; then
3644 rmdir .tst
2>/dev
/null
3646 DEPDIR
="${am__leading_dot}deps"
3648 ac_config_commands
="$ac_config_commands depfiles"
3651 am_make
=${MAKE-make}
3652 cat > confinc
<< 'END'
3654 @
echo this is the am__doit target
3657 # If we don't find an include directive, just comment out the code.
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3659 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3663 # First try GNU make style include.
3664 echo "include confinc" > confmf
3665 # Ignore all kinds of additional output from `make'.
3666 case `$am_make -s -f confmf 2> /dev/null` in #(
3667 *the\ am__doit\ target
*)
3673 # Now try BSD make style include.
3674 if test "$am__include" = "#"; then
3675 echo '.include "confinc"' > confmf
3676 case `$am_make -s -f confmf 2> /dev/null` in #(
3677 *the\ am__doit\ target
*)
3678 am__include
=.include
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3687 $as_echo "$_am_result" >&6; }
3688 rm -f confinc confmf
3690 # Check whether --enable-dependency-tracking was given.
3691 if test "${enable_dependency_tracking+set}" = set; then :
3692 enableval
=$enable_dependency_tracking;
3695 if test "x$enable_dependency_tracking" != xno
; then
3696 am_depcomp
="$ac_aux_dir/depcomp"
3699 if test "x$enable_dependency_tracking" != xno; then
3708 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3709 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3710 # is not polluted with repeated "-I."
3711 am__isrc
=' -I$(srcdir)'
3712 # test to see if srcdir already configured
3713 if test -f $srcdir/config.status
; then
3714 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3718 # test whether we have cygpath
3719 if test -z "$CYGPATH_W"; then
3720 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3721 CYGPATH_W
='cygpath -w'
3728 # Define the identity of the package.
3733 cat >>confdefs.h
<<_ACEOF
3734 #define PACKAGE "$PACKAGE"
3738 cat >>confdefs.h
<<_ACEOF
3739 #define VERSION "$VERSION"
3742 # Some tools Automake needs.
3744 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3747 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3750 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3753 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3756 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3758 # We need awk for the "check" target. The system "awk" is bad on
3760 # Always define AMTAR for backward compatibility.
3762 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3764 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3769 depcc
="$CC" am_compiler_list
=
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3772 $as_echo_n "checking dependency style of $depcc... " >&6; }
3773 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3777 # We make a subdir and do the tests there. Otherwise we can end up
3778 # making bogus files that we don't know about and never remove. For
3779 # instance it was reported that on HP-UX the gcc test will end up
3780 # making a dummy file named `D' -- because `-MD' means `put the output
3783 # Copy depcomp to subdir because otherwise we won't find it if we're
3784 # using a relative directory.
3785 cp "$am_depcomp" conftest.dir
3787 # We will build objects and dependencies in a subdirectory because
3788 # it helps to detect inapplicable dependency modes. For instance
3789 # both Tru64's cc and ICC support -MD to output dependencies as a
3790 # side effect of compilation, but ICC will put the dependencies in
3791 # the current directory while Tru64 will put them in the object
3795 am_cv_CC_dependencies_compiler_type
=none
3796 if test "$am_compiler_list" = ""; then
3797 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3800 case " $depcc " in #(
3801 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3804 for depmode
in $am_compiler_list; do
3805 # Setup a source with many dependencies, because some compilers
3806 # like to wrap large dependency lists on column 80 (with \), and
3807 # we should not choose a depcomp mode which is confused by this.
3809 # We need to recreate these files for each test, as the compiler may
3810 # overwrite some of them when testing with obscure command lines.
3811 # This happens at least with the AIX C compiler.
3813 for i
in 1 2 3 4 5 6; do
3814 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3815 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3816 # Solaris 8's {/usr,}/bin/sh.
3817 touch sub
/conftst
$i.h
3819 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3821 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3822 # mode. It turns out that the SunPro C++ compiler does not properly
3823 # handle `-M -o', and we need to detect this. Also, some Intel
3824 # versions had trouble with output in subdirs
3825 am__obj
=sub
/conftest.
${OBJEXT-o}
3826 am__minus_obj
="-o $am__obj"
3829 # This depmode causes a compiler race in universal mode.
3830 test "$am__universal" = false ||
continue
3833 # after this tag, mechanisms are not by side-effect, so they'll
3834 # only be used when explicitly requested
3835 if test "x$enable_dependency_tracking" = xyes
; then
3841 msvisualcpp | msvcmsys
)
3842 # This compiler won't grok `-c -o', but also, the minuso test has
3843 # not run yet. These depmodes are late enough in the game, and
3844 # so weak that their functioning should not be impacted.
3845 am__obj
=conftest.
${OBJEXT-o}
3850 if depmode
=$depmode \
3851 source=sub
/conftest.c object
=$am__obj \
3852 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3853 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3854 >/dev
/null
2>conftest.err
&&
3855 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3856 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3857 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3858 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3859 # icc doesn't choke on unknown options, it will just issue warnings
3860 # or remarks (even with -Werror). So we grep stderr for any message
3861 # that says an option was ignored or not supported.
3862 # When given -MP, icc 7.0 and 7.1 complain thusly:
3863 # icc: Command line warning: ignoring option '-M'; no argument required
3864 # The diagnosis changed in icc 8.0:
3865 # icc: Command line remark: option '-MP' not supported
3866 if (grep 'ignoring option' conftest.err ||
3867 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3868 am_cv_CC_dependencies_compiler_type
=$depmode
3877 am_cv_CC_dependencies_compiler_type
=none
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3882 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3883 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3886 test "x$enable_dependency_tracking" != xno \
3887 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3889 am__fastdepCC_FALSE
='#'
3891 am__fastdepCC_TRUE
='#'
3892 am__fastdepCC_FALSE
=
3899 ac_cpp
='$CPP $CPPFLAGS'
3900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3905 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if test "${ac_cv_prog_CC+set}" = set; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$CC"; then
3912 ac_cv_prog_CC
="$CC" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3921 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932 if test -n "$CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3934 $as_echo "$CC" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3942 if test -z "$ac_cv_prog_CC"; then
3944 # Extract the first word of "gcc", so it can be a program name with args.
3945 set dummy gcc
; ac_word
=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$ac_ct_CC"; then
3952 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir
=.
3959 for ac_exec_ext
in '' $ac_executable_extensions; do
3960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961 ac_cv_prog_ac_ct_CC
="gcc"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3972 if test -n "$ac_ct_CC"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3974 $as_echo "$ac_ct_CC" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3980 if test "x$ac_ct_CC" = x
; then
3983 case $cross_compiling:$ac_tool_warned in
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987 ac_tool_warned
=yes ;;
3995 if test -z "$CC"; then
3996 if test -n "$ac_tool_prefix"; then
3997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3998 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if test "${ac_cv_prog_CC+set}" = set; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -n "$CC"; then
4005 ac_cv_prog_CC
="$CC" # Let the user override the test.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4014 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 if test -n "$CC"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4027 $as_echo "$CC" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4036 if test -z "$CC"; then
4037 # Extract the first word of "cc", so it can be a program name with args.
4038 set dummy cc
; ac_word
=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if test "${ac_cv_prog_CC+set}" = set; then :
4042 $as_echo_n "(cached) " >&6
4044 if test -n "$CC"; then
4045 ac_cv_prog_CC
="$CC" # Let the user override the test.
4048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir
=.
4053 for ac_exec_ext
in '' $ac_executable_extensions; do
4054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4056 ac_prog_rejected
=yes
4060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 if test $ac_prog_rejected = yes; then
4068 # We found a bogon in the path, so make sure we never use it.
4069 set dummy
$ac_cv_prog_CC
4071 if test $# != 0; then
4072 # We chose a different compiler from the bogus one.
4073 # However, it has the same basename, so the bogon will be chosen
4074 # first if we set CC to just the basename; use the full file name.
4076 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4082 if test -n "$CC"; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4084 $as_echo "$CC" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4092 if test -z "$CC"; then
4093 if test -n "$ac_tool_prefix"; then
4094 for ac_prog
in cl.exe
4096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4097 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099 $as_echo_n "checking for $ac_word... " >&6; }
4100 if test "${ac_cv_prog_CC+set}" = set; then :
4101 $as_echo_n "(cached) " >&6
4103 if test -n "$CC"; then
4104 ac_cv_prog_CC
="$CC" # Let the user override the test.
4106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4110 test -z "$as_dir" && as_dir
=.
4111 for ac_exec_ext
in '' $ac_executable_extensions; do
4112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4113 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 if test -n "$CC"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4126 $as_echo "$CC" >&6; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4133 test -n "$CC" && break
4136 if test -z "$CC"; then
4138 for ac_prog
in cl.exe
4140 # Extract the first word of "$ac_prog", so it can be a program name with args.
4141 set dummy
$ac_prog; ac_word
=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -n "$ac_ct_CC"; then
4148 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4157 ac_cv_prog_ac_ct_CC
="$ac_prog"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4168 if test -n "$ac_ct_CC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4170 $as_echo "$ac_ct_CC" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4177 test -n "$ac_ct_CC" && break
4180 if test "x$ac_ct_CC" = x
; then
4183 case $cross_compiling:$ac_tool_warned in
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4187 ac_tool_warned
=yes ;;
4196 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4198 as_fn_error
"no acceptable C compiler found in \$PATH
4199 See \`config.log' for more details." "$LINENO" 5; }
4201 # Provide some information about the compiler.
4202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4205 for ac_option
in --version -v -V -qversion; do
4206 { { ac_try
="$ac_compiler $ac_option >&5"
4208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4215 if test -s conftest.err; then
4217 ... rest of stderr output deleted ...
4218 10q' conftest.err >conftest.er1
4219 cat conftest.er1 >&5
4220 rm -f conftest.er1 conftest.err
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4227 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4228 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4229 $as_echo_n "(cached) " >&6
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4255 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4256 if test $ac_compiler_gnu = yes; then
4261 ac_test_CFLAGS=${CFLAGS+set}
4262 ac_save_CFLAGS=$CFLAGS
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4264 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4265 if test "${ac_cv_prog_cc_g+set}" = set; then :
4266 $as_echo_n "(cached) " >&6
4268 ac_save_c_werror_flag=$ac_c_werror_flag
4269 ac_c_werror_flag=yes
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4283 if ac_fn_c_try_compile "$LINENO"; then :
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4298 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_c_werror_flag=$ac_save_c_werror_flag
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4314 if ac_fn_c_try_compile "$LINENO"; then :
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 ac_c_werror_flag=$ac_save_c_werror_flag
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4325 $as_echo "$ac_cv_prog_cc_g" >&6; }
4326 if test "$ac_test_CFLAGS" = set; then
4327 CFLAGS=$ac_save_CFLAGS
4328 elif test $ac_cv_prog_cc_g = yes; then
4329 if test "$GCC" = yes; then
4335 if test "$GCC" = yes; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4342 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4343 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4346 ac_cv_prog_cc_c89=no
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4352 #include <sys/types.h>
4353 #include <sys/stat.h>
4354 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4355 struct buf { int x; };
4356 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4357 static char *e (p, i)
4363 static char *f (char * (*g) (char **, int), char **p, ...)
4368 s = g (p, va_arg (v,int));
4373 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4374 function prototypes and stuff, but not '\xHH' hex character constants.
4375 These don't provoke an error unfortunately, instead are silently treated
4376 as 'x'. The following induces an error, until -std is added to get
4377 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4378 array size at least. It's necessary to write '\x00'==0 to get something
4379 that's true only with -std. */
4380 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4382 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4383 inside strings and character constants. */
4385 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4387 int test (int i, double x);
4388 struct s1 {int (*f) (int a);};
4389 struct s2 {int (*f) (double a);};
4390 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4396 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4401 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4402 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4404 CC="$ac_save_CC $ac_arg"
4405 if ac_fn_c_try_compile "$LINENO"; then :
4406 ac_cv_prog_cc_c89=$ac_arg
4408 rm -f core conftest.err conftest.$ac_objext
4409 test "x$ac_cv_prog_cc_c89" != "xno" && break
4411 rm -f conftest.$ac_ext
4416 case "x$ac_cv_prog_cc_c89" in
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4419 $as_echo "none needed" >&6; } ;;
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4422 $as_echo "unsupported" >&6; } ;;
4424 CC="$CC $ac_cv_prog_cc_c89"
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4426 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4428 if test "x$ac_cv_prog_cc_c89" != xno; then :
4433 ac_cpp='$CPP $CPPFLAGS'
4434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4439 ac_cpp='$CPP $CPPFLAGS'
4440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4444 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4445 # On Suns, sometimes $CPP names a directory.
4446 if test -n "$CPP" && test -d "$CPP"; then
4449 if test -z "$CPP"; then
4450 if test "${ac_cv_prog_CPP+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4453 # Double quotes because CPP needs to be expanded
4454 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4457 for ac_c_preproc_warn_flag in '' yes
4459 # Use a header file that comes with gcc, so configuring glibc
4460 # with a fresh cross-compiler works.
4461 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4462 # <limits.h> exists even on freestanding compilers.
4463 # On the NeXT, cc -E runs the code through the compiler's parser,
4464 # not just through cpp. "Syntax error" is here to catch this case.
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4468 # include <limits.h>
4470 # include <assert.h>
4474 if ac_fn_c_try_cpp "$LINENO"; then :
4477 # Broken: fails on valid input.
4480 rm -f conftest.err conftest.$ac_ext
4482 # OK, works on sane cases. Now check whether nonexistent headers
4483 # can be detected and how.
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4486 #include <ac_nonexistent.h>
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4489 # Broken: success on invalid input.
4492 # Passes both tests.
4496 rm -f conftest.err conftest.$ac_ext
4499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4500 rm -f conftest.err conftest.
$ac_ext
4501 if $ac_preproc_ok; then :
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4514 $as_echo "$CPP" >&6; }
4516 for ac_c_preproc_warn_flag
in '' yes
4518 # Use a header file that comes with gcc, so configuring glibc
4519 # with a fresh cross-compiler works.
4520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4521 # <limits.h> exists even on freestanding compilers.
4522 # On the NeXT, cc -E runs the code through the compiler's parser,
4523 # not just through cpp. "Syntax error" is here to catch this case.
4524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4527 # include <limits.h>
4529 # include <assert.h>
4533 if ac_fn_c_try_cpp
"$LINENO"; then :
4536 # Broken: fails on valid input.
4539 rm -f conftest.err conftest.
$ac_ext
4541 # OK, works on sane cases. Now check whether nonexistent headers
4542 # can be detected and how.
4543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4545 #include <ac_nonexistent.h>
4547 if ac_fn_c_try_cpp
"$LINENO"; then :
4548 # Broken: success on invalid input.
4551 # Passes both tests.
4555 rm -f conftest.err conftest.
$ac_ext
4558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4559 rm -f conftest.err conftest.
$ac_ext
4560 if $ac_preproc_ok; then :
4563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4565 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4566 See \`config.log' for more details." "$LINENO" 5; }
4570 ac_cpp
='$CPP $CPPFLAGS'
4571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4577 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4578 if test "${ac_cv_path_GREP+set}" = set; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -z "$GREP"; then
4582 ac_path_GREP_found
=false
4583 # Loop through the user's path and test for each of PROGNAME-LIST
4584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4588 test -z "$as_dir" && as_dir
=.
4589 for ac_prog
in grep ggrep
; do
4590 for ac_exec_ext
in '' $ac_executable_extensions; do
4591 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4592 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4593 # Check for GNU ac_path_GREP and select it if it is found.
4594 # Check for GNU $ac_path_GREP
4595 case `"$ac_path_GREP" --version 2>&1` in
4597 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4600 $as_echo_n 0123456789 >"conftest.in"
4603 cat "conftest.in" "conftest.in" >"conftest.tmp"
4604 mv "conftest.tmp" "conftest.in"
4605 cp "conftest.in" "conftest.nl"
4606 $as_echo 'GREP' >> "conftest.nl"
4607 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4608 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4609 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4610 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4611 # Best one so far, save it but keep looking for a better one
4612 ac_cv_path_GREP
="$ac_path_GREP"
4613 ac_path_GREP_max
=$ac_count
4615 # 10*(2^10) chars as input seems more than enough
4616 test $ac_count -gt 10 && break
4618 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4621 $ac_path_GREP_found && break 3
4626 if test -z "$ac_cv_path_GREP"; then
4627 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630 ac_cv_path_GREP
=$GREP
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4635 $as_echo "$ac_cv_path_GREP" >&6; }
4636 GREP
="$ac_cv_path_GREP"
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4640 $as_echo_n "checking for egrep... " >&6; }
4641 if test "${ac_cv_path_EGREP+set}" = set; then :
4642 $as_echo_n "(cached) " >&6
4644 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4645 then ac_cv_path_EGREP
="$GREP -E"
4647 if test -z "$EGREP"; then
4648 ac_path_EGREP_found
=false
4649 # Loop through the user's path and test for each of PROGNAME-LIST
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_prog
in egrep; do
4656 for ac_exec_ext
in '' $ac_executable_extensions; do
4657 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4658 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4659 # Check for GNU ac_path_EGREP and select it if it is found.
4660 # Check for GNU $ac_path_EGREP
4661 case `"$ac_path_EGREP" --version 2>&1` in
4663 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4666 $as_echo_n 0123456789 >"conftest.in"
4669 cat "conftest.in" "conftest.in" >"conftest.tmp"
4670 mv "conftest.tmp" "conftest.in"
4671 cp "conftest.in" "conftest.nl"
4672 $as_echo 'EGREP' >> "conftest.nl"
4673 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4674 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4675 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4676 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4677 # Best one so far, save it but keep looking for a better one
4678 ac_cv_path_EGREP
="$ac_path_EGREP"
4679 ac_path_EGREP_max
=$ac_count
4681 # 10*(2^10) chars as input seems more than enough
4682 test $ac_count -gt 10 && break
4684 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4687 $ac_path_EGREP_found && break 3
4692 if test -z "$ac_cv_path_EGREP"; then
4693 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4696 ac_cv_path_EGREP
=$EGREP
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4702 $as_echo "$ac_cv_path_EGREP" >&6; }
4703 EGREP
="$ac_cv_path_EGREP"
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4707 $as_echo_n "checking for ANSI C header files... " >&6; }
4708 if test "${ac_cv_header_stdc+set}" = set; then :
4709 $as_echo_n "(cached) " >&6
4711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4726 if ac_fn_c_try_compile
"$LINENO"; then :
4727 ac_cv_header_stdc
=yes
4729 ac_cv_header_stdc
=no
4731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4733 if test $ac_cv_header_stdc = yes; then
4734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4741 $EGREP "memchr" >/dev
/null
2>&1; then :
4744 ac_cv_header_stdc
=no
4750 if test $ac_cv_header_stdc = yes; then
4751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4758 $EGREP "free" >/dev
/null
2>&1; then :
4761 ac_cv_header_stdc
=no
4767 if test $ac_cv_header_stdc = yes; then
4768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4769 if test "$cross_compiling" = yes; then :
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4776 #if ((' ' & 0x0FF) == 0x020)
4777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4780 # define ISLOWER(c) \
4781 (('a' <= (c) && (c) <= 'i') \
4782 || ('j' <= (c) && (c) <= 'r') \
4783 || ('s' <= (c) && (c) <= 'z'))
4784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4792 for (i = 0; i < 256; i++)
4793 if (XOR (islower (i), ISLOWER (i))
4794 || toupper (i) != TOUPPER (i))
4799 if ac_fn_c_try_run
"$LINENO"; then :
4802 ac_cv_header_stdc
=no
4804 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4805 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4811 $as_echo "$ac_cv_header_stdc" >&6; }
4812 if test $ac_cv_header_stdc = yes; then
4814 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4818 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4819 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4820 inttypes.h stdint.h unistd.h
4822 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4823 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4825 eval as_val
=\$
$as_ac_Header
4826 if test "x$as_val" = x
""yes; then :
4827 cat >>confdefs.h
<<_ACEOF
4828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4837 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4838 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4845 if test "$MINIX" = yes; then
4847 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4850 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4853 $as_echo "#define _MINIX 1" >>confdefs.h
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4859 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4860 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4861 $as_echo_n "(cached) " >&6
4863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4866 # define __EXTENSIONS__ 1
4867 $ac_includes_default
4876 if ac_fn_c_try_compile
"$LINENO"; then :
4877 ac_cv_safe_to_define___extensions__
=yes
4879 ac_cv_safe_to_define___extensions__
=no
4881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4884 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4885 test $ac_cv_safe_to_define___extensions__ = yes &&
4886 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4888 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4890 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4892 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4894 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4903 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4908 macro_version
='2.2.7a'
4909 macro_revision
='1.3134'
4923 ltmain
="$ac_aux_dir/ltmain.sh"
4925 # Backslashify metacharacters that are still active within
4926 # double-quoted strings.
4927 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4929 # Same as above, but do not quote variable references.
4930 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4932 # Sed substitution to delay expansion of an escaped shell variable in a
4933 # double_quote_subst'ed string.
4934 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4936 # Sed substitution to delay expansion of an escaped single quote.
4937 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4939 # Sed substitution to avoid accidental globbing in evaled expressions
4940 no_glob_subst
='s/\*/\\\*/g'
4942 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4943 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4944 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4947 $as_echo_n "checking how to print strings... " >&6; }
4948 # Test print first, because it will be a builtin if present.
4949 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4950 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4952 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4955 # Use this function as a fallback that always works.
4956 func_fallback_echo ()
4958 eval 'cat <<_LTECHO_EOF
4962 ECHO='func_fallback_echo
'
4965 # func_echo_all arg...
4966 # Invoke $ECHO with all args, space-separated.
4973 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4974 $as_echo "printf" >&6; } ;;
4975 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4976 $as_echo "print -r" >&6; } ;;
4977 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4978 $as_echo "cat" >&6; } ;;
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4995 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4996 if test "${ac_cv_path_SED+set}" = set; then :
4997 $as_echo_n "(cached) " >&6
4999 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5000 for ac_i in 1 2 3 4 5 6 7; do
5001 ac_script="$ac_script$as_nl$ac_script"
5003 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5004 { ac_script=; unset ac_script;}
5005 if test -z "$SED"; then
5006 ac_path_SED_found=false
5007 # Loop through the user's path and
test for each of PROGNAME-LIST
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_prog
in sed gsed
; do
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5016 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5017 # Check for GNU ac_path_SED and select it if it is found.
5018 # Check for GNU $ac_path_SED
5019 case `"$ac_path_SED" --version 2>&1` in
5021 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5024 $as_echo_n 0123456789 >"conftest.in"
5027 cat "conftest.in" "conftest.in" >"conftest.tmp"
5028 mv "conftest.tmp" "conftest.in"
5029 cp "conftest.in" "conftest.nl"
5030 $as_echo '' >> "conftest.nl"
5031 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5032 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5033 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5034 if test $ac_count -gt ${ac_path_SED_max-0}; then
5035 # Best one so far, save it but keep looking for a better one
5036 ac_cv_path_SED
="$ac_path_SED"
5037 ac_path_SED_max
=$ac_count
5039 # 10*(2^10) chars as input seems more than enough
5040 test $ac_count -gt 10 && break
5042 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5045 $ac_path_SED_found && break 3
5050 if test -z "$ac_cv_path_SED"; then
5051 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5059 $as_echo "$ac_cv_path_SED" >&6; }
5060 SED
="$ac_cv_path_SED"
5063 test -z "$SED" && SED
=sed
5064 Xsed
="$SED -e 1s/^X//"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5077 $as_echo_n "checking for fgrep... " >&6; }
5078 if test "${ac_cv_path_FGREP+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5081 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5082 then ac_cv_path_FGREP
="$GREP -F"
5084 if test -z "$FGREP"; then
5085 ac_path_FGREP_found
=false
5086 # Loop through the user's path and test for each of PROGNAME-LIST
5087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5091 test -z "$as_dir" && as_dir
=.
5092 for ac_prog
in fgrep
; do
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5095 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5096 # Check for GNU ac_path_FGREP and select it if it is found.
5097 # Check for GNU $ac_path_FGREP
5098 case `"$ac_path_FGREP" --version 2>&1` in
5100 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5103 $as_echo_n 0123456789 >"conftest.in"
5106 cat "conftest.in" "conftest.in" >"conftest.tmp"
5107 mv "conftest.tmp" "conftest.in"
5108 cp "conftest.in" "conftest.nl"
5109 $as_echo 'FGREP' >> "conftest.nl"
5110 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5111 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5112 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5113 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5114 # Best one so far, save it but keep looking for a better one
5115 ac_cv_path_FGREP
="$ac_path_FGREP"
5116 ac_path_FGREP_max
=$ac_count
5118 # 10*(2^10) chars as input seems more than enough
5119 test $ac_count -gt 10 && break
5121 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5124 $ac_path_FGREP_found && break 3
5129 if test -z "$ac_cv_path_FGREP"; then
5130 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5133 ac_cv_path_FGREP
=$FGREP
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5139 $as_echo "$ac_cv_path_FGREP" >&6; }
5140 FGREP
="$ac_cv_path_FGREP"
5143 test -z "$GREP" && GREP
=grep
5163 # Check whether --with-gnu-ld was given.
5164 if test "${with_gnu_ld+set}" = set; then :
5165 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5171 if test "$GCC" = yes; then
5172 # Check if gcc -print-prog-name=ld gives a path.
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5174 $as_echo_n "checking for ld used by $CC... " >&6; }
5177 # gcc leaves a trailing carriage return which upsets mingw
5178 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5180 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5183 # Accept absolute paths.
5185 re_direlt
='/[^/][^/]*/\.\./'
5186 # Canonicalize the pathname of ld
5187 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5188 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5189 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5191 test -z "$LD" && LD
="$ac_prog"
5194 # If it fails, then pretend we aren't using GCC.
5198 # If it is relative, then search for the first ld in PATH.
5202 elif test "$with_gnu_ld" = yes; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5204 $as_echo_n "checking for GNU ld... " >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5207 $as_echo_n "checking for non-GNU ld... " >&6; }
5209 if test "${lt_cv_path_LD+set}" = set; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -z "$LD"; then
5213 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5214 for ac_dir
in $PATH; do
5216 test -z "$ac_dir" && ac_dir
=.
5217 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5218 lt_cv_path_LD
="$ac_dir/$ac_prog"
5219 # Check to see if the program is GNU ld. I'd rather use --version,
5220 # but apparently some variants of GNU ld only accept -v.
5221 # Break only if it was the GNU/non-GNU ld that we prefer.
5222 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5223 *GNU
* |
*'with BFD'*)
5224 test "$with_gnu_ld" != no
&& break
5227 test "$with_gnu_ld" != yes && break
5234 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5239 if test -n "$LD"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5241 $as_echo "$LD" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5246 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5249 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5250 $as_echo_n "(cached) " >&6
5252 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5253 case `$LD -v 2>&1 </dev/null` in
5254 *GNU
* |
*'with BFD'*)
5255 lt_cv_prog_gnu_ld
=yes
5258 lt_cv_prog_gnu_ld
=no
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5263 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5264 with_gnu_ld
=$lt_cv_prog_gnu_ld
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5275 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5276 if test "${lt_cv_path_NM+set}" = set; then :
5277 $as_echo_n "(cached) " >&6
5279 if test -n "$NM"; then
5280 # Let the user override the test.
5283 lt_nm_to_check
="${ac_tool_prefix}nm"
5284 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5285 lt_nm_to_check
="$lt_nm_to_check nm"
5287 for lt_tmp_nm
in $lt_nm_to_check; do
5288 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5289 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5291 test -z "$ac_dir" && ac_dir
=.
5292 tmp_nm
="$ac_dir/$lt_tmp_nm"
5293 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5294 # Check to see if the nm accepts a BSD-compat flag.
5295 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5296 # nm: unknown option "B" ignored
5297 # Tru64's nm complains that /dev/null is an invalid object file
5298 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5299 */dev
/null
* |
*'Invalid file or object type'*)
5300 lt_cv_path_NM
="$tmp_nm -B"
5304 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5306 lt_cv_path_NM
="$tmp_nm -p"
5310 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5311 continue # so that we can try to find one that supports BSD flags
5320 : ${lt_cv_path_NM=no}
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5324 $as_echo "$lt_cv_path_NM" >&6; }
5325 if test "$lt_cv_path_NM" != "no"; then
5328 # Didn't find any BSD compatible name lister, look for dumpbin.
5329 if test -n "$DUMPBIN"; then :
5330 # Let the user override the test.
5332 if test -n "$ac_tool_prefix"; then
5333 for ac_prog
in dumpbin
"link -dump"
5335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5336 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$DUMPBIN"; then
5343 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 DUMPBIN
=$ac_cv_prog_DUMPBIN
5363 if test -n "$DUMPBIN"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5365 $as_echo "$DUMPBIN" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 test -n "$DUMPBIN" && break
5375 if test -z "$DUMPBIN"; then
5376 ac_ct_DUMPBIN
=$DUMPBIN
5377 for ac_prog
in dumpbin
"link -dump"
5379 # Extract the first word of "$ac_prog", so it can be a program name with args.
5380 set dummy
$ac_prog; ac_word
=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5384 $as_echo_n "(cached) " >&6
5386 if test -n "$ac_ct_DUMPBIN"; then
5387 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir
=.
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5407 if test -n "$ac_ct_DUMPBIN"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5409 $as_echo "$ac_ct_DUMPBIN" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5416 test -n "$ac_ct_DUMPBIN" && break
5419 if test "x$ac_ct_DUMPBIN" = x
; then
5422 case $cross_compiling:$ac_tool_warned in
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5426 ac_tool_warned
=yes ;;
5428 DUMPBIN
=$ac_ct_DUMPBIN
5432 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5434 DUMPBIN
="$DUMPBIN -symbols"
5442 if test "$DUMPBIN" != ":"; then
5446 test -z "$NM" && NM
=nm
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5454 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5455 if test "${lt_cv_nm_interface+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5458 lt_cv_nm_interface
="BSD nm"
5459 echo "int some_variable = 0;" > conftest.
$ac_ext
5460 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5461 (eval "$ac_compile" 2>conftest.err
)
5462 cat conftest.err
>&5
5463 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5464 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5465 cat conftest.err
>&5
5466 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5467 cat conftest.out
>&5
5468 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5469 lt_cv_nm_interface
="MS dumpbin"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5474 $as_echo "$lt_cv_nm_interface" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5477 $as_echo_n "checking whether ln -s works... " >&6; }
5479 if test "$LN_S" = "ln -s"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5481 $as_echo "yes" >&6; }
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5484 $as_echo "no, using $LN_S" >&6; }
5487 # find the maximum length of command line arguments
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5489 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5490 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5491 $as_echo_n "(cached) " >&6
5498 # On DJGPP, this test can blow up pretty badly due to problems in libc
5499 # (any single argument exceeding 2000 bytes causes a buffer overrun
5500 # during glob expansion). Even if it were fixed, the result of this
5501 # check would be larger than it should be.
5502 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5506 # Under GNU Hurd, this test is not required because there is
5507 # no limit to the length of command line arguments.
5508 # Libtool will interpret -1 as no limit whatsoever
5509 lt_cv_sys_max_cmd_len
=-1;
5512 cygwin
* | mingw
* | cegcc
*)
5513 # On Win9x/ME, this test blows up -- it succeeds, but takes
5514 # about 5 minutes as the teststring grows exponentially.
5515 # Worse, since 9x/ME are not pre-emptively multitasking,
5516 # you end up with a "frozen" computer, even though with patience
5517 # the test eventually succeeds (with a max line length of 256k).
5518 # Instead, let's just punt: use the minimum linelength reported by
5519 # all of the supported platforms: 8192 (on NT/2K/XP).
5520 lt_cv_sys_max_cmd_len
=8192;
5524 # On MiNT this can take a long time and run out of memory.
5525 lt_cv_sys_max_cmd_len
=8192;
5529 # On AmigaOS with pdksh, this test takes hours, literally.
5530 # So we just punt and use a minimum line length of 8192.
5531 lt_cv_sys_max_cmd_len
=8192;
5534 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5535 # This has been around since 386BSD, at least. Likely further.
5536 if test -x /sbin
/sysctl
; then
5537 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5538 elif test -x /usr
/sbin
/sysctl
; then
5539 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5541 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5543 # And add a safety zone
5544 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5545 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5549 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5550 lt_cv_sys_max_cmd_len
=196608
5554 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5555 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5556 # nice to cause kernel panics so lets avoid the loop below.
5557 # First set a reasonable default.
5558 lt_cv_sys_max_cmd_len
=16384
5560 if test -x /sbin
/sysconfig
; then
5561 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5562 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5567 lt_cv_sys_max_cmd_len
=102400
5569 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5570 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5571 if test -n "$kargmax"; then
5572 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5574 lt_cv_sys_max_cmd_len
=32768
5578 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5579 if test -n "$lt_cv_sys_max_cmd_len"; then
5580 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5581 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5583 # Make teststring a little bigger before we do anything with it.
5584 # a 1K string should be a reasonable start.
5585 for i
in 1 2 3 4 5 6 7 8 ; do
5586 teststring
=$teststring$teststring
5588 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5589 # If test is not a shell built-in, we'll probably end up computing a
5590 # maximum length that is only half of the actual maximum length, but
5592 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5593 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5594 test $i != 17 # 1/2 MB should be enough
5597 teststring
=$teststring$teststring
5599 # Only check the string length outside the loop.
5600 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5602 # Add a significant safety factor because C++ compilers can tack on
5603 # massive amounts of additional arguments before passing them to the
5604 # linker. It appears as though 1/2 is a usable value.
5605 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5612 if test -n $lt_cv_sys_max_cmd_len ; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5614 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5617 $as_echo "none" >&6; }
5619 max_cmd_len
=$lt_cv_sys_max_cmd_len
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5631 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5632 # Try some XSI features
5635 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5637 && eval 'test $(( 1 + 1 )) -eq 2 \
5638 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5641 $as_echo "$xsi_shell" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5645 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5647 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5649 && lt_shell_append=yes
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5651 $as_echo "$lt_shell_append" >&6; }
5654 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5664 # test EBCDIC or ASCII
5665 case `echo X|tr X '\101'` in
5666 A) # ASCII based system
5667 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5668 lt_SP2NL='tr \040 \012'
5669 lt_NL2SP='tr \015\012 \040\040'
5671 *) # EBCDIC based system
5672 lt_SP2NL='tr \100 \n'
5673 lt_NL2SP='tr \r\n \100\100'
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5686 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5687 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5688 $as_echo_n "(cached
) " >&6
5690 lt_cv_ld_reload_flag='-r'
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5693 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5694 reload_flag=$lt_cv_ld_reload_flag
5695 case $reload_flag in
5697 *) reload_flag=" $reload_flag" ;;
5699 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5702 if test "$GCC" = yes; then
5703 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5705 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5718 if test -n "$ac_tool_prefix"; then
5719 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5720 set dummy ${ac_tool_prefix}objdump; 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 test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5724 $as_echo_n "(cached
) " >&6
5726 if test -n "$OBJDUMP"; then
5727 ac_cv_prog_OBJDUMP="$OBJDUMP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5746 OBJDUMP=$ac_cv_prog_OBJDUMP
5747 if test -n "$OBJDUMP"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5749 $as_echo "$OBJDUMP" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5752 $as_echo "no
" >&6; }
5757 if test -z "$ac_cv_prog_OBJDUMP"; then
5758 ac_ct_OBJDUMP=$OBJDUMP
5759 # Extract the first word of "objdump
", so it can be a program name with args.
5760 set dummy objdump; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5762 $as_echo_n "checking
for $ac_word...
" >&6; }
5763 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5764 $as_echo_n "(cached
) " >&6
5766 if test -n "$ac_ct_OBJDUMP"; then
5767 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5786 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5787 if test -n "$ac_ct_OBJDUMP"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5789 $as_echo "$ac_ct_OBJDUMP" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5792 $as_echo "no
" >&6; }
5795 if test "x
$ac_ct_OBJDUMP" = x; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5801 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5802 ac_tool_warned=yes ;;
5804 OBJDUMP=$ac_ct_OBJDUMP
5807 OBJDUMP="$ac_cv_prog_OBJDUMP"
5810 test -z "$OBJDUMP" && OBJDUMP=objdump
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5821 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5822 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5823 $as_echo_n "(cached
) " >&6
5825 lt_cv_file_magic_cmd='$MAGIC_CMD'
5826 lt_cv_file_magic_test_file=
5827 lt_cv_deplibs_check_method='unknown'
5828 # Need to set the preceding variable on all platforms that support
5829 # interlibrary dependencies.
5830 # 'none' -- dependencies not supported.
5831 # `unknown' -- same as none, but documents that we really don't know.
5832 # 'pass_all' -- all dependencies passed with no checks.
5833 # 'test_compile' -- check by making test program.
5834 # 'file_magic [[regex]]' -- check by looking for files in library path
5835 # which responds to the $file_magic_cmd with a given extended regex.
5836 # If you have `file' or equivalent on your system and you're not sure
5837 # whether `pass_all' will *always* work, you probably want this one.
5841 lt_cv_deplibs_check_method=pass_all
5845 lt_cv_deplibs_check_method=pass_all
5849 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5850 lt_cv_file_magic_cmd='/usr/bin/file -L'
5851 lt_cv_file_magic_test_file=/shlib/libc.so
5855 # func_win32_libid is a shell function defined in ltmain.sh
5856 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5857 lt_cv_file_magic_cmd='func_win32_libid'
5861 # Base MSYS/MinGW do not provide the 'file' command needed by
5862 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5863 # unless we find 'file', for example because we are cross-compiling.
5864 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5865 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5866 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5867 lt_cv_file_magic_cmd='func_win32_libid'
5869 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5870 lt_cv_file_magic_cmd='$OBJDUMP -f'
5875 # use the weaker test based on 'objdump'. See mingw*.
5876 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5877 lt_cv_file_magic_cmd='$OBJDUMP -f'
5880 darwin* | rhapsody*)
5881 lt_cv_deplibs_check_method=pass_all
5884 freebsd* | dragonfly*)
5885 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5888 # Not sure whether the presence of OpenBSD here was a mistake.
5889 # Let's accept both of them until this is cleared up.
5890 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5891 lt_cv_file_magic_cmd=/usr/bin/file
5892 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5896 lt_cv_deplibs_check_method=pass_all
5901 lt_cv_deplibs_check_method=pass_all
5905 lt_cv_deplibs_check_method=pass_all
5908 hpux10.20* | hpux11*)
5909 lt_cv_file_magic_cmd=/usr/bin/file
5912 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5913 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5916 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]'
5917 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5920 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5921 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5927 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5928 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5931 irix5* | irix6* | nonstopux*)
5933 *-32|*"-32 ") libmagic=32-bit;;
5934 *-n32|*"-n32 ") libmagic=N32;;
5935 *-64|*"-64 ") libmagic=64-bit;;
5936 *) libmagic=never-match;;
5938 lt_cv_deplibs_check_method=pass_all
5941 # This must be Linux ELF.
5942 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5943 lt_cv_deplibs_check_method=pass_all
5947 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5948 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5950 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5955 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5956 lt_cv_file_magic_cmd=/usr/bin/file
5957 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5961 lt_cv_deplibs_check_method=pass_all
5965 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5966 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5968 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5972 osf3* | osf4* | osf5*)
5973 lt_cv_deplibs_check_method=pass_all
5977 lt_cv_deplibs_check_method=pass_all
5981 lt_cv_deplibs_check_method=pass_all
5984 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5985 lt_cv_deplibs_check_method=pass_all
5989 case $host_vendor in
5991 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]'
5992 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5995 lt_cv_deplibs_check_method=pass_all
5998 lt_cv_file_magic_cmd='/bin/file'
5999 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6002 lt_cv_file_magic_cmd='/bin/file'
6003 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6004 lt_cv_file_magic_test_file=/lib/libc.so
6007 lt_cv_deplibs_check_method=pass_all
6010 lt_cv_deplibs_check_method=pass_all
6016 lt_cv_deplibs_check_method=pass_all
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6022 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6023 file_magic_cmd=$lt_cv_file_magic_cmd
6024 deplibs_check_method=$lt_cv_deplibs_check_method
6025 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6038 if test -n "$ac_tool_prefix"; then
6039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6040 set dummy ${ac_tool_prefix}ar; ac_word=$2
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6042 $as_echo_n "checking
for $ac_word...
" >&6; }
6043 if test "${ac_cv_prog_AR+set}" = set; then :
6044 $as_echo_n "(cached
) " >&6
6046 if test -n "$AR"; then
6047 ac_cv_prog_AR="$AR" # Let the user override the test.
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6056 ac_cv_prog_AR="${ac_tool_prefix}ar"
6057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6067 if test -n "$AR"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6069 $as_echo "$AR" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6072 $as_echo "no
" >&6; }
6077 if test -z "$ac_cv_prog_AR"; then
6079 # Extract the first word of "ar", so it can be a program name with args.
6080 set dummy ar; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6082 $as_echo_n "checking
for $ac_word...
" >&6; }
6083 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6084 $as_echo_n "(cached
) " >&6
6086 if test -n "$ac_ct_AR"; then
6087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_prog_ac_ct_AR="ar"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6106 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6107 if test -n "$ac_ct_AR"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6109 $as_echo "$ac_ct_AR" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6112 $as_echo "no
" >&6; }
6115 if test "x
$ac_ct_AR" = x; then
6118 case $cross_compiling:$ac_tool_warned in
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6121 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6122 ac_tool_warned=yes ;;
6130 test -z "$AR" && AR=ar
6131 test -z "$AR_FLAGS" && AR_FLAGS=cru
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}strip; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6147 $as_echo_n "checking
for $ac_word...
" >&6; }
6148 if test "${ac_cv_prog_STRIP+set}" = set; then :
6149 $as_echo_n "(cached
) " >&6
6151 if test -n "$STRIP"; then
6152 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6161 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6171 STRIP=$ac_cv_prog_STRIP
6172 if test -n "$STRIP"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6174 $as_echo "$STRIP" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6177 $as_echo "no
" >&6; }
6182 if test -z "$ac_cv_prog_STRIP"; then
6184 # Extract the first word of "strip
", so it can be a program name with args.
6185 set dummy strip; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6187 $as_echo_n "checking
for $ac_word...
" >&6; }
6188 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6189 $as_echo_n "(cached
) " >&6
6191 if test -n "$ac_ct_STRIP"; then
6192 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 ac_cv_prog_ac_ct_STRIP="strip
"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6211 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6212 if test -n "$ac_ct_STRIP"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6214 $as_echo "$ac_ct_STRIP" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6217 $as_echo "no
" >&6; }
6220 if test "x
$ac_ct_STRIP" = x; then
6223 case $cross_compiling:$ac_tool_warned in
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6226 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6227 ac_tool_warned=yes ;;
6232 STRIP="$ac_cv_prog_STRIP"
6235 test -z "$STRIP" && STRIP=:
6242 if test -n "$ac_tool_prefix"; then
6243 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6244 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6246 $as_echo_n "checking
for $ac_word...
" >&6; }
6247 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6248 $as_echo_n "(cached
) " >&6
6250 if test -n "$RANLIB"; then
6251 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6270 RANLIB=$ac_cv_prog_RANLIB
6271 if test -n "$RANLIB"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6273 $as_echo "$RANLIB" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6276 $as_echo "no
" >&6; }
6281 if test -z "$ac_cv_prog_RANLIB"; then
6282 ac_ct_RANLIB=$RANLIB
6283 # Extract the first word of "ranlib
", so it can be a program name with args.
6284 set dummy ranlib; ac_word=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6286 $as_echo_n "checking
for $ac_word...
" >&6; }
6287 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6288 $as_echo_n "(cached
) " >&6
6290 if test -n "$ac_ct_RANLIB"; then
6291 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6310 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6311 if test -n "$ac_ct_RANLIB"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6313 $as_echo "$ac_ct_RANLIB" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6316 $as_echo "no
" >&6; }
6319 if test "x
$ac_ct_RANLIB" = x; then
6322 case $cross_compiling:$ac_tool_warned in
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6325 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6326 ac_tool_warned=yes ;;
6328 RANLIB=$ac_ct_RANLIB
6331 RANLIB="$ac_cv_prog_RANLIB"
6334 test -z "$RANLIB" && RANLIB=:
6341 # Determine commands to create old-style static archives.
6342 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6343 old_postinstall_cmds='chmod 644 $oldlib'
6344 old_postuninstall_cmds=
6346 if test -n "$RANLIB"; then
6349 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6352 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6355 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6360 lock_old_archive_extraction=yes ;;
6362 lock_old_archive_extraction=no ;;
6403 # If no C compiler was specified, use CC.
6406 # If no C compiler flags were specified, use CFLAGS.
6407 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6409 # Allow CC to be a program name with arguments.
6413 # Check for command to grab the raw symbol name followed by C symbol from nm.
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6415 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6416 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6417 $as_echo_n "(cached
) " >&6
6420 # These are sane defaults that work on at least a few old systems.
6421 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6423 # Character class describing NM global symbol codes.
6424 symcode='[BCDEGRST]'
6426 # Regexp to match symbols that can be accessed directly from C.
6427 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6429 # Define system-specific variables.
6434 cygwin* | mingw* | pw32* | cegcc*)
6435 symcode='[ABCDGISTW]'
6438 if test "$host_cpu" = ia64; then
6439 symcode='[ABCDEGRST]'
6443 symcode='[BCDEGRST]'
6446 symcode='[BCDEGQRST]'
6457 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6465 # If we're using GNU nm, then use its standard symbol codes.
6466 case `$NM -V 2>&1` in
6467 *GNU* | *'with BFD'*)
6468 symcode='[ABCDGIRSTW]' ;;
6471 # Transform an extracted symbol line into a proper C declaration.
6472 # Some systems (esp. on ia64) link data and code symbols differently,
6473 # so use this general approach.
6474 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6476 # Transform an extracted symbol line into symbol name and symbol address
6477 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6478 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'"
6480 # Handle CRLF in mingw tool chain
6484 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6488 # Try without a prefix underscore, then with it.
6489 for ac_symprfx in "" "_
"; do
6491 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6492 symxfrm="\\1 $ac_symprfx\\2 \\2"
6494 # Write the raw and C identifiers.
6495 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6496 # Fake it for dumpbin and say T for any non-static function
6497 # and D for any global variable.
6498 # Also find C++ and __fastcall symbols from MSVC++,
6499 # which start with @ or ?.
6500 lt_cv_sys_global_symbol_pipe="$AWK '"\
6501 " {last_section=section; section=\$ 3};"\
6502 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6503 " \$ 0!~/External *\|/{next};"\
6504 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6505 " {if(hide[section]) next};"\
6506 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6507 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6508 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6509 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6510 " ' prfx
=^
$ac_symprfx"
6512 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6515 # Check to see that the pipe works correctly.
6519 cat > conftest.$ac_ext <<_LT_EOF
6524 void nm_test_func(void);
6525 void nm_test_func(void){}
6529 int main(){nm_test_var='a';nm_test_func();return(0);}
6532 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6533 (eval $ac_compile) 2>&5
6535 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6536 test $ac_status = 0; }; then
6537 # Now try to grab the symbols.
6539 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6540 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6542 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6543 test $ac_status = 0; } && test -s "$nlist"; then
6544 # Try sorting and uniquifying the output.
6545 if sort "$nlist" | uniq > "$nlist"T; then
6546 mv -f "$nlist"T "$nlist"
6551 # Make sure that we snagged all the symbols we need.
6552 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6553 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6554 cat <<_LT_EOF > conftest.$ac_ext
6560 # Now generate the symbol file.
6561 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6563 cat <<_LT_EOF >> conftest.$ac_ext
6565 /* The mapping between symbol names and symbols. */
6570 lt__PROGRAM__LTX_preloaded_symbols[] =
6572 { "@PROGRAM@
", (void *) 0 },
6574 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6575 cat <<\_LT_EOF >> conftest.$ac_ext
6579 /* This works around a problem in FreeBSD linker */
6580 #ifdef FREEBSD_WORKAROUND
6581 static const void *lt_preloaded_setup() {
6582 return lt__PROGRAM__LTX_preloaded_symbols;
6590 # Now try linking the two files.
6591 mv conftest.$ac_objext conftstm.$ac_objext
6592 lt_save_LIBS="$LIBS"
6593 lt_save_CFLAGS="$CFLAGS"
6594 LIBS="conftstm.
$ac_objext"
6595 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6596 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6597 (eval $ac_link) 2>&5
6599 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6600 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6603 LIBS="$lt_save_LIBS"
6604 CFLAGS="$lt_save_CFLAGS"
6606 echo "cannot
find nm_test_func
in $nlist" >&5
6609 echo "cannot
find nm_test_var
in $nlist" >&5
6612 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6615 echo "$progname: failed program was
:" >&5
6616 cat conftest.$ac_ext >&5
6618 rm -rf conftest* conftst*
6620 # Do not use the global_symbol_pipe unless it works.
6621 if test "$pipe_works" = yes; then
6624 lt_cv_sys_global_symbol_pipe=
6630 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6631 lt_cv_sys_global_symbol_to_cdecl=
6633 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6635 $as_echo "failed
" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6638 $as_echo "ok
" >&6; }
6662 # Check whether --enable-libtool-lock was given.
6663 if test "${enable_libtool_lock+set}" = set; then :
6664 enableval=$enable_libtool_lock;
6667 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6669 # Some flags need to be propagated to the compiler or linker for good
6673 # Find out which ABI we are using.
6674 echo 'int i;' > conftest.$ac_ext
6675 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6676 (eval $ac_compile) 2>&5
6678 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6679 test $ac_status = 0; }; then
6680 case `/usr/bin/file conftest.$ac_objext` in
6692 # Find out which ABI we are using.
6693 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6694 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6695 (eval $ac_compile) 2>&5
6697 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6698 test $ac_status = 0; }; then
6699 if test "$lt_cv_prog_gnu_ld" = yes; then
6700 case `/usr/bin/file conftest.$ac_objext` in
6702 LD="${LD-ld} -melf32bsmip"
6705 LD="${LD-ld} -melf32bmipn32"
6708 LD="${LD-ld} -melf64bmip"
6712 case `/usr/bin/file conftest.$ac_objext` in
6728 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6729 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6730 # Find out which ABI we are using.
6731 echo 'int i;' > conftest.$ac_ext
6732 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6733 (eval $ac_compile) 2>&5
6735 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6736 test $ac_status = 0; }; then
6737 case `/usr/bin/file conftest.o` in
6740 x86_64-*kfreebsd*-gnu)
6741 LD="${LD-ld} -m elf_i386_fbsd
"
6744 case `/usr/bin/file conftest.o` in
6746 LD="${LD-ld} -m elf32_x86_64
"
6749 LD="${LD-ld} -m elf_i386
"
6753 powerpc64le-*linux*)
6754 LD="${LD-ld} -m elf32lppclinux
"
6757 LD="${LD-ld} -m elf32ppclinux
"
6760 LD="${LD-ld} -m elf_s390
"
6763 LD="${LD-ld} -m elf32_sparc
"
6769 x86_64-*kfreebsd*-gnu)
6770 LD="${LD-ld} -m elf_x86_64_fbsd
"
6773 LD="${LD-ld} -m elf_x86_64
"
6776 LD="${LD-ld} -m elf64lppc
"
6779 LD="${LD-ld} -m elf64ppc
"
6781 s390*-*linux*|s390*-*tpf*)
6782 LD="${LD-ld} -m elf64_s390
"
6785 LD="${LD-ld} -m elf64_sparc
"
6795 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6796 SAVE_CFLAGS="$CFLAGS"
6797 CFLAGS="$CFLAGS -belf"
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6799 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6800 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6801 $as_echo_n "(cached
) " >&6
6804 ac_cpp='$CPP $CPPFLAGS'
6805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6820 if ac_fn_c_try_link "$LINENO"; then :
6821 lt_cv_cc_needs_belf=yes
6823 lt_cv_cc_needs_belf=no
6825 rm -f core conftest.err conftest.$ac_objext \
6826 conftest$ac_exeext conftest.$ac_ext
6828 ac_cpp='$CPP $CPPFLAGS'
6829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6835 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6836 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6837 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6838 CFLAGS="$SAVE_CFLAGS"
6842 # Find out which ABI we are using.
6843 echo 'int i;' > conftest.$ac_ext
6844 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6845 (eval $ac_compile) 2>&5
6847 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6848 test $ac_status = 0; }; then
6849 case `/usr/bin/file conftest.o` in
6851 case $lt_cv_prog_gnu_ld in
6852 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6854 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6866 need_locks="$enable_libtool_lock"
6870 rhapsody* | darwin*)
6871 if test -n "$ac_tool_prefix"; then
6872 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6873 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6875 $as_echo_n "checking
for $ac_word...
" >&6; }
6876 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6877 $as_echo_n "(cached
) " >&6
6879 if test -n "$DSYMUTIL"; then
6880 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir=.
6887 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6899 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6900 if test -n "$DSYMUTIL"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6902 $as_echo "$DSYMUTIL" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6905 $as_echo "no
" >&6; }
6910 if test -z "$ac_cv_prog_DSYMUTIL"; then
6911 ac_ct_DSYMUTIL=$DSYMUTIL
6912 # Extract the first word of "dsymutil
", so it can be a program name with args.
6913 set dummy dsymutil; ac_word=$2
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6915 $as_echo_n "checking
for $ac_word...
" >&6; }
6916 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6917 $as_echo_n "(cached
) " >&6
6919 if test -n "$ac_ct_DSYMUTIL"; then
6920 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6939 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6940 if test -n "$ac_ct_DSYMUTIL"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6942 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6945 $as_echo "no
" >&6; }
6948 if test "x
$ac_ct_DSYMUTIL" = x; then
6951 case $cross_compiling:$ac_tool_warned in
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6954 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6955 ac_tool_warned=yes ;;
6957 DSYMUTIL=$ac_ct_DSYMUTIL
6960 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6963 if test -n "$ac_tool_prefix"; then
6964 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6965 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6967 $as_echo_n "checking
for $ac_word...
" >&6; }
6968 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6969 $as_echo_n "(cached
) " >&6
6971 if test -n "$NMEDIT"; then
6972 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 test -z "$as_dir" && as_dir=.
6979 for ac_exec_ext in '' $ac_executable_extensions; do
6980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6981 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6991 NMEDIT=$ac_cv_prog_NMEDIT
6992 if test -n "$NMEDIT"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6994 $as_echo "$NMEDIT" >&6; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6997 $as_echo "no
" >&6; }
7002 if test -z "$ac_cv_prog_NMEDIT"; then
7003 ac_ct_NMEDIT=$NMEDIT
7004 # Extract the first word of "nmedit
", so it can be a program name with args.
7005 set dummy nmedit; ac_word=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7007 $as_echo_n "checking
for $ac_word...
" >&6; }
7008 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7009 $as_echo_n "(cached
) " >&6
7011 if test -n "$ac_ct_NMEDIT"; then
7012 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7031 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7032 if test -n "$ac_ct_NMEDIT"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7034 $as_echo "$ac_ct_NMEDIT" >&6; }
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7037 $as_echo "no
" >&6; }
7040 if test "x
$ac_ct_NMEDIT" = x; then
7043 case $cross_compiling:$ac_tool_warned in
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7046 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7047 ac_tool_warned=yes ;;
7049 NMEDIT=$ac_ct_NMEDIT
7052 NMEDIT="$ac_cv_prog_NMEDIT"
7055 if test -n "$ac_tool_prefix"; then
7056 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7057 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7059 $as_echo_n "checking
for $ac_word...
" >&6; }
7060 if test "${ac_cv_prog_LIPO+set}" = set; then :
7061 $as_echo_n "(cached
) " >&6
7063 if test -n "$LIPO"; then
7064 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir=.
7071 for ac_exec_ext in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7083 LIPO=$ac_cv_prog_LIPO
7084 if test -n "$LIPO"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7086 $as_echo "$LIPO" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7089 $as_echo "no
" >&6; }
7094 if test -z "$ac_cv_prog_LIPO"; then
7096 # Extract the first word of "lipo
", so it can be a program name with args.
7097 set dummy lipo; ac_word=$2
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7099 $as_echo_n "checking
for $ac_word...
" >&6; }
7100 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7101 $as_echo_n "(cached
) " >&6
7103 if test -n "$ac_ct_LIPO"; then
7104 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_ac_ct_LIPO="lipo
"
7114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7123 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7124 if test -n "$ac_ct_LIPO"; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7126 $as_echo "$ac_ct_LIPO" >&6; }
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7129 $as_echo "no
" >&6; }
7132 if test "x
$ac_ct_LIPO" = x; then
7135 case $cross_compiling:$ac_tool_warned in
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7138 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7139 ac_tool_warned=yes ;;
7144 LIPO="$ac_cv_prog_LIPO"
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}otool; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7151 $as_echo_n "checking
for $ac_word...
" >&6; }
7152 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7153 $as_echo_n "(cached
) " >&6
7155 if test -n "$OTOOL"; then
7156 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7175 OTOOL=$ac_cv_prog_OTOOL
7176 if test -n "$OTOOL"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7178 $as_echo "$OTOOL" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7181 $as_echo "no
" >&6; }
7186 if test -z "$ac_cv_prog_OTOOL"; then
7188 # Extract the first word of "otool
", so it can be a program name with args.
7189 set dummy otool; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7191 $as_echo_n "checking
for $ac_word...
" >&6; }
7192 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7193 $as_echo_n "(cached
) " >&6
7195 if test -n "$ac_ct_OTOOL"; then
7196 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_OTOOL="otool
"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7216 if test -n "$ac_ct_OTOOL"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7218 $as_echo "$ac_ct_OTOOL" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7221 $as_echo "no
" >&6; }
7224 if test "x
$ac_ct_OTOOL" = x; then
7227 case $cross_compiling:$ac_tool_warned in
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7230 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7231 ac_tool_warned=yes ;;
7236 OTOOL="$ac_cv_prog_OTOOL"
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7243 $as_echo_n "checking
for $ac_word...
" >&6; }
7244 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7245 $as_echo_n "(cached
) " >&6
7247 if test -n "$OTOOL64"; then
7248 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7267 OTOOL64=$ac_cv_prog_OTOOL64
7268 if test -n "$OTOOL64"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7270 $as_echo "$OTOOL64" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7273 $as_echo "no
" >&6; }
7278 if test -z "$ac_cv_prog_OTOOL64"; then
7279 ac_ct_OTOOL64=$OTOOL64
7280 # Extract the first word of "otool64
", so it can be a program name with args.
7281 set dummy otool64; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7283 $as_echo_n "checking
for $ac_word...
" >&6; }
7284 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7285 $as_echo_n "(cached
) " >&6
7287 if test -n "$ac_ct_OTOOL64"; then
7288 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7307 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7308 if test -n "$ac_ct_OTOOL64"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7310 $as_echo "$ac_ct_OTOOL64" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7313 $as_echo "no
" >&6; }
7316 if test "x
$ac_ct_OTOOL64" = x; then
7319 case $cross_compiling:$ac_tool_warned in
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7322 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7323 ac_tool_warned=yes ;;
7325 OTOOL64=$ac_ct_OTOOL64
7328 OTOOL64="$ac_cv_prog_OTOOL64"
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7358 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7359 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7360 $as_echo_n "(cached
) " >&6
7362 lt_cv_apple_cc_single_mod=no
7363 if test -z "${LT_MULTI_MODULE}"; then
7364 # By default we will add the -single_module flag. You can override
7365 # by either setting the environment variable LT_MULTI_MODULE
7366 # non-empty at configure time, or by adding -multi_module to the
7368 rm -rf libconftest.dylib*
7369 echo "int foo
(void
){return 1;}" > conftest.c
7370 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7371 -dynamiclib -Wl,-single_module conftest.c
" >&5
7372 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7373 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7375 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7376 lt_cv_apple_cc_single_mod=yes
7378 cat conftest.err >&5
7380 rm -rf libconftest.dylib*
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7385 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7387 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7388 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7389 $as_echo_n "(cached
) " >&6
7391 lt_cv_ld_exported_symbols_list=no
7392 save_LDFLAGS=$LDFLAGS
7393 echo "_main
" > conftest.sym
7394 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7396 /* end confdefs.h. */
7406 if ac_fn_c_try_link "$LINENO"; then :
7407 lt_cv_ld_exported_symbols_list=yes
7409 lt_cv_ld_exported_symbols_list=no
7411 rm -f core conftest.err conftest.$ac_objext \
7412 conftest$ac_exeext conftest.$ac_ext
7413 LDFLAGS="$save_LDFLAGS"
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7417 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7419 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7420 if test "${lt_cv_ld_force_load+set}" = set; then :
7421 $as_echo_n "(cached
) " >&6
7423 lt_cv_ld_force_load=no
7424 cat > conftest.c << _LT_EOF
7425 int forced_loaded() { return 2;}
7427 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7428 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7429 echo "$AR cru libconftest.a conftest.o
" >&5
7430 $AR cru libconftest.a conftest.o 2>&5
7431 cat > conftest.c << _LT_EOF
7432 int main() { return 0;}
7434 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7435 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7437 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7438 lt_cv_ld_force_load=yes
7440 cat conftest.err >&5
7442 rm -f conftest.err libconftest.a conftest conftest.c
7443 rm -rf conftest.dSYM
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7447 $as_echo "$lt_cv_ld_force_load" >&6; }
7449 rhapsody* | darwin1.[012])
7450 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7452 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7453 darwin*) # darwin 5.x on
7454 # if running on 10.5 or later, the deployment target defaults
7455 # to the OS version, if on x86, and 10.4, the deployment
7456 # target defaults to 10.4. Don't you love it?
7457 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7458 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7459 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7461 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7463 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7467 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7468 _lt_dar_single_mod='$single_module'
7470 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7471 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7473 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7475 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7476 _lt_dsymutil='~$DSYMUTIL $lib || :'
7483 for ac_header in dlfcn.h
7485 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7487 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7488 cat >>confdefs.h <<_ACEOF
7489 #define HAVE_DLFCN_H 1
7510 # Check whether --enable-shared was given.
7511 if test "${enable_shared+set}" = set; then :
7512 enableval=$enable_shared; p=${PACKAGE-default}
7514 yes) enable_shared=yes ;;
7515 no) enable_shared=no ;;
7518 # Look at the argument we got. We use all the common list separators.
7519 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7520 for pkg in $enableval; do
7522 if test "X
$pkg" = "X
$p"; then
7541 # Check whether --enable-static was given.
7542 if test "${enable_static+set}" = set; then :
7543 enableval=$enable_static; p=${PACKAGE-default}
7545 yes) enable_static=yes ;;
7546 no) enable_static=no ;;
7549 # Look at the argument we got. We use all the common list separators.
7550 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7551 for pkg in $enableval; do
7553 if test "X
$pkg" = "X
$p"; then
7573 # Check whether --with-pic was given.
7574 if test "${with_pic+set}" = set; then :
7575 withval=$with_pic; pic_mode="$withval"
7581 test -z "$pic_mode" && pic_mode=default
7589 # Check whether --enable-fast-install was given.
7590 if test "${enable_fast_install+set}" = set; then :
7591 enableval=$enable_fast_install; p=${PACKAGE-default}
7593 yes) enable_fast_install=yes ;;
7594 no) enable_fast_install=no ;;
7596 enable_fast_install=no
7597 # Look at the argument we got. We use all the common list separators.
7598 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7599 for pkg in $enableval; do
7601 if test "X
$pkg" = "X
$p"; then
7602 enable_fast_install=yes
7609 enable_fast_install=yes
7622 # This can be used to rebuild libtool when needed
7623 LIBTOOL_DEPS="$ltmain"
7625 # Always use our own libtool.
7626 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7653 test -z "$LN_S" && LN_S="ln -s"
7668 if test -n "${ZSH_VERSION+set}" ; then
7669 setopt NO_GLOB_SUBST
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7673 $as_echo_n "checking
for objdir...
" >&6; }
7674 if test "${lt_cv_objdir+set}" = set; then :
7675 $as_echo_n "(cached
) " >&6
7677 rm -f .libs 2>/dev/null
7678 mkdir .libs 2>/dev/null
7679 if test -d .libs; then
7682 # MS-DOS does not allow filenames that begin with a dot.
7685 rmdir .libs 2>/dev/null
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7688 $as_echo "$lt_cv_objdir" >&6; }
7689 objdir=$lt_cv_objdir
7695 cat >>confdefs.h <<_ACEOF
7696 #define LT_OBJDIR "$lt_cv_objdir/"
7704 # AIX sometimes has problems with the GCC collect2 program. For some
7705 # reason, if we set the COLLECT_NAMES environment variable, the problems
7706 # vanish in a puff of smoke.
7707 if test "X
${COLLECT_NAMES+set}" != Xset; then
7709 export COLLECT_NAMES
7716 can_build_shared=yes
7718 # All known linkers require a `.a' archive for static linking (except MSVC,
7719 # which needs '.lib').
7722 with_gnu_ld="$lt_cv_prog_gnu_ld"
7725 old_CFLAGS="$CFLAGS"
7727 # Set sane defaults for various variables
7728 test -z "$CC" && CC=cc
7729 test -z "$LTCC" && LTCC=$CC
7730 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7731 test -z "$LD" && LD=ld
7732 test -z "$ac_objext" && ac_objext=o
7734 for cc_temp in $compiler""; do
7736 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7737 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7742 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7745 # Only perform the check for file, if the check method requires it
7746 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7747 case $deplibs_check_method in
7749 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7751 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7752 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7753 $as_echo_n "(cached
) " >&6
7757 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7760 lt_save_MAGIC_CMD="$MAGIC_CMD"
7761 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7762 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7763 for ac_dir in $ac_dummy; do
7765 test -z "$ac_dir" && ac_dir=.
7766 if test -f $ac_dir/${ac_tool_prefix}file; then
7767 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7768 if test -n "$file_magic_test_file"; then
7769 case $deplibs_check_method in
7771 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7772 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7773 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7774 $EGREP "$file_magic_regex" > /dev/null; then
7779 *** Warning: the command libtool uses to detect shared libraries,
7780 *** $file_magic_cmd, produces output that libtool cannot recognize.
7781 *** The result is that libtool may fail to recognize shared libraries
7782 *** as such. This will affect the creation of libtool libraries that
7783 *** depend on shared libraries, but programs linked with such libtool
7784 *** libraries will work regardless of this problem. Nevertheless, you
7785 *** may want to report the problem to your system manager and/or to
7786 *** bug-libtool@gnu.org
7796 MAGIC_CMD="$lt_save_MAGIC_CMD"
7801 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7802 if test -n "$MAGIC_CMD"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7804 $as_echo "$MAGIC_CMD" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7807 $as_echo "no
" >&6; }
7814 if test -z "$lt_cv_path_MAGIC_CMD"; then
7815 if test -n "$ac_tool_prefix"; then
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7817 $as_echo_n "checking
for file...
" >&6; }
7818 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7819 $as_echo_n "(cached
) " >&6
7823 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7826 lt_save_MAGIC_CMD="$MAGIC_CMD"
7827 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7828 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7829 for ac_dir in $ac_dummy; do
7831 test -z "$ac_dir" && ac_dir=.
7832 if test -f $ac_dir/file; then
7833 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7834 if test -n "$file_magic_test_file"; then
7835 case $deplibs_check_method in
7837 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7838 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7839 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7840 $EGREP "$file_magic_regex" > /dev/null; then
7845 *** Warning: the command libtool uses to detect shared libraries,
7846 *** $file_magic_cmd, produces output that libtool cannot recognize.
7847 *** The result is that libtool may fail to recognize shared libraries
7848 *** as such. This will affect the creation of libtool libraries that
7849 *** depend on shared libraries, but programs linked with such libtool
7850 *** libraries will work regardless of this problem. Nevertheless, you
7851 *** may want to report the problem to your system manager and/or to
7852 *** bug-libtool@gnu.org
7862 MAGIC_CMD="$lt_save_MAGIC_CMD"
7867 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7868 if test -n "$MAGIC_CMD"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7870 $as_echo "$MAGIC_CMD" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7873 $as_echo "no
" >&6; }
7886 # Use C for the default configuration in the libtool script
7890 ac_cpp='$CPP $CPPFLAGS'
7891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7896 # Source file extension for C test sources.
7899 # Object file extension for compiled C test sources.
7903 # Code to be used in simple compile tests
7904 lt_simple_compile_test_code="int some_variable
= 0;"
7906 # Code to be used in simple link tests
7907 lt_simple_link_test_code='int main(){return(0);}'
7915 # If no C compiler was specified, use CC.
7918 # If no C compiler flags were specified, use CFLAGS.
7919 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7921 # Allow CC to be a program name with arguments.
7924 # Save the default compiler, since it gets overwritten when the other
7925 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7926 compiler_DEFAULT=$CC
7928 # save warnings/boilerplate of simple test code
7929 ac_outfile=conftest.$ac_objext
7930 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7931 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7932 _lt_compiler_boilerplate=`cat conftest.err`
7935 ac_outfile=conftest.$ac_objext
7936 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7937 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7938 _lt_linker_boilerplate=`cat conftest.err`
7943 ## There is no encapsulation within the following macros, do not change
7944 ## the running order or otherwise move them around unless you know exactly
7945 ## what you are doing...
7946 if test -n "$compiler"; then
7948 lt_prog_compiler_no_builtin_flag=
7950 if test "$GCC" = yes; then
7951 case $cc_basename in
7953 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7955 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7959 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7960 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7961 $as_echo_n "(cached
) " >&6
7963 lt_cv_prog_compiler_rtti_exceptions=no
7964 ac_outfile=conftest.$ac_objext
7965 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7966 lt_compiler_flag="-fno-rtti -fno-exceptions"
7967 # Insert the option either (1) after the last *FLAGS variable, or
7968 # (2) before a word containing "conftest.
", or (3) at the end.
7969 # Note that $ac_compile itself does not contain backslashes and begins
7970 # with a dollar sign (not a hyphen), so the echo should work correctly.
7971 # The option is referenced via a variable to avoid confusing sed.
7972 lt_compile=`echo "$ac_compile" | $SED \
7973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7975 -e 's:$: $lt_compiler_flag:'`
7976 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7977 (eval "$lt_compile" 2>conftest.err)
7979 cat conftest.err >&5
7980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7981 if (exit $ac_status) && test -s "$ac_outfile"; then
7982 # The compiler can only warn and ignore the option if not recognized
7983 # So say no if there are warnings other than the usual output.
7984 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7986 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7987 lt_cv_prog_compiler_rtti_exceptions=yes
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7994 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7996 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7997 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8009 lt_prog_compiler_wl=
8010 lt_prog_compiler_pic=
8011 lt_prog_compiler_static=
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8014 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8016 if test "$GCC" = yes; then
8017 lt_prog_compiler_wl='-Wl,'
8018 lt_prog_compiler_static='-static'
8022 # All AIX code is PIC.
8023 if test "$host_cpu" = ia64; then
8024 # AIX 5 now supports IA64 processor
8025 lt_prog_compiler_static='-Bstatic'
8027 lt_prog_compiler_pic='-fPIC'
8033 # see comment about AmigaOS4 .so support
8034 lt_prog_compiler_pic='-fPIC'
8037 # FIXME: we need at least 68020 code to build shared libraries, but
8038 # adding the `-m68020' flag to GCC prevents building anything better,
8040 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8045 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8046 # PIC is the default for these OSes.
8049 mingw* | cygwin* | pw32* | os2* | cegcc*)
8050 # This hack is so that the source file can tell whether it is being
8051 # built for inclusion in a dll (and should export symbols for example).
8052 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8053 # (--disable-auto-import) libraries
8054 lt_prog_compiler_pic='-DDLL_EXPORT'
8057 darwin* | rhapsody*)
8058 # PIC is the default on this platform
8059 # Common symbols not allowed in MH_DYLIB files
8060 lt_prog_compiler_pic='-fno-common'
8064 # PIC is the default for Haiku.
8065 # The "-static" flag exists, but is broken.
8066 lt_prog_compiler_static=
8070 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8071 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8072 # sets the default TLS model and affects inlining.
8078 lt_prog_compiler_pic='-fPIC'
8084 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8085 # Instead, we relocate shared libraries at runtime.
8089 # Just because we use GCC doesn't mean we suddenly get shared libraries
8090 # on systems that don't support them.
8091 lt_prog_compiler_can_build_shared=no
8096 # QNX uses GNU C++, but need to define -shared option too, otherwise
8098 lt_prog_compiler_pic='-fPIC -shared'
8102 if test -d /usr/nec; then
8103 lt_prog_compiler_pic=-Kconform_pic
8108 lt_prog_compiler_pic='-fPIC'
8112 case $cc_basename in
8113 nvcc*) # Cuda Compiler Driver 2.2
8114 lt_prog_compiler_wl='-Xlinker '
8115 lt_prog_compiler_pic='-Xcompiler -fPIC'
8119 # PORTME Check for flag to pass linker flags through the system compiler.
8122 lt_prog_compiler_wl='-Wl,'
8123 if test "$host_cpu" = ia64; then
8124 # AIX 5 now supports IA64 processor
8125 lt_prog_compiler_static='-Bstatic'
8127 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8131 mingw* | cygwin* | pw32* | os2* | cegcc*)
8132 # This hack is so that the source file can tell whether it is being
8133 # built for inclusion in a dll (and should export symbols for example).
8134 lt_prog_compiler_pic='-DDLL_EXPORT'
8137 hpux9* | hpux10* | hpux11*)
8138 lt_prog_compiler_wl='-Wl,'
8139 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8146 lt_prog_compiler_pic='+Z'
8149 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8150 lt_prog_compiler_static='${wl}-a ${wl}archive'
8153 irix5* | irix6* | nonstopux*)
8154 lt_prog_compiler_wl='-Wl,'
8155 # PIC (with -KPIC) is the default.
8156 lt_prog_compiler_static='-non_shared'
8159 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8160 case $cc_basename in
8161 # old Intel for x86_64 which still supported -KPIC.
8163 lt_prog_compiler_wl='-Wl,'
8164 lt_prog_compiler_pic='-KPIC'
8165 lt_prog_compiler_static='-static'
8167 # icc used to be incompatible with GCC.
8168 # ICC 10 doesn't accept -KPIC any more.
8170 lt_prog_compiler_wl='-Wl,'
8171 lt_prog_compiler_pic='-fPIC'
8172 lt_prog_compiler_static='-static'
8174 # Lahey Fortran 8.1.
8176 lt_prog_compiler_wl='-Wl,'
8177 lt_prog_compiler_pic='--shared'
8178 lt_prog_compiler_static='--static'
8180 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8181 # Portland Group compilers (*not* the Pentium gcc compiler,
8182 # which looks to be a dead project)
8183 lt_prog_compiler_wl='-Wl,'
8184 lt_prog_compiler_pic='-fpic'
8185 lt_prog_compiler_static='-Bstatic'
8188 lt_prog_compiler_wl='-Wl,'
8189 # All Alpha code is PIC.
8190 lt_prog_compiler_static='-non_shared'
8192 xl* | bgxl* | bgf* | mpixl*)
8193 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8194 lt_prog_compiler_wl='-Wl,'
8195 lt_prog_compiler_pic='-qpic'
8196 lt_prog_compiler_static='-qstaticlink'
8199 case `$CC -V 2>&1 | sed 5q` in
8200 *Sun\ F* | *Sun*Fortran*)
8201 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8202 lt_prog_compiler_pic='-KPIC'
8203 lt_prog_compiler_static='-Bstatic'
8204 lt_prog_compiler_wl=''
8208 lt_prog_compiler_pic='-KPIC'
8209 lt_prog_compiler_static='-Bstatic'
8210 lt_prog_compiler_wl='-Wl,'
8218 lt_prog_compiler_pic='-KPIC'
8219 lt_prog_compiler_static='-Bstatic'
8223 # QNX uses GNU C++, but need to define -shared option too, otherwise
8225 lt_prog_compiler_pic='-fPIC -shared'
8228 osf3* | osf4* | osf5*)
8229 lt_prog_compiler_wl='-Wl,'
8230 # All OSF/1 code is PIC.
8231 lt_prog_compiler_static='-non_shared'
8235 lt_prog_compiler_static='-non_shared'
8239 lt_prog_compiler_pic='-KPIC'
8240 lt_prog_compiler_static='-Bstatic'
8241 case $cc_basename in
8243 lt_prog_compiler_wl='-Qoption ld ';;
8245 lt_prog_compiler_wl='-Wl,';;
8250 lt_prog_compiler_wl='-Qoption ld '
8251 lt_prog_compiler_pic='-PIC'
8252 lt_prog_compiler_static='-Bstatic'
8255 sysv4 | sysv4.2uw2* | sysv4.3*)
8256 lt_prog_compiler_wl='-Wl,'
8257 lt_prog_compiler_pic='-KPIC'
8258 lt_prog_compiler_static='-Bstatic'
8262 if test -d /usr/nec ;then
8263 lt_prog_compiler_pic='-Kconform_pic'
8264 lt_prog_compiler_static='-Bstatic'
8268 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8269 lt_prog_compiler_wl='-Wl,'
8270 lt_prog_compiler_pic='-KPIC'
8271 lt_prog_compiler_static='-Bstatic'
8275 lt_prog_compiler_wl='-Wl,'
8276 lt_prog_compiler_can_build_shared=no
8280 lt_prog_compiler_pic='-pic'
8281 lt_prog_compiler_static='-Bstatic'
8285 lt_prog_compiler_can_build_shared=no
8291 # For platforms which do not support PIC, -DPIC is meaningless:
8293 lt_prog_compiler_pic=
8296 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8300 $as_echo "$lt_prog_compiler_pic" >&6; }
8308 # Check to make sure the PIC flag actually works.
8310 if test -n "$lt_prog_compiler_pic"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8312 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8313 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8314 $as_echo_n "(cached
) " >&6
8316 lt_cv_prog_compiler_pic_works=no
8317 ac_outfile=conftest.$ac_objext
8318 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8319 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8320 # Insert the option either (1) after the last *FLAGS variable, or
8321 # (2) before a word containing "conftest.
", or (3) at the end.
8322 # Note that $ac_compile itself does not contain backslashes and begins
8323 # with a dollar sign (not a hyphen), so the echo should work correctly.
8324 # The option is referenced via a variable to avoid confusing sed.
8325 lt_compile=`echo "$ac_compile" | $SED \
8326 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8328 -e 's:$: $lt_compiler_flag:'`
8329 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8330 (eval "$lt_compile" 2>conftest.err)
8332 cat conftest.err >&5
8333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8334 if (exit $ac_status) && test -s "$ac_outfile"; then
8335 # The compiler can only warn and ignore the option if not recognized
8336 # So say no if there are warnings other than the usual output.
8337 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8338 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8339 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8340 lt_cv_prog_compiler_pic_works=yes
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8347 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8349 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8350 case $lt_prog_compiler_pic in
8352 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8355 lt_prog_compiler_pic=
8356 lt_prog_compiler_can_build_shared=no
8367 # Check to make sure the static flag actually works.
8369 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8371 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8372 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8373 $as_echo_n "(cached
) " >&6
8375 lt_cv_prog_compiler_static_works=no
8376 save_LDFLAGS="$LDFLAGS"
8377 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8378 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8379 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8380 # The linker can only warn and ignore the option if not recognized
8381 # So say no if there are warnings
8382 if test -s conftest.err; then
8383 # Append any errors to the config.log.
8384 cat conftest.err 1>&5
8385 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8387 if diff conftest.exp conftest.er2 >/dev/null; then
8388 lt_cv_prog_compiler_static_works=yes
8391 lt_cv_prog_compiler_static_works=yes
8395 LDFLAGS="$save_LDFLAGS"
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8399 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8401 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8404 lt_prog_compiler_static=
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8414 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8415 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8416 $as_echo_n "(cached
) " >&6
8418 lt_cv_prog_compiler_c_o=no
8419 $RM -r conftest 2>/dev/null
8423 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8425 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8426 # Insert the option either (1) after the last *FLAGS variable, or
8427 # (2) before a word containing "conftest.
", or (3) at the end.
8428 # Note that $ac_compile itself does not contain backslashes and begins
8429 # with a dollar sign (not a hyphen), so the echo should work correctly.
8430 lt_compile=`echo "$ac_compile" | $SED \
8431 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8432 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8433 -e 's:$: $lt_compiler_flag:'`
8434 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8435 (eval "$lt_compile" 2>out/conftest.err)
8437 cat out/conftest.err >&5
8438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8439 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8441 # The compiler can only warn and ignore the option if not recognized
8442 # So say no if there are warnings
8443 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8444 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8445 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8446 lt_cv_prog_compiler_c_o=yes
8451 # SGI C++ compiler will create directory out/ii_files/ for
8452 # template instantiation
8453 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8454 $RM out/* && rmdir out
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8461 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8469 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8470 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8471 $as_echo_n "(cached
) " >&6
8473 lt_cv_prog_compiler_c_o=no
8474 $RM -r conftest 2>/dev/null
8478 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8480 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8481 # Insert the option either (1) after the last *FLAGS variable, or
8482 # (2) before a word containing "conftest.
", or (3) at the end.
8483 # Note that $ac_compile itself does not contain backslashes and begins
8484 # with a dollar sign (not a hyphen), so the echo should work correctly.
8485 lt_compile=`echo "$ac_compile" | $SED \
8486 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8487 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8488 -e 's:$: $lt_compiler_flag:'`
8489 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8490 (eval "$lt_compile" 2>out/conftest.err)
8492 cat out/conftest.err >&5
8493 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8494 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8496 # The compiler can only warn and ignore the option if not recognized
8497 # So say no if there are warnings
8498 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8499 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8500 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8501 lt_cv_prog_compiler_c_o=yes
8506 # SGI C++ compiler will create directory out/ii_files/ for
8507 # template instantiation
8508 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8509 $RM out/* && rmdir out
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8516 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8521 hard_links="nottested
"
8522 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8523 # do not overwrite the value of need_locks provided by the user
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8525 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8528 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8530 ln conftest.a conftest.b 2>&5 || hard_links=no
8531 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8533 $as_echo "$hard_links" >&6; }
8534 if test "$hard_links" = no; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8536 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8549 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8552 allow_undefined_flag=
8553 always_export_symbols=no
8555 archive_expsym_cmds=
8556 compiler_needs_object=no
8557 enable_shared_with_static_runtimes=no
8558 export_dynamic_flag_spec=
8559 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8560 hardcode_automatic=no
8562 hardcode_direct_absolute=no
8563 hardcode_libdir_flag_spec=
8564 hardcode_libdir_flag_spec_ld=
8565 hardcode_libdir_separator=
8567 hardcode_shlibpath_var=unsupported
8569 link_all_deplibs=unknown
8572 old_archive_from_new_cmds=
8573 old_archive_from_expsyms_cmds=
8574 thread_safe_flag_spec=
8575 whole_archive_flag_spec=
8576 # include_expsyms should be a list of space-separated symbols to be *always*
8577 # included in the symbol list
8579 # exclude_expsyms can be an extended regexp of symbols to exclude
8580 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8581 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8582 # as well as any symbol that contains `d'.
8583 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8584 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8585 # platforms (ab)use it in PIC code, but their linkers get confused if
8586 # the symbol is explicitly referenced. Since portable code cannot
8587 # rely on this symbol name, it's probably fine to never include it in
8588 # preloaded symbol tables.
8589 # Exclude shared library initialization/finalization symbols.
8590 extract_expsyms_cmds=
8593 cygwin* | mingw* | pw32* | cegcc*)
8594 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8595 # When not using gcc, we currently assume that we are using
8596 # Microsoft Visual C++.
8597 if test "$GCC" != yes; then
8602 # we just hope/assume this is gcc and not c89 (= MSVC++)
8612 # On some targets, GNU ld is compatible enough with the native linker
8613 # that we're better off using the native interface for both.
8614 lt_use_gnu_ld_interface=no
8615 if test "$with_gnu_ld" = yes; then
8618 # The AIX port of GNU ld has always aspired to compatibility
8619 # with the native linker. However, as the warning in the GNU ld
8620 # block says, versions before 2.19.5* couldn't really create working
8621 # shared libraries, regardless of the interface used.
8622 case `$LD -v 2>&1` in
8623 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8624 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8625 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8627 lt_use_gnu_ld_interface=yes
8632 lt_use_gnu_ld_interface=yes
8637 if test "$lt_use_gnu_ld_interface" = yes; then
8638 # If archive_cmds runs LD, not CC, wlarc should be empty
8641 # Set some defaults for GNU ld with shared library support. These
8642 # are reset later if shared libraries are not supported. Putting them
8643 # here allows them to be overridden if necessary.
8644 runpath_var=LD_RUN_PATH
8645 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8646 export_dynamic_flag_spec='${wl}--export-dynamic'
8647 # ancient GNU ld didn't support --whole-archive et. al.
8648 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8649 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8651 whole_archive_flag_spec=
8653 supports_anon_versioning=no
8654 case `$LD -v 2>&1` in
8655 *GNU\ gold*) supports_anon_versioning=yes ;;
8656 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8657 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8658 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8659 *\ 2.11.*) ;; # other 2.11 versions
8660 *) supports_anon_versioning=yes ;;
8663 # See if GNU ld supports shared libraries.
8666 # On AIX/PPC, the GNU linker is very broken
8667 if test "$host_cpu" != ia64; then
8671 *** Warning: the GNU linker, at least up to release 2.19, is reported
8672 *** to be unable to reliably create shared libraries on AIX.
8673 *** Therefore, libtool is disabling shared libraries support. If you
8674 *** really care for shared libraries, you may want to install binutils
8675 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8676 *** You will then need to restart the configuration process.
8685 # see comment about AmigaOS4 .so support
8686 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8687 archive_expsym_cmds=''
8690 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)'
8691 hardcode_libdir_flag_spec
='-L$libdir'
8692 hardcode_minus_L
=yes
8698 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8699 allow_undefined_flag
=unsupported
8700 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8701 # support --undefined. This deserves some investigation. FIXME
8702 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8708 cygwin
* | mingw
* | pw32
* | cegcc
*)
8709 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8710 # as there is no search path for DLLs.
8711 hardcode_libdir_flag_spec
='-L$libdir'
8712 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8713 allow_undefined_flag
=unsupported
8714 always_export_symbols
=no
8715 enable_shared_with_static_runtimes
=yes
8716 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8718 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8719 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8720 # If the export-symbols file already is a .def file (1st line
8721 # is EXPORTS), use it as is; otherwise, prepend...
8722 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8723 cp $export_symbols $output_objdir/$soname.def;
8725 echo EXPORTS > $output_objdir/$soname.def;
8726 cat $export_symbols >> $output_objdir/$soname.def;
8728 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8735 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8736 link_all_deplibs
=yes
8741 hardcode_shlibpath_var
=no
8742 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8743 export_dynamic_flag_spec
='${wl}-E'
8744 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8745 # Instead, shared libraries are loaded at an image base (0x10000000 by
8746 # default) and relocated if they conflict, which is a slow very memory
8747 # consuming and fragmenting process. To avoid this, we pick a random,
8748 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8749 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8750 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8751 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'
8754 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8756 if test "$host_os" = linux-dietlibc
; then
8757 case $cc_basename in
8758 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8761 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8762 && test "$tmp_diet" = no
8764 tmp_addflag
=' $pic_flag'
8765 tmp_sharedflag
='-shared'
8766 case $cc_basename,$host_cpu in
8767 pgcc
*) # Portland Group C compiler
8768 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'
8769 tmp_addflag
=' $pic_flag'
8771 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8772 # Portland Group f77 and f90 compilers
8773 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'
8774 tmp_addflag
=' $pic_flag -Mnomain' ;;
8775 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8776 tmp_addflag
=' -i_dynamic' ;;
8777 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8778 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8779 ifc
* | ifort
*) # Intel Fortran compiler
8780 tmp_addflag
=' -nofor_main' ;;
8781 lf95
*) # Lahey Fortran 8.1
8782 whole_archive_flag_spec
=
8783 tmp_sharedflag
='--shared' ;;
8784 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8785 tmp_sharedflag
='-qmkshrobj'
8787 nvcc
*) # Cuda Compiler Driver 2.2
8788 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'
8789 compiler_needs_object
=yes
8792 case `$CC -V 2>&1 | sed 5q` in
8793 *Sun\ C
*) # Sun C 5.9
8794 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'
8795 compiler_needs_object
=yes
8796 tmp_sharedflag
='-G' ;;
8797 *Sun\ F
*) # Sun Fortran 8.3
8798 tmp_sharedflag
='-G' ;;
8800 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8802 if test "x$supports_anon_versioning" = xyes
; then
8803 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8804 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8805 echo "local: *; };" >> $output_objdir/$libname.ver~
8806 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8809 case $cc_basename in
8810 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8811 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8812 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8813 hardcode_libdir_flag_spec
=
8814 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8815 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8816 if test "x$supports_anon_versioning" = xyes
; then
8817 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8818 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8819 echo "local: *; };" >> $output_objdir/$libname.ver~
8820 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8830 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8831 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8834 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8835 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8840 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8844 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8845 *** create shared libraries on Solaris systems. Therefore, libtool
8846 *** is disabling shared libraries support. We urge you to upgrade GNU
8847 *** binutils to release 2.9.1 or newer. Another option is to modify
8848 *** your PATH or compiler configuration so that the native linker is
8849 *** used, and then restart.
8852 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8854 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8860 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8861 case `$LD -v 2>&1` in
8862 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8866 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8867 *** reliably create shared libraries on SCO systems. Therefore, libtool
8868 *** is disabling shared libraries support. We urge you to upgrade GNU
8869 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8870 *** your PATH or compiler configuration so that the native linker is
8871 *** used, and then restart.
8876 # For security reasons, it is highly recommended that you always
8877 # use absolute paths for naming shared libraries, and exclude the
8878 # DT_RUNPATH tag from executables and libraries. But doing so
8879 # requires that you compile everything twice, which is a pain.
8880 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8881 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8882 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8892 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8895 hardcode_shlibpath_var
=no
8899 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8900 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8908 if test "$ld_shlibs" = no
; then
8910 hardcode_libdir_flag_spec
=
8911 export_dynamic_flag_spec
=
8912 whole_archive_flag_spec
=
8915 # PORTME fill in a description of your system's linker (not GNU ld)
8918 allow_undefined_flag
=unsupported
8919 always_export_symbols
=yes
8920 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'
8921 # Note: this linker hardcodes the directories in LIBPATH if there
8922 # are no directories specified by -L.
8923 hardcode_minus_L
=yes
8924 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8925 # Neither direct hardcoding nor static linking is supported with a
8927 hardcode_direct
=unsupported
8932 if test "$host_cpu" = ia64
; then
8933 # On IA64, the linker does run time linking by default, so we don't
8934 # have to do anything special.
8935 aix_use_runtimelinking
=no
8936 exp_sym_flag
='-Bexport'
8939 # If we're using GNU nm, then we don't want the "-C" option.
8940 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8941 # Also, AIX nm treats weak defined symbols like other global
8942 # defined symbols, whereas GNU nm marks them as "W".
8943 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8944 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'
8946 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8948 aix_use_runtimelinking
=no
8950 # Test if we are trying to use run time linking or normal
8951 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8952 # need to do runtime linking.
8953 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8954 for ld_flag
in $LDFLAGS; do
8955 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8956 aix_use_runtimelinking
=yes
8963 exp_sym_flag
='-bexport'
8964 no_entry_flag
='-bnoentry'
8967 # When large executables or shared objects are built, AIX ld can
8968 # have problems creating the table of contents. If linking a library
8969 # or program results in "error TOC overflow" add -mminimal-toc to
8970 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8971 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8975 hardcode_direct_absolute
=yes
8976 hardcode_libdir_separator
=':'
8977 link_all_deplibs
=yes
8978 file_list_spec
='${wl}-f,'
8980 if test "$GCC" = yes; then
8981 case $host_os in aix4.
[012]|aix4.
[012].
*)
8982 # We only want to do this on AIX 4.2 and lower, the check
8983 # below for broken collect2 doesn't work under 4.3+
8984 collect2name
=`${CC} -print-prog-name=collect2`
8985 if test -f "$collect2name" &&
8986 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8988 # We have reworked collect2
8991 # We have old collect2
8992 hardcode_direct
=unsupported
8993 # It fails to find uninstalled libraries when the uninstalled
8994 # path is not listed in the libpath. Setting hardcode_minus_L
8995 # to unsupported forces relinking
8996 hardcode_minus_L
=yes
8997 hardcode_libdir_flag_spec
='-L$libdir'
8998 hardcode_libdir_separator
=
9002 shared_flag
='-shared'
9003 if test "$aix_use_runtimelinking" = yes; then
9004 shared_flag
="$shared_flag "'${wl}-G'
9008 if test "$host_cpu" = ia64
; then
9009 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9010 # chokes on -Wl,-G. The following line is correct:
9013 if test "$aix_use_runtimelinking" = yes; then
9014 shared_flag
='${wl}-G'
9016 shared_flag
='${wl}-bM:SRE'
9021 export_dynamic_flag_spec
='${wl}-bexpall'
9022 # It seems that -bexpall does not export symbols beginning with
9023 # underscore (_), so it is better to generate a list of symbols to export.
9024 always_export_symbols
=yes
9025 if test "$aix_use_runtimelinking" = yes; then
9026 # Warning - without using the other runtime loading flags (-brtl),
9027 # -berok will link without error, but may produce a broken library.
9028 allow_undefined_flag
='-berok'
9029 # Determine the default libpath from the value encoded in an
9031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9042 if ac_fn_c_try_link
"$LINENO"; then :
9044 lt_aix_libpath_sed
='
9045 /Import File Strings/,/^$/ {
9051 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9052 # Check for a 64-bit object if we didn't find anything.
9053 if test -z "$aix_libpath"; then
9054 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9057 rm -f core conftest.err conftest.
$ac_objext \
9058 conftest
$ac_exeext conftest.
$ac_ext
9059 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9061 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9062 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"
9064 if test "$host_cpu" = ia64
; then
9065 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9066 allow_undefined_flag
="-z nodefs"
9067 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"
9069 # Determine the default libpath from the value encoded in an
9071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9082 if ac_fn_c_try_link
"$LINENO"; then :
9084 lt_aix_libpath_sed
='
9085 /Import File Strings/,/^$/ {
9091 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9092 # Check for a 64-bit object if we didn't find anything.
9093 if test -z "$aix_libpath"; then
9094 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9097 rm -f core conftest.err conftest.
$ac_objext \
9098 conftest
$ac_exeext conftest.
$ac_ext
9099 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9101 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9102 # Warning - without using the other run time loading flags,
9103 # -berok will link without error, but may produce a broken library.
9104 no_undefined_flag
=' ${wl}-bernotok'
9105 allow_undefined_flag
=' ${wl}-berok'
9106 if test "$with_gnu_ld" = yes; then
9107 # We only use this code for GNU lds that support --whole-archive.
9108 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9110 # Exported symbols can be pulled into shared objects from archives
9111 whole_archive_flag_spec
='$convenience'
9113 archive_cmds_need_lc
=yes
9114 # This is similar to how AIX traditionally builds its shared libraries.
9115 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'
9123 # see comment about AmigaOS4 .so support
9124 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9125 archive_expsym_cmds
=''
9128 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)'
9129 hardcode_libdir_flag_spec
='-L$libdir'
9130 hardcode_minus_L
=yes
9136 export_dynamic_flag_spec
=-rdynamic
9139 cygwin
* | mingw
* | pw32
* | cegcc
*)
9140 # When not using gcc, we currently assume that we are using
9141 # Microsoft Visual C++.
9142 # hardcode_libdir_flag_spec is actually meaningless, as there is
9143 # no search path for DLLs.
9144 hardcode_libdir_flag_spec
=' '
9145 allow_undefined_flag
=unsupported
9146 # Tell ltmain to make .lib files, not .a files.
9148 # Tell ltmain to make .dll files, not .so files.
9150 # FIXME: Setting linknames here is a bad hack.
9151 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9152 # The linker will automatically build a .lib file if we build a DLL.
9153 old_archive_from_new_cmds
='true'
9154 # FIXME: Should let the user specify the lib program.
9155 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9156 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9157 enable_shared_with_static_runtimes
=yes
9160 darwin
* | rhapsody
*)
9163 archive_cmds_need_lc
=no
9165 hardcode_automatic
=yes
9166 hardcode_shlibpath_var
=unsupported
9167 if test "$lt_cv_ld_force_load" = "yes"; then
9168 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\"`'
9170 whole_archive_flag_spec
=''
9172 link_all_deplibs
=yes
9173 allow_undefined_flag
="$_lt_dar_allow_undefined"
9174 case $cc_basename in
9175 ifort
*) _lt_dar_can_shared
=yes ;;
9176 *) _lt_dar_can_shared
=$GCC ;;
9178 if test "$_lt_dar_can_shared" = "yes"; then
9179 output_verbose_link_cmd
=func_echo_all
9180 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9181 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9182 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}"
9183 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}"
9192 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9193 hardcode_libdir_flag_spec
='-L$libdir'
9194 hardcode_shlibpath_var
=no
9197 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9198 # support. Future versions do this automatically, but an explicit c++rt0.o
9199 # does not break anything, and helps significantly (at the cost of a little
9202 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9203 hardcode_libdir_flag_spec
='-R$libdir'
9205 hardcode_shlibpath_var
=no
9208 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9210 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9212 hardcode_minus_L
=yes
9213 hardcode_shlibpath_var
=no
9216 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9217 freebsd
* | dragonfly
*)
9218 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9219 hardcode_libdir_flag_spec
='-R$libdir'
9221 hardcode_shlibpath_var
=no
9225 if test "$GCC" = yes; then
9226 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'
9228 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'
9230 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9231 hardcode_libdir_separator
=:
9234 # hardcode_minus_L: Not really in the search PATH,
9235 # but as the default location of the library.
9236 hardcode_minus_L
=yes
9237 export_dynamic_flag_spec
='${wl}-E'
9241 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9242 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9244 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9246 if test "$with_gnu_ld" = no
; then
9247 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9248 hardcode_libdir_flag_spec_ld
='+b $libdir'
9249 hardcode_libdir_separator
=:
9251 hardcode_direct_absolute
=yes
9252 export_dynamic_flag_spec
='${wl}-E'
9253 # hardcode_minus_L: Not really in the search PATH,
9254 # but as the default location of the library.
9255 hardcode_minus_L
=yes
9260 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9263 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9266 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9269 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9275 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9278 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9282 # Older versions of the 11.00 compiler do not understand -b yet
9283 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9285 $as_echo_n "checking if $CC understands -b... " >&6; }
9286 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9287 $as_echo_n "(cached) " >&6
9289 lt_cv_prog_compiler__b
=no
9290 save_LDFLAGS
="$LDFLAGS"
9291 LDFLAGS
="$LDFLAGS -b"
9292 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9293 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9294 # The linker can only warn and ignore the option if not recognized
9295 # So say no if there are warnings
9296 if test -s conftest.err
; then
9297 # Append any errors to the config.log.
9298 cat conftest.err
1>&5
9299 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9300 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9301 if diff conftest.exp conftest.er2
>/dev
/null
; then
9302 lt_cv_prog_compiler__b
=yes
9305 lt_cv_prog_compiler__b
=yes
9309 LDFLAGS
="$save_LDFLAGS"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9313 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9315 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9316 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9318 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9324 if test "$with_gnu_ld" = no
; then
9325 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9326 hardcode_libdir_separator
=:
9331 hardcode_shlibpath_var
=no
9335 hardcode_direct_absolute
=yes
9336 export_dynamic_flag_spec
='${wl}-E'
9338 # hardcode_minus_L: Not really in the search PATH,
9339 # but as the default location of the library.
9340 hardcode_minus_L
=yes
9346 irix5
* | irix6
* | nonstopux
*)
9347 if test "$GCC" = yes; then
9348 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'
9349 # Try to use the -exported_symbol ld option, if it does not
9350 # work, assume that -exports_file does not work either and
9351 # implicitly export all symbols.
9352 save_LDFLAGS
="$LDFLAGS"
9353 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9358 if ac_fn_c_try_link
"$LINENO"; then :
9359 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'
9362 rm -f core conftest.err conftest.
$ac_objext \
9363 conftest
$ac_exeext conftest.
$ac_ext
9364 LDFLAGS
="$save_LDFLAGS"
9366 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'
9367 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'
9369 archive_cmds_need_lc
='no'
9370 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9371 hardcode_libdir_separator
=:
9373 link_all_deplibs
=yes
9377 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9378 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9380 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9382 hardcode_libdir_flag_spec
='-R$libdir'
9384 hardcode_shlibpath_var
=no
9388 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9390 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9391 hardcode_libdir_separator
=:
9392 hardcode_shlibpath_var
=no
9399 if test -f /usr
/libexec
/ld.so
; then
9401 hardcode_shlibpath_var
=no
9402 hardcode_direct_absolute
=yes
9403 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9404 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9406 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9407 export_dynamic_flag_spec
='${wl}-E'
9410 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9411 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9412 hardcode_libdir_flag_spec
='-R$libdir'
9415 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9416 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9426 hardcode_libdir_flag_spec
='-L$libdir'
9427 hardcode_minus_L
=yes
9428 allow_undefined_flag
=unsupported
9429 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'
9430 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9434 if test "$GCC" = yes; then
9435 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9436 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'
9438 allow_undefined_flag
=' -expect_unresolved \*'
9439 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'
9441 archive_cmds_need_lc
='no'
9442 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9443 hardcode_libdir_separator
=:
9446 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9447 if test "$GCC" = yes; then
9448 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9449 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'
9450 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9452 allow_undefined_flag
=' -expect_unresolved \*'
9453 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'
9454 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~
9455 $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'
9457 # Both c and cxx compiler support -rpath directly
9458 hardcode_libdir_flag_spec
='-rpath $libdir'
9460 archive_cmds_need_lc
='no'
9461 hardcode_libdir_separator
=:
9465 no_undefined_flag
=' -z defs'
9466 if test "$GCC" = yes; then
9468 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9469 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9470 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9472 case `$CC -V 2>&1` in
9475 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9476 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9477 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9481 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9482 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9483 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9487 hardcode_libdir_flag_spec
='-R$libdir'
9488 hardcode_shlibpath_var
=no
9490 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9492 # The compiler driver will combine and reorder linker options,
9493 # but understands `-z linker_flag'. GCC discards it without `$wl',
9494 # but is careful enough not to reorder.
9495 # Supported since Solaris 2.6 (maybe 2.5.1?)
9496 if test "$GCC" = yes; then
9497 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9499 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9503 link_all_deplibs
=yes
9507 if test "x$host_vendor" = xsequent
; then
9508 # Use $CC to link under sequent, because it throws in some extra .o
9509 # files that make .init and .fini sections work.
9510 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9514 hardcode_libdir_flag_spec
='-L$libdir'
9516 hardcode_minus_L
=yes
9517 hardcode_shlibpath_var
=no
9521 case $host_vendor in
9523 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9524 hardcode_direct
=yes # is this really true???
9527 ## LD is ld it makes a PLAMLIB
9528 ## CC just makes a GrossModule.
9529 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9530 reload_cmds
='$CC -r -o $output$reload_objs'
9534 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9535 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9538 runpath_var
='LD_RUN_PATH'
9539 hardcode_shlibpath_var
=no
9543 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9544 hardcode_shlibpath_var
=no
9545 export_dynamic_flag_spec
='-Bexport'
9549 if test -d /usr
/nec
; then
9550 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9551 hardcode_shlibpath_var
=no
9552 runpath_var
=LD_RUN_PATH
9553 hardcode_runpath_var
=yes
9558 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9559 no_undefined_flag
='${wl}-z,text'
9560 archive_cmds_need_lc
=no
9561 hardcode_shlibpath_var
=no
9562 runpath_var
='LD_RUN_PATH'
9564 if test "$GCC" = yes; then
9565 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9566 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9568 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9569 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9573 sysv5
* | sco3.2v5
* | sco5v6
*)
9574 # Note: We can NOT use -z defs as we might desire, because we do not
9575 # link with -lc, and that would cause any symbols used from libc to
9576 # always be unresolved, which means just about no library would
9577 # ever link correctly. If we're not using GNU ld we use -z text
9578 # though, which does catch some bad symbols but isn't as heavy-handed
9580 no_undefined_flag
='${wl}-z,text'
9581 allow_undefined_flag
='${wl}-z,nodefs'
9582 archive_cmds_need_lc
=no
9583 hardcode_shlibpath_var
=no
9584 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9585 hardcode_libdir_separator
=':'
9586 link_all_deplibs
=yes
9587 export_dynamic_flag_spec
='${wl}-Bexport'
9588 runpath_var
='LD_RUN_PATH'
9590 if test "$GCC" = yes; then
9591 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9594 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9595 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9601 hardcode_libdir_flag_spec
='-L$libdir'
9602 hardcode_shlibpath_var
=no
9610 if test x
$host_vendor = xsni
; then
9612 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9613 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9620 $as_echo "$ld_shlibs" >&6; }
9621 test "$ld_shlibs" = no
&& can_build_shared
=no
9623 with_gnu_ld
=$with_gnu_ld
9640 # Do we need to explicitly link libc?
9642 case "x$archive_cmds_need_lc" in
9644 # Assume -lc should be added
9645 archive_cmds_need_lc
=yes
9647 if test "$enable_shared" = yes && test "$GCC" = yes; then
9648 case $archive_cmds in
9650 # FIXME: we may have to deal with multi-command sequences.
9653 # Test whether the compiler implicitly links with -lc since on some
9654 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9655 # to ld, don't add -lc before -lgcc.
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9657 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9658 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9659 $as_echo_n "(cached) " >&6
9662 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9665 (eval $ac_compile) 2>&5
9667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9668 test $ac_status = 0; } 2>conftest.err
; then
9671 libobjs
=conftest.
$ac_objext
9673 wl
=$lt_prog_compiler_wl
9674 pic_flag
=$lt_prog_compiler_pic
9680 lt_save_allow_undefined_flag
=$allow_undefined_flag
9681 allow_undefined_flag
=
9682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9683 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9686 test $ac_status = 0; }
9688 lt_cv_archive_cmds_need_lc
=no
9690 lt_cv_archive_cmds_need_lc
=yes
9692 allow_undefined_flag
=$lt_save_allow_undefined_flag
9694 cat conftest.err
1>&5
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9700 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9701 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9865 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9867 if test "$GCC" = yes; then
9869 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9870 *) lt_awk_arg
="/^libraries:/" ;;
9873 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9874 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9876 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9877 case $lt_search_path_spec in
9879 # if the path contains ";" then we assume it to be the separator
9880 # otherwise default to the standard path separator (i.e. ":") - it is
9881 # assumed that no part of a normal pathname contains ";" but that should
9882 # okay in the real world where ";" in dirpaths is itself problematic.
9883 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9886 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9889 # Ok, now we have the path, separated by spaces, we can step through it
9890 # and add multilib dir if necessary.
9891 lt_tmp_lt_search_path_spec
=
9892 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9893 for lt_sys_path
in $lt_search_path_spec; do
9894 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9895 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9897 test -d "$lt_sys_path" && \
9898 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9901 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9902 BEGIN {RS=" "; FS="/|\n";} {
9905 for (lt_i = NF; lt_i > 0; lt_i--) {
9906 if ($lt_i != "" && $lt_i != ".") {
9907 if ($lt_i == "..") {
9910 if (lt_count == 0) {
9911 lt_foo="/" $lt_i lt_foo;
9918 if (lt_foo != "") { lt_freq[lt_foo]++; }
9919 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9921 # AWK program above erroneously prepends '/' to C:/dos/paths
9924 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9925 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9927 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9929 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9932 libname_spec
='lib$name'
9940 shlibpath_overrides_runpath
=unknown
9942 dynamic_linker
="$host_os ld.so"
9943 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9944 need_lib_prefix
=unknown
9945 hardcode_into_libs
=no
9947 # when you set need_version to no, make sure it does not cause -set_version
9948 # flags to be left without arguments
9949 need_version
=unknown
9954 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9955 shlibpath_var
=LIBPATH
9957 # AIX 3 has no versioning support, so we append a major version to the name.
9958 soname_spec
='${libname}${release}${shared_ext}$major'
9965 hardcode_into_libs
=yes
9966 if test "$host_cpu" = ia64
; then
9967 # AIX 5 supports IA64
9968 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9969 shlibpath_var
=LD_LIBRARY_PATH
9971 # With GCC up to 2.95.x, collect2 would create an import file
9972 # for dependence libraries. The import file would start with
9973 # the line `#! .'. This would cause the generated library to
9974 # depend on `.', always an invalid library. This was fixed in
9975 # development snapshots of GCC prior to 3.0.
9977 aix4 | aix4.
[01] | aix4.
[01].
*)
9978 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9980 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9987 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9988 # soname into executable. Probably we can add versioning support to
9989 # collect2, so additional links can be useful in future.
9990 if test "$aix_use_runtimelinking" = yes; then
9991 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9992 # instead of lib<name>.a to let people know that these are not
9993 # typical AIX shared libraries.
9994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9996 # We preserve .a as extension for shared libraries through AIX4.2
9997 # and later when we are not doing run time linking.
9998 library_names_spec
='${libname}${release}.a $libname.a'
9999 soname_spec
='${libname}${release}${shared_ext}$major'
10001 shlibpath_var
=LIBPATH
10008 # Since July 2007 AmigaOS4 officially supports .so libraries.
10009 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10013 library_names_spec
='$libname.ixlibrary $libname.a'
10014 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10015 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'
10021 library_names_spec
='${libname}${shared_ext}'
10022 dynamic_linker
="$host_os ld.so"
10023 shlibpath_var
=LIBRARY_PATH
10029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10030 soname_spec
='${libname}${release}${shared_ext}$major'
10031 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10032 shlibpath_var
=LD_LIBRARY_PATH
10033 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10034 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10035 # the default ld.so.conf also contains /usr/contrib/lib and
10036 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10037 # libtool to hard-code these into programs
10040 cygwin
* | mingw
* | pw32
* | cegcc
*)
10041 version_type
=windows
10046 case $GCC,$host_os in
10047 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10048 library_names_spec
='$libname.dll.a'
10049 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10050 postinstall_cmds
='base_file=`basename \${file}`~
10051 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10052 dldir=$destdir/`dirname \$dlpath`~
10053 test -d \$dldir || mkdir -p \$dldir~
10054 $install_prog $dir/$dlname \$dldir/$dlname~
10055 chmod a+x \$dldir/$dlname~
10056 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10057 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10059 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10060 dlpath=$dir/\$dldll~
10062 shlibpath_overrides_runpath
=yes
10066 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10067 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10069 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10072 # MinGW DLLs use traditional 'lib' prefix
10073 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10076 # pw32 DLLs use 'pw' prefix rather than 'lib'
10077 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10083 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10086 dynamic_linker
='Win32 ld.exe'
10087 # FIXME: first we should search . and the directory the executable is in
10091 darwin
* | rhapsody
*)
10092 dynamic_linker
="$host_os dyld"
10093 version_type
=darwin
10096 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10097 soname_spec
='${libname}${release}${major}$shared_ext'
10098 shlibpath_overrides_runpath
=yes
10099 shlibpath_var
=DYLD_LIBRARY_PATH
10100 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10102 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10103 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10111 soname_spec
='${libname}${release}${shared_ext}$major'
10112 shlibpath_var
=LD_LIBRARY_PATH
10115 freebsd
* | dragonfly
*)
10116 # DragonFly does not have aout. When/if they implement a new
10117 # versioning mechanism, adjust this.
10118 if test -x /usr
/bin
/objformat
; then
10119 objformat
=`/usr/bin/objformat`
10122 freebsd
[23].
*) objformat
=aout
;;
10123 *) objformat
=elf
;;
10126 version_type
=freebsd-
$objformat
10127 case $version_type in
10129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10134 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10138 shlibpath_var
=LD_LIBRARY_PATH
10141 shlibpath_overrides_runpath
=yes
10143 freebsd3.
[01]* | freebsdelf3.
[01]*)
10144 shlibpath_overrides_runpath
=yes
10145 hardcode_into_libs
=yes
10147 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10148 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10149 shlibpath_overrides_runpath
=no
10150 hardcode_into_libs
=yes
10152 *) # from 4.6 on, and DragonFly
10153 shlibpath_overrides_runpath
=yes
10154 hardcode_into_libs
=yes
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10164 soname_spec
='${libname}${release}${shared_ext}$major'
10165 shlibpath_var
=LD_LIBRARY_PATH
10166 hardcode_into_libs
=yes
10173 dynamic_linker
="$host_os runtime_loader"
10174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10175 soname_spec
='${libname}${release}${shared_ext}$major'
10176 shlibpath_var
=LIBRARY_PATH
10177 shlibpath_overrides_runpath
=yes
10178 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10179 hardcode_into_libs
=yes
10182 hpux9
* | hpux10
* | hpux11
*)
10183 # Give a soname corresponding to the major version so that dld.sl refuses to
10184 # link against other versions.
10191 hardcode_into_libs
=yes
10192 dynamic_linker
="$host_os dld.so"
10193 shlibpath_var
=LD_LIBRARY_PATH
10194 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10196 soname_spec
='${libname}${release}${shared_ext}$major'
10197 if test "X$HPUX_IA64_MODE" = X32
; then
10198 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10200 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10202 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10206 hardcode_into_libs
=yes
10207 dynamic_linker
="$host_os dld.sl"
10208 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10209 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10211 soname_spec
='${libname}${release}${shared_ext}$major'
10212 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10213 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10217 dynamic_linker
="$host_os dld.sl"
10218 shlibpath_var
=SHLIB_PATH
10219 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10221 soname_spec
='${libname}${release}${shared_ext}$major'
10224 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10225 postinstall_cmds
='chmod 555 $lib'
10226 # or fails outright, so override atomically:
10227 install_override_mode
=555
10234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10235 soname_spec
='${libname}${release}${shared_ext}$major'
10236 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10237 shlibpath_var
=LD_LIBRARY_PATH
10238 shlibpath_overrides_runpath
=no
10239 hardcode_into_libs
=yes
10242 irix5
* | irix6
* | nonstopux
*)
10244 nonstopux
*) version_type
=nonstopux
;;
10246 if test "$lt_cv_prog_gnu_ld" = yes; then
10254 soname_spec
='${libname}${release}${shared_ext}$major'
10255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10257 irix5
* | nonstopux
*)
10258 libsuff
= shlibsuff
=
10261 case $LD in # libtool.m4 will add one of these switches to LD
10262 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10263 libsuff
= shlibsuff
= libmagic
=32-bit;;
10264 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10265 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10266 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10267 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10268 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10272 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10273 shlibpath_overrides_runpath
=no
10274 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10275 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10276 hardcode_into_libs
=yes
10279 # No shared lib support for Linux oldld, aout, or coff.
10280 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10284 # This must be Linux ELF.
10285 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290 soname_spec
='${libname}${release}${shared_ext}$major'
10291 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10292 shlibpath_var
=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath
=no
10295 # Some binutils ld are patched to set DT_RUNPATH
10296 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10297 $as_echo_n "(cached) " >&6
10299 lt_cv_shlibpath_overrides_runpath
=no
10300 save_LDFLAGS
=$LDFLAGS
10301 save_libdir
=$libdir
10302 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10303 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10315 if ac_fn_c_try_link
"$LINENO"; then :
10316 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10317 lt_cv_shlibpath_overrides_runpath
=yes
10320 rm -f core conftest.err conftest.
$ac_objext \
10321 conftest
$ac_exeext conftest.
$ac_ext
10322 LDFLAGS
=$save_LDFLAGS
10323 libdir
=$save_libdir
10327 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10329 # This implies no fast_install, which is unacceptable.
10330 # Some rework will be needed to allow for fast_install
10331 # before this can be enabled.
10332 hardcode_into_libs
=yes
10334 # Append ld.so.conf contents to the search path
10335 if test -f /etc
/ld.so.conf
; then
10336 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' ' '`
10337 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10340 # We used to test for /lib/ld.so.1 and disable shared libraries on
10341 # powerpc, because MkLinux only supported shared libraries with the
10342 # GNU dynamic linker. Since this was broken with cross compilers,
10343 # most powerpc-linux boxes support dynamic linking these days and
10344 # people can always --disable-shared, the test was removed, and we
10345 # assume the GNU/Linux dynamic linker is in use.
10346 dynamic_linker
='GNU/Linux ld.so'
10353 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10355 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10356 dynamic_linker
='NetBSD (a.out) ld.so'
10358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10359 soname_spec
='${libname}${release}${shared_ext}$major'
10360 dynamic_linker
='NetBSD ld.elf_so'
10362 shlibpath_var
=LD_LIBRARY_PATH
10363 shlibpath_overrides_runpath
=yes
10364 hardcode_into_libs
=yes
10369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 shlibpath_var
=LD_LIBRARY_PATH
10371 shlibpath_overrides_runpath
=yes
10378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379 soname_spec
='${libname}${release}${shared_ext}$major'
10380 shlibpath_var
=LD_LIBRARY_PATH
10381 shlibpath_overrides_runpath
=no
10382 hardcode_into_libs
=yes
10383 dynamic_linker
='ldqnx.so'
10388 sys_lib_dlsearch_path_spec
="/usr/lib"
10390 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10392 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10393 *) need_version
=no
;;
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10397 shlibpath_var
=LD_LIBRARY_PATH
10398 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10400 openbsd2.
[89] | openbsd2.
[89].
*)
10401 shlibpath_overrides_runpath
=no
10404 shlibpath_overrides_runpath
=yes
10408 shlibpath_overrides_runpath
=yes
10413 libname_spec
='$name'
10416 library_names_spec
='$libname${shared_ext} $libname.a'
10417 dynamic_linker
='OS/2 ld.exe'
10418 shlibpath_var
=LIBPATH
10421 osf3
* | osf4
* | osf5
*)
10425 soname_spec
='${libname}${release}${shared_ext}$major'
10426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10427 shlibpath_var
=LD_LIBRARY_PATH
10428 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10429 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10441 soname_spec
='${libname}${release}${shared_ext}$major'
10442 shlibpath_var
=LD_LIBRARY_PATH
10443 shlibpath_overrides_runpath
=yes
10444 hardcode_into_libs
=yes
10445 # ldd complains unless libraries are executable
10446 postinstall_cmds
='chmod +x $lib'
10451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10452 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10453 shlibpath_var
=LD_LIBRARY_PATH
10454 shlibpath_overrides_runpath
=yes
10455 if test "$with_gnu_ld" = yes; then
10463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464 soname_spec
='${libname}${release}${shared_ext}$major'
10465 shlibpath_var
=LD_LIBRARY_PATH
10466 case $host_vendor in
10468 shlibpath_overrides_runpath
=no
10470 runpath_var
=LD_RUN_PATH
10478 shlibpath_overrides_runpath
=no
10479 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10485 if test -d /usr
/nec
;then
10487 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10488 soname_spec
='$libname${shared_ext}.$major'
10489 shlibpath_var
=LD_LIBRARY_PATH
10493 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10494 version_type
=freebsd-elf
10497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10498 soname_spec
='${libname}${release}${shared_ext}$major'
10499 shlibpath_var
=LD_LIBRARY_PATH
10500 shlibpath_overrides_runpath
=yes
10501 hardcode_into_libs
=yes
10502 if test "$with_gnu_ld" = yes; then
10503 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10505 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10508 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10512 sys_lib_dlsearch_path_spec
='/usr/lib'
10516 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10521 shlibpath_var
=LD_LIBRARY_PATH
10522 shlibpath_overrides_runpath
=no
10523 hardcode_into_libs
=yes
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec
='${libname}${release}${shared_ext}$major'
10530 shlibpath_var
=LD_LIBRARY_PATH
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10538 $as_echo "$dynamic_linker" >&6; }
10539 test "$dynamic_linker" = no
&& can_build_shared
=no
10541 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10542 if test "$GCC" = yes; then
10543 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10546 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10547 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10549 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10550 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10645 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10647 if test -n "$hardcode_libdir_flag_spec" ||
10648 test -n "$runpath_var" ||
10649 test "X$hardcode_automatic" = "Xyes" ; then
10651 # We can hardcode non-existent directories.
10652 if test "$hardcode_direct" != no
&&
10653 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10654 # have to relink, otherwise we might link with an installed library
10655 # when we should be linking with a yet-to-be-installed one
10656 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10657 test "$hardcode_minus_L" != no
; then
10658 # Linking always hardcodes the temporary library directory.
10659 hardcode_action
=relink
10661 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10662 hardcode_action
=immediate
10665 # We cannot hardcode anything, or else we can only hardcode existing
10667 hardcode_action
=unsupported
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10670 $as_echo "$hardcode_action" >&6; }
10672 if test "$hardcode_action" = relink ||
10673 test "$inherit_rpath" = yes; then
10674 # Fast installation is not supported
10675 enable_fast_install
=no
10676 elif test "$shlibpath_overrides_runpath" = yes ||
10677 test "$enable_shared" = no
; then
10678 # Fast installation is not necessary
10679 enable_fast_install
=needless
10687 if test "x$enable_dlopen" != xyes
; then
10688 enable_dlopen
=unknown
10689 enable_dlopen_self
=unknown
10690 enable_dlopen_self_static
=unknown
10697 lt_cv_dlopen
="load_add_on"
10699 lt_cv_dlopen_self
=yes
10702 mingw
* | pw32
* | cegcc
*)
10703 lt_cv_dlopen
="LoadLibrary"
10708 lt_cv_dlopen
="dlopen"
10713 # if libdl is installed we need to link against it
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10715 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10716 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10717 $as_echo_n "(cached) " >&6
10719 ac_check_lib_save_LIBS
=$LIBS
10721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10739 if ac_fn_c_try_link
"$LINENO"; then :
10740 ac_cv_lib_dl_dlopen
=yes
10742 ac_cv_lib_dl_dlopen
=no
10744 rm -f core conftest.err conftest.
$ac_objext \
10745 conftest
$ac_exeext conftest.
$ac_ext
10746 LIBS
=$ac_check_lib_save_LIBS
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10749 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10750 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10751 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10754 lt_cv_dlopen
="dyld"
10756 lt_cv_dlopen_self
=yes
10763 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10764 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10765 lt_cv_dlopen
="shl_load"
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10768 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10769 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10770 $as_echo_n "(cached) " >&6
10772 ac_check_lib_save_LIBS
=$LIBS
10774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10787 return shl_load ();
10792 if ac_fn_c_try_link
"$LINENO"; then :
10793 ac_cv_lib_dld_shl_load
=yes
10795 ac_cv_lib_dld_shl_load
=no
10797 rm -f core conftest.err conftest.
$ac_objext \
10798 conftest
$ac_exeext conftest.
$ac_ext
10799 LIBS
=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10802 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10803 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10804 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10806 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10807 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10808 lt_cv_dlopen
="dlopen"
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10811 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10812 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10813 $as_echo_n "(cached) " >&6
10815 ac_check_lib_save_LIBS
=$LIBS
10817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10835 if ac_fn_c_try_link
"$LINENO"; then :
10836 ac_cv_lib_dl_dlopen
=yes
10838 ac_cv_lib_dl_dlopen
=no
10840 rm -f core conftest.err conftest.
$ac_objext \
10841 conftest
$ac_exeext conftest.
$ac_ext
10842 LIBS
=$ac_check_lib_save_LIBS
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10845 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10846 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10847 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10850 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10851 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10852 $as_echo_n "(cached) " >&6
10854 ac_check_lib_save_LIBS
=$LIBS
10855 LIBS
="-lsvld $LIBS"
10856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10874 if ac_fn_c_try_link
"$LINENO"; then :
10875 ac_cv_lib_svld_dlopen
=yes
10877 ac_cv_lib_svld_dlopen
=no
10879 rm -f core conftest.err conftest.
$ac_objext \
10880 conftest
$ac_exeext conftest.
$ac_ext
10881 LIBS
=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10884 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10885 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10886 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10889 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10890 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10891 $as_echo_n "(cached) " >&6
10893 ac_check_lib_save_LIBS
=$LIBS
10895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10898 /* Override any GCC internal prototype to avoid an error.
10899 Use char because int might match the return type of a GCC
10900 builtin and then its argument prototype would still apply. */
10908 return dld_link ();
10913 if ac_fn_c_try_link
"$LINENO"; then :
10914 ac_cv_lib_dld_dld_link
=yes
10916 ac_cv_lib_dld_dld_link
=no
10918 rm -f core conftest.err conftest.
$ac_objext \
10919 conftest
$ac_exeext conftest.
$ac_ext
10920 LIBS
=$ac_check_lib_save_LIBS
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10923 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10924 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10925 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10946 if test "x$lt_cv_dlopen" != xno
; then
10952 case $lt_cv_dlopen in
10954 save_CPPFLAGS
="$CPPFLAGS"
10955 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10957 save_LDFLAGS
="$LDFLAGS"
10958 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10961 LIBS
="$lt_cv_dlopen_libs $LIBS"
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10964 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10965 if test "${lt_cv_dlopen_self+set}" = set; then :
10966 $as_echo_n "(cached) " >&6
10968 if test "$cross_compiling" = yes; then :
10969 lt_cv_dlopen_self
=cross
10971 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10972 lt_status
=$lt_dlunknown
10973 cat > conftest.
$ac_ext <<_LT_EOF
10974 #line 10974 "configure"
10975 #include "confdefs.h"
10984 # define LT_DLGLOBAL RTLD_GLOBAL
10987 # define LT_DLGLOBAL DL_GLOBAL
10989 # define LT_DLGLOBAL 0
10993 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10994 find out it does not work in some platform. */
10995 #ifndef LT_DLLAZY_OR_NOW
10997 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11000 # define LT_DLLAZY_OR_NOW DL_LAZY
11003 # define LT_DLLAZY_OR_NOW RTLD_NOW
11006 # define LT_DLLAZY_OR_NOW DL_NOW
11008 # define LT_DLLAZY_OR_NOW 0
11015 /* When -fvisbility=hidden is used, assume the code has been annotated
11016 correspondingly for the symbols needed. */
11017 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11018 void fnord () __attribute__((visibility("default")));
11021 void fnord () { int i=42; }
11024 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11025 int status = $lt_dlunknown;
11029 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11032 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11033 else puts (dlerror ());
11035 /* dlclose (self); */
11043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11044 (eval $ac_link) 2>&5
11046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11047 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11048 (.
/conftest
; exit; ) >&5 2>/dev
/null
11050 case x
$lt_status in
11051 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11052 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11053 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11056 # compilation failed
11057 lt_cv_dlopen_self
=no
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11065 $as_echo "$lt_cv_dlopen_self" >&6; }
11067 if test "x$lt_cv_dlopen_self" = xyes
; then
11068 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11070 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11071 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11072 $as_echo_n "(cached) " >&6
11074 if test "$cross_compiling" = yes; then :
11075 lt_cv_dlopen_self_static
=cross
11077 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11078 lt_status
=$lt_dlunknown
11079 cat > conftest.
$ac_ext <<_LT_EOF
11080 #line 11080 "configure"
11081 #include "confdefs.h"
11090 # define LT_DLGLOBAL RTLD_GLOBAL
11093 # define LT_DLGLOBAL DL_GLOBAL
11095 # define LT_DLGLOBAL 0
11099 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11100 find out it does not work in some platform. */
11101 #ifndef LT_DLLAZY_OR_NOW
11103 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11106 # define LT_DLLAZY_OR_NOW DL_LAZY
11109 # define LT_DLLAZY_OR_NOW RTLD_NOW
11112 # define LT_DLLAZY_OR_NOW DL_NOW
11114 # define LT_DLLAZY_OR_NOW 0
11121 /* When -fvisbility=hidden is used, assume the code has been annotated
11122 correspondingly for the symbols needed. */
11123 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11124 void fnord () __attribute__((visibility("default")));
11127 void fnord () { int i=42; }
11130 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11131 int status = $lt_dlunknown;
11135 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11138 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11139 else puts (dlerror ());
11141 /* dlclose (self); */
11149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11150 (eval $ac_link) 2>&5
11152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11153 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11154 (.
/conftest
; exit; ) >&5 2>/dev
/null
11156 case x
$lt_status in
11157 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11158 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11159 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11162 # compilation failed
11163 lt_cv_dlopen_self_static
=no
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11171 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11174 CPPFLAGS
="$save_CPPFLAGS"
11175 LDFLAGS
="$save_LDFLAGS"
11180 case $lt_cv_dlopen_self in
11181 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11182 *) enable_dlopen_self
=unknown
;;
11185 case $lt_cv_dlopen_self_static in
11186 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11187 *) enable_dlopen_self_static
=unknown
;;
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11210 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11211 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11212 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11213 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11215 $as_echo "yes" >&6; }
11217 # FIXME - insert some real tests, host_os isn't really good enough
11220 if test -n "$STRIP" ; then
11221 striplib
="$STRIP -x"
11222 old_striplib
="$STRIP -S"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11224 $as_echo "yes" >&6; }
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11227 $as_echo "no" >&6; }
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11232 $as_echo "no" >&6; }
11248 # Report which library types will actually be built
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11250 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11252 $as_echo "$can_build_shared" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11255 $as_echo_n "checking whether to build shared libraries... " >&6; }
11256 test "$can_build_shared" = "no" && enable_shared
=no
11258 # On AIX, shared libraries and static libraries use the same namespace, and
11259 # are all built from PIC.
11262 test "$enable_shared" = yes && enable_static
=no
11263 if test -n "$RANLIB"; then
11264 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11265 postinstall_cmds
='$RANLIB $lib'
11270 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11271 test "$enable_shared" = yes && enable_static
=no
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11276 $as_echo "$enable_shared" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11279 $as_echo_n "checking whether to build static libraries... " >&6; }
11280 # Make sure either enable_shared or enable_static is yes.
11281 test "$enable_shared" = yes || enable_static
=yes
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11283 $as_echo "$enable_static" >&6; }
11290 ac_cpp
='$CPP $CPPFLAGS'
11291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11309 ac_config_commands
="$ac_config_commands libtool"
11314 # Only expand once:
11318 # The tests for host and target for $enable_largefile require
11323 # As the $enable_largefile decision depends on --enable-plugins we must set it
11324 # even in directories otherwise not depending on the $plugins option.
11328 for ac_header
in dlfcn.h
11330 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11332 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
11333 cat >>confdefs.h
<<_ACEOF
11334 #define HAVE_DLFCN_H 1
11341 for ac_header
in windows.h
11343 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11345 if test "x$ac_cv_header_windows_h" = x
""yes; then :
11346 cat >>confdefs.h
<<_ACEOF
11347 #define HAVE_WINDOWS_H 1
11355 # Check whether --enable-plugins was given.
11356 if test "${enable_plugins+set}" = set; then :
11357 enableval
=$enable_plugins; case "${enableval}" in
11360 if test "$maybe_plugins" != "yes" ; then
11361 as_fn_error
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11365 plugins
=$maybe_plugins
11369 if test "$plugins" = "yes"; then
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11371 $as_echo_n "checking for library containing dlopen... " >&6; }
11372 if test "${ac_cv_search_dlopen+set}" = set; then :
11373 $as_echo_n "(cached) " >&6
11375 ac_func_search_save_LIBS
=$LIBS
11376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11394 for ac_lib
in '' dl
; do
11395 if test -z "$ac_lib"; then
11396 ac_res
="none required"
11399 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11401 if ac_fn_c_try_link
"$LINENO"; then :
11402 ac_cv_search_dlopen
=$ac_res
11404 rm -f core conftest.err conftest.
$ac_objext \
11406 if test "${ac_cv_search_dlopen+set}" = set; then :
11410 if test "${ac_cv_search_dlopen+set}" = set; then :
11413 ac_cv_search_dlopen
=no
11415 rm conftest.
$ac_ext
11416 LIBS
=$ac_func_search_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11419 $as_echo "$ac_cv_search_dlopen" >&6; }
11420 ac_res
=$ac_cv_search_dlopen
11421 if test "$ac_res" != no
; then :
11422 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11430 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
11431 # On native 32bit sparc and ia32 solaris, large-file and procfs support
11432 # are mutually exclusive; and without procfs support, the bfd/ elf module
11433 # cannot provide certain routines such as elfcore_write_prpsinfo
11434 # or elfcore_write_prstatus. So unless the user explicitly requested
11435 # large-file support through the --enable-largefile switch, disable
11436 # large-file support in favor of procfs support.
11437 test "${target}" = "${host}" -a "x$plugins" = xno \
11438 && : ${enable_largefile="no"}
11442 # Check whether --enable-largefile was given.
11443 if test "${enable_largefile+set}" = set; then :
11444 enableval
=$enable_largefile;
11447 if test "$enable_largefile" != no
; then
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11450 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11451 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11452 $as_echo_n "(cached) " >&6
11454 ac_cv_sys_largefile_CC
=no
11455 if test "$GCC" != yes; then
11458 # IRIX 6.2 and later do not support large files by default,
11459 # so use the C compiler's -n32 option if that helps.
11460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11462 #include <sys/types.h>
11463 /* Check that off_t can represent 2**63 - 1 correctly.
11464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11465 since some C++ compilers masquerading as C compilers
11466 incorrectly reject 9223372036854775807. */
11467 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11469 && LARGE_OFF_T % 2147483647 == 1)
11479 if ac_fn_c_try_compile
"$LINENO"; then :
11482 rm -f core conftest.err conftest.
$ac_objext
11484 if ac_fn_c_try_compile
"$LINENO"; then :
11485 ac_cv_sys_largefile_CC
=' -n32'; break
11487 rm -f core conftest.err conftest.
$ac_objext
11491 rm -f conftest.
$ac_ext
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11495 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11496 if test "$ac_cv_sys_largefile_CC" != no
; then
11497 CC
=$CC$ac_cv_sys_largefile_CC
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11501 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11502 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11503 $as_echo_n "(cached) " >&6
11506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11508 #include <sys/types.h>
11509 /* Check that off_t can represent 2**63 - 1 correctly.
11510 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11511 since some C++ compilers masquerading as C compilers
11512 incorrectly reject 9223372036854775807. */
11513 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11514 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11515 && LARGE_OFF_T % 2147483647 == 1)
11525 if ac_fn_c_try_compile
"$LINENO"; then :
11526 ac_cv_sys_file_offset_bits
=no
; break
11528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11531 #define _FILE_OFFSET_BITS 64
11532 #include <sys/types.h>
11533 /* Check that off_t can represent 2**63 - 1 correctly.
11534 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11535 since some C++ compilers masquerading as C compilers
11536 incorrectly reject 9223372036854775807. */
11537 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11538 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11539 && LARGE_OFF_T % 2147483647 == 1)
11549 if ac_fn_c_try_compile
"$LINENO"; then :
11550 ac_cv_sys_file_offset_bits
=64; break
11552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11553 ac_cv_sys_file_offset_bits
=unknown
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11558 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11559 case $ac_cv_sys_file_offset_bits in #(
11562 cat >>confdefs.h
<<_ACEOF
11563 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11568 if test $ac_cv_sys_file_offset_bits = unknown
; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11570 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11571 if test "${ac_cv_sys_large_files+set}" = set; then :
11572 $as_echo_n "(cached) " >&6
11575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11577 #include <sys/types.h>
11578 /* Check that off_t can represent 2**63 - 1 correctly.
11579 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11580 since some C++ compilers masquerading as C compilers
11581 incorrectly reject 9223372036854775807. */
11582 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11583 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11584 && LARGE_OFF_T % 2147483647 == 1)
11594 if ac_fn_c_try_compile
"$LINENO"; then :
11595 ac_cv_sys_large_files
=no
; break
11597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11600 #define _LARGE_FILES 1
11601 #include <sys/types.h>
11602 /* Check that off_t can represent 2**63 - 1 correctly.
11603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11604 since some C++ compilers masquerading as C compilers
11605 incorrectly reject 9223372036854775807. */
11606 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11608 && LARGE_OFF_T % 2147483647 == 1)
11618 if ac_fn_c_try_compile
"$LINENO"; then :
11619 ac_cv_sys_large_files
=1; break
11621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11622 ac_cv_sys_large_files
=unknown
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11627 $as_echo "$ac_cv_sys_large_files" >&6; }
11628 case $ac_cv_sys_large_files in #(
11631 cat >>confdefs.h
<<_ACEOF
11632 #define _LARGE_FILES $ac_cv_sys_large_files
11642 # Check whether --enable-targets was given.
11643 if test "${enable_targets+set}" = set; then :
11644 enableval
=$enable_targets; case "${enableval}" in
11645 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11647 no
) enable_targets
= ;;
11648 *) enable_targets
=$enableval ;;
11653 if grep '^RELEASE=y' ${srcdir}/..
/bfd
/Makefile.am
>/dev
/null
2>/dev
/null
; then
11656 # Check whether --enable-checking was given.
11657 if test "${enable_checking+set}" = set; then :
11658 enableval
=$enable_checking; case "${enableval}" in
11659 no|none
) ac_checking
= ;;
11660 *) ac_checking
=yes ;;
11663 if test x
$ac_checking != x
; then
11665 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11670 # Decide the default method for compressing debug sections.
11671 ac_default_compressed_debug_sections
=unset
11672 # Provide a configure time option to override our default.
11673 # Check whether --enable-compressed_debug_sections was given.
11674 if test "${enable_compressed_debug_sections+set}" = set; then :
11675 enableval
=$enable_compressed_debug_sections; case "${enableval}" in
11676 yes | all | gas
) ac_default_compressed_debug_sections
=yes ;;
11677 no | none
) ac_default_compressed_debug_sections
=no
;;
11678 *) ac_default_compressed_debug_sections
=unset ;;
11685 # Set the 'development' global.
11686 .
$srcdir/..
/bfd
/development.sh
11688 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11694 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
11697 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11702 # Check whether --enable-werror was given.
11703 if test "${enable_werror+set}" = set; then :
11704 enableval
=$enable_werror; case "${enableval}" in
11705 yes | y
) ERROR_ON_WARNING
="yes" ;;
11706 no | n
) ERROR_ON_WARNING
="no" ;;
11707 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11712 # Disable -Wformat by default when using gcc on mingw
11715 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11716 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11722 # Enable -Werror by default when using gcc. Turn it off for releases.
11723 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
11724 ERROR_ON_WARNING
=yes
11728 if test "${ERROR_ON_WARNING}" = yes ; then
11729 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11730 NO_WERROR
="-Wno-error"
11733 if test "${GCC}" = yes ; then
11734 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11737 # Check whether --enable-build-warnings was given.
11738 if test "${enable_build_warnings+set}" = set; then :
11739 enableval
=$enable_build_warnings; case "${enableval}" in
11740 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11741 no
) if test "${GCC}" = yes ; then
11744 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11745 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11746 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11747 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11748 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11753 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11754 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11761 # Generate a header file
11762 ac_config_headers
="$ac_config_headers config.h:config.in"
11768 # If we are on a DOS filesystem, we must use gdb.ini rather than
11771 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
11773 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
11778 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
11784 #We need this for the host. BOUT header is in host order.
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11786 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11787 if test "${ac_cv_c_bigendian+set}" = set; then :
11788 $as_echo_n "(cached) " >&6
11790 ac_cv_c_bigendian
=unknown
11791 # See if we're dealing with a universal compiler.
11792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11794 #ifndef __APPLE_CC__
11795 not a universal capable compiler
11800 if ac_fn_c_try_compile
"$LINENO"; then :
11802 # Check for potential -arch flags. It is not universal unless
11803 # there are at least two -arch flags with different values.
11806 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11807 if test -n "$ac_prev"; then
11809 i?
86 | x86_64 | ppc | ppc64
)
11810 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
11813 ac_cv_c_bigendian
=universal
11819 elif test "x$ac_word" = "x-arch"; then
11824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11825 if test $ac_cv_c_bigendian = unknown
; then
11826 # See if sys/param.h defines the BYTE_ORDER macro.
11827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11829 #include <sys/types.h>
11830 #include <sys/param.h>
11835 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11836 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11838 bogus endian macros
11845 if ac_fn_c_try_compile
"$LINENO"; then :
11846 # It does; now see whether it defined to BIG_ENDIAN or not.
11847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11849 #include <sys/types.h>
11850 #include <sys/param.h>
11855 #if BYTE_ORDER != BIG_ENDIAN
11863 if ac_fn_c_try_compile
"$LINENO"; then :
11864 ac_cv_c_bigendian
=yes
11866 ac_cv_c_bigendian
=no
11868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11872 if test $ac_cv_c_bigendian = unknown
; then
11873 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11876 #include <limits.h>
11881 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11882 bogus endian macros
11889 if ac_fn_c_try_compile
"$LINENO"; then :
11890 # It does; now see whether it defined to _BIG_ENDIAN or not.
11891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #include <limits.h>
11898 #ifndef _BIG_ENDIAN
11906 if ac_fn_c_try_compile
"$LINENO"; then :
11907 ac_cv_c_bigendian
=yes
11909 ac_cv_c_bigendian
=no
11911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11915 if test $ac_cv_c_bigendian = unknown
; then
11916 # Compile a test program.
11917 if test "$cross_compiling" = yes; then :
11918 # Try to guess by grepping values from an object file.
11919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 short int ascii_mm[] =
11922 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11923 short int ascii_ii[] =
11924 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11925 int use_ascii (int i) {
11926 return ascii_mm[i] + ascii_ii[i];
11928 short int ebcdic_ii[] =
11929 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11930 short int ebcdic_mm[] =
11931 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11932 int use_ebcdic (int i) {
11933 return ebcdic_mm[i] + ebcdic_ii[i];
11940 return use_ascii (foo) == use_ebcdic (foo);
11945 if ac_fn_c_try_compile
"$LINENO"; then :
11946 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
11947 ac_cv_c_bigendian
=yes
11949 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
11950 if test "$ac_cv_c_bigendian" = unknown
; then
11951 ac_cv_c_bigendian
=no
11953 # finding both strings is unlikely to happen, but who knows?
11954 ac_cv_c_bigendian
=unknown
11958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11962 $ac_includes_default
11967 /* Are we little or big endian? From Harbison&Steele. */
11971 char c[sizeof (long int)];
11974 return u.c[sizeof (long int) - 1] == 1;
11980 if ac_fn_c_try_run
"$LINENO"; then :
11981 ac_cv_c_bigendian
=no
11983 ac_cv_c_bigendian
=yes
11985 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11986 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11992 $as_echo "$ac_cv_c_bigendian" >&6; }
11993 case $ac_cv_c_bigendian in #(
11995 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12001 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12005 as_fn_error
"unknown endianness
12006 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12012 # Makefile target for installing gas in $(tooldir)/bin.
12013 install_tooldir
=install-exec-tooldir
12017 if test -n "$enable_targets" ; then
12018 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
12019 if test $t = "all"; then
12023 result
=`$ac_config_sub $t 2>/dev/null`
12024 if test -n "$result" ; then
12025 canon_targets
="$canon_targets $result"
12027 # # Permit "all", etc. We don't support it yet though.
12028 # canon_targets="$canon_targets $t"
12031 _gas_uniq_list
="$canon_targets"
12032 _gas_uniq_newlist
=""
12033 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12034 case $_gas_uniq_i in
12035 _gas_uniq_dummy
) ;;
12036 *) case " $_gas_uniq_newlist " in
12037 *" $_gas_uniq_i "*) ;;
12038 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12042 canon_targets
=$_gas_uniq_newlist
12048 for this_target
in $target $canon_targets ; do
12050 targ
=${this_target}
12051 .
${srcdir}/configure.tgt
12053 case ${target_cpu} in
12056 cat >>confdefs.h
<<_ACEOF
12057 #define DEFAULT_CRIS_ARCH $arch
12063 if test ${this_target} = $target ; then
12064 target_cpu_type
=${cpu_type}
12065 elif test ${target_cpu_type} != ${cpu_type} ; then
12069 generic_target
=${cpu_type}-${target_vendor}-${target_os}
12070 case ${generic_target} in
12072 if test ${this_target} = $target; then
12074 $as_echo "#define SCO_ELF 1" >>confdefs.h
12079 i386-
*-msdosdjgpp* \
12081 | i386-go32-rtems
*)
12083 $as_echo "#define STRICTCOFF 1" >>confdefs.h
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
12089 $as_echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
12097 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
12101 if test ${this_target} = $target; then
12103 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
12106 if test x
${endian} = xbig
; then
12107 as_fn_error
"Solaris must be configured little endian" "$LINENO" 5
12113 $as_echo "#define TARGET_SYMBIAN 1" >>confdefs.h
12118 if test ${this_target} = $target ; then
12120 if test x
${endian} = xbig
; then
12122 elif test x
${endian} = xlittle
; then
12125 if test x
${endian_def} != x
; then
12127 cat >>confdefs.h
<<_ACEOF
12128 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12134 # Other random stuff.
12136 case ${cpu_type} in
12138 # Set mips_cpu to the name of the default CPU.
12139 case ${target_cpu} in
12140 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
12143 mipsisa32 | mipsisa32el
)
12146 mipsisa32r2 | mipsisa32r2el
)
12149 mipsisa32r3 | mipsisa32r3el
)
12152 mipsisa32r5 | mipsisa32r5el
)
12155 mipsisa32r6 | mipsisa32r6el
)
12158 mipsisa64 | mipsisa64el
)
12161 mipsisa64r2 | mipsisa64r2el
)
12164 mipsisa64r3 | mipsisa64r3el
)
12167 mipsisa64r5 | mipsisa64r5el
)
12170 mipsisa64r6 | mipsisa64r6el
)
12173 mipstx39 | mipstx39el
)
12176 mips64vr | mips64vrel
)
12179 mipsisa32r2
* | mipsisa64r2
*)
12180 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12182 mipsisa32r6
* | mipsisa64r6
*)
12183 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r6//' -e 's/el$//'`
12185 mips64
* | mipsisa64
* | mipsisa32
*)
12186 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12189 mips_cpu
=`echo $target_cpu | sed -e 's/^mips//' -e 's/el$//'`
12192 as_fn_error
"$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12195 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12196 # binaries. It's a GNU extension that some OSes don't understand.
12199 use_e_mips_abi_o32
=0
12202 use_e_mips_abi_o32
=1
12205 # Decide whether to generate 32-bit or 64-bit code by default.
12206 # Used to resolve -march=from-abi when an embedded ABI is selected.
12208 mips64
*-*-* | mipsisa64
*-*-*)
12209 mips_default_64bit
=1
12212 mips_default_64bit
=0
12215 # Decide which ABI to target by default.
12217 mips64
*-linux* | mips-sgi-irix6
* | mips64
*-freebsd* | mips64
*-kfreebsd*-gnu)
12218 mips_default_abi
=N32_ABI
12220 mips
*-linux* | mips
*-freebsd* | mips
*-kfreebsd*-gnu)
12221 mips_default_abi
=O32_ABI
12224 mips_default_abi
=N64_ABI
12227 mips_default_abi
=NO_ABI
12231 cat >>confdefs.h
<<_ACEOF
12232 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12236 cat >>confdefs.h
<<_ACEOF
12237 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12241 cat >>confdefs.h
<<_ACEOF
12242 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12246 cat >>confdefs.h
<<_ACEOF
12247 #define MIPS_DEFAULT_ABI $mips_default_abi
12253 # Do we need the opcodes library?
12254 case ${cpu_type} in
12261 case "${enable_shared}" in
12262 yes) shared_opcodes
=true
;;
12263 *opcodes
*) shared_opcodes
=true
;;
12264 *) shared_opcodes
=false
;;
12269 # Any other special object files needed ?
12270 case ${cpu_type} in
12273 echo ${extra_objects} |
grep -s "bfin-parse.o"
12274 if test $?
-ne 0 ; then
12275 extra_objects
="$extra_objects bfin-parse.o"
12278 echo ${extra_objects} |
grep -s "bfin-lex-wrapper.o"
12279 if test $?
-ne 0 ; then
12280 extra_objects
="$extra_objects bfin-lex-wrapper.o"
12284 epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k
)
12295 case ${extra_objects} in
12297 *) extra_objects
="$extra_objects m68k-parse.o" ;;
12306 echo ${extra_objects} |
grep -s "itbl-parse.o"
12307 if test $?
-ne 0 ; then
12308 extra_objects
="$extra_objects itbl-parse.o"
12311 echo ${extra_objects} |
grep -s "itbl-lex-wrapper.o"
12312 if test $?
-ne 0 ; then
12313 extra_objects
="$extra_objects itbl-lex-wrapper.o"
12316 echo ${extra_objects} |
grep -s "itbl-ops.o"
12317 if test $?
-ne 0 ; then
12318 extra_objects
="$extra_objects itbl-ops.o"
12327 # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features
12328 # based on arch_name.
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
12330 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
12331 if test "x${with_arch}" != x
; then
12332 case ${with_arch} in
12333 v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3
)
12335 cat >>confdefs.h
<<_ACEOF
12336 #define NDS32_DEFAULT_ARCH_NAME "$with_arch"
12341 as_fn_error
"This kind of arch name does *NOT* exist!" "$LINENO" 5
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
12346 $as_echo "$with_arch" >&6; }
12348 # Decide features one by one.
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
12350 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
12351 if test "x${enable_dx_regs}" = xyes
; then
12353 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
12357 $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5
12361 $as_echo "$enable_dx_regs" >&6; }
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
12364 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
12365 if test "x${enable_perf_ext}" = xno
; then
12367 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
12371 $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5
12375 $as_echo "$enable_perf_ext" >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
12378 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
12379 if test "x${enable_perf_ext2}" = xno
; then
12381 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
12385 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5
12389 $as_echo "$enable_perf_ext2" >&6; }
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
12392 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
12393 if test "x${enable_string_ext}" = xno
; then
12395 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
12399 $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5
12403 $as_echo "$enable_string_ext" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
12406 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
12407 if test "x${enable_audio_ext}" = xno
; then
12409 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
12413 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5
12417 $as_echo "$enable_audio_ext" >&6; }
12420 i386 | s390 | sparc
)
12421 if test $this_target = $target ; then
12423 cat >>confdefs.h
<<_ACEOF
12424 #define DEFAULT_ARCH "${arch}"
12431 echo ${extra_objects} |
grep -s "rl78-parse.o"
12432 if test $?
-ne 0 ; then
12433 extra_objects
="$extra_objects rl78-parse.o"
12438 echo ${extra_objects} |
grep -s "rx-parse.o"
12439 if test $?
-ne 0 ; then
12440 extra_objects
="$extra_objects rx-parse.o"
12453 echo ${extra_objects} |
grep -s "xtensa-relax.o"
12454 if test $?
-ne 0 ; then
12455 extra_objects
="$extra_objects xtensa-relax.o"
12463 if test $using_cgen = yes ; then
12464 case "x${extra_objects}" in
12466 *) extra_objects
="$extra_objects cgen.o" ;;
12470 # See if we really can support this configuration with the emulation code.
12472 if test $this_target = $target ; then
12478 vms
) extra_objects
="$extra_objects te-vms.o" ;;
12481 # From target name and format, produce a list of supported emulations.
12483 case ${generic_target}-${fmt} in
12484 mips-
*-*-*) case "$endian" in
12485 big
) emulation
="mipsbelf mipslelf mipself" ;;
12486 *) emulation
="mipslelf mipsbelf mipself" ;;
12488 # i386-pc-pe-coff != i386-pc-coff.
12490 # Uncommenting the next line will turn on support for i386 AOUT
12491 # for the default linux configuration
12492 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
12494 i386-
*-aout) emulation
="i386aout" ;;
12495 i386-
*-coff) emulation
="i386coff" ;;
12496 i386-
*-elf) emulation
="i386elf" ;;
12498 # Always all formats. The first stated emulation becomes the default.
12499 cris-
*-*aout
*) emulation
="crisaout criself" ;;
12500 cris-
*-*) emulation
="criself crisaout" ;;
12503 emulations
="$emulations $emulation"
12507 if test x
$ac_default_compressed_debug_sections == xyes
; then
12509 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
12513 # Turn on all targets if possible
12514 if test ${all_targets} = "yes"; then
12515 case ${target_cpu_type} in
12517 case ${obj_format} in
12519 emulations
="$emulations i386coff i386elf"
12522 emulations
="$emulations i386aout i386elf"
12525 emulations
="$emulations i386aout i386coff"
12530 case ${obj_format} in
12532 emulations
="$emulations i386coff i386elf"
12535 emulations
="$emulations i386aout i386elf"
12538 emulations
="$emulations i386aout i386coff"
12545 # PE code has way too many macros tweaking behaviour
12547 pe
*) emulations
="" ;;
12550 # Assign floating point type. Most processors with FP support
12551 # IEEE FP. On those that don't support FP at all, usually IEEE
12553 case ${target_cpu} in
12554 vax | pdp11
) atof
=vax
;;
12558 case "${obj_format}" in
12559 "") as_fn_error
"GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
12562 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
12564 if test $using_cgen = yes ; then
12565 case ${target_cpu} in
12567 cgen_cpu_prefix
=or1k
;;
12568 *) cgen_cpu_prefix
=${target_cpu} ;;
12572 $as_echo "#define USING_CGEN 1" >>confdefs.h
12577 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
12578 as_fn_error
"GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
12581 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
12582 as_fn_error
"GAS does not have support for object file format ${obj_format}" "$LINENO" 5
12585 # Some COFF configurations want these random other flags set.
12586 case ${obj_format} in
12588 case ${target_cpu_type} in
12590 $as_echo "#define I386COFF 1" >>confdefs.h
12593 $as_echo "#define M68KCOFF 1" >>confdefs.h
12596 $as_echo "#define M88KCOFF 1" >>confdefs.h
12599 $as_echo "#define I386COFF 1" >>confdefs.h
12605 # Getting this done right is going to be a bitch. Each configuration specified
12606 # with --enable-targets=... should be checked for environment, format, cpu
12609 # For each configuration, the necessary object file support code must be linked
12610 # in. This might be only one, it might be up to four. The necessary emulation
12611 # code needs to be provided, too.
12613 # And then there's "--enable-targets=all"....
12615 # For now, just always do it for MIPS ELF configurations. Sigh.
12617 formats
="${obj_format}"
12620 _gas_uniq_list
="$emulations"
12621 _gas_uniq_newlist
=""
12622 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12623 case $_gas_uniq_i in
12624 _gas_uniq_dummy
) ;;
12625 *) case " $_gas_uniq_newlist " in
12626 *" $_gas_uniq_i "*) ;;
12627 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12631 emulations
=$_gas_uniq_newlist
12633 for em
in .
$emulations ; do
12636 mipsbelf | mipslelf | mipself
)
12637 fmt=elf
file=mipself
;;
12639 fmt=coff
file=$em ;;
12641 fmt=aout
file=$em ;;
12643 fmt=elf
file=$em ;;
12645 formats
="$formats $fmt"
12646 emfiles
="$emfiles e-$file.o"
12647 EMULATIONS
="$EMULATIONS &$em,"
12649 _gas_uniq_list
="$formats"
12650 _gas_uniq_newlist
=""
12651 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12652 case $_gas_uniq_i in
12653 _gas_uniq_dummy
) ;;
12654 *) case " $_gas_uniq_newlist " in
12655 *" $_gas_uniq_i "*) ;;
12656 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12660 formats
=$_gas_uniq_newlist
12662 _gas_uniq_list
="$emfiles"
12663 _gas_uniq_newlist
=""
12664 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12665 case $_gas_uniq_i in
12666 _gas_uniq_dummy
) ;;
12667 *) case " $_gas_uniq_newlist " in
12668 *" $_gas_uniq_i "*) ;;
12669 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12673 emfiles
=$_gas_uniq_newlist
12675 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
12676 for fmt in $formats ; do
12679 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
12682 $as_echo "#define OBJ_MAYBE_BOUT 1" >>confdefs.h
12685 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
12688 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
12691 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
12694 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
12697 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
12700 extra_objects
="$extra_objects obj-$fmt.o"
12704 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
12705 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
12706 # e-mipself has more than one emulation per file, e-i386* has just one at the
12707 # moment. If only one emulation is specified, then don't define
12708 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
12709 case "${obj_format}${emfiles}" in
12710 multi
* |
*mipself
*)
12711 extra_objects
="$extra_objects $emfiles"
12713 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
12719 cat >>confdefs.h
<<_ACEOF
12720 #define EMULATIONS $EMULATIONS
12724 cat >>confdefs.h
<<_ACEOF
12725 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
12729 reject_dev_configs
=yes
12731 case ${reject_dev_configs}-${dev} in
12733 as_fn_error
"GAS does not support the ${generic_target} configuration." "$LINENO" 5
12743 # do we need the opcodes library?
12744 case "${need_opcodes}" in
12746 OPCODES_LIB
=..
/opcodes
/libopcodes.la
12753 cat >>confdefs.h
<<_ACEOF
12754 #define TARGET_ALIAS "${target_alias}"
12758 cat >>confdefs.h
<<_ACEOF
12759 #define TARGET_CANONICAL "${target}"
12763 cat >>confdefs.h
<<_ACEOF
12764 #define TARGET_CPU "${target_cpu}"
12768 cat >>confdefs.h
<<_ACEOF
12769 #define TARGET_VENDOR "${target_vendor}"
12773 cat >>confdefs.h
<<_ACEOF
12774 #define TARGET_OS "${target_os}"
12778 for ac_prog
in 'bison -y' byacc
12780 # Extract the first word of "$ac_prog", so it can be a program name with args.
12781 set dummy
$ac_prog; ac_word
=$2
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12783 $as_echo_n "checking for $ac_word... " >&6; }
12784 if test "${ac_cv_prog_YACC+set}" = set; then :
12785 $as_echo_n "(cached) " >&6
12787 if test -n "$YACC"; then
12788 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12791 for as_dir
in $PATH
12794 test -z "$as_dir" && as_dir
=.
12795 for ac_exec_ext
in '' $ac_executable_extensions; do
12796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12797 ac_cv_prog_YACC
="$ac_prog"
12798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12807 YACC
=$ac_cv_prog_YACC
12808 if test -n "$YACC"; then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12810 $as_echo "$YACC" >&6; }
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12813 $as_echo "no" >&6; }
12817 test -n "$YACC" && break
12819 test -n "$YACC" || YACC
="yacc"
12821 for ac_prog
in flex
lex
12823 # Extract the first word of "$ac_prog", so it can be a program name with args.
12824 set dummy
$ac_prog; ac_word
=$2
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12826 $as_echo_n "checking for $ac_word... " >&6; }
12827 if test "${ac_cv_prog_LEX+set}" = set; then :
12828 $as_echo_n "(cached) " >&6
12830 if test -n "$LEX"; then
12831 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12834 for as_dir
in $PATH
12837 test -z "$as_dir" && as_dir
=.
12838 for ac_exec_ext
in '' $ac_executable_extensions; do
12839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12840 ac_cv_prog_LEX
="$ac_prog"
12841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12850 LEX
=$ac_cv_prog_LEX
12851 if test -n "$LEX"; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12853 $as_echo "$LEX" >&6; }
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12856 $as_echo "no" >&6; }
12860 test -n "$LEX" && break
12862 test -n "$LEX" || LEX
=":"
12864 if test "x$LEX" != "x:"; then
12865 cat >conftest.l
<<_ACEOF
12871 e { yyless (input () != 0); }
12872 f { unput (yytext[0]); }
12873 . { BEGIN INITIAL; }
12875 #ifdef YYTEXT_POINTER
12876 extern char *yytext;
12881 return ! yylex () + ! yywrap ();
12884 { { ac_try
="$LEX conftest.l"
12885 case "(($ac_try" in
12886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12887 *) ac_try_echo=$ac_try;;
12889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12890 $as_echo "$ac_try_echo"; } >&5
12891 (eval "$LEX conftest.l") 2>&5
12893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12894 test $ac_status = 0; }
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12896 $as_echo_n "checking lex output file root... " >&6; }
12897 if test "${ac_cv_prog_lex_root+set}" = set; then :
12898 $as_echo_n "(cached) " >&6
12901 if test -f lex.yy.c; then
12902 ac_cv_prog_lex_root=lex.yy
12903 elif test -f lexyy.c; then
12904 ac_cv_prog_lex_root=lexyy
12906 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12910 $as_echo "$ac_cv_prog_lex_root" >&6; }
12911 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12913 if test -z "${LEXLIB+set}"; then
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12915 $as_echo_n "checking lex library... " >&6; }
12916 if test "${ac_cv_lib_lex+set}" = set; then :
12917 $as_echo_n "(cached) " >&6
12921 ac_cv_lib_lex='none needed'
12922 for ac_lib in '' -lfl -ll; do
12923 LIBS="$ac_lib $ac_save_LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 `cat $LEX_OUTPUT_ROOT.c
`
12928 if ac_fn_c_try_link "$LINENO"; then :
12929 ac_cv_lib_lex=$ac_lib
12931 rm -f core conftest.err conftest.$ac_objext \
12932 conftest$ac_exeext conftest.$ac_ext
12933 test "$ac_cv_lib_lex" != 'none needed' && break
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12939 $as_echo "$ac_cv_lib_lex" >&6; }
12940 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12945 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12946 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
12947 $as_echo_n "(cached) " >&6
12949 # POSIX says lex can declare yytext either as a pointer or an array; the
12950 # default is implementation-dependent. Figure out which it is, since
12951 # not all implementations provide the %pointer and %array declarations.
12952 ac_cv_prog_lex_yytext_pointer=no
12954 LIBS="$LEXLIB $ac_save_LIBS"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12957 #define YYTEXT_POINTER 1
12958 `cat $LEX_OUTPUT_ROOT.c
`
12960 if ac_fn_c_try_link "$LINENO"; then :
12961 ac_cv_prog_lex_yytext_pointer=yes
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12969 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12970 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12972 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12975 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12978 if test "$LEX" = :; then
12979 LEX=${am_missing_run}flex
12982 ALL_LINGUAS="fr tr es rw id ru fi ja"
12983 # If we haven't got the data from the intl directory,
12984 # assume NLS is disabled.
12993 if test -f ../intl/config.intl; then
12994 . ../intl/config.intl
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12997 $as_echo_n "checking whether NLS is requested... " >&6; }
12998 if test x"$USE_NLS" != xyes; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13000 $as_echo "no" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13003 $as_echo "yes" >&6; }
13005 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13009 $as_echo_n "checking for catalogs to be installed... " >&6; }
13010 # Look for .po and .gmo files in the source directory.
13013 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
13014 # If there aren't any .gmo files the shell will give us the
13015 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13017 case "$cat" in *\**)
13020 # The quadruple backslash is collapsed to a double backslash
13021 # by the backticks, then collapsed again by the double quotes,
13022 # leaving us with one backslash in the sed expression (right
13023 # before the dot that mustn't act as a wildcard).
13024 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13025 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
13026 # The user is allowed to set LINGUAS to a list of languages to
13027 # install catalogs for. If it's empty that means "all of them."
13028 if test "x$LINGUAS" = x; then
13029 CATALOGS="$CATALOGS $cat"
13030 XLINGUAS="$XLINGUAS $lang"
13032 case "$LINGUAS" in *$lang*)
13033 CATALOGS="$CATALOGS $cat"
13034 XLINGUAS="$XLINGUAS $lang"
13039 LINGUAS="$XLINGUAS"
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13041 $as_echo "$LINGUAS" >&6; }
13055 if test -n "$ac_aux_dir"; then
13056 case "$ac_aux_dir" in
13057 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
13058 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13061 if test -z "$MKINSTALLDIRS"; then
13062 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13068 $as_echo_n "checking whether NLS is requested... " >&6; }
13069 # Check whether --enable-nls was given.
13070 if test "${enable_nls+set}" = set; then :
13071 enableval=$enable_nls; USE_NLS=$enableval
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13077 $as_echo "$USE_NLS" >&6; }
13084 # Prepare PATH_SEPARATOR.
13085 # The user is always right.
13086 if test "${PATH_SEPARATOR+set}" != set; then
13087 echo "#! /bin/sh" >conf$$.sh
13088 echo "exit 0" >>conf$$.sh
13090 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13098 # Find out how to test for executable files. Don't use a zero-byte file,
13099 # as systems may use methods other than mode bits to determine executability.
13100 cat >conf$$.file <<_ASEOF
13104 chmod +x conf$$.file
13105 if test -x conf$$.file >/dev/null 2>&1; then
13106 ac_executable_p="test -x"
13108 ac_executable_p="test -f"
13112 # Extract the first word of "msgfmt", so it can be a program name with args.
13113 set dummy msgfmt; ac_word=$2
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13115 $as_echo_n "checking for $ac_word... " >&6; }
13116 if test "${ac_cv_path_MSGFMT+set}" = set; then :
13117 $as_echo_n "(cached) " >&6
13121 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13124 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13125 for ac_dir in $PATH; do
13127 test -z "$ac_dir" && ac_dir=.
13128 for ac_exec_ext in '' $ac_executable_extensions; do
13129 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13130 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
13131 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13132 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13139 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13143 MSGFMT="$ac_cv_path_MSGFMT"
13144 if test "$MSGFMT" != ":"; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13146 $as_echo "$MSGFMT" >&6; }
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149 $as_echo "no" >&6; }
13152 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13153 set dummy gmsgfmt; ac_word=$2
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13155 $as_echo_n "checking for $ac_word... " >&6; }
13156 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13157 $as_echo_n "(cached) " >&6
13161 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13168 test -z "$as_dir" && as_dir=.
13169 for ac_exec_ext in '' $ac_executable_extensions; do
13170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13171 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13179 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13183 GMSGFMT=$ac_cv_path_GMSGFMT
13184 if test -n "$GMSGFMT"; then
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13186 $as_echo "$GMSGFMT" >&6; }
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13195 # Prepare PATH_SEPARATOR.
13196 # The user is always right.
13197 if test "${PATH_SEPARATOR+set}" != set; then
13198 echo "#! /bin/sh" >conf$$.sh
13199 echo "exit 0" >>conf$$.sh
13201 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13209 # Find out how to test for executable files. Don't use a zero-byte file,
13210 # as systems may use methods other than mode bits to determine executability.
13211 cat >conf$$.file <<_ASEOF
13215 chmod +x conf$$.file
13216 if test -x conf$$.file >/dev/null 2>&1; then
13217 ac_executable_p="test -x"
13219 ac_executable_p="test -f"
13223 # Extract the first word of "xgettext", so it can be a program name with args.
13224 set dummy xgettext; ac_word=$2
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13226 $as_echo_n "checking for $ac_word... " >&6; }
13227 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13228 $as_echo_n "(cached) " >&6
13230 case "$XGETTEXT" in
13232 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13235 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13236 for ac_dir in $PATH; do
13238 test -z "$ac_dir" && ac_dir=.
13239 for ac_exec_ext in '' $ac_executable_extensions; do
13240 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13241 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13242 (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
13243 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13250 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13254 XGETTEXT="$ac_cv_path_XGETTEXT"
13255 if test "$XGETTEXT" != ":"; then
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13257 $as_echo "$XGETTEXT" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260 $as_echo "no" >&6; }
13266 # Prepare PATH_SEPARATOR.
13267 # The user is always right.
13268 if test "${PATH_SEPARATOR+set}" != set; then
13269 echo "#! /bin/sh" >conf$$.sh
13270 echo "exit 0" >>conf$$.sh
13272 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13280 # Find out how to test for executable files. Don't use a zero-byte file,
13281 # as systems may use methods other than mode bits to determine executability.
13282 cat >conf$$.file <<_ASEOF
13286 chmod +x conf$$.file
13287 if test -x conf$$.file >/dev/null 2>&1; then
13288 ac_executable_p="test -x"
13290 ac_executable_p="test -f"
13294 # Extract the first word of "msgmerge", so it can be a program name with args.
13295 set dummy msgmerge; ac_word=$2
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13297 $as_echo_n "checking for $ac_word... " >&6; }
13298 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13299 $as_echo_n "(cached) " >&6
13301 case "$MSGMERGE" in
13303 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13306 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13307 for ac_dir in $PATH; do
13309 test -z "$ac_dir" && ac_dir=.
13310 for ac_exec_ext in '' $ac_executable_extensions; do
13311 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13312 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13313 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13320 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13324 MSGMERGE="$ac_cv_path_MSGMERGE"
13325 if test "$MSGMERGE" != ":"; then
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13327 $as_echo "$MSGMERGE" >&6; }
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13330 $as_echo "no" >&6; }
13334 if test "$GMSGFMT" != ":"; then
13335 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
13336 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13339 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13341 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13346 if test "$XGETTEXT" != ":"; then
13347 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13348 (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
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13352 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13358 ac_config_commands="$ac_config_commands default-1"
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13364 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13365 # Check whether --enable-maintainer-mode was given.
13366 if test "${enable_maintainer_mode+set}" = set; then :
13367 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13369 USE_MAINTAINER_MODE=no
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13373 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13374 if test $USE_MAINTAINER_MODE = yes; then
13375 MAINTAINER_MODE_TRUE=
13376 MAINTAINER_MODE_FALSE='#'
13378 MAINTAINER_MODE_TRUE='#'
13379 MAINTAINER_MODE_FALSE=
13382 MAINT=$MAINTAINER_MODE_TRUE
13386 GENINSRC_NEVER_TRUE=
13387 GENINSRC_NEVER_FALSE='#'
13389 GENINSRC_NEVER_TRUE='#'
13390 GENINSRC_NEVER_FALSE=
13395 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
13397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13398 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13399 eval as_val=\$$as_ac_Header
13400 if test "x$as_val" = x""yes; then :
13401 cat >>confdefs.h <<_ACEOF
13402 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
13410 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
13411 if test "${gcc_cv_header_string+set}" = set; then :
13412 $as_echo_n "(cached) " >&6
13414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13416 #include <string.h>
13417 #include <strings.h>
13426 if ac_fn_c_try_compile "$LINENO"; then :
13427 gcc_cv_header_string=yes
13429 gcc_cv_header_string=no
13431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
13434 $as_echo "$gcc_cv_header_string" >&6; }
13435 if test $gcc_cv_header_string = yes; then
13437 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
13442 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
13443 # people who are not cross-compiling but are compiling cross-assemblers.
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
13445 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
13446 if test "${host}" = "${target}"; then
13451 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
13455 $as_echo "$cross_gas" >&6; }
13457 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13458 # for constant arguments. Useless!
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13460 $as_echo_n "checking for working alloca.h... " >&6; }
13461 if test "${ac_cv_working_alloca_h+set}" = set; then :
13462 $as_echo_n "(cached) " >&6
13464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13466 #include <alloca.h>
13470 char *p = (char *) alloca (2 * sizeof (int));
13476 if ac_fn_c_try_link "$LINENO"; then :
13477 ac_cv_working_alloca_h=yes
13479 ac_cv_working_alloca_h=no
13481 rm -f core conftest.err conftest.$ac_objext \
13482 conftest$ac_exeext conftest.$ac_ext
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13485 $as_echo "$ac_cv_working_alloca_h" >&6; }
13486 if test $ac_cv_working_alloca_h = yes; then
13488 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13493 $as_echo_n "checking for alloca... " >&6; }
13494 if test "${ac_cv_func_alloca_works+set}" = set; then :
13495 $as_echo_n "(cached) " >&6
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13500 # define alloca __builtin_alloca
13503 # include <malloc.h>
13504 # define alloca _alloca
13506 # ifdef HAVE_ALLOCA_H
13507 # include <alloca.h>
13512 # ifndef alloca /* predefined by HP cc +Olibcalls */
13523 char *p = (char *) alloca (1);
13529 if ac_fn_c_try_link "$LINENO"; then :
13530 ac_cv_func_alloca_works=yes
13532 ac_cv_func_alloca_works=no
13534 rm -f core conftest.err conftest.$ac_objext \
13535 conftest$ac_exeext conftest.$ac_ext
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13538 $as_echo "$ac_cv_func_alloca_works" >&6; }
13540 if test $ac_cv_func_alloca_works = yes; then
13542 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13545 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13546 # that cause trouble. Some versions do not even contain alloca or
13547 # contain a buggy version. If you still want to use their alloca,
13548 # use ar to extract alloca.o from them instead of compiling alloca.c.
13550 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13552 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c
' needs Cray hooks" >&5
13556 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
13557 if test "${ac_cv_os_cray+set}" = set; then :
13558 $as_echo_n "(cached
) " >&6
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13562 #if defined CRAY && ! defined CRAY2
13569 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
13570 $EGREP "webecray
" >/dev/null 2>&1; then :
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_os_cray" >&5
13579 $as_echo "$ac_cv_os_cray" >&6; }
13580 if test $ac_cv_os_cray = yes; then
13581 for ac_func in _getb67 GETB67 getb67; do
13582 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13584 eval as_val=\$$as_ac_var
13585 if test "x
$as_val" = x""yes; then :
13587 cat >>confdefs.h <<_ACEOF
13588 #define CRAY_STACKSEG_END $ac_func
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction
for C alloca
" >&5
13598 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
13599 if test "${ac_cv_c_stack_direction+set}" = set; then :
13600 $as_echo_n "(cached
) " >&6
13602 if test "$cross_compiling" = yes; then :
13603 ac_cv_c_stack_direction=0
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13607 $ac_includes_default
13609 find_stack_direction ()
13611 static char *addr = 0;
13616 return find_stack_direction ();
13619 return (&dummy > addr) ? 1 : -1;
13625 return find_stack_direction () < 0;
13628 if ac_fn_c_try_run "$LINENO"; then :
13629 ac_cv_c_stack_direction=1
13631 ac_cv_c_stack_direction=-1
13633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13634 conftest.$ac_objext conftest.beam conftest.$ac_ext
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_stack_direction" >&5
13639 $as_echo "$ac_cv_c_stack_direction" >&6; }
13640 cat >>confdefs.h <<_ACEOF
13641 #define STACK_DIRECTION $ac_cv_c_stack_direction
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for inline
" >&5
13648 $as_echo_n "checking
for inline...
" >&6; }
13649 if test "${ac_cv_c_inline+set}" = set; then :
13650 $as_echo_n "(cached
) " >&6
13653 for ac_kw in inline __inline__ __inline; do
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 #ifndef __cplusplus
13658 static $ac_kw foo_t static_foo () {return 0; }
13659 $ac_kw foo_t foo () {return 0; }
13663 if ac_fn_c_try_compile "$LINENO"; then :
13664 ac_cv_c_inline=$ac_kw
13666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13667 test "$ac_cv_c_inline" != no && break
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_inline" >&5
13672 $as_echo "$ac_cv_c_inline" >&6; }
13674 case $ac_cv_c_inline in
13677 case $ac_cv_c_inline in
13679 *) ac_val=$ac_cv_c_inline;;
13681 cat >>confdefs.h <<_ACEOF
13682 #ifndef __cplusplus
13683 #define inline $ac_val
13690 # VMS doesn't have unlink.
13691 for ac_func in unlink remove
13693 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13695 eval as_val=\$$as_ac_var
13696 if test "x
$as_val" = x""yes; then :
13697 cat >>confdefs.h <<_ACEOF
13698 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13704 for ac_func in sbrk setlocale
13706 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13708 eval as_val=\$$as_ac_var
13709 if test "x
$as_val" = x""yes; then :
13710 cat >>confdefs.h <<_ACEOF
13711 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for LC_MESSAGES
" >&5
13720 $as_echo_n "checking
for LC_MESSAGES...
" >&6; }
13721 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13722 $as_echo_n "(cached
) " >&6
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13726 #include <locale.h>
13735 if ac_fn_c_try_link "$LINENO"; then :
13736 am_cv_val_LC_MESSAGES=yes
13738 am_cv_val_LC_MESSAGES=no
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_val_LC_MESSAGES" >&5
13744 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13745 if test $am_cv_val_LC_MESSAGES = yes; then
13747 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13752 # do we need the math library?
13753 case "${need_libm}" in
13757 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13758 # These system don't have libm, or don't need it
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13762 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13763 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
13764 $as_echo_n "(cached) " >&6
13766 ac_check_lib_save_LIBS
=$LIBS
13768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13771 /* Override any GCC internal prototype to avoid an error.
13772 Use char because int might match the return type of a GCC
13773 builtin and then its argument prototype would still apply. */
13777 char _mwvalidcheckl ();
13781 return _mwvalidcheckl ();
13786 if ac_fn_c_try_link
"$LINENO"; then :
13787 ac_cv_lib_mw__mwvalidcheckl
=yes
13789 ac_cv_lib_mw__mwvalidcheckl
=no
13791 rm -f core conftest.err conftest.
$ac_objext \
13792 conftest
$ac_exeext conftest.
$ac_ext
13793 LIBS
=$ac_check_lib_save_LIBS
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13796 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13797 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x
""yes; then :
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13802 $as_echo_n "checking for cos in -lm... " >&6; }
13803 if test "${ac_cv_lib_m_cos+set}" = set; then :
13804 $as_echo_n "(cached) " >&6
13806 ac_check_lib_save_LIBS
=$LIBS
13808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13811 /* Override any GCC internal prototype to avoid an error.
13812 Use char because int might match the return type of a GCC
13813 builtin and then its argument prototype would still apply. */
13826 if ac_fn_c_try_link
"$LINENO"; then :
13827 ac_cv_lib_m_cos
=yes
13831 rm -f core conftest.err conftest.
$ac_objext \
13832 conftest
$ac_exeext conftest.
$ac_ext
13833 LIBS
=$ac_check_lib_save_LIBS
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13836 $as_echo "$ac_cv_lib_m_cos" >&6; }
13837 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13844 $as_echo_n "checking for cos in -lm... " >&6; }
13845 if test "${ac_cv_lib_m_cos+set}" = set; then :
13846 $as_echo_n "(cached) " >&6
13848 ac_check_lib_save_LIBS
=$LIBS
13850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13853 /* Override any GCC internal prototype to avoid an error.
13854 Use char because int might match the return type of a GCC
13855 builtin and then its argument prototype would still apply. */
13868 if ac_fn_c_try_link
"$LINENO"; then :
13869 ac_cv_lib_m_cos
=yes
13873 rm -f core conftest.err conftest.
$ac_objext \
13874 conftest
$ac_exeext conftest.
$ac_ext
13875 LIBS
=$ac_check_lib_save_LIBS
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13878 $as_echo "$ac_cv_lib_m_cos" >&6; }
13879 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
13891 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
13892 # enough, but on some of those systems, the assert macro relies on requoting
13893 # working properly!
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
13895 $as_echo_n "checking for working assert macro... " >&6; }
13896 if test "${gas_cv_assert_ok+set}" = set; then :
13897 $as_echo_n "(cached) " >&6
13899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 #include <assert.h>
13907 /* check for requoting problems */
13908 static int a, b, c, d;
13910 assert (!strcmp(s, "foo bar baz quux"));
13911 /* check for newline handling */
13919 if ac_fn_c_try_link
"$LINENO"; then :
13920 gas_cv_assert_ok
=yes
13922 gas_cv_assert_ok
=no
13924 rm -f core conftest.err conftest.
$ac_objext \
13925 conftest
$ac_exeext conftest.
$ac_ext
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
13928 $as_echo "$gas_cv_assert_ok" >&6; }
13929 test $gas_cv_assert_ok = yes ||
13930 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
13934 # On some systems, the system header files may not declare malloc, realloc,
13935 # and free. There are places where gas needs these functions to have been
13936 # declared -- such as when taking their addresses.
13938 #ifdef HAVE_MEMORY_H
13939 #include <memory.h>
13941 #ifdef HAVE_STRING_H
13942 #include <string.h>
13944 #ifdef HAVE_STRINGS_H
13945 #include <strings.h>
13948 #ifdef HAVE_STDLIB_H
13949 #include <stdlib.h>
13951 #ifdef HAVE_UNISTD_H
13952 #include <unistd.h>
13956 # Does errno.h declare errno, or do we have to add a separate declaration
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
13960 $as_echo_n "checking whether declaration is required for errno... " >&6; }
13961 if test "${gas_cv_decl_needed_errno+set}" = set; then :
13962 $as_echo_n "(cached) " >&6
13964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13967 #ifdef HAVE_ERRNO_H
13983 if ac_fn_c_try_link
"$LINENO"; then :
13984 gas_cv_decl_needed_errno
=no
13986 gas_cv_decl_needed_errno
=yes
13988 rm -f core conftest.err conftest.
$ac_objext \
13989 conftest
$ac_exeext conftest.
$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
13992 $as_echo "$gas_cv_decl_needed_errno" >&6; }
13993 if test $gas_cv_decl_needed_errno = yes; then
13995 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
14001 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
14002 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then :
14003 $as_echo_n "(cached) " >&6
14005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 #include <unistd.h>
14011 extern int getopt (int, char *const*, const char *);
14016 if ac_fn_c_try_compile
"$LINENO"; then :
14017 gas_cv_decl_getopt_unistd_h
=yes
14019 gas_cv_decl_getopt_unistd_h
=no
14021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
14025 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
14026 if test $gas_cv_decl_getopt_unistd_h = yes; then
14028 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
14034 $as_echo_n "checking whether declaration is required for environ... " >&6; }
14035 if test "${gas_cv_decl_needed_environ+set}" = set; then :
14036 $as_echo_n "(cached) " >&6
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14053 if ac_fn_c_try_link
"$LINENO"; then :
14054 gas_cv_decl_needed_environ
=no
14056 gas_cv_decl_needed_environ
=yes
14058 rm -f core conftest.err conftest.
$ac_objext \
14059 conftest
$ac_exeext conftest.
$ac_ext
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
14062 $as_echo "$gas_cv_decl_needed_environ" >&6; }
14063 if test $gas_cv_decl_needed_environ = yes; then
14065 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
14071 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
14072 if test "${gas_cv_decl_needed_ffs+set}" = set; then :
14073 $as_echo_n "(cached) " >&6
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14082 typedef int (*f)(int);
14090 if ac_fn_c_try_link
"$LINENO"; then :
14091 gas_cv_decl_needed_ffs
=no
14093 gas_cv_decl_needed_ffs
=yes
14095 rm -f core conftest.err conftest.
$ac_objext \
14096 conftest
$ac_exeext conftest.
$ac_ext
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
14099 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
14100 if test $gas_cv_decl_needed_ffs = yes; then
14102 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
14108 $as_echo_n "checking whether declaration is required for free... " >&6; }
14109 if test "${gas_cv_decl_needed_free+set}" = set; then :
14110 $as_echo_n "(cached) " >&6
14112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14119 typedef void (*f)();
14127 if ac_fn_c_try_link
"$LINENO"; then :
14128 gas_cv_decl_needed_free
=no
14130 gas_cv_decl_needed_free
=yes
14132 rm -f core conftest.err conftest.
$ac_objext \
14133 conftest
$ac_exeext conftest.
$ac_ext
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
14136 $as_echo "$gas_cv_decl_needed_free" >&6; }
14137 if test $gas_cv_decl_needed_free = yes; then
14139 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
14145 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
14146 if test "${gas_cv_decl_needed_malloc+set}" = set; then :
14147 $as_echo_n "(cached) " >&6
14149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14156 typedef char *(*f)();
14164 if ac_fn_c_try_link
"$LINENO"; then :
14165 gas_cv_decl_needed_malloc
=no
14167 gas_cv_decl_needed_malloc
=yes
14169 rm -f core conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
14173 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
14174 if test $gas_cv_decl_needed_malloc = yes; then
14176 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
14182 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
14183 if test "${gas_cv_decl_needed_sbrk+set}" = set; then :
14184 $as_echo_n "(cached) " >&6
14186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14193 typedef char *(*f)();
14201 if ac_fn_c_try_link
"$LINENO"; then :
14202 gas_cv_decl_needed_sbrk
=no
14204 gas_cv_decl_needed_sbrk
=yes
14206 rm -f core conftest.err conftest.
$ac_objext \
14207 conftest
$ac_exeext conftest.
$ac_ext
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
14210 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
14211 if test $gas_cv_decl_needed_sbrk = yes; then
14213 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
14219 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
14220 if test "${gas_cv_decl_needed_strstr+set}" = set; then :
14221 $as_echo_n "(cached) " >&6
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14230 typedef char *(*f)();
14238 if ac_fn_c_try_link
"$LINENO"; then :
14239 gas_cv_decl_needed_strstr
=no
14241 gas_cv_decl_needed_strstr
=yes
14243 rm -f core conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
14247 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
14248 if test $gas_cv_decl_needed_strstr = yes; then
14250 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
14255 ac_fn_c_check_decl
"$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
14256 if test "x$ac_cv_have_decl_free" = x
""yes; then :
14262 cat >>confdefs.h
<<_ACEOF
14263 #define HAVE_DECL_FREE $ac_have_decl
14265 ac_fn_c_check_decl
"$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14266 if test "x$ac_cv_have_decl_getenv" = x
""yes; then :
14272 cat >>confdefs.h
<<_ACEOF
14273 #define HAVE_DECL_GETENV $ac_have_decl
14275 ac_fn_c_check_decl
"$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
14276 if test "x$ac_cv_have_decl_malloc" = x
""yes; then :
14282 cat >>confdefs.h
<<_ACEOF
14283 #define HAVE_DECL_MALLOC $ac_have_decl
14285 ac_fn_c_check_decl
"$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
14286 if test "x$ac_cv_have_decl_mempcpy" = x
""yes; then :
14292 cat >>confdefs.h
<<_ACEOF
14293 #define HAVE_DECL_MEMPCPY $ac_have_decl
14295 ac_fn_c_check_decl
"$LINENO" "realloc" "ac_cv_have_decl_realloc" "$ac_includes_default"
14296 if test "x$ac_cv_have_decl_realloc" = x
""yes; then :
14302 cat >>confdefs.h
<<_ACEOF
14303 #define HAVE_DECL_REALLOC $ac_have_decl
14305 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14306 if test "x$ac_cv_have_decl_stpcpy" = x
""yes; then :
14312 cat >>confdefs.h
<<_ACEOF
14313 #define HAVE_DECL_STPCPY $ac_have_decl
14315 ac_fn_c_check_decl
"$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
14316 if test "x$ac_cv_have_decl_strstr" = x
""yes; then :
14322 cat >>confdefs.h
<<_ACEOF
14323 #define HAVE_DECL_STRSTR $ac_have_decl
14325 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
14326 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
14332 cat >>confdefs.h
<<_ACEOF
14333 #define HAVE_DECL_VSNPRINTF $ac_have_decl
14335 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
14336 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
14342 cat >>confdefs.h
<<_ACEOF
14343 #define HAVE_DECL_ASPRINTF $ac_have_decl
14349 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
14351 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
14355 # Link in zlib if we can. This allows us to write compressed debug sections.
14357 # Use the system's zlib library.
14358 zlibdir
="-L\$(top_builddir)/../zlib"
14359 zlibinc
="-I\$(top_srcdir)/../zlib"
14361 # Check whether --with-system-zlib was given.
14362 if test "${with_system_zlib+set}" = set; then :
14363 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
14374 # Support for VMS timestamps via cross compile
14376 if test "$ac_cv_header_time_h" = yes; then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
14378 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
14379 if test "${gas_cv_have_time_type_member_tm_gmtoff+set}" = set; then :
14380 $as_echo_n "(cached) " >&6
14382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14385 #define _BSD_SOURCE 1
14390 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
14395 if ac_fn_c_try_compile
"$LINENO"; then :
14396 gas_cv_have_time_type_member_tm_gmtoff
=yes
14398 gas_cv_have_time_type_member_tm_gmtoff
=no
14401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14404 if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
14406 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
14410 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
14414 if test "$ac_cv_header_sys_stat_h" = yes; then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
14416 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
14417 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+set}" = set; then :
14418 $as_echo_n "(cached) " >&6
14420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14423 #define _BSD_SOURCE 1
14424 #include <sys/stat.h>
14428 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
14433 if ac_fn_c_try_compile
"$LINENO"; then :
14434 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=yes
14436 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=no
14439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14442 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
14444 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
14448 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
14451 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
14452 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+set}" = set; then :
14453 $as_echo_n "(cached) " >&6
14455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14458 #define _BSD_SOURCE 1
14459 #include <sys/stat.h>
14463 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
14468 if ac_fn_c_try_compile
"$LINENO"; then :
14469 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=yes
14471 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=no
14474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14477 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
14479 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
14483 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
14495 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
14497 ac_config_commands
="$ac_config_commands default"
14500 cat >confcache
<<\_ACEOF
14501 # This file is a shell script that caches the results of configure
14502 # tests run on this system so they can be shared between configure
14503 # scripts and configure runs, see configure's option --config-cache.
14504 # It is not useful on other systems. If it contains results you don't
14505 # want to keep, you may remove or edit it.
14507 # config.status only pays attention to the cache file if you give it
14508 # the --recheck option to rerun configure.
14510 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14511 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14512 # following values.
14516 # The following way of writing the cache mishandles newlines in values,
14517 # but we know of no workaround that is simple, portable, and efficient.
14518 # So, we kill variables containing newlines.
14519 # Ultrix sh set writes to stderr and can't be redirected directly,
14520 # and sets the high bit in the cache file unless we assign to the vars.
14522 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14523 eval ac_val
=\$
$ac_var
14527 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14528 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14531 _ | IFS | as_nl
) ;; #(
14532 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14533 *) { eval $ac_var=; unset $ac_var;} ;;
14539 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14540 *${as_nl}ac_space
=\
*)
14541 # `set' does not quote correctly, so add quotes: double-quote
14542 # substitution turns \\\\ into \\, and sed turns \\ into \.
14545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14548 # `set' quotes correctly as required by POSIX, so do not add quotes.
14549 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14558 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14560 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14562 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14563 if test -w "$cache_file"; then
14564 test "x$cache_file" != "x/dev/null" &&
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14566 $as_echo "$as_me: updating cache $cache_file" >&6;}
14567 cat confcache
>$cache_file
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14570 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14575 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14576 # Let make expand exec_prefix.
14577 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14579 DEFS
=-DHAVE_CONFIG_H
14583 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14584 # 1. Remove the extension, and $U if already installed.
14585 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14586 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14587 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14588 # will be set to the directory where LIBOBJS objects are built.
14589 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14590 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14592 LIBOBJS
=$ac_libobjs
14594 LTLIBOBJS
=$ac_ltlibobjs
14597 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14598 as_fn_error
"conditional \"AMDEP\" was never defined.
14599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14601 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14602 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14605 if test -n "$EXEEXT"; then
14607 am__EXEEXT_FALSE
='#'
14609 am__EXEEXT_TRUE
='#'
14614 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14615 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14618 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
14619 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
14620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14623 : ${CONFIG_STATUS=./config.status}
14625 ac_clean_files_save
=$ac_clean_files
14626 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14628 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14630 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14632 # Generated by $as_me.
14633 # Run this file to recreate the current configuration.
14634 # Compiler output produced by configure, useful for debugging
14635 # configure, is in config.log if it exists.
14638 ac_cs_recheck=false
14641 SHELL=\${CONFIG_SHELL-$SHELL}
14644 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14645 ## -------------------- ##
14646 ## M4sh Initialization. ##
14647 ## -------------------- ##
14649 # Be more Bourne compatible
14650 DUALCASE
=1; export DUALCASE
# for MKS sh
14651 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14654 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14655 # is contrary to our usage. Disable this feature.
14656 alias -g '${1+"$@"}'='"$@"'
14657 setopt NO_GLOB_SUBST
14659 case `(set -o) 2>/dev/null` in #(
14671 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14672 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14675 # Prefer a ksh shell builtin over an external printf program on Solaris,
14676 # but without wasting forks for bash or zsh.
14677 if test -z "$BASH_VERSION$ZSH_VERSION" \
14678 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14679 as_echo='print
-r --'
14680 as_echo_n='print
-rn --'
14681 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14682 as_echo='printf %s
\n'
14683 as_echo_n='printf %s
'
14685 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14686 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14687 as_echo_n='/usr
/ucb
/echo -n'
14689 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14690 as_echo_n_body='eval
14694 expr "X$arg" : "X\\(.*\\)$as_nl";
14695 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14697 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14699 export as_echo_n_body
14700 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14702 export as_echo_body
14703 as_echo='sh
-c $as_echo_body as_echo
'
14706 # The user is always right.
14707 if test "${PATH_SEPARATOR+set}" != set; then
14709 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14710 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14717 # We need space, tab and new line, in precisely that order. Quoting is
14718 # there to prevent editors from complaining about space-tab.
14719 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14720 # splitting by setting IFS to empty value.)
14723 # Find who we are. Look in the path if we contain no directory separator.
14725 *[\\/]* ) as_myself=$0 ;;
14726 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14727 for as_dir in $PATH
14730 test -z "$as_dir" && as_dir=.
14731 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14737 # We did not find ourselves, most probably we were run as `sh COMMAND'
14738 # in which case we are not to be found in the path.
14739 if test "x$as_myself" = x
; then
14742 if test ! -f "$as_myself"; then
14743 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14747 # Unset variables that we do not need and which cause bugs (e.g. in
14748 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14749 # suppresses any "Segmentation fault" message there. '((' could
14750 # trigger a bug in pdksh 5.2.14.
14751 for as_var
in BASH_ENV ENV MAIL MAILPATH
14752 do eval test x\
${$as_var+set} = xset \
14753 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14766 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14769 # as_fn_error ERROR [LINENO LOG_FD]
14770 # ---------------------------------
14771 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14772 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14773 # script with status $?, using 1 if that was 0.
14776 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14778 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14779 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14781 $as_echo "$as_me: error: $1" >&2
14782 as_fn_exit
$as_status
14786 # as_fn_set_status STATUS
14787 # -----------------------
14788 # Set $? to STATUS, without forking.
14789 as_fn_set_status
()
14792 } # as_fn_set_status
14794 # as_fn_exit STATUS
14795 # -----------------
14796 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14800 as_fn_set_status
$1
14806 # Portably unset VAR.
14809 { eval $1=; unset $1;}
14811 as_unset
=as_fn_unset
14812 # as_fn_append VAR VALUE
14813 # ----------------------
14814 # Append the text in VALUE to the end of the definition contained in VAR. Take
14815 # advantage of any shell optimizations that allow amortized linear growth over
14816 # repeated appends, instead of the typical quadratic growth present in naive
14818 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14819 eval 'as_fn_append ()
14830 # as_fn_arith ARG...
14831 # ------------------
14832 # Perform arithmetic evaluation on the ARGs, and store the result in the
14833 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14834 # must be portable across $(()) and expr.
14835 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14836 eval 'as_fn_arith ()
14843 as_val
=`expr "$@" || test $? -eq 1`
14848 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14849 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14855 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14856 as_basename
=basename
14861 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14867 as_me
=`$as_basename -- "$0" ||
14868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14869 X"$0" : 'X\(//\)$' \| \
14870 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14872 sed '/^.*\/\([^/][^/]*\)\/*$/{
14886 # Avoid depending upon Character Ranges.
14887 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14888 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14889 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14890 as_cr_digits
='0123456789'
14891 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14893 ECHO_C
= ECHO_N
= ECHO_T
=
14894 case `echo -n x` in #(((((
14896 case `echo 'xy\c'` in
14897 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14899 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14906 rm -f conf$$ conf$$.exe conf$$.
file
14907 if test -d conf$$.dir
; then
14908 rm -f conf$$.dir
/conf$$.
file
14911 mkdir conf$$.dir
2>/dev
/null
14913 if (echo >conf$$.
file) 2>/dev
/null
; then
14914 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14916 # ... but there are two gotchas:
14917 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14918 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14919 # In both cases, we have to default to `cp -p'.
14920 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14922 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14930 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14931 rmdir conf$$.dir
2>/dev
/null
14936 # Create "$as_dir" as a directory, including parents if necessary.
14941 -*) as_dir
=.
/$as_dir;;
14943 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14947 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14948 *) as_qdir
=$as_dir;;
14950 as_dirs
="'$as_qdir' $as_dirs"
14951 as_dir
=`$as_dirname -- "$as_dir" ||
14952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14953 X"$as_dir" : 'X\(//\)[^/]' \| \
14954 X"$as_dir" : 'X\(//\)$' \| \
14955 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14956 $as_echo X"$as_dir" |
14957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14961 /^X\(\/\/\)[^/].*/{
14974 test -d "$as_dir" && break
14976 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14977 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14981 if mkdir
-p .
2>/dev
/null
; then
14982 as_mkdir_p
='mkdir -p "$as_dir"'
14984 test -d .
/-p && rmdir .
/-p
14988 if test -x / >/dev
/null
2>&1; then
14989 as_test_x
='test -x'
14991 if ls -dL / >/dev
/null
2>&1; then
14998 if test -d "$1"; then
15004 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15005 ???[sx]*):;;*)false;;esac;fi
15009 as_executable_p
=$as_test_x
15011 # Sed expression to map a string onto a valid CPP name.
15012 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15014 # Sed expression to map a string onto a valid variable name.
15015 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15019 ## ----------------------------------- ##
15020 ## Main body of $CONFIG_STATUS script. ##
15021 ## ----------------------------------- ##
15023 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15026 # Save the log message, to keep $0 and so on meaningful, and to
15027 # report actual input values of CONFIG_FILES etc. instead of their
15028 # values after options handling.
15030 This file was extended by gas $as_me 2.25.51, which was
15031 generated by GNU Autoconf 2.64. Invocation command line was
15033 CONFIG_FILES = $CONFIG_FILES
15034 CONFIG_HEADERS = $CONFIG_HEADERS
15035 CONFIG_LINKS = $CONFIG_LINKS
15036 CONFIG_COMMANDS = $CONFIG_COMMANDS
15039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15044 case $ac_config_files in *"
15045 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15048 case $ac_config_headers in *"
15049 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15054 # Files that config.status was made for.
15055 config_files="$ac_config_files"
15056 config_headers="$ac_config_headers"
15057 config_commands="$ac_config_commands"
15061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15063 \`$as_me' instantiates files and other configuration actions
15064 from templates according to the current configuration. Unless the files
15065 and actions are specified as TAGs, all are instantiated by default.
15067 Usage: $0 [OPTION]... [TAG]...
15069 -h, --help print this help, then exit
15070 -V, --version print version number and configuration settings, then exit
15071 -q, --quiet, --silent
15072 do not print progress messages
15073 -d, --debug don't remove temporary files
15074 --recheck update $as_me by reconfiguring in the same conditions
15075 --file=FILE[:TEMPLATE]
15076 instantiate the configuration file FILE
15077 --header=FILE[:TEMPLATE]
15078 instantiate the configuration header FILE
15080 Configuration files:
15083 Configuration headers:
15086 Configuration commands:
15089 Report bugs to the package provider."
15092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15094 gas config.status 2.25.51
15095 configured by $0, generated by GNU Autoconf 2.64,
15096 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15098 Copyright (C) 2009 Free Software Foundation, Inc.
15099 This config.status script is free software; the Free Software Foundation
15100 gives unlimited permission to copy, distribute and modify it."
15107 test -n "\$AWK" || AWK=awk
15110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15111 # The default lists apply if the user does not specify any file.
15117 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15118 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15129 # Handling of the options.
15130 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15132 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15133 $as_echo "$ac_cs_version"; exit ;;
15134 --debug |
--debu |
--deb |
--de |
--d |
-d )
15136 --file |
--fil |
--fi |
--f )
15139 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15141 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15142 ac_need_defaults
=false
;;
15143 --header |
--heade |
--head |
--hea )
15146 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15148 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15149 ac_need_defaults
=false
;;
15151 # Conflict between --help and --header
15152 as_fn_error
"ambiguous option: \`$1'
15153 Try \`$0 --help' for more information.";;
15154 --help |
--hel |
-h )
15155 $as_echo "$ac_cs_usage"; exit ;;
15156 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15157 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15160 # This is an error.
15161 -*) as_fn_error
"unrecognized option: \`$1'
15162 Try \`$0 --help' for more information." ;;
15164 *) as_fn_append ac_config_targets
" $1"
15165 ac_need_defaults
=false
;;
15171 ac_configure_extra_args
=
15173 if $ac_cs_silent; then
15175 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15180 if \$ac_cs_recheck; then
15181 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15184 CONFIG_SHELL='$SHELL'
15185 export CONFIG_SHELL
15190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15194 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15195 ## Running $as_me. ##
15201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15205 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15208 # The HP-UX ksh and POSIX shell print the target directory to stdout
15209 # if CDPATH is set.
15210 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15212 sed_quote_subst='$sed_quote_subst'
15213 double_quote_subst='$double_quote_subst'
15214 delay_variable_subst='$delay_variable_subst'
15215 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15216 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15217 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15218 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15219 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15220 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15221 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15222 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15223 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15224 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15225 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15226 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15227 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15228 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15229 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15230 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15231 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15232 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15233 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15234 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15235 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15236 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15237 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15238 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15239 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15240 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15241 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15242 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15243 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15244 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15245 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15246 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15247 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15248 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15249 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15250 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15251 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15252 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15253 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15254 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15255 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15256 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15257 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15258 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15259 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15260 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15261 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15262 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15263 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"`'
15264 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15265 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15266 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15267 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15268 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15269 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15270 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15271 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15272 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15273 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15274 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15275 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15276 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15277 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15278 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15279 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15280 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15281 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15282 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15283 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15284 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15285 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15286 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15287 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15288 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15289 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15290 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15291 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15292 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15293 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15294 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15295 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15296 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15297 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15298 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15299 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15300 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15301 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15302 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15303 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15304 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15305 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15306 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15307 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15308 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15309 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15310 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15311 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15312 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15313 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15314 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15315 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15316 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15317 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15318 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15319 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15320 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15321 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15322 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15323 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15324 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15325 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15326 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15327 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15328 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15329 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15330 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15331 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15332 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15333 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15334 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15337 LTCFLAGS='$LTCFLAGS'
15338 compiler='$compiler_DEFAULT'
15340 # A function that is used when there is no print builtin or printf.
15341 func_fallback_echo ()
15343 eval 'cat <<_LTECHO_EOF
15348 # Quote evaled strings.
15362 deplibs_check_method \
15371 lt_cv_sys_global_symbol_pipe \
15372 lt_cv_sys_global_symbol_to_cdecl \
15373 lt_cv_sys_global_symbol_to_c_name_address \
15374 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15375 lt_prog_compiler_no_builtin_flag \
15376 lt_prog_compiler_wl \
15377 lt_prog_compiler_pic \
15378 lt_prog_compiler_static \
15379 lt_cv_prog_compiler_c_o \
15387 export_dynamic_flag_spec \
15388 whole_archive_flag_spec \
15389 compiler_needs_object \
15391 allow_undefined_flag \
15392 no_undefined_flag \
15393 hardcode_libdir_flag_spec \
15394 hardcode_libdir_flag_spec_ld \
15395 hardcode_libdir_separator \
15400 variables_saved_for_relink \
15402 library_names_spec \
15404 install_override_mode \
15408 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15409 *[\\\\\\\`\\"\\\$]*)
15410 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15413 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15418 # Double-quote double-evaled strings.
15419 for var in reload_cmds \
15420 old_postinstall_cmds \
15421 old_postuninstall_cmds \
15423 extract_expsyms_cmds \
15424 old_archive_from_new_cmds \
15425 old_archive_from_expsyms_cmds \
15427 archive_expsym_cmds \
15429 module_expsym_cmds \
15430 export_symbols_cmds \
15433 postuninstall_cmds \
15435 sys_lib_search_path_spec \
15436 sys_lib_dlsearch_path_spec; do
15437 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15438 *[\\\\\\\`\\"\\\$]*)
15439 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15442 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15447 ac_aux_dir='$ac_aux_dir'
15448 xsi_shell='$xsi_shell'
15449 lt_shell_append='$lt_shell_append'
15451 # See if we are running on zsh, and set the options which allow our
15452 # commands through without removal of \ escapes INIT.
15453 if test -n "\${ZSH_VERSION+set}" ; then
15454 setopt NO_GLOB_SUBST
15460 TIMESTAMP='$TIMESTAMP'
15466 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15467 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15469 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15470 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15471 LINGUAS="${LINGUAS-%UNSET%}"
15473 target_cpu_type=${target_cpu_type}
15474 cgen_cpu_prefix=${cgen_cpu_prefix}
15475 obj_format=${obj_format}
15480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15482 # Handling of arguments.
15483 for ac_config_target
in $ac_config_targets
15485 case $ac_config_target in
15486 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15487 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15488 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15489 "gdb.ini") CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
15490 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
15491 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15492 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15493 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15494 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15495 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15497 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15502 # If the user did not use the arguments to specify the items to instantiate,
15503 # then the envvar interface is used. Set only those that are not.
15504 # We use the long form for the default assignment because of an extremely
15505 # bizarre bug on SunOS 4.1.3.
15506 if $ac_need_defaults; then
15507 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15508 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15509 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15512 # Have a temporary directory for convenience. Make it in the build tree
15513 # simply because there is no reason against having it here, and in addition,
15514 # creating and moving files from /tmp can sometimes cause problems.
15515 # Hook for its removal unless debugging.
15516 # Note that there is a small window in which the directory will not be cleaned:
15517 # after its creation but before its name has been assigned to `$tmp'.
15521 trap 'exit_status=$?
15522 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15524 trap 'as_fn_exit 1' 1 2 13 15
15526 # Create a (secure) tmp directory for tmp files.
15529 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15530 test -n "$tmp" && test -d "$tmp"
15533 tmp
=.
/conf$$
-$RANDOM
15534 (umask 077 && mkdir
"$tmp")
15535 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15537 # Set up the scripts for CONFIG_FILES section.
15538 # No need to generate them if there are no CONFIG_FILES.
15539 # This happens for instance with `./config.status config.h'.
15540 if test -n "$CONFIG_FILES"; then
15543 ac_cr
=`echo X | tr X '\015'`
15544 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15545 # But we know of no other shell where ac_cr would be empty at this
15546 # point, so we can use a bashism as a fallback.
15547 if test "x$ac_cr" = x
; then
15548 eval ac_cr
=\$
\'\\r
\'
15550 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15551 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15554 ac_cs_awk_cr
=$ac_cr
15557 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15562 echo "cat >conf$$subs.awk <<_ACEOF" &&
15563 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15565 } >conf$$subs.sh ||
15566 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15567 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15569 for ac_last_try in false false false false false :; do
15570 . ./conf$$subs.sh ||
15571 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15573 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15574 if test $ac_delim_n = $ac_delim_num; then
15576 elif $ac_last_try; then
15577 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15579 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15582 rm -f conf$$subs.sh
15584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15585 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15589 s/^/S["/; s
/!.
*/"]=/
15599 s/\(.\{148\}\).*/\1/
15601 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15606 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15613 s/\(.\{148\}\).*/\1/
15615 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15619 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15624 ' <conf$$subs.awk | sed '
15629 ' >>$CONFIG_STATUS || ac_write_fail=1
15630 rm -f conf$$subs.awk
15631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15633 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15634 for (key in S) S_is_set[key] = 1
15640 nfields = split(line, field, "@
")
15642 len = length(field[1])
15643 for (i = 2; i < nfields; i++) {
15645 keylen = length(key)
15646 if (S_is_set[key]) {
15648 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15649 len += length(value) + length(field[++i])
15660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15661 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15662 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15665 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15666 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15669 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15670 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15671 # trailing colons and then remove the whole line if VPATH becomes empty
15672 # (actually we leave an empty line to preserve line numbers).
15673 if test "x
$srcdir" = x.; then
15674 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15675 s/:*\$(srcdir):*/:/
15676 s/:*\${srcdir}:*/:/
15678 s/^\([^=]*=[ ]*\):*/\1/
15684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15685 fi # test -n "$CONFIG_FILES"
15687 # Set up the scripts for CONFIG_HEADERS section.
15688 # No need to generate them if there are no CONFIG_HEADERS.
15689 # This happens for instance with `./config.status Makefile'.
15690 if test -n "$CONFIG_HEADERS"; then
15691 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15695 # Transform confdefs.h into an awk script `defines.awk', embedded as
15696 # here-document in config.status, that substitutes the proper values into
15697 # config.h.in to produce config.h.
15699 # Create a delimiter string that does not exist in confdefs.h, to ease
15700 # handling of long lines.
15702 for ac_last_try in false false :; do
15703 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15704 if test -z "$ac_t"; then
15706 elif $ac_last_try; then
15707 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15709 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15713 # For the awk script, D is an array of macro values keyed by name,
15714 # likewise P contains macro parameters if any. Preserve backslash
15715 # newline sequences.
15717 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15719 s/.\{148\}/&'"$ac_delim"'/g
15722 s/^[ ]*#[ ]*define[ ][ ]*/ /
15729 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15731 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15735 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15736 D["\
1"]=" \
3\\\\\\n
"\\/p
15738 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15743 s/.\{148\}/&'"$ac_delim"'/g
15748 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15751 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15753 ' <confdefs.h | sed '
15754 s/'"$ac_delim"'/"\\\
15755 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15758 for (key in D) D_is_set[key] = 1
15761 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15763 split(line, arg, " ")
15764 if (arg[1] == "#") {
15768 defundef
= substr
(arg
[1], 2)
15771 split(mac1
, mac2
, "(") #)
15773 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15774 if (D_is_set
[macro
]) {
15775 # Preserve the white space surrounding the "#".
15776 print prefix
"define", macro P
[macro
] D
[macro
]
15779 # Replace #undef with comments. This is necessary, for example,
15780 # in the case of _POSIX_SOURCE, which is predefined and required
15781 # on some systems where configure will not decide to define it.
15782 if (defundef
== "undef") {
15783 print
"/*", prefix defundef
, macro
, "*/"
15791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15792 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15793 fi # test -n "$CONFIG_HEADERS"
15796 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15801 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15803 case $ac_mode$ac_tag in
15805 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15806 :[FH
]-) ac_tag
=-:-;;
15807 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15824 -) ac_f
="$tmp/stdin";;
15825 *) # Look for the file first in the build tree, then in the source tree
15826 # (if the path is not absolute). The absolute path cannot be DOS-style,
15827 # because $ac_f cannot contain `:'.
15831 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15833 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15835 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15836 as_fn_append ac_file_inputs
" '$ac_f'"
15839 # Let's still pretend it is `configure' which instantiates (i.e., don't
15840 # use $as_me), people would be surprised to read:
15841 # /* config.h. Generated by config.status. */
15842 configure_input
='Generated from '`
15843 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15845 if test x
"$ac_file" != x-
; then
15846 configure_input
="$ac_file. $configure_input"
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15848 $as_echo "$as_me: creating $ac_file" >&6;}
15850 # Neutralize special characters interpreted by sed in replacement strings.
15851 case $configure_input in #(
15852 *\
&* |
*\|
* |
*\\* )
15853 ac_sed_conf_input
=`$as_echo "$configure_input" |
15854 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15855 *) ac_sed_conf_input
=$configure_input;;
15859 *:-:* |
*:-) cat >"$tmp/stdin" \
15860 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15865 ac_dir
=`$as_dirname -- "$ac_file" ||
15866 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15867 X"$ac_file" : 'X\(//\)[^/]' \| \
15868 X"$ac_file" : 'X\(//\)$' \| \
15869 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15870 $as_echo X"$ac_file" |
15871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15875 /^X\(\/\/\)[^/].*/{
15888 as_dir
="$ac_dir"; as_fn_mkdir_p
15892 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15894 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15895 # A ".." for each directory in $ac_dir_suffix.
15896 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15897 case $ac_top_builddir_sub in
15898 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15899 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15902 ac_abs_top_builddir
=$ac_pwd
15903 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15904 # for backward compatibility:
15905 ac_top_builddir
=$ac_top_build_prefix
15908 .
) # We are building in place.
15910 ac_top_srcdir
=$ac_top_builddir_sub
15911 ac_abs_top_srcdir
=$ac_pwd ;;
15912 [\\/]* | ?
:[\\/]* ) # Absolute name.
15913 ac_srcdir
=$srcdir$ac_dir_suffix;
15914 ac_top_srcdir
=$srcdir
15915 ac_abs_top_srcdir
=$srcdir ;;
15916 *) # Relative name.
15917 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15918 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15919 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15921 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15931 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15932 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15934 ac_MKDIR_P
=$MKDIR_P
15936 [\\/$
]* | ?
:[\\/]* ) ;;
15937 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15942 # If the template does not know about datarootdir, expand it.
15943 # FIXME: This hack should be removed a few years after 2.60.
15944 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15955 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15956 *datarootdir
*) ac_datarootdir_seen
=yes;;
15957 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15959 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15962 ac_datarootdir_hack='
15963 s&@datadir@&$datadir&g
15964 s&@docdir@&$docdir&g
15965 s&@infodir@&$infodir&g
15966 s&@localedir@&$localedir&g
15967 s&@mandir@&$mandir&g
15968 s&\\\${datarootdir}&$datarootdir&g' ;;
15972 # Neutralize VPATH when `$srcdir' = `.'.
15973 # Shell code in configure.ac might set extrasub.
15974 # FIXME: do we really want to maintain this feature?
15975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15976 ac_sed_extra="$ac_vpsub
15979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15981 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15982 s|@configure_input@|
$ac_sed_conf_input|
;t t
15983 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15984 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15985 s
&@srcdir@
&$ac_srcdir&;t t
15986 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15987 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15988 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15989 s
&@builddir@
&$ac_builddir&;t t
15990 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15991 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15992 s
&@INSTALL@
&$ac_INSTALL&;t t
15993 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15994 $ac_datarootdir_hack
15996 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15997 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15999 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16000 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16001 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16003 which seems to be undefined. Please make sure it is defined." >&5
16004 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16005 which seems to be undefined. Please make sure it is defined." >&2;}
16009 -) cat "$tmp/out" && rm -f "$tmp/out";;
16010 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16012 || as_fn_error "could not create $ac_file" "$LINENO" 5
16018 if test x"$ac_file" != x-; then
16020 $as_echo "/* $configure_input */" \
16021 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16022 } >"$tmp/config.h" \
16023 || as_fn_error "could not create $ac_file" "$LINENO" 5
16024 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16026 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16029 mv "$tmp/config.h" "$ac_file" \
16030 || as_fn_error "could not create $ac_file" "$LINENO" 5
16033 $as_echo "/* $configure_input */" \
16034 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16035 || as_fn_error "could not create -" "$LINENO" 5
16037 # Compute "$ac_file"'s index
in $config_headers.
16040 for _am_header
in $config_headers :; do
16041 case $_am_header in
16042 $_am_arg |
$_am_arg:* )
16045 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16048 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16049 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16050 X"$_am_arg" : 'X\(//\)[^/]' \| \
16051 X"$_am_arg" : 'X\(//\)$' \| \
16052 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16053 $as_echo X"$_am_arg" |
16054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16058 /^X\(\/\/\)[^/].*/{
16070 s/.*/./; q'`/stamp-h
$_am_stamp_count
16073 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16074 $as_echo "$as_me: executing $ac_file commands" >&6;}
16079 case $ac_file$ac_mode in
16080 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16081 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16082 # are listed without --file. Let's play safe and only enable the eval
16083 # if we detect the quoting.
16084 case $CONFIG_FILES in
16085 *\'*) eval set x
"$CONFIG_FILES" ;;
16086 *) set x
$CONFIG_FILES ;;
16091 # Strip MF so we end up with the name of the file.
16092 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16093 # Check whether this is an Automake generated Makefile or not.
16094 # We used to match only the files named `Makefile.in', but
16095 # some people rename them; so instead we look at the file content.
16096 # Grep'ing the first line is not enough: some people post-process
16097 # each Makefile.in and add a new line on top of each file to say so.
16098 # Grep'ing the whole file is not good either: AIX grep has a line
16099 # limit of 2048, but all sed's we know have understand at least 4000.
16100 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16101 dirpart
=`$as_dirname -- "$mf" ||
16102 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16103 X"$mf" : 'X\(//\)[^/]' \| \
16104 X"$mf" : 'X\(//\)$' \| \
16105 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16111 /^X\(\/\/\)[^/].*/{
16127 # Extract the definition of DEPDIR, am__include, and am__quote
16128 # from the Makefile without running `make'.
16129 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16130 test -z "$DEPDIR" && continue
16131 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16132 test -z "am__include" && continue
16133 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16134 # When using ansi2knr, U may be empty or an underscore; expand it
16135 U
=`sed -n 's/^U = //p' < "$mf"`
16136 # Find all dependency output files, they are included files with
16137 # $(DEPDIR) in their names. We invoke sed twice because it is the
16138 # simplest approach to changing $(DEPDIR) to its actual value in the
16140 for file in `sed -n "
16141 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16142 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16143 # Make sure the directory exists.
16144 test -f "$dirpart/$file" && continue
16145 fdir
=`$as_dirname -- "$file" ||
16146 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16147 X"$file" : 'X\(//\)[^/]' \| \
16148 X"$file" : 'X\(//\)$' \| \
16149 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16150 $as_echo X"$file" |
16151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16155 /^X\(\/\/\)[^/].*/{
16168 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16169 # echo "creating $dirpart/$file"
16170 echo '# dummy' > "$dirpart/$file"
16177 # See if we are running on zsh, and set the options which allow our
16178 # commands through without removal of \ escapes.
16179 if test -n "${ZSH_VERSION+set}" ; then
16180 setopt NO_GLOB_SUBST
16183 cfgfile
="${ofile}T"
16184 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16187 cat <<_LT_EOF >> "$cfgfile"
16190 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16191 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16192 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16193 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16195 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16196 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16197 # Written by Gordon Matzigkeit, 1996
16199 # This file is part of GNU Libtool.
16201 # GNU Libtool is free software; you can redistribute it and/or
16202 # modify it under the terms of the GNU General Public License as
16203 # published by the Free Software Foundation; either version 2 of
16204 # the License, or (at your option) any later version.
16206 # As a special exception to the GNU General Public License,
16207 # if you distribute this file as part of a program or library that
16208 # is built using GNU Libtool, you may include this file under the
16209 # same distribution terms that you use for the rest of that program.
16211 # GNU Libtool is distributed in the hope that it will be useful,
16212 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16213 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16214 # GNU General Public License for more details.
16216 # You should have received a copy of the GNU General Public License
16217 # along with GNU Libtool; see the file COPYING. If not, a copy
16218 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16219 # obtained by writing to the Free Software Foundation, Inc.,
16220 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16223 # The names of the tagged configurations supported by this script.
16226 # ### BEGIN LIBTOOL CONFIG
16228 # Which release of libtool.m4 was used?
16229 macro_version=$macro_version
16230 macro_revision=$macro_revision
16232 # Whether or not to build shared libraries.
16233 build_libtool_libs=$enable_shared
16235 # Whether or not to build static libraries.
16236 build_old_libs=$enable_static
16238 # What type of objects to build.
16241 # Whether or not to optimize for fast installation.
16242 fast_install=$enable_fast_install
16244 # Shell to use when invoking shell scripts.
16247 # An echo program that protects backslashes.
16251 host_alias=$host_alias
16255 # The build system.
16256 build_alias=$build_alias
16260 # A sed program that does not truncate output.
16263 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16264 Xsed="\$SED -e 1s/^X//"
16266 # A grep program that handles long lines.
16272 # A literal string matcher.
16275 # A BSD- or MS-compatible name lister.
16278 # Whether we need soft or hard links.
16281 # What is the maximum length of a command?
16282 max_cmd_len=$max_cmd_len
16284 # Object file suffix (normally "o").
16287 # Executable file suffix (normally "").
16290 # whether the shell understands "unset".
16293 # turn spaces into newlines.
16296 # turn newlines into spaces.
16299 # An object symbol dumper.
16300 OBJDUMP=$lt_OBJDUMP
16302 # Method to check whether dependent libraries are shared objects.
16303 deplibs_check_method=$lt_deplibs_check_method
16305 # Command to use when deplibs_check_method == "file_magic".
16306 file_magic_cmd=$lt_file_magic_cmd
16310 AR_FLAGS=$lt_AR_FLAGS
16312 # A symbol stripping program.
16315 # Commands used to install an old-style archive.
16317 old_postinstall_cmds=$lt_old_postinstall_cmds
16318 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16320 # Whether to use a lock for old archive extraction.
16321 lock_old_archive_extraction=$lock_old_archive_extraction
16326 # LTCC compiler flags.
16327 LTCFLAGS=$lt_CFLAGS
16329 # Take the output of nm and produce a listing of raw symbols and C names.
16330 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16332 # Transform the output of nm in a proper C declaration.
16333 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16335 # Transform the output of nm in a C name address pair.
16336 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16338 # Transform the output of nm in a C name address pair when lib prefix is needed.
16339 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16341 # The name of the directory that contains temporary libtool files.
16344 # Used to examine libraries when file_magic_cmd begins with "file".
16345 MAGIC_CMD=$MAGIC_CMD
16347 # Must we lock files when doing compilation?
16348 need_locks=$lt_need_locks
16350 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16351 DSYMUTIL=$lt_DSYMUTIL
16353 # Tool to change global to local symbols on Mac OS X.
16356 # Tool to manipulate fat objects and archives on Mac OS X.
16359 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16362 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16363 OTOOL64=$lt_OTOOL64
16365 # Old archive suffix (normally "a").
16368 # Shared library suffix (normally ".so").
16369 shrext_cmds=$lt_shrext_cmds
16371 # The commands to extract the exported symbol list from a shared archive.
16372 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16374 # Variables whose values should be saved in libtool wrapper scripts and
16375 # restored at link time.
16376 variables_saved_for_relink=$lt_variables_saved_for_relink
16378 # Do we need the "lib" prefix for modules?
16379 need_lib_prefix=$need_lib_prefix
16381 # Do we need a version for libraries?
16382 need_version=$need_version
16384 # Library versioning type.
16385 version_type=$version_type
16387 # Shared library runtime path variable.
16388 runpath_var=$runpath_var
16390 # Shared library path variable.
16391 shlibpath_var=$shlibpath_var
16393 # Is shlibpath searched before the hard-coded library search path?
16394 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16396 # Format of library name prefix.
16397 libname_spec=$lt_libname_spec
16399 # List of archive names. First name is the real one, the rest are links.
16400 # The last name is the one that the linker finds with -lNAME
16401 library_names_spec=$lt_library_names_spec
16403 # The coded name of the library, if different from the real name.
16404 soname_spec=$lt_soname_spec
16406 # Permission mode override for installation of shared libraries.
16407 install_override_mode=$lt_install_override_mode
16409 # Command to use after installation of a shared archive.
16410 postinstall_cmds=$lt_postinstall_cmds
16412 # Command to use after uninstallation of a shared archive.
16413 postuninstall_cmds=$lt_postuninstall_cmds
16415 # Commands used to finish a libtool library installation in a directory.
16416 finish_cmds=$lt_finish_cmds
16418 # As "finish_cmds", except a single script fragment to be evaled but
16420 finish_eval=$lt_finish_eval
16422 # Whether we should hardcode library paths into libraries.
16423 hardcode_into_libs=$hardcode_into_libs
16425 # Compile-time system search path for libraries.
16426 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16428 # Run-time system search path for libraries.
16429 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16431 # Whether dlopen is supported.
16432 dlopen_support=$enable_dlopen
16434 # Whether dlopen of programs is supported.
16435 dlopen_self=$enable_dlopen_self
16437 # Whether dlopen of statically linked programs is supported.
16438 dlopen_self_static=$enable_dlopen_self_static
16440 # Commands to strip libraries.
16441 old_striplib=$lt_old_striplib
16442 striplib=$lt_striplib
16445 # The linker used to build libraries.
16448 # How to create reloadable object files.
16449 reload_flag=$lt_reload_flag
16450 reload_cmds=$lt_reload_cmds
16452 # Commands used to build an old-style archive.
16453 old_archive_cmds=$lt_old_archive_cmds
16455 # A language specific compiler.
16458 # Is the compiler the GNU compiler?
16461 # Compiler flag to turn off builtin functions.
16462 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16464 # How to pass a linker flag through the compiler.
16465 wl=$lt_lt_prog_compiler_wl
16467 # Additional compiler flags for building library objects.
16468 pic_flag=$lt_lt_prog_compiler_pic
16470 # Compiler flag to prevent dynamic linking.
16471 link_static_flag=$lt_lt_prog_compiler_static
16473 # Does compiler simultaneously support -c and -o options?
16474 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16476 # Whether or not to add -lc for building shared libraries.
16477 build_libtool_need_lc=$archive_cmds_need_lc
16479 # Whether or not to disallow shared libs when runtime libs are static.
16480 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16482 # Compiler flag to allow reflexive dlopens.
16483 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16485 # Compiler flag to generate shared objects directly from archives.
16486 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16488 # Whether the compiler copes with passing no objects directly.
16489 compiler_needs_object=$lt_compiler_needs_object
16491 # Create an old-style archive from a shared archive.
16492 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16494 # Create a temporary old-style archive to link instead of a shared archive.
16495 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16497 # Commands used to build a shared archive.
16498 archive_cmds=$lt_archive_cmds
16499 archive_expsym_cmds=$lt_archive_expsym_cmds
16501 # Commands used to build a loadable module if different from building
16502 # a shared archive.
16503 module_cmds=$lt_module_cmds
16504 module_expsym_cmds=$lt_module_expsym_cmds
16506 # Whether we are building with GNU ld or not.
16507 with_gnu_ld=$lt_with_gnu_ld
16509 # Flag that allows shared libraries with undefined symbols to be built.
16510 allow_undefined_flag=$lt_allow_undefined_flag
16512 # Flag that enforces no undefined symbols.
16513 no_undefined_flag=$lt_no_undefined_flag
16515 # Flag to hardcode \$libdir into a binary during linking.
16516 # This must work even if \$libdir does not exist
16517 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16519 # If ld is used when linking, flag to hardcode \$libdir into a binary
16520 # during linking. This must work even if \$libdir does not exist.
16521 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16523 # Whether we need a single "-rpath" flag with a separated argument.
16524 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16526 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16527 # DIR into the resulting binary.
16528 hardcode_direct=$hardcode_direct
16530 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16531 # DIR into the resulting binary and the resulting library dependency is
16532 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16533 # library is relocated.
16534 hardcode_direct_absolute=$hardcode_direct_absolute
16536 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16537 # into the resulting binary.
16538 hardcode_minus_L=$hardcode_minus_L
16540 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16541 # into the resulting binary.
16542 hardcode_shlibpath_var=$hardcode_shlibpath_var
16544 # Set to "yes" if building a shared library automatically hardcodes DIR
16545 # into the library and all subsequent libraries and executables linked
16547 hardcode_automatic=$hardcode_automatic
16549 # Set to yes if linker adds runtime paths of dependent libraries
16550 # to runtime path list.
16551 inherit_rpath=$inherit_rpath
16553 # Whether libtool must link a program against all its dependency libraries.
16554 link_all_deplibs=$link_all_deplibs
16556 # Fix the shell variable \$srcfile for the compiler.
16557 fix_srcfile_path=$lt_fix_srcfile_path
16559 # Set to "yes" if exported symbols are required.
16560 always_export_symbols=$always_export_symbols
16562 # The commands to list exported symbols.
16563 export_symbols_cmds=$lt_export_symbols_cmds
16565 # Symbols that should not be listed in the preloaded symbols.
16566 exclude_expsyms=$lt_exclude_expsyms
16568 # Symbols that must always be exported.
16569 include_expsyms=$lt_include_expsyms
16571 # Commands necessary for linking programs (against libraries) with templates.
16572 prelink_cmds=$lt_prelink_cmds
16574 # Specify filename containing input files.
16575 file_list_spec=$lt_file_list_spec
16577 # How to hardcode a shared library path into an executable.
16578 hardcode_action=$hardcode_action
16580 # ### END LIBTOOL CONFIG
16586 cat <<\_LT_EOF
>> "$cfgfile"
16587 # AIX sometimes has problems with the GCC collect2 program. For some
16588 # reason, if we set the COLLECT_NAMES environment variable, the problems
16589 # vanish in a puff of smoke.
16590 if test "X${COLLECT_NAMES+set}" != Xset
; then
16592 export COLLECT_NAMES
16599 ltmain
="$ac_aux_dir/ltmain.sh"
16602 # We use sed instead of cat because bash on DJGPP gets confused if
16603 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16604 # text mode, it properly converts lines to CR/LF. This bash problem
16605 # is reportedly fixed, but why not run on old versions too?
16606 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16607 ||
(rm -f "$cfgfile"; exit 1)
16611 cat << \_LT_EOF
>> "$cfgfile"
16613 # func_dirname file append nondir_replacement
16614 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16615 # otherwise set result to NONDIR_REPLACEMENT.
16619 */*) func_dirname_result
="${1%/*}${2}" ;;
16620 * ) func_dirname_result
="${3}" ;;
16624 # func_basename file
16627 func_basename_result
="${1##*/}"
16630 # func_dirname_and_basename file append nondir_replacement
16631 # perform func_basename and func_dirname in a single function
16633 # dirname: Compute the dirname of FILE. If nonempty,
16634 # add APPEND to the result, otherwise set result
16635 # to NONDIR_REPLACEMENT.
16636 # value returned in "$func_dirname_result"
16637 # basename: Compute filename of FILE.
16638 # value retuned in "$func_basename_result"
16639 # Implementation must be kept synchronized with func_dirname
16640 # and func_basename. For efficiency, we do not delegate to
16641 # those functions but instead duplicate the functionality here.
16642 func_dirname_and_basename
()
16645 */*) func_dirname_result
="${1%/*}${2}" ;;
16646 * ) func_dirname_result
="${3}" ;;
16648 func_basename_result
="${1##*/}"
16651 # func_stripname prefix suffix name
16652 # strip PREFIX and SUFFIX off of NAME.
16653 # PREFIX and SUFFIX must not contain globbing or regex special
16654 # characters, hashes, percent signs, but SUFFIX may contain a leading
16655 # dot (in which case that matches only a dot).
16658 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16659 # positional parameters, so assign one to ordinary parameter first.
16660 func_stripname_result
=${3}
16661 func_stripname_result
=${func_stripname_result#"${1}"}
16662 func_stripname_result
=${func_stripname_result%"${2}"}
16668 func_opt_split_opt
=${1%%=*}
16669 func_opt_split_arg
=${1#*=}
16676 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16677 *) func_lo2o_result
=${1} ;;
16681 # func_xform libobj-or-source
16684 func_xform_result
=${1%.*}.lo
16687 # func_arith arithmetic-term...
16690 func_arith_result
=$
(( $
* ))
16694 # STRING may not start with a hyphen.
16697 func_len_result
=${#1}
16702 *) # Bourne compatible functions.
16703 cat << \_LT_EOF
>> "$cfgfile"
16705 # func_dirname file append nondir_replacement
16706 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16707 # otherwise set result to NONDIR_REPLACEMENT.
16710 # Extract subdirectory from the argument.
16711 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16712 if test "X$func_dirname_result" = "X${1}"; then
16713 func_dirname_result
="${3}"
16715 func_dirname_result
="$func_dirname_result${2}"
16719 # func_basename file
16722 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16726 # func_stripname prefix suffix name
16727 # strip PREFIX and SUFFIX off of NAME.
16728 # PREFIX and SUFFIX must not contain globbing or regex special
16729 # characters, hashes, percent signs, but SUFFIX may contain a leading
16730 # dot (in which case that matches only a dot).
16731 # func_strip_suffix prefix name
16735 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16736 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16741 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16742 my_sed_long_arg
='1s/^-[^=]*=//'
16747 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16748 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16754 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16757 # func_xform libobj-or-source
16760 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16763 # func_arith arithmetic-term...
16766 func_arith_result
=`expr "$@"`
16770 # STRING may not start with a hyphen.
16773 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16779 case $lt_shell_append in
16781 cat << \_LT_EOF
>> "$cfgfile"
16783 # func_append var value
16784 # Append VALUE to the end of shell variable VAR.
16792 cat << \_LT_EOF
>> "$cfgfile"
16794 # func_append var value
16795 # Append VALUE to the end of shell variable VAR.
16806 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16807 ||
(rm -f "$cfgfile"; exit 1)
16809 mv -f "$cfgfile" "$ofile" ||
16810 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16815 for ac_file
in $CONFIG_FILES; do
16816 # Support "outfile[:infile[:infile...]]"
16818 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16820 # PO directories have a Makefile.in generated from Makefile.in.in.
16821 case "$ac_file" in */Makefile.
in)
16822 # Adjust a relative srcdir.
16823 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16824 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
16825 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16826 # In autoconf-2.13 it is called $ac_given_srcdir.
16827 # In autoconf-2.50 it is called $srcdir.
16828 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16829 case "$ac_given_srcdir" in
16830 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16831 /*) top_srcdir
="$ac_given_srcdir" ;;
16832 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16834 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16835 rm -f "$ac_dir/POTFILES"
16836 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16837 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16838 POMAKEFILEDEPS
="POTFILES.in"
16839 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16840 # on $ac_dir but don't depend on user-specified configuration
16842 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16843 # The LINGUAS file contains the set of available languages.
16844 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16845 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
16847 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16848 # Hide the ALL_LINGUAS assigment from automake.
16849 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16850 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16852 # The set of available languages was given in configure.ac.
16853 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16855 case "$ac_given_srcdir" in
16857 *) srcdirpre
='$(srcdir)/' ;;
16863 for lang
in $ALL_LINGUAS; do
16864 POFILES
="$POFILES $srcdirpre$lang.po"
16865 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16866 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16867 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16869 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16870 # environment variable.
16872 if test -n "$ALL_LINGUAS"; then
16873 for presentlang
in $ALL_LINGUAS; do
16875 if test "%UNSET%" != "$LINGUAS"; then
16876 desiredlanguages
="$LINGUAS"
16878 desiredlanguages
="$ALL_LINGUAS"
16880 for desiredlang
in $desiredlanguages; do
16881 # Use the presentlang catalog if desiredlang is
16882 # a. equal to presentlang, or
16883 # b. a variant of presentlang (because in this case,
16884 # presentlang can be used as a fallback for messages
16885 # which are not translated in the desiredlang catalog).
16886 case "$desiredlang" in
16887 "$presentlang"*) useit
=yes;;
16890 if test $useit = yes; then
16891 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16896 if test -n "$INST_LINGUAS"; then
16897 for lang
in $INST_LINGUAS; do
16898 CATALOGS
="$CATALOGS $lang.gmo"
16901 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16902 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"
16903 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16904 if test -f "$f"; then
16906 *.orig |
*.bak |
*~
) ;;
16907 *) cat "$f" >> "$ac_dir/Makefile" ;;
16915 "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
16916 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
16917 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
16918 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
16919 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
16920 if test "x$cgen_cpu_prefix" != x
; then
16921 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
16930 ac_clean_files
=$ac_clean_files_save
16932 test $ac_write_fail = 0 ||
16933 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16936 # configure is writing to config.log, and then calls config.status.
16937 # config.status does its own redirection, appending to config.log.
16938 # Unfortunately, on DOS this fails, as config.log is still kept open
16939 # by configure, so config.status won't be able to write to it; its
16940 # output is simply discarded. So we exec the FD to /dev/null,
16941 # effectively closing config.log, so it can be properly (re)opened and
16942 # appended to by config.status. When coming back to configure, we
16943 # need to make the FD available again.
16944 if test "$no_create" != yes; then
16946 ac_config_status_args
=
16947 test "$silent" = yes &&
16948 ac_config_status_args
="$ac_config_status_args --quiet"
16950 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16952 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16953 # would make configure fail if this is the last instruction.
16954 $ac_cs_success || as_fn_exit $?
16956 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16958 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}