2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
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.
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
610 MAINTAINER_MODE_FALSE
682 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
757 enable_dependency_tracking
770 enable_build_warnings
772 enable_maintainer_mode
775 ac_precious_vars
='build_alias
788 # Initialize some variables set by options.
790 ac_init_version
=false
791 ac_unrecognized_opts
=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
802 program_transform_name
=s
,x
,x
,
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir
='${exec_prefix}/bin'
817 sbindir
='${exec_prefix}/sbin'
818 libexecdir
='${exec_prefix}/libexec'
819 datarootdir
='${prefix}/share'
820 datadir
='${datarootdir}'
821 sysconfdir
='${prefix}/etc'
822 sharedstatedir
='${prefix}/com'
823 localstatedir
='${prefix}/var'
824 includedir
='${prefix}/include'
825 oldincludedir
='/usr/include'
826 docdir
='${datarootdir}/doc/${PACKAGE}'
827 infodir
='${datarootdir}/info'
832 libdir
='${exec_prefix}/lib'
833 localedir
='${datarootdir}/locale'
834 mandir
='${datarootdir}/man'
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\
$ac_option
848 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 # Accept the important Cygnus configure options, so we can diagnose typos.
854 case $ac_dashdash$ac_option in
858 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
860 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
863 -build |
--build |
--buil |
--bui |
--bu)
864 ac_prev
=build_alias
;;
865 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
866 build_alias
=$ac_optarg ;;
868 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
869 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
870 ac_prev
=cache_file
;;
871 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
872 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
873 cache_file
=$ac_optarg ;;
876 cache_file
=config.cache
;;
878 -datadir |
--datadir |
--datadi |
--datad)
880 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
881 datadir
=$ac_optarg ;;
883 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
884 |
--dataroo |
--dataro |
--datar)
885 ac_prev
=datarootdir
;;
886 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
887 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
888 datarootdir
=$ac_optarg ;;
890 -disable-* |
--disable-*)
891 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
894 as_fn_error
"invalid feature name: $ac_useropt"
895 ac_useropt_orig
=$ac_useropt
896 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
901 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
902 ac_unrecognized_sep
=', ';;
904 eval enable_
$ac_useropt=no
;;
906 -docdir |
--docdir |
--docdi |
--doc |
--do)
908 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
911 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
913 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
916 -enable-* |
--enable-*)
917 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
920 as_fn_error
"invalid feature name: $ac_useropt"
921 ac_useropt_orig
=$ac_useropt
922 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
927 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
928 ac_unrecognized_sep
=', ';;
930 eval enable_
$ac_useropt=\
$ac_optarg ;;
932 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
933 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
934 |
--exec |
--exe |
--ex)
935 ac_prev
=exec_prefix
;;
936 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
937 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
938 |
--exec=* |
--exe=* |
--ex=*)
939 exec_prefix
=$ac_optarg ;;
941 -gas |
--gas |
--ga |
--g)
942 # Obsolete; use --with-gas.
945 -help |
--help |
--hel |
--he |
-h)
947 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
948 ac_init_help
=recursive
;;
949 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
950 ac_init_help
=short
;;
952 -host |
--host |
--hos |
--ho)
953 ac_prev
=host_alias
;;
954 -host=* |
--host=* |
--hos=* |
--ho=*)
955 host_alias
=$ac_optarg ;;
957 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
959 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
961 htmldir
=$ac_optarg ;;
963 -includedir |
--includedir |
--includedi |
--included |
--include \
964 |
--includ |
--inclu |
--incl |
--inc)
965 ac_prev
=includedir
;;
966 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
967 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
968 includedir
=$ac_optarg ;;
970 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
972 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
973 infodir
=$ac_optarg ;;
975 -libdir |
--libdir |
--libdi |
--libd)
977 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
980 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
981 |
--libexe |
--libex |
--libe)
982 ac_prev
=libexecdir
;;
983 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
984 |
--libexe=* |
--libex=* |
--libe=*)
985 libexecdir
=$ac_optarg ;;
987 -localedir |
--localedir |
--localedi |
--localed |
--locale)
989 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
990 localedir
=$ac_optarg ;;
992 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
993 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
994 ac_prev
=localstatedir
;;
995 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
996 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
997 localstatedir
=$ac_optarg ;;
999 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1001 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1002 mandir
=$ac_optarg ;;
1004 -nfp |
--nfp |
--nf)
1005 # Obsolete; use --without-fp.
1008 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1009 |
--no-cr |
--no-c |
-n)
1012 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1013 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1016 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1017 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1018 |
--oldin |
--oldi |
--old |
--ol |
--o)
1019 ac_prev
=oldincludedir
;;
1020 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1021 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1022 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1023 oldincludedir
=$ac_optarg ;;
1025 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1027 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1028 prefix
=$ac_optarg ;;
1030 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1031 |
--program-pre |
--program-pr |
--program-p)
1032 ac_prev
=program_prefix
;;
1033 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1034 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1035 program_prefix
=$ac_optarg ;;
1037 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1038 |
--program-suf |
--program-su |
--program-s)
1039 ac_prev
=program_suffix
;;
1040 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1041 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1042 program_suffix
=$ac_optarg ;;
1044 -program-transform-name |
--program-transform-name \
1045 |
--program-transform-nam |
--program-transform-na \
1046 |
--program-transform-n |
--program-transform- \
1047 |
--program-transform |
--program-transfor \
1048 |
--program-transfo |
--program-transf \
1049 |
--program-trans |
--program-tran \
1050 |
--progr-tra |
--program-tr |
--program-t)
1051 ac_prev
=program_transform_name
;;
1052 -program-transform-name=* |
--program-transform-name=* \
1053 |
--program-transform-nam=* |
--program-transform-na=* \
1054 |
--program-transform-n=* |
--program-transform-=* \
1055 |
--program-transform=* |
--program-transfor=* \
1056 |
--program-transfo=* |
--program-transf=* \
1057 |
--program-trans=* |
--program-tran=* \
1058 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1059 program_transform_name
=$ac_optarg ;;
1061 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1063 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1064 pdfdir
=$ac_optarg ;;
1066 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1068 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1071 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1072 |
-silent |
--silent |
--silen |
--sile |
--sil)
1075 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1077 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1079 sbindir
=$ac_optarg ;;
1081 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1082 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1083 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1085 ac_prev
=sharedstatedir
;;
1086 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1087 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1088 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1090 sharedstatedir
=$ac_optarg ;;
1092 -site |
--site |
--sit)
1094 -site=* |
--site=* |
--sit=*)
1097 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1099 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1100 srcdir
=$ac_optarg ;;
1102 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1103 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1104 ac_prev
=sysconfdir
;;
1105 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1106 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1107 sysconfdir
=$ac_optarg ;;
1109 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1110 ac_prev
=target_alias
;;
1111 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1112 target_alias
=$ac_optarg ;;
1114 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1117 -version |
--version |
--versio |
--versi |
--vers |
-V)
1118 ac_init_version
=: ;;
1121 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=\
$ac_optarg ;;
1136 -without-* |
--without-*)
1137 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error
"invalid package name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=no
;;
1153 # Obsolete; use --with-x.
1156 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1157 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1158 ac_prev
=x_includes
;;
1159 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1160 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1161 x_includes
=$ac_optarg ;;
1163 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1164 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1165 ac_prev
=x_libraries
;;
1166 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1167 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1168 x_libraries
=$ac_optarg ;;
1170 -*) as_fn_error
"unrecognized option: \`$ac_option'
1171 Try \`$0 --help' for more information."
1175 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1176 # Reject names that are not valid shell variable names.
1177 case $ac_envvar in #(
1178 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1179 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1181 eval $ac_envvar=\
$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195 if test -n "$ac_prev"; then
1196 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1197 as_fn_error
"missing argument to $ac_option"
1200 if test -n "$ac_unrecognized_opts"; then
1201 case $enable_option_checking in
1203 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208 # Check all directory arguments for consistency.
1209 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210 datadir sysconfdir sharedstatedir localstatedir includedir \
1211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1212 libdir localedir mandir
1214 eval ac_val
=\$
$ac_var
1215 # Remove trailing slashes.
1218 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1219 eval $ac_var=\
$ac_val;;
1221 # Be sure to have absolute directory names.
1223 [\\/$
]* | ?
:[\\/]* ) continue;;
1224 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1226 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1229 # There might be people who depend on the old broken behavior: `$host'
1230 # used to hold the argument of --host etc.
1231 # FIXME: To remove some day.
1234 target
=$target_alias
1236 # FIXME: To remove some day.
1237 if test "x$host_alias" != x
; then
1238 if test "x$build_alias" = x
; then
1239 cross_compiling
=maybe
1240 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1241 If a cross compiler is detected then cross compile mode will be used." >&2
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1250 test "$silent" = yes && exec 6>/dev
/null
1253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di
=`ls -di .` &&
1255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error
"working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error
"pwd does not report name of working directory"
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted
=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir
=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1293 ac_srcdir_defaulted
=no
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1297 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1299 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1311 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 for ac_var
in $ac_precious_vars; do
1314 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1316 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1321 # Report the --help message.
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1327 \`configure' configures this package to adapt to many kinds of systems.
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1334 Defaults for the options are specified in brackets.
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1358 For better control, use the options below.
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1385 --program-prefix=PREFIX prepend PREFIX to installed program names
1386 --program-suffix=SUFFIX append SUFFIX to installed program names
1387 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1390 --build=BUILD configure
for building on BUILD
[guessed
]
1391 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1392 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1396 if test -n "$ac_init_help"; then
1401 --disable-option-checking ignore unrecognized
--enable/--with options
1402 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1403 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1404 --disable-dependency-tracking speeds up one-time build
1405 --enable-dependency-tracking do not reject slow dependency extractors
1406 --enable-plugins Enable support
for plugins
(defaults no
)
1407 --disable-largefile omit support
for large files
1408 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1409 --enable-static[=PKGS
] build static libraries
[default
=yes]
1410 --enable-fast-install[=PKGS
]
1411 optimize
for fast installation
[default
=yes]
1412 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1413 --enable-targets alternative target configurations besides the primary
1414 --enable-checking enable run-time checks
1415 --enable-werror treat compile warnings as errors
1416 --enable-build-warnings enable build-time compiler warnings
1417 --disable-nls do not use Native Language Support
1418 --enable-maintainer-mode enable make rules and dependencies not useful
1419 (and sometimes confusing
) to the casual installer
1422 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1423 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1424 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1426 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1427 --with-sysroot=DIR Search
for dependent libraries within DIR
1428 (or the compiler
's sysroot if not specified).
1429 --with-zlib include zlib support (auto/yes/no) default=auto
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
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 $as_me, 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 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3231 am__api_version='1.11'
3233 # Find a good install program. We prefer a C program (faster),
3234 # so one script is as good as another. But avoid the broken or
3235 # incompatible versions:
3236 # SysV /etc/install, /usr/sbin/install
3237 # SunOS /usr/etc/install
3238 # IRIX /sbin/install
3240 # AmigaOS /C/install, which installs bootblocks on floppy discs
3241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3244 # OS/2's system install, which has a completely different semantic
3245 # ./install, which can be erroneously created by make from ./install.sh.
3246 # Reject install programs that cannot install multiple files.
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3248 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3249 if test -z "$INSTALL"; then
3250 if test "${ac_cv_path_install+set}" = set; then :
3251 $as_echo_n "(cached
) " >&6
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir=.
3258 # Account for people who put trailing slashes in PATH elements.
3259 case $as_dir/ in #((
3260 ./ | .// | /[cC]/* | \
3261 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3262 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3265 # OSF1 and SCO ODT 3.0 have their own names for install.
3266 # Don't use installbsd from OSF since it installs stuff as root
3268 for ac_prog in ginstall scoinst install; do
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3271 if test $ac_prog = install &&
3272 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3273 # AIX install. It has an incompatible calling convention.
3275 elif test $ac_prog = install &&
3276 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3277 # program-specific install script used by HP pwplus--don't use.
3280 rm -rf conftest.one conftest.two conftest.dir
3281 echo one > conftest.one
3282 echo two > conftest.two
3284 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3285 test -s conftest.one && test -s conftest.two &&
3286 test -s conftest.dir/conftest.one &&
3287 test -s conftest.dir/conftest.two
3289 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3302 rm -rf conftest.one conftest.two conftest.dir
3305 if test "${ac_cv_path_install+set}" = set; then
3306 INSTALL=$ac_cv_path_install
3308 # As a last resort, use the slow shell script. Don't cache a
3309 # value for INSTALL within a source directory, because that will
3310 # break other packages using the cache if that directory is
3311 # removed, or if the value is a relative name.
3312 INSTALL=$ac_install_sh
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3316 $as_echo "$INSTALL" >&6; }
3318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3319 # It thinks the first close brace ends the variable substitution.
3320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3324 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3327 $as_echo_n "checking whether build environment is sane...
" >&6; }
3330 echo timestamp > conftest.file
3331 # Reject unsafe characters in $srcdir or the absolute working directory
3332 # name. Accept space and tab only in the latter.
3336 *[\\\"\#\$\&\'\`$am_lf]*)
3337 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3340 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3341 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3344 # Do `set' in a subshell so we don't clobber the current shell
's
3345 # arguments. Must try -L first in case configure is actually a
3346 # symlink; some systems play weird games with the mod time of symlinks
3347 # (eg FreeBSD returns the mod time of the symlink's containing
3350 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3351 if test "$*" = "X"; then
3353 set X
`ls -t "$srcdir/configure" conftest.file`
3356 if test "$*" != "X $srcdir/configure conftest.file" \
3357 && test "$*" != "X conftest.file $srcdir/configure"; then
3359 # If neither matched, then we have a broken ls. This can happen
3360 # if, for instance, CONFIG_SHELL is bash and it inherits a
3361 # broken ls alias from the environment. This has actually
3362 # happened. Such a system could not be considered "sane".
3363 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3364 alias in your environment" "$LINENO" 5
3367 test "$2" = conftest.
file
3373 as_fn_error
"newly created file is older than distributed files!
3374 Check your system clock" "$LINENO" 5
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3377 $as_echo "yes" >&6; }
3378 test "$program_prefix" != NONE
&&
3379 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3380 # Use a double $ so make ignores it.
3381 test "$program_suffix" != NONE
&&
3382 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3383 # Double any \ or $.
3384 # By default was `s,x,x', remove it if useless.
3385 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3386 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3388 # expand $ac_aux_dir to an absolute path
3389 am_aux_dir
=`cd $ac_aux_dir && pwd`
3391 if test x
"${MISSING+set}" != xset
; then
3394 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3396 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3399 # Use eval to expand $SHELL
3400 if eval "$MISSING --run true"; then
3401 am_missing_run
="$MISSING --run "
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3405 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3408 if test x
"${install_sh}" != xset
; then
3411 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3413 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3417 # Installed binaries are usually stripped using `strip' when the user
3418 # run `make install-strip'. However `strip' might not be the right
3419 # tool to use in cross-compilation environments, therefore Automake
3420 # will honor the `STRIP' environment variable to overrule this program.
3421 if test "$cross_compiling" != no
; then
3422 if test -n "$ac_tool_prefix"; then
3423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3424 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 $as_echo_n "checking for $ac_word... " >&6; }
3427 if test "${ac_cv_prog_STRIP+set}" = set; then :
3428 $as_echo_n "(cached) " >&6
3430 if test -n "$STRIP"; then
3431 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3437 test -z "$as_dir" && as_dir
=.
3438 for ac_exec_ext
in '' $ac_executable_extensions; do
3439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3440 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 STRIP
=$ac_cv_prog_STRIP
3451 if test -n "$STRIP"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3453 $as_echo "$STRIP" >&6; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3461 if test -z "$ac_cv_prog_STRIP"; then
3463 # Extract the first word of "strip", so it can be a program name with args.
3464 set dummy strip
; ac_word
=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3468 $as_echo_n "(cached) " >&6
3470 if test -n "$ac_ct_STRIP"; then
3471 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3480 ac_cv_prog_ac_ct_STRIP
="strip"
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3491 if test -n "$ac_ct_STRIP"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3493 $as_echo "$ac_ct_STRIP" >&6; }
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3499 if test "x$ac_ct_STRIP" = x
; then
3502 case $cross_compiling:$ac_tool_warned in
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3506 ac_tool_warned
=yes ;;
3511 STRIP
="$ac_cv_prog_STRIP"
3515 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3518 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3519 if test -z "$MKDIR_P"; then
3520 if test "${ac_cv_path_mkdir+set}" = set; then :
3521 $as_echo_n "(cached) " >&6
3523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3524 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3527 test -z "$as_dir" && as_dir
=.
3528 for ac_prog
in mkdir gmkdir
; do
3529 for ac_exec_ext
in '' $ac_executable_extensions; do
3530 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3531 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3532 'mkdir (GNU coreutils) '* | \
3533 'mkdir (coreutils) '* | \
3534 'mkdir (fileutils) '4.1*)
3535 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3545 if test "${ac_cv_path_mkdir+set}" = set; then
3546 MKDIR_P
="$ac_cv_path_mkdir -p"
3548 # As a last resort, use the slow shell script. Don't cache a
3549 # value for MKDIR_P within a source directory, because that will
3550 # break other packages using the cache if that directory is
3551 # removed, or if the value is a relative name.
3552 test -d .
/--version && rmdir .
/--version
3553 MKDIR_P
="$ac_install_sh -d"
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3557 $as_echo "$MKDIR_P" >&6; }
3561 [\\/$
]* | ?
:[\\/]*) ;;
3562 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3565 for ac_prog
in gawk mawk nawk
awk
3567 # Extract the first word of "$ac_prog", so it can be a program name with args.
3568 set dummy
$ac_prog; ac_word
=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if test "${ac_cv_prog_AWK+set}" = set; then :
3572 $as_echo_n "(cached) " >&6
3574 if test -n "$AWK"; then
3575 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir
=.
3582 for ac_exec_ext
in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_AWK
="$ac_prog"
3585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test -n "$AWK"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3597 $as_echo "$AWK" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3604 test -n "$AWK" && break
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3608 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3610 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3611 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3612 $as_echo_n "(cached) " >&6
3614 cat >conftest.
make <<\_ACEOF
3617 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3619 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3620 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3622 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3624 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3628 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3630 $as_echo "yes" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3635 SET_MAKE
="MAKE=${MAKE-make}"
3638 rm -rf .tst
2>/dev
/null
3639 mkdir .tst
2>/dev
/null
3640 if test -d .tst
; then
3645 rmdir .tst
2>/dev
/null
3647 DEPDIR
="${am__leading_dot}deps"
3649 ac_config_commands
="$ac_config_commands depfiles"
3652 am_make
=${MAKE-make}
3653 cat > confinc
<< 'END'
3655 @
echo this is the am__doit target
3658 # If we don't find an include directive, just comment out the code.
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3660 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3664 # First try GNU make style include.
3665 echo "include confinc" > confmf
3666 # Ignore all kinds of additional output from `make'.
3667 case `$am_make -s -f confmf 2> /dev/null` in #(
3668 *the\ am__doit\ target
*)
3674 # Now try BSD make style include.
3675 if test "$am__include" = "#"; then
3676 echo '.include "confinc"' > confmf
3677 case `$am_make -s -f confmf 2> /dev/null` in #(
3678 *the\ am__doit\ target
*)
3679 am__include
=.include
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3688 $as_echo "$_am_result" >&6; }
3689 rm -f confinc confmf
3691 # Check whether --enable-dependency-tracking was given.
3692 if test "${enable_dependency_tracking+set}" = set; then :
3693 enableval
=$enable_dependency_tracking;
3696 if test "x$enable_dependency_tracking" != xno
; then
3697 am_depcomp
="$ac_aux_dir/depcomp"
3700 if test "x$enable_dependency_tracking" != xno; then
3709 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3710 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3711 # is not polluted with repeated "-I."
3712 am__isrc
=' -I$(srcdir)'
3713 # test to see if srcdir already configured
3714 if test -f $srcdir/config.status
; then
3715 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3719 # test whether we have cygpath
3720 if test -z "$CYGPATH_W"; then
3721 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3722 CYGPATH_W
='cygpath -w'
3729 # Define the identity of the package.
3731 VERSION
=${BFD_VERSION}
3734 cat >>confdefs.h
<<_ACEOF
3735 #define PACKAGE "$PACKAGE"
3739 cat >>confdefs.h
<<_ACEOF
3740 #define VERSION "$VERSION"
3743 # Some tools Automake needs.
3745 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3748 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3751 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3754 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3757 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3759 # We need awk for the "check" target. The system "awk" is bad on
3761 # Always define AMTAR for backward compatibility.
3763 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3765 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3770 depcc
="$CC" am_compiler_list
=
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3773 $as_echo_n "checking dependency style of $depcc... " >&6; }
3774 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3778 # We make a subdir and do the tests there. Otherwise we can end up
3779 # making bogus files that we don't know about and never remove. For
3780 # instance it was reported that on HP-UX the gcc test will end up
3781 # making a dummy file named `D' -- because `-MD' means `put the output
3784 # Copy depcomp to subdir because otherwise we won't find it if we're
3785 # using a relative directory.
3786 cp "$am_depcomp" conftest.dir
3788 # We will build objects and dependencies in a subdirectory because
3789 # it helps to detect inapplicable dependency modes. For instance
3790 # both Tru64's cc and ICC support -MD to output dependencies as a
3791 # side effect of compilation, but ICC will put the dependencies in
3792 # the current directory while Tru64 will put them in the object
3796 am_cv_CC_dependencies_compiler_type
=none
3797 if test "$am_compiler_list" = ""; then
3798 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3801 case " $depcc " in #(
3802 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3805 for depmode
in $am_compiler_list; do
3806 # Setup a source with many dependencies, because some compilers
3807 # like to wrap large dependency lists on column 80 (with \), and
3808 # we should not choose a depcomp mode which is confused by this.
3810 # We need to recreate these files for each test, as the compiler may
3811 # overwrite some of them when testing with obscure command lines.
3812 # This happens at least with the AIX C compiler.
3814 for i
in 1 2 3 4 5 6; do
3815 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3816 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3817 # Solaris 8's {/usr,}/bin/sh.
3818 touch sub
/conftst
$i.h
3820 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3822 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3823 # mode. It turns out that the SunPro C++ compiler does not properly
3824 # handle `-M -o', and we need to detect this. Also, some Intel
3825 # versions had trouble with output in subdirs
3826 am__obj
=sub
/conftest.
${OBJEXT-o}
3827 am__minus_obj
="-o $am__obj"
3830 # This depmode causes a compiler race in universal mode.
3831 test "$am__universal" = false ||
continue
3834 # after this tag, mechanisms are not by side-effect, so they'll
3835 # only be used when explicitly requested
3836 if test "x$enable_dependency_tracking" = xyes
; then
3842 msvisualcpp | msvcmsys
)
3843 # This compiler won't grok `-c -o', but also, the minuso test has
3844 # not run yet. These depmodes are late enough in the game, and
3845 # so weak that their functioning should not be impacted.
3846 am__obj
=conftest.
${OBJEXT-o}
3851 if depmode
=$depmode \
3852 source=sub
/conftest.c object
=$am__obj \
3853 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3854 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3855 >/dev
/null
2>conftest.err
&&
3856 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3857 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3858 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3859 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3860 # icc doesn't choke on unknown options, it will just issue warnings
3861 # or remarks (even with -Werror). So we grep stderr for any message
3862 # that says an option was ignored or not supported.
3863 # When given -MP, icc 7.0 and 7.1 complain thusly:
3864 # icc: Command line warning: ignoring option '-M'; no argument required
3865 # The diagnosis changed in icc 8.0:
3866 # icc: Command line remark: option '-MP' not supported
3867 if (grep 'ignoring option' conftest.err ||
3868 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3869 am_cv_CC_dependencies_compiler_type
=$depmode
3878 am_cv_CC_dependencies_compiler_type
=none
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3883 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3884 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3887 test "x$enable_dependency_tracking" != xno \
3888 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3890 am__fastdepCC_FALSE
='#'
3892 am__fastdepCC_TRUE
='#'
3893 am__fastdepCC_FALSE
=
3900 ac_cpp
='$CPP $CPPFLAGS'
3901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3904 if test -n "$ac_tool_prefix"; then
3905 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3906 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if test "${ac_cv_prog_CC+set}" = set; then :
3910 $as_echo_n "(cached) " >&6
3912 if test -n "$CC"; then
3913 ac_cv_prog_CC
="$CC" # Let the user override the test.
3915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir
=.
3920 for ac_exec_ext
in '' $ac_executable_extensions; do
3921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3922 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 if test -n "$CC"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3935 $as_echo "$CC" >&6; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3943 if test -z "$ac_cv_prog_CC"; then
3945 # Extract the first word of "gcc", so it can be a program name with args.
3946 set dummy gcc
; ac_word
=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$ac_ct_CC"; then
3953 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir
=.
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962 ac_cv_prog_ac_ct_CC
="gcc"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3973 if test -n "$ac_ct_CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3975 $as_echo "$ac_ct_CC" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3981 if test "x$ac_ct_CC" = x
; then
3984 case $cross_compiling:$ac_tool_warned in
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3988 ac_tool_warned
=yes ;;
3996 if test -z "$CC"; then
3997 if test -n "$ac_tool_prefix"; then
3998 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3999 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4001 $as_echo_n "checking for $ac_word... " >&6; }
4002 if test "${ac_cv_prog_CC+set}" = set; then :
4003 $as_echo_n "(cached) " >&6
4005 if test -n "$CC"; then
4006 ac_cv_prog_CC
="$CC" # Let the user override the test.
4008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4012 test -z "$as_dir" && as_dir
=.
4013 for ac_exec_ext
in '' $ac_executable_extensions; do
4014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4015 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 if test -n "$CC"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4028 $as_echo "$CC" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4037 if test -z "$CC"; then
4038 # Extract the first word of "cc", so it can be a program name with args.
4039 set dummy cc
; ac_word
=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if test "${ac_cv_prog_CC+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -n "$CC"; then
4046 ac_cv_prog_CC
="$CC" # Let the user override the test.
4049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir
=.
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4056 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4057 ac_prog_rejected
=yes
4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 if test $ac_prog_rejected = yes; then
4069 # We found a bogon in the path, so make sure we never use it.
4070 set dummy
$ac_cv_prog_CC
4072 if test $# != 0; then
4073 # We chose a different compiler from the bogus one.
4074 # However, it has the same basename, so the bogon will be chosen
4075 # first if we set CC to just the basename; use the full file name.
4077 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4083 if test -n "$CC"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4085 $as_echo "$CC" >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4093 if test -z "$CC"; then
4094 if test -n "$ac_tool_prefix"; then
4095 for ac_prog
in cl.exe
4097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4098 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100 $as_echo_n "checking for $ac_word... " >&6; }
4101 if test "${ac_cv_prog_CC+set}" = set; then :
4102 $as_echo_n "(cached) " >&6
4104 if test -n "$CC"; then
4105 ac_cv_prog_CC
="$CC" # Let the user override the test.
4107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4111 test -z "$as_dir" && as_dir
=.
4112 for ac_exec_ext
in '' $ac_executable_extensions; do
4113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4114 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 if test -n "$CC"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4127 $as_echo "$CC" >&6; }
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4134 test -n "$CC" && break
4137 if test -z "$CC"; then
4139 for ac_prog
in cl.exe
4141 # Extract the first word of "$ac_prog", so it can be a program name with args.
4142 set dummy
$ac_prog; ac_word
=$2
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4144 $as_echo_n "checking for $ac_word... " >&6; }
4145 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4146 $as_echo_n "(cached) " >&6
4148 if test -n "$ac_ct_CC"; then
4149 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 test -z "$as_dir" && as_dir
=.
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4158 ac_cv_prog_ac_ct_CC
="$ac_prog"
4159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4168 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4169 if test -n "$ac_ct_CC"; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4171 $as_echo "$ac_ct_CC" >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174 $as_echo "no" >&6; }
4178 test -n "$ac_ct_CC" && break
4181 if test "x$ac_ct_CC" = x
; then
4184 case $cross_compiling:$ac_tool_warned in
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4188 ac_tool_warned
=yes ;;
4197 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error
"no acceptable C compiler found in \$PATH
4200 See \`config.log' for more details." "$LINENO" 5; }
4202 # Provide some information about the compiler.
4203 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4206 for ac_option
in --version -v -V -qversion; do
4207 { { ac_try
="$ac_compiler $ac_option >&5"
4209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4216 if test -s conftest.err; then
4218 ... rest of stderr output deleted ...
4219 10q' conftest.err >conftest.er1
4220 cat conftest.er1 >&5
4221 rm -f conftest.er1 conftest.err
4223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4224 test $ac_status = 0; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4228 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4229 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4246 if ac_fn_c_try_compile "$LINENO"; then :
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4252 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4256 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4257 if test $ac_compiler_gnu = yes; then
4262 ac_test_CFLAGS=${CFLAGS+set}
4263 ac_save_CFLAGS=$CFLAGS
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4265 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4266 if test "${ac_cv_prog_cc_g+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 ac_save_c_werror_flag=$ac_c_werror_flag
4270 ac_c_werror_flag=yes
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4284 if ac_fn_c_try_compile "$LINENO"; then :
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4299 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_c_werror_flag=$ac_save_c_werror_flag
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4315 if ac_fn_c_try_compile "$LINENO"; then :
4318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4323 ac_c_werror_flag=$ac_save_c_werror_flag
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4326 $as_echo "$ac_cv_prog_cc_g" >&6; }
4327 if test "$ac_test_CFLAGS" = set; then
4328 CFLAGS=$ac_save_CFLAGS
4329 elif test $ac_cv_prog_cc_g = yes; then
4330 if test "$GCC" = yes; then
4336 if test "$GCC" = yes; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4343 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4344 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 ac_cv_prog_cc_c89=no
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4353 #include <sys/types.h>
4354 #include <sys/stat.h>
4355 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4356 struct buf { int x; };
4357 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4358 static char *e (p, i)
4364 static char *f (char * (*g) (char **, int), char **p, ...)
4369 s = g (p, va_arg (v,int));
4374 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4375 function prototypes and stuff, but not '\xHH' hex character constants.
4376 These don't provoke an error unfortunately, instead are silently treated
4377 as 'x'. The following induces an error, until -std is added to get
4378 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4379 array size at least. It's necessary to write '\x00'==0 to get something
4380 that's true only with -std. */
4381 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4383 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4384 inside strings and character constants. */
4386 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4388 int test (int i, double x);
4389 struct s1 {int (*f) (int a);};
4390 struct s2 {int (*f) (double a);};
4391 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4397 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4402 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4403 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4405 CC="$ac_save_CC $ac_arg"
4406 if ac_fn_c_try_compile "$LINENO"; then :
4407 ac_cv_prog_cc_c89=$ac_arg
4409 rm -f core conftest.err conftest.$ac_objext
4410 test "x$ac_cv_prog_cc_c89" != "xno" && break
4412 rm -f conftest.$ac_ext
4417 case "x$ac_cv_prog_cc_c89" in
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4420 $as_echo "none needed" >&6; } ;;
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4423 $as_echo "unsupported" >&6; } ;;
4425 CC="$CC $ac_cv_prog_cc_c89"
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4427 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4429 if test "x$ac_cv_prog_cc_c89" != xno; then :
4434 ac_cpp='$CPP $CPPFLAGS'
4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440 ac_cpp='$CPP $CPPFLAGS'
4441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4445 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4446 # On Suns, sometimes $CPP names a directory.
4447 if test -n "$CPP" && test -d "$CPP"; then
4450 if test -z "$CPP"; then
4451 if test "${ac_cv_prog_CPP+set}" = set; then :
4452 $as_echo_n "(cached) " >&6
4454 # Double quotes because CPP needs to be expanded
4455 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4458 for ac_c_preproc_warn_flag in '' yes
4460 # Use a header file that comes with gcc, so configuring glibc
4461 # with a fresh cross-compiler works.
4462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4463 # <limits.h> exists even on freestanding compilers.
4464 # On the NeXT, cc -E runs the code through the compiler's parser,
4465 # not just through cpp. "Syntax error" is here to catch this case.
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4469 # include <limits.h>
4471 # include <assert.h>
4475 if ac_fn_c_try_cpp "$LINENO"; then :
4478 # Broken: fails on valid input.
4481 rm -f conftest.err conftest.$ac_ext
4483 # OK, works on sane cases. Now check whether nonexistent headers
4484 # can be detected and how.
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4487 #include <ac_nonexistent.h>
4489 if ac_fn_c_try_cpp "$LINENO"; then :
4490 # Broken: success on invalid input.
4493 # Passes both tests.
4497 rm -f conftest.err conftest.$ac_ext
4500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4501 rm -f conftest.err conftest.
$ac_ext
4502 if $ac_preproc_ok; then :
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4515 $as_echo "$CPP" >&6; }
4517 for ac_c_preproc_warn_flag
in '' yes
4519 # Use a header file that comes with gcc, so configuring glibc
4520 # with a fresh cross-compiler works.
4521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4522 # <limits.h> exists even on freestanding compilers.
4523 # On the NeXT, cc -E runs the code through the compiler's parser,
4524 # not just through cpp. "Syntax error" is here to catch this case.
4525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4528 # include <limits.h>
4530 # include <assert.h>
4534 if ac_fn_c_try_cpp
"$LINENO"; then :
4537 # Broken: fails on valid input.
4540 rm -f conftest.err conftest.
$ac_ext
4542 # OK, works on sane cases. Now check whether nonexistent headers
4543 # can be detected and how.
4544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4546 #include <ac_nonexistent.h>
4548 if ac_fn_c_try_cpp
"$LINENO"; then :
4549 # Broken: success on invalid input.
4552 # Passes both tests.
4556 rm -f conftest.err conftest.
$ac_ext
4559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4560 rm -f conftest.err conftest.
$ac_ext
4561 if $ac_preproc_ok; then :
4564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4566 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4567 See \`config.log' for more details." "$LINENO" 5; }
4571 ac_cpp
='$CPP $CPPFLAGS'
4572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4578 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4579 if test "${ac_cv_path_GREP+set}" = set; then :
4580 $as_echo_n "(cached) " >&6
4582 if test -z "$GREP"; then
4583 ac_path_GREP_found
=false
4584 # Loop through the user's path and test for each of PROGNAME-LIST
4585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4586 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4589 test -z "$as_dir" && as_dir
=.
4590 for ac_prog
in grep ggrep
; do
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4593 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4594 # Check for GNU ac_path_GREP and select it if it is found.
4595 # Check for GNU $ac_path_GREP
4596 case `"$ac_path_GREP" --version 2>&1` in
4598 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4601 $as_echo_n 0123456789 >"conftest.in"
4604 cat "conftest.in" "conftest.in" >"conftest.tmp"
4605 mv "conftest.tmp" "conftest.in"
4606 cp "conftest.in" "conftest.nl"
4607 $as_echo 'GREP' >> "conftest.nl"
4608 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4609 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4610 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4611 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4612 # Best one so far, save it but keep looking for a better one
4613 ac_cv_path_GREP
="$ac_path_GREP"
4614 ac_path_GREP_max
=$ac_count
4616 # 10*(2^10) chars as input seems more than enough
4617 test $ac_count -gt 10 && break
4619 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4622 $ac_path_GREP_found && break 3
4627 if test -z "$ac_cv_path_GREP"; then
4628 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4631 ac_cv_path_GREP
=$GREP
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4636 $as_echo "$ac_cv_path_GREP" >&6; }
4637 GREP
="$ac_cv_path_GREP"
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4641 $as_echo_n "checking for egrep... " >&6; }
4642 if test "${ac_cv_path_EGREP+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4646 then ac_cv_path_EGREP
="$GREP -E"
4648 if test -z "$EGREP"; then
4649 ac_path_EGREP_found
=false
4650 # Loop through the user's path and test for each of PROGNAME-LIST
4651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4655 test -z "$as_dir" && as_dir
=.
4656 for ac_prog
in egrep; do
4657 for ac_exec_ext
in '' $ac_executable_extensions; do
4658 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4659 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4660 # Check for GNU ac_path_EGREP and select it if it is found.
4661 # Check for GNU $ac_path_EGREP
4662 case `"$ac_path_EGREP" --version 2>&1` in
4664 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4667 $as_echo_n 0123456789 >"conftest.in"
4670 cat "conftest.in" "conftest.in" >"conftest.tmp"
4671 mv "conftest.tmp" "conftest.in"
4672 cp "conftest.in" "conftest.nl"
4673 $as_echo 'EGREP' >> "conftest.nl"
4674 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4675 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4676 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4677 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4678 # Best one so far, save it but keep looking for a better one
4679 ac_cv_path_EGREP
="$ac_path_EGREP"
4680 ac_path_EGREP_max
=$ac_count
4682 # 10*(2^10) chars as input seems more than enough
4683 test $ac_count -gt 10 && break
4685 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4688 $ac_path_EGREP_found && break 3
4693 if test -z "$ac_cv_path_EGREP"; then
4694 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4697 ac_cv_path_EGREP
=$EGREP
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4703 $as_echo "$ac_cv_path_EGREP" >&6; }
4704 EGREP
="$ac_cv_path_EGREP"
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4708 $as_echo_n "checking for ANSI C header files... " >&6; }
4709 if test "${ac_cv_header_stdc+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4727 if ac_fn_c_try_compile
"$LINENO"; then :
4728 ac_cv_header_stdc
=yes
4730 ac_cv_header_stdc
=no
4732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4734 if test $ac_cv_header_stdc = yes; then
4735 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4742 $EGREP "memchr" >/dev
/null
2>&1; then :
4745 ac_cv_header_stdc
=no
4751 if test $ac_cv_header_stdc = yes; then
4752 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4759 $EGREP "free" >/dev
/null
2>&1; then :
4762 ac_cv_header_stdc
=no
4768 if test $ac_cv_header_stdc = yes; then
4769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4770 if test "$cross_compiling" = yes; then :
4773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4777 #if ((' ' & 0x0FF) == 0x020)
4778 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4779 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4781 # define ISLOWER(c) \
4782 (('a' <= (c) && (c) <= 'i') \
4783 || ('j' <= (c) && (c) <= 'r') \
4784 || ('s' <= (c) && (c) <= 'z'))
4785 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4788 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4793 for (i = 0; i < 256; i++)
4794 if (XOR (islower (i), ISLOWER (i))
4795 || toupper (i) != TOUPPER (i))
4800 if ac_fn_c_try_run
"$LINENO"; then :
4803 ac_cv_header_stdc
=no
4805 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4806 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4812 $as_echo "$ac_cv_header_stdc" >&6; }
4813 if test $ac_cv_header_stdc = yes; then
4815 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4819 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4820 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4821 inttypes.h stdint.h unistd.h
4823 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4824 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4826 eval as_val
=\$
$as_ac_Header
4827 if test "x$as_val" = x
""yes; then :
4828 cat >>confdefs.h
<<_ACEOF
4829 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4838 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4839 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4846 if test "$MINIX" = yes; then
4848 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4851 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4854 $as_echo "#define _MINIX 1" >>confdefs.h
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4860 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4861 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4865 /* end confdefs.h. */
4867 # define __EXTENSIONS__ 1
4868 $ac_includes_default
4877 if ac_fn_c_try_compile
"$LINENO"; then :
4878 ac_cv_safe_to_define___extensions__
=yes
4880 ac_cv_safe_to_define___extensions__
=no
4882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4885 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4886 test $ac_cv_safe_to_define___extensions__ = yes &&
4887 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4889 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4891 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4893 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4895 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4901 # The tests for host and target for $enable_largefile require
4906 # As the $enable_largefile decision depends on --enable-plugins we must set it
4907 # even in directories otherwise not depending on the $plugins option.
4910 # Check whether --enable-plugins was given.
4911 if test "${enable_plugins+set}" = set; then :
4912 enableval
=$enable_plugins; case "${enableval}" in
4913 yes |
"") plugins
=yes ;;
4924 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
4925 # On native 32bit sparc and ia32 solaris, large-file and procfs support
4926 # are mutually exclusive; and without procfs support, the bfd/ elf module
4927 # cannot provide certain routines such as elfcore_write_prpsinfo
4928 # or elfcore_write_prstatus. So unless the user explicitly requested
4929 # large-file support through the --enable-largefile switch, disable
4930 # large-file support in favor of procfs support.
4931 test "${target}" = "${host}" -a "x$plugins" = xno \
4932 && : ${enable_largefile="no"}
4936 # Check whether --enable-largefile was given.
4937 if test "${enable_largefile+set}" = set; then :
4938 enableval
=$enable_largefile;
4941 if test "$enable_largefile" != no
; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4944 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4945 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4946 $as_echo_n "(cached) " >&6
4948 ac_cv_sys_largefile_CC
=no
4949 if test "$GCC" != yes; then
4952 # IRIX 6.2 and later do not support large files by default,
4953 # so use the C compiler's -n32 option if that helps.
4954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4956 #include <sys/types.h>
4957 /* Check that off_t can represent 2**63 - 1 correctly.
4958 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4959 since some C++ compilers masquerading as C compilers
4960 incorrectly reject 9223372036854775807. */
4961 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4962 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4963 && LARGE_OFF_T % 2147483647 == 1)
4973 if ac_fn_c_try_compile
"$LINENO"; then :
4976 rm -f core conftest.err conftest.
$ac_objext
4978 if ac_fn_c_try_compile
"$LINENO"; then :
4979 ac_cv_sys_largefile_CC
=' -n32'; break
4981 rm -f core conftest.err conftest.
$ac_objext
4985 rm -f conftest.
$ac_ext
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4989 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4990 if test "$ac_cv_sys_largefile_CC" != no
; then
4991 CC
=$CC$ac_cv_sys_largefile_CC
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4995 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4996 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4997 $as_echo_n "(cached) " >&6
5000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5002 #include <sys/types.h>
5003 /* Check that off_t can represent 2**63 - 1 correctly.
5004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5005 since some C++ compilers masquerading as C compilers
5006 incorrectly reject 9223372036854775807. */
5007 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5009 && LARGE_OFF_T % 2147483647 == 1)
5019 if ac_fn_c_try_compile
"$LINENO"; then :
5020 ac_cv_sys_file_offset_bits
=no
; break
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #define _FILE_OFFSET_BITS 64
5026 #include <sys/types.h>
5027 /* Check that off_t can represent 2**63 - 1 correctly.
5028 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5029 since some C++ compilers masquerading as C compilers
5030 incorrectly reject 9223372036854775807. */
5031 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5032 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5033 && LARGE_OFF_T % 2147483647 == 1)
5043 if ac_fn_c_try_compile
"$LINENO"; then :
5044 ac_cv_sys_file_offset_bits
=64; break
5046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5047 ac_cv_sys_file_offset_bits
=unknown
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5052 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5053 case $ac_cv_sys_file_offset_bits in #(
5056 cat >>confdefs.h
<<_ACEOF
5057 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5062 if test $ac_cv_sys_file_offset_bits = unknown
; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5064 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5065 if test "${ac_cv_sys_large_files+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5071 #include <sys/types.h>
5072 /* Check that off_t can represent 2**63 - 1 correctly.
5073 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5074 since some C++ compilers masquerading as C compilers
5075 incorrectly reject 9223372036854775807. */
5076 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5078 && LARGE_OFF_T % 2147483647 == 1)
5088 if ac_fn_c_try_compile
"$LINENO"; then :
5089 ac_cv_sys_large_files
=no
; break
5091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5094 #define _LARGE_FILES 1
5095 #include <sys/types.h>
5096 /* Check that off_t can represent 2**63 - 1 correctly.
5097 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5098 since some C++ compilers masquerading as C compilers
5099 incorrectly reject 9223372036854775807. */
5100 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5101 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5102 && LARGE_OFF_T % 2147483647 == 1)
5112 if ac_fn_c_try_compile
"$LINENO"; then :
5113 ac_cv_sys_large_files
=1; break
5115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5116 ac_cv_sys_large_files
=unknown
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5121 $as_echo "$ac_cv_sys_large_files" >&6; }
5122 case $ac_cv_sys_large_files in #(
5125 cat >>confdefs.h
<<_ACEOF
5126 #define _LARGE_FILES $ac_cv_sys_large_files
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5139 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5145 macro_revision
='1.3293'
5159 ltmain
="$ac_aux_dir/ltmain.sh"
5161 # Backslashify metacharacters that are still active within
5162 # double-quoted strings.
5163 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5165 # Same as above, but do not quote variable references.
5166 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5168 # Sed substitution to delay expansion of an escaped shell variable in a
5169 # double_quote_subst'ed string.
5170 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5172 # Sed substitution to delay expansion of an escaped single quote.
5173 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5175 # Sed substitution to avoid accidental globbing in evaled expressions
5176 no_glob_subst
='s/\*/\\\*/g'
5178 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5179 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5180 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5183 $as_echo_n "checking how to print strings... " >&6; }
5184 # Test print first, because it will be a builtin if present.
5185 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5186 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5188 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5191 # Use this function as a fallback that always works.
5192 func_fallback_echo ()
5194 eval 'cat <<_LTECHO_EOF
5198 ECHO='func_fallback_echo
'
5201 # func_echo_all arg...
5202 # Invoke $ECHO with all args, space-separated.
5209 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5210 $as_echo "printf" >&6; } ;;
5211 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5212 $as_echo "print -r" >&6; } ;;
5213 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5214 $as_echo "cat" >&6; } ;;
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5231 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5232 if test "${ac_cv_path_SED+set}" = set; then :
5233 $as_echo_n "(cached) " >&6
5235 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5236 for ac_i in 1 2 3 4 5 6 7; do
5237 ac_script="$ac_script$as_nl$ac_script"
5239 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5240 { ac_script=; unset ac_script;}
5241 if test -z "$SED"; then
5242 ac_path_SED_found=false
5243 # Loop through the user's path and
test for each of PROGNAME-LIST
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_prog
in sed gsed
; do
5250 for ac_exec_ext
in '' $ac_executable_extensions; do
5251 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5252 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5253 # Check for GNU ac_path_SED and select it if it is found.
5254 # Check for GNU $ac_path_SED
5255 case `"$ac_path_SED" --version 2>&1` in
5257 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5260 $as_echo_n 0123456789 >"conftest.in"
5263 cat "conftest.in" "conftest.in" >"conftest.tmp"
5264 mv "conftest.tmp" "conftest.in"
5265 cp "conftest.in" "conftest.nl"
5266 $as_echo '' >> "conftest.nl"
5267 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5268 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5269 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5270 if test $ac_count -gt ${ac_path_SED_max-0}; then
5271 # Best one so far, save it but keep looking for a better one
5272 ac_cv_path_SED
="$ac_path_SED"
5273 ac_path_SED_max
=$ac_count
5275 # 10*(2^10) chars as input seems more than enough
5276 test $ac_count -gt 10 && break
5278 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5281 $ac_path_SED_found && break 3
5286 if test -z "$ac_cv_path_SED"; then
5287 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5295 $as_echo "$ac_cv_path_SED" >&6; }
5296 SED
="$ac_cv_path_SED"
5299 test -z "$SED" && SED
=sed
5300 Xsed
="$SED -e 1s/^X//"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5313 $as_echo_n "checking for fgrep... " >&6; }
5314 if test "${ac_cv_path_FGREP+set}" = set; then :
5315 $as_echo_n "(cached) " >&6
5317 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5318 then ac_cv_path_FGREP
="$GREP -F"
5320 if test -z "$FGREP"; then
5321 ac_path_FGREP_found
=false
5322 # Loop through the user's path and test for each of PROGNAME-LIST
5323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5327 test -z "$as_dir" && as_dir
=.
5328 for ac_prog
in fgrep
; do
5329 for ac_exec_ext
in '' $ac_executable_extensions; do
5330 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5331 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5332 # Check for GNU ac_path_FGREP and select it if it is found.
5333 # Check for GNU $ac_path_FGREP
5334 case `"$ac_path_FGREP" --version 2>&1` in
5336 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5339 $as_echo_n 0123456789 >"conftest.in"
5342 cat "conftest.in" "conftest.in" >"conftest.tmp"
5343 mv "conftest.tmp" "conftest.in"
5344 cp "conftest.in" "conftest.nl"
5345 $as_echo 'FGREP' >> "conftest.nl"
5346 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5347 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5348 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5349 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5350 # Best one so far, save it but keep looking for a better one
5351 ac_cv_path_FGREP
="$ac_path_FGREP"
5352 ac_path_FGREP_max
=$ac_count
5354 # 10*(2^10) chars as input seems more than enough
5355 test $ac_count -gt 10 && break
5357 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5360 $ac_path_FGREP_found && break 3
5365 if test -z "$ac_cv_path_FGREP"; then
5366 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5369 ac_cv_path_FGREP
=$FGREP
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5375 $as_echo "$ac_cv_path_FGREP" >&6; }
5376 FGREP
="$ac_cv_path_FGREP"
5379 test -z "$GREP" && GREP
=grep
5399 # Check whether --with-gnu-ld was given.
5400 if test "${with_gnu_ld+set}" = set; then :
5401 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5407 if test "$GCC" = yes; then
5408 # Check if gcc -print-prog-name=ld gives a path.
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5410 $as_echo_n "checking for ld used by $CC... " >&6; }
5413 # gcc leaves a trailing carriage return which upsets mingw
5414 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5416 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5419 # Accept absolute paths.
5421 re_direlt
='/[^/][^/]*/\.\./'
5422 # Canonicalize the pathname of ld
5423 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5424 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5425 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5427 test -z "$LD" && LD
="$ac_prog"
5430 # If it fails, then pretend we aren't using GCC.
5434 # If it is relative, then search for the first ld in PATH.
5438 elif test "$with_gnu_ld" = yes; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5440 $as_echo_n "checking for GNU ld... " >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5443 $as_echo_n "checking for non-GNU ld... " >&6; }
5445 if test "${lt_cv_path_LD+set}" = set; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -z "$LD"; then
5449 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5450 for ac_dir
in $PATH; do
5452 test -z "$ac_dir" && ac_dir
=.
5453 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5454 lt_cv_path_LD
="$ac_dir/$ac_prog"
5455 # Check to see if the program is GNU ld. I'd rather use --version,
5456 # but apparently some variants of GNU ld only accept -v.
5457 # Break only if it was the GNU/non-GNU ld that we prefer.
5458 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5459 *GNU
* |
*'with BFD'*)
5460 test "$with_gnu_ld" != no
&& break
5463 test "$with_gnu_ld" != yes && break
5470 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5475 if test -n "$LD"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5477 $as_echo "$LD" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5482 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5484 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5485 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5486 $as_echo_n "(cached) " >&6
5488 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5489 case `$LD -v 2>&1 </dev/null` in
5490 *GNU
* |
*'with BFD'*)
5491 lt_cv_prog_gnu_ld
=yes
5494 lt_cv_prog_gnu_ld
=no
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5499 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5500 with_gnu_ld
=$lt_cv_prog_gnu_ld
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5511 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5512 if test "${lt_cv_path_NM+set}" = set; then :
5513 $as_echo_n "(cached) " >&6
5515 if test -n "$NM"; then
5516 # Let the user override the test.
5519 lt_nm_to_check
="${ac_tool_prefix}nm"
5520 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5521 lt_nm_to_check
="$lt_nm_to_check nm"
5523 for lt_tmp_nm
in $lt_nm_to_check; do
5524 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5525 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5527 test -z "$ac_dir" && ac_dir
=.
5528 tmp_nm
="$ac_dir/$lt_tmp_nm"
5529 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5530 # Check to see if the nm accepts a BSD-compat flag.
5531 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5532 # nm: unknown option "B" ignored
5533 # Tru64's nm complains that /dev/null is an invalid object file
5534 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5535 */dev
/null
* |
*'Invalid file or object type'*)
5536 lt_cv_path_NM
="$tmp_nm -B"
5540 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5542 lt_cv_path_NM
="$tmp_nm -p"
5546 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5547 continue # so that we can try to find one that supports BSD flags
5556 : ${lt_cv_path_NM=no}
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5560 $as_echo "$lt_cv_path_NM" >&6; }
5561 if test "$lt_cv_path_NM" != "no"; then
5564 # Didn't find any BSD compatible name lister, look for dumpbin.
5565 if test -n "$DUMPBIN"; then :
5566 # Let the user override the test.
5568 if test -n "$ac_tool_prefix"; then
5569 for ac_prog
in dumpbin
"link -dump"
5571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5572 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$DUMPBIN"; then
5579 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 DUMPBIN
=$ac_cv_prog_DUMPBIN
5599 if test -n "$DUMPBIN"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5601 $as_echo "$DUMPBIN" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 test -n "$DUMPBIN" && break
5611 if test -z "$DUMPBIN"; then
5612 ac_ct_DUMPBIN
=$DUMPBIN
5613 for ac_prog
in dumpbin
"link -dump"
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy
$ac_prog; ac_word
=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5620 $as_echo_n "(cached) " >&6
5622 if test -n "$ac_ct_DUMPBIN"; then
5623 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir
=.
5630 for ac_exec_ext
in '' $ac_executable_extensions; do
5631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5643 if test -n "$ac_ct_DUMPBIN"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5645 $as_echo "$ac_ct_DUMPBIN" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5652 test -n "$ac_ct_DUMPBIN" && break
5655 if test "x$ac_ct_DUMPBIN" = x
; then
5658 case $cross_compiling:$ac_tool_warned in
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned
=yes ;;
5664 DUMPBIN
=$ac_ct_DUMPBIN
5668 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5670 DUMPBIN
="$DUMPBIN -symbols"
5678 if test "$DUMPBIN" != ":"; then
5682 test -z "$NM" && NM
=nm
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5690 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5691 if test "${lt_cv_nm_interface+set}" = set; then :
5692 $as_echo_n "(cached) " >&6
5694 lt_cv_nm_interface
="BSD nm"
5695 echo "int some_variable = 0;" > conftest.
$ac_ext
5696 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5697 (eval "$ac_compile" 2>conftest.err
)
5698 cat conftest.err
>&5
5699 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5700 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5701 cat conftest.err
>&5
5702 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5703 cat conftest.out
>&5
5704 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5705 lt_cv_nm_interface
="MS dumpbin"
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5710 $as_echo "$lt_cv_nm_interface" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5713 $as_echo_n "checking whether ln -s works... " >&6; }
5715 if test "$LN_S" = "ln -s"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5717 $as_echo "yes" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5720 $as_echo "no, using $LN_S" >&6; }
5723 # find the maximum length of command line arguments
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5725 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5726 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5727 $as_echo_n "(cached) " >&6
5734 # On DJGPP, this test can blow up pretty badly due to problems in libc
5735 # (any single argument exceeding 2000 bytes causes a buffer overrun
5736 # during glob expansion). Even if it were fixed, the result of this
5737 # check would be larger than it should be.
5738 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5742 # Under GNU Hurd, this test is not required because there is
5743 # no limit to the length of command line arguments.
5744 # Libtool will interpret -1 as no limit whatsoever
5745 lt_cv_sys_max_cmd_len
=-1;
5748 cygwin
* | mingw
* | cegcc
*)
5749 # On Win9x/ME, this test blows up -- it succeeds, but takes
5750 # about 5 minutes as the teststring grows exponentially.
5751 # Worse, since 9x/ME are not pre-emptively multitasking,
5752 # you end up with a "frozen" computer, even though with patience
5753 # the test eventually succeeds (with a max line length of 256k).
5754 # Instead, let's just punt: use the minimum linelength reported by
5755 # all of the supported platforms: 8192 (on NT/2K/XP).
5756 lt_cv_sys_max_cmd_len
=8192;
5760 # On MiNT this can take a long time and run out of memory.
5761 lt_cv_sys_max_cmd_len
=8192;
5765 # On AmigaOS with pdksh, this test takes hours, literally.
5766 # So we just punt and use a minimum line length of 8192.
5767 lt_cv_sys_max_cmd_len
=8192;
5770 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5771 # This has been around since 386BSD, at least. Likely further.
5772 if test -x /sbin
/sysctl
; then
5773 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5774 elif test -x /usr
/sbin
/sysctl
; then
5775 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5777 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5779 # And add a safety zone
5780 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5781 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5785 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5786 lt_cv_sys_max_cmd_len
=196608
5790 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5791 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5792 # nice to cause kernel panics so lets avoid the loop below.
5793 # First set a reasonable default.
5794 lt_cv_sys_max_cmd_len
=16384
5796 if test -x /sbin
/sysconfig
; then
5797 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5798 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5803 lt_cv_sys_max_cmd_len
=102400
5805 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5806 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5807 if test -n "$kargmax"; then
5808 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5810 lt_cv_sys_max_cmd_len
=32768
5814 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5815 if test -n "$lt_cv_sys_max_cmd_len"; then
5816 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5817 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5819 # Make teststring a little bigger before we do anything with it.
5820 # a 1K string should be a reasonable start.
5821 for i
in 1 2 3 4 5 6 7 8 ; do
5822 teststring
=$teststring$teststring
5824 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5825 # If test is not a shell built-in, we'll probably end up computing a
5826 # maximum length that is only half of the actual maximum length, but
5828 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5829 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5830 test $i != 17 # 1/2 MB should be enough
5833 teststring
=$teststring$teststring
5835 # Only check the string length outside the loop.
5836 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5838 # Add a significant safety factor because C++ compilers can tack on
5839 # massive amounts of additional arguments before passing them to the
5840 # linker. It appears as though 1/2 is a usable value.
5841 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5848 if test -n $lt_cv_sys_max_cmd_len ; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5850 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5853 $as_echo "none" >&6; }
5855 max_cmd_len
=$lt_cv_sys_max_cmd_len
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5867 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5868 # Try some XSI features
5871 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5873 && eval 'test $(( 1 + 1 )) -eq 2 \
5874 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5877 $as_echo "$xsi_shell" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5881 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5883 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5885 && lt_shell_append=yes
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5887 $as_echo "$lt_shell_append" >&6; }
5890 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5900 # test EBCDIC or ASCII
5901 case `echo X|tr X '\101'` in
5902 A) # ASCII based system
5903 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5904 lt_SP2NL='tr \040 \012'
5905 lt_NL2SP='tr \015\012 \040\040'
5907 *) # EBCDIC based system
5908 lt_SP2NL='tr \100 \n'
5909 lt_NL2SP='tr \r\n \100\100'
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5922 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5923 if test "${lt_cv_to_host_file_cmd+set}" = set; then :
5924 $as_echo_n "(cached
) " >&6
5929 *-*-mingw* ) # actually msys
5930 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5933 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5935 * ) # otherwise, assume *nix
5936 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5942 *-*-mingw* ) # actually msys
5943 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5946 lt_cv_to_host_file_cmd=func_convert_file_noop
5948 * ) # otherwise, assume *nix
5949 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5953 * ) # unhandled hosts (and "normal
" native builds)
5954 lt_cv_to_host_file_cmd=func_convert_file_noop
5960 to_host_file_cmd=$lt_cv_to_host_file_cmd
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5962 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5969 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5970 if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
5971 $as_echo_n "(cached
) " >&6
5973 #assume ordinary cross tools, or native build.
5974 lt_cv_to_tool_file_cmd=func_convert_file_noop
5978 *-*-mingw* ) # actually msys
5979 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5987 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5989 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5996 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5997 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5998 $as_echo_n "(cached
) " >&6
6000 lt_cv_ld_reload_flag='-r'
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6003 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6004 reload_flag=$lt_cv_ld_reload_flag
6005 case $reload_flag in
6007 *) reload_flag=" $reload_flag" ;;
6009 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6011 cygwin* | mingw* | pw32* | cegcc*)
6012 if test "$GCC" != yes; then
6017 if test "$GCC" = yes; then
6018 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6020 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6033 if test -n "$ac_tool_prefix"; then
6034 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6037 $as_echo_n "checking
for $ac_word...
" >&6; }
6038 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6039 $as_echo_n "(cached
) " >&6
6041 if test -n "$OBJDUMP"; then
6042 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6061 OBJDUMP=$ac_cv_prog_OBJDUMP
6062 if test -n "$OBJDUMP"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6064 $as_echo "$OBJDUMP" >&6; }
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6067 $as_echo "no
" >&6; }
6072 if test -z "$ac_cv_prog_OBJDUMP"; then
6073 ac_ct_OBJDUMP=$OBJDUMP
6074 # Extract the first word of "objdump
", so it can be a program name with args.
6075 set dummy objdump; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6077 $as_echo_n "checking
for $ac_word...
" >&6; }
6078 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6079 $as_echo_n "(cached
) " >&6
6081 if test -n "$ac_ct_OBJDUMP"; then
6082 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6101 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6102 if test -n "$ac_ct_OBJDUMP"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6104 $as_echo "$ac_ct_OBJDUMP" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6107 $as_echo "no
" >&6; }
6110 if test "x
$ac_ct_OBJDUMP" = x; then
6113 case $cross_compiling:$ac_tool_warned in
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6116 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6117 ac_tool_warned=yes ;;
6119 OBJDUMP=$ac_ct_OBJDUMP
6122 OBJDUMP="$ac_cv_prog_OBJDUMP"
6125 test -z "$OBJDUMP" && OBJDUMP=objdump
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6136 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6137 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6138 $as_echo_n "(cached
) " >&6
6140 lt_cv_file_magic_cmd='$MAGIC_CMD'
6141 lt_cv_file_magic_test_file=
6142 lt_cv_deplibs_check_method='unknown'
6143 # Need to set the preceding variable on all platforms that support
6144 # interlibrary dependencies.
6145 # 'none' -- dependencies not supported.
6146 # `unknown' -- same as none, but documents that we really don't know.
6147 # 'pass_all' -- all dependencies passed with no checks.
6148 # 'test_compile' -- check by making test program.
6149 # 'file_magic [[regex]]' -- check by looking for files in library path
6150 # which responds to the $file_magic_cmd with a given extended regex.
6151 # If you have `file' or equivalent on your system and you're not sure
6152 # whether `pass_all' will *always* work, you probably want this one.
6156 lt_cv_deplibs_check_method=pass_all
6160 lt_cv_deplibs_check_method=pass_all
6164 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6165 lt_cv_file_magic_cmd='/usr/bin/file -L'
6166 lt_cv_file_magic_test_file=/shlib/libc.so
6170 # func_win32_libid is a shell function defined in ltmain.sh
6171 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6172 lt_cv_file_magic_cmd='func_win32_libid'
6176 # Base MSYS/MinGW do not provide the 'file' command needed by
6177 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6178 # unless we find 'file', for example because we are cross-compiling.
6179 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6180 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6181 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6182 lt_cv_file_magic_cmd='func_win32_libid'
6184 # Keep this pattern in sync with the one in func_win32_libid.
6185 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6186 lt_cv_file_magic_cmd='$OBJDUMP -f'
6191 # use the weaker test based on 'objdump'. See mingw*.
6192 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6193 lt_cv_file_magic_cmd='$OBJDUMP -f'
6196 darwin* | rhapsody*)
6197 lt_cv_deplibs_check_method=pass_all
6200 freebsd* | dragonfly*)
6201 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6204 # Not sure whether the presence of OpenBSD here was a mistake.
6205 # Let's accept both of them until this is cleared up.
6206 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6207 lt_cv_file_magic_cmd=/usr/bin/file
6208 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6212 lt_cv_deplibs_check_method=pass_all
6217 lt_cv_deplibs_check_method=pass_all
6221 lt_cv_deplibs_check_method=pass_all
6224 hpux10.20* | hpux11*)
6225 lt_cv_file_magic_cmd=/usr/bin/file
6228 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6229 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6232 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]'
6233 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6236 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6237 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6243 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6244 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6247 irix5* | irix6* | nonstopux*)
6249 *-32|*"-32 ") libmagic=32-bit;;
6250 *-n32|*"-n32 ") libmagic=N32;;
6251 *-64|*"-64 ") libmagic=64-bit;;
6252 *) libmagic=never-match;;
6254 lt_cv_deplibs_check_method=pass_all
6257 # This must be Linux ELF.
6258 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6259 lt_cv_deplibs_check_method=pass_all
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6266 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6271 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6272 lt_cv_file_magic_cmd=/usr/bin/file
6273 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6277 lt_cv_deplibs_check_method=pass_all
6281 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6282 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6284 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6288 osf3* | osf4* | osf5*)
6289 lt_cv_deplibs_check_method=pass_all
6293 lt_cv_deplibs_check_method=pass_all
6297 lt_cv_deplibs_check_method=pass_all
6300 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6301 lt_cv_deplibs_check_method=pass_all
6305 case $host_vendor in
6307 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]'
6308 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6311 lt_cv_deplibs_check_method=pass_all
6314 lt_cv_file_magic_cmd='/bin/file'
6315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6318 lt_cv_file_magic_cmd='/bin/file'
6319 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6320 lt_cv_file_magic_test_file=/lib/libc.so
6323 lt_cv_deplibs_check_method=pass_all
6326 lt_cv_deplibs_check_method=pass_all
6332 lt_cv_deplibs_check_method=pass_all
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6338 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6342 if test "$build" = "$host"; then
6345 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6348 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6354 file_magic_cmd=$lt_cv_file_magic_cmd
6355 deplibs_check_method=$lt_cv_deplibs_check_method
6356 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6379 if test -n "$ac_tool_prefix"; then
6380 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6381 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6383 $as_echo_n "checking
for $ac_word...
" >&6; }
6384 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6385 $as_echo_n "(cached
) " >&6
6387 if test -n "$DLLTOOL"; then
6388 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6407 DLLTOOL=$ac_cv_prog_DLLTOOL
6408 if test -n "$DLLTOOL"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6410 $as_echo "$DLLTOOL" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6413 $as_echo "no
" >&6; }
6418 if test -z "$ac_cv_prog_DLLTOOL"; then
6419 ac_ct_DLLTOOL=$DLLTOOL
6420 # Extract the first word of "dlltool
", so it can be a program name with args.
6421 set dummy dlltool; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6423 $as_echo_n "checking
for $ac_word...
" >&6; }
6424 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6425 $as_echo_n "(cached
) " >&6
6427 if test -n "$ac_ct_DLLTOOL"; then
6428 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6447 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6448 if test -n "$ac_ct_DLLTOOL"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6450 $as_echo "$ac_ct_DLLTOOL" >&6; }
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6453 $as_echo "no
" >&6; }
6456 if test "x
$ac_ct_DLLTOOL" = x; then
6459 case $cross_compiling:$ac_tool_warned in
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6462 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6463 ac_tool_warned=yes ;;
6465 DLLTOOL=$ac_ct_DLLTOOL
6468 DLLTOOL="$ac_cv_prog_DLLTOOL"
6471 test -z "$DLLTOOL" && DLLTOOL=dlltool
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6483 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6484 if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
6485 $as_echo_n "(cached
) " >&6
6487 lt_cv_sharedlib_from_linklib_cmd='unknown'
6490 cygwin* | mingw* | pw32* | cegcc*)
6491 # two different shell functions defined in ltmain.sh
6492 # decide which to use based on capabilities of $DLLTOOL
6493 case `$DLLTOOL --help 2>&1` in
6494 *--identify-strict*)
6495 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6498 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6503 # fallback: assume linklib IS sharedlib
6504 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6510 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6511 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6512 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6520 if test -n "$ac_tool_prefix"; then
6523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6526 $as_echo_n "checking
for $ac_word...
" >&6; }
6527 if test "${ac_cv_prog_AR+set}" = set; then :
6528 $as_echo_n "(cached
) " >&6
6530 if test -n "$AR"; then
6531 ac_cv_prog_AR="$AR" # Let the user override the test.
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 test -z "$as_dir" && as_dir=.
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6540 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6551 if test -n "$AR"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6553 $as_echo "$AR" >&6; }
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6556 $as_echo "no
" >&6; }
6560 test -n "$AR" && break
6563 if test -z "$AR"; then
6567 # Extract the first word of "$ac_prog", so it can be a program name with args.
6568 set dummy $ac_prog; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6570 $as_echo_n "checking
for $ac_word...
" >&6; }
6571 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6572 $as_echo_n "(cached
) " >&6
6574 if test -n "$ac_ct_AR"; then
6575 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584 ac_cv_prog_ac_ct_AR="$ac_prog"
6585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6594 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6595 if test -n "$ac_ct_AR"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6597 $as_echo "$ac_ct_AR" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6600 $as_echo "no
" >&6; }
6604 test -n "$ac_ct_AR" && break
6607 if test "x
$ac_ct_AR" = x; then
6610 case $cross_compiling:$ac_tool_warned in
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6613 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6614 ac_tool_warned=yes ;;
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6634 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6635 if test "${lt_cv_ar_at_file+set}" = set; then :
6636 $as_echo_n "(cached
) " >&6
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6650 if ac_fn_c_try_compile "$LINENO"; then :
6651 echo conftest.$ac_objext > conftest.lst
6652 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6653 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6654 (eval $lt_ar_try) 2>&5
6656 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6657 test $ac_status = 0; }
6658 if test "$ac_status" -eq 0; then
6659 # Ensure the archiver fails upon bogus file names.
6660 rm -f conftest.$ac_objext libconftest.a
6661 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6662 (eval $lt_ar_try) 2>&5
6664 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6665 test $ac_status = 0; }
6666 if test "$ac_status" -ne 0; then
6670 rm -f conftest.* libconftest.a
6673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6677 $as_echo "$lt_cv_ar_at_file" >&6; }
6679 if test "x
$lt_cv_ar_at_file" = xno; then
6682 archiver_list_spec=$lt_cv_ar_at_file
6691 if test -n "$ac_tool_prefix"; then
6692 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6693 set dummy ${ac_tool_prefix}strip; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6695 $as_echo_n "checking
for $ac_word...
" >&6; }
6696 if test "${ac_cv_prog_STRIP+set}" = set; then :
6697 $as_echo_n "(cached
) " >&6
6699 if test -n "$STRIP"; then
6700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6709 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6719 STRIP=$ac_cv_prog_STRIP
6720 if test -n "$STRIP"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6722 $as_echo "$STRIP" >&6; }
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6725 $as_echo "no
" >&6; }
6730 if test -z "$ac_cv_prog_STRIP"; then
6732 # Extract the first word of "strip
", so it can be a program name with args.
6733 set dummy strip; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6735 $as_echo_n "checking
for $ac_word...
" >&6; }
6736 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6737 $as_echo_n "(cached
) " >&6
6739 if test -n "$ac_ct_STRIP"; then
6740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749 ac_cv_prog_ac_ct_STRIP="strip
"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6760 if test -n "$ac_ct_STRIP"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6762 $as_echo "$ac_ct_STRIP" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6765 $as_echo "no
" >&6; }
6768 if test "x
$ac_ct_STRIP" = x; then
6771 case $cross_compiling:$ac_tool_warned in
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6774 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6775 ac_tool_warned=yes ;;
6780 STRIP="$ac_cv_prog_STRIP"
6783 test -z "$STRIP" && STRIP=:
6790 if test -n "$ac_tool_prefix"; then
6791 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6792 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6794 $as_echo_n "checking
for $ac_word...
" >&6; }
6795 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6796 $as_echo_n "(cached
) " >&6
6798 if test -n "$RANLIB"; then
6799 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir=.
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6818 RANLIB=$ac_cv_prog_RANLIB
6819 if test -n "$RANLIB"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6821 $as_echo "$RANLIB" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6824 $as_echo "no
" >&6; }
6829 if test -z "$ac_cv_prog_RANLIB"; then
6830 ac_ct_RANLIB=$RANLIB
6831 # Extract the first word of "ranlib
", so it can be a program name with args.
6832 set dummy ranlib; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6834 $as_echo_n "checking
for $ac_word...
" >&6; }
6835 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6836 $as_echo_n "(cached
) " >&6
6838 if test -n "$ac_ct_RANLIB"; then
6839 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6858 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6859 if test -n "$ac_ct_RANLIB"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6861 $as_echo "$ac_ct_RANLIB" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6864 $as_echo "no
" >&6; }
6867 if test "x
$ac_ct_RANLIB" = x; then
6870 case $cross_compiling:$ac_tool_warned in
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6873 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6874 ac_tool_warned=yes ;;
6876 RANLIB=$ac_ct_RANLIB
6879 RANLIB="$ac_cv_prog_RANLIB"
6882 test -z "$RANLIB" && RANLIB=:
6889 # Determine commands to create old-style static archives.
6890 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6891 old_postinstall_cmds='chmod 644 $oldlib'
6892 old_postuninstall_cmds=
6894 if test -n "$RANLIB"; then
6897 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6900 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6903 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6908 lock_old_archive_extraction=yes ;;
6910 lock_old_archive_extraction=no ;;
6951 # If no C compiler was specified, use CC.
6954 # If no C compiler flags were specified, use CFLAGS.
6955 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6957 # Allow CC to be a program name with arguments.
6961 # Check for command to grab the raw symbol name followed by C symbol from nm.
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6963 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6964 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6965 $as_echo_n "(cached
) " >&6
6968 # These are sane defaults that work on at least a few old systems.
6969 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6971 # Character class describing NM global symbol codes.
6972 symcode='[BCDEGRST]'
6974 # Regexp to match symbols that can be accessed directly from C.
6975 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6977 # Define system-specific variables.
6982 cygwin* | mingw* | pw32* | cegcc*)
6983 symcode='[ABCDGISTW]'
6986 if test "$host_cpu" = ia64; then
6987 symcode='[ABCDEGRST]'
6991 symcode='[BCDEGRST]'
6994 symcode='[BCDEGQRST]'
7005 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7013 # If we're using GNU nm, then use its standard symbol codes.
7014 case `$NM -V 2>&1` in
7015 *GNU* | *'with BFD'*)
7016 symcode='[ABCDGIRSTW]' ;;
7019 # Transform an extracted symbol line into a proper C declaration.
7020 # Some systems (esp. on ia64) link data and code symbols differently,
7021 # so use this general approach.
7022 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7024 # Transform an extracted symbol line into symbol name and symbol address
7025 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7026 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'"
7028 # Handle CRLF in mingw tool chain
7032 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7036 # Try without a prefix underscore, then with it.
7037 for ac_symprfx in "" "_
"; do
7039 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7040 symxfrm="\\1 $ac_symprfx\\2 \\2"
7042 # Write the raw and C identifiers.
7043 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7044 # Fake it for dumpbin and say T for any non-static function
7045 # and D for any global variable.
7046 # Also find C++ and __fastcall symbols from MSVC++,
7047 # which start with @ or ?.
7048 lt_cv_sys_global_symbol_pipe="$AWK '"\
7049 " {last_section=section; section=\$ 3};"\
7050 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7051 " \$ 0!~/External *\|/{next};"\
7052 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7053 " {if(hide[section]) next};"\
7054 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7055 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7056 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7057 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7058 " ' prfx
=^
$ac_symprfx"
7060 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7062 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7064 # Check to see that the pipe works correctly.
7068 cat > conftest.$ac_ext <<_LT_EOF
7073 void nm_test_func(void);
7074 void nm_test_func(void){}
7078 int main(){nm_test_var='a';nm_test_func();return(0);}
7081 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7082 (eval $ac_compile) 2>&5
7084 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7085 test $ac_status = 0; }; then
7086 # Now try to grab the symbols.
7088 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7089 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7091 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7092 test $ac_status = 0; } && test -s "$nlist"; then
7093 # Try sorting and uniquifying the output.
7094 if sort "$nlist" | uniq > "$nlist"T; then
7095 mv -f "$nlist"T "$nlist"
7100 # Make sure that we snagged all the symbols we need.
7101 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7102 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7103 cat <<_LT_EOF > conftest.$ac_ext
7104 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7105 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7106 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7107 relocations are performed -- see ld's documentation on pseudo-relocs. */
7108 # define LT_DLSYM_CONST
7109 #elif defined(__osf__)
7110 /* This system does not cope well with relocations in const data. */
7111 # define LT_DLSYM_CONST
7113 # define LT_DLSYM_CONST const
7121 # Now generate the symbol file.
7122 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7124 cat <<_LT_EOF >> conftest.$ac_ext
7126 /* The mapping between symbol names and symbols. */
7127 LT_DLSYM_CONST struct {
7131 lt__PROGRAM__LTX_preloaded_symbols[] =
7133 { "@PROGRAM@
", (void *) 0 },
7135 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7136 cat <<\_LT_EOF >> conftest.$ac_ext
7140 /* This works around a problem in FreeBSD linker */
7141 #ifdef FREEBSD_WORKAROUND
7142 static const void *lt_preloaded_setup() {
7143 return lt__PROGRAM__LTX_preloaded_symbols;
7151 # Now try linking the two files.
7152 mv conftest.$ac_objext conftstm.$ac_objext
7153 lt_globsym_save_LIBS=$LIBS
7154 lt_globsym_save_CFLAGS=$CFLAGS
7155 LIBS="conftstm.
$ac_objext"
7156 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7157 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7158 (eval $ac_link) 2>&5
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7161 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7164 LIBS=$lt_globsym_save_LIBS
7165 CFLAGS=$lt_globsym_save_CFLAGS
7167 echo "cannot
find nm_test_func
in $nlist" >&5
7170 echo "cannot
find nm_test_var
in $nlist" >&5
7173 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7176 echo "$progname: failed program was
:" >&5
7177 cat conftest.$ac_ext >&5
7179 rm -rf conftest* conftst*
7181 # Do not use the global_symbol_pipe unless it works.
7182 if test "$pipe_works" = yes; then
7185 lt_cv_sys_global_symbol_pipe=
7191 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7192 lt_cv_sys_global_symbol_to_cdecl=
7194 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7196 $as_echo "failed
" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7199 $as_echo "ok
" >&6; }
7202 # Response file support.
7203 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7204 nm_file_list_spec='@'
7205 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7206 nm_file_list_spec='@'
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7236 $as_echo_n "checking
for sysroot...
" >&6; }
7238 # Check whether --with-sysroot was given.
7239 if test "${with_sysroot+set}" = set; then :
7240 withval=$with_sysroot;
7247 case ${with_sysroot} in #(
7249 if test "$GCC" = yes; then
7250 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7254 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7260 $as_echo "${with_sysroot}" >&6; }
7261 as_fn_error "The sysroot must be an absolute path.
" "$LINENO" 5
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7266 $as_echo "${lt_sysroot:-no}" >&6; }
7272 # Check whether --enable-libtool-lock was given.
7273 if test "${enable_libtool_lock+set}" = set; then :
7274 enableval=$enable_libtool_lock;
7277 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7279 # Some flags need to be propagated to the compiler or linker for good
7283 # Find out which ABI we are using.
7284 echo 'int i;' > conftest.$ac_ext
7285 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7286 (eval $ac_compile) 2>&5
7288 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7289 test $ac_status = 0; }; then
7290 case `/usr/bin/file conftest.$ac_objext` in
7302 # Find out which ABI we are using.
7303 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7304 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7305 (eval $ac_compile) 2>&5
7307 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7308 test $ac_status = 0; }; then
7309 if test "$lt_cv_prog_gnu_ld" = yes; then
7310 case `/usr/bin/file conftest.$ac_objext` in
7312 LD="${LD-ld} -melf32bsmip"
7315 LD="${LD-ld} -melf32bmipn32"
7318 LD="${LD-ld} -melf64bmip"
7322 case `/usr/bin/file conftest.$ac_objext` in
7338 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7339 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7340 # Find out which ABI we are using.
7341 echo 'int i;' > conftest.$ac_ext
7342 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343 (eval $ac_compile) 2>&5
7345 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7346 test $ac_status = 0; }; then
7347 case `/usr/bin/file conftest.o` in
7350 x86_64-*kfreebsd*-gnu)
7351 LD="${LD-ld} -m elf_i386_fbsd
"
7354 LD="${LD-ld} -m elf_i386
"
7356 ppc64-*linux*|powerpc64-*linux*)
7357 LD="${LD-ld} -m elf32ppclinux
"
7360 LD="${LD-ld} -m elf_s390
"
7363 LD="${LD-ld} -m elf32_sparc
"
7369 x86_64-*kfreebsd*-gnu)
7370 LD="${LD-ld} -m elf_x86_64_fbsd
"
7373 LD="${LD-ld} -m elf_x86_64
"
7375 ppc*-*linux*|powerpc*-*linux*)
7376 LD="${LD-ld} -m elf64ppc
"
7378 s390*-*linux*|s390*-*tpf*)
7379 LD="${LD-ld} -m elf64_s390
"
7382 LD="${LD-ld} -m elf64_sparc
"
7392 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7393 SAVE_CFLAGS="$CFLAGS"
7394 CFLAGS="$CFLAGS -belf"
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7396 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7397 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7398 $as_echo_n "(cached
) " >&6
7401 ac_cpp='$CPP $CPPFLAGS'
7402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407 /* end confdefs.h. */
7417 if ac_fn_c_try_link "$LINENO"; then :
7418 lt_cv_cc_needs_belf=yes
7420 lt_cv_cc_needs_belf=no
7422 rm -f core conftest.err conftest.$ac_objext \
7423 conftest$ac_exeext conftest.$ac_ext
7425 ac_cpp='$CPP $CPPFLAGS'
7426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7432 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7433 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7434 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7435 CFLAGS="$SAVE_CFLAGS"
7439 # Find out which ABI we are using.
7440 echo 'int i;' > conftest.$ac_ext
7441 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7442 (eval $ac_compile) 2>&5
7444 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7445 test $ac_status = 0; }; then
7446 case `/usr/bin/file conftest.o` in
7448 case $lt_cv_prog_gnu_ld in
7449 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7451 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7463 need_locks="$enable_libtool_lock"
7465 if test -n "$ac_tool_prefix"; then
7466 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7467 set dummy ${ac_tool_prefix}mt; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7469 $as_echo_n "checking
for $ac_word...
" >&6; }
7470 if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
7471 $as_echo_n "(cached
) " >&6
7473 if test -n "$MANIFEST_TOOL"; then
7474 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7483 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7493 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7494 if test -n "$MANIFEST_TOOL"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7496 $as_echo "$MANIFEST_TOOL" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7499 $as_echo "no
" >&6; }
7504 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7505 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7506 # Extract the first word of "mt
", so it can be a program name with args.
7507 set dummy mt; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7509 $as_echo_n "checking
for $ac_word...
" >&6; }
7510 if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
7511 $as_echo_n "(cached
) " >&6
7513 if test -n "$ac_ct_MANIFEST_TOOL"; then
7514 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7533 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7534 if test -n "$ac_ct_MANIFEST_TOOL"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7536 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7539 $as_echo "no
" >&6; }
7542 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7545 case $cross_compiling:$ac_tool_warned in
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7548 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7549 ac_tool_warned=yes ;;
7551 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7554 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7557 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7559 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7560 if test "${lt_cv_path_mainfest_tool+set}" = set; then :
7561 $as_echo_n "(cached
) " >&6
7563 lt_cv_path_mainfest_tool=no
7564 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7565 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7566 cat conftest.err >&5
7567 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7568 lt_cv_path_mainfest_tool=yes
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7573 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7574 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7584 rhapsody* | darwin*)
7585 if test -n "$ac_tool_prefix"; then
7586 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7587 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7589 $as_echo_n "checking
for $ac_word...
" >&6; }
7590 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7591 $as_echo_n "(cached
) " >&6
7593 if test -n "$DSYMUTIL"; then
7594 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7603 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7613 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7614 if test -n "$DSYMUTIL"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7616 $as_echo "$DSYMUTIL" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7619 $as_echo "no
" >&6; }
7624 if test -z "$ac_cv_prog_DSYMUTIL"; then
7625 ac_ct_DSYMUTIL=$DSYMUTIL
7626 # Extract the first word of "dsymutil
", so it can be a program name with args.
7627 set dummy dsymutil; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7629 $as_echo_n "checking
for $ac_word...
" >&6; }
7630 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7631 $as_echo_n "(cached
) " >&6
7633 if test -n "$ac_ct_DSYMUTIL"; then
7634 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7653 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7654 if test -n "$ac_ct_DSYMUTIL"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7656 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7659 $as_echo "no
" >&6; }
7662 if test "x
$ac_ct_DSYMUTIL" = x; then
7665 case $cross_compiling:$ac_tool_warned in
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7668 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7669 ac_tool_warned=yes ;;
7671 DSYMUTIL=$ac_ct_DSYMUTIL
7674 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7677 if test -n "$ac_tool_prefix"; then
7678 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7679 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7681 $as_echo_n "checking
for $ac_word...
" >&6; }
7682 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7683 $as_echo_n "(cached
) " >&6
7685 if test -n "$NMEDIT"; then
7686 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7705 NMEDIT=$ac_cv_prog_NMEDIT
7706 if test -n "$NMEDIT"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7708 $as_echo "$NMEDIT" >&6; }
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7711 $as_echo "no
" >&6; }
7716 if test -z "$ac_cv_prog_NMEDIT"; then
7717 ac_ct_NMEDIT=$NMEDIT
7718 # Extract the first word of "nmedit
", so it can be a program name with args.
7719 set dummy nmedit; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7721 $as_echo_n "checking
for $ac_word...
" >&6; }
7722 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7723 $as_echo_n "(cached
) " >&6
7725 if test -n "$ac_ct_NMEDIT"; then
7726 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7745 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7746 if test -n "$ac_ct_NMEDIT"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7748 $as_echo "$ac_ct_NMEDIT" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7751 $as_echo "no
" >&6; }
7754 if test "x
$ac_ct_NMEDIT" = x; then
7757 case $cross_compiling:$ac_tool_warned in
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7760 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7761 ac_tool_warned=yes ;;
7763 NMEDIT=$ac_ct_NMEDIT
7766 NMEDIT="$ac_cv_prog_NMEDIT"
7769 if test -n "$ac_tool_prefix"; then
7770 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7771 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7773 $as_echo_n "checking
for $ac_word...
" >&6; }
7774 if test "${ac_cv_prog_LIPO+set}" = set; then :
7775 $as_echo_n "(cached
) " >&6
7777 if test -n "$LIPO"; then
7778 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7797 LIPO=$ac_cv_prog_LIPO
7798 if test -n "$LIPO"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7800 $as_echo "$LIPO" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7803 $as_echo "no
" >&6; }
7808 if test -z "$ac_cv_prog_LIPO"; then
7810 # Extract the first word of "lipo
", so it can be a program name with args.
7811 set dummy lipo; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$ac_ct_LIPO"; then
7818 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827 ac_cv_prog_ac_ct_LIPO="lipo
"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7837 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7838 if test -n "$ac_ct_LIPO"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7840 $as_echo "$ac_ct_LIPO" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7846 if test "x
$ac_ct_LIPO" = x; then
7849 case $cross_compiling:$ac_tool_warned in
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7852 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7853 ac_tool_warned=yes ;;
7858 LIPO="$ac_cv_prog_LIPO"
7861 if test -n "$ac_tool_prefix"; then
7862 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7863 set dummy ${ac_tool_prefix}otool; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7865 $as_echo_n "checking
for $ac_word...
" >&6; }
7866 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7867 $as_echo_n "(cached
) " >&6
7869 if test -n "$OTOOL"; then
7870 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7879 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7889 OTOOL=$ac_cv_prog_OTOOL
7890 if test -n "$OTOOL"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7892 $as_echo "$OTOOL" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7895 $as_echo "no
" >&6; }
7900 if test -z "$ac_cv_prog_OTOOL"; then
7902 # Extract the first word of "otool
", so it can be a program name with args.
7903 set dummy otool; ac_word=$2
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7905 $as_echo_n "checking
for $ac_word...
" >&6; }
7906 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7907 $as_echo_n "(cached
) " >&6
7909 if test -n "$ac_ct_OTOOL"; then
7910 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7919 ac_cv_prog_ac_ct_OTOOL="otool
"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7929 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7930 if test -n "$ac_ct_OTOOL"; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7932 $as_echo "$ac_ct_OTOOL" >&6; }
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7935 $as_echo "no
" >&6; }
7938 if test "x
$ac_ct_OTOOL" = x; then
7941 case $cross_compiling:$ac_tool_warned in
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7944 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7945 ac_tool_warned=yes ;;
7950 OTOOL="$ac_cv_prog_OTOOL"
7953 if test -n "$ac_tool_prefix"; then
7954 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7955 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7957 $as_echo_n "checking
for $ac_word...
" >&6; }
7958 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7959 $as_echo_n "(cached
) " >&6
7961 if test -n "$OTOOL64"; then
7962 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7971 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7981 OTOOL64=$ac_cv_prog_OTOOL64
7982 if test -n "$OTOOL64"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7984 $as_echo "$OTOOL64" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7987 $as_echo "no
" >&6; }
7992 if test -z "$ac_cv_prog_OTOOL64"; then
7993 ac_ct_OTOOL64=$OTOOL64
7994 # Extract the first word of "otool64
", so it can be a program name with args.
7995 set dummy otool64; ac_word=$2
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7997 $as_echo_n "checking
for $ac_word...
" >&6; }
7998 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7999 $as_echo_n "(cached
) " >&6
8001 if test -n "$ac_ct_OTOOL64"; then
8002 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 test -z "$as_dir" && as_dir=.
8009 for ac_exec_ext in '' $ac_executable_extensions; do
8010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8011 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8021 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8022 if test -n "$ac_ct_OTOOL64"; then
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8024 $as_echo "$ac_ct_OTOOL64" >&6; }
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8027 $as_echo "no
" >&6; }
8030 if test "x
$ac_ct_OTOOL64" = x; then
8033 case $cross_compiling:$ac_tool_warned in
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8036 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8037 ac_tool_warned=yes ;;
8039 OTOOL64=$ac_ct_OTOOL64
8042 OTOOL64="$ac_cv_prog_OTOOL64"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8072 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8073 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8074 $as_echo_n "(cached
) " >&6
8076 lt_cv_apple_cc_single_mod=no
8077 if test -z "${LT_MULTI_MODULE}"; then
8078 # By default we will add the -single_module flag. You can override
8079 # by either setting the environment variable LT_MULTI_MODULE
8080 # non-empty at configure time, or by adding -multi_module to the
8082 rm -rf libconftest.dylib*
8083 echo "int foo
(void
){return 1;}" > conftest.c
8084 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8085 -dynamiclib -Wl,-single_module conftest.c
" >&5
8086 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8087 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8089 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8090 lt_cv_apple_cc_single_mod=yes
8092 cat conftest.err >&5
8094 rm -rf libconftest.dylib*
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8099 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8101 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8102 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8103 $as_echo_n "(cached
) " >&6
8105 lt_cv_ld_exported_symbols_list=no
8106 save_LDFLAGS=$LDFLAGS
8107 echo "_main
" > conftest.sym
8108 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8110 /* end confdefs.h. */
8120 if ac_fn_c_try_link "$LINENO"; then :
8121 lt_cv_ld_exported_symbols_list=yes
8123 lt_cv_ld_exported_symbols_list=no
8125 rm -f core conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 LDFLAGS="$save_LDFLAGS"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8131 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8133 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8134 if test "${lt_cv_ld_force_load+set}" = set; then :
8135 $as_echo_n "(cached
) " >&6
8137 lt_cv_ld_force_load=no
8138 cat > conftest.c << _LT_EOF
8139 int forced_loaded() { return 2;}
8141 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8142 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8143 echo "$AR cru libconftest.a conftest.o
" >&5
8144 $AR cru libconftest.a conftest.o 2>&5
8145 echo "$RANLIB libconftest.a
" >&5
8146 $RANLIB libconftest.a 2>&5
8147 cat > conftest.c << _LT_EOF
8148 int main() { return 0;}
8150 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8151 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8153 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8154 lt_cv_ld_force_load=yes
8156 cat conftest.err >&5
8158 rm -f conftest.err libconftest.a conftest conftest.c
8159 rm -rf conftest.dSYM
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8163 $as_echo "$lt_cv_ld_force_load" >&6; }
8165 rhapsody* | darwin1.[012])
8166 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8168 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8169 darwin*) # darwin 5.x on
8170 # if running on 10.5 or later, the deployment target defaults
8171 # to the OS version, if on x86, and 10.4, the deployment
8172 # target defaults to 10.4. Don't you love it?
8173 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8174 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8175 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8177 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8179 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8183 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8184 _lt_dar_single_mod='$single_module'
8186 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8187 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8189 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8191 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8192 _lt_dsymutil='~$DSYMUTIL $lib || :'
8199 for ac_header in dlfcn.h
8201 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8203 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8204 cat >>confdefs.h <<_ACEOF
8205 #define HAVE_DLFCN_H 1
8226 # Check whether --enable-shared was given.
8227 if test "${enable_shared+set}" = set; then :
8228 enableval=$enable_shared; p=${PACKAGE-default}
8230 yes) enable_shared=yes ;;
8231 no) enable_shared=no ;;
8234 # Look at the argument we got. We use all the common list separators.
8235 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8236 for pkg in $enableval; do
8238 if test "X
$pkg" = "X
$p"; then
8257 # Check whether --enable-static was given.
8258 if test "${enable_static+set}" = set; then :
8259 enableval=$enable_static; p=${PACKAGE-default}
8261 yes) enable_static=yes ;;
8262 no) enable_static=no ;;
8265 # Look at the argument we got. We use all the common list separators.
8266 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8267 for pkg in $enableval; do
8269 if test "X
$pkg" = "X
$p"; then
8289 # Check whether --with-pic was given.
8290 if test "${with_pic+set}" = set; then :
8291 withval=$with_pic; pic_mode="$withval"
8297 test -z "$pic_mode" && pic_mode=default
8305 # Check whether --enable-fast-install was given.
8306 if test "${enable_fast_install+set}" = set; then :
8307 enableval=$enable_fast_install; p=${PACKAGE-default}
8309 yes) enable_fast_install=yes ;;
8310 no) enable_fast_install=no ;;
8312 enable_fast_install=no
8313 # Look at the argument we got. We use all the common list separators.
8314 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8315 for pkg in $enableval; do
8317 if test "X
$pkg" = "X
$p"; then
8318 enable_fast_install=yes
8325 enable_fast_install=yes
8338 # This can be used to rebuild libtool when needed
8339 LIBTOOL_DEPS="$ltmain"
8341 # Always use our own libtool.
8342 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8369 test -z "$LN_S" && LN_S="ln -s"
8384 if test -n "${ZSH_VERSION+set}" ; then
8385 setopt NO_GLOB_SUBST
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8389 $as_echo_n "checking
for objdir...
" >&6; }
8390 if test "${lt_cv_objdir+set}" = set; then :
8391 $as_echo_n "(cached
) " >&6
8393 rm -f .libs 2>/dev/null
8394 mkdir .libs 2>/dev/null
8395 if test -d .libs; then
8398 # MS-DOS does not allow filenames that begin with a dot.
8401 rmdir .libs 2>/dev/null
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8404 $as_echo "$lt_cv_objdir" >&6; }
8405 objdir=$lt_cv_objdir
8411 cat >>confdefs.h <<_ACEOF
8412 #define LT_OBJDIR "$lt_cv_objdir/"
8420 # AIX sometimes has problems with the GCC collect2 program. For some
8421 # reason, if we set the COLLECT_NAMES environment variable, the problems
8422 # vanish in a puff of smoke.
8423 if test "X
${COLLECT_NAMES+set}" != Xset; then
8425 export COLLECT_NAMES
8432 can_build_shared=yes
8434 # All known linkers require a `.a' archive for static linking (except MSVC,
8435 # which needs '.lib').
8438 with_gnu_ld="$lt_cv_prog_gnu_ld"
8441 old_CFLAGS="$CFLAGS"
8443 # Set sane defaults for various variables
8444 test -z "$CC" && CC=cc
8445 test -z "$LTCC" && LTCC=$CC
8446 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8447 test -z "$LD" && LD=ld
8448 test -z "$ac_objext" && ac_objext=o
8450 for cc_temp in $compiler""; do
8452 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8453 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8458 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8461 # Only perform the check for file, if the check method requires it
8462 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8463 case $deplibs_check_method in
8465 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8467 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8468 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8469 $as_echo_n "(cached
) " >&6
8473 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8476 lt_save_MAGIC_CMD="$MAGIC_CMD"
8477 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8478 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8479 for ac_dir in $ac_dummy; do
8481 test -z "$ac_dir" && ac_dir=.
8482 if test -f $ac_dir/${ac_tool_prefix}file; then
8483 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8484 if test -n "$file_magic_test_file"; then
8485 case $deplibs_check_method in
8487 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8488 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8489 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8490 $EGREP "$file_magic_regex" > /dev/null; then
8495 *** Warning: the command libtool uses to detect shared libraries,
8496 *** $file_magic_cmd, produces output that libtool cannot recognize.
8497 *** The result is that libtool may fail to recognize shared libraries
8498 *** as such. This will affect the creation of libtool libraries that
8499 *** depend on shared libraries, but programs linked with such libtool
8500 *** libraries will work regardless of this problem. Nevertheless, you
8501 *** may want to report the problem to your system manager and/or to
8502 *** bug-libtool@gnu.org
8512 MAGIC_CMD="$lt_save_MAGIC_CMD"
8517 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8518 if test -n "$MAGIC_CMD"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8520 $as_echo "$MAGIC_CMD" >&6; }
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8523 $as_echo "no
" >&6; }
8530 if test -z "$lt_cv_path_MAGIC_CMD"; then
8531 if test -n "$ac_tool_prefix"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8533 $as_echo_n "checking
for file...
" >&6; }
8534 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8535 $as_echo_n "(cached
) " >&6
8539 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8542 lt_save_MAGIC_CMD="$MAGIC_CMD"
8543 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8544 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8545 for ac_dir in $ac_dummy; do
8547 test -z "$ac_dir" && ac_dir=.
8548 if test -f $ac_dir/file; then
8549 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8550 if test -n "$file_magic_test_file"; then
8551 case $deplibs_check_method in
8553 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8555 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8556 $EGREP "$file_magic_regex" > /dev/null; then
8561 *** Warning: the command libtool uses to detect shared libraries,
8562 *** $file_magic_cmd, produces output that libtool cannot recognize.
8563 *** The result is that libtool may fail to recognize shared libraries
8564 *** as such. This will affect the creation of libtool libraries that
8565 *** depend on shared libraries, but programs linked with such libtool
8566 *** libraries will work regardless of this problem. Nevertheless, you
8567 *** may want to report the problem to your system manager and/or to
8568 *** bug-libtool@gnu.org
8578 MAGIC_CMD="$lt_save_MAGIC_CMD"
8583 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8584 if test -n "$MAGIC_CMD"; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8586 $as_echo "$MAGIC_CMD" >&6; }
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8589 $as_echo "no
" >&6; }
8602 # Use C for the default configuration in the libtool script
8606 ac_cpp='$CPP $CPPFLAGS'
8607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8612 # Source file extension for C test sources.
8615 # Object file extension for compiled C test sources.
8619 # Code to be used in simple compile tests
8620 lt_simple_compile_test_code="int some_variable
= 0;"
8622 # Code to be used in simple link tests
8623 lt_simple_link_test_code='int main(){return(0);}'
8631 # If no C compiler was specified, use CC.
8634 # If no C compiler flags were specified, use CFLAGS.
8635 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8637 # Allow CC to be a program name with arguments.
8640 # Save the default compiler, since it gets overwritten when the other
8641 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8642 compiler_DEFAULT=$CC
8644 # save warnings/boilerplate of simple test code
8645 ac_outfile=conftest.$ac_objext
8646 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8647 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8648 _lt_compiler_boilerplate=`cat conftest.err`
8651 ac_outfile=conftest.$ac_objext
8652 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8653 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8654 _lt_linker_boilerplate=`cat conftest.err`
8658 if test -n "$compiler"; then
8660 lt_prog_compiler_no_builtin_flag=
8662 if test "$GCC" = yes; then
8663 case $cc_basename in
8665 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8667 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8671 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8672 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8673 $as_echo_n "(cached
) " >&6
8675 lt_cv_prog_compiler_rtti_exceptions=no
8676 ac_outfile=conftest.$ac_objext
8677 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8678 lt_compiler_flag="-fno-rtti -fno-exceptions"
8679 # Insert the option either (1) after the last *FLAGS variable, or
8680 # (2) before a word containing "conftest.
", or (3) at the end.
8681 # Note that $ac_compile itself does not contain backslashes and begins
8682 # with a dollar sign (not a hyphen), so the echo should work correctly.
8683 # The option is referenced via a variable to avoid confusing sed.
8684 lt_compile=`echo "$ac_compile" | $SED \
8685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8687 -e 's:$: $lt_compiler_flag:'`
8688 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8689 (eval "$lt_compile" 2>conftest.err)
8691 cat conftest.err >&5
8692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8693 if (exit $ac_status) && test -s "$ac_outfile"; then
8694 # The compiler can only warn and ignore the option if not recognized
8695 # So say no if there are warnings other than the usual output.
8696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8697 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8698 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8699 lt_cv_prog_compiler_rtti_exceptions=yes
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8706 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8708 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8709 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8721 lt_prog_compiler_wl=
8722 lt_prog_compiler_pic=
8723 lt_prog_compiler_static=
8726 if test "$GCC" = yes; then
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_static='-static'
8732 # All AIX code is PIC.
8733 if test "$host_cpu" = ia64; then
8734 # AIX 5 now supports IA64 processor
8735 lt_prog_compiler_static='-Bstatic'
8742 # see comment about AmigaOS4 .so support
8743 lt_prog_compiler_pic='-fPIC'
8746 # FIXME: we need at least 68020 code to build shared libraries, but
8747 # adding the `-m68020' flag to GCC prevents building anything better,
8749 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8754 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8755 # PIC is the default for these OSes.
8758 mingw* | cygwin* | pw32* | os2* | cegcc*)
8759 # This hack is so that the source file can tell whether it is being
8760 # built for inclusion in a dll (and should export symbols for example).
8761 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8762 # (--disable-auto-import) libraries
8763 lt_prog_compiler_pic='-DDLL_EXPORT'
8766 darwin* | rhapsody*)
8767 # PIC is the default on this platform
8768 # Common symbols not allowed in MH_DYLIB files
8769 lt_prog_compiler_pic='-fno-common'
8773 # PIC is the default for Haiku.
8774 # The "-static" flag exists, but is broken.
8775 lt_prog_compiler_static=
8779 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8780 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8781 # sets the default TLS model and affects inlining.
8787 lt_prog_compiler_pic='-fPIC'
8793 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8794 # Instead, we relocate shared libraries at runtime.
8798 # Just because we use GCC doesn't mean we suddenly get shared libraries
8799 # on systems that don't support them.
8800 lt_prog_compiler_can_build_shared=no
8805 # QNX uses GNU C++, but need to define -shared option too, otherwise
8807 lt_prog_compiler_pic='-fPIC -shared'
8811 if test -d /usr/nec; then
8812 lt_prog_compiler_pic=-Kconform_pic
8817 lt_prog_compiler_pic='-fPIC'
8821 case $cc_basename in
8822 nvcc*) # Cuda Compiler Driver 2.2
8823 lt_prog_compiler_wl='-Xlinker '
8824 lt_prog_compiler_pic='-Xcompiler -fPIC'
8828 # PORTME Check for flag to pass linker flags through the system compiler.
8831 lt_prog_compiler_wl='-Wl,'
8832 if test "$host_cpu" = ia64; then
8833 # AIX 5 now supports IA64 processor
8834 lt_prog_compiler_static='-Bstatic'
8836 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8840 mingw* | cygwin* | pw32* | os2* | cegcc*)
8841 # This hack is so that the source file can tell whether it is being
8842 # built for inclusion in a dll (and should export symbols for example).
8843 lt_prog_compiler_pic='-DDLL_EXPORT'
8846 hpux9* | hpux10* | hpux11*)
8847 lt_prog_compiler_wl='-Wl,'
8848 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8855 lt_prog_compiler_pic='+Z'
8858 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8859 lt_prog_compiler_static='${wl}-a ${wl}archive'
8862 irix5* | irix6* | nonstopux*)
8863 lt_prog_compiler_wl='-Wl,'
8864 # PIC (with -KPIC) is the default.
8865 lt_prog_compiler_static='-non_shared'
8868 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8869 case $cc_basename in
8870 # old Intel for x86_64 which still supported -KPIC.
8872 lt_prog_compiler_wl='-Wl,'
8873 lt_prog_compiler_pic='-KPIC'
8874 lt_prog_compiler_static='-static'
8876 # icc used to be incompatible with GCC.
8877 # ICC 10 doesn't accept -KPIC any more.
8879 lt_prog_compiler_wl='-Wl,'
8880 lt_prog_compiler_pic='-fPIC'
8881 lt_prog_compiler_static='-static'
8883 # Lahey Fortran 8.1.
8885 lt_prog_compiler_wl='-Wl,'
8886 lt_prog_compiler_pic='--shared'
8887 lt_prog_compiler_static='--static'
8890 # NAG Fortran compiler
8891 lt_prog_compiler_wl='-Wl,-Wl,,'
8892 lt_prog_compiler_pic='-PIC'
8893 lt_prog_compiler_static='-Bstatic'
8895 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8896 # Portland Group compilers (*not* the Pentium gcc compiler,
8897 # which looks to be a dead project)
8898 lt_prog_compiler_wl='-Wl,'
8899 lt_prog_compiler_pic='-fpic'
8900 lt_prog_compiler_static='-Bstatic'
8903 lt_prog_compiler_wl='-Wl,'
8904 # All Alpha code is PIC.
8905 lt_prog_compiler_static='-non_shared'
8907 xl* | bgxl* | bgf* | mpixl*)
8908 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8909 lt_prog_compiler_wl='-Wl,'
8910 lt_prog_compiler_pic='-qpic'
8911 lt_prog_compiler_static='-qstaticlink'
8914 case `$CC -V 2>&1 | sed 5q` in
8915 *Sun\ F* | *Sun*Fortran*)
8916 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8917 lt_prog_compiler_pic='-KPIC'
8918 lt_prog_compiler_static='-Bstatic'
8919 lt_prog_compiler_wl=''
8923 lt_prog_compiler_pic='-KPIC'
8924 lt_prog_compiler_static='-Bstatic'
8925 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_pic='-KPIC'
8934 lt_prog_compiler_static='-Bstatic'
8938 # QNX uses GNU C++, but need to define -shared option too, otherwise
8940 lt_prog_compiler_pic='-fPIC -shared'
8943 osf3* | osf4* | osf5*)
8944 lt_prog_compiler_wl='-Wl,'
8945 # All OSF/1 code is PIC.
8946 lt_prog_compiler_static='-non_shared'
8950 lt_prog_compiler_static='-non_shared'
8954 lt_prog_compiler_pic='-KPIC'
8955 lt_prog_compiler_static='-Bstatic'
8956 case $cc_basename in
8957 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8958 lt_prog_compiler_wl='-Qoption ld ';;
8960 lt_prog_compiler_wl='-Wl,';;
8965 lt_prog_compiler_wl='-Qoption ld '
8966 lt_prog_compiler_pic='-PIC'
8967 lt_prog_compiler_static='-Bstatic'
8970 sysv4 | sysv4.2uw2* | sysv4.3*)
8971 lt_prog_compiler_wl='-Wl,'
8972 lt_prog_compiler_pic='-KPIC'
8973 lt_prog_compiler_static='-Bstatic'
8977 if test -d /usr/nec ;then
8978 lt_prog_compiler_pic='-Kconform_pic'
8979 lt_prog_compiler_static='-Bstatic'
8983 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8984 lt_prog_compiler_wl='-Wl,'
8985 lt_prog_compiler_pic='-KPIC'
8986 lt_prog_compiler_static='-Bstatic'
8990 lt_prog_compiler_wl='-Wl,'
8991 lt_prog_compiler_can_build_shared=no
8995 lt_prog_compiler_pic='-pic'
8996 lt_prog_compiler_static='-Bstatic'
9000 lt_prog_compiler_can_build_shared=no
9006 # For platforms which do not support PIC, -DPIC is meaningless:
9008 lt_prog_compiler_pic=
9011 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9016 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9017 if test "${lt_cv_prog_compiler_pic+set}" = set; then :
9018 $as_echo_n "(cached
) " >&6
9020 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
9023 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9024 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9027 # Check to make sure the PIC flag actually works.
9029 if test -n "$lt_prog_compiler_pic"; then
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9031 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9032 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9033 $as_echo_n "(cached
) " >&6
9035 lt_cv_prog_compiler_pic_works=no
9036 ac_outfile=conftest.$ac_objext
9037 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9038 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9039 # Insert the option either (1) after the last *FLAGS variable, or
9040 # (2) before a word containing "conftest.
", or (3) at the end.
9041 # Note that $ac_compile itself does not contain backslashes and begins
9042 # with a dollar sign (not a hyphen), so the echo should work correctly.
9043 # The option is referenced via a variable to avoid confusing sed.
9044 lt_compile=`echo "$ac_compile" | $SED \
9045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9047 -e 's:$: $lt_compiler_flag:'`
9048 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9049 (eval "$lt_compile" 2>conftest.err)
9051 cat conftest.err >&5
9052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9053 if (exit $ac_status) && test -s "$ac_outfile"; then
9054 # The compiler can only warn and ignore the option if not recognized
9055 # So say no if there are warnings other than the usual output.
9056 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9057 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9058 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9059 lt_cv_prog_compiler_pic_works=yes
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9066 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9068 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9069 case $lt_prog_compiler_pic in
9071 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9074 lt_prog_compiler_pic=
9075 lt_prog_compiler_can_build_shared=no
9091 # Check to make sure the static flag actually works.
9093 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9095 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9096 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9097 $as_echo_n "(cached
) " >&6
9099 lt_cv_prog_compiler_static_works=no
9100 save_LDFLAGS="$LDFLAGS"
9101 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9102 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9103 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9104 # The linker can only warn and ignore the option if not recognized
9105 # So say no if there are warnings
9106 if test -s conftest.err; then
9107 # Append any errors to the config.log.
9108 cat conftest.err 1>&5
9109 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9110 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9111 if diff conftest.exp conftest.er2 >/dev/null; then
9112 lt_cv_prog_compiler_static_works=yes
9115 lt_cv_prog_compiler_static_works=yes
9119 LDFLAGS="$save_LDFLAGS"
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9123 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9125 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9128 lt_prog_compiler_static=
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9138 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9139 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9140 $as_echo_n "(cached
) " >&6
9142 lt_cv_prog_compiler_c_o=no
9143 $RM -r conftest 2>/dev/null
9147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9149 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9150 # Insert the option either (1) after the last *FLAGS variable, or
9151 # (2) before a word containing "conftest.
", or (3) at the end.
9152 # Note that $ac_compile itself does not contain backslashes and begins
9153 # with a dollar sign (not a hyphen), so the echo should work correctly.
9154 lt_compile=`echo "$ac_compile" | $SED \
9155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9157 -e 's:$: $lt_compiler_flag:'`
9158 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9159 (eval "$lt_compile" 2>out/conftest.err)
9161 cat out/conftest.err >&5
9162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9163 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9165 # The compiler can only warn and ignore the option if not recognized
9166 # So say no if there are warnings
9167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9168 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9169 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9170 lt_cv_prog_compiler_c_o=yes
9175 # SGI C++ compiler will create directory out/ii_files/ for
9176 # template instantiation
9177 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9178 $RM out/* && rmdir out
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9185 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9193 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9194 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9195 $as_echo_n "(cached
) " >&6
9197 lt_cv_prog_compiler_c_o=no
9198 $RM -r conftest 2>/dev/null
9202 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9204 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9205 # Insert the option either (1) after the last *FLAGS variable, or
9206 # (2) before a word containing "conftest.
", or (3) at the end.
9207 # Note that $ac_compile itself does not contain backslashes and begins
9208 # with a dollar sign (not a hyphen), so the echo should work correctly.
9209 lt_compile=`echo "$ac_compile" | $SED \
9210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9212 -e 's:$: $lt_compiler_flag:'`
9213 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9214 (eval "$lt_compile" 2>out/conftest.err)
9216 cat out/conftest.err >&5
9217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9218 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9220 # The compiler can only warn and ignore the option if not recognized
9221 # So say no if there are warnings
9222 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9223 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9224 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9225 lt_cv_prog_compiler_c_o=yes
9230 # SGI C++ compiler will create directory out/ii_files/ for
9231 # template instantiation
9232 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9233 $RM out/* && rmdir out
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9240 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9245 hard_links="nottested
"
9246 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9247 # do not overwrite the value of need_locks provided by the user
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9249 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9252 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9254 ln conftest.a conftest.b 2>&5 || hard_links=no
9255 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9257 $as_echo "$hard_links" >&6; }
9258 if test "$hard_links" = no; then
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9260 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9273 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9276 allow_undefined_flag=
9277 always_export_symbols=no
9279 archive_expsym_cmds=
9280 compiler_needs_object=no
9281 enable_shared_with_static_runtimes=no
9282 export_dynamic_flag_spec=
9283 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9284 hardcode_automatic=no
9286 hardcode_direct_absolute=no
9287 hardcode_libdir_flag_spec=
9288 hardcode_libdir_flag_spec_ld=
9289 hardcode_libdir_separator=
9291 hardcode_shlibpath_var=unsupported
9293 link_all_deplibs=unknown
9296 old_archive_from_new_cmds=
9297 old_archive_from_expsyms_cmds=
9298 thread_safe_flag_spec=
9299 whole_archive_flag_spec=
9300 # include_expsyms should be a list of space-separated symbols to be *always*
9301 # included in the symbol list
9303 # exclude_expsyms can be an extended regexp of symbols to exclude
9304 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9305 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9306 # as well as any symbol that contains `d'.
9307 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9308 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9309 # platforms (ab)use it in PIC code, but their linkers get confused if
9310 # the symbol is explicitly referenced. Since portable code cannot
9311 # rely on this symbol name, it's probably fine to never include it in
9312 # preloaded symbol tables.
9313 # Exclude shared library initialization/finalization symbols.
9314 extract_expsyms_cmds=
9317 cygwin* | mingw* | pw32* | cegcc*)
9318 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9319 # When not using gcc, we currently assume that we are using
9320 # Microsoft Visual C++.
9321 if test "$GCC" != yes; then
9326 # we just hope/assume this is gcc and not c89 (= MSVC++)
9336 # On some targets, GNU ld is compatible enough with the native linker
9337 # that we're better off using the native interface for both.
9338 lt_use_gnu_ld_interface=no
9339 if test "$with_gnu_ld" = yes; then
9342 # The AIX port of GNU ld has always aspired to compatibility
9343 # with the native linker. However, as the warning in the GNU ld
9344 # block says, versions before 2.19.5* couldn't really create working
9345 # shared libraries, regardless of the interface used.
9346 case `$LD -v 2>&1` in
9347 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9348 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9349 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9351 lt_use_gnu_ld_interface=yes
9356 lt_use_gnu_ld_interface=yes
9361 if test "$lt_use_gnu_ld_interface" = yes; then
9362 # If archive_cmds runs LD, not CC, wlarc should be empty
9365 # Set some defaults for GNU ld with shared library support. These
9366 # are reset later if shared libraries are not supported. Putting them
9367 # here allows them to be overridden if necessary.
9368 runpath_var=LD_RUN_PATH
9369 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9370 export_dynamic_flag_spec='${wl}--export-dynamic'
9371 # ancient GNU ld didn't support --whole-archive et. al.
9372 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9373 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9375 whole_archive_flag_spec=
9377 supports_anon_versioning=no
9378 case `$LD -v 2>&1` in
9379 *GNU\ gold*) supports_anon_versioning=yes ;;
9380 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9381 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9382 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9383 *\ 2.11.*) ;; # other 2.11 versions
9384 *) supports_anon_versioning=yes ;;
9387 # See if GNU ld supports shared libraries.
9390 # On AIX/PPC, the GNU linker is very broken
9391 if test "$host_cpu" != ia64; then
9395 *** Warning: the GNU linker, at least up to release 2.19, is reported
9396 *** to be unable to reliably create shared libraries on AIX.
9397 *** Therefore, libtool is disabling shared libraries support. If you
9398 *** really care for shared libraries, you may want to install binutils
9399 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9400 *** You will then need to restart the configuration process.
9409 # see comment about AmigaOS4 .so support
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds=''
9414 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)'
9415 hardcode_libdir_flag_spec
='-L$libdir'
9416 hardcode_minus_L
=yes
9422 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9423 allow_undefined_flag
=unsupported
9424 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9425 # support --undefined. This deserves some investigation. FIXME
9426 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9432 cygwin
* | mingw
* | pw32
* | cegcc
*)
9433 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9434 # as there is no search path for DLLs.
9435 hardcode_libdir_flag_spec
='-L$libdir'
9436 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9437 allow_undefined_flag
=unsupported
9438 always_export_symbols
=no
9439 enable_shared_with_static_runtimes
=yes
9440 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9441 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9443 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9444 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9445 # If the export-symbols file already is a .def file (1st line
9446 # is EXPORTS), use it as is; otherwise, prepend...
9447 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9448 cp $export_symbols $output_objdir/$soname.def;
9450 echo EXPORTS > $output_objdir/$soname.def;
9451 cat $export_symbols >> $output_objdir/$soname.def;
9453 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9460 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9461 link_all_deplibs
=yes
9466 hardcode_shlibpath_var
=no
9467 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9468 export_dynamic_flag_spec
='${wl}-E'
9469 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9470 # Instead, shared libraries are loaded at an image base (0x10000000 by
9471 # default) and relocated if they conflict, which is a slow very memory
9472 # consuming and fragmenting process. To avoid this, we pick a random,
9473 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9474 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9475 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9476 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'
9479 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9481 if test "$host_os" = linux-dietlibc
; then
9482 case $cc_basename in
9483 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9486 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9487 && test "$tmp_diet" = no
9489 tmp_addflag
=' $pic_flag'
9490 tmp_sharedflag
='-shared'
9491 case $cc_basename,$host_cpu in
9492 pgcc
*) # Portland Group C compiler
9493 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'
9494 tmp_addflag
=' $pic_flag'
9496 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9497 # Portland Group f77 and f90 compilers
9498 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'
9499 tmp_addflag
=' $pic_flag -Mnomain' ;;
9500 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9501 tmp_addflag
=' -i_dynamic' ;;
9502 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9503 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9504 ifc
* | ifort
*) # Intel Fortran compiler
9505 tmp_addflag
=' -nofor_main' ;;
9506 lf95
*) # Lahey Fortran 8.1
9507 whole_archive_flag_spec
=
9508 tmp_sharedflag
='--shared' ;;
9509 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9510 tmp_sharedflag
='-qmkshrobj'
9512 nvcc
*) # Cuda Compiler Driver 2.2
9513 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'
9514 compiler_needs_object
=yes
9517 case `$CC -V 2>&1 | sed 5q` in
9518 *Sun\ C
*) # Sun C 5.9
9519 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'
9520 compiler_needs_object
=yes
9521 tmp_sharedflag
='-G' ;;
9522 *Sun\ F
*) # Sun Fortran 8.3
9523 tmp_sharedflag
='-G' ;;
9525 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9527 if test "x$supports_anon_versioning" = xyes
; then
9528 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9529 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9530 echo "local: *; };" >> $output_objdir/$libname.ver~
9531 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9534 case $cc_basename in
9535 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9536 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9537 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9538 hardcode_libdir_flag_spec
=
9539 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9540 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9541 if test "x$supports_anon_versioning" = xyes
; then
9542 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9543 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9544 echo "local: *; };" >> $output_objdir/$libname.ver~
9545 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9555 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9556 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9559 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9560 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9565 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9569 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9570 *** create shared libraries on Solaris systems. Therefore, libtool
9571 *** is disabling shared libraries support. We urge you to upgrade GNU
9572 *** binutils to release 2.9.1 or newer. Another option is to modify
9573 *** your PATH or compiler configuration so that the native linker is
9574 *** used, and then restart.
9577 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9578 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9579 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9585 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9586 case `$LD -v 2>&1` in
9587 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9591 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9592 *** reliably create shared libraries on SCO systems. Therefore, libtool
9593 *** is disabling shared libraries support. We urge you to upgrade GNU
9594 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9595 *** your PATH or compiler configuration so that the native linker is
9596 *** used, and then restart.
9601 # For security reasons, it is highly recommended that you always
9602 # use absolute paths for naming shared libraries, and exclude the
9603 # DT_RUNPATH tag from executables and libraries. But doing so
9604 # requires that you compile everything twice, which is a pain.
9605 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9606 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9607 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9608 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9617 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9620 hardcode_shlibpath_var
=no
9624 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9625 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9626 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9633 if test "$ld_shlibs" = no
; then
9635 hardcode_libdir_flag_spec
=
9636 export_dynamic_flag_spec
=
9637 whole_archive_flag_spec
=
9640 # PORTME fill in a description of your system's linker (not GNU ld)
9643 allow_undefined_flag
=unsupported
9644 always_export_symbols
=yes
9645 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'
9646 # Note: this linker hardcodes the directories in LIBPATH if there
9647 # are no directories specified by -L.
9648 hardcode_minus_L
=yes
9649 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9650 # Neither direct hardcoding nor static linking is supported with a
9652 hardcode_direct
=unsupported
9657 if test "$host_cpu" = ia64
; then
9658 # On IA64, the linker does run time linking by default, so we don't
9659 # have to do anything special.
9660 aix_use_runtimelinking
=no
9661 exp_sym_flag
='-Bexport'
9664 # If we're using GNU nm, then we don't want the "-C" option.
9665 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9666 # Also, AIX nm treats weak defined symbols like other global
9667 # defined symbols, whereas GNU nm marks them as "W".
9668 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9669 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'
9671 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'
9673 aix_use_runtimelinking
=no
9675 # Test if we are trying to use run time linking or normal
9676 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9677 # need to do runtime linking.
9678 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9679 for ld_flag
in $LDFLAGS; do
9680 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9681 aix_use_runtimelinking
=yes
9688 exp_sym_flag
='-bexport'
9689 no_entry_flag
='-bnoentry'
9692 # When large executables or shared objects are built, AIX ld can
9693 # have problems creating the table of contents. If linking a library
9694 # or program results in "error TOC overflow" add -mminimal-toc to
9695 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9696 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9700 hardcode_direct_absolute
=yes
9701 hardcode_libdir_separator
=':'
9702 link_all_deplibs
=yes
9703 file_list_spec
='${wl}-f,'
9705 if test "$GCC" = yes; then
9706 case $host_os in aix4.
[012]|aix4.
[012].
*)
9707 # We only want to do this on AIX 4.2 and lower, the check
9708 # below for broken collect2 doesn't work under 4.3+
9709 collect2name
=`${CC} -print-prog-name=collect2`
9710 if test -f "$collect2name" &&
9711 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9713 # We have reworked collect2
9716 # We have old collect2
9717 hardcode_direct
=unsupported
9718 # It fails to find uninstalled libraries when the uninstalled
9719 # path is not listed in the libpath. Setting hardcode_minus_L
9720 # to unsupported forces relinking
9721 hardcode_minus_L
=yes
9722 hardcode_libdir_flag_spec
='-L$libdir'
9723 hardcode_libdir_separator
=
9727 shared_flag
='-shared'
9728 if test "$aix_use_runtimelinking" = yes; then
9729 shared_flag
="$shared_flag "'${wl}-G'
9733 if test "$host_cpu" = ia64
; then
9734 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9735 # chokes on -Wl,-G. The following line is correct:
9738 if test "$aix_use_runtimelinking" = yes; then
9739 shared_flag
='${wl}-G'
9741 shared_flag
='${wl}-bM:SRE'
9746 export_dynamic_flag_spec
='${wl}-bexpall'
9747 # It seems that -bexpall does not export symbols beginning with
9748 # underscore (_), so it is better to generate a list of symbols to export.
9749 always_export_symbols
=yes
9750 if test "$aix_use_runtimelinking" = yes; then
9751 # Warning - without using the other runtime loading flags (-brtl),
9752 # -berok will link without error, but may produce a broken library.
9753 allow_undefined_flag
='-berok'
9754 # Determine the default libpath from the value encoded in an
9756 if test "${lt_cv_aix_libpath+set}" = set; then
9757 aix_libpath
=$lt_cv_aix_libpath
9759 if test "${lt_cv_aix_libpath_+set}" = set; then :
9760 $as_echo_n "(cached) " >&6
9762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9773 if ac_fn_c_try_link
"$LINENO"; then :
9775 lt_aix_libpath_sed
='
9776 /Import File Strings/,/^$/ {
9778 s/^0 *\([^ ]*\) *$/\1/
9782 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9783 # Check for a 64-bit object if we didn't find anything.
9784 if test -z "$lt_cv_aix_libpath_"; then
9785 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9788 rm -f core conftest.err conftest.
$ac_objext \
9789 conftest
$ac_exeext conftest.
$ac_ext
9790 if test -z "$lt_cv_aix_libpath_"; then
9791 lt_cv_aix_libpath_
="/usr/lib:/lib"
9796 aix_libpath
=$lt_cv_aix_libpath_
9799 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9800 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"
9802 if test "$host_cpu" = ia64
; then
9803 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9804 allow_undefined_flag
="-z nodefs"
9805 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"
9807 # Determine the default libpath from the value encoded in an
9809 if test "${lt_cv_aix_libpath+set}" = set; then
9810 aix_libpath
=$lt_cv_aix_libpath
9812 if test "${lt_cv_aix_libpath_+set}" = set; then :
9813 $as_echo_n "(cached) " >&6
9815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9826 if ac_fn_c_try_link
"$LINENO"; then :
9828 lt_aix_libpath_sed
='
9829 /Import File Strings/,/^$/ {
9831 s/^0 *\([^ ]*\) *$/\1/
9835 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9836 # Check for a 64-bit object if we didn't find anything.
9837 if test -z "$lt_cv_aix_libpath_"; then
9838 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841 rm -f core conftest.err conftest.
$ac_objext \
9842 conftest
$ac_exeext conftest.
$ac_ext
9843 if test -z "$lt_cv_aix_libpath_"; then
9844 lt_cv_aix_libpath_
="/usr/lib:/lib"
9849 aix_libpath
=$lt_cv_aix_libpath_
9852 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9853 # Warning - without using the other run time loading flags,
9854 # -berok will link without error, but may produce a broken library.
9855 no_undefined_flag
=' ${wl}-bernotok'
9856 allow_undefined_flag
=' ${wl}-berok'
9857 if test "$with_gnu_ld" = yes; then
9858 # We only use this code for GNU lds that support --whole-archive.
9859 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9861 # Exported symbols can be pulled into shared objects from archives
9862 whole_archive_flag_spec
='$convenience'
9864 archive_cmds_need_lc
=yes
9865 # This is similar to how AIX traditionally builds its shared libraries.
9866 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'
9874 # see comment about AmigaOS4 .so support
9875 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9876 archive_expsym_cmds
=''
9879 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)'
9880 hardcode_libdir_flag_spec
='-L$libdir'
9881 hardcode_minus_L
=yes
9887 export_dynamic_flag_spec
=-rdynamic
9890 cygwin
* | mingw
* | pw32
* | cegcc
*)
9891 # When not using gcc, we currently assume that we are using
9892 # Microsoft Visual C++.
9893 # hardcode_libdir_flag_spec is actually meaningless, as there is
9894 # no search path for DLLs.
9895 case $cc_basename in
9898 hardcode_libdir_flag_spec
=' '
9899 allow_undefined_flag
=unsupported
9900 always_export_symbols
=yes
9902 # Tell ltmain to make .lib files, not .a files.
9904 # Tell ltmain to make .dll files, not .so files.
9906 # FIXME: Setting linknames here is a bad hack.
9907 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9908 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9909 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9911 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9913 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9915 # The linker will not automatically build a static lib if we build a DLL.
9916 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9917 enable_shared_with_static_runtimes
=yes
9918 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9920 old_postinstall_cmds
='chmod 644 $oldlib'
9921 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9922 lt_tool_outputfile="@TOOL_OUTPUT@"~
9923 case $lt_outputfile in
9926 lt_outputfile="$lt_outputfile.exe"
9927 lt_tool_outputfile="$lt_tool_outputfile.exe"
9930 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9931 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9932 $RM "$lt_outputfile.manifest";
9936 # Assume MSVC wrapper
9937 hardcode_libdir_flag_spec
=' '
9938 allow_undefined_flag
=unsupported
9939 # Tell ltmain to make .lib files, not .a files.
9941 # Tell ltmain to make .dll files, not .so files.
9943 # FIXME: Setting linknames here is a bad hack.
9944 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9945 # The linker will automatically build a .lib file if we build a DLL.
9946 old_archive_from_new_cmds
='true'
9947 # FIXME: Should let the user specify the lib program.
9948 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9949 enable_shared_with_static_runtimes
=yes
9954 darwin
* | rhapsody
*)
9957 archive_cmds_need_lc
=no
9959 hardcode_automatic
=yes
9960 hardcode_shlibpath_var
=unsupported
9961 if test "$lt_cv_ld_force_load" = "yes"; then
9962 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\"`'
9964 whole_archive_flag_spec
=''
9966 link_all_deplibs
=yes
9967 allow_undefined_flag
="$_lt_dar_allow_undefined"
9968 case $cc_basename in
9969 ifort
*) _lt_dar_can_shared
=yes ;;
9970 *) _lt_dar_can_shared
=$GCC ;;
9972 if test "$_lt_dar_can_shared" = "yes"; then
9973 output_verbose_link_cmd
=func_echo_all
9974 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9975 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9976 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}"
9977 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}"
9986 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9987 hardcode_libdir_flag_spec
='-L$libdir'
9988 hardcode_shlibpath_var
=no
9995 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9996 # support. Future versions do this automatically, but an explicit c++rt0.o
9997 # does not break anything, and helps significantly (at the cost of a little
10000 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10001 hardcode_libdir_flag_spec
='-R$libdir'
10002 hardcode_direct
=yes
10003 hardcode_shlibpath_var
=no
10006 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10008 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10009 hardcode_direct
=yes
10010 hardcode_minus_L
=yes
10011 hardcode_shlibpath_var
=no
10014 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10015 freebsd
* | dragonfly
*)
10016 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017 hardcode_libdir_flag_spec
='-R$libdir'
10018 hardcode_direct
=yes
10019 hardcode_shlibpath_var
=no
10023 if test "$GCC" = yes; then
10024 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10026 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'
10028 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10029 hardcode_libdir_separator
=:
10030 hardcode_direct
=yes
10032 # hardcode_minus_L: Not really in the search PATH,
10033 # but as the default location of the library.
10034 hardcode_minus_L
=yes
10035 export_dynamic_flag_spec
='${wl}-E'
10039 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10040 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10042 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10044 if test "$with_gnu_ld" = no
; then
10045 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10046 hardcode_libdir_flag_spec_ld
='+b $libdir'
10047 hardcode_libdir_separator
=:
10048 hardcode_direct
=yes
10049 hardcode_direct_absolute
=yes
10050 export_dynamic_flag_spec
='${wl}-E'
10051 # hardcode_minus_L: Not really in the search PATH,
10052 # but as the default location of the library.
10053 hardcode_minus_L
=yes
10058 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10061 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10064 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10073 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10080 # Older versions of the 11.00 compiler do not understand -b yet
10081 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10083 $as_echo_n "checking if $CC understands -b... " >&6; }
10084 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10085 $as_echo_n "(cached) " >&6
10087 lt_cv_prog_compiler__b
=no
10088 save_LDFLAGS
="$LDFLAGS"
10089 LDFLAGS
="$LDFLAGS -b"
10090 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10091 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10092 # The linker can only warn and ignore the option if not recognized
10093 # So say no if there are warnings
10094 if test -s conftest.err
; then
10095 # Append any errors to the config.log.
10096 cat conftest.err
1>&5
10097 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10098 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10099 if diff conftest.exp conftest.er2
>/dev
/null
; then
10100 lt_cv_prog_compiler__b
=yes
10103 lt_cv_prog_compiler__b
=yes
10107 LDFLAGS
="$save_LDFLAGS"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10111 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10113 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10114 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10122 if test "$with_gnu_ld" = no
; then
10123 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10124 hardcode_libdir_separator
=:
10129 hardcode_shlibpath_var
=no
10132 hardcode_direct
=yes
10133 hardcode_direct_absolute
=yes
10134 export_dynamic_flag_spec
='${wl}-E'
10136 # hardcode_minus_L: Not really in the search PATH,
10137 # but as the default location of the library.
10138 hardcode_minus_L
=yes
10144 irix5
* | irix6
* | nonstopux
*)
10145 if test "$GCC" = yes; then
10146 archive_cmds
='$CC -shared $pic_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'
10147 # Try to use the -exported_symbol ld option, if it does not
10148 # work, assume that -exports_file does not work either and
10149 # implicitly export all symbols.
10150 # This should be the same for all languages, so no per-tag cache variable.
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10152 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10153 if test "${lt_cv_irix_exported_symbol+set}" = set; then :
10154 $as_echo_n "(cached) " >&6
10156 save_LDFLAGS
="$LDFLAGS"
10157 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 int foo (void) { return 0; }
10162 if ac_fn_c_try_link
"$LINENO"; then :
10163 lt_cv_irix_exported_symbol
=yes
10165 lt_cv_irix_exported_symbol
=no
10167 rm -f core conftest.err conftest.
$ac_objext \
10168 conftest
$ac_exeext conftest.
$ac_ext
10169 LDFLAGS
="$save_LDFLAGS"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10172 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10173 if test "$lt_cv_irix_exported_symbol" = yes; then
10174 archive_expsym_cmds
='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
10177 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'
10178 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'
10180 archive_cmds_need_lc
='no'
10181 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10182 hardcode_libdir_separator
=:
10184 link_all_deplibs
=yes
10188 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10189 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10191 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10193 hardcode_libdir_flag_spec
='-R$libdir'
10194 hardcode_direct
=yes
10195 hardcode_shlibpath_var
=no
10199 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10200 hardcode_direct
=yes
10201 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10202 hardcode_libdir_separator
=:
10203 hardcode_shlibpath_var
=no
10210 if test -f /usr
/libexec
/ld.so
; then
10211 hardcode_direct
=yes
10212 hardcode_shlibpath_var
=no
10213 hardcode_direct_absolute
=yes
10214 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10215 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10217 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10218 export_dynamic_flag_spec
='${wl}-E'
10221 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10222 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10223 hardcode_libdir_flag_spec
='-R$libdir'
10226 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10227 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10237 hardcode_libdir_flag_spec
='-L$libdir'
10238 hardcode_minus_L
=yes
10239 allow_undefined_flag
=unsupported
10240 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'
10241 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10245 if test "$GCC" = yes; then
10246 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10247 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'
10249 allow_undefined_flag
=' -expect_unresolved \*'
10250 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'
10252 archive_cmds_need_lc
='no'
10253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10254 hardcode_libdir_separator
=:
10257 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10258 if test "$GCC" = yes; then
10259 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10260 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_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'
10261 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10263 allow_undefined_flag
=' -expect_unresolved \*'
10264 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'
10265 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~
10266 $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'
10268 # Both c and cxx compiler support -rpath directly
10269 hardcode_libdir_flag_spec
='-rpath $libdir'
10271 archive_cmds_need_lc
='no'
10272 hardcode_libdir_separator
=:
10276 no_undefined_flag
=' -z defs'
10277 if test "$GCC" = yes; then
10279 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10280 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10281 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10283 case `$CC -V 2>&1` in
10286 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10287 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10288 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10292 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10293 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10294 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10298 hardcode_libdir_flag_spec
='-R$libdir'
10299 hardcode_shlibpath_var
=no
10301 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10303 # The compiler driver will combine and reorder linker options,
10304 # but understands `-z linker_flag'. GCC discards it without `$wl',
10305 # but is careful enough not to reorder.
10306 # Supported since Solaris 2.6 (maybe 2.5.1?)
10307 if test "$GCC" = yes; then
10308 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10310 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10314 link_all_deplibs
=yes
10318 if test "x$host_vendor" = xsequent
; then
10319 # Use $CC to link under sequent, because it throws in some extra .o
10320 # files that make .init and .fini sections work.
10321 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10323 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10325 hardcode_libdir_flag_spec
='-L$libdir'
10326 hardcode_direct
=yes
10327 hardcode_minus_L
=yes
10328 hardcode_shlibpath_var
=no
10332 case $host_vendor in
10334 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335 hardcode_direct
=yes # is this really true???
10338 ## LD is ld it makes a PLAMLIB
10339 ## CC just makes a GrossModule.
10340 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10341 reload_cmds
='$CC -r -o $output$reload_objs'
10345 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10346 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10349 runpath_var
='LD_RUN_PATH'
10350 hardcode_shlibpath_var
=no
10354 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10355 hardcode_shlibpath_var
=no
10356 export_dynamic_flag_spec
='-Bexport'
10360 if test -d /usr
/nec
; then
10361 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10362 hardcode_shlibpath_var
=no
10363 runpath_var
=LD_RUN_PATH
10364 hardcode_runpath_var
=yes
10369 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10370 no_undefined_flag
='${wl}-z,text'
10371 archive_cmds_need_lc
=no
10372 hardcode_shlibpath_var
=no
10373 runpath_var
='LD_RUN_PATH'
10375 if test "$GCC" = yes; then
10376 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10377 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10379 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10380 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384 sysv5
* | sco3.2v5
* | sco5v6
*)
10385 # Note: We can NOT use -z defs as we might desire, because we do not
10386 # link with -lc, and that would cause any symbols used from libc to
10387 # always be unresolved, which means just about no library would
10388 # ever link correctly. If we're not using GNU ld we use -z text
10389 # though, which does catch some bad symbols but isn't as heavy-handed
10391 no_undefined_flag
='${wl}-z,text'
10392 allow_undefined_flag
='${wl}-z,nodefs'
10393 archive_cmds_need_lc
=no
10394 hardcode_shlibpath_var
=no
10395 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10396 hardcode_libdir_separator
=':'
10397 link_all_deplibs
=yes
10398 export_dynamic_flag_spec
='${wl}-Bexport'
10399 runpath_var
='LD_RUN_PATH'
10401 if test "$GCC" = yes; then
10402 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10403 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10405 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10411 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_libdir_flag_spec
='-L$libdir'
10413 hardcode_shlibpath_var
=no
10421 if test x
$host_vendor = xsni
; then
10423 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10424 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10431 $as_echo "$ld_shlibs" >&6; }
10432 test "$ld_shlibs" = no
&& can_build_shared
=no
10434 with_gnu_ld
=$with_gnu_ld
10451 # Do we need to explicitly link libc?
10453 case "x$archive_cmds_need_lc" in
10455 # Assume -lc should be added
10456 archive_cmds_need_lc
=yes
10458 if test "$enable_shared" = yes && test "$GCC" = yes; then
10459 case $archive_cmds in
10461 # FIXME: we may have to deal with multi-command sequences.
10464 # Test whether the compiler implicitly links with -lc since on some
10465 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10466 # to ld, don't add -lc before -lgcc.
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10468 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10469 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10470 $as_echo_n "(cached) " >&6
10473 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10476 (eval $ac_compile) 2>&5
10478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10479 test $ac_status = 0; } 2>conftest.err
; then
10482 libobjs
=conftest.
$ac_objext
10484 wl
=$lt_prog_compiler_wl
10485 pic_flag
=$lt_prog_compiler_pic
10491 lt_save_allow_undefined_flag
=$allow_undefined_flag
10492 allow_undefined_flag
=
10493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10494 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10497 test $ac_status = 0; }
10499 lt_cv_archive_cmds_need_lc
=no
10501 lt_cv_archive_cmds_need_lc
=yes
10503 allow_undefined_flag
=$lt_save_allow_undefined_flag
10505 cat conftest.err
1>&5
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10511 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10512 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10676 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10678 if test "$GCC" = yes; then
10680 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10681 *) lt_awk_arg
="/^libraries:/" ;;
10684 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10685 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10687 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10688 case $lt_search_path_spec in
10690 # if the path contains ";" then we assume it to be the separator
10691 # otherwise default to the standard path separator (i.e. ":") - it is
10692 # assumed that no part of a normal pathname contains ";" but that should
10693 # okay in the real world where ";" in dirpaths is itself problematic.
10694 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10697 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10700 # Ok, now we have the path, separated by spaces, we can step through it
10701 # and add multilib dir if necessary.
10702 lt_tmp_lt_search_path_spec
=
10703 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10704 for lt_sys_path
in $lt_search_path_spec; do
10705 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10706 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10708 test -d "$lt_sys_path" && \
10709 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10712 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10713 BEGIN {RS=" "; FS="/|\n";} {
10716 for (lt_i = NF; lt_i > 0; lt_i--) {
10717 if ($lt_i != "" && $lt_i != ".") {
10718 if ($lt_i == "..") {
10721 if (lt_count == 0) {
10722 lt_foo="/" $lt_i lt_foo;
10729 if (lt_foo != "") { lt_freq[lt_foo]++; }
10730 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10732 # AWK program above erroneously prepends '/' to C:/dos/paths
10735 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10736 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10738 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10740 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10742 library_names_spec
=
10743 libname_spec
='lib$name'
10747 postuninstall_cmds
=
10751 shlibpath_overrides_runpath
=unknown
10753 dynamic_linker
="$host_os ld.so"
10754 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10755 need_lib_prefix
=unknown
10756 hardcode_into_libs
=no
10758 # when you set need_version to no, make sure it does not cause -set_version
10759 # flags to be left without arguments
10760 need_version
=unknown
10765 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10766 shlibpath_var
=LIBPATH
10768 # AIX 3 has no versioning support, so we append a major version to the name.
10769 soname_spec
='${libname}${release}${shared_ext}$major'
10776 hardcode_into_libs
=yes
10777 if test "$host_cpu" = ia64
; then
10778 # AIX 5 supports IA64
10779 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10780 shlibpath_var
=LD_LIBRARY_PATH
10782 # With GCC up to 2.95.x, collect2 would create an import file
10783 # for dependence libraries. The import file would start with
10784 # the line `#! .'. This would cause the generated library to
10785 # depend on `.', always an invalid library. This was fixed in
10786 # development snapshots of GCC prior to 3.0.
10788 aix4 | aix4.
[01] | aix4.
[01].
*)
10789 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10791 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10794 can_build_shared
=no
10798 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10799 # soname into executable. Probably we can add versioning support to
10800 # collect2, so additional links can be useful in future.
10801 if test "$aix_use_runtimelinking" = yes; then
10802 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10803 # instead of lib<name>.a to let people know that these are not
10804 # typical AIX shared libraries.
10805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807 # We preserve .a as extension for shared libraries through AIX4.2
10808 # and later when we are not doing run time linking.
10809 library_names_spec
='${libname}${release}.a $libname.a'
10810 soname_spec
='${libname}${release}${shared_ext}$major'
10812 shlibpath_var
=LIBPATH
10819 # Since July 2007 AmigaOS4 officially supports .so libraries.
10820 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10824 library_names_spec
='$libname.ixlibrary $libname.a'
10825 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10826 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'
10832 library_names_spec
='${libname}${shared_ext}'
10833 dynamic_linker
="$host_os ld.so"
10834 shlibpath_var
=LIBRARY_PATH
10840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841 soname_spec
='${libname}${release}${shared_ext}$major'
10842 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10843 shlibpath_var
=LD_LIBRARY_PATH
10844 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10845 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10846 # the default ld.so.conf also contains /usr/contrib/lib and
10847 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10848 # libtool to hard-code these into programs
10851 cygwin
* | mingw
* | pw32
* | cegcc
*)
10852 version_type
=windows
10857 case $GCC,$cc_basename in
10860 library_names_spec
='$libname.dll.a'
10861 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10862 postinstall_cmds
='base_file=`basename \${file}`~
10863 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10864 dldir=$destdir/`dirname \$dlpath`~
10865 test -d \$dldir || mkdir -p \$dldir~
10866 $install_prog $dir/$dlname \$dldir/$dlname~
10867 chmod a+x \$dldir/$dlname~
10868 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10869 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10871 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10872 dlpath=$dir/\$dldll~
10874 shlibpath_overrides_runpath
=yes
10878 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10879 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10881 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10884 # MinGW DLLs use traditional 'lib' prefix
10885 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10888 # pw32 DLLs use 'pw' prefix rather than 'lib'
10889 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10892 dynamic_linker
='Win32 ld.exe'
10897 libname_spec
='$name'
10898 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10899 library_names_spec
='${libname}.dll.lib'
10903 sys_lib_search_path_spec
=
10906 for lt_path
in $LIB
10909 # Let DOS variable expansion print the short 8.3 style file name.
10910 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10911 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10914 # Convert to MSYS style.
10915 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10918 # Convert to unix form, then to dos form, then back to unix form
10919 # but this time dos style (no spaces!) so that the unix form looks
10920 # like /cygdrive/c/PROGRA~1:/cygdr...
10921 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10922 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10923 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10926 sys_lib_search_path_spec
="$LIB"
10927 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10928 # It is most probably a Windows format PATH.
10929 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10931 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10933 # FIXME: find the short name or the path components, as spaces are
10934 # common. (e.g. "Program Files" -> "PROGRA~1")
10938 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10939 postinstall_cmds
='base_file=`basename \${file}`~
10940 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10941 dldir=$destdir/`dirname \$dlpath`~
10942 test -d \$dldir || mkdir -p \$dldir~
10943 $install_prog $dir/$dlname \$dldir/$dlname'
10944 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10945 dlpath=$dir/\$dldll~
10947 shlibpath_overrides_runpath
=yes
10948 dynamic_linker
='Win32 link.exe'
10952 # Assume MSVC wrapper
10953 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10954 dynamic_linker
='Win32 ld.exe'
10957 # FIXME: first we should search . and the directory the executable is in
10961 darwin
* | rhapsody
*)
10962 dynamic_linker
="$host_os dyld"
10963 version_type
=darwin
10966 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10967 soname_spec
='${libname}${release}${major}$shared_ext'
10968 shlibpath_overrides_runpath
=yes
10969 shlibpath_var
=DYLD_LIBRARY_PATH
10970 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10972 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10973 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10981 soname_spec
='${libname}${release}${shared_ext}$major'
10982 shlibpath_var
=LD_LIBRARY_PATH
10989 freebsd
* | dragonfly
*)
10990 # DragonFly does not have aout. When/if they implement a new
10991 # versioning mechanism, adjust this.
10992 if test -x /usr
/bin
/objformat
; then
10993 objformat
=`/usr/bin/objformat`
10996 freebsd
[123]*) objformat
=aout
;;
10997 *) objformat
=elf
;;
11000 version_type
=freebsd-
$objformat
11001 case $version_type in
11003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11008 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11012 shlibpath_var
=LD_LIBRARY_PATH
11015 shlibpath_overrides_runpath
=yes
11017 freebsd3.
[01]* | freebsdelf3.
[01]*)
11018 shlibpath_overrides_runpath
=yes
11019 hardcode_into_libs
=yes
11021 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11022 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11023 shlibpath_overrides_runpath
=no
11024 hardcode_into_libs
=yes
11026 *) # from 4.6 on, and DragonFly
11027 shlibpath_overrides_runpath
=yes
11028 hardcode_into_libs
=yes
11037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11038 soname_spec
='${libname}${release}${shared_ext}$major'
11039 shlibpath_var
=LD_LIBRARY_PATH
11040 hardcode_into_libs
=yes
11047 dynamic_linker
="$host_os runtime_loader"
11048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11049 soname_spec
='${libname}${release}${shared_ext}$major'
11050 shlibpath_var
=LIBRARY_PATH
11051 shlibpath_overrides_runpath
=yes
11052 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11053 hardcode_into_libs
=yes
11056 hpux9
* | hpux10
* | hpux11
*)
11057 # Give a soname corresponding to the major version so that dld.sl refuses to
11058 # link against other versions.
11065 hardcode_into_libs
=yes
11066 dynamic_linker
="$host_os dld.so"
11067 shlibpath_var
=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11070 soname_spec
='${libname}${release}${shared_ext}$major'
11071 if test "X$HPUX_IA64_MODE" = X32
; then
11072 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11074 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11076 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11080 hardcode_into_libs
=yes
11081 dynamic_linker
="$host_os dld.sl"
11082 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11083 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec
='${libname}${release}${shared_ext}$major'
11086 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11087 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11091 dynamic_linker
="$host_os dld.sl"
11092 shlibpath_var
=SHLIB_PATH
11093 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095 soname_spec
='${libname}${release}${shared_ext}$major'
11098 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11099 postinstall_cmds
='chmod 555 $lib'
11100 # or fails outright, so override atomically:
11101 install_override_mode
=555
11108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11109 soname_spec
='${libname}${release}${shared_ext}$major'
11110 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11111 shlibpath_var
=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath
=no
11113 hardcode_into_libs
=yes
11116 irix5
* | irix6
* | nonstopux
*)
11118 nonstopux
*) version_type
=nonstopux
;;
11120 if test "$lt_cv_prog_gnu_ld" = yes; then
11128 soname_spec
='${libname}${release}${shared_ext}$major'
11129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11131 irix5
* | nonstopux
*)
11132 libsuff
= shlibsuff
=
11135 case $LD in # libtool.m4 will add one of these switches to LD
11136 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11137 libsuff
= shlibsuff
= libmagic
=32-bit;;
11138 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11139 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11140 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11141 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11142 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11146 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11147 shlibpath_overrides_runpath
=no
11148 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11149 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11150 hardcode_into_libs
=yes
11153 # No shared lib support for Linux oldld, aout, or coff.
11154 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11158 # This must be Linux ELF.
11159 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11164 soname_spec
='${libname}${release}${shared_ext}$major'
11165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11166 shlibpath_var
=LD_LIBRARY_PATH
11167 shlibpath_overrides_runpath
=no
11169 # Some binutils ld are patched to set DT_RUNPATH
11170 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11171 $as_echo_n "(cached) " >&6
11173 lt_cv_shlibpath_overrides_runpath
=no
11174 save_LDFLAGS
=$LDFLAGS
11175 save_libdir
=$libdir
11176 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11177 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11189 if ac_fn_c_try_link
"$LINENO"; then :
11190 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11191 lt_cv_shlibpath_overrides_runpath
=yes
11194 rm -f core conftest.err conftest.
$ac_objext \
11195 conftest
$ac_exeext conftest.
$ac_ext
11196 LDFLAGS
=$save_LDFLAGS
11197 libdir
=$save_libdir
11201 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11203 # This implies no fast_install, which is unacceptable.
11204 # Some rework will be needed to allow for fast_install
11205 # before this can be enabled.
11206 hardcode_into_libs
=yes
11208 # Add ABI-specific directories to the system library path.
11209 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11211 # Append ld.so.conf contents to the search path
11212 if test -f /etc
/ld.so.conf
; then
11213 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' ' '`
11214 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11218 # We used to test for /lib/ld.so.1 and disable shared libraries on
11219 # powerpc, because MkLinux only supported shared libraries with the
11220 # GNU dynamic linker. Since this was broken with cross compilers,
11221 # most powerpc-linux boxes support dynamic linking these days and
11222 # people can always --disable-shared, the test was removed, and we
11223 # assume the GNU/Linux dynamic linker is in use.
11224 dynamic_linker
='GNU/Linux ld.so'
11231 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11233 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11234 dynamic_linker
='NetBSD (a.out) ld.so'
11236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11237 soname_spec
='${libname}${release}${shared_ext}$major'
11238 dynamic_linker
='NetBSD ld.elf_so'
11240 shlibpath_var
=LD_LIBRARY_PATH
11241 shlibpath_overrides_runpath
=yes
11242 hardcode_into_libs
=yes
11247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11248 shlibpath_var
=LD_LIBRARY_PATH
11249 shlibpath_overrides_runpath
=yes
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 soname_spec
='${libname}${release}${shared_ext}$major'
11258 shlibpath_var
=LD_LIBRARY_PATH
11259 shlibpath_overrides_runpath
=no
11260 hardcode_into_libs
=yes
11261 dynamic_linker
='ldqnx.so'
11266 sys_lib_dlsearch_path_spec
="/usr/lib"
11268 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11270 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11271 *) need_version
=no
;;
11273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11274 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11275 shlibpath_var
=LD_LIBRARY_PATH
11276 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11278 openbsd2.
[89] | openbsd2.
[89].
*)
11279 shlibpath_overrides_runpath
=no
11282 shlibpath_overrides_runpath
=yes
11286 shlibpath_overrides_runpath
=yes
11291 libname_spec
='$name'
11294 library_names_spec
='$libname${shared_ext} $libname.a'
11295 dynamic_linker
='OS/2 ld.exe'
11296 shlibpath_var
=LIBPATH
11299 osf3
* | osf4
* | osf5
*)
11303 soname_spec
='${libname}${release}${shared_ext}$major'
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 shlibpath_var
=LD_LIBRARY_PATH
11306 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11307 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11319 soname_spec
='${libname}${release}${shared_ext}$major'
11320 shlibpath_var
=LD_LIBRARY_PATH
11321 shlibpath_overrides_runpath
=yes
11322 hardcode_into_libs
=yes
11323 # ldd complains unless libraries are executable
11324 postinstall_cmds
='chmod +x $lib'
11329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11330 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11331 shlibpath_var
=LD_LIBRARY_PATH
11332 shlibpath_overrides_runpath
=yes
11333 if test "$with_gnu_ld" = yes; then
11341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11342 soname_spec
='${libname}${release}${shared_ext}$major'
11343 shlibpath_var
=LD_LIBRARY_PATH
11344 case $host_vendor in
11346 shlibpath_overrides_runpath
=no
11348 runpath_var
=LD_RUN_PATH
11356 shlibpath_overrides_runpath
=no
11357 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11363 if test -d /usr
/nec
;then
11365 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11366 soname_spec
='$libname${shared_ext}.$major'
11367 shlibpath_var
=LD_LIBRARY_PATH
11371 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11372 version_type
=freebsd-elf
11375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11376 soname_spec
='${libname}${release}${shared_ext}$major'
11377 shlibpath_var
=LD_LIBRARY_PATH
11378 shlibpath_overrides_runpath
=yes
11379 hardcode_into_libs
=yes
11380 if test "$with_gnu_ld" = yes; then
11381 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11383 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11386 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11390 sys_lib_dlsearch_path_spec
='/usr/lib'
11394 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11399 shlibpath_var
=LD_LIBRARY_PATH
11400 shlibpath_overrides_runpath
=no
11401 hardcode_into_libs
=yes
11406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11407 soname_spec
='${libname}${release}${shared_ext}$major'
11408 shlibpath_var
=LD_LIBRARY_PATH
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11416 $as_echo "$dynamic_linker" >&6; }
11417 test "$dynamic_linker" = no
&& can_build_shared
=no
11419 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11420 if test "$GCC" = yes; then
11421 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11424 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11425 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11427 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11428 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11523 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11525 if test -n "$hardcode_libdir_flag_spec" ||
11526 test -n "$runpath_var" ||
11527 test "X$hardcode_automatic" = "Xyes" ; then
11529 # We can hardcode non-existent directories.
11530 if test "$hardcode_direct" != no
&&
11531 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11532 # have to relink, otherwise we might link with an installed library
11533 # when we should be linking with a yet-to-be-installed one
11534 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11535 test "$hardcode_minus_L" != no
; then
11536 # Linking always hardcodes the temporary library directory.
11537 hardcode_action
=relink
11539 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11540 hardcode_action
=immediate
11543 # We cannot hardcode anything, or else we can only hardcode existing
11545 hardcode_action
=unsupported
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11548 $as_echo "$hardcode_action" >&6; }
11550 if test "$hardcode_action" = relink ||
11551 test "$inherit_rpath" = yes; then
11552 # Fast installation is not supported
11553 enable_fast_install
=no
11554 elif test "$shlibpath_overrides_runpath" = yes ||
11555 test "$enable_shared" = no
; then
11556 # Fast installation is not necessary
11557 enable_fast_install
=needless
11565 if test "x$enable_dlopen" != xyes
; then
11566 enable_dlopen
=unknown
11567 enable_dlopen_self
=unknown
11568 enable_dlopen_self_static
=unknown
11575 lt_cv_dlopen
="load_add_on"
11577 lt_cv_dlopen_self
=yes
11580 mingw
* | pw32
* | cegcc
*)
11581 lt_cv_dlopen
="LoadLibrary"
11586 lt_cv_dlopen
="dlopen"
11591 # if libdl is installed we need to link against it
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11593 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11594 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11595 $as_echo_n "(cached) " >&6
11597 ac_check_lib_save_LIBS
=$LIBS
11599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11602 /* Override any GCC internal prototype to avoid an error.
11603 Use char because int might match the return type of a GCC
11604 builtin and then its argument prototype would still apply. */
11617 if ac_fn_c_try_link
"$LINENO"; then :
11618 ac_cv_lib_dl_dlopen
=yes
11620 ac_cv_lib_dl_dlopen
=no
11622 rm -f core conftest.err conftest.
$ac_objext \
11623 conftest
$ac_exeext conftest.
$ac_ext
11624 LIBS
=$ac_check_lib_save_LIBS
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11627 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11628 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11629 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11632 lt_cv_dlopen
="dyld"
11634 lt_cv_dlopen_self
=yes
11641 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11642 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11643 lt_cv_dlopen
="shl_load"
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11646 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11647 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_lib_save_LIBS
=$LIBS
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11665 return shl_load ();
11670 if ac_fn_c_try_link
"$LINENO"; then :
11671 ac_cv_lib_dld_shl_load
=yes
11673 ac_cv_lib_dld_shl_load
=no
11675 rm -f core conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11677 LIBS
=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11680 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11681 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11682 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11684 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11685 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11686 lt_cv_dlopen
="dlopen"
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11689 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11690 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11691 $as_echo_n "(cached) " >&6
11693 ac_check_lib_save_LIBS
=$LIBS
11695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11713 if ac_fn_c_try_link
"$LINENO"; then :
11714 ac_cv_lib_dl_dlopen
=yes
11716 ac_cv_lib_dl_dlopen
=no
11718 rm -f core conftest.err conftest.
$ac_objext \
11719 conftest
$ac_exeext conftest.
$ac_ext
11720 LIBS
=$ac_check_lib_save_LIBS
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11723 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11724 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11725 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11728 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11729 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11730 $as_echo_n "(cached) " >&6
11732 ac_check_lib_save_LIBS
=$LIBS
11733 LIBS
="-lsvld $LIBS"
11734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11752 if ac_fn_c_try_link
"$LINENO"; then :
11753 ac_cv_lib_svld_dlopen
=yes
11755 ac_cv_lib_svld_dlopen
=no
11757 rm -f core conftest.err conftest.
$ac_objext \
11758 conftest
$ac_exeext conftest.
$ac_ext
11759 LIBS
=$ac_check_lib_save_LIBS
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11762 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11763 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11764 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11767 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11768 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11769 $as_echo_n "(cached) " >&6
11771 ac_check_lib_save_LIBS
=$LIBS
11773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11776 /* Override any GCC internal prototype to avoid an error.
11777 Use char because int might match the return type of a GCC
11778 builtin and then its argument prototype would still apply. */
11786 return dld_link ();
11791 if ac_fn_c_try_link
"$LINENO"; then :
11792 ac_cv_lib_dld_dld_link
=yes
11794 ac_cv_lib_dld_dld_link
=no
11796 rm -f core conftest.err conftest.
$ac_objext \
11797 conftest
$ac_exeext conftest.
$ac_ext
11798 LIBS
=$ac_check_lib_save_LIBS
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11801 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11802 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11803 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11824 if test "x$lt_cv_dlopen" != xno
; then
11830 case $lt_cv_dlopen in
11832 save_CPPFLAGS
="$CPPFLAGS"
11833 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11835 save_LDFLAGS
="$LDFLAGS"
11836 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11839 LIBS
="$lt_cv_dlopen_libs $LIBS"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11842 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11843 if test "${lt_cv_dlopen_self+set}" = set; then :
11844 $as_echo_n "(cached) " >&6
11846 if test "$cross_compiling" = yes; then :
11847 lt_cv_dlopen_self
=cross
11849 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11850 lt_status
=$lt_dlunknown
11851 cat > conftest.
$ac_ext <<_LT_EOF
11852 #line $LINENO "configure"
11853 #include "confdefs.h"
11862 # define LT_DLGLOBAL RTLD_GLOBAL
11865 # define LT_DLGLOBAL DL_GLOBAL
11867 # define LT_DLGLOBAL 0
11871 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11872 find out it does not work in some platform. */
11873 #ifndef LT_DLLAZY_OR_NOW
11875 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11878 # define LT_DLLAZY_OR_NOW DL_LAZY
11881 # define LT_DLLAZY_OR_NOW RTLD_NOW
11884 # define LT_DLLAZY_OR_NOW DL_NOW
11886 # define LT_DLLAZY_OR_NOW 0
11893 /* When -fvisbility=hidden is used, assume the code has been annotated
11894 correspondingly for the symbols needed. */
11895 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11896 int fnord () __attribute__((visibility("default")));
11899 int fnord () { return 42; }
11902 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11903 int status = $lt_dlunknown;
11907 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11910 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11911 else puts (dlerror ());
11913 /* dlclose (self); */
11921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11922 (eval $ac_link) 2>&5
11924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11925 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11926 (.
/conftest
; exit; ) >&5 2>/dev
/null
11928 case x
$lt_status in
11929 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11930 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11931 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11934 # compilation failed
11935 lt_cv_dlopen_self
=no
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11943 $as_echo "$lt_cv_dlopen_self" >&6; }
11945 if test "x$lt_cv_dlopen_self" = xyes
; then
11946 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11948 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11949 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11950 $as_echo_n "(cached) " >&6
11952 if test "$cross_compiling" = yes; then :
11953 lt_cv_dlopen_self_static
=cross
11955 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11956 lt_status
=$lt_dlunknown
11957 cat > conftest.
$ac_ext <<_LT_EOF
11958 #line $LINENO "configure"
11959 #include "confdefs.h"
11968 # define LT_DLGLOBAL RTLD_GLOBAL
11971 # define LT_DLGLOBAL DL_GLOBAL
11973 # define LT_DLGLOBAL 0
11977 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11978 find out it does not work in some platform. */
11979 #ifndef LT_DLLAZY_OR_NOW
11981 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11984 # define LT_DLLAZY_OR_NOW DL_LAZY
11987 # define LT_DLLAZY_OR_NOW RTLD_NOW
11990 # define LT_DLLAZY_OR_NOW DL_NOW
11992 # define LT_DLLAZY_OR_NOW 0
11999 /* When -fvisbility=hidden is used, assume the code has been annotated
12000 correspondingly for the symbols needed. */
12001 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12002 int fnord () __attribute__((visibility("default")));
12005 int fnord () { return 42; }
12008 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12009 int status = $lt_dlunknown;
12013 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12016 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12017 else puts (dlerror ());
12019 /* dlclose (self); */
12027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12028 (eval $ac_link) 2>&5
12030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12031 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12032 (.
/conftest
; exit; ) >&5 2>/dev
/null
12034 case x
$lt_status in
12035 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12036 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12037 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12040 # compilation failed
12041 lt_cv_dlopen_self_static
=no
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12049 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12052 CPPFLAGS
="$save_CPPFLAGS"
12053 LDFLAGS
="$save_LDFLAGS"
12058 case $lt_cv_dlopen_self in
12059 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12060 *) enable_dlopen_self
=unknown
;;
12063 case $lt_cv_dlopen_self_static in
12064 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12065 *) enable_dlopen_self_static
=unknown
;;
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12088 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12089 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12090 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12091 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12093 $as_echo "yes" >&6; }
12095 # FIXME - insert some real tests, host_os isn't really good enough
12098 if test -n "$STRIP" ; then
12099 striplib
="$STRIP -x"
12100 old_striplib
="$STRIP -S"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12102 $as_echo "yes" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12126 # Report which library types will actually be built
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12128 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12130 $as_echo "$can_build_shared" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12133 $as_echo_n "checking whether to build shared libraries... " >&6; }
12134 test "$can_build_shared" = "no" && enable_shared
=no
12136 # On AIX, shared libraries and static libraries use the same namespace, and
12137 # are all built from PIC.
12140 test "$enable_shared" = yes && enable_static
=no
12141 if test -n "$RANLIB"; then
12142 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12143 postinstall_cmds
='$RANLIB $lib'
12148 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12149 test "$enable_shared" = yes && enable_static
=no
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12154 $as_echo "$enable_shared" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12157 $as_echo_n "checking whether to build static libraries... " >&6; }
12158 # Make sure either enable_shared or enable_static is yes.
12159 test "$enable_shared" = yes || enable_static
=yes
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12161 $as_echo "$enable_static" >&6; }
12168 ac_cpp
='$CPP $CPPFLAGS'
12169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12187 ac_config_commands
="$ac_config_commands libtool"
12192 # Only expand once:
12196 # Check whether --enable-targets was given.
12197 if test "${enable_targets+set}" = set; then :
12198 enableval
=$enable_targets; case "${enableval}" in
12199 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
12201 no
) enable_targets
= ;;
12202 *) enable_targets
=$enableval ;;
12207 if grep '^RELEASE=y' ${srcdir}/..
/bfd
/Makefile.am
>/dev
/null
2>/dev
/null
; then
12210 # Check whether --enable-checking was given.
12211 if test "${enable_checking+set}" = set; then :
12212 enableval
=$enable_checking; case "${enableval}" in
12213 no|none
) ac_checking
= ;;
12214 *) ac_checking
=yes ;;
12217 if test x
$ac_checking != x
; then
12219 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
12226 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12232 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
12235 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
12240 # Check whether --enable-werror was given.
12241 if test "${enable_werror+set}" = set; then :
12242 enableval
=$enable_werror; case "${enableval}" in
12243 yes | y
) ERROR_ON_WARNING
="yes" ;;
12244 no | n
) ERROR_ON_WARNING
="no" ;;
12245 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12250 # Disable -Wformat by default when using gcc on mingw
12253 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12254 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
12260 # Enable -Werror by default when using gcc
12261 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12262 ERROR_ON_WARNING
=yes
12266 if test "${ERROR_ON_WARNING}" = yes ; then
12267 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
12268 NO_WERROR
="-Wno-error"
12271 if test "${GCC}" = yes ; then
12272 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
12275 # Check whether --enable-build-warnings was given.
12276 if test "${enable_build_warnings+set}" = set; then :
12277 enableval
=$enable_build_warnings; case "${enableval}" in
12278 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
12279 no
) if test "${GCC}" = yes ; then
12282 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12283 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
12284 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12285 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
12286 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12291 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
12292 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12299 # Generate a header file
12300 ac_config_headers
="$ac_config_headers config.h:config.in"
12306 # If we are on a DOS filesystem, we must use gdb.ini rather than
12309 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
12311 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
12316 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
12322 #We need this for the host. BOUT header is in host order.
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12324 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12325 if test "${ac_cv_c_bigendian+set}" = set; then :
12326 $as_echo_n "(cached) " >&6
12328 ac_cv_c_bigendian
=unknown
12329 # See if we're dealing with a universal compiler.
12330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12332 #ifndef __APPLE_CC__
12333 not a universal capable compiler
12338 if ac_fn_c_try_compile
"$LINENO"; then :
12340 # Check for potential -arch flags. It is not universal unless
12341 # there are at least two -arch flags with different values.
12344 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12345 if test -n "$ac_prev"; then
12347 i?
86 | x86_64 | ppc | ppc64
)
12348 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
12351 ac_cv_c_bigendian
=universal
12357 elif test "x$ac_word" = "x-arch"; then
12362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12363 if test $ac_cv_c_bigendian = unknown
; then
12364 # See if sys/param.h defines the BYTE_ORDER macro.
12365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12367 #include <sys/types.h>
12368 #include <sys/param.h>
12373 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12374 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12376 bogus endian macros
12383 if ac_fn_c_try_compile
"$LINENO"; then :
12384 # It does; now see whether it defined to BIG_ENDIAN or not.
12385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12387 #include <sys/types.h>
12388 #include <sys/param.h>
12393 #if BYTE_ORDER != BIG_ENDIAN
12401 if ac_fn_c_try_compile
"$LINENO"; then :
12402 ac_cv_c_bigendian
=yes
12404 ac_cv_c_bigendian
=no
12406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12410 if test $ac_cv_c_bigendian = unknown
; then
12411 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12414 #include <limits.h>
12419 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12420 bogus endian macros
12427 if ac_fn_c_try_compile
"$LINENO"; then :
12428 # It does; now see whether it defined to _BIG_ENDIAN or not.
12429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12431 #include <limits.h>
12436 #ifndef _BIG_ENDIAN
12444 if ac_fn_c_try_compile
"$LINENO"; then :
12445 ac_cv_c_bigendian
=yes
12447 ac_cv_c_bigendian
=no
12449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12453 if test $ac_cv_c_bigendian = unknown
; then
12454 # Compile a test program.
12455 if test "$cross_compiling" = yes; then :
12456 # Try to guess by grepping values from an object file.
12457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12459 short int ascii_mm[] =
12460 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12461 short int ascii_ii[] =
12462 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12463 int use_ascii (int i) {
12464 return ascii_mm[i] + ascii_ii[i];
12466 short int ebcdic_ii[] =
12467 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12468 short int ebcdic_mm[] =
12469 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12470 int use_ebcdic (int i) {
12471 return ebcdic_mm[i] + ebcdic_ii[i];
12478 return use_ascii (foo) == use_ebcdic (foo);
12483 if ac_fn_c_try_compile
"$LINENO"; then :
12484 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
12485 ac_cv_c_bigendian
=yes
12487 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
12488 if test "$ac_cv_c_bigendian" = unknown
; then
12489 ac_cv_c_bigendian
=no
12491 # finding both strings is unlikely to happen, but who knows?
12492 ac_cv_c_bigendian
=unknown
12496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 $ac_includes_default
12505 /* Are we little or big endian? From Harbison&Steele. */
12509 char c[sizeof (long int)];
12512 return u.c[sizeof (long int) - 1] == 1;
12518 if ac_fn_c_try_run
"$LINENO"; then :
12519 ac_cv_c_bigendian
=no
12521 ac_cv_c_bigendian
=yes
12523 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12524 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12530 $as_echo "$ac_cv_c_bigendian" >&6; }
12531 case $ac_cv_c_bigendian in #(
12533 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12539 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12543 as_fn_error
"unknown endianness
12544 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12550 # Makefile target for installing gas in $(tooldir)/bin.
12551 install_tooldir
=install-exec-tooldir
12555 if test -n "$enable_targets" ; then
12556 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
12557 if test $t = "all"; then
12561 result
=`$ac_config_sub $t 2>/dev/null`
12562 if test -n "$result" ; then
12563 canon_targets
="$canon_targets $result"
12565 # # Permit "all", etc. We don't support it yet though.
12566 # canon_targets="$canon_targets $t"
12569 _gas_uniq_list
="$canon_targets"
12570 _gas_uniq_newlist
=""
12571 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12572 case $_gas_uniq_i in
12573 _gas_uniq_dummy
) ;;
12574 *) case " $_gas_uniq_newlist " in
12575 *" $_gas_uniq_i "*) ;;
12576 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12580 canon_targets
=$_gas_uniq_newlist
12586 for this_target
in $target $canon_targets ; do
12588 targ
=${this_target}
12589 .
${srcdir}/configure.tgt
12591 case ${target_cpu} in
12594 cat >>confdefs.h
<<_ACEOF
12595 #define DEFAULT_CRIS_ARCH $arch
12601 if test ${this_target} = $target ; then
12602 target_cpu_type
=${cpu_type}
12603 elif test ${target_cpu_type} != ${cpu_type} ; then
12607 generic_target
=${cpu_type}-${target_vendor}-${target_os}
12608 case ${generic_target} in
12610 if test ${this_target} = $target; then
12612 $as_echo "#define SCO_ELF 1" >>confdefs.h
12617 i386-
*-msdosdjgpp* \
12619 | i386-go32-rtems
*)
12621 $as_echo "#define STRICTCOFF 1" >>confdefs.h
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
12627 $as_echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
12636 as_fn_error
"Unknown vendor for mips-bsd configuration." "$LINENO" 5
12641 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
12647 *) as_fn_error
"GNU/Linux must be configured big endian" "$LINENO" 5 ;;
12651 if test ${this_target} = $target; then
12653 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
12656 if test x
${endian} = xbig
; then
12657 as_fn_error
"Solaris must be configured little endian" "$LINENO" 5
12663 $as_echo "#define TARGET_SYMBIAN 1" >>confdefs.h
12668 if test ${this_target} = $target ; then
12670 if test x
${endian} = xbig
; then
12672 elif test x
${endian} = xlittle
; then
12675 if test x
${endian_def} != x
; then
12677 cat >>confdefs.h
<<_ACEOF
12678 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12684 # Other random stuff.
12686 case ${cpu_type} in
12688 # Set mips_cpu to the name of the default CPU.
12689 case ${target_cpu} in
12690 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
12693 mipsisa32 | mipsisa32el
)
12696 mipsisa32r2 | mipsisa32r2el
)
12699 mipsisa64 | mipsisa64el
)
12702 mipsisa64r2 | mipsisa64r2el
)
12705 mipstx39 | mipstx39el
)
12708 mips64vr | mips64vrel
)
12711 mipsisa32r2
* | mipsisa64r2
*)
12712 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12714 mips64
* | mipsisa64
* | mipsisa32
*)
12715 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12718 as_fn_error
"$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12721 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12722 # binaries. It's a GNU extension that some OSes don't understand.
12723 # The value only matters on ELF targets.
12726 use_e_mips_abi_o32
=0
12729 use_e_mips_abi_o32
=1
12732 # Decide whether to generate 32-bit or 64-bit code by default.
12733 # Used to resolve -march=from-abi when an embedded ABI is selected.
12735 mips64
*-*-* | mipsisa64
*-*-*)
12736 mips_default_64bit
=1
12739 mips_default_64bit
=0
12742 # Decide which ABI to target by default.
12744 mips64
*-linux* | mips-sgi-irix6
* | mips64
*-freebsd* | mips64
*-kfreebsd*-gnu)
12745 mips_default_abi
=N32_ABI
12747 mips
*-linux* | mips
*-freebsd* | mips
*-kfreebsd*-gnu)
12748 mips_default_abi
=O32_ABI
12751 mips_default_abi
=N64_ABI
12754 mips_default_abi
=NO_ABI
12758 cat >>confdefs.h
<<_ACEOF
12759 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12763 cat >>confdefs.h
<<_ACEOF
12764 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12768 cat >>confdefs.h
<<_ACEOF
12769 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12773 cat >>confdefs.h
<<_ACEOF
12774 #define MIPS_DEFAULT_ABI $mips_default_abi
12780 # Do we need the opcodes library?
12781 case ${cpu_type} in
12788 case "${enable_shared}" in
12789 yes) shared_opcodes
=true
;;
12790 *opcodes
*) shared_opcodes
=true
;;
12791 *) shared_opcodes
=false
;;
12796 # Any other special object files needed ?
12797 case ${cpu_type} in
12800 echo ${extra_objects} |
grep -s "bfin-parse.o"
12801 if test $?
-ne 0 ; then
12802 extra_objects
="$extra_objects bfin-parse.o"
12805 echo ${extra_objects} |
grep -s "bfin-lex-wrapper.o"
12806 if test $?
-ne 0 ; then
12807 extra_objects
="$extra_objects bfin-lex-wrapper.o"
12811 epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | openrisc
)
12822 case ${extra_objects} in
12824 *) extra_objects
="$extra_objects m68k-parse.o" ;;
12833 echo ${extra_objects} |
grep -s "itbl-parse.o"
12834 if test $?
-ne 0 ; then
12835 extra_objects
="$extra_objects itbl-parse.o"
12838 echo ${extra_objects} |
grep -s "itbl-lex-wrapper.o"
12839 if test $?
-ne 0 ; then
12840 extra_objects
="$extra_objects itbl-lex-wrapper.o"
12843 echo ${extra_objects} |
grep -s "itbl-ops.o"
12844 if test $?
-ne 0 ; then
12845 extra_objects
="$extra_objects itbl-ops.o"
12853 i386 | s390 | sparc
)
12854 if test $this_target = $target ; then
12856 cat >>confdefs.h
<<_ACEOF
12857 #define DEFAULT_ARCH "${arch}"
12864 echo ${extra_objects} |
grep -s "rl78-parse.o"
12865 if test $?
-ne 0 ; then
12866 extra_objects
="$extra_objects rl78-parse.o"
12871 echo ${extra_objects} |
grep -s "rx-parse.o"
12872 if test $?
-ne 0 ; then
12873 extra_objects
="$extra_objects rx-parse.o"
12886 echo ${extra_objects} |
grep -s "xtensa-relax.o"
12887 if test $?
-ne 0 ; then
12888 extra_objects
="$extra_objects xtensa-relax.o"
12896 if test $using_cgen = yes ; then
12897 case "x${extra_objects}" in
12899 *) extra_objects
="$extra_objects cgen.o" ;;
12903 # See if we really can support this configuration with the emulation code.
12905 if test $this_target = $target ; then
12911 vms
) extra_objects
="$extra_objects te-vms.o" ;;
12914 # From target name and format, produce a list of supported emulations.
12916 case ${generic_target}-${fmt} in
12917 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
12918 mips
*-*-linux*-* | mips
*-*-freebsd* | mips
*-*-kfreebsd*-gnu)
12920 big
) emulation
="mipsbelf mipslelf mipself" ;;
12921 *) emulation
="mipslelf mipsbelf mipself" ;;
12923 mips-
*-lnews*-ecoff) ;;
12924 mips-
*-*-ecoff) case "$endian" in
12925 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
12926 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
12928 mips-
*-*-elf) case "$endian" in
12929 big
) emulation
="mipsbelf mipslelf mipself" ;;
12930 *) emulation
="mipslelf mipsbelf mipself" ;;
12932 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
12933 # i386-pc-pe-coff != i386-pc-coff.
12935 # Uncommenting the next line will turn on support for i386 AOUT
12936 # for the default linux configuration
12937 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
12939 i386-
*-aout) emulation
="i386aout" ;;
12940 i386-
*-coff) emulation
="i386coff" ;;
12941 i386-
*-elf) emulation
="i386elf" ;;
12943 # Always all formats. The first stated emulation becomes the default.
12944 cris-
*-*aout
*) emulation
="crisaout criself" ;;
12945 cris-
*-*) emulation
="criself crisaout" ;;
12948 emulations
="$emulations $emulation"
12952 # Turn on all targets if possible
12953 if test ${all_targets} = "yes"; then
12954 case ${target_cpu_type} in
12956 case ${obj_format} in
12958 emulations
="$emulations i386coff i386elf"
12961 emulations
="$emulations i386aout i386elf"
12964 emulations
="$emulations i386aout i386coff"
12969 case ${obj_format} in
12971 emulations
="$emulations i386coff i386elf"
12974 emulations
="$emulations i386aout i386elf"
12977 emulations
="$emulations i386aout i386coff"
12984 # PE code has way too many macros tweaking behaviour
12986 pe
*) emulations
="" ;;
12989 # Assign floating point type. Most processors with FP support
12990 # IEEE FP. On those that don't support FP at all, usually IEEE
12992 case ${target_cpu} in
12993 vax | pdp11
) atof
=vax
;;
12997 case "${obj_format}" in
12998 "") as_fn_error
"GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
13001 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
13003 if test $using_cgen = yes ; then
13004 case ${target_cpu} in
13005 *) cgen_cpu_prefix
=${target_cpu} ;;
13009 $as_echo "#define USING_CGEN 1" >>confdefs.h
13014 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
13015 as_fn_error
"GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
13018 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
13019 as_fn_error
"GAS does not have support for object file format ${obj_format}" "$LINENO" 5
13022 # Some COFF configurations want these random other flags set.
13023 case ${obj_format} in
13025 case ${target_cpu_type} in
13027 $as_echo "#define I386COFF 1" >>confdefs.h
13030 $as_echo "#define M68KCOFF 1" >>confdefs.h
13033 $as_echo "#define M88KCOFF 1" >>confdefs.h
13036 $as_echo "#define I386COFF 1" >>confdefs.h
13042 # Getting this done right is going to be a bitch. Each configuration specified
13043 # with --enable-targets=... should be checked for environment, format, cpu
13046 # For each configuration, the necessary object file support code must be linked
13047 # in. This might be only one, it might be up to four. The necessary emulation
13048 # code needs to be provided, too.
13050 # And then there's "--enable-targets=all"....
13052 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
13054 formats
="${obj_format}"
13057 _gas_uniq_list
="$emulations"
13058 _gas_uniq_newlist
=""
13059 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
13060 case $_gas_uniq_i in
13061 _gas_uniq_dummy
) ;;
13062 *) case " $_gas_uniq_newlist " in
13063 *" $_gas_uniq_i "*) ;;
13064 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
13068 emulations
=$_gas_uniq_newlist
13070 for em
in .
$emulations ; do
13073 mipsbelf | mipslelf | mipself
)
13074 fmt=elf
file=mipself
;;
13075 mipsbecoff | mipslecoff | mipsecoff
)
13076 fmt=ecoff
file=mipsecoff
;;
13078 fmt=coff
file=$em ;;
13080 fmt=aout
file=$em ;;
13082 fmt=elf
file=$em ;;
13084 formats
="$formats $fmt"
13085 emfiles
="$emfiles e-$file.o"
13086 EMULATIONS
="$EMULATIONS &$em,"
13088 _gas_uniq_list
="$formats"
13089 _gas_uniq_newlist
=""
13090 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
13091 case $_gas_uniq_i in
13092 _gas_uniq_dummy
) ;;
13093 *) case " $_gas_uniq_newlist " in
13094 *" $_gas_uniq_i "*) ;;
13095 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
13099 formats
=$_gas_uniq_newlist
13101 _gas_uniq_list
="$emfiles"
13102 _gas_uniq_newlist
=""
13103 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
13104 case $_gas_uniq_i in
13105 _gas_uniq_dummy
) ;;
13106 *) case " $_gas_uniq_newlist " in
13107 *" $_gas_uniq_i "*) ;;
13108 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
13112 emfiles
=$_gas_uniq_newlist
13114 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
13115 for fmt in $formats ; do
13118 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
13121 $as_echo "#define OBJ_MAYBE_BOUT 1" >>confdefs.h
13124 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
13127 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
13130 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
13133 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
13136 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
13139 extra_objects
="$extra_objects obj-$fmt.o"
13143 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
13144 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
13145 # e-mips* has more than one emulation per file, e-i386* has just one at the
13146 # moment. If only one emulation is specified, then don't define
13147 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
13148 case "${obj_format}${emfiles}" in
13150 extra_objects
="$extra_objects $emfiles"
13152 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
13158 cat >>confdefs.h
<<_ACEOF
13159 #define EMULATIONS $EMULATIONS
13163 cat >>confdefs.h
<<_ACEOF
13164 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
13168 reject_dev_configs
=yes
13170 case ${reject_dev_configs}-${dev} in
13172 as_fn_error
"GAS does not support the ${generic_target} configuration." "$LINENO" 5
13182 # do we need the opcodes library?
13183 case "${need_opcodes}" in
13185 OPCODES_LIB
=..
/opcodes
/libopcodes.la
13192 cat >>confdefs.h
<<_ACEOF
13193 #define TARGET_ALIAS "${target_alias}"
13197 cat >>confdefs.h
<<_ACEOF
13198 #define TARGET_CANONICAL "${target}"
13202 cat >>confdefs.h
<<_ACEOF
13203 #define TARGET_CPU "${target_cpu}"
13207 cat >>confdefs.h
<<_ACEOF
13208 #define TARGET_VENDOR "${target_vendor}"
13212 cat >>confdefs.h
<<_ACEOF
13213 #define TARGET_OS "${target_os}"
13217 for ac_prog
in 'bison -y' byacc
13219 # Extract the first word of "$ac_prog", so it can be a program name with args.
13220 set dummy
$ac_prog; ac_word
=$2
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13222 $as_echo_n "checking for $ac_word... " >&6; }
13223 if test "${ac_cv_prog_YACC+set}" = set; then :
13224 $as_echo_n "(cached) " >&6
13226 if test -n "$YACC"; then
13227 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13230 for as_dir
in $PATH
13233 test -z "$as_dir" && as_dir
=.
13234 for ac_exec_ext
in '' $ac_executable_extensions; do
13235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13236 ac_cv_prog_YACC
="$ac_prog"
13237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13246 YACC
=$ac_cv_prog_YACC
13247 if test -n "$YACC"; then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13249 $as_echo "$YACC" >&6; }
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13252 $as_echo "no" >&6; }
13256 test -n "$YACC" && break
13258 test -n "$YACC" || YACC
="yacc"
13260 for ac_prog
in flex
lex
13262 # Extract the first word of "$ac_prog", so it can be a program name with args.
13263 set dummy
$ac_prog; ac_word
=$2
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13265 $as_echo_n "checking for $ac_word... " >&6; }
13266 if test "${ac_cv_prog_LEX+set}" = set; then :
13267 $as_echo_n "(cached) " >&6
13269 if test -n "$LEX"; then
13270 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
13272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13273 for as_dir
in $PATH
13276 test -z "$as_dir" && as_dir
=.
13277 for ac_exec_ext
in '' $ac_executable_extensions; do
13278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13279 ac_cv_prog_LEX
="$ac_prog"
13280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13289 LEX
=$ac_cv_prog_LEX
13290 if test -n "$LEX"; then
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13292 $as_echo "$LEX" >&6; }
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13295 $as_echo "no" >&6; }
13299 test -n "$LEX" && break
13301 test -n "$LEX" || LEX
=":"
13303 if test "x$LEX" != "x:"; then
13304 cat >conftest.l
<<_ACEOF
13310 e { yyless (input () != 0); }
13311 f { unput (yytext[0]); }
13312 . { BEGIN INITIAL; }
13314 #ifdef YYTEXT_POINTER
13315 extern char *yytext;
13320 return ! yylex () + ! yywrap ();
13323 { { ac_try
="$LEX conftest.l"
13324 case "(($ac_try" in
13325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13326 *) ac_try_echo=$ac_try;;
13328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13329 $as_echo "$ac_try_echo"; } >&5
13330 (eval "$LEX conftest.l") 2>&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13333 test $ac_status = 0; }
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13335 $as_echo_n "checking lex output file root... " >&6; }
13336 if test "${ac_cv_prog_lex_root+set}" = set; then :
13337 $as_echo_n "(cached) " >&6
13340 if test -f lex.yy.c; then
13341 ac_cv_prog_lex_root=lex.yy
13342 elif test -f lexyy.c; then
13343 ac_cv_prog_lex_root=lexyy
13345 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13349 $as_echo "$ac_cv_prog_lex_root" >&6; }
13350 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13352 if test -z "${LEXLIB+set}"; then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13354 $as_echo_n "checking lex library... " >&6; }
13355 if test "${ac_cv_lib_lex+set}" = set; then :
13356 $as_echo_n "(cached) " >&6
13360 ac_cv_lib_lex='none needed'
13361 for ac_lib in '' -lfl -ll; do
13362 LIBS="$ac_lib $ac_save_LIBS"
13363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13365 `cat $LEX_OUTPUT_ROOT.c
`
13367 if ac_fn_c_try_link "$LINENO"; then :
13368 ac_cv_lib_lex=$ac_lib
13370 rm -f core conftest.err conftest.$ac_objext \
13371 conftest$ac_exeext conftest.$ac_ext
13372 test "$ac_cv_lib_lex" != 'none needed' && break
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13378 $as_echo "$ac_cv_lib_lex" >&6; }
13379 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13384 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13385 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
13386 $as_echo_n "(cached) " >&6
13388 # POSIX says lex can declare yytext either as a pointer or an array; the
13389 # default is implementation-dependent. Figure out which it is, since
13390 # not all implementations provide the %pointer and %array declarations.
13391 ac_cv_prog_lex_yytext_pointer=no
13393 LIBS="$LEXLIB $ac_save_LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13396 #define YYTEXT_POINTER 1
13397 `cat $LEX_OUTPUT_ROOT.c
`
13399 if ac_fn_c_try_link "$LINENO"; then :
13400 ac_cv_prog_lex_yytext_pointer=yes
13402 rm -f core conftest.err conftest.$ac_objext \
13403 conftest$ac_exeext conftest.$ac_ext
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13408 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13409 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13411 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13414 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13417 if test "$LEX" = :; then
13418 LEX=${am_missing_run}flex
13421 ALL_LINGUAS="fr tr es rw id ru fi ja"
13422 # If we haven't got the data from the intl directory,
13423 # assume NLS is disabled.
13432 if test -f ../intl/config.intl; then
13433 . ../intl/config.intl
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13436 $as_echo_n "checking whether NLS is requested... " >&6; }
13437 if test x"$USE_NLS" != xyes; then
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13439 $as_echo "no" >&6; }
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13442 $as_echo "yes" >&6; }
13444 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13448 $as_echo_n "checking for catalogs to be installed... " >&6; }
13449 # Look for .po and .gmo files in the source directory.
13452 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
13453 # If there aren't any .gmo files the shell will give us the
13454 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13456 case "$cat" in *\**)
13459 # The quadruple backslash is collapsed to a double backslash
13460 # by the backticks, then collapsed again by the double quotes,
13461 # leaving us with one backslash in the sed expression (right
13462 # before the dot that mustn't act as a wildcard).
13463 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13464 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
13465 # The user is allowed to set LINGUAS to a list of languages to
13466 # install catalogs for. If it's empty that means "all of them."
13467 if test "x$LINGUAS" = x; then
13468 CATALOGS="$CATALOGS $cat"
13469 XLINGUAS="$XLINGUAS $lang"
13471 case "$LINGUAS" in *$lang*)
13472 CATALOGS="$CATALOGS $cat"
13473 XLINGUAS="$XLINGUAS $lang"
13478 LINGUAS="$XLINGUAS"
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13480 $as_echo "$LINGUAS" >&6; }
13494 if test -n "$ac_aux_dir"; then
13495 case "$ac_aux_dir" in
13496 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
13497 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13500 if test -z "$MKINSTALLDIRS"; then
13501 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13507 $as_echo_n "checking whether NLS is requested... " >&6; }
13508 # Check whether --enable-nls was given.
13509 if test "${enable_nls+set}" = set; then :
13510 enableval=$enable_nls; USE_NLS=$enableval
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13516 $as_echo "$USE_NLS" >&6; }
13523 # Prepare PATH_SEPARATOR.
13524 # The user is always right.
13525 if test "${PATH_SEPARATOR+set}" != set; then
13526 echo "#! /bin/sh" >conf$$.sh
13527 echo "exit 0" >>conf$$.sh
13529 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13537 # Find out how to test for executable files. Don't use a zero-byte file,
13538 # as systems may use methods other than mode bits to determine executability.
13539 cat >conf$$.file <<_ASEOF
13543 chmod +x conf$$.file
13544 if test -x conf$$.file >/dev/null 2>&1; then
13545 ac_executable_p="test -x"
13547 ac_executable_p="test -f"
13551 # Extract the first word of "msgfmt", so it can be a program name with args.
13552 set dummy msgfmt; ac_word=$2
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13554 $as_echo_n "checking for $ac_word... " >&6; }
13555 if test "${ac_cv_path_MSGFMT+set}" = set; then :
13556 $as_echo_n "(cached) " >&6
13560 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13563 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13564 for ac_dir in $PATH; do
13566 test -z "$ac_dir" && ac_dir=.
13567 for ac_exec_ext in '' $ac_executable_extensions; do
13568 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13569 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
13570 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13571 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13578 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13582 MSGFMT="$ac_cv_path_MSGFMT"
13583 if test "$MSGFMT" != ":"; then
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13585 $as_echo "$MSGFMT" >&6; }
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13588 $as_echo "no" >&6; }
13591 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13592 set dummy gmsgfmt; ac_word=$2
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13594 $as_echo_n "checking for $ac_word... " >&6; }
13595 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13596 $as_echo_n "(cached) " >&6
13600 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13604 for as_dir in $PATH
13607 test -z "$as_dir" && as_dir=.
13608 for ac_exec_ext in '' $ac_executable_extensions; do
13609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13610 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13618 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13622 GMSGFMT=$ac_cv_path_GMSGFMT
13623 if test -n "$GMSGFMT"; then
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13625 $as_echo "$GMSGFMT" >&6; }
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13628 $as_echo "no" >&6; }
13634 # Prepare PATH_SEPARATOR.
13635 # The user is always right.
13636 if test "${PATH_SEPARATOR+set}" != set; then
13637 echo "#! /bin/sh" >conf$$.sh
13638 echo "exit 0" >>conf$$.sh
13640 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13648 # Find out how to test for executable files. Don't use a zero-byte file,
13649 # as systems may use methods other than mode bits to determine executability.
13650 cat >conf$$.file <<_ASEOF
13654 chmod +x conf$$.file
13655 if test -x conf$$.file >/dev/null 2>&1; then
13656 ac_executable_p="test -x"
13658 ac_executable_p="test -f"
13662 # Extract the first word of "xgettext", so it can be a program name with args.
13663 set dummy xgettext; ac_word=$2
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13665 $as_echo_n "checking for $ac_word... " >&6; }
13666 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13667 $as_echo_n "(cached) " >&6
13669 case "$XGETTEXT" in
13671 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13674 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13675 for ac_dir in $PATH; do
13677 test -z "$ac_dir" && ac_dir=.
13678 for ac_exec_ext in '' $ac_executable_extensions; do
13679 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13680 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13681 (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
13682 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13689 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13693 XGETTEXT="$ac_cv_path_XGETTEXT"
13694 if test "$XGETTEXT" != ":"; then
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13696 $as_echo "$XGETTEXT" >&6; }
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13699 $as_echo "no" >&6; }
13705 # Prepare PATH_SEPARATOR.
13706 # The user is always right.
13707 if test "${PATH_SEPARATOR+set}" != set; then
13708 echo "#! /bin/sh" >conf$$.sh
13709 echo "exit 0" >>conf$$.sh
13711 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13719 # Find out how to test for executable files. Don't use a zero-byte file,
13720 # as systems may use methods other than mode bits to determine executability.
13721 cat >conf$$.file <<_ASEOF
13725 chmod +x conf$$.file
13726 if test -x conf$$.file >/dev/null 2>&1; then
13727 ac_executable_p="test -x"
13729 ac_executable_p="test -f"
13733 # Extract the first word of "msgmerge", so it can be a program name with args.
13734 set dummy msgmerge; ac_word=$2
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13736 $as_echo_n "checking for $ac_word... " >&6; }
13737 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13738 $as_echo_n "(cached) " >&6
13740 case "$MSGMERGE" in
13742 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13745 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13746 for ac_dir in $PATH; do
13748 test -z "$ac_dir" && ac_dir=.
13749 for ac_exec_ext in '' $ac_executable_extensions; do
13750 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13751 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13752 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13759 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13763 MSGMERGE="$ac_cv_path_MSGMERGE"
13764 if test "$MSGMERGE" != ":"; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13766 $as_echo "$MSGMERGE" >&6; }
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769 $as_echo "no" >&6; }
13773 if test "$GMSGFMT" != ":"; then
13774 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
13775 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13778 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13780 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13785 if test "$XGETTEXT" != ":"; then
13786 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13787 (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
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13791 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13797 ac_config_commands="$ac_config_commands default-1"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13803 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13804 # Check whether --enable-maintainer-mode was given.
13805 if test "${enable_maintainer_mode+set}" = set; then :
13806 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13808 USE_MAINTAINER_MODE=no
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13812 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13813 if test $USE_MAINTAINER_MODE = yes; then
13814 MAINTAINER_MODE_TRUE=
13815 MAINTAINER_MODE_FALSE='#'
13817 MAINTAINER_MODE_TRUE='#'
13818 MAINTAINER_MODE_FALSE=
13821 MAINT=$MAINTAINER_MODE_TRUE
13825 GENINSRC_NEVER_TRUE=
13826 GENINSRC_NEVER_FALSE='#'
13828 GENINSRC_NEVER_TRUE='#'
13829 GENINSRC_NEVER_FALSE=
13834 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
13836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13837 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13838 eval as_val=\$$as_ac_Header
13839 if test "x$as_val" = x""yes; then :
13840 cat >>confdefs.h <<_ACEOF
13841 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
13849 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
13850 if test "${gcc_cv_header_string+set}" = set; then :
13851 $as_echo_n "(cached) " >&6
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 #include <string.h>
13856 #include <strings.h>
13865 if ac_fn_c_try_compile "$LINENO"; then :
13866 gcc_cv_header_string=yes
13868 gcc_cv_header_string=no
13870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
13873 $as_echo "$gcc_cv_header_string" >&6; }
13874 if test $gcc_cv_header_string = yes; then
13876 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
13881 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
13882 # people who are not cross-compiling but are compiling cross-assemblers.
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
13884 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
13885 if test "${host}" = "${target}"; then
13890 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
13894 $as_echo "$cross_gas" >&6; }
13896 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13897 # for constant arguments. Useless!
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13899 $as_echo_n "checking for working alloca.h... " >&6; }
13900 if test "${ac_cv_working_alloca_h+set}" = set; then :
13901 $as_echo_n "(cached) " >&6
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 #include <alloca.h>
13909 char *p = (char *) alloca (2 * sizeof (int));
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_cv_working_alloca_h=yes
13918 ac_cv_working_alloca_h=no
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13924 $as_echo "$ac_cv_working_alloca_h" >&6; }
13925 if test $ac_cv_working_alloca_h = yes; then
13927 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13932 $as_echo_n "checking for alloca... " >&6; }
13933 if test "${ac_cv_func_alloca_works+set}" = set; then :
13934 $as_echo_n "(cached) " >&6
13936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13939 # define alloca __builtin_alloca
13942 # include <malloc.h>
13943 # define alloca _alloca
13945 # ifdef HAVE_ALLOCA_H
13946 # include <alloca.h>
13951 # ifndef alloca /* predefined by HP cc +Olibcalls */
13962 char *p = (char *) alloca (1);
13968 if ac_fn_c_try_link "$LINENO"; then :
13969 ac_cv_func_alloca_works=yes
13971 ac_cv_func_alloca_works=no
13973 rm -f core conftest.err conftest.$ac_objext \
13974 conftest$ac_exeext conftest.$ac_ext
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13977 $as_echo "$ac_cv_func_alloca_works" >&6; }
13979 if test $ac_cv_func_alloca_works = yes; then
13981 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13984 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13985 # that cause trouble. Some versions do not even contain alloca or
13986 # contain a buggy version. If you still want to use their alloca,
13987 # use ar to extract alloca.o from them instead of compiling alloca.c.
13989 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13991 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c
' needs Cray hooks" >&5
13995 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
13996 if test "${ac_cv_os_cray+set}" = set; then :
13997 $as_echo_n "(cached
) " >&6
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 #if defined CRAY && ! defined CRAY2
14008 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
14009 $EGREP "webecray
" >/dev/null 2>&1; then :
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_os_cray" >&5
14018 $as_echo "$ac_cv_os_cray" >&6; }
14019 if test $ac_cv_os_cray = yes; then
14020 for ac_func in _getb67 GETB67 getb67; do
14021 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14023 eval as_val=\$$as_ac_var
14024 if test "x
$as_val" = x""yes; then :
14026 cat >>confdefs.h <<_ACEOF
14027 #define CRAY_STACKSEG_END $ac_func
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction
for C alloca
" >&5
14037 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
14038 if test "${ac_cv_c_stack_direction+set}" = set; then :
14039 $as_echo_n "(cached
) " >&6
14041 if test "$cross_compiling" = yes; then :
14042 ac_cv_c_stack_direction=0
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 $ac_includes_default
14048 find_stack_direction ()
14050 static char *addr = 0;
14055 return find_stack_direction ();
14058 return (&dummy > addr) ? 1 : -1;
14064 return find_stack_direction () < 0;
14067 if ac_fn_c_try_run "$LINENO"; then :
14068 ac_cv_c_stack_direction=1
14070 ac_cv_c_stack_direction=-1
14072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14073 conftest.$ac_objext conftest.beam conftest.$ac_ext
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_stack_direction" >&5
14078 $as_echo "$ac_cv_c_stack_direction" >&6; }
14079 cat >>confdefs.h <<_ACEOF
14080 #define STACK_DIRECTION $ac_cv_c_stack_direction
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for inline
" >&5
14087 $as_echo_n "checking
for inline...
" >&6; }
14088 if test "${ac_cv_c_inline+set}" = set; then :
14089 $as_echo_n "(cached
) " >&6
14092 for ac_kw in inline __inline__ __inline; do
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 #ifndef __cplusplus
14097 static $ac_kw foo_t static_foo () {return 0; }
14098 $ac_kw foo_t foo () {return 0; }
14102 if ac_fn_c_try_compile "$LINENO"; then :
14103 ac_cv_c_inline=$ac_kw
14105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14106 test "$ac_cv_c_inline" != no && break
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_inline" >&5
14111 $as_echo "$ac_cv_c_inline" >&6; }
14113 case $ac_cv_c_inline in
14116 case $ac_cv_c_inline in
14118 *) ac_val=$ac_cv_c_inline;;
14120 cat >>confdefs.h <<_ACEOF
14121 #ifndef __cplusplus
14122 #define inline $ac_val
14129 # VMS doesn't have unlink.
14130 for ac_func in unlink remove
14132 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14134 eval as_val=\$$as_ac_var
14135 if test "x
$as_val" = x""yes; then :
14136 cat >>confdefs.h <<_ACEOF
14137 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14144 # Some systems don't have sbrk().
14145 for ac_func in sbrk
14147 ac_fn_c_check_func "$LINENO" "sbrk
" "ac_cv_func_sbrk
"
14148 if test "x
$ac_cv_func_sbrk" = x""yes; then :
14149 cat >>confdefs.h <<_ACEOF
14150 #define HAVE_SBRK 1
14157 for ac_func in setlocale
14159 ac_fn_c_check_func "$LINENO" "setlocale
" "ac_cv_func_setlocale
"
14160 if test "x
$ac_cv_func_setlocale" = x""yes; then :
14161 cat >>confdefs.h <<_ACEOF
14162 #define HAVE_SETLOCALE 1
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for LC_MESSAGES
" >&5
14170 $as_echo_n "checking
for LC_MESSAGES...
" >&6; }
14171 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
14172 $as_echo_n "(cached
) " >&6
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14176 #include <locale.h>
14185 if ac_fn_c_try_link "$LINENO"; then :
14186 am_cv_val_LC_MESSAGES=yes
14188 am_cv_val_LC_MESSAGES=no
14190 rm -f core conftest.err conftest.$ac_objext \
14191 conftest$ac_exeext conftest.$ac_ext
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_val_LC_MESSAGES" >&5
14194 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14195 if test $am_cv_val_LC_MESSAGES = yes; then
14197 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14202 # do we need the math library?
14203 case "${need_libm}" in
14207 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
14208 # These system don't have libm, or don't need it
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14212 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14213 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
14214 $as_echo_n "(cached) " >&6
14216 ac_check_lib_save_LIBS
=$LIBS
14218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14221 /* Override any GCC internal prototype to avoid an error.
14222 Use char because int might match the return type of a GCC
14223 builtin and then its argument prototype would still apply. */
14227 char _mwvalidcheckl ();
14231 return _mwvalidcheckl ();
14236 if ac_fn_c_try_link
"$LINENO"; then :
14237 ac_cv_lib_mw__mwvalidcheckl
=yes
14239 ac_cv_lib_mw__mwvalidcheckl
=no
14241 rm -f core conftest.err conftest.
$ac_objext \
14242 conftest
$ac_exeext conftest.
$ac_ext
14243 LIBS
=$ac_check_lib_save_LIBS
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14246 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14247 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x
""yes; then :
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14252 $as_echo_n "checking for cos in -lm... " >&6; }
14253 if test "${ac_cv_lib_m_cos+set}" = set; then :
14254 $as_echo_n "(cached) " >&6
14256 ac_check_lib_save_LIBS
=$LIBS
14258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14276 if ac_fn_c_try_link
"$LINENO"; then :
14277 ac_cv_lib_m_cos
=yes
14281 rm -f core conftest.err conftest.
$ac_objext \
14282 conftest
$ac_exeext conftest.
$ac_ext
14283 LIBS
=$ac_check_lib_save_LIBS
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14286 $as_echo "$ac_cv_lib_m_cos" >&6; }
14287 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14294 $as_echo_n "checking for cos in -lm... " >&6; }
14295 if test "${ac_cv_lib_m_cos+set}" = set; then :
14296 $as_echo_n "(cached) " >&6
14298 ac_check_lib_save_LIBS
=$LIBS
14300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14303 /* Override any GCC internal prototype to avoid an error.
14304 Use char because int might match the return type of a GCC
14305 builtin and then its argument prototype would still apply. */
14318 if ac_fn_c_try_link
"$LINENO"; then :
14319 ac_cv_lib_m_cos
=yes
14323 rm -f core conftest.err conftest.
$ac_objext \
14324 conftest
$ac_exeext conftest.
$ac_ext
14325 LIBS
=$ac_check_lib_save_LIBS
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14328 $as_echo "$ac_cv_lib_m_cos" >&6; }
14329 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
14341 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
14342 # enough, but on some of those systems, the assert macro relies on requoting
14343 # working properly!
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
14345 $as_echo_n "checking for working assert macro... " >&6; }
14346 if test "${gas_cv_assert_ok+set}" = set; then :
14347 $as_echo_n "(cached) " >&6
14349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14351 #include <assert.h>
14357 /* check for requoting problems */
14358 static int a, b, c, d;
14360 assert (!strcmp(s, "foo bar baz quux"));
14361 /* check for newline handling */
14369 if ac_fn_c_try_link
"$LINENO"; then :
14370 gas_cv_assert_ok
=yes
14372 gas_cv_assert_ok
=no
14374 rm -f core conftest.err conftest.
$ac_objext \
14375 conftest
$ac_exeext conftest.
$ac_ext
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
14378 $as_echo "$gas_cv_assert_ok" >&6; }
14379 test $gas_cv_assert_ok = yes ||
14380 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
14384 # On some systems, the system header files may not declare malloc, realloc,
14385 # and free. There are places where gas needs these functions to have been
14386 # declared -- such as when taking their addresses.
14388 #ifdef HAVE_MEMORY_H
14389 #include <memory.h>
14391 #ifdef HAVE_STRING_H
14392 #include <string.h>
14394 #ifdef HAVE_STRINGS_H
14395 #include <strings.h>
14398 #ifdef HAVE_STDLIB_H
14399 #include <stdlib.h>
14401 #ifdef HAVE_UNISTD_H
14402 #include <unistd.h>
14406 # Does errno.h declare errno, or do we have to add a separate declaration
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
14410 $as_echo_n "checking whether declaration is required for errno... " >&6; }
14411 if test "${gas_cv_decl_needed_errno+set}" = set; then :
14412 $as_echo_n "(cached) " >&6
14414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 #ifdef HAVE_ERRNO_H
14433 if ac_fn_c_try_link
"$LINENO"; then :
14434 gas_cv_decl_needed_errno
=no
14436 gas_cv_decl_needed_errno
=yes
14438 rm -f core conftest.err conftest.
$ac_objext \
14439 conftest
$ac_exeext conftest.
$ac_ext
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
14442 $as_echo "$gas_cv_decl_needed_errno" >&6; }
14443 if test $gas_cv_decl_needed_errno = yes; then
14445 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
14451 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
14452 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then :
14453 $as_echo_n "(cached) " >&6
14455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14457 #include <unistd.h>
14461 extern int getopt (int, char *const*, const char *);
14466 if ac_fn_c_try_compile
"$LINENO"; then :
14467 gas_cv_decl_getopt_unistd_h
=yes
14469 gas_cv_decl_getopt_unistd_h
=no
14471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
14475 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
14476 if test $gas_cv_decl_getopt_unistd_h = yes; then
14478 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
14484 $as_echo_n "checking whether declaration is required for environ... " >&6; }
14485 if test "${gas_cv_decl_needed_environ+set}" = set; then :
14486 $as_echo_n "(cached) " >&6
14488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14503 if ac_fn_c_try_link
"$LINENO"; then :
14504 gas_cv_decl_needed_environ
=no
14506 gas_cv_decl_needed_environ
=yes
14508 rm -f core conftest.err conftest.
$ac_objext \
14509 conftest
$ac_exeext conftest.
$ac_ext
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
14512 $as_echo "$gas_cv_decl_needed_environ" >&6; }
14513 if test $gas_cv_decl_needed_environ = yes; then
14515 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
14521 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
14522 if test "${gas_cv_decl_needed_ffs+set}" = set; then :
14523 $as_echo_n "(cached) " >&6
14525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14532 typedef int (*f)(int);
14540 if ac_fn_c_try_link
"$LINENO"; then :
14541 gas_cv_decl_needed_ffs
=no
14543 gas_cv_decl_needed_ffs
=yes
14545 rm -f core conftest.err conftest.
$ac_objext \
14546 conftest
$ac_exeext conftest.
$ac_ext
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
14549 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
14550 if test $gas_cv_decl_needed_ffs = yes; then
14552 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
14558 $as_echo_n "checking whether declaration is required for free... " >&6; }
14559 if test "${gas_cv_decl_needed_free+set}" = set; then :
14560 $as_echo_n "(cached) " >&6
14562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14569 typedef void (*f)();
14577 if ac_fn_c_try_link
"$LINENO"; then :
14578 gas_cv_decl_needed_free
=no
14580 gas_cv_decl_needed_free
=yes
14582 rm -f core conftest.err conftest.
$ac_objext \
14583 conftest
$ac_exeext conftest.
$ac_ext
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
14586 $as_echo "$gas_cv_decl_needed_free" >&6; }
14587 if test $gas_cv_decl_needed_free = yes; then
14589 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
14595 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
14596 if test "${gas_cv_decl_needed_malloc+set}" = set; then :
14597 $as_echo_n "(cached) " >&6
14599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14606 typedef char *(*f)();
14614 if ac_fn_c_try_link
"$LINENO"; then :
14615 gas_cv_decl_needed_malloc
=no
14617 gas_cv_decl_needed_malloc
=yes
14619 rm -f core conftest.err conftest.
$ac_objext \
14620 conftest
$ac_exeext conftest.
$ac_ext
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
14623 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
14624 if test $gas_cv_decl_needed_malloc = yes; then
14626 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
14632 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
14633 if test "${gas_cv_decl_needed_sbrk+set}" = set; then :
14634 $as_echo_n "(cached) " >&6
14636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14643 typedef char *(*f)();
14651 if ac_fn_c_try_link
"$LINENO"; then :
14652 gas_cv_decl_needed_sbrk
=no
14654 gas_cv_decl_needed_sbrk
=yes
14656 rm -f core conftest.err conftest.
$ac_objext \
14657 conftest
$ac_exeext conftest.
$ac_ext
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
14660 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
14661 if test $gas_cv_decl_needed_sbrk = yes; then
14663 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
14669 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
14670 if test "${gas_cv_decl_needed_strstr+set}" = set; then :
14671 $as_echo_n "(cached) " >&6
14673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14680 typedef char *(*f)();
14688 if ac_fn_c_try_link
"$LINENO"; then :
14689 gas_cv_decl_needed_strstr
=no
14691 gas_cv_decl_needed_strstr
=yes
14693 rm -f core conftest.err conftest.
$ac_objext \
14694 conftest
$ac_exeext conftest.
$ac_ext
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
14697 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
14698 if test $gas_cv_decl_needed_strstr = yes; then
14700 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
14705 ac_fn_c_check_decl
"$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
14706 if test "x$ac_cv_have_decl_mempcpy" = x
""yes; then :
14712 cat >>confdefs.h
<<_ACEOF
14713 #define HAVE_DECL_MEMPCPY $ac_have_decl
14716 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
14717 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
14723 cat >>confdefs.h
<<_ACEOF
14724 #define HAVE_DECL_VSNPRINTF $ac_have_decl
14730 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
14732 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
14736 # Link in zlib if we can. This allows us to write compressed debug sections.
14738 # See if the user specified whether he wants zlib support or not.
14740 # Check whether --with-zlib was given.
14741 if test "${with_zlib+set}" = set; then :
14742 withval
=$with_zlib;
14748 if test "$with_zlib" != "no"; then
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
14750 $as_echo_n "checking for library containing zlibVersion... " >&6; }
14751 if test "${ac_cv_search_zlibVersion+set}" = set; then :
14752 $as_echo_n "(cached) " >&6
14754 ac_func_search_save_LIBS
=$LIBS
14755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14758 /* Override any GCC internal prototype to avoid an error.
14759 Use char because int might match the return type of a GCC
14760 builtin and then its argument prototype would still apply. */
14764 char zlibVersion ();
14768 return zlibVersion ();
14773 for ac_lib
in '' z
; do
14774 if test -z "$ac_lib"; then
14775 ac_res
="none required"
14778 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14780 if ac_fn_c_try_link
"$LINENO"; then :
14781 ac_cv_search_zlibVersion
=$ac_res
14783 rm -f core conftest.err conftest.
$ac_objext \
14785 if test "${ac_cv_search_zlibVersion+set}" = set; then :
14789 if test "${ac_cv_search_zlibVersion+set}" = set; then :
14792 ac_cv_search_zlibVersion
=no
14794 rm conftest.
$ac_ext
14795 LIBS
=$ac_func_search_save_LIBS
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
14798 $as_echo "$ac_cv_search_zlibVersion" >&6; }
14799 ac_res
=$ac_cv_search_zlibVersion
14800 if test "$ac_res" != no
; then :
14801 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14802 for ac_header
in zlib.h
14804 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14805 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
14806 cat >>confdefs.h
<<_ACEOF
14807 #define HAVE_ZLIB_H 1
14816 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
14817 as_fn_error
"zlib (libz) library was explicitly requested but not found" "$LINENO" 5
14822 # Support for VMS timestamps via cross compile
14824 if test "$ac_cv_header_time_h" = yes; then
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
14826 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
14827 if test "${gas_cv_have_time_type_member_tm_gmtoff+set}" = set; then :
14828 $as_echo_n "(cached) " >&6
14830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h. */
14833 #define _BSD_SOURCE 1
14838 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
14843 if ac_fn_c_try_compile
"$LINENO"; then :
14844 gas_cv_have_time_type_member_tm_gmtoff
=yes
14846 gas_cv_have_time_type_member_tm_gmtoff
=no
14849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14852 if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
14854 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
14858 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
14862 if test "$ac_cv_header_sys_stat_h" = yes; then
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
14864 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
14865 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+set}" = set; then :
14866 $as_echo_n "(cached) " >&6
14868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 #define _BSD_SOURCE 1
14872 #include <sys/stat.h>
14876 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
14881 if ac_fn_c_try_compile
"$LINENO"; then :
14882 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=yes
14884 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=no
14887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14890 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
14892 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
14896 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
14899 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
14900 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+set}" = set; then :
14901 $as_echo_n "(cached) " >&6
14903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14906 #define _BSD_SOURCE 1
14907 #include <sys/stat.h>
14911 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
14916 if ac_fn_c_try_compile
"$LINENO"; then :
14917 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=yes
14919 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=no
14922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14925 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
14927 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
14931 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
14943 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
14945 ac_config_commands
="$ac_config_commands default"
14948 cat >confcache
<<\_ACEOF
14949 # This file is a shell script that caches the results of configure
14950 # tests run on this system so they can be shared between configure
14951 # scripts and configure runs, see configure's option --config-cache.
14952 # It is not useful on other systems. If it contains results you don't
14953 # want to keep, you may remove or edit it.
14955 # config.status only pays attention to the cache file if you give it
14956 # the --recheck option to rerun configure.
14958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14960 # following values.
14964 # The following way of writing the cache mishandles newlines in values,
14965 # but we know of no workaround that is simple, portable, and efficient.
14966 # So, we kill variables containing newlines.
14967 # Ultrix sh set writes to stderr and can't be redirected directly,
14968 # and sets the high bit in the cache file unless we assign to the vars.
14970 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14971 eval ac_val
=\$
$ac_var
14975 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14979 _ | IFS | as_nl
) ;; #(
14980 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14981 *) { eval $ac_var=; unset $ac_var;} ;;
14987 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14988 *${as_nl}ac_space
=\
*)
14989 # `set' does not quote correctly, so add quotes: double-quote
14990 # substitution turns \\\\ into \\, and sed turns \\ into \.
14993 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14996 # `set' quotes correctly as required by POSIX, so do not add quotes.
14997 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15008 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15010 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15011 if test -w "$cache_file"; then
15012 test "x$cache_file" != "x/dev/null" &&
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15014 $as_echo "$as_me: updating cache $cache_file" >&6;}
15015 cat confcache
>$cache_file
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15018 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15023 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15024 # Let make expand exec_prefix.
15025 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15027 DEFS
=-DHAVE_CONFIG_H
15031 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15032 # 1. Remove the extension, and $U if already installed.
15033 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15034 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15035 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15036 # will be set to the directory where LIBOBJS objects are built.
15037 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15038 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15040 LIBOBJS
=$ac_libobjs
15042 LTLIBOBJS
=$ac_ltlibobjs
15045 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15046 as_fn_error
"conditional \"AMDEP\" was never defined.
15047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15049 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15050 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15053 if test -n "$EXEEXT"; then
15055 am__EXEEXT_FALSE
='#'
15057 am__EXEEXT_TRUE
='#'
15062 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15063 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15066 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15067 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
15068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15071 : ${CONFIG_STATUS=./config.status}
15073 ac_clean_files_save
=$ac_clean_files
15074 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15076 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15078 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15080 # Generated by $as_me.
15081 # Run this file to recreate the current configuration.
15082 # Compiler output produced by configure, useful for debugging
15083 # configure, is in config.log if it exists.
15086 ac_cs_recheck=false
15089 SHELL=\${CONFIG_SHELL-$SHELL}
15092 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15093 ## -------------------- ##
15094 ## M4sh Initialization. ##
15095 ## -------------------- ##
15097 # Be more Bourne compatible
15098 DUALCASE
=1; export DUALCASE
# for MKS sh
15099 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15102 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15103 # is contrary to our usage. Disable this feature.
15104 alias -g '${1+"$@"}'='"$@"'
15105 setopt NO_GLOB_SUBST
15107 case `(set -o) 2>/dev/null` in #(
15119 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15120 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15122 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15123 # Prefer a ksh shell builtin over an external printf program on Solaris,
15124 # but without wasting forks for bash or zsh.
15125 if test -z "$BASH_VERSION$ZSH_VERSION" \
15126 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15127 as_echo='print
-r --'
15128 as_echo_n='print
-rn --'
15129 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15130 as_echo='printf %s
\n'
15131 as_echo_n='printf %s
'
15133 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15134 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15135 as_echo_n='/usr
/ucb
/echo -n'
15137 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15138 as_echo_n_body='eval
15142 expr "X$arg" : "X\\(.*\\)$as_nl";
15143 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15145 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15147 export as_echo_n_body
15148 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15150 export as_echo_body
15151 as_echo='sh
-c $as_echo_body as_echo
'
15154 # The user is always right.
15155 if test "${PATH_SEPARATOR+set}" != set; then
15157 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15158 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15165 # We need space, tab and new line, in precisely that order. Quoting is
15166 # there to prevent editors from complaining about space-tab.
15167 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15168 # splitting by setting IFS to empty value.)
15171 # Find who we are. Look in the path if we contain no directory separator.
15173 *[\\/]* ) as_myself=$0 ;;
15174 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15175 for as_dir in $PATH
15178 test -z "$as_dir" && as_dir=.
15179 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15185 # We did not find ourselves, most probably we were run as `sh COMMAND'
15186 # in which case we are not to be found in the path.
15187 if test "x$as_myself" = x
; then
15190 if test ! -f "$as_myself"; then
15191 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15195 # Unset variables that we do not need and which cause bugs (e.g. in
15196 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15197 # suppresses any "Segmentation fault" message there. '((' could
15198 # trigger a bug in pdksh 5.2.14.
15199 for as_var
in BASH_ENV ENV MAIL MAILPATH
15200 do eval test x\
${$as_var+set} = xset \
15201 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15214 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15217 # as_fn_error ERROR [LINENO LOG_FD]
15218 # ---------------------------------
15219 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15220 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15221 # script with status $?, using 1 if that was 0.
15224 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15226 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15227 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15229 $as_echo "$as_me: error: $1" >&2
15230 as_fn_exit
$as_status
15234 # as_fn_set_status STATUS
15235 # -----------------------
15236 # Set $? to STATUS, without forking.
15237 as_fn_set_status
()
15240 } # as_fn_set_status
15242 # as_fn_exit STATUS
15243 # -----------------
15244 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15248 as_fn_set_status
$1
15254 # Portably unset VAR.
15257 { eval $1=; unset $1;}
15259 as_unset
=as_fn_unset
15260 # as_fn_append VAR VALUE
15261 # ----------------------
15262 # Append the text in VALUE to the end of the definition contained in VAR. Take
15263 # advantage of any shell optimizations that allow amortized linear growth over
15264 # repeated appends, instead of the typical quadratic growth present in naive
15266 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15267 eval 'as_fn_append ()
15278 # as_fn_arith ARG...
15279 # ------------------
15280 # Perform arithmetic evaluation on the ARGs, and store the result in the
15281 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15282 # must be portable across $(()) and expr.
15283 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15284 eval 'as_fn_arith ()
15291 as_val
=`expr "$@" || test $? -eq 1`
15296 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15297 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15303 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15304 as_basename
=basename
15309 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15315 as_me
=`$as_basename -- "$0" ||
15316 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15317 X"$0" : 'X\(//\)$' \| \
15318 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15320 sed '/^.*\/\([^/][^/]*\)\/*$/{
15334 # Avoid depending upon Character Ranges.
15335 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15336 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15337 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15338 as_cr_digits
='0123456789'
15339 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15341 ECHO_C
= ECHO_N
= ECHO_T
=
15342 case `echo -n x` in #(((((
15344 case `echo 'xy\c'` in
15345 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15347 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15354 rm -f conf$$ conf$$.exe conf$$.
file
15355 if test -d conf$$.dir
; then
15356 rm -f conf$$.dir
/conf$$.
file
15359 mkdir conf$$.dir
2>/dev
/null
15361 if (echo >conf$$.
file) 2>/dev
/null
; then
15362 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15364 # ... but there are two gotchas:
15365 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15366 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15367 # In both cases, we have to default to `cp -p'.
15368 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15370 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15378 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15379 rmdir conf$$.dir
2>/dev
/null
15384 # Create "$as_dir" as a directory, including parents if necessary.
15389 -*) as_dir
=.
/$as_dir;;
15391 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15395 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15396 *) as_qdir
=$as_dir;;
15398 as_dirs
="'$as_qdir' $as_dirs"
15399 as_dir
=`$as_dirname -- "$as_dir" ||
15400 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15401 X"$as_dir" : 'X\(//\)[^/]' \| \
15402 X"$as_dir" : 'X\(//\)$' \| \
15403 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15404 $as_echo X"$as_dir" |
15405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15409 /^X\(\/\/\)[^/].*/{
15422 test -d "$as_dir" && break
15424 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15425 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15429 if mkdir
-p .
2>/dev
/null
; then
15430 as_mkdir_p
='mkdir -p "$as_dir"'
15432 test -d .
/-p && rmdir .
/-p
15436 if test -x / >/dev
/null
2>&1; then
15437 as_test_x
='test -x'
15439 if ls -dL / >/dev
/null
2>&1; then
15446 if test -d "$1"; then
15452 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15453 ???[sx]*):;;*)false;;esac;fi
15457 as_executable_p
=$as_test_x
15459 # Sed expression to map a string onto a valid CPP name.
15460 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15462 # Sed expression to map a string onto a valid variable name.
15463 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15467 ## ----------------------------------- ##
15468 ## Main body of $CONFIG_STATUS script. ##
15469 ## ----------------------------------- ##
15471 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15474 # Save the log message, to keep $0 and so on meaningful, and to
15475 # report actual input values of CONFIG_FILES etc. instead of their
15476 # values after options handling.
15478 This file was extended by $as_me, which was
15479 generated by GNU Autoconf 2.64. Invocation command line was
15481 CONFIG_FILES = $CONFIG_FILES
15482 CONFIG_HEADERS = $CONFIG_HEADERS
15483 CONFIG_LINKS = $CONFIG_LINKS
15484 CONFIG_COMMANDS = $CONFIG_COMMANDS
15487 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15492 case $ac_config_files in *"
15493 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15496 case $ac_config_headers in *"
15497 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15502 # Files that config.status was made for.
15503 config_files="$ac_config_files"
15504 config_headers="$ac_config_headers"
15505 config_commands="$ac_config_commands"
15509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15511 \`$as_me' instantiates files and other configuration actions
15512 from templates according to the current configuration. Unless the files
15513 and actions are specified as TAGs, all are instantiated by default.
15515 Usage: $0 [OPTION]... [TAG]...
15517 -h, --help print this help, then exit
15518 -V, --version print version number and configuration settings, then exit
15519 -q, --quiet, --silent
15520 do not print progress messages
15521 -d, --debug don't remove temporary files
15522 --recheck update $as_me by reconfiguring in the same conditions
15523 --file=FILE[:TEMPLATE]
15524 instantiate the configuration file FILE
15525 --header=FILE[:TEMPLATE]
15526 instantiate the configuration header FILE
15528 Configuration files:
15531 Configuration headers:
15534 Configuration commands:
15537 Report bugs to the package provider."
15540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15543 configured by $0, generated by GNU Autoconf 2.64,
15544 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15546 Copyright (C) 2009 Free Software Foundation, Inc.
15547 This config.status script is free software; the Free Software Foundation
15548 gives unlimited permission to copy, distribute and modify it."
15555 test -n "\$AWK" || AWK=awk
15558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15559 # The default lists apply if the user does not specify any file.
15565 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15566 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15577 # Handling of the options.
15578 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15580 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15581 $as_echo "$ac_cs_version"; exit ;;
15582 --debug |
--debu |
--deb |
--de |
--d |
-d )
15584 --file |
--fil |
--fi |
--f )
15587 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15589 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15590 ac_need_defaults
=false
;;
15591 --header |
--heade |
--head |
--hea )
15594 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15596 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15597 ac_need_defaults
=false
;;
15599 # Conflict between --help and --header
15600 as_fn_error
"ambiguous option: \`$1'
15601 Try \`$0 --help' for more information.";;
15602 --help |
--hel |
-h )
15603 $as_echo "$ac_cs_usage"; exit ;;
15604 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15605 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15608 # This is an error.
15609 -*) as_fn_error
"unrecognized option: \`$1'
15610 Try \`$0 --help' for more information." ;;
15612 *) as_fn_append ac_config_targets
" $1"
15613 ac_need_defaults
=false
;;
15619 ac_configure_extra_args
=
15621 if $ac_cs_silent; then
15623 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15628 if \$ac_cs_recheck; then
15629 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15631 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15632 CONFIG_SHELL='$SHELL'
15633 export CONFIG_SHELL
15638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15642 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15643 ## Running $as_me. ##
15649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15653 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15656 # The HP-UX ksh and POSIX shell print the target directory to stdout
15657 # if CDPATH is set.
15658 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15660 sed_quote_subst='$sed_quote_subst'
15661 double_quote_subst='$double_quote_subst'
15662 delay_variable_subst='$delay_variable_subst'
15663 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15664 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15665 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15666 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15667 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15668 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15669 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15670 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15671 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15672 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15673 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15674 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15675 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15676 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15677 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15678 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15679 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15680 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15681 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15682 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15683 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15684 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15685 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15686 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15687 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15688 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15689 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15690 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15691 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15692 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15693 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15694 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15695 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15696 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15697 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15698 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15699 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15700 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15701 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15702 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15703 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15704 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15705 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15706 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15707 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15708 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15709 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15710 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15711 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15712 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15713 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15714 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15715 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15716 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15717 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15718 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"`'
15719 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15720 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15721 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15722 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15723 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15724 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15725 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15726 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15727 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15728 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15729 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15730 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15731 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15732 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15733 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15734 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15735 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15736 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15737 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15738 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15739 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15740 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15741 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15742 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15743 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15744 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15745 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15746 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15747 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15748 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15749 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15750 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15751 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15752 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15753 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15754 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15755 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15756 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15757 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15758 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15759 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15760 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15761 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15762 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15763 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15764 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15765 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15766 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15767 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15768 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15769 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15770 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15771 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15772 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15773 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15774 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15775 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15776 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15777 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15778 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15779 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15780 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15781 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15782 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15783 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15784 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15785 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15786 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15787 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15788 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15789 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15790 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15791 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15792 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15795 LTCFLAGS='$LTCFLAGS'
15796 compiler='$compiler_DEFAULT'
15798 # A function that is used when there is no print builtin or printf.
15799 func_fallback_echo ()
15801 eval 'cat <<_LTECHO_EOF
15806 # Quote evaled strings.
15820 deplibs_check_method \
15825 sharedlib_from_linklib_cmd \
15828 archiver_list_spec \
15834 lt_cv_sys_global_symbol_pipe \
15835 lt_cv_sys_global_symbol_to_cdecl \
15836 lt_cv_sys_global_symbol_to_c_name_address \
15837 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15838 nm_file_list_spec \
15839 lt_prog_compiler_no_builtin_flag \
15840 lt_prog_compiler_pic \
15841 lt_prog_compiler_wl \
15842 lt_prog_compiler_static \
15843 lt_cv_prog_compiler_c_o \
15852 export_dynamic_flag_spec \
15853 whole_archive_flag_spec \
15854 compiler_needs_object \
15856 allow_undefined_flag \
15857 no_undefined_flag \
15858 hardcode_libdir_flag_spec \
15859 hardcode_libdir_flag_spec_ld \
15860 hardcode_libdir_separator \
15864 variables_saved_for_relink \
15866 library_names_spec \
15868 install_override_mode \
15872 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15873 *[\\\\\\\`\\"\\\$]*)
15874 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15877 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15882 # Double-quote double-evaled strings.
15883 for var in reload_cmds \
15884 old_postinstall_cmds \
15885 old_postuninstall_cmds \
15887 extract_expsyms_cmds \
15888 old_archive_from_new_cmds \
15889 old_archive_from_expsyms_cmds \
15891 archive_expsym_cmds \
15893 module_expsym_cmds \
15894 export_symbols_cmds \
15898 postuninstall_cmds \
15900 sys_lib_search_path_spec \
15901 sys_lib_dlsearch_path_spec; do
15902 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15903 *[\\\\\\\`\\"\\\$]*)
15904 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15907 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15912 ac_aux_dir='$ac_aux_dir'
15913 xsi_shell='$xsi_shell'
15914 lt_shell_append='$lt_shell_append'
15916 # See if we are running on zsh, and set the options which allow our
15917 # commands through without removal of \ escapes INIT.
15918 if test -n "\${ZSH_VERSION+set}" ; then
15919 setopt NO_GLOB_SUBST
15925 TIMESTAMP='$TIMESTAMP'
15931 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15932 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15934 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15935 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15936 LINGUAS="${LINGUAS-%UNSET%}"
15938 target_cpu_type=${target_cpu_type}
15939 cgen_cpu_prefix=${cgen_cpu_prefix}
15940 obj_format=${obj_format}
15945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15947 # Handling of arguments.
15948 for ac_config_target
in $ac_config_targets
15950 case $ac_config_target in
15951 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15952 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15953 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15954 "gdb.ini") CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
15955 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
15956 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15957 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15958 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15959 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15960 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15962 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15967 # If the user did not use the arguments to specify the items to instantiate,
15968 # then the envvar interface is used. Set only those that are not.
15969 # We use the long form for the default assignment because of an extremely
15970 # bizarre bug on SunOS 4.1.3.
15971 if $ac_need_defaults; then
15972 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15973 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15974 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15977 # Have a temporary directory for convenience. Make it in the build tree
15978 # simply because there is no reason against having it here, and in addition,
15979 # creating and moving files from /tmp can sometimes cause problems.
15980 # Hook for its removal unless debugging.
15981 # Note that there is a small window in which the directory will not be cleaned:
15982 # after its creation but before its name has been assigned to `$tmp'.
15986 trap 'exit_status=$?
15987 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15989 trap 'as_fn_exit 1' 1 2 13 15
15991 # Create a (secure) tmp directory for tmp files.
15994 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15995 test -n "$tmp" && test -d "$tmp"
15998 tmp
=.
/conf$$
-$RANDOM
15999 (umask 077 && mkdir
"$tmp")
16000 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16002 # Set up the scripts for CONFIG_FILES section.
16003 # No need to generate them if there are no CONFIG_FILES.
16004 # This happens for instance with `./config.status config.h'.
16005 if test -n "$CONFIG_FILES"; then
16008 ac_cr
=`echo X | tr X '\015'`
16009 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16010 # But we know of no other shell where ac_cr would be empty at this
16011 # point, so we can use a bashism as a fallback.
16012 if test "x$ac_cr" = x
; then
16013 eval ac_cr
=\$
\'\\r
\'
16015 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16016 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16019 ac_cs_awk_cr
=$ac_cr
16022 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16027 echo "cat >conf$$subs.awk <<_ACEOF" &&
16028 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16030 } >conf$$subs.sh ||
16031 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16032 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16034 for ac_last_try in false false false false false :; do
16035 . ./conf$$subs.sh ||
16036 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16038 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16039 if test $ac_delim_n = $ac_delim_num; then
16041 elif $ac_last_try; then
16042 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16044 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16047 rm -f conf$$subs.sh
16049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16050 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16054 s/^/S["/; s
/!.
*/"]=/
16064 s/\(.\{148\}\).*/\1/
16066 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16071 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16078 s/\(.\{148\}\).*/\1/
16080 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16084 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16089 ' <conf$$subs.awk | sed '
16094 ' >>$CONFIG_STATUS || ac_write_fail=1
16095 rm -f conf$$subs.awk
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16098 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16099 for (key in S) S_is_set[key] = 1
16105 nfields = split(line, field, "@
")
16107 len = length(field[1])
16108 for (i = 2; i < nfields; i++) {
16110 keylen = length(key)
16111 if (S_is_set[key]) {
16113 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16114 len += length(value) + length(field[++i])
16125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16126 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16127 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16130 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16131 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16134 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16135 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16136 # trailing colons and then remove the whole line if VPATH becomes empty
16137 # (actually we leave an empty line to preserve line numbers).
16138 if test "x
$srcdir" = x.; then
16139 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16140 s/:*\$(srcdir):*/:/
16141 s/:*\${srcdir}:*/:/
16143 s/^\([^=]*=[ ]*\):*/\1/
16149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16150 fi # test -n "$CONFIG_FILES"
16152 # Set up the scripts for CONFIG_HEADERS section.
16153 # No need to generate them if there are no CONFIG_HEADERS.
16154 # This happens for instance with `./config.status Makefile'.
16155 if test -n "$CONFIG_HEADERS"; then
16156 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16160 # Transform confdefs.h into an awk script `defines.awk', embedded as
16161 # here-document in config.status, that substitutes the proper values into
16162 # config.h.in to produce config.h.
16164 # Create a delimiter string that does not exist in confdefs.h, to ease
16165 # handling of long lines.
16167 for ac_last_try in false false :; do
16168 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16169 if test -z "$ac_t"; then
16171 elif $ac_last_try; then
16172 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16174 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16178 # For the awk script, D is an array of macro values keyed by name,
16179 # likewise P contains macro parameters if any. Preserve backslash
16180 # newline sequences.
16182 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16184 s/.\{148\}/&'"$ac_delim"'/g
16187 s/^[ ]*#[ ]*define[ ][ ]*/ /
16194 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16196 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16200 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16201 D["\
1"]=" \
3\\\\\\n
"\\/p
16203 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16208 s/.\{148\}/&'"$ac_delim"'/g
16213 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16216 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16218 ' <confdefs.h | sed '
16219 s/'"$ac_delim"'/"\\\
16220 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16223 for (key in D) D_is_set[key] = 1
16226 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16228 split(line, arg, " ")
16229 if (arg[1] == "#") {
16233 defundef
= substr
(arg
[1], 2)
16236 split(mac1
, mac2
, "(") #)
16238 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16239 if (D_is_set
[macro
]) {
16240 # Preserve the white space surrounding the "#".
16241 print prefix
"define", macro P
[macro
] D
[macro
]
16244 # Replace #undef with comments. This is necessary, for example,
16245 # in the case of _POSIX_SOURCE, which is predefined and required
16246 # on some systems where configure will not decide to define it.
16247 if (defundef
== "undef") {
16248 print
"/*", prefix defundef
, macro
, "*/"
16256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16257 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16258 fi # test -n "$CONFIG_HEADERS"
16261 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16266 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16268 case $ac_mode$ac_tag in
16270 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16271 :[FH
]-) ac_tag
=-:-;;
16272 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16289 -) ac_f
="$tmp/stdin";;
16290 *) # Look for the file first in the build tree, then in the source tree
16291 # (if the path is not absolute). The absolute path cannot be DOS-style,
16292 # because $ac_f cannot contain `:'.
16296 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16298 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16300 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16301 as_fn_append ac_file_inputs
" '$ac_f'"
16304 # Let's still pretend it is `configure' which instantiates (i.e., don't
16305 # use $as_me), people would be surprised to read:
16306 # /* config.h. Generated by config.status. */
16307 configure_input
='Generated from '`
16308 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16310 if test x
"$ac_file" != x-
; then
16311 configure_input
="$ac_file. $configure_input"
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16313 $as_echo "$as_me: creating $ac_file" >&6;}
16315 # Neutralize special characters interpreted by sed in replacement strings.
16316 case $configure_input in #(
16317 *\
&* |
*\|
* |
*\\* )
16318 ac_sed_conf_input
=`$as_echo "$configure_input" |
16319 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16320 *) ac_sed_conf_input
=$configure_input;;
16324 *:-:* |
*:-) cat >"$tmp/stdin" \
16325 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16330 ac_dir
=`$as_dirname -- "$ac_file" ||
16331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16332 X"$ac_file" : 'X\(//\)[^/]' \| \
16333 X"$ac_file" : 'X\(//\)$' \| \
16334 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16335 $as_echo X"$ac_file" |
16336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16340 /^X\(\/\/\)[^/].*/{
16353 as_dir
="$ac_dir"; as_fn_mkdir_p
16357 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16359 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16360 # A ".." for each directory in $ac_dir_suffix.
16361 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16362 case $ac_top_builddir_sub in
16363 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16364 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16367 ac_abs_top_builddir
=$ac_pwd
16368 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16369 # for backward compatibility:
16370 ac_top_builddir
=$ac_top_build_prefix
16373 .
) # We are building in place.
16375 ac_top_srcdir
=$ac_top_builddir_sub
16376 ac_abs_top_srcdir
=$ac_pwd ;;
16377 [\\/]* | ?
:[\\/]* ) # Absolute name.
16378 ac_srcdir
=$srcdir$ac_dir_suffix;
16379 ac_top_srcdir
=$srcdir
16380 ac_abs_top_srcdir
=$srcdir ;;
16381 *) # Relative name.
16382 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16383 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16384 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16386 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16396 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16397 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16399 ac_MKDIR_P
=$MKDIR_P
16401 [\\/$
]* | ?
:[\\/]* ) ;;
16402 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16407 # If the template does not know about datarootdir, expand it.
16408 # FIXME: This hack should be removed a few years after 2.60.
16409 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16421 *datarootdir
*) ac_datarootdir_seen
=yes;;
16422 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16427 ac_datarootdir_hack='
16428 s&@datadir@&$datadir&g
16429 s&@docdir@&$docdir&g
16430 s&@infodir@&$infodir&g
16431 s&@localedir@&$localedir&g
16432 s&@mandir@&$mandir&g
16433 s&\\\${datarootdir}&$datarootdir&g' ;;
16437 # Neutralize VPATH when `$srcdir' = `.'.
16438 # Shell code in configure.ac might set extrasub.
16439 # FIXME: do we really want to maintain this feature?
16440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16441 ac_sed_extra="$ac_vpsub
16444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16446 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16447 s|@configure_input@|
$ac_sed_conf_input|
;t t
16448 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16449 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16450 s
&@srcdir@
&$ac_srcdir&;t t
16451 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16452 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16453 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16454 s
&@builddir@
&$ac_builddir&;t t
16455 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16456 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16457 s
&@INSTALL@
&$ac_INSTALL&;t t
16458 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16459 $ac_datarootdir_hack
16461 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16462 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16464 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16465 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16466 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16468 which seems to be undefined. Please make sure it is defined." >&5
16469 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16470 which seems to be undefined. Please make sure it is defined." >&2;}
16474 -) cat "$tmp/out" && rm -f "$tmp/out";;
16475 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16477 || as_fn_error "could not create $ac_file" "$LINENO" 5
16483 if test x"$ac_file" != x-; then
16485 $as_echo "/* $configure_input */" \
16486 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16487 } >"$tmp/config.h" \
16488 || as_fn_error "could not create $ac_file" "$LINENO" 5
16489 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16491 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16494 mv "$tmp/config.h" "$ac_file" \
16495 || as_fn_error "could not create $ac_file" "$LINENO" 5
16498 $as_echo "/* $configure_input */" \
16499 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16500 || as_fn_error "could not create -" "$LINENO" 5
16502 # Compute "$ac_file"'s index
in $config_headers.
16505 for _am_header
in $config_headers :; do
16506 case $_am_header in
16507 $_am_arg |
$_am_arg:* )
16510 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16513 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16514 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16515 X"$_am_arg" : 'X\(//\)[^/]' \| \
16516 X"$_am_arg" : 'X\(//\)$' \| \
16517 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16518 $as_echo X"$_am_arg" |
16519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16523 /^X\(\/\/\)[^/].*/{
16535 s/.*/./; q'`/stamp-h
$_am_stamp_count
16538 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16539 $as_echo "$as_me: executing $ac_file commands" >&6;}
16544 case $ac_file$ac_mode in
16545 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16546 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16547 # are listed without --file. Let's play safe and only enable the eval
16548 # if we detect the quoting.
16549 case $CONFIG_FILES in
16550 *\'*) eval set x
"$CONFIG_FILES" ;;
16551 *) set x
$CONFIG_FILES ;;
16556 # Strip MF so we end up with the name of the file.
16557 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16558 # Check whether this is an Automake generated Makefile or not.
16559 # We used to match only the files named `Makefile.in', but
16560 # some people rename them; so instead we look at the file content.
16561 # Grep'ing the first line is not enough: some people post-process
16562 # each Makefile.in and add a new line on top of each file to say so.
16563 # Grep'ing the whole file is not good either: AIX grep has a line
16564 # limit of 2048, but all sed's we know have understand at least 4000.
16565 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16566 dirpart
=`$as_dirname -- "$mf" ||
16567 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16568 X"$mf" : 'X\(//\)[^/]' \| \
16569 X"$mf" : 'X\(//\)$' \| \
16570 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16576 /^X\(\/\/\)[^/].*/{
16592 # Extract the definition of DEPDIR, am__include, and am__quote
16593 # from the Makefile without running `make'.
16594 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16595 test -z "$DEPDIR" && continue
16596 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16597 test -z "am__include" && continue
16598 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16599 # When using ansi2knr, U may be empty or an underscore; expand it
16600 U
=`sed -n 's/^U = //p' < "$mf"`
16601 # Find all dependency output files, they are included files with
16602 # $(DEPDIR) in their names. We invoke sed twice because it is the
16603 # simplest approach to changing $(DEPDIR) to its actual value in the
16605 for file in `sed -n "
16606 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16607 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16608 # Make sure the directory exists.
16609 test -f "$dirpart/$file" && continue
16610 fdir
=`$as_dirname -- "$file" ||
16611 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16612 X"$file" : 'X\(//\)[^/]' \| \
16613 X"$file" : 'X\(//\)$' \| \
16614 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16615 $as_echo X"$file" |
16616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16620 /^X\(\/\/\)[^/].*/{
16633 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16634 # echo "creating $dirpart/$file"
16635 echo '# dummy' > "$dirpart/$file"
16642 # See if we are running on zsh, and set the options which allow our
16643 # commands through without removal of \ escapes.
16644 if test -n "${ZSH_VERSION+set}" ; then
16645 setopt NO_GLOB_SUBST
16648 cfgfile
="${ofile}T"
16649 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16652 cat <<_LT_EOF >> "$cfgfile"
16655 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16656 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16657 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16658 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16660 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16661 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16663 # Written by Gordon Matzigkeit, 1996
16665 # This file is part of GNU Libtool.
16667 # GNU Libtool is free software; you can redistribute it and/or
16668 # modify it under the terms of the GNU General Public License as
16669 # published by the Free Software Foundation; either version 2 of
16670 # the License, or (at your option) any later version.
16672 # As a special exception to the GNU General Public License,
16673 # if you distribute this file as part of a program or library that
16674 # is built using GNU Libtool, you may include this file under the
16675 # same distribution terms that you use for the rest of that program.
16677 # GNU Libtool is distributed in the hope that it will be useful,
16678 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16679 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16680 # GNU General Public License for more details.
16682 # You should have received a copy of the GNU General Public License
16683 # along with GNU Libtool; see the file COPYING. If not, a copy
16684 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16685 # obtained by writing to the Free Software Foundation, Inc.,
16686 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16689 # The names of the tagged configurations supported by this script.
16692 # ### BEGIN LIBTOOL CONFIG
16694 # Which release of libtool.m4 was used?
16695 macro_version=$macro_version
16696 macro_revision=$macro_revision
16698 # Whether or not to build shared libraries.
16699 build_libtool_libs=$enable_shared
16701 # Whether or not to build static libraries.
16702 build_old_libs=$enable_static
16704 # What type of objects to build.
16707 # Whether or not to optimize for fast installation.
16708 fast_install=$enable_fast_install
16710 # Shell to use when invoking shell scripts.
16713 # An echo program that protects backslashes.
16717 host_alias=$host_alias
16721 # The build system.
16722 build_alias=$build_alias
16726 # A sed program that does not truncate output.
16729 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16730 Xsed="\$SED -e 1s/^X//"
16732 # A grep program that handles long lines.
16738 # A literal string matcher.
16741 # A BSD- or MS-compatible name lister.
16744 # Whether we need soft or hard links.
16747 # What is the maximum length of a command?
16748 max_cmd_len=$max_cmd_len
16750 # Object file suffix (normally "o").
16753 # Executable file suffix (normally "").
16756 # whether the shell understands "unset".
16759 # turn spaces into newlines.
16762 # turn newlines into spaces.
16765 # convert \$build file names to \$host format.
16766 to_host_file_cmd=$lt_cv_to_host_file_cmd
16768 # convert \$build files to toolchain format.
16769 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16771 # An object symbol dumper.
16772 OBJDUMP=$lt_OBJDUMP
16774 # Method to check whether dependent libraries are shared objects.
16775 deplibs_check_method=$lt_deplibs_check_method
16777 # Command to use when deplibs_check_method = "file_magic".
16778 file_magic_cmd=$lt_file_magic_cmd
16780 # How to find potential files when deplibs_check_method = "file_magic".
16781 file_magic_glob=$lt_file_magic_glob
16783 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16784 want_nocaseglob=$lt_want_nocaseglob
16786 # DLL creation program.
16787 DLLTOOL=$lt_DLLTOOL
16789 # Command to associate shared and link libraries.
16790 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16795 # Flags to create an archive.
16796 AR_FLAGS=$lt_AR_FLAGS
16798 # How to feed a file listing to the archiver.
16799 archiver_list_spec=$lt_archiver_list_spec
16801 # A symbol stripping program.
16804 # Commands used to install an old-style archive.
16806 old_postinstall_cmds=$lt_old_postinstall_cmds
16807 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16809 # Whether to use a lock for old archive extraction.
16810 lock_old_archive_extraction=$lock_old_archive_extraction
16815 # LTCC compiler flags.
16816 LTCFLAGS=$lt_CFLAGS
16818 # Take the output of nm and produce a listing of raw symbols and C names.
16819 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16821 # Transform the output of nm in a proper C declaration.
16822 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16824 # Transform the output of nm in a C name address pair.
16825 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16827 # Transform the output of nm in a C name address pair when lib prefix is needed.
16828 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16830 # Specify filename containing input files for \$NM.
16831 nm_file_list_spec=$lt_nm_file_list_spec
16833 # The root where to search for dependent libraries,and in which our libraries should be installed.
16834 lt_sysroot=$lt_sysroot
16836 # The name of the directory that contains temporary libtool files.
16839 # Used to examine libraries when file_magic_cmd begins with "file".
16840 MAGIC_CMD=$MAGIC_CMD
16842 # Must we lock files when doing compilation?
16843 need_locks=$lt_need_locks
16846 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16848 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16849 DSYMUTIL=$lt_DSYMUTIL
16851 # Tool to change global to local symbols on Mac OS X.
16854 # Tool to manipulate fat objects and archives on Mac OS X.
16857 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16860 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16861 OTOOL64=$lt_OTOOL64
16863 # Old archive suffix (normally "a").
16866 # Shared library suffix (normally ".so").
16867 shrext_cmds=$lt_shrext_cmds
16869 # The commands to extract the exported symbol list from a shared archive.
16870 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16872 # Variables whose values should be saved in libtool wrapper scripts and
16873 # restored at link time.
16874 variables_saved_for_relink=$lt_variables_saved_for_relink
16876 # Do we need the "lib" prefix for modules?
16877 need_lib_prefix=$need_lib_prefix
16879 # Do we need a version for libraries?
16880 need_version=$need_version
16882 # Library versioning type.
16883 version_type=$version_type
16885 # Shared library runtime path variable.
16886 runpath_var=$runpath_var
16888 # Shared library path variable.
16889 shlibpath_var=$shlibpath_var
16891 # Is shlibpath searched before the hard-coded library search path?
16892 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16894 # Format of library name prefix.
16895 libname_spec=$lt_libname_spec
16897 # List of archive names. First name is the real one, the rest are links.
16898 # The last name is the one that the linker finds with -lNAME
16899 library_names_spec=$lt_library_names_spec
16901 # The coded name of the library, if different from the real name.
16902 soname_spec=$lt_soname_spec
16904 # Permission mode override for installation of shared libraries.
16905 install_override_mode=$lt_install_override_mode
16907 # Command to use after installation of a shared archive.
16908 postinstall_cmds=$lt_postinstall_cmds
16910 # Command to use after uninstallation of a shared archive.
16911 postuninstall_cmds=$lt_postuninstall_cmds
16913 # Commands used to finish a libtool library installation in a directory.
16914 finish_cmds=$lt_finish_cmds
16916 # As "finish_cmds", except a single script fragment to be evaled but
16918 finish_eval=$lt_finish_eval
16920 # Whether we should hardcode library paths into libraries.
16921 hardcode_into_libs=$hardcode_into_libs
16923 # Compile-time system search path for libraries.
16924 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16926 # Run-time system search path for libraries.
16927 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16929 # Whether dlopen is supported.
16930 dlopen_support=$enable_dlopen
16932 # Whether dlopen of programs is supported.
16933 dlopen_self=$enable_dlopen_self
16935 # Whether dlopen of statically linked programs is supported.
16936 dlopen_self_static=$enable_dlopen_self_static
16938 # Commands to strip libraries.
16939 old_striplib=$lt_old_striplib
16940 striplib=$lt_striplib
16943 # The linker used to build libraries.
16946 # How to create reloadable object files.
16947 reload_flag=$lt_reload_flag
16948 reload_cmds=$lt_reload_cmds
16950 # Commands used to build an old-style archive.
16951 old_archive_cmds=$lt_old_archive_cmds
16953 # A language specific compiler.
16956 # Is the compiler the GNU compiler?
16959 # Compiler flag to turn off builtin functions.
16960 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16962 # Additional compiler flags for building library objects.
16963 pic_flag=$lt_lt_prog_compiler_pic
16965 # How to pass a linker flag through the compiler.
16966 wl=$lt_lt_prog_compiler_wl
16968 # Compiler flag to prevent dynamic linking.
16969 link_static_flag=$lt_lt_prog_compiler_static
16971 # Does compiler simultaneously support -c and -o options?
16972 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16974 # Whether or not to add -lc for building shared libraries.
16975 build_libtool_need_lc=$archive_cmds_need_lc
16977 # Whether or not to disallow shared libs when runtime libs are static.
16978 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16980 # Compiler flag to allow reflexive dlopens.
16981 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16983 # Compiler flag to generate shared objects directly from archives.
16984 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16986 # Whether the compiler copes with passing no objects directly.
16987 compiler_needs_object=$lt_compiler_needs_object
16989 # Create an old-style archive from a shared archive.
16990 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16992 # Create a temporary old-style archive to link instead of a shared archive.
16993 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16995 # Commands used to build a shared archive.
16996 archive_cmds=$lt_archive_cmds
16997 archive_expsym_cmds=$lt_archive_expsym_cmds
16999 # Commands used to build a loadable module if different from building
17000 # a shared archive.
17001 module_cmds=$lt_module_cmds
17002 module_expsym_cmds=$lt_module_expsym_cmds
17004 # Whether we are building with GNU ld or not.
17005 with_gnu_ld=$lt_with_gnu_ld
17007 # Flag that allows shared libraries with undefined symbols to be built.
17008 allow_undefined_flag=$lt_allow_undefined_flag
17010 # Flag that enforces no undefined symbols.
17011 no_undefined_flag=$lt_no_undefined_flag
17013 # Flag to hardcode \$libdir into a binary during linking.
17014 # This must work even if \$libdir does not exist
17015 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17017 # If ld is used when linking, flag to hardcode \$libdir into a binary
17018 # during linking. This must work even if \$libdir does not exist.
17019 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17021 # Whether we need a single "-rpath" flag with a separated argument.
17022 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17024 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17025 # DIR into the resulting binary.
17026 hardcode_direct=$hardcode_direct
17028 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17029 # DIR into the resulting binary and the resulting library dependency is
17030 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17031 # library is relocated.
17032 hardcode_direct_absolute=$hardcode_direct_absolute
17034 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17035 # into the resulting binary.
17036 hardcode_minus_L=$hardcode_minus_L
17038 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17039 # into the resulting binary.
17040 hardcode_shlibpath_var=$hardcode_shlibpath_var
17042 # Set to "yes" if building a shared library automatically hardcodes DIR
17043 # into the library and all subsequent libraries and executables linked
17045 hardcode_automatic=$hardcode_automatic
17047 # Set to yes if linker adds runtime paths of dependent libraries
17048 # to runtime path list.
17049 inherit_rpath=$inherit_rpath
17051 # Whether libtool must link a program against all its dependency libraries.
17052 link_all_deplibs=$link_all_deplibs
17054 # Set to "yes" if exported symbols are required.
17055 always_export_symbols=$always_export_symbols
17057 # The commands to list exported symbols.
17058 export_symbols_cmds=$lt_export_symbols_cmds
17060 # Symbols that should not be listed in the preloaded symbols.
17061 exclude_expsyms=$lt_exclude_expsyms
17063 # Symbols that must always be exported.
17064 include_expsyms=$lt_include_expsyms
17066 # Commands necessary for linking programs (against libraries) with templates.
17067 prelink_cmds=$lt_prelink_cmds
17069 # Commands necessary for finishing linking programs.
17070 postlink_cmds=$lt_postlink_cmds
17072 # Specify filename containing input files.
17073 file_list_spec=$lt_file_list_spec
17075 # How to hardcode a shared library path into an executable.
17076 hardcode_action=$hardcode_action
17078 # ### END LIBTOOL CONFIG
17084 cat <<\_LT_EOF
>> "$cfgfile"
17085 # AIX sometimes has problems with the GCC collect2 program. For some
17086 # reason, if we set the COLLECT_NAMES environment variable, the problems
17087 # vanish in a puff of smoke.
17088 if test "X${COLLECT_NAMES+set}" != Xset
; then
17090 export COLLECT_NAMES
17097 ltmain
="$ac_aux_dir/ltmain.sh"
17100 # We use sed instead of cat because bash on DJGPP gets confused if
17101 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17102 # text mode, it properly converts lines to CR/LF. This bash problem
17103 # is reportedly fixed, but why not run on old versions too?
17104 sed '$q' "$ltmain" >> "$cfgfile" \
17105 ||
(rm -f "$cfgfile"; exit 1)
17107 if test x
"$xsi_shell" = xyes
; then
17108 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17112 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17113 \ * ) func_dirname_result="${3}" ;;\
17115 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17116 && mv -f "$cfgfile.tmp" "$cfgfile" \
17117 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17118 test 0 -eq $? || _lt_function_replace_fail
=:
17121 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17124 \ func_basename_result="${1##*/}"\
17125 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17126 && mv -f "$cfgfile.tmp" "$cfgfile" \
17127 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17128 test 0 -eq $? || _lt_function_replace_fail
=:
17131 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17132 func_dirname_and_basename ()\
17135 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17136 \ * ) func_dirname_result="${3}" ;;\
17138 \ func_basename_result="${1##*/}"\
17139 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17140 && mv -f "$cfgfile.tmp" "$cfgfile" \
17141 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17142 test 0 -eq $? || _lt_function_replace_fail
=:
17145 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17148 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17149 \ # positional parameters, so assign one to ordinary parameter first.\
17150 \ func_stripname_result=${3}\
17151 \ func_stripname_result=${func_stripname_result#"${1}"}\
17152 \ func_stripname_result=${func_stripname_result%"${2}"}\
17153 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17154 && mv -f "$cfgfile.tmp" "$cfgfile" \
17155 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17156 test 0 -eq $? || _lt_function_replace_fail
=:
17159 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17160 func_split_long_opt ()\
17162 \ func_split_long_opt_name=${1%%=*}\
17163 \ func_split_long_opt_arg=${1#*=}\
17164 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17165 && mv -f "$cfgfile.tmp" "$cfgfile" \
17166 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17167 test 0 -eq $? || _lt_function_replace_fail
=:
17170 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17171 func_split_short_opt ()\
17173 \ func_split_short_opt_arg=${1#??}\
17174 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17175 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17176 && mv -f "$cfgfile.tmp" "$cfgfile" \
17177 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17178 test 0 -eq $? || _lt_function_replace_fail
=:
17181 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17185 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17186 \ *) func_lo2o_result=${1} ;;\
17188 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17189 && mv -f "$cfgfile.tmp" "$cfgfile" \
17190 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17191 test 0 -eq $? || _lt_function_replace_fail
=:
17194 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17197 func_xform_result=${1%.*}.lo\
17198 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17199 && mv -f "$cfgfile.tmp" "$cfgfile" \
17200 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17201 test 0 -eq $? || _lt_function_replace_fail
=:
17204 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17207 func_arith_result=$(( $* ))\
17208 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17209 && mv -f "$cfgfile.tmp" "$cfgfile" \
17210 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17211 test 0 -eq $? || _lt_function_replace_fail
=:
17214 sed -e '/^func_len ()$/,/^} # func_len /c\
17217 func_len_result=${#1}\
17218 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17219 && mv -f "$cfgfile.tmp" "$cfgfile" \
17220 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17221 test 0 -eq $? || _lt_function_replace_fail
=:
17225 if test x
"$lt_shell_append" = xyes
; then
17226 sed -e '/^func_append ()$/,/^} # func_append /c\
17229 eval "${1}+=\\${2}"\
17230 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17231 && mv -f "$cfgfile.tmp" "$cfgfile" \
17232 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17233 test 0 -eq $? || _lt_function_replace_fail
=:
17236 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17237 func_append_quoted ()\
17239 \ func_quote_for_eval "${2}"\
17240 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17241 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17242 && mv -f "$cfgfile.tmp" "$cfgfile" \
17243 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17244 test 0 -eq $? || _lt_function_replace_fail
=:
17247 # Save a `func_append' function call where possible by direct use of '+='
17248 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17249 && mv -f "$cfgfile.tmp" "$cfgfile" \
17250 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17251 test 0 -eq $? || _lt_function_replace_fail
=:
17253 # Save a `func_append' function call even when '+=' is not available
17254 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17255 && mv -f "$cfgfile.tmp" "$cfgfile" \
17256 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17257 test 0 -eq $? || _lt_function_replace_fail
=:
17260 if test x
"$_lt_function_replace_fail" = x
":"; then
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17262 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17266 mv -f "$cfgfile" "$ofile" ||
17267 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17272 for ac_file
in $CONFIG_FILES; do
17273 # Support "outfile[:infile[:infile...]]"
17275 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17277 # PO directories have a Makefile.in generated from Makefile.in.in.
17278 case "$ac_file" in */Makefile.
in)
17279 # Adjust a relative srcdir.
17280 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17281 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
17282 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17283 # In autoconf-2.13 it is called $ac_given_srcdir.
17284 # In autoconf-2.50 it is called $srcdir.
17285 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17286 case "$ac_given_srcdir" in
17287 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17288 /*) top_srcdir
="$ac_given_srcdir" ;;
17289 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17291 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17292 rm -f "$ac_dir/POTFILES"
17293 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17294 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17295 POMAKEFILEDEPS
="POTFILES.in"
17296 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17297 # on $ac_dir but don't depend on user-specified configuration
17299 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17300 # The LINGUAS file contains the set of available languages.
17301 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17302 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17304 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17305 # Hide the ALL_LINGUAS assigment from automake.
17306 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17307 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
17309 # The set of available languages was given in configure.in.
17310 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17312 case "$ac_given_srcdir" in
17314 *) srcdirpre
='$(srcdir)/' ;;
17320 for lang
in $ALL_LINGUAS; do
17321 POFILES
="$POFILES $srcdirpre$lang.po"
17322 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17323 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17324 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17326 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17327 # environment variable.
17329 if test -n "$ALL_LINGUAS"; then
17330 for presentlang
in $ALL_LINGUAS; do
17332 if test "%UNSET%" != "$LINGUAS"; then
17333 desiredlanguages
="$LINGUAS"
17335 desiredlanguages
="$ALL_LINGUAS"
17337 for desiredlang
in $desiredlanguages; do
17338 # Use the presentlang catalog if desiredlang is
17339 # a. equal to presentlang, or
17340 # b. a variant of presentlang (because in this case,
17341 # presentlang can be used as a fallback for messages
17342 # which are not translated in the desiredlang catalog).
17343 case "$desiredlang" in
17344 "$presentlang"*) useit
=yes;;
17347 if test $useit = yes; then
17348 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17353 if test -n "$INST_LINGUAS"; then
17354 for lang
in $INST_LINGUAS; do
17355 CATALOGS
="$CATALOGS $lang.gmo"
17358 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17359 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"
17360 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17361 if test -f "$f"; then
17363 *.orig |
*.bak |
*~
) ;;
17364 *) cat "$f" >> "$ac_dir/Makefile" ;;
17372 "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
17373 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
17374 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
17375 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
17376 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
17377 if test "x$cgen_cpu_prefix" != x
; then
17378 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
17387 ac_clean_files
=$ac_clean_files_save
17389 test $ac_write_fail = 0 ||
17390 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17393 # configure is writing to config.log, and then calls config.status.
17394 # config.status does its own redirection, appending to config.log.
17395 # Unfortunately, on DOS this fails, as config.log is still kept open
17396 # by configure, so config.status won't be able to write to it; its
17397 # output is simply discarded. So we exec the FD to /dev/null,
17398 # effectively closing config.log, so it can be properly (re)opened and
17399 # appended to by config.status. When coming back to configure, we
17400 # need to make the FD available again.
17401 if test "$no_create" != yes; then
17403 ac_config_status_args
=
17404 test "$silent" = yes &&
17405 ac_config_status_args
="$ac_config_status_args --quiet"
17407 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17409 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17410 # would make configure fail if this is the last instruction.
17411 $ac_cs_success || as_fn_exit $?
17413 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17415 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}