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
679 INSTALL_STRIP_PROGRAM
740 program_transform_name
753 enable_option_checking
754 enable_dependency_tracking
766 enable_build_warnings
768 enable_maintainer_mode
770 ac_precious_vars
='build_alias
783 # Initialize some variables set by options.
785 ac_init_version
=false
786 ac_unrecognized_opts
=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name
=s
,x
,x
,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir
='${exec_prefix}/bin'
812 sbindir
='${exec_prefix}/sbin'
813 libexecdir
='${exec_prefix}/libexec'
814 datarootdir
='${prefix}/share'
815 datadir
='${datarootdir}'
816 sysconfdir
='${prefix}/etc'
817 sharedstatedir
='${prefix}/com'
818 localstatedir
='${prefix}/var'
819 includedir
='${prefix}/include'
820 oldincludedir
='/usr/include'
821 docdir
='${datarootdir}/doc/${PACKAGE}'
822 infodir
='${datarootdir}/info'
827 libdir
='${exec_prefix}/lib'
828 localedir
='${datarootdir}/locale'
829 mandir
='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\
$ac_option
843 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
855 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
858 -build |
--build |
--buil |
--bui |
--bu)
859 ac_prev
=build_alias
;;
860 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
861 build_alias
=$ac_optarg ;;
863 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
864 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
865 ac_prev
=cache_file
;;
866 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
867 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
868 cache_file
=$ac_optarg ;;
871 cache_file
=config.cache
;;
873 -datadir |
--datadir |
--datadi |
--datad)
875 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
876 datadir
=$ac_optarg ;;
878 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
879 |
--dataroo |
--dataro |
--datar)
880 ac_prev
=datarootdir
;;
881 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
882 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
883 datarootdir
=$ac_optarg ;;
885 -disable-* |
--disable-*)
886 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
889 as_fn_error
"invalid feature name: $ac_useropt"
890 ac_useropt_orig
=$ac_useropt
891 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep
=', ';;
899 eval enable_
$ac_useropt=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
915 as_fn_error
"invalid feature name: $ac_useropt"
916 ac_useropt_orig
=$ac_useropt
917 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
922 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep
=', ';;
925 eval enable_
$ac_useropt=\
$ac_optarg ;;
927 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
928 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
929 |
--exec |
--exe |
--ex)
930 ac_prev
=exec_prefix
;;
931 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
932 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
933 |
--exec=* |
--exe=* |
--ex=*)
934 exec_prefix
=$ac_optarg ;;
936 -gas |
--gas |
--ga |
--g)
937 # Obsolete; use --with-gas.
940 -help |
--help |
--hel |
--he |
-h)
942 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
943 ac_init_help
=recursive
;;
944 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
945 ac_init_help
=short
;;
947 -host |
--host |
--hos |
--ho)
948 ac_prev
=host_alias
;;
949 -host=* |
--host=* |
--hos=* |
--ho=*)
950 host_alias
=$ac_optarg ;;
952 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
954 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
956 htmldir
=$ac_optarg ;;
958 -includedir |
--includedir |
--includedi |
--included |
--include \
959 |
--includ |
--inclu |
--incl |
--inc)
960 ac_prev
=includedir
;;
961 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
962 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
963 includedir
=$ac_optarg ;;
965 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
967 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
968 infodir
=$ac_optarg ;;
970 -libdir |
--libdir |
--libdi |
--libd)
972 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
975 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
976 |
--libexe |
--libex |
--libe)
977 ac_prev
=libexecdir
;;
978 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
979 |
--libexe=* |
--libex=* |
--libe=*)
980 libexecdir
=$ac_optarg ;;
982 -localedir |
--localedir |
--localedi |
--localed |
--locale)
984 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
985 localedir
=$ac_optarg ;;
987 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
988 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
989 ac_prev
=localstatedir
;;
990 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
991 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
992 localstatedir
=$ac_optarg ;;
994 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
996 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 # Obsolete; use --without-fp.
1003 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1004 |
--no-cr |
--no-c |
-n)
1007 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1008 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1011 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1012 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1013 |
--oldin |
--oldi |
--old |
--ol |
--o)
1014 ac_prev
=oldincludedir
;;
1015 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1016 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1017 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1018 oldincludedir
=$ac_optarg ;;
1020 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1022 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1023 prefix
=$ac_optarg ;;
1025 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1026 |
--program-pre |
--program-pr |
--program-p)
1027 ac_prev
=program_prefix
;;
1028 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1029 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1030 program_prefix
=$ac_optarg ;;
1032 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1033 |
--program-suf |
--program-su |
--program-s)
1034 ac_prev
=program_suffix
;;
1035 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1036 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1037 program_suffix
=$ac_optarg ;;
1039 -program-transform-name |
--program-transform-name \
1040 |
--program-transform-nam |
--program-transform-na \
1041 |
--program-transform-n |
--program-transform- \
1042 |
--program-transform |
--program-transfor \
1043 |
--program-transfo |
--program-transf \
1044 |
--program-trans |
--program-tran \
1045 |
--progr-tra |
--program-tr |
--program-t)
1046 ac_prev
=program_transform_name
;;
1047 -program-transform-name=* |
--program-transform-name=* \
1048 |
--program-transform-nam=* |
--program-transform-na=* \
1049 |
--program-transform-n=* |
--program-transform-=* \
1050 |
--program-transform=* |
--program-transfor=* \
1051 |
--program-transfo=* |
--program-transf=* \
1052 |
--program-trans=* |
--program-tran=* \
1053 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1054 program_transform_name
=$ac_optarg ;;
1056 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1058 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1059 pdfdir
=$ac_optarg ;;
1061 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1063 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1067 |
-silent |
--silent |
--silen |
--sile |
--sil)
1070 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1072 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1074 sbindir
=$ac_optarg ;;
1076 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1077 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1078 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1080 ac_prev
=sharedstatedir
;;
1081 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1082 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1083 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1085 sharedstatedir
=$ac_optarg ;;
1087 -site |
--site |
--sit)
1089 -site=* |
--site=* |
--sit=*)
1092 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1094 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1095 srcdir
=$ac_optarg ;;
1097 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1098 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1099 ac_prev
=sysconfdir
;;
1100 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1101 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1102 sysconfdir
=$ac_optarg ;;
1104 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1105 ac_prev
=target_alias
;;
1106 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1107 target_alias
=$ac_optarg ;;
1109 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1112 -version |
--version |
--versio |
--versi |
--vers |
-V)
1113 ac_init_version
=: ;;
1116 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=\
$ac_optarg ;;
1131 -without-* |
--without-*)
1132 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1135 as_fn_error
"invalid package name: $ac_useropt"
1136 ac_useropt_orig
=$ac_useropt
1137 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep
=', ';;
1145 eval with_
$ac_useropt=no
;;
1148 # Obsolete; use --with-x.
1151 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1152 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1153 ac_prev
=x_includes
;;
1154 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1155 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1156 x_includes
=$ac_optarg ;;
1158 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1159 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1160 ac_prev
=x_libraries
;;
1161 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1162 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1163 x_libraries
=$ac_optarg ;;
1165 -*) as_fn_error
"unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information."
1170 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1174 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1176 eval $ac_envvar=\
$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1190 if test -n "$ac_prev"; then
1191 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error
"missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1198 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 # Check all directory arguments for consistency.
1204 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val
=\$
$ac_var
1210 # Remove trailing slashes.
1213 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\
$ac_val;;
1216 # Be sure to have absolute directory names.
1218 [\\/$
]* | ?
:[\\/]* ) continue;;
1219 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1221 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1229 target
=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x
; then
1233 if test "x$build_alias" = x
; then
1234 cross_compiling
=maybe
1235 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1236 If a cross compiler is detected then cross compile mode will be used." >&2
1237 elif test "x$build_alias" != "x$host_alias"; then
1243 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1245 test "$silent" = yes && exec 6>/dev
/null
1248 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di
=`ls -di .` &&
1250 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error
"working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error
"pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted
=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir
=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted
=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1292 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var
in $ac_precious_vars; do
1309 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1311 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures this package to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1380 --program-prefix=PREFIX prepend PREFIX to installed program names
1381 --program-suffix=SUFFIX append SUFFIX to installed program names
1382 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1385 --build=BUILD configure
for building on BUILD
[guessed
]
1386 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1387 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1391 if test -n "$ac_init_help"; then
1396 --disable-option-checking ignore unrecognized
--enable/--with options
1397 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1398 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1399 --disable-dependency-tracking speeds up one-time build
1400 --enable-dependency-tracking do not reject slow dependency extractors
1401 --enable-plugins Enable support
for plugins
(defaults no
)
1402 --disable-largefile omit support
for large files
1403 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1404 --enable-static[=PKGS
] build static libraries
[default
=yes]
1405 --enable-fast-install[=PKGS
]
1406 optimize
for fast installation
[default
=yes]
1407 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1408 --enable-targets alternative target configurations besides the primary
1409 --enable-checking enable run-time checks
1410 --enable-werror treat compile warnings as errors
1411 --enable-build-warnings enable build-time compiler warnings
1412 --disable-nls do not use Native Language Support
1413 --enable-maintainer-mode enable make rules and dependencies not useful
1414 (and sometimes confusing
) to the casual installer
1417 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1418 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1419 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1421 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1423 Some influential environment variables
:
1424 CC C compiler
command
1425 CFLAGS C compiler flags
1426 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1427 nonstandard directory
<lib dir
>
1428 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1429 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1430 you have headers
in a nonstandard directory
<include dir
>
1432 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1433 the first program found out of: `bison
-y', `byacc', `yacc'.
1434 YFLAGS The list of arguments that will be passed by default to $YACC.
1435 This script will default YFLAGS to the empty string to avoid a
1436 default value of `-d' given by some make applications.
1438 Use these variables to override the choices made by `configure' or to
help
1439 it to
find libraries and programs with nonstandard names
/locations.
1441 Report bugs to the package provider.
1446 if test "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1449 test -d "$ac_dir" ||
1450 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1457 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1458 # A ".." for each directory in $ac_dir_suffix.
1459 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1460 case $ac_top_builddir_sub in
1461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1465 ac_abs_top_builddir
=$ac_pwd
1466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1467 # for backward compatibility:
1468 ac_top_builddir
=$ac_top_build_prefix
1471 .
) # We are building in place.
1473 ac_top_srcdir
=$ac_top_builddir_sub
1474 ac_abs_top_srcdir
=$ac_pwd ;;
1475 [\\/]* | ?
:[\\/]* ) # Absolute name.
1476 ac_srcdir
=$srcdir$ac_dir_suffix;
1477 ac_top_srcdir
=$srcdir
1478 ac_abs_top_srcdir
=$srcdir ;;
1480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1486 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1487 # Check for guested configure.
1488 if test -f "$ac_srcdir/configure.gnu"; then
1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1491 elif test -f "$ac_srcdir/configure"; then
1493 $SHELL "$ac_srcdir/configure" --help=recursive
1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1497 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1501 test -n "$ac_init_help" && exit $ac_status
1502 if $ac_init_version; then
1505 generated by GNU Autoconf
2.64
1507 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1508 This configure
script is free software
; the Free Software Foundation
1509 gives unlimited permission to copy
, distribute and modify it.
1514 ## ------------------------ ##
1515 ## Autoconf initialization. ##
1516 ## ------------------------ ##
1518 # ac_fn_c_try_compile LINENO
1519 # --------------------------
1520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_compile
()
1523 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1524 rm -f conftest.
$ac_objext
1525 if { { ac_try
="$ac_compile"
1527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1528 *) ac_try_echo=$ac_try;;
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_compile") 2>conftest.err
1534 if test -s conftest.err; then
1535 grep -v '^ *+' conftest.err >conftest.er1
1536 cat conftest.er1 >&5
1537 mv -f conftest.er1 conftest.err
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && {
1541 test -z "$ac_c_werror_flag" ||
1542 test ! -s conftest.err
1543 } && test -s conftest.$ac_objext; then :
1546 $as_echo "$as_me: failed program was:" >&5
1547 sed 's/^/| /' conftest.$ac_ext >&5
1551 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554 } # ac_fn_c_try_compile
1556 # ac_fn_c_try_link LINENO
1557 # -----------------------
1558 # Try to link conftest.$ac_ext, and return whether this succeeded.
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext conftest$ac_exeext
1563 if { { ac_try="$ac_link"
1565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1566 *) ac_try_echo
=$ac_try;;
1568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_link") 2>conftest.err
1572 if test -s conftest.err
; then
1573 grep -v '^ *+' conftest.err
>conftest.er1
1574 cat conftest.er1
>&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest
$ac_exeext && {
1582 test "$cross_compiling" = yes ||
1583 $as_test_x conftest
$ac_exeext
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.
$ac_ext >&5
1592 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1593 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1594 # interfere with the next link command; also delete a directory that is
1595 # left behind by Apple's compiler. We do this before executing the actions.
1596 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1600 } # ac_fn_c_try_link
1602 # ac_fn_c_try_cpp LINENO
1603 # ----------------------
1604 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1607 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1608 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } >/dev/null && {
1624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1642 # the include files in INCLUDES and setting the cache variable VAR
1644 ac_fn_c_check_header_mongrel ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1651 $as_echo_n "(cached) " >&6
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1657 # Is the header compilable?
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1659 $as_echo_n "checking $2 usability... " >&6; }
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1666 ac_header_compiler=yes
1668 ac_header_compiler=no
1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1672 $as_echo "$ac_header_compiler" >&6; }
1674 # Is the header present?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1676 $as_echo_n "checking $2 presence... " >&6; }
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1681 if ac_fn_c_try_cpp "$LINENO"; then :
1682 ac_header_preproc=yes
1684 ac_header_preproc=no
1686 rm -f conftest.err conftest.$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1688 $as_echo "$ac_header_preproc" >&6; }
1690 # So? What about this header?
1691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1694 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1700 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1702 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1704 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1706 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1708 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712 $as_echo_n "checking for $2... " >&6; }
1713 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1714 $as_echo_n "(cached) " >&6
1716 eval "$3=\$ac_header_compiler"
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 } # ac_fn_c_check_header_mongrel
1726 # ac_fn_c_try_run LINENO
1727 # ----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729 # that executables *can* be run.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if { { ac_try="$ac_link"
1735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1736 *) ac_try_echo
=$ac_try;;
1738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1744 { { case "(($ac_try" in
1745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_try") 2>&5
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; }; }; then :
1756 $as_echo "$as_me: program exited with status $ac_status" >&5
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=$ac_status
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists and can be compiled using the include files in
1771 # INCLUDES, setting the cache variable VAR accordingly.
1772 ac_fn_c_check_header_compile ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1785 if ac_fn_c_try_compile "$LINENO"; then :
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 } # ac_fn_c_check_header_compile
1799 # ac_fn_c_check_func LINENO FUNC VAR
1800 # ----------------------------------
1801 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1802 ac_fn_c_check_func ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806 $as_echo_n "checking for $2... " >&6; }
1807 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1808 $as_echo_n "(cached) " >&6
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h. */
1812 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1814 #define $2 innocuous_$2
1816 /* System header to define __stub macros and hopefully few prototypes,
1817 which can conflict with char $2 (); below.
1818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1819 <limits.h> exists even on freestanding compilers. */
1822 # include <limits.h>
1824 # include <assert.h>
1829 /* Override any GCC internal prototype to avoid an error.
1830 Use char because int might match the return type of a GCC
1831 builtin and then its argument prototype would still apply. */
1836 /* The GNU C library defines this for functions which it implements
1837 to always fail with ENOSYS. Some functions are actually named
1838 something starting with __ and the normal name is an alias. */
1839 #if defined __stub_$2 || defined __stub___$2
1851 if ac_fn_c_try_link "$LINENO"; then :
1856 rm -f core conftest.err conftest.$ac_objext \
1857 conftest$ac_exeext conftest.$ac_ext
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864 } # ac_fn_c_check_func
1866 # ac_fn_c_check_decl LINENO SYMBOL VAR
1867 # ------------------------------------
1868 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1869 ac_fn_c_check_decl ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1873 $as_echo_n "checking whether $2 is declared... " >&6; }
1874 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 $as_echo_n "(cached) " >&6
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1891 if ac_fn_c_try_compile "$LINENO"; then :
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_check_decl
1904 cat >config.log <<_ACEOF
1905 This file contains any messages produced by compilers while
1906 running configure, to aid debugging if configure makes a mistake.
1908 It was created by $as_me, which was
1909 generated by GNU Autoconf 2.64. Invocation command line was
1921 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1922 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1923 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1924 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1925 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1927 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1928 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1930 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1931 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1932 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1933 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1934 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1935 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1936 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir=.
1945 $as_echo "PATH: $as_dir"
1961 # Keep a trace of the command line.
1962 # Strip out --no-create and --no-recursion so they do not pile up.
1963 # Strip out --silent because we don't want to record it for future runs.
1964 # Also quote any args containing shell meta-characters.
1965 # Make two passes to allow for proper duplicate-argument suppression.
1969 ac_must_keep_next=false
1975 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1977 | -silent | --silent | --silen | --sile | --sil)
1980 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1983 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1985 as_fn_append ac_configure_args1 " '$ac_arg'"
1986 if test $ac_must_keep_next = true; then
1987 ac_must_keep_next=false # Got value, back to normal.
1990 *=* | --config-cache | -C | -disable-* | --disable-* \
1991 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1992 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1993 | -with-* | --with-* | -without-* | --without-* | --x)
1994 case "$ac_configure_args0 " in
1995 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1998 -* ) ac_must_keep_next=true ;;
2001 as_fn_append ac_configure_args " '$ac_arg'"
2006 { ac_configure_args0=; unset ac_configure_args0;}
2007 { ac_configure_args1=; unset ac_configure_args1;}
2009 # When interrupted or exit'd, cleanup temporary files, and complete
2010 # config.log. We remove comments because anyway the quotes in there
2011 # would cause problems or look ugly.
2012 # WARNING: Use '\'' to represent an apostrophe within the trap.
2013 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2014 trap 'exit_status=$?
2015 # Save into config.log some information that might help in debugging.
2020 ## ---------------- ##
2021 ## Cache variables. ##
2022 ## ---------------- ##
2025 # The following way of writing the cache mishandles newlines in values,
2027 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2028 eval ac_val=\$$ac_var
2032 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2033 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2036 _ | IFS | as_nl) ;; #(
2037 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2038 *) { eval $ac_var=; unset $ac_var;} ;;
2043 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2044 *${as_nl}ac_space=\ *)
2046 "s/'\''/'\''\\\\'\'''\''/g;
2047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2050 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2058 ## ----------------- ##
2059 ## Output variables. ##
2060 ## ----------------- ##
2063 for ac_var in $ac_subst_vars
2065 eval ac_val=\$$ac_var
2067 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2069 $as_echo "$ac_var='\''$ac_val'\''"
2073 if test -n "$ac_subst_files"; then
2075 ## ------------------- ##
2076 ## File substitutions. ##
2077 ## ------------------- ##
2080 for ac_var in $ac_subst_files
2082 eval ac_val=\$$ac_var
2084 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2086 $as_echo "$ac_var='\''$ac_val'\''"
2091 if test -s confdefs.h; then
2101 test "$ac_signal" != 0 &&
2102 $as_echo "$as_me: caught signal $ac_signal"
2103 $as_echo "$as_me: exit $exit_status"
2105 rm -f core *.core core.conftest.* &&
2106 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2109 for ac_signal in 1 2 13 15; do
2110 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2115 rm -f -r conftest* confdefs.h
2117 $as_echo "/* confdefs.h */" > confdefs.h
2119 # Predefined preprocessor variables.
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_NAME "$PACKAGE_NAME"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_STRING "$PACKAGE_STRING"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_URL "$PACKAGE_URL"
2146 # Let the site file select an alternate cache file if it wants to.
2147 # Prefer an explicitly selected file to automatically selected ones.
2150 if test -n "$CONFIG_SITE"; then
2151 ac_site_file1=$CONFIG_SITE
2152 elif test "x$prefix" != xNONE; then
2153 ac_site_file1=$prefix/share/config.site
2154 ac_site_file2=$prefix/etc/config.site
2156 ac_site_file1=$ac_default_prefix/share/config.site
2157 ac_site_file2=$ac_default_prefix/etc/config.site
2159 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2161 test "x$ac_site_file" = xNONE && continue
2162 if test -r "$ac_site_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2165 sed 's/^/| /' "$ac_site_file" >&5
2170 if test -r "$cache_file"; then
2171 # Some versions of bash will fail to source /dev/null (special
2172 # files actually), so we avoid doing that.
2173 if test -f "$cache_file"; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2175 $as_echo "$as_me: loading cache $cache_file" >&6;}
2177 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2178 *) . "./$cache_file";;
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2183 $as_echo "$as_me: creating cache $cache_file" >&6;}
2187 # Check that the precious variables saved in the cache have kept the same
2189 ac_cache_corrupted=false
2190 for ac_var in $ac_precious_vars; do
2191 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2192 eval ac_new_set=\$ac_env_${ac_var}_set
2193 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2194 eval ac_new_val=\$ac_env_${ac_var}_value
2195 case $ac_old_set,$ac_new_set in
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2198 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2199 ac_cache_corrupted=: ;;
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2202 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2203 ac_cache_corrupted=: ;;
2206 if test "x$ac_old_val" != "x$ac_new_val"; then
2207 # differences in whitespace do not lead to failure.
2208 ac_old_val_w=`echo x
$ac_old_val`
2209 ac_new_val_w=`echo x
$ac_new_val`
2210 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2212 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2213 ac_cache_corrupted=:
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2216 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2217 eval $ac_var=\$ac_old_val
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2220 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2222 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2225 # Pass precious variables to config.status.
2226 if test "$ac_new_set" = set; then
2228 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2229 *) ac_arg=$ac_var=$ac_new_val ;;
2231 case " $ac_configure_args " in
2232 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2233 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2237 if $ac_cache_corrupted; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2241 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2242 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2244 ## -------------------- ##
2245 ## Main body of script. ##
2246 ## -------------------- ##
2249 ac_cpp='$CPP $CPPFLAGS'
2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2261 for ac_dir in .. "$srcdir"/..; do
2262 for ac_t in install-sh install.sh shtool; do
2263 if test -f "$ac_dir/$ac_t"; then
2265 ac_install_sh="$ac_aux_dir/$ac_t -c"
2270 if test -z "$ac_aux_dir"; then
2271 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2274 # These three variables are undocumented and unsupported,
2275 # and are intended to be withdrawn in a future Autoconf release.
2276 # They can cause serious problems if a builder's source tree is in a directory
2277 # whose full name contains unusual characters.
2278 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2279 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2280 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2283 # Make sure we can run config.sub.
2284 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2285 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2288 $as_echo_n "checking build system type... " >&6; }
2289 if test "${ac_cv_build+set}" = set; then :
2290 $as_echo_n "(cached) " >&6
2292 ac_build_alias=$build_alias
2293 test "x$ac_build_alias" = x &&
2294 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2295 test "x$ac_build_alias" = x &&
2296 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2297 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2298 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2302 $as_echo "$ac_cv_build" >&6; }
2303 case $ac_cv_build in
2305 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2308 ac_save_IFS=$IFS; IFS='-'
2314 # Remember, the first character of IFS is used to create $*,
2315 # except with old shells:
2318 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2322 $as_echo_n "checking host system type... " >&6; }
2323 if test "${ac_cv_host+set}" = set; then :
2324 $as_echo_n "(cached) " >&6
2326 if test "x$host_alias" = x; then
2327 ac_cv_host=$ac_cv_build
2329 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2330 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2335 $as_echo "$ac_cv_host" >&6; }
2338 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2341 ac_save_IFS=$IFS; IFS='-'
2347 # Remember, the first character of IFS is used to create $*,
2348 # except with old shells:
2351 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2355 $as_echo_n "checking target system type... " >&6; }
2356 if test "${ac_cv_target+set}" = set; then :
2357 $as_echo_n "(cached) " >&6
2359 if test "x$target_alias" = x; then
2360 ac_cv_target=$ac_cv_host
2362 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2363 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2368 $as_echo "$ac_cv_target" >&6; }
2369 case $ac_cv_target in
2371 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2373 target=$ac_cv_target
2374 ac_save_IFS=$IFS; IFS='-'
2380 # Remember, the first character of IFS is used to create $*,
2381 # except with old shells:
2384 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2387 # The aliases save the names the user supplied, while $host etc.
2388 # will get canonicalized.
2389 test -n "$target_alias" &&
2390 test "$program_prefix$program_suffix$program_transform_name" = \
2392 program_prefix=${target_alias}-
2394 ac_cpp='$CPP $CPPFLAGS'
2395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2398 if test -n "$ac_tool_prefix"; then
2399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2400 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402 $as_echo_n "checking for $ac_word... " >&6; }
2403 if test "${ac_cv_prog_CC+set}" = set; then :
2404 $as_echo_n "(cached) " >&6
2406 if test -n "$CC"; then
2407 ac_cv_prog_CC="$CC" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 if test -n "$CC"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2429 $as_echo "$CC" >&6; }
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2437 if test -z "$ac_cv_prog_CC"; then
2439 # Extract the first word of "gcc", so it can be a program name with args.
2440 set dummy gcc; ac_word=$2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2444 $as_echo_n "(cached) " >&6
2446 if test -n "$ac_ct_CC"; then
2447 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir=.
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2456 ac_cv_prog_ac_ct_CC="gcc"
2457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2467 if test -n "$ac_ct_CC"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2469 $as_echo "$ac_ct_CC" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2475 if test "x$ac_ct_CC" = x; then
2478 case $cross_compiling:$ac_tool_warned in
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2482 ac_tool_warned=yes ;;
2490 if test -z "$CC"; then
2491 if test -n "$ac_tool_prefix"; then
2492 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2493 set dummy ${ac_tool_prefix}cc; ac_word=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if test "${ac_cv_prog_CC+set}" = set; then :
2497 $as_echo_n "(cached) " >&6
2499 if test -n "$CC"; then
2500 ac_cv_prog_CC="$CC" # Let the user override the test.
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_CC="${ac_tool_prefix}cc"
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 if test -n "$CC"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2522 $as_echo "$CC" >&6; }
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2531 if test -z "$CC"; then
2532 # Extract the first word of "cc", so it can be a program name with args.
2533 set dummy cc; ac_word=$2
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535 $as_echo_n "checking for $ac_word... " >&6; }
2536 if test "${ac_cv_prog_CC+set}" = set; then :
2537 $as_echo_n "(cached) " >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC="$CC" # Let the user override the test.
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2551 ac_prog_rejected=yes
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 if test $ac_prog_rejected = yes; then
2563 # We found a bogon in the path, so make sure we never use it.
2564 set dummy $ac_cv_prog_CC
2566 if test $# != 0; then
2567 # We chose a different compiler from the bogus one.
2568 # However, it has the same basename, so the bogon will be chosen
2569 # first if we set CC to just the basename; use the full file name.
2571 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2577 if test -n "$CC"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2579 $as_echo "$CC" >&6; }
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 $as_echo "no" >&6; }
2587 if test -z "$CC"; then
2588 if test -n "$ac_tool_prefix"; then
2589 for ac_prog in cl.exe
2591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if test "${ac_cv_prog_CC+set}" = set; then :
2596 $as_echo_n "(cached) " >&6
2598 if test -n "$CC"; then
2599 ac_cv_prog_CC="$CC" # Let the user override the test.
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 if test -n "$CC"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2621 $as_echo "$CC" >&6; }
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624 $as_echo "no" >&6; }
2628 test -n "$CC" && break
2631 if test -z "$CC"; then
2633 for ac_prog in cl.exe
2635 # Extract the first word of "$ac_prog", so it can be a program name with args.
2636 set dummy $ac_prog; ac_word=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2640 $as_echo_n "(cached) " >&6
2642 if test -n "$ac_ct_CC"; then
2643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652 ac_cv_prog_ac_ct_CC="$ac_prog"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2663 if test -n "$ac_ct_CC"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2665 $as_echo "$ac_ct_CC" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2672 test -n "$ac_ct_CC" && break
2675 if test "x$ac_ct_CC" = x; then
2678 case $cross_compiling:$ac_tool_warned in
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2682 ac_tool_warned=yes ;;
2691 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693 as_fn_error "no acceptable C compiler found
in \
$PATH
2694 See \
`config.log' for more details." "$LINENO" 5; }
2696 # Provide some information about the compiler.
2697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2700 for ac_option in --version -v -V -qversion; do
2701 { { ac_try="$ac_compiler $ac_option >&5"
2703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2704 *) ac_try_echo
=$ac_try;;
2706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2707 $as_echo "$ac_try_echo"; } >&5
2708 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2710 if test -s conftest.err
; then
2712 ... rest of stderr output deleted ...
2713 10q' conftest.err
>conftest.er1
2714 cat conftest.er1
>&5
2715 rm -f conftest.er1 conftest.err
2717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2718 test $ac_status = 0; }
2721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2732 ac_clean_files_save
=$ac_clean_files
2733 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2734 # Try to create an executable without -o first, disregard a.out.
2735 # It will help us diagnose broken compilers, and finding out an intuition
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2738 $as_echo_n "checking for C compiler default output file name... " >&6; }
2739 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2741 # The possible output files:
2742 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2745 for ac_file
in $ac_files
2748 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2749 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2754 if { { ac_try
="$ac_link_default"
2756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_link_default") 2>&5
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; }; then :
2765 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2766 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2767 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2768 # so that the user can short-circuit this test for compilers unknown to
2770 for ac_file in $ac_files ''
2772 test -f "$ac_file" || continue
2774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2777 # We found the default executable, but exeext='' is most
2781 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2783 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2785 # We set ac_cv_exeext here because the later test for it is not
2786 # safe: cross compilers may not add the suffix if given an `-o'
2787 # argument, so we may need to know it at that point already.
2788 # Even if this section looks crufty: it has the advantage of
2795 test "$ac_cv_exeext" = no && ac_cv_exeext=
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2801 $as_echo "$ac_file" >&6; }
2802 if test -z "$ac_file"; then :
2803 $as_echo "$as_me: failed program was:" >&5
2804 sed 's
/^
/|
/' conftest.$ac_ext >&5
2806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2807 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2808 { as_fn_set_status 77
2809 as_fn_error "C compiler cannot create executables
2810 See \`config.log
' for more details." "$LINENO" 5; }; }
2812 ac_exeext=$ac_cv_exeext
2814 # Check that the compiler produces executables we can run. If not, either
2815 # the compiler is broken, or we cross compile.
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2817 $as_echo_n "checking whether the C compiler works... " >&6; }
2818 # If not cross compiling, check that we can run a simple program.
2819 if test "$cross_compiling" != yes; then
2820 if { ac_try='.
/$ac_file'
2821 { { case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_try") 2>&5
2829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2830 test $ac_status = 0; }; }; then
2833 if test "$cross_compiling" = maybe; then
2836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2837 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2838 as_fn_error "cannot run C compiled programs.
2839 If you meant to cross compile, use \`--host'.
2840 See \`config.log' for more details.
" "$LINENO" 5; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2845 $as_echo "yes" >&6; }
2847 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2848 ac_clean_files=$ac_clean_files_save
2849 # Check that the compiler produces executables we can run. If not, either
2850 # the compiler is broken, or we cross compile.
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2852 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2854 $as_echo "$cross_compiling" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2857 $as_echo_n "checking
for suffix of executables...
" >&6; }
2858 if { { ac_try="$ac_link"
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2863 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_link") 2>&5
2867 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2868 test $ac_status = 0; }; then :
2869 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2870 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2871 # work properly (i.e., refer to `conftest.exe'), while it won't with
2873 for ac_file in conftest.exe conftest conftest.*; do
2874 test -f "$ac_file" || continue
2876 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2877 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2885 as_fn_error "cannot compute suffix of executables: cannot compile and link
2886 See \`config.log' for more details.
" "$LINENO" 5; }
2888 rm -f conftest$ac_cv_exeext
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2890 $as_echo "$ac_cv_exeext" >&6; }
2892 rm -f conftest.$ac_ext
2893 EXEEXT=$ac_cv_exeext
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
2896 $as_echo_n "checking
for suffix of object files...
" >&6; }
2897 if test "${ac_cv_objext+set}" = set; then :
2898 $as_echo_n "(cached
) " >&6
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2911 rm -f conftest.o conftest.obj
2912 if { { ac_try="$ac_compile"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_compile") 2>&5
2921 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2922 test $ac_status = 0; }; then :
2923 for ac_file in conftest.o conftest.obj conftest.*; do
2924 test -f "$ac_file" || continue;
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2927 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2932 $as_echo "$as_me: failed program was
:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2937 as_fn_error "cannot compute suffix of object files: cannot compile
2938 See \`config.log' for more details.
" "$LINENO" 5; }
2940 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
2943 $as_echo "$ac_cv_objext" >&6; }
2944 OBJEXT=$ac_cv_objext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
2947 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
2948 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2949 $as_echo_n "(cached
) " >&6
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2965 if ac_fn_c_try_compile "$LINENO"; then :
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
2975 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2976 if test $ac_compiler_gnu = yes; then
2981 ac_test_CFLAGS=${CFLAGS+set}
2982 ac_save_CFLAGS=$CFLAGS
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
2984 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
2985 if test "${ac_cv_prog_cc_g+set}" = set; then :
2986 $as_echo_n "(cached
) " >&6
2988 ac_save_c_werror_flag=$ac_c_werror_flag
2989 ac_c_werror_flag=yes
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
3003 if ac_fn_c_try_compile "$LINENO"; then :
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3018 if ac_fn_c_try_compile "$LINENO"; then :
3021 ac_c_werror_flag=$ac_save_c_werror_flag
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3034 if ac_fn_c_try_compile "$LINENO"; then :
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 ac_c_werror_flag=$ac_save_c_werror_flag
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3045 $as_echo "$ac_cv_prog_cc_g" >&6; }
3046 if test "$ac_test_CFLAGS" = set; then
3047 CFLAGS=$ac_save_CFLAGS
3048 elif test $ac_cv_prog_cc_g = yes; then
3049 if test "$GCC" = yes; then
3055 if test "$GCC" = yes; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3062 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3063 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3064 $as_echo_n "(cached
) " >&6
3066 ac_cv_prog_cc_c89=no
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3072 #include <sys/types.h>
3073 #include <sys/stat.h>
3074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3075 struct buf { int x; };
3076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3077 static char *e (p, i)
3083 static char *f (char * (*g) (char **, int), char **p, ...)
3088 s = g (p, va_arg (v,int));
3093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3094 function prototypes and stuff, but not '\xHH' hex character constants.
3095 These don't provoke an error unfortunately, instead are silently treated
3096 as 'x'. The following induces an error, until -std is added to get
3097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3098 array size at least. It's necessary to write '\x00'==0 to get something
3099 that's true only with -std. */
3100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3102 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3103 inside strings and character constants. */
3105 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3107 int test (int i, double x);
3108 struct s1 {int (*f) (int a);};
3109 struct s2 {int (*f) (double a);};
3110 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3116 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3121 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3122 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3124 CC="$ac_save_CC $ac_arg"
3125 if ac_fn_c_try_compile "$LINENO"; then :
3126 ac_cv_prog_cc_c89=$ac_arg
3128 rm -f core conftest.err conftest.$ac_objext
3129 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3131 rm -f conftest.$ac_ext
3136 case "x
$ac_cv_prog_cc_c89" in
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3139 $as_echo "none needed
" >&6; } ;;
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3142 $as_echo "unsupported
" >&6; } ;;
3144 CC="$CC $ac_cv_prog_cc_c89"
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3146 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3148 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3153 ac_cpp='$CPP $CPPFLAGS'
3154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing strerror
" >&5
3160 $as_echo_n "checking
for library containing strerror...
" >&6; }
3161 if test "${ac_cv_search_strerror+set}" = set; then :
3162 $as_echo_n "(cached
) " >&6
3164 ac_func_search_save_LIBS=$LIBS
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3168 /* Override any GCC internal prototype to avoid an error.
3169 Use char because int might match the return type of a GCC
3170 builtin and then its argument prototype would still apply. */
3183 for ac_lib in '' cposix; do
3184 if test -z "$ac_lib"; then
3185 ac_res="none required
"
3188 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3190 if ac_fn_c_try_link "$LINENO"; then :
3191 ac_cv_search_strerror=$ac_res
3193 rm -f core conftest.err conftest.$ac_objext \
3195 if test "${ac_cv_search_strerror+set}" = set; then :
3199 if test "${ac_cv_search_strerror+set}" = set; then :
3202 ac_cv_search_strerror=no
3205 LIBS=$ac_func_search_save_LIBS
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_strerror" >&5
3208 $as_echo "$ac_cv_search_strerror" >&6; }
3209 ac_res=$ac_cv_search_strerror
3210 if test "$ac_res" != no; then :
3211 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3216 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3217 am__api_version='1.11'
3219 # Find a good install program. We prefer a C program (faster),
3220 # so one script is as good as another. But avoid the broken or
3221 # incompatible versions:
3222 # SysV /etc/install, /usr/sbin/install
3223 # SunOS /usr/etc/install
3224 # IRIX /sbin/install
3226 # AmigaOS /C/install, which installs bootblocks on floppy discs
3227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3230 # OS/2's system install, which has a completely different semantic
3231 # ./install, which can be erroneously created by make from ./install.sh.
3232 # Reject install programs that cannot install multiple files.
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3234 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3235 if test -z "$INSTALL"; then
3236 if test "${ac_cv_path_install+set}" = set; then :
3237 $as_echo_n "(cached
) " >&6
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir=.
3244 # Account for people who put trailing slashes in PATH elements.
3245 case $as_dir/ in #((
3246 ./ | .// | /[cC]/* | \
3247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3248 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3251 # OSF1 and SCO ODT 3.0 have their own names for install.
3252 # Don't use installbsd from OSF since it installs stuff as root
3254 for ac_prog in ginstall scoinst install; do
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3257 if test $ac_prog = install &&
3258 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3259 # AIX install. It has an incompatible calling convention.
3261 elif test $ac_prog = install &&
3262 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3263 # program-specific install script used by HP pwplus--don't use.
3266 rm -rf conftest.one conftest.two conftest.dir
3267 echo one > conftest.one
3268 echo two > conftest.two
3270 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3271 test -s conftest.one && test -s conftest.two &&
3272 test -s conftest.dir/conftest.one &&
3273 test -s conftest.dir/conftest.two
3275 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3288 rm -rf conftest.one conftest.two conftest.dir
3291 if test "${ac_cv_path_install+set}" = set; then
3292 INSTALL=$ac_cv_path_install
3294 # As a last resort, use the slow shell script. Don't cache a
3295 # value for INSTALL within a source directory, because that will
3296 # break other packages using the cache if that directory is
3297 # removed, or if the value is a relative name.
3298 INSTALL=$ac_install_sh
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3302 $as_echo "$INSTALL" >&6; }
3304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3305 # It thinks the first close brace ends the variable substitution.
3306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3313 $as_echo_n "checking whether build environment is sane...
" >&6; }
3316 echo timestamp > conftest.file
3317 # Reject unsafe characters in $srcdir or the absolute working directory
3318 # name. Accept space and tab only in the latter.
3322 *[\\\"\#\$\&\'\`$am_lf]*)
3323 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3326 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3327 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3330 # Do `set' in a subshell so we don't clobber the current shell
's
3331 # arguments. Must try -L first in case configure is actually a
3332 # symlink; some systems play weird games with the mod time of symlinks
3333 # (eg FreeBSD returns the mod time of the symlink's containing
3336 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3337 if test "$*" = "X"; then
3339 set X
`ls -t "$srcdir/configure" conftest.file`
3342 if test "$*" != "X $srcdir/configure conftest.file" \
3343 && test "$*" != "X conftest.file $srcdir/configure"; then
3345 # If neither matched, then we have a broken ls. This can happen
3346 # if, for instance, CONFIG_SHELL is bash and it inherits a
3347 # broken ls alias from the environment. This has actually
3348 # happened. Such a system could not be considered "sane".
3349 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3350 alias in your environment" "$LINENO" 5
3353 test "$2" = conftest.
file
3359 as_fn_error
"newly created file is older than distributed files!
3360 Check your system clock" "$LINENO" 5
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363 $as_echo "yes" >&6; }
3364 test "$program_prefix" != NONE
&&
3365 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3366 # Use a double $ so make ignores it.
3367 test "$program_suffix" != NONE
&&
3368 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3369 # Double any \ or $.
3370 # By default was `s,x,x', remove it if useless.
3371 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3372 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3374 # expand $ac_aux_dir to an absolute path
3375 am_aux_dir
=`cd $ac_aux_dir && pwd`
3377 if test x
"${MISSING+set}" != xset
; then
3380 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3382 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3385 # Use eval to expand $SHELL
3386 if eval "$MISSING --run true"; then
3387 am_missing_run
="$MISSING --run "
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3391 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3394 if test x
"${install_sh}" != xset
; then
3397 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3399 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3403 # Installed binaries are usually stripped using `strip' when the user
3404 # run `make install-strip'. However `strip' might not be the right
3405 # tool to use in cross-compilation environments, therefore Automake
3406 # will honor the `STRIP' environment variable to overrule this program.
3407 if test "$cross_compiling" != no
; then
3408 if test -n "$ac_tool_prefix"; then
3409 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3410 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412 $as_echo_n "checking for $ac_word... " >&6; }
3413 if test "${ac_cv_prog_STRIP+set}" = set; then :
3414 $as_echo_n "(cached) " >&6
3416 if test -n "$STRIP"; then
3417 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3423 test -z "$as_dir" && as_dir
=.
3424 for ac_exec_ext
in '' $ac_executable_extensions; do
3425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3426 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 STRIP
=$ac_cv_prog_STRIP
3437 if test -n "$STRIP"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3439 $as_echo "$STRIP" >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3447 if test -z "$ac_cv_prog_STRIP"; then
3449 # Extract the first word of "strip", so it can be a program name with args.
3450 set dummy strip
; ac_word
=$2
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 $as_echo_n "checking for $ac_word... " >&6; }
3453 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3454 $as_echo_n "(cached) " >&6
3456 if test -n "$ac_ct_STRIP"; then
3457 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir
=.
3464 for ac_exec_ext
in '' $ac_executable_extensions; do
3465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3466 ac_cv_prog_ac_ct_STRIP
="strip"
3467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3476 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3477 if test -n "$ac_ct_STRIP"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3479 $as_echo "$ac_ct_STRIP" >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3485 if test "x$ac_ct_STRIP" = x
; then
3488 case $cross_compiling:$ac_tool_warned in
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3492 ac_tool_warned
=yes ;;
3497 STRIP
="$ac_cv_prog_STRIP"
3501 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3504 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3505 if test -z "$MKDIR_P"; then
3506 if test "${ac_cv_path_mkdir+set}" = set; then :
3507 $as_echo_n "(cached) " >&6
3509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3510 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3513 test -z "$as_dir" && as_dir
=.
3514 for ac_prog
in mkdir gmkdir
; do
3515 for ac_exec_ext
in '' $ac_executable_extensions; do
3516 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3517 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3518 'mkdir (GNU coreutils) '* | \
3519 'mkdir (coreutils) '* | \
3520 'mkdir (fileutils) '4.1*)
3521 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3531 if test "${ac_cv_path_mkdir+set}" = set; then
3532 MKDIR_P
="$ac_cv_path_mkdir -p"
3534 # As a last resort, use the slow shell script. Don't cache a
3535 # value for MKDIR_P within a source directory, because that will
3536 # break other packages using the cache if that directory is
3537 # removed, or if the value is a relative name.
3538 test -d .
/--version && rmdir .
/--version
3539 MKDIR_P
="$ac_install_sh -d"
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3543 $as_echo "$MKDIR_P" >&6; }
3547 [\\/$
]* | ?
:[\\/]*) ;;
3548 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3551 for ac_prog
in gawk mawk nawk
awk
3553 # Extract the first word of "$ac_prog", so it can be a program name with args.
3554 set dummy
$ac_prog; ac_word
=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_AWK+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$AWK"; then
3561 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570 ac_cv_prog_AWK
="$ac_prog"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 if test -n "$AWK"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3583 $as_echo "$AWK" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3590 test -n "$AWK" && break
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3596 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3597 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3598 $as_echo_n "(cached) " >&6
3600 cat >conftest.
make <<\_ACEOF
3603 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3605 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3608 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3610 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3614 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3616 $as_echo "yes" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3621 SET_MAKE
="MAKE=${MAKE-make}"
3624 rm -rf .tst
2>/dev
/null
3625 mkdir .tst
2>/dev
/null
3626 if test -d .tst
; then
3631 rmdir .tst
2>/dev
/null
3633 DEPDIR
="${am__leading_dot}deps"
3635 ac_config_commands
="$ac_config_commands depfiles"
3638 am_make
=${MAKE-make}
3639 cat > confinc
<< 'END'
3641 @
echo this is the am__doit target
3644 # If we don't find an include directive, just comment out the code.
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3646 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3650 # First try GNU make style include.
3651 echo "include confinc" > confmf
3652 # Ignore all kinds of additional output from `make'.
3653 case `$am_make -s -f confmf 2> /dev/null` in #(
3654 *the\ am__doit\ target
*)
3660 # Now try BSD make style include.
3661 if test "$am__include" = "#"; then
3662 echo '.include "confinc"' > confmf
3663 case `$am_make -s -f confmf 2> /dev/null` in #(
3664 *the\ am__doit\ target
*)
3665 am__include
=.include
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3674 $as_echo "$_am_result" >&6; }
3675 rm -f confinc confmf
3677 # Check whether --enable-dependency-tracking was given.
3678 if test "${enable_dependency_tracking+set}" = set; then :
3679 enableval
=$enable_dependency_tracking;
3682 if test "x$enable_dependency_tracking" != xno
; then
3683 am_depcomp
="$ac_aux_dir/depcomp"
3686 if test "x$enable_dependency_tracking" != xno; then
3695 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3696 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3697 # is not polluted with repeated "-I."
3698 am__isrc
=' -I$(srcdir)'
3699 # test to see if srcdir already configured
3700 if test -f $srcdir/config.status
; then
3701 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3705 # test whether we have cygpath
3706 if test -z "$CYGPATH_W"; then
3707 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3708 CYGPATH_W
='cygpath -w'
3715 # Define the identity of the package.
3717 VERSION
=${BFD_VERSION}
3720 cat >>confdefs.h
<<_ACEOF
3721 #define PACKAGE "$PACKAGE"
3725 cat >>confdefs.h
<<_ACEOF
3726 #define VERSION "$VERSION"
3729 # Some tools Automake needs.
3731 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3734 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3737 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3740 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3743 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3745 # We need awk for the "check" target. The system "awk" is bad on
3747 # Always define AMTAR for backward compatibility.
3749 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3751 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3756 depcc
="$CC" am_compiler_list
=
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3759 $as_echo_n "checking dependency style of $depcc... " >&6; }
3760 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3764 # We make a subdir and do the tests there. Otherwise we can end up
3765 # making bogus files that we don't know about and never remove. For
3766 # instance it was reported that on HP-UX the gcc test will end up
3767 # making a dummy file named `D' -- because `-MD' means `put the output
3770 # Copy depcomp to subdir because otherwise we won't find it if we're
3771 # using a relative directory.
3772 cp "$am_depcomp" conftest.dir
3774 # We will build objects and dependencies in a subdirectory because
3775 # it helps to detect inapplicable dependency modes. For instance
3776 # both Tru64's cc and ICC support -MD to output dependencies as a
3777 # side effect of compilation, but ICC will put the dependencies in
3778 # the current directory while Tru64 will put them in the object
3782 am_cv_CC_dependencies_compiler_type
=none
3783 if test "$am_compiler_list" = ""; then
3784 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3787 case " $depcc " in #(
3788 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3791 for depmode
in $am_compiler_list; do
3792 # Setup a source with many dependencies, because some compilers
3793 # like to wrap large dependency lists on column 80 (with \), and
3794 # we should not choose a depcomp mode which is confused by this.
3796 # We need to recreate these files for each test, as the compiler may
3797 # overwrite some of them when testing with obscure command lines.
3798 # This happens at least with the AIX C compiler.
3800 for i
in 1 2 3 4 5 6; do
3801 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3802 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3803 # Solaris 8's {/usr,}/bin/sh.
3804 touch sub
/conftst
$i.h
3806 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3808 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3809 # mode. It turns out that the SunPro C++ compiler does not properly
3810 # handle `-M -o', and we need to detect this. Also, some Intel
3811 # versions had trouble with output in subdirs
3812 am__obj
=sub
/conftest.
${OBJEXT-o}
3813 am__minus_obj
="-o $am__obj"
3816 # This depmode causes a compiler race in universal mode.
3817 test "$am__universal" = false ||
continue
3820 # after this tag, mechanisms are not by side-effect, so they'll
3821 # only be used when explicitly requested
3822 if test "x$enable_dependency_tracking" = xyes
; then
3828 msvisualcpp | msvcmsys
)
3829 # This compiler won't grok `-c -o', but also, the minuso test has
3830 # not run yet. These depmodes are late enough in the game, and
3831 # so weak that their functioning should not be impacted.
3832 am__obj
=conftest.
${OBJEXT-o}
3837 if depmode
=$depmode \
3838 source=sub
/conftest.c object
=$am__obj \
3839 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3840 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3841 >/dev
/null
2>conftest.err
&&
3842 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3843 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3844 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3845 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3846 # icc doesn't choke on unknown options, it will just issue warnings
3847 # or remarks (even with -Werror). So we grep stderr for any message
3848 # that says an option was ignored or not supported.
3849 # When given -MP, icc 7.0 and 7.1 complain thusly:
3850 # icc: Command line warning: ignoring option '-M'; no argument required
3851 # The diagnosis changed in icc 8.0:
3852 # icc: Command line remark: option '-MP' not supported
3853 if (grep 'ignoring option' conftest.err ||
3854 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3855 am_cv_CC_dependencies_compiler_type
=$depmode
3864 am_cv_CC_dependencies_compiler_type
=none
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3869 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3870 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3873 test "x$enable_dependency_tracking" != xno \
3874 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3876 am__fastdepCC_FALSE
='#'
3878 am__fastdepCC_TRUE
='#'
3879 am__fastdepCC_FALSE
=
3886 ac_cpp
='$CPP $CPPFLAGS'
3887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3890 if test -n "$ac_tool_prefix"; then
3891 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3892 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3894 $as_echo_n "checking for $ac_word... " >&6; }
3895 if test "${ac_cv_prog_CC+set}" = set; then :
3896 $as_echo_n "(cached) " >&6
3898 if test -n "$CC"; then
3899 ac_cv_prog_CC
="$CC" # Let the user override the test.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for ac_exec_ext
in '' $ac_executable_extensions; do
3907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3908 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 if test -n "$CC"; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3921 $as_echo "$CC" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3929 if test -z "$ac_cv_prog_CC"; then
3931 # Extract the first word of "gcc", so it can be a program name with args.
3932 set dummy gcc
; ac_word
=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 if test -n "$ac_ct_CC"; then
3939 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir
=.
3946 for ac_exec_ext
in '' $ac_executable_extensions; do
3947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948 ac_cv_prog_ac_ct_CC
="gcc"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3959 if test -n "$ac_ct_CC"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3961 $as_echo "$ac_ct_CC" >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3967 if test "x$ac_ct_CC" = x
; then
3970 case $cross_compiling:$ac_tool_warned in
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3974 ac_tool_warned
=yes ;;
3982 if test -z "$CC"; then
3983 if test -n "$ac_tool_prefix"; then
3984 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3985 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if test "${ac_cv_prog_CC+set}" = set; then :
3989 $as_echo_n "(cached) " >&6
3991 if test -n "$CC"; then
3992 ac_cv_prog_CC
="$CC" # Let the user override the test.
3994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3998 test -z "$as_dir" && as_dir
=.
3999 for ac_exec_ext
in '' $ac_executable_extensions; do
4000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4001 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4023 if test -z "$CC"; then
4024 # Extract the first word of "cc", so it can be a program name with args.
4025 set dummy cc
; ac_word
=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if test "${ac_cv_prog_CC+set}" = set; then :
4029 $as_echo_n "(cached) " >&6
4031 if test -n "$CC"; then
4032 ac_cv_prog_CC
="$CC" # Let the user override the test.
4035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir
=.
4040 for ac_exec_ext
in '' $ac_executable_extensions; do
4041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4043 ac_prog_rejected
=yes
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test $ac_prog_rejected = yes; then
4055 # We found a bogon in the path, so make sure we never use it.
4056 set dummy
$ac_cv_prog_CC
4058 if test $# != 0; then
4059 # We chose a different compiler from the bogus one.
4060 # However, it has the same basename, so the bogon will be chosen
4061 # first if we set CC to just the basename; use the full file name.
4063 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4069 if test -n "$CC"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4071 $as_echo "$CC" >&6; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4079 if test -z "$CC"; then
4080 if test -n "$ac_tool_prefix"; then
4081 for ac_prog
in cl.exe
4083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4084 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if test "${ac_cv_prog_CC+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC
="$CC" # Let the user override the test.
4093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4120 test -n "$CC" && break
4123 if test -z "$CC"; then
4125 for ac_prog
in cl.exe
4127 # Extract the first word of "$ac_prog", so it can be a program name with args.
4128 set dummy
$ac_prog; ac_word
=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4134 if test -n "$ac_ct_CC"; then
4135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4144 ac_cv_prog_ac_ct_CC
="$ac_prog"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4155 if test -n "$ac_ct_CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4157 $as_echo "$ac_ct_CC" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4164 test -n "$ac_ct_CC" && break
4167 if test "x$ac_ct_CC" = x
; then
4170 case $cross_compiling:$ac_tool_warned in
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4174 ac_tool_warned
=yes ;;
4183 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4185 as_fn_error
"no acceptable C compiler found in \$PATH
4186 See \`config.log' for more details." "$LINENO" 5; }
4188 # Provide some information about the compiler.
4189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4192 for ac_option
in --version -v -V -qversion; do
4193 { { ac_try
="$ac_compiler $ac_option >&5"
4195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4199 $as_echo "$ac_try_echo"; } >&5
4200 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4202 if test -s conftest.err; then
4204 ... rest of stderr output deleted ...
4205 10q' conftest.err >conftest.er1
4206 cat conftest.er1 >&5
4207 rm -f conftest.er1 conftest.err
4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4210 test $ac_status = 0; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4214 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4215 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4216 $as_echo_n "(cached) " >&6
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4232 if ac_fn_c_try_compile "$LINENO"; then :
4237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4242 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4243 if test $ac_compiler_gnu = yes; then
4248 ac_test_CFLAGS=${CFLAGS+set}
4249 ac_save_CFLAGS=$CFLAGS
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4251 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4252 if test "${ac_cv_prog_cc_g+set}" = set; then :
4253 $as_echo_n "(cached) " >&6
4255 ac_save_c_werror_flag=$ac_c_werror_flag
4256 ac_c_werror_flag=yes
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4270 if ac_fn_c_try_compile "$LINENO"; then :
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4285 if ac_fn_c_try_compile "$LINENO"; then :
4288 ac_c_werror_flag=$ac_save_c_werror_flag
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4301 if ac_fn_c_try_compile "$LINENO"; then :
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 ac_c_werror_flag=$ac_save_c_werror_flag
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4312 $as_echo "$ac_cv_prog_cc_g" >&6; }
4313 if test "$ac_test_CFLAGS" = set; then
4314 CFLAGS=$ac_save_CFLAGS
4315 elif test $ac_cv_prog_cc_g = yes; then
4316 if test "$GCC" = yes; then
4322 if test "$GCC" = yes; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4329 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4330 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4331 $as_echo_n "(cached) " >&6
4333 ac_cv_prog_cc_c89=no
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4339 #include <sys/types.h>
4340 #include <sys/stat.h>
4341 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4342 struct buf { int x; };
4343 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4344 static char *e (p, i)
4350 static char *f (char * (*g) (char **, int), char **p, ...)
4355 s = g (p, va_arg (v,int));
4360 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4361 function prototypes and stuff, but not '\xHH' hex character constants.
4362 These don't provoke an error unfortunately, instead are silently treated
4363 as 'x'. The following induces an error, until -std is added to get
4364 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4365 array size at least. It's necessary to write '\x00'==0 to get something
4366 that's true only with -std. */
4367 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4369 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4370 inside strings and character constants. */
4372 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4374 int test (int i, double x);
4375 struct s1 {int (*f) (int a);};
4376 struct s2 {int (*f) (double a);};
4377 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4383 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4388 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4389 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4391 CC="$ac_save_CC $ac_arg"
4392 if ac_fn_c_try_compile "$LINENO"; then :
4393 ac_cv_prog_cc_c89=$ac_arg
4395 rm -f core conftest.err conftest.$ac_objext
4396 test "x$ac_cv_prog_cc_c89" != "xno" && break
4398 rm -f conftest.$ac_ext
4403 case "x$ac_cv_prog_cc_c89" in
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4406 $as_echo "none needed" >&6; } ;;
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4409 $as_echo "unsupported" >&6; } ;;
4411 CC="$CC $ac_cv_prog_cc_c89"
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4413 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4415 if test "x$ac_cv_prog_cc_c89" != xno; then :
4420 ac_cpp='$CPP $CPPFLAGS'
4421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4426 ac_cpp='$CPP $CPPFLAGS'
4427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4432 # On Suns, sometimes $CPP names a directory.
4433 if test -n "$CPP" && test -d "$CPP"; then
4436 if test -z "$CPP"; then
4437 if test "${ac_cv_prog_CPP+set}" = set; then :
4438 $as_echo_n "(cached) " >&6
4440 # Double quotes because CPP needs to be expanded
4441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4444 for ac_c_preproc_warn_flag in '' yes
4446 # Use a header file that comes with gcc, so configuring glibc
4447 # with a fresh cross-compiler works.
4448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4449 # <limits.h> exists even on freestanding compilers.
4450 # On the NeXT, cc -E runs the code through the compiler's parser,
4451 # not just through cpp. "Syntax error" is here to catch this case.
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4455 # include <limits.h>
4457 # include <assert.h>
4461 if ac_fn_c_try_cpp "$LINENO"; then :
4464 # Broken: fails on valid input.
4467 rm -f conftest.err conftest.$ac_ext
4469 # OK, works on sane cases. Now check whether nonexistent headers
4470 # can be detected and how.
4471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h. */
4473 #include <ac_nonexistent.h>
4475 if ac_fn_c_try_cpp "$LINENO"; then :
4476 # Broken: success on invalid input.
4479 # Passes both tests.
4483 rm -f conftest.err conftest.$ac_ext
4486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4487 rm -f conftest.err conftest.
$ac_ext
4488 if $ac_preproc_ok; then :
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4501 $as_echo "$CPP" >&6; }
4503 for ac_c_preproc_warn_flag
in '' yes
4505 # Use a header file that comes with gcc, so configuring glibc
4506 # with a fresh cross-compiler works.
4507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4508 # <limits.h> exists even on freestanding compilers.
4509 # On the NeXT, cc -E runs the code through the compiler's parser,
4510 # not just through cpp. "Syntax error" is here to catch this case.
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4514 # include <limits.h>
4516 # include <assert.h>
4520 if ac_fn_c_try_cpp
"$LINENO"; then :
4523 # Broken: fails on valid input.
4526 rm -f conftest.err conftest.
$ac_ext
4528 # OK, works on sane cases. Now check whether nonexistent headers
4529 # can be detected and how.
4530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4532 #include <ac_nonexistent.h>
4534 if ac_fn_c_try_cpp
"$LINENO"; then :
4535 # Broken: success on invalid input.
4538 # Passes both tests.
4542 rm -f conftest.err conftest.
$ac_ext
4545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4546 rm -f conftest.err conftest.
$ac_ext
4547 if $ac_preproc_ok; then :
4550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4552 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4553 See \`config.log' for more details." "$LINENO" 5; }
4557 ac_cpp
='$CPP $CPPFLAGS'
4558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4564 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4565 if test "${ac_cv_path_GREP+set}" = set; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -z "$GREP"; then
4569 ac_path_GREP_found
=false
4570 # Loop through the user's path and test for each of PROGNAME-LIST
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4572 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_prog
in grep ggrep
; do
4577 for ac_exec_ext
in '' $ac_executable_extensions; do
4578 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4579 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4580 # Check for GNU ac_path_GREP and select it if it is found.
4581 # Check for GNU $ac_path_GREP
4582 case `"$ac_path_GREP" --version 2>&1` in
4584 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4587 $as_echo_n 0123456789 >"conftest.in"
4590 cat "conftest.in" "conftest.in" >"conftest.tmp"
4591 mv "conftest.tmp" "conftest.in"
4592 cp "conftest.in" "conftest.nl"
4593 $as_echo 'GREP' >> "conftest.nl"
4594 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4595 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4596 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4597 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4598 # Best one so far, save it but keep looking for a better one
4599 ac_cv_path_GREP
="$ac_path_GREP"
4600 ac_path_GREP_max
=$ac_count
4602 # 10*(2^10) chars as input seems more than enough
4603 test $ac_count -gt 10 && break
4605 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4608 $ac_path_GREP_found && break 3
4613 if test -z "$ac_cv_path_GREP"; then
4614 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4617 ac_cv_path_GREP
=$GREP
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4622 $as_echo "$ac_cv_path_GREP" >&6; }
4623 GREP
="$ac_cv_path_GREP"
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4627 $as_echo_n "checking for egrep... " >&6; }
4628 if test "${ac_cv_path_EGREP+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4632 then ac_cv_path_EGREP
="$GREP -E"
4634 if test -z "$EGREP"; then
4635 ac_path_EGREP_found
=false
4636 # Loop through the user's path and test for each of PROGNAME-LIST
4637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4641 test -z "$as_dir" && as_dir
=.
4642 for ac_prog
in egrep; do
4643 for ac_exec_ext
in '' $ac_executable_extensions; do
4644 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4645 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4646 # Check for GNU ac_path_EGREP and select it if it is found.
4647 # Check for GNU $ac_path_EGREP
4648 case `"$ac_path_EGREP" --version 2>&1` in
4650 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4653 $as_echo_n 0123456789 >"conftest.in"
4656 cat "conftest.in" "conftest.in" >"conftest.tmp"
4657 mv "conftest.tmp" "conftest.in"
4658 cp "conftest.in" "conftest.nl"
4659 $as_echo 'EGREP' >> "conftest.nl"
4660 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4661 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4662 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4663 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4664 # Best one so far, save it but keep looking for a better one
4665 ac_cv_path_EGREP
="$ac_path_EGREP"
4666 ac_path_EGREP_max
=$ac_count
4668 # 10*(2^10) chars as input seems more than enough
4669 test $ac_count -gt 10 && break
4671 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4674 $ac_path_EGREP_found && break 3
4679 if test -z "$ac_cv_path_EGREP"; then
4680 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4683 ac_cv_path_EGREP
=$EGREP
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4689 $as_echo "$ac_cv_path_EGREP" >&6; }
4690 EGREP
="$ac_cv_path_EGREP"
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4694 $as_echo_n "checking for ANSI C header files... " >&6; }
4695 if test "${ac_cv_header_stdc+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4713 if ac_fn_c_try_compile
"$LINENO"; then :
4714 ac_cv_header_stdc
=yes
4716 ac_cv_header_stdc
=no
4718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4720 if test $ac_cv_header_stdc = yes; then
4721 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4728 $EGREP "memchr" >/dev
/null
2>&1; then :
4731 ac_cv_header_stdc
=no
4737 if test $ac_cv_header_stdc = yes; then
4738 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4745 $EGREP "free" >/dev
/null
2>&1; then :
4748 ac_cv_header_stdc
=no
4754 if test $ac_cv_header_stdc = yes; then
4755 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4756 if test "$cross_compiling" = yes; then :
4759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4763 #if ((' ' & 0x0FF) == 0x020)
4764 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4765 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4767 # define ISLOWER(c) \
4768 (('a' <= (c) && (c) <= 'i') \
4769 || ('j' <= (c) && (c) <= 'r') \
4770 || ('s' <= (c) && (c) <= 'z'))
4771 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4774 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4779 for (i = 0; i < 256; i++)
4780 if (XOR (islower (i), ISLOWER (i))
4781 || toupper (i) != TOUPPER (i))
4786 if ac_fn_c_try_run
"$LINENO"; then :
4789 ac_cv_header_stdc
=no
4791 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4792 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4798 $as_echo "$ac_cv_header_stdc" >&6; }
4799 if test $ac_cv_header_stdc = yes; then
4801 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4805 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4806 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4807 inttypes.h stdint.h unistd.h
4809 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4810 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4812 eval as_val
=\$
$as_ac_Header
4813 if test "x$as_val" = x
""yes; then :
4814 cat >>confdefs.h
<<_ACEOF
4815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4824 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4825 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4832 if test "$MINIX" = yes; then
4834 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4837 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4840 $as_echo "#define _MINIX 1" >>confdefs.h
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4846 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4847 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4848 $as_echo_n "(cached) " >&6
4850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4853 # define __EXTENSIONS__ 1
4854 $ac_includes_default
4863 if ac_fn_c_try_compile
"$LINENO"; then :
4864 ac_cv_safe_to_define___extensions__
=yes
4866 ac_cv_safe_to_define___extensions__
=no
4868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4871 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4872 test $ac_cv_safe_to_define___extensions__ = yes &&
4873 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4875 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4877 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4879 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4881 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4887 # The tests for host and target for $enable_largefile require
4892 # As the $enable_largefile decision depends on --enable-plugins we must set it
4893 # even in directories otherwise not depending on the $plugins option.
4896 # Check whether --enable-plugins was given.
4897 if test "${enable_plugins+set}" = set; then :
4898 enableval
=$enable_plugins; case "${enableval}" in
4899 yes |
"") plugins
=yes ;;
4910 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
4911 # On native 32bit sparc and ia32 solaris, large-file and procfs support
4912 # are mutually exclusive; and without procfs support, the bfd/ elf module
4913 # cannot provide certain routines such as elfcore_write_prpsinfo
4914 # or elfcore_write_prstatus. So unless the user explicitly requested
4915 # large-file support through the --enable-largefile switch, disable
4916 # large-file support in favor of procfs support.
4917 test "${target}" = "${host}" -a "x$plugins" = xno \
4918 && : ${enable_largefile="no"}
4922 # Check whether --enable-largefile was given.
4923 if test "${enable_largefile+set}" = set; then :
4924 enableval
=$enable_largefile;
4927 if test "$enable_largefile" != no
; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4930 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4931 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 ac_cv_sys_largefile_CC
=no
4935 if test "$GCC" != yes; then
4938 # IRIX 6.2 and later do not support large files by default,
4939 # so use the C compiler's -n32 option if that helps.
4940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4942 #include <sys/types.h>
4943 /* Check that off_t can represent 2**63 - 1 correctly.
4944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4945 since some C++ compilers masquerading as C compilers
4946 incorrectly reject 9223372036854775807. */
4947 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4949 && LARGE_OFF_T % 2147483647 == 1)
4959 if ac_fn_c_try_compile
"$LINENO"; then :
4962 rm -f core conftest.err conftest.
$ac_objext
4964 if ac_fn_c_try_compile
"$LINENO"; then :
4965 ac_cv_sys_largefile_CC
=' -n32'; break
4967 rm -f core conftest.err conftest.
$ac_objext
4971 rm -f conftest.
$ac_ext
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4975 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4976 if test "$ac_cv_sys_largefile_CC" != no
; then
4977 CC
=$CC$ac_cv_sys_largefile_CC
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4981 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4982 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4983 $as_echo_n "(cached) " >&6
4986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4988 #include <sys/types.h>
4989 /* Check that off_t can represent 2**63 - 1 correctly.
4990 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4991 since some C++ compilers masquerading as C compilers
4992 incorrectly reject 9223372036854775807. */
4993 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4995 && LARGE_OFF_T % 2147483647 == 1)
5005 if ac_fn_c_try_compile
"$LINENO"; then :
5006 ac_cv_sys_file_offset_bits
=no
; break
5008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5011 #define _FILE_OFFSET_BITS 64
5012 #include <sys/types.h>
5013 /* Check that off_t can represent 2**63 - 1 correctly.
5014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5015 since some C++ compilers masquerading as C compilers
5016 incorrectly reject 9223372036854775807. */
5017 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5019 && LARGE_OFF_T % 2147483647 == 1)
5029 if ac_fn_c_try_compile
"$LINENO"; then :
5030 ac_cv_sys_file_offset_bits
=64; break
5032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5033 ac_cv_sys_file_offset_bits
=unknown
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5038 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5039 case $ac_cv_sys_file_offset_bits in #(
5042 cat >>confdefs.h
<<_ACEOF
5043 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5048 if test $ac_cv_sys_file_offset_bits = unknown
; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5050 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5051 if test "${ac_cv_sys_large_files+set}" = set; then :
5052 $as_echo_n "(cached) " >&6
5055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5057 #include <sys/types.h>
5058 /* Check that off_t can represent 2**63 - 1 correctly.
5059 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5060 since some C++ compilers masquerading as C compilers
5061 incorrectly reject 9223372036854775807. */
5062 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5063 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5064 && LARGE_OFF_T % 2147483647 == 1)
5074 if ac_fn_c_try_compile
"$LINENO"; then :
5075 ac_cv_sys_large_files
=no
; break
5077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5080 #define _LARGE_FILES 1
5081 #include <sys/types.h>
5082 /* Check that off_t can represent 2**63 - 1 correctly.
5083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5084 since some C++ compilers masquerading as C compilers
5085 incorrectly reject 9223372036854775807. */
5086 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5088 && LARGE_OFF_T % 2147483647 == 1)
5098 if ac_fn_c_try_compile
"$LINENO"; then :
5099 ac_cv_sys_large_files
=1; break
5101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5102 ac_cv_sys_large_files
=unknown
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5107 $as_echo "$ac_cv_sys_large_files" >&6; }
5108 case $ac_cv_sys_large_files in #(
5111 cat >>confdefs.h
<<_ACEOF
5112 #define _LARGE_FILES $ac_cv_sys_large_files
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5125 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5130 macro_version
='2.2.7a'
5131 macro_revision
='1.3134'
5145 ltmain
="$ac_aux_dir/ltmain.sh"
5147 # Backslashify metacharacters that are still active within
5148 # double-quoted strings.
5149 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5151 # Same as above, but do not quote variable references.
5152 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5154 # Sed substitution to delay expansion of an escaped shell variable in a
5155 # double_quote_subst'ed string.
5156 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5158 # Sed substitution to delay expansion of an escaped single quote.
5159 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5161 # Sed substitution to avoid accidental globbing in evaled expressions
5162 no_glob_subst
='s/\*/\\\*/g'
5164 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5165 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5166 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5169 $as_echo_n "checking how to print strings... " >&6; }
5170 # Test print first, because it will be a builtin if present.
5171 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5172 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5174 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5177 # Use this function as a fallback that always works.
5178 func_fallback_echo ()
5180 eval 'cat <<_LTECHO_EOF
5184 ECHO='func_fallback_echo
'
5187 # func_echo_all arg...
5188 # Invoke $ECHO with all args, space-separated.
5195 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5196 $as_echo "printf" >&6; } ;;
5197 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5198 $as_echo "print -r" >&6; } ;;
5199 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5200 $as_echo "cat" >&6; } ;;
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5217 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5218 if test "${ac_cv_path_SED+set}" = set; then :
5219 $as_echo_n "(cached) " >&6
5221 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5222 for ac_i in 1 2 3 4 5 6 7; do
5223 ac_script="$ac_script$as_nl$ac_script"
5225 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5226 { ac_script=; unset ac_script;}
5227 if test -z "$SED"; then
5228 ac_path_SED_found=false
5229 # Loop through the user's path and
test for each of PROGNAME-LIST
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_prog
in sed gsed
; do
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5238 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5239 # Check for GNU ac_path_SED and select it if it is found.
5240 # Check for GNU $ac_path_SED
5241 case `"$ac_path_SED" --version 2>&1` in
5243 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5246 $as_echo_n 0123456789 >"conftest.in"
5249 cat "conftest.in" "conftest.in" >"conftest.tmp"
5250 mv "conftest.tmp" "conftest.in"
5251 cp "conftest.in" "conftest.nl"
5252 $as_echo '' >> "conftest.nl"
5253 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5254 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5255 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5256 if test $ac_count -gt ${ac_path_SED_max-0}; then
5257 # Best one so far, save it but keep looking for a better one
5258 ac_cv_path_SED
="$ac_path_SED"
5259 ac_path_SED_max
=$ac_count
5261 # 10*(2^10) chars as input seems more than enough
5262 test $ac_count -gt 10 && break
5264 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5267 $ac_path_SED_found && break 3
5272 if test -z "$ac_cv_path_SED"; then
5273 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5281 $as_echo "$ac_cv_path_SED" >&6; }
5282 SED
="$ac_cv_path_SED"
5285 test -z "$SED" && SED
=sed
5286 Xsed
="$SED -e 1s/^X//"
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5299 $as_echo_n "checking for fgrep... " >&6; }
5300 if test "${ac_cv_path_FGREP+set}" = set; then :
5301 $as_echo_n "(cached) " >&6
5303 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5304 then ac_cv_path_FGREP
="$GREP -F"
5306 if test -z "$FGREP"; then
5307 ac_path_FGREP_found
=false
5308 # Loop through the user's path and test for each of PROGNAME-LIST
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_prog
in fgrep
; do
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5317 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5318 # Check for GNU ac_path_FGREP and select it if it is found.
5319 # Check for GNU $ac_path_FGREP
5320 case `"$ac_path_FGREP" --version 2>&1` in
5322 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5325 $as_echo_n 0123456789 >"conftest.in"
5328 cat "conftest.in" "conftest.in" >"conftest.tmp"
5329 mv "conftest.tmp" "conftest.in"
5330 cp "conftest.in" "conftest.nl"
5331 $as_echo 'FGREP' >> "conftest.nl"
5332 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5333 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5334 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5335 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5336 # Best one so far, save it but keep looking for a better one
5337 ac_cv_path_FGREP
="$ac_path_FGREP"
5338 ac_path_FGREP_max
=$ac_count
5340 # 10*(2^10) chars as input seems more than enough
5341 test $ac_count -gt 10 && break
5343 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5346 $ac_path_FGREP_found && break 3
5351 if test -z "$ac_cv_path_FGREP"; then
5352 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5355 ac_cv_path_FGREP
=$FGREP
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5361 $as_echo "$ac_cv_path_FGREP" >&6; }
5362 FGREP
="$ac_cv_path_FGREP"
5365 test -z "$GREP" && GREP
=grep
5385 # Check whether --with-gnu-ld was given.
5386 if test "${with_gnu_ld+set}" = set; then :
5387 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5393 if test "$GCC" = yes; then
5394 # Check if gcc -print-prog-name=ld gives a path.
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5396 $as_echo_n "checking for ld used by $CC... " >&6; }
5399 # gcc leaves a trailing carriage return which upsets mingw
5400 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5402 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5405 # Accept absolute paths.
5407 re_direlt
='/[^/][^/]*/\.\./'
5408 # Canonicalize the pathname of ld
5409 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5410 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5411 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5413 test -z "$LD" && LD
="$ac_prog"
5416 # If it fails, then pretend we aren't using GCC.
5420 # If it is relative, then search for the first ld in PATH.
5424 elif test "$with_gnu_ld" = yes; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5426 $as_echo_n "checking for GNU ld... " >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5429 $as_echo_n "checking for non-GNU ld... " >&6; }
5431 if test "${lt_cv_path_LD+set}" = set; then :
5432 $as_echo_n "(cached) " >&6
5434 if test -z "$LD"; then
5435 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5436 for ac_dir
in $PATH; do
5438 test -z "$ac_dir" && ac_dir
=.
5439 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5440 lt_cv_path_LD
="$ac_dir/$ac_prog"
5441 # Check to see if the program is GNU ld. I'd rather use --version,
5442 # but apparently some variants of GNU ld only accept -v.
5443 # Break only if it was the GNU/non-GNU ld that we prefer.
5444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5445 *GNU
* |
*'with BFD'*)
5446 test "$with_gnu_ld" != no
&& break
5449 test "$with_gnu_ld" != yes && break
5456 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5461 if test -n "$LD"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5463 $as_echo "$LD" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5468 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5470 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5471 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5474 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5475 case `$LD -v 2>&1 </dev/null` in
5476 *GNU
* |
*'with BFD'*)
5477 lt_cv_prog_gnu_ld
=yes
5480 lt_cv_prog_gnu_ld
=no
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5485 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5486 with_gnu_ld
=$lt_cv_prog_gnu_ld
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5497 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5498 if test "${lt_cv_path_NM+set}" = set; then :
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$NM"; then
5502 # Let the user override the test.
5505 lt_nm_to_check
="${ac_tool_prefix}nm"
5506 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5507 lt_nm_to_check
="$lt_nm_to_check nm"
5509 for lt_tmp_nm
in $lt_nm_to_check; do
5510 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5511 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5513 test -z "$ac_dir" && ac_dir
=.
5514 tmp_nm
="$ac_dir/$lt_tmp_nm"
5515 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5516 # Check to see if the nm accepts a BSD-compat flag.
5517 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5518 # nm: unknown option "B" ignored
5519 # Tru64's nm complains that /dev/null is an invalid object file
5520 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5521 */dev
/null
* |
*'Invalid file or object type'*)
5522 lt_cv_path_NM
="$tmp_nm -B"
5526 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5528 lt_cv_path_NM
="$tmp_nm -p"
5532 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5533 continue # so that we can try to find one that supports BSD flags
5542 : ${lt_cv_path_NM=no}
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5546 $as_echo "$lt_cv_path_NM" >&6; }
5547 if test "$lt_cv_path_NM" != "no"; then
5550 # Didn't find any BSD compatible name lister, look for dumpbin.
5551 if test -n "$DUMPBIN"; then :
5552 # Let the user override the test.
5554 if test -n "$ac_tool_prefix"; then
5555 for ac_prog
in dumpbin
"link -dump"
5557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5558 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5562 $as_echo_n "(cached) " >&6
5564 if test -n "$DUMPBIN"; then
5565 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z "$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5574 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 DUMPBIN
=$ac_cv_prog_DUMPBIN
5585 if test -n "$DUMPBIN"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5587 $as_echo "$DUMPBIN" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5594 test -n "$DUMPBIN" && break
5597 if test -z "$DUMPBIN"; then
5598 ac_ct_DUMPBIN
=$DUMPBIN
5599 for ac_prog
in dumpbin
"link -dump"
5601 # Extract the first word of "$ac_prog", so it can be a program name with args.
5602 set dummy
$ac_prog; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$ac_ct_DUMPBIN"; then
5609 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5629 if test -n "$ac_ct_DUMPBIN"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5631 $as_echo "$ac_ct_DUMPBIN" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5638 test -n "$ac_ct_DUMPBIN" && break
5641 if test "x$ac_ct_DUMPBIN" = x
; then
5644 case $cross_compiling:$ac_tool_warned in
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648 ac_tool_warned
=yes ;;
5650 DUMPBIN
=$ac_ct_DUMPBIN
5654 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5656 DUMPBIN
="$DUMPBIN -symbols"
5664 if test "$DUMPBIN" != ":"; then
5668 test -z "$NM" && NM
=nm
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5676 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5677 if test "${lt_cv_nm_interface+set}" = set; then :
5678 $as_echo_n "(cached) " >&6
5680 lt_cv_nm_interface
="BSD nm"
5681 echo "int some_variable = 0;" > conftest.
$ac_ext
5682 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5683 (eval "$ac_compile" 2>conftest.err
)
5684 cat conftest.err
>&5
5685 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5686 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5687 cat conftest.err
>&5
5688 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5689 cat conftest.out
>&5
5690 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5691 lt_cv_nm_interface
="MS dumpbin"
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5696 $as_echo "$lt_cv_nm_interface" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5699 $as_echo_n "checking whether ln -s works... " >&6; }
5701 if test "$LN_S" = "ln -s"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5703 $as_echo "yes" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5706 $as_echo "no, using $LN_S" >&6; }
5709 # find the maximum length of command line arguments
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5711 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5712 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5713 $as_echo_n "(cached) " >&6
5720 # On DJGPP, this test can blow up pretty badly due to problems in libc
5721 # (any single argument exceeding 2000 bytes causes a buffer overrun
5722 # during glob expansion). Even if it were fixed, the result of this
5723 # check would be larger than it should be.
5724 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5728 # Under GNU Hurd, this test is not required because there is
5729 # no limit to the length of command line arguments.
5730 # Libtool will interpret -1 as no limit whatsoever
5731 lt_cv_sys_max_cmd_len
=-1;
5734 cygwin
* | mingw
* | cegcc
*)
5735 # On Win9x/ME, this test blows up -- it succeeds, but takes
5736 # about 5 minutes as the teststring grows exponentially.
5737 # Worse, since 9x/ME are not pre-emptively multitasking,
5738 # you end up with a "frozen" computer, even though with patience
5739 # the test eventually succeeds (with a max line length of 256k).
5740 # Instead, let's just punt: use the minimum linelength reported by
5741 # all of the supported platforms: 8192 (on NT/2K/XP).
5742 lt_cv_sys_max_cmd_len
=8192;
5746 # On MiNT this can take a long time and run out of memory.
5747 lt_cv_sys_max_cmd_len
=8192;
5751 # On AmigaOS with pdksh, this test takes hours, literally.
5752 # So we just punt and use a minimum line length of 8192.
5753 lt_cv_sys_max_cmd_len
=8192;
5756 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5757 # This has been around since 386BSD, at least. Likely further.
5758 if test -x /sbin
/sysctl
; then
5759 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5760 elif test -x /usr
/sbin
/sysctl
; then
5761 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5763 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5765 # And add a safety zone
5766 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5767 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5771 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5772 lt_cv_sys_max_cmd_len
=196608
5776 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5777 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5778 # nice to cause kernel panics so lets avoid the loop below.
5779 # First set a reasonable default.
5780 lt_cv_sys_max_cmd_len
=16384
5782 if test -x /sbin
/sysconfig
; then
5783 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5784 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5789 lt_cv_sys_max_cmd_len
=102400
5791 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5792 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5793 if test -n "$kargmax"; then
5794 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5796 lt_cv_sys_max_cmd_len
=32768
5800 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5801 if test -n "$lt_cv_sys_max_cmd_len"; then
5802 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5803 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5805 # Make teststring a little bigger before we do anything with it.
5806 # a 1K string should be a reasonable start.
5807 for i
in 1 2 3 4 5 6 7 8 ; do
5808 teststring
=$teststring$teststring
5810 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5811 # If test is not a shell built-in, we'll probably end up computing a
5812 # maximum length that is only half of the actual maximum length, but
5814 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5815 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5816 test $i != 17 # 1/2 MB should be enough
5819 teststring
=$teststring$teststring
5821 # Only check the string length outside the loop.
5822 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5824 # Add a significant safety factor because C++ compilers can tack on
5825 # massive amounts of additional arguments before passing them to the
5826 # linker. It appears as though 1/2 is a usable value.
5827 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5834 if test -n $lt_cv_sys_max_cmd_len ; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5836 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5839 $as_echo "none" >&6; }
5841 max_cmd_len
=$lt_cv_sys_max_cmd_len
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5853 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5854 # Try some XSI features
5857 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5859 && eval 'test $(( 1 + 1 )) -eq 2 \
5860 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5863 $as_echo "$xsi_shell" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5867 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5869 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5871 && lt_shell_append=yes
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5873 $as_echo "$lt_shell_append" >&6; }
5876 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5886 # test EBCDIC or ASCII
5887 case `echo X|tr X '\101'` in
5888 A) # ASCII based system
5889 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5890 lt_SP2NL='tr \040 \012'
5891 lt_NL2SP='tr \015\012 \040\040'
5893 *) # EBCDIC based system
5894 lt_SP2NL='tr \100 \n'
5895 lt_NL2SP='tr \r\n \100\100'
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5908 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5909 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5910 $as_echo_n "(cached
) " >&6
5912 lt_cv_ld_reload_flag='-r'
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5915 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5916 reload_flag=$lt_cv_ld_reload_flag
5917 case $reload_flag in
5919 *) reload_flag=" $reload_flag" ;;
5921 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5924 if test "$GCC" = yes; then
5925 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5927 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5940 if test -n "$ac_tool_prefix"; then
5941 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5942 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5944 $as_echo_n "checking
for $ac_word...
" >&6; }
5945 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5946 $as_echo_n "(cached
) " >&6
5948 if test -n "$OBJDUMP"; then
5949 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5968 OBJDUMP=$ac_cv_prog_OBJDUMP
5969 if test -n "$OBJDUMP"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5971 $as_echo "$OBJDUMP" >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5974 $as_echo "no
" >&6; }
5979 if test -z "$ac_cv_prog_OBJDUMP"; then
5980 ac_ct_OBJDUMP=$OBJDUMP
5981 # Extract the first word of "objdump
", so it can be a program name with args.
5982 set dummy objdump; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5984 $as_echo_n "checking
for $ac_word...
" >&6; }
5985 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5986 $as_echo_n "(cached
) " >&6
5988 if test -n "$ac_ct_OBJDUMP"; then
5989 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5998 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6008 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6009 if test -n "$ac_ct_OBJDUMP"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6011 $as_echo "$ac_ct_OBJDUMP" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6014 $as_echo "no
" >&6; }
6017 if test "x
$ac_ct_OBJDUMP" = x; then
6020 case $cross_compiling:$ac_tool_warned in
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6023 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6024 ac_tool_warned=yes ;;
6026 OBJDUMP=$ac_ct_OBJDUMP
6029 OBJDUMP="$ac_cv_prog_OBJDUMP"
6032 test -z "$OBJDUMP" && OBJDUMP=objdump
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6043 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6044 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6045 $as_echo_n "(cached
) " >&6
6047 lt_cv_file_magic_cmd='$MAGIC_CMD'
6048 lt_cv_file_magic_test_file=
6049 lt_cv_deplibs_check_method='unknown'
6050 # Need to set the preceding variable on all platforms that support
6051 # interlibrary dependencies.
6052 # 'none' -- dependencies not supported.
6053 # `unknown' -- same as none, but documents that we really don't know.
6054 # 'pass_all' -- all dependencies passed with no checks.
6055 # 'test_compile' -- check by making test program.
6056 # 'file_magic [[regex]]' -- check by looking for files in library path
6057 # which responds to the $file_magic_cmd with a given extended regex.
6058 # If you have `file' or equivalent on your system and you're not sure
6059 # whether `pass_all' will *always* work, you probably want this one.
6063 lt_cv_deplibs_check_method=pass_all
6067 lt_cv_deplibs_check_method=pass_all
6071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6072 lt_cv_file_magic_cmd='/usr/bin/file -L'
6073 lt_cv_file_magic_test_file=/shlib/libc.so
6077 # func_win32_libid is a shell function defined in ltmain.sh
6078 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6079 lt_cv_file_magic_cmd='func_win32_libid'
6083 # Base MSYS/MinGW do not provide the 'file' command needed by
6084 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6085 # unless we find 'file', for example because we are cross-compiling.
6086 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6087 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6088 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6089 lt_cv_file_magic_cmd='func_win32_libid'
6091 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6092 lt_cv_file_magic_cmd='$OBJDUMP -f'
6097 # use the weaker test based on 'objdump'. See mingw*.
6098 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6099 lt_cv_file_magic_cmd='$OBJDUMP -f'
6102 darwin* | rhapsody*)
6103 lt_cv_deplibs_check_method=pass_all
6106 freebsd* | dragonfly*)
6107 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6110 # Not sure whether the presence of OpenBSD here was a mistake.
6111 # Let's accept both of them until this is cleared up.
6112 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6113 lt_cv_file_magic_cmd=/usr/bin/file
6114 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6118 lt_cv_deplibs_check_method=pass_all
6123 lt_cv_deplibs_check_method=pass_all
6127 lt_cv_deplibs_check_method=pass_all
6130 hpux10.20* | hpux11*)
6131 lt_cv_file_magic_cmd=/usr/bin/file
6134 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6135 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6138 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]'
6139 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6142 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6143 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6149 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6150 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6153 irix5* | irix6* | nonstopux*)
6155 *-32|*"-32 ") libmagic=32-bit;;
6156 *-n32|*"-n32 ") libmagic=N32;;
6157 *-64|*"-64 ") libmagic=64-bit;;
6158 *) libmagic=never-match;;
6160 lt_cv_deplibs_check_method=pass_all
6163 # This must be Linux ELF.
6164 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6165 lt_cv_deplibs_check_method=pass_all
6169 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6170 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6172 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6177 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6178 lt_cv_file_magic_cmd=/usr/bin/file
6179 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6183 lt_cv_deplibs_check_method=pass_all
6187 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6194 osf3* | osf4* | osf5*)
6195 lt_cv_deplibs_check_method=pass_all
6199 lt_cv_deplibs_check_method=pass_all
6203 lt_cv_deplibs_check_method=pass_all
6206 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6207 lt_cv_deplibs_check_method=pass_all
6211 case $host_vendor in
6213 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]'
6214 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6217 lt_cv_deplibs_check_method=pass_all
6220 lt_cv_file_magic_cmd='/bin/file'
6221 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6224 lt_cv_file_magic_cmd='/bin/file'
6225 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6226 lt_cv_file_magic_test_file=/lib/libc.so
6229 lt_cv_deplibs_check_method=pass_all
6232 lt_cv_deplibs_check_method=pass_all
6238 lt_cv_deplibs_check_method=pass_all
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6244 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6245 file_magic_cmd=$lt_cv_file_magic_cmd
6246 deplibs_check_method=$lt_cv_deplibs_check_method
6247 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}ar; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6264 $as_echo_n "checking
for $ac_word...
" >&6; }
6265 if test "${ac_cv_prog_AR+set}" = set; then :
6266 $as_echo_n "(cached
) " >&6
6268 if test -n "$AR"; then
6269 ac_cv_prog_AR="$AR" # Let the user override the test.
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_AR="${ac_tool_prefix}ar"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6289 if test -n "$AR"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6291 $as_echo "$AR" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6294 $as_echo "no
" >&6; }
6299 if test -z "$ac_cv_prog_AR"; then
6301 # Extract the first word of "ar", so it can be a program name with args.
6302 set dummy ar; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6304 $as_echo_n "checking
for $ac_word...
" >&6; }
6305 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6306 $as_echo_n "(cached
) " >&6
6308 if test -n "$ac_ct_AR"; then
6309 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_ac_ct_AR="ar"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6328 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6329 if test -n "$ac_ct_AR"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6331 $as_echo "$ac_ct_AR" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6334 $as_echo "no
" >&6; }
6337 if test "x
$ac_ct_AR" = x; then
6340 case $cross_compiling:$ac_tool_warned in
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6343 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6344 ac_tool_warned=yes ;;
6352 test -z "$AR" && AR=ar
6353 test -z "$AR_FLAGS" && AR_FLAGS=cru
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}strip; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6369 $as_echo_n "checking
for $ac_word...
" >&6; }
6370 if test "${ac_cv_prog_STRIP+set}" = set; then :
6371 $as_echo_n "(cached
) " >&6
6373 if test -n "$STRIP"; then
6374 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6393 STRIP=$ac_cv_prog_STRIP
6394 if test -n "$STRIP"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6396 $as_echo "$STRIP" >&6; }
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6399 $as_echo "no
" >&6; }
6404 if test -z "$ac_cv_prog_STRIP"; then
6406 # Extract the first word of "strip
", so it can be a program name with args.
6407 set dummy strip; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6409 $as_echo_n "checking
for $ac_word...
" >&6; }
6410 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6411 $as_echo_n "(cached
) " >&6
6413 if test -n "$ac_ct_STRIP"; then
6414 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423 ac_cv_prog_ac_ct_STRIP="strip
"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6433 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6434 if test -n "$ac_ct_STRIP"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6436 $as_echo "$ac_ct_STRIP" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6439 $as_echo "no
" >&6; }
6442 if test "x
$ac_ct_STRIP" = x; then
6445 case $cross_compiling:$ac_tool_warned in
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6448 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6449 ac_tool_warned=yes ;;
6454 STRIP="$ac_cv_prog_STRIP"
6457 test -z "$STRIP" && STRIP=:
6464 if test -n "$ac_tool_prefix"; then
6465 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6466 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6468 $as_echo_n "checking
for $ac_word...
" >&6; }
6469 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6470 $as_echo_n "(cached
) " >&6
6472 if test -n "$RANLIB"; then
6473 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6492 RANLIB=$ac_cv_prog_RANLIB
6493 if test -n "$RANLIB"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6495 $as_echo "$RANLIB" >&6; }
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6498 $as_echo "no
" >&6; }
6503 if test -z "$ac_cv_prog_RANLIB"; then
6504 ac_ct_RANLIB=$RANLIB
6505 # Extract the first word of "ranlib
", so it can be a program name with args.
6506 set dummy ranlib; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6508 $as_echo_n "checking
for $ac_word...
" >&6; }
6509 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6510 $as_echo_n "(cached
) " >&6
6512 if test -n "$ac_ct_RANLIB"; then
6513 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6522 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6532 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6533 if test -n "$ac_ct_RANLIB"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6535 $as_echo "$ac_ct_RANLIB" >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6538 $as_echo "no
" >&6; }
6541 if test "x
$ac_ct_RANLIB" = x; then
6544 case $cross_compiling:$ac_tool_warned in
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6547 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6548 ac_tool_warned=yes ;;
6550 RANLIB=$ac_ct_RANLIB
6553 RANLIB="$ac_cv_prog_RANLIB"
6556 test -z "$RANLIB" && RANLIB=:
6563 # Determine commands to create old-style static archives.
6564 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6565 old_postinstall_cmds='chmod 644 $oldlib'
6566 old_postuninstall_cmds=
6568 if test -n "$RANLIB"; then
6571 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6574 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6577 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6582 lock_old_archive_extraction=yes ;;
6584 lock_old_archive_extraction=no ;;
6625 # If no C compiler was specified, use CC.
6628 # If no C compiler flags were specified, use CFLAGS.
6629 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6631 # Allow CC to be a program name with arguments.
6635 # Check for command to grab the raw symbol name followed by C symbol from nm.
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6637 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6638 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6639 $as_echo_n "(cached
) " >&6
6642 # These are sane defaults that work on at least a few old systems.
6643 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6645 # Character class describing NM global symbol codes.
6646 symcode='[BCDEGRST]'
6648 # Regexp to match symbols that can be accessed directly from C.
6649 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6651 # Define system-specific variables.
6656 cygwin* | mingw* | pw32* | cegcc*)
6657 symcode='[ABCDGISTW]'
6660 if test "$host_cpu" = ia64; then
6661 symcode='[ABCDEGRST]'
6665 symcode='[BCDEGRST]'
6668 symcode='[BCDEGQRST]'
6679 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6687 # If we're using GNU nm, then use its standard symbol codes.
6688 case `$NM -V 2>&1` in
6689 *GNU* | *'with BFD'*)
6690 symcode='[ABCDGIRSTW]' ;;
6693 # Transform an extracted symbol line into a proper C declaration.
6694 # Some systems (esp. on ia64) link data and code symbols differently,
6695 # so use this general approach.
6696 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6698 # Transform an extracted symbol line into symbol name and symbol address
6699 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6700 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'"
6702 # Handle CRLF in mingw tool chain
6706 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6710 # Try without a prefix underscore, then with it.
6711 for ac_symprfx in "" "_
"; do
6713 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6714 symxfrm="\\1 $ac_symprfx\\2 \\2"
6716 # Write the raw and C identifiers.
6717 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6718 # Fake it for dumpbin and say T for any non-static function
6719 # and D for any global variable.
6720 # Also find C++ and __fastcall symbols from MSVC++,
6721 # which start with @ or ?.
6722 lt_cv_sys_global_symbol_pipe="$AWK '"\
6723 " {last_section=section; section=\$ 3};"\
6724 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6725 " \$ 0!~/External *\|/{next};"\
6726 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6727 " {if(hide[section]) next};"\
6728 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6729 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6730 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6731 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6732 " ' prfx
=^
$ac_symprfx"
6734 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6737 # Check to see that the pipe works correctly.
6741 cat > conftest.$ac_ext <<_LT_EOF
6746 void nm_test_func(void);
6747 void nm_test_func(void){}
6751 int main(){nm_test_var='a';nm_test_func();return(0);}
6754 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6755 (eval $ac_compile) 2>&5
6757 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6758 test $ac_status = 0; }; then
6759 # Now try to grab the symbols.
6761 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6762 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6764 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6765 test $ac_status = 0; } && test -s "$nlist"; then
6766 # Try sorting and uniquifying the output.
6767 if sort "$nlist" | uniq > "$nlist"T; then
6768 mv -f "$nlist"T "$nlist"
6773 # Make sure that we snagged all the symbols we need.
6774 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6775 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6776 cat <<_LT_EOF > conftest.$ac_ext
6782 # Now generate the symbol file.
6783 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6785 cat <<_LT_EOF >> conftest.$ac_ext
6787 /* The mapping between symbol names and symbols. */
6792 lt__PROGRAM__LTX_preloaded_symbols[] =
6794 { "@PROGRAM@
", (void *) 0 },
6796 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6797 cat <<\_LT_EOF >> conftest.$ac_ext
6801 /* This works around a problem in FreeBSD linker */
6802 #ifdef FREEBSD_WORKAROUND
6803 static const void *lt_preloaded_setup() {
6804 return lt__PROGRAM__LTX_preloaded_symbols;
6812 # Now try linking the two files.
6813 mv conftest.$ac_objext conftstm.$ac_objext
6814 lt_save_LIBS="$LIBS"
6815 lt_save_CFLAGS="$CFLAGS"
6816 LIBS="conftstm.
$ac_objext"
6817 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6818 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6819 (eval $ac_link) 2>&5
6821 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6822 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6825 LIBS="$lt_save_LIBS"
6826 CFLAGS="$lt_save_CFLAGS"
6828 echo "cannot
find nm_test_func
in $nlist" >&5
6831 echo "cannot
find nm_test_var
in $nlist" >&5
6834 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6837 echo "$progname: failed program was
:" >&5
6838 cat conftest.$ac_ext >&5
6840 rm -rf conftest* conftst*
6842 # Do not use the global_symbol_pipe unless it works.
6843 if test "$pipe_works" = yes; then
6846 lt_cv_sys_global_symbol_pipe=
6852 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6853 lt_cv_sys_global_symbol_to_cdecl=
6855 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6857 $as_echo "failed
" >&6; }
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6860 $as_echo "ok
" >&6; }
6884 # Check whether --enable-libtool-lock was given.
6885 if test "${enable_libtool_lock+set}" = set; then :
6886 enableval=$enable_libtool_lock;
6889 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6891 # Some flags need to be propagated to the compiler or linker for good
6895 # Find out which ABI we are using.
6896 echo 'int i;' > conftest.$ac_ext
6897 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6898 (eval $ac_compile) 2>&5
6900 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6901 test $ac_status = 0; }; then
6902 case `/usr/bin/file conftest.$ac_objext` in
6914 # Find out which ABI we are using.
6915 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6916 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6917 (eval $ac_compile) 2>&5
6919 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6920 test $ac_status = 0; }; then
6921 if test "$lt_cv_prog_gnu_ld" = yes; then
6922 case `/usr/bin/file conftest.$ac_objext` in
6924 LD="${LD-ld} -melf32bsmip"
6927 LD="${LD-ld} -melf32bmipn32"
6930 LD="${LD-ld} -melf64bmip"
6934 case `/usr/bin/file conftest.$ac_objext` in
6950 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6951 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6952 # Find out which ABI we are using.
6953 echo 'int i;' > conftest.$ac_ext
6954 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6955 (eval $ac_compile) 2>&5
6957 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6958 test $ac_status = 0; }; then
6959 case `/usr/bin/file conftest.o` in
6962 x86_64-*kfreebsd*-gnu)
6963 LD="${LD-ld} -m elf_i386_fbsd
"
6966 LD="${LD-ld} -m elf_i386
"
6968 ppc64-*linux*|powerpc64-*linux*)
6969 LD="${LD-ld} -m elf32ppclinux
"
6972 LD="${LD-ld} -m elf_s390
"
6975 LD="${LD-ld} -m elf32_sparc
"
6981 x86_64-*kfreebsd*-gnu)
6982 LD="${LD-ld} -m elf_x86_64_fbsd
"
6985 LD="${LD-ld} -m elf_x86_64
"
6987 ppc*-*linux*|powerpc*-*linux*)
6988 LD="${LD-ld} -m elf64ppc
"
6990 s390*-*linux*|s390*-*tpf*)
6991 LD="${LD-ld} -m elf64_s390
"
6994 LD="${LD-ld} -m elf64_sparc
"
7004 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7005 SAVE_CFLAGS="$CFLAGS"
7006 CFLAGS="$CFLAGS -belf"
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7008 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7009 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7010 $as_echo_n "(cached
) " >&6
7013 ac_cpp='$CPP $CPPFLAGS'
7014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7029 if ac_fn_c_try_link "$LINENO"; then :
7030 lt_cv_cc_needs_belf=yes
7032 lt_cv_cc_needs_belf=no
7034 rm -f core conftest.err conftest.$ac_objext \
7035 conftest$ac_exeext conftest.$ac_ext
7037 ac_cpp='$CPP $CPPFLAGS'
7038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7044 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7045 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7046 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7047 CFLAGS="$SAVE_CFLAGS"
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 case `/usr/bin/file conftest.o` in
7060 case $lt_cv_prog_gnu_ld in
7061 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7063 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7075 need_locks="$enable_libtool_lock"
7079 rhapsody* | darwin*)
7080 if test -n "$ac_tool_prefix"; then
7081 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7082 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7084 $as_echo_n "checking
for $ac_word...
" >&6; }
7085 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7086 $as_echo_n "(cached
) " >&6
7088 if test -n "$DSYMUTIL"; then
7089 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7098 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7108 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7109 if test -n "$DSYMUTIL"; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7111 $as_echo "$DSYMUTIL" >&6; }
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7114 $as_echo "no
" >&6; }
7119 if test -z "$ac_cv_prog_DSYMUTIL"; then
7120 ac_ct_DSYMUTIL=$DSYMUTIL
7121 # Extract the first word of "dsymutil
", so it can be a program name with args.
7122 set dummy dsymutil; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7124 $as_echo_n "checking
for $ac_word...
" >&6; }
7125 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7126 $as_echo_n "(cached
) " >&6
7128 if test -n "$ac_ct_DSYMUTIL"; then
7129 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7138 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7148 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7149 if test -n "$ac_ct_DSYMUTIL"; then
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7151 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7154 $as_echo "no
" >&6; }
7157 if test "x
$ac_ct_DSYMUTIL" = x; then
7160 case $cross_compiling:$ac_tool_warned in
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7164 ac_tool_warned=yes ;;
7166 DSYMUTIL=$ac_ct_DSYMUTIL
7169 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7172 if test -n "$ac_tool_prefix"; then
7173 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7176 $as_echo_n "checking
for $ac_word...
" >&6; }
7177 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7178 $as_echo_n "(cached
) " >&6
7180 if test -n "$NMEDIT"; then
7181 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7190 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7200 NMEDIT=$ac_cv_prog_NMEDIT
7201 if test -n "$NMEDIT"; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7203 $as_echo "$NMEDIT" >&6; }
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7206 $as_echo "no
" >&6; }
7211 if test -z "$ac_cv_prog_NMEDIT"; then
7212 ac_ct_NMEDIT=$NMEDIT
7213 # Extract the first word of "nmedit
", so it can be a program name with args.
7214 set dummy nmedit; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7216 $as_echo_n "checking
for $ac_word...
" >&6; }
7217 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7218 $as_echo_n "(cached
) " >&6
7220 if test -n "$ac_ct_NMEDIT"; then
7221 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7230 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7240 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7241 if test -n "$ac_ct_NMEDIT"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7243 $as_echo "$ac_ct_NMEDIT" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7246 $as_echo "no
" >&6; }
7249 if test "x
$ac_ct_NMEDIT" = x; then
7252 case $cross_compiling:$ac_tool_warned in
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7255 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7256 ac_tool_warned=yes ;;
7258 NMEDIT=$ac_ct_NMEDIT
7261 NMEDIT="$ac_cv_prog_NMEDIT"
7264 if test -n "$ac_tool_prefix"; then
7265 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7266 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7268 $as_echo_n "checking
for $ac_word...
" >&6; }
7269 if test "${ac_cv_prog_LIPO+set}" = set; then :
7270 $as_echo_n "(cached
) " >&6
7272 if test -n "$LIPO"; then
7273 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7282 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7292 LIPO=$ac_cv_prog_LIPO
7293 if test -n "$LIPO"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7295 $as_echo "$LIPO" >&6; }
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7298 $as_echo "no
" >&6; }
7303 if test -z "$ac_cv_prog_LIPO"; then
7305 # Extract the first word of "lipo
", so it can be a program name with args.
7306 set dummy lipo; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7308 $as_echo_n "checking
for $ac_word...
" >&6; }
7309 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7310 $as_echo_n "(cached
) " >&6
7312 if test -n "$ac_ct_LIPO"; then
7313 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7322 ac_cv_prog_ac_ct_LIPO="lipo
"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7332 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7333 if test -n "$ac_ct_LIPO"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7335 $as_echo "$ac_ct_LIPO" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7338 $as_echo "no
" >&6; }
7341 if test "x
$ac_ct_LIPO" = x; then
7344 case $cross_compiling:$ac_tool_warned in
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7347 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7348 ac_tool_warned=yes ;;
7353 LIPO="$ac_cv_prog_LIPO"
7356 if test -n "$ac_tool_prefix"; then
7357 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7358 set dummy ${ac_tool_prefix}otool; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7360 $as_echo_n "checking
for $ac_word...
" >&6; }
7361 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7362 $as_echo_n "(cached
) " >&6
7364 if test -n "$OTOOL"; then
7365 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7384 OTOOL=$ac_cv_prog_OTOOL
7385 if test -n "$OTOOL"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7387 $as_echo "$OTOOL" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7390 $as_echo "no
" >&6; }
7395 if test -z "$ac_cv_prog_OTOOL"; then
7397 # Extract the first word of "otool
", so it can be a program name with args.
7398 set dummy otool; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7400 $as_echo_n "checking
for $ac_word...
" >&6; }
7401 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7402 $as_echo_n "(cached
) " >&6
7404 if test -n "$ac_ct_OTOOL"; then
7405 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7414 ac_cv_prog_ac_ct_OTOOL="otool
"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7424 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7425 if test -n "$ac_ct_OTOOL"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7427 $as_echo "$ac_ct_OTOOL" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7430 $as_echo "no
" >&6; }
7433 if test "x
$ac_ct_OTOOL" = x; then
7436 case $cross_compiling:$ac_tool_warned in
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7439 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7440 ac_tool_warned=yes ;;
7445 OTOOL="$ac_cv_prog_OTOOL"
7448 if test -n "$ac_tool_prefix"; then
7449 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7450 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7452 $as_echo_n "checking
for $ac_word...
" >&6; }
7453 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7454 $as_echo_n "(cached
) " >&6
7456 if test -n "$OTOOL64"; then
7457 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7466 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7476 OTOOL64=$ac_cv_prog_OTOOL64
7477 if test -n "$OTOOL64"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7479 $as_echo "$OTOOL64" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7482 $as_echo "no
" >&6; }
7487 if test -z "$ac_cv_prog_OTOOL64"; then
7488 ac_ct_OTOOL64=$OTOOL64
7489 # Extract the first word of "otool64
", so it can be a program name with args.
7490 set dummy otool64; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7492 $as_echo_n "checking
for $ac_word...
" >&6; }
7493 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7494 $as_echo_n "(cached
) " >&6
7496 if test -n "$ac_ct_OTOOL64"; then
7497 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7506 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7516 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7517 if test -n "$ac_ct_OTOOL64"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7519 $as_echo "$ac_ct_OTOOL64" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7522 $as_echo "no
" >&6; }
7525 if test "x
$ac_ct_OTOOL64" = x; then
7528 case $cross_compiling:$ac_tool_warned in
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7532 ac_tool_warned=yes ;;
7534 OTOOL64=$ac_ct_OTOOL64
7537 OTOOL64="$ac_cv_prog_OTOOL64"
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7567 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7568 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7569 $as_echo_n "(cached
) " >&6
7571 lt_cv_apple_cc_single_mod=no
7572 if test -z "${LT_MULTI_MODULE}"; then
7573 # By default we will add the -single_module flag. You can override
7574 # by either setting the environment variable LT_MULTI_MODULE
7575 # non-empty at configure time, or by adding -multi_module to the
7577 rm -rf libconftest.dylib*
7578 echo "int foo
(void
){return 1;}" > conftest.c
7579 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7580 -dynamiclib -Wl,-single_module conftest.c
" >&5
7581 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7582 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7584 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7585 lt_cv_apple_cc_single_mod=yes
7587 cat conftest.err >&5
7589 rm -rf libconftest.dylib*
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7594 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7596 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7597 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7598 $as_echo_n "(cached
) " >&6
7600 lt_cv_ld_exported_symbols_list=no
7601 save_LDFLAGS=$LDFLAGS
7602 echo "_main
" > conftest.sym
7603 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7615 if ac_fn_c_try_link "$LINENO"; then :
7616 lt_cv_ld_exported_symbols_list=yes
7618 lt_cv_ld_exported_symbols_list=no
7620 rm -f core conftest.err conftest.$ac_objext \
7621 conftest$ac_exeext conftest.$ac_ext
7622 LDFLAGS="$save_LDFLAGS"
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7626 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7628 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7629 if test "${lt_cv_ld_force_load+set}" = set; then :
7630 $as_echo_n "(cached
) " >&6
7632 lt_cv_ld_force_load=no
7633 cat > conftest.c << _LT_EOF
7634 int forced_loaded() { return 2;}
7636 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7637 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7638 echo "$AR cru libconftest.a conftest.o
" >&5
7639 $AR cru libconftest.a conftest.o 2>&5
7640 cat > conftest.c << _LT_EOF
7641 int main() { return 0;}
7643 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7644 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7646 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7647 lt_cv_ld_force_load=yes
7649 cat conftest.err >&5
7651 rm -f conftest.err libconftest.a conftest conftest.c
7652 rm -rf conftest.dSYM
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7656 $as_echo "$lt_cv_ld_force_load" >&6; }
7658 rhapsody* | darwin1.[012])
7659 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7661 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7662 darwin*) # darwin 5.x on
7663 # if running on 10.5 or later, the deployment target defaults
7664 # to the OS version, if on x86, and 10.4, the deployment
7665 # target defaults to 10.4. Don't you love it?
7666 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7667 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7668 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7670 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7672 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7676 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7677 _lt_dar_single_mod='$single_module'
7679 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7680 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7682 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7684 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7685 _lt_dsymutil='~$DSYMUTIL $lib || :'
7692 for ac_header in dlfcn.h
7694 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7696 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_DLFCN_H 1
7719 # Check whether --enable-shared was given.
7720 if test "${enable_shared+set}" = set; then :
7721 enableval=$enable_shared; p=${PACKAGE-default}
7723 yes) enable_shared=yes ;;
7724 no) enable_shared=no ;;
7727 # Look at the argument we got. We use all the common list separators.
7728 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7729 for pkg in $enableval; do
7731 if test "X
$pkg" = "X
$p"; then
7750 # Check whether --enable-static was given.
7751 if test "${enable_static+set}" = set; then :
7752 enableval=$enable_static; p=${PACKAGE-default}
7754 yes) enable_static=yes ;;
7755 no) enable_static=no ;;
7758 # Look at the argument we got. We use all the common list separators.
7759 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7760 for pkg in $enableval; do
7762 if test "X
$pkg" = "X
$p"; then
7782 # Check whether --with-pic was given.
7783 if test "${with_pic+set}" = set; then :
7784 withval=$with_pic; pic_mode="$withval"
7790 test -z "$pic_mode" && pic_mode=default
7798 # Check whether --enable-fast-install was given.
7799 if test "${enable_fast_install+set}" = set; then :
7800 enableval=$enable_fast_install; p=${PACKAGE-default}
7802 yes) enable_fast_install=yes ;;
7803 no) enable_fast_install=no ;;
7805 enable_fast_install=no
7806 # Look at the argument we got. We use all the common list separators.
7807 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7808 for pkg in $enableval; do
7810 if test "X
$pkg" = "X
$p"; then
7811 enable_fast_install=yes
7818 enable_fast_install=yes
7831 # This can be used to rebuild libtool when needed
7832 LIBTOOL_DEPS="$ltmain"
7834 # Always use our own libtool.
7835 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7862 test -z "$LN_S" && LN_S="ln -s"
7877 if test -n "${ZSH_VERSION+set}" ; then
7878 setopt NO_GLOB_SUBST
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7882 $as_echo_n "checking
for objdir...
" >&6; }
7883 if test "${lt_cv_objdir+set}" = set; then :
7884 $as_echo_n "(cached
) " >&6
7886 rm -f .libs 2>/dev/null
7887 mkdir .libs 2>/dev/null
7888 if test -d .libs; then
7891 # MS-DOS does not allow filenames that begin with a dot.
7894 rmdir .libs 2>/dev/null
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7897 $as_echo "$lt_cv_objdir" >&6; }
7898 objdir=$lt_cv_objdir
7904 cat >>confdefs.h <<_ACEOF
7905 #define LT_OBJDIR "$lt_cv_objdir/"
7913 # AIX sometimes has problems with the GCC collect2 program. For some
7914 # reason, if we set the COLLECT_NAMES environment variable, the problems
7915 # vanish in a puff of smoke.
7916 if test "X
${COLLECT_NAMES+set}" != Xset; then
7918 export COLLECT_NAMES
7925 can_build_shared=yes
7927 # All known linkers require a `.a' archive for static linking (except MSVC,
7928 # which needs '.lib').
7931 with_gnu_ld="$lt_cv_prog_gnu_ld"
7934 old_CFLAGS="$CFLAGS"
7936 # Set sane defaults for various variables
7937 test -z "$CC" && CC=cc
7938 test -z "$LTCC" && LTCC=$CC
7939 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7940 test -z "$LD" && LD=ld
7941 test -z "$ac_objext" && ac_objext=o
7943 for cc_temp in $compiler""; do
7945 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7946 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7951 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7954 # Only perform the check for file, if the check method requires it
7955 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7956 case $deplibs_check_method in
7958 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7960 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7961 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7962 $as_echo_n "(cached
) " >&6
7966 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7969 lt_save_MAGIC_CMD="$MAGIC_CMD"
7970 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7971 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7972 for ac_dir in $ac_dummy; do
7974 test -z "$ac_dir" && ac_dir=.
7975 if test -f $ac_dir/${ac_tool_prefix}file; then
7976 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7977 if test -n "$file_magic_test_file"; then
7978 case $deplibs_check_method in
7980 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7981 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7982 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7983 $EGREP "$file_magic_regex" > /dev/null; then
7988 *** Warning: the command libtool uses to detect shared libraries,
7989 *** $file_magic_cmd, produces output that libtool cannot recognize.
7990 *** The result is that libtool may fail to recognize shared libraries
7991 *** as such. This will affect the creation of libtool libraries that
7992 *** depend on shared libraries, but programs linked with such libtool
7993 *** libraries will work regardless of this problem. Nevertheless, you
7994 *** may want to report the problem to your system manager and/or to
7995 *** bug-libtool@gnu.org
8005 MAGIC_CMD="$lt_save_MAGIC_CMD"
8010 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8011 if test -n "$MAGIC_CMD"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8013 $as_echo "$MAGIC_CMD" >&6; }
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8016 $as_echo "no
" >&6; }
8023 if test -z "$lt_cv_path_MAGIC_CMD"; then
8024 if test -n "$ac_tool_prefix"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8026 $as_echo_n "checking
for file...
" >&6; }
8027 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8028 $as_echo_n "(cached
) " >&6
8032 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8035 lt_save_MAGIC_CMD="$MAGIC_CMD"
8036 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8037 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8038 for ac_dir in $ac_dummy; do
8040 test -z "$ac_dir" && ac_dir=.
8041 if test -f $ac_dir/file; then
8042 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8043 if test -n "$file_magic_test_file"; then
8044 case $deplibs_check_method in
8046 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8047 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8048 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8049 $EGREP "$file_magic_regex" > /dev/null; then
8054 *** Warning: the command libtool uses to detect shared libraries,
8055 *** $file_magic_cmd, produces output that libtool cannot recognize.
8056 *** The result is that libtool may fail to recognize shared libraries
8057 *** as such. This will affect the creation of libtool libraries that
8058 *** depend on shared libraries, but programs linked with such libtool
8059 *** libraries will work regardless of this problem. Nevertheless, you
8060 *** may want to report the problem to your system manager and/or to
8061 *** bug-libtool@gnu.org
8071 MAGIC_CMD="$lt_save_MAGIC_CMD"
8076 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8077 if test -n "$MAGIC_CMD"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8079 $as_echo "$MAGIC_CMD" >&6; }
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8082 $as_echo "no
" >&6; }
8095 # Use C for the default configuration in the libtool script
8099 ac_cpp='$CPP $CPPFLAGS'
8100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8105 # Source file extension for C test sources.
8108 # Object file extension for compiled C test sources.
8112 # Code to be used in simple compile tests
8113 lt_simple_compile_test_code="int some_variable
= 0;"
8115 # Code to be used in simple link tests
8116 lt_simple_link_test_code='int main(){return(0);}'
8124 # If no C compiler was specified, use CC.
8127 # If no C compiler flags were specified, use CFLAGS.
8128 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8130 # Allow CC to be a program name with arguments.
8133 # Save the default compiler, since it gets overwritten when the other
8134 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8135 compiler_DEFAULT=$CC
8137 # save warnings/boilerplate of simple test code
8138 ac_outfile=conftest.$ac_objext
8139 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8140 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8141 _lt_compiler_boilerplate=`cat conftest.err`
8144 ac_outfile=conftest.$ac_objext
8145 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8146 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8147 _lt_linker_boilerplate=`cat conftest.err`
8152 ## There is no encapsulation within the following macros, do not change
8153 ## the running order or otherwise move them around unless you know exactly
8154 ## what you are doing...
8155 if test -n "$compiler"; then
8157 lt_prog_compiler_no_builtin_flag=
8159 if test "$GCC" = yes; then
8160 case $cc_basename in
8162 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8164 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8168 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8169 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8170 $as_echo_n "(cached
) " >&6
8172 lt_cv_prog_compiler_rtti_exceptions=no
8173 ac_outfile=conftest.$ac_objext
8174 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8175 lt_compiler_flag="-fno-rtti -fno-exceptions"
8176 # Insert the option either (1) after the last *FLAGS variable, or
8177 # (2) before a word containing "conftest.
", or (3) at the end.
8178 # Note that $ac_compile itself does not contain backslashes and begins
8179 # with a dollar sign (not a hyphen), so the echo should work correctly.
8180 # The option is referenced via a variable to avoid confusing sed.
8181 lt_compile=`echo "$ac_compile" | $SED \
8182 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8184 -e 's:$: $lt_compiler_flag:'`
8185 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8186 (eval "$lt_compile" 2>conftest.err)
8188 cat conftest.err >&5
8189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8190 if (exit $ac_status) && test -s "$ac_outfile"; then
8191 # The compiler can only warn and ignore the option if not recognized
8192 # So say no if there are warnings other than the usual output.
8193 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8194 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8195 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8196 lt_cv_prog_compiler_rtti_exceptions=yes
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8203 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8205 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8206 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8218 lt_prog_compiler_wl=
8219 lt_prog_compiler_pic=
8220 lt_prog_compiler_static=
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8223 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8225 if test "$GCC" = yes; then
8226 lt_prog_compiler_wl='-Wl,'
8227 lt_prog_compiler_static='-static'
8231 # All AIX code is PIC.
8232 if test "$host_cpu" = ia64; then
8233 # AIX 5 now supports IA64 processor
8234 lt_prog_compiler_static='-Bstatic'
8241 # see comment about AmigaOS4 .so support
8242 lt_prog_compiler_pic='-fPIC'
8245 # FIXME: we need at least 68020 code to build shared libraries, but
8246 # adding the `-m68020' flag to GCC prevents building anything better,
8248 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8253 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8254 # PIC is the default for these OSes.
8257 mingw* | cygwin* | pw32* | os2* | cegcc*)
8258 # This hack is so that the source file can tell whether it is being
8259 # built for inclusion in a dll (and should export symbols for example).
8260 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8261 # (--disable-auto-import) libraries
8262 lt_prog_compiler_pic='-DDLL_EXPORT'
8265 darwin* | rhapsody*)
8266 # PIC is the default on this platform
8267 # Common symbols not allowed in MH_DYLIB files
8268 lt_prog_compiler_pic='-fno-common'
8272 # PIC is the default for Haiku.
8273 # The "-static" flag exists, but is broken.
8274 lt_prog_compiler_static=
8278 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8279 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8280 # sets the default TLS model and affects inlining.
8286 lt_prog_compiler_pic='-fPIC'
8292 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8293 # Instead, we relocate shared libraries at runtime.
8297 # Just because we use GCC doesn't mean we suddenly get shared libraries
8298 # on systems that don't support them.
8299 lt_prog_compiler_can_build_shared=no
8304 # QNX uses GNU C++, but need to define -shared option too, otherwise
8306 lt_prog_compiler_pic='-fPIC -shared'
8310 if test -d /usr/nec; then
8311 lt_prog_compiler_pic=-Kconform_pic
8316 lt_prog_compiler_pic='-fPIC'
8320 case $cc_basename in
8321 nvcc*) # Cuda Compiler Driver 2.2
8322 lt_prog_compiler_wl='-Xlinker '
8323 lt_prog_compiler_pic='-Xcompiler -fPIC'
8327 # PORTME Check for flag to pass linker flags through the system compiler.
8330 lt_prog_compiler_wl='-Wl,'
8331 if test "$host_cpu" = ia64; then
8332 # AIX 5 now supports IA64 processor
8333 lt_prog_compiler_static='-Bstatic'
8335 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8339 mingw* | cygwin* | pw32* | os2* | cegcc*)
8340 # This hack is so that the source file can tell whether it is being
8341 # built for inclusion in a dll (and should export symbols for example).
8342 lt_prog_compiler_pic='-DDLL_EXPORT'
8345 hpux9* | hpux10* | hpux11*)
8346 lt_prog_compiler_wl='-Wl,'
8347 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8354 lt_prog_compiler_pic='+Z'
8357 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8358 lt_prog_compiler_static='${wl}-a ${wl}archive'
8361 irix5* | irix6* | nonstopux*)
8362 lt_prog_compiler_wl='-Wl,'
8363 # PIC (with -KPIC) is the default.
8364 lt_prog_compiler_static='-non_shared'
8367 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8368 case $cc_basename in
8369 # old Intel for x86_64 which still supported -KPIC.
8371 lt_prog_compiler_wl='-Wl,'
8372 lt_prog_compiler_pic='-KPIC'
8373 lt_prog_compiler_static='-static'
8375 # icc used to be incompatible with GCC.
8376 # ICC 10 doesn't accept -KPIC any more.
8378 lt_prog_compiler_wl='-Wl,'
8379 lt_prog_compiler_pic='-fPIC'
8380 lt_prog_compiler_static='-static'
8382 # Lahey Fortran 8.1.
8384 lt_prog_compiler_wl='-Wl,'
8385 lt_prog_compiler_pic='--shared'
8386 lt_prog_compiler_static='--static'
8388 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8389 # Portland Group compilers (*not* the Pentium gcc compiler,
8390 # which looks to be a dead project)
8391 lt_prog_compiler_wl='-Wl,'
8392 lt_prog_compiler_pic='-fpic'
8393 lt_prog_compiler_static='-Bstatic'
8396 lt_prog_compiler_wl='-Wl,'
8397 # All Alpha code is PIC.
8398 lt_prog_compiler_static='-non_shared'
8400 xl* | bgxl* | bgf* | mpixl*)
8401 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8402 lt_prog_compiler_wl='-Wl,'
8403 lt_prog_compiler_pic='-qpic'
8404 lt_prog_compiler_static='-qstaticlink'
8407 case `$CC -V 2>&1 | sed 5q` in
8408 *Sun\ F* | *Sun*Fortran*)
8409 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8410 lt_prog_compiler_pic='-KPIC'
8411 lt_prog_compiler_static='-Bstatic'
8412 lt_prog_compiler_wl=''
8416 lt_prog_compiler_pic='-KPIC'
8417 lt_prog_compiler_static='-Bstatic'
8418 lt_prog_compiler_wl='-Wl,'
8426 lt_prog_compiler_pic='-KPIC'
8427 lt_prog_compiler_static='-Bstatic'
8431 # QNX uses GNU C++, but need to define -shared option too, otherwise
8433 lt_prog_compiler_pic='-fPIC -shared'
8436 osf3* | osf4* | osf5*)
8437 lt_prog_compiler_wl='-Wl,'
8438 # All OSF/1 code is PIC.
8439 lt_prog_compiler_static='-non_shared'
8443 lt_prog_compiler_static='-non_shared'
8447 lt_prog_compiler_pic='-KPIC'
8448 lt_prog_compiler_static='-Bstatic'
8449 case $cc_basename in
8451 lt_prog_compiler_wl='-Qoption ld ';;
8453 lt_prog_compiler_wl='-Wl,';;
8458 lt_prog_compiler_wl='-Qoption ld '
8459 lt_prog_compiler_pic='-PIC'
8460 lt_prog_compiler_static='-Bstatic'
8463 sysv4 | sysv4.2uw2* | sysv4.3*)
8464 lt_prog_compiler_wl='-Wl,'
8465 lt_prog_compiler_pic='-KPIC'
8466 lt_prog_compiler_static='-Bstatic'
8470 if test -d /usr/nec ;then
8471 lt_prog_compiler_pic='-Kconform_pic'
8472 lt_prog_compiler_static='-Bstatic'
8476 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8477 lt_prog_compiler_wl='-Wl,'
8478 lt_prog_compiler_pic='-KPIC'
8479 lt_prog_compiler_static='-Bstatic'
8483 lt_prog_compiler_wl='-Wl,'
8484 lt_prog_compiler_can_build_shared=no
8488 lt_prog_compiler_pic='-pic'
8489 lt_prog_compiler_static='-Bstatic'
8493 lt_prog_compiler_can_build_shared=no
8499 # For platforms which do not support PIC, -DPIC is meaningless:
8501 lt_prog_compiler_pic=
8504 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8508 $as_echo "$lt_prog_compiler_pic" >&6; }
8516 # Check to make sure the PIC flag actually works.
8518 if test -n "$lt_prog_compiler_pic"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8520 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8521 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8522 $as_echo_n "(cached
) " >&6
8524 lt_cv_prog_compiler_pic_works=no
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8527 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8528 # Insert the option either (1) after the last *FLAGS variable, or
8529 # (2) before a word containing "conftest.
", or (3) at the end.
8530 # Note that $ac_compile itself does not contain backslashes and begins
8531 # with a dollar sign (not a hyphen), so the echo should work correctly.
8532 # The option is referenced via a variable to avoid confusing sed.
8533 lt_compile=`echo "$ac_compile" | $SED \
8534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8536 -e 's:$: $lt_compiler_flag:'`
8537 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8538 (eval "$lt_compile" 2>conftest.err)
8540 cat conftest.err >&5
8541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8542 if (exit $ac_status) && test -s "$ac_outfile"; then
8543 # The compiler can only warn and ignore the option if not recognized
8544 # So say no if there are warnings other than the usual output.
8545 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8546 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8547 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8548 lt_cv_prog_compiler_pic_works=yes
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8555 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8557 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8558 case $lt_prog_compiler_pic in
8560 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8563 lt_prog_compiler_pic=
8564 lt_prog_compiler_can_build_shared=no
8575 # Check to make sure the static flag actually works.
8577 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8579 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8580 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8581 $as_echo_n "(cached
) " >&6
8583 lt_cv_prog_compiler_static_works=no
8584 save_LDFLAGS="$LDFLAGS"
8585 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8586 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8587 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8588 # The linker can only warn and ignore the option if not recognized
8589 # So say no if there are warnings
8590 if test -s conftest.err; then
8591 # Append any errors to the config.log.
8592 cat conftest.err 1>&5
8593 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_static_works=yes
8599 lt_cv_prog_compiler_static_works=yes
8603 LDFLAGS="$save_LDFLAGS"
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8607 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8609 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8612 lt_prog_compiler_static=
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8622 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8623 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8624 $as_echo_n "(cached
) " >&6
8626 lt_cv_prog_compiler_c_o=no
8627 $RM -r conftest 2>/dev/null
8631 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8633 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8634 # Insert the option either (1) after the last *FLAGS variable, or
8635 # (2) before a word containing "conftest.
", or (3) at the end.
8636 # Note that $ac_compile itself does not contain backslashes and begins
8637 # with a dollar sign (not a hyphen), so the echo should work correctly.
8638 lt_compile=`echo "$ac_compile" | $SED \
8639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8641 -e 's:$: $lt_compiler_flag:'`
8642 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8643 (eval "$lt_compile" 2>out/conftest.err)
8645 cat out/conftest.err >&5
8646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8647 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8649 # The compiler can only warn and ignore the option if not recognized
8650 # So say no if there are warnings
8651 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8652 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8653 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8654 lt_cv_prog_compiler_c_o=yes
8659 # SGI C++ compiler will create directory out/ii_files/ for
8660 # template instantiation
8661 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8662 $RM out/* && rmdir out
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8669 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8677 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8678 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8679 $as_echo_n "(cached
) " >&6
8681 lt_cv_prog_compiler_c_o=no
8682 $RM -r conftest 2>/dev/null
8686 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8688 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8689 # Insert the option either (1) after the last *FLAGS variable, or
8690 # (2) before a word containing "conftest.
", or (3) at the end.
8691 # Note that $ac_compile itself does not contain backslashes and begins
8692 # with a dollar sign (not a hyphen), so the echo should work correctly.
8693 lt_compile=`echo "$ac_compile" | $SED \
8694 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8695 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8696 -e 's:$: $lt_compiler_flag:'`
8697 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8698 (eval "$lt_compile" 2>out/conftest.err)
8700 cat out/conftest.err >&5
8701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8702 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8704 # The compiler can only warn and ignore the option if not recognized
8705 # So say no if there are warnings
8706 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8707 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8708 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8709 lt_cv_prog_compiler_c_o=yes
8714 # SGI C++ compiler will create directory out/ii_files/ for
8715 # template instantiation
8716 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8717 $RM out/* && rmdir out
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8724 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8729 hard_links="nottested
"
8730 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8731 # do not overwrite the value of need_locks provided by the user
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8733 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8736 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8738 ln conftest.a conftest.b 2>&5 || hard_links=no
8739 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8741 $as_echo "$hard_links" >&6; }
8742 if test "$hard_links" = no; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8744 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8757 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8760 allow_undefined_flag=
8761 always_export_symbols=no
8763 archive_expsym_cmds=
8764 compiler_needs_object=no
8765 enable_shared_with_static_runtimes=no
8766 export_dynamic_flag_spec=
8767 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8768 hardcode_automatic=no
8770 hardcode_direct_absolute=no
8771 hardcode_libdir_flag_spec=
8772 hardcode_libdir_flag_spec_ld=
8773 hardcode_libdir_separator=
8775 hardcode_shlibpath_var=unsupported
8777 link_all_deplibs=unknown
8780 old_archive_from_new_cmds=
8781 old_archive_from_expsyms_cmds=
8782 thread_safe_flag_spec=
8783 whole_archive_flag_spec=
8784 # include_expsyms should be a list of space-separated symbols to be *always*
8785 # included in the symbol list
8787 # exclude_expsyms can be an extended regexp of symbols to exclude
8788 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8789 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8790 # as well as any symbol that contains `d'.
8791 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8792 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8793 # platforms (ab)use it in PIC code, but their linkers get confused if
8794 # the symbol is explicitly referenced. Since portable code cannot
8795 # rely on this symbol name, it's probably fine to never include it in
8796 # preloaded symbol tables.
8797 # Exclude shared library initialization/finalization symbols.
8798 extract_expsyms_cmds=
8801 cygwin* | mingw* | pw32* | cegcc*)
8802 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8803 # When not using gcc, we currently assume that we are using
8804 # Microsoft Visual C++.
8805 if test "$GCC" != yes; then
8810 # we just hope/assume this is gcc and not c89 (= MSVC++)
8820 # On some targets, GNU ld is compatible enough with the native linker
8821 # that we're better off using the native interface for both.
8822 lt_use_gnu_ld_interface=no
8823 if test "$with_gnu_ld" = yes; then
8826 # The AIX port of GNU ld has always aspired to compatibility
8827 # with the native linker. However, as the warning in the GNU ld
8828 # block says, versions before 2.19.5* couldn't really create working
8829 # shared libraries, regardless of the interface used.
8830 case `$LD -v 2>&1` in
8831 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8832 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8833 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8835 lt_use_gnu_ld_interface=yes
8840 lt_use_gnu_ld_interface=yes
8845 if test "$lt_use_gnu_ld_interface" = yes; then
8846 # If archive_cmds runs LD, not CC, wlarc should be empty
8849 # Set some defaults for GNU ld with shared library support. These
8850 # are reset later if shared libraries are not supported. Putting them
8851 # here allows them to be overridden if necessary.
8852 runpath_var=LD_RUN_PATH
8853 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8854 export_dynamic_flag_spec='${wl}--export-dynamic'
8855 # ancient GNU ld didn't support --whole-archive et. al.
8856 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8857 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8859 whole_archive_flag_spec=
8861 supports_anon_versioning=no
8862 case `$LD -v 2>&1` in
8863 *GNU\ gold*) supports_anon_versioning=yes ;;
8864 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8865 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8866 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8867 *\ 2.11.*) ;; # other 2.11 versions
8868 *) supports_anon_versioning=yes ;;
8871 # See if GNU ld supports shared libraries.
8874 # On AIX/PPC, the GNU linker is very broken
8875 if test "$host_cpu" != ia64; then
8879 *** Warning: the GNU linker, at least up to release 2.19, is reported
8880 *** to be unable to reliably create shared libraries on AIX.
8881 *** Therefore, libtool is disabling shared libraries support. If you
8882 *** really care for shared libraries, you may want to install binutils
8883 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8884 *** You will then need to restart the configuration process.
8893 # see comment about AmigaOS4 .so support
8894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895 archive_expsym_cmds=''
8898 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)'
8899 hardcode_libdir_flag_spec
='-L$libdir'
8900 hardcode_minus_L
=yes
8906 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8907 allow_undefined_flag
=unsupported
8908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8909 # support --undefined. This deserves some investigation. FIXME
8910 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8916 cygwin
* | mingw
* | pw32
* | cegcc
*)
8917 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8918 # as there is no search path for DLLs.
8919 hardcode_libdir_flag_spec
='-L$libdir'
8920 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8921 allow_undefined_flag
=unsupported
8922 always_export_symbols
=no
8923 enable_shared_with_static_runtimes
=yes
8924 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8926 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8927 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8928 # If the export-symbols file already is a .def file (1st line
8929 # is EXPORTS), use it as is; otherwise, prepend...
8930 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8931 cp $export_symbols $output_objdir/$soname.def;
8933 echo EXPORTS > $output_objdir/$soname.def;
8934 cat $export_symbols >> $output_objdir/$soname.def;
8936 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8943 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8944 link_all_deplibs
=yes
8949 hardcode_shlibpath_var
=no
8950 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8951 export_dynamic_flag_spec
='${wl}-E'
8952 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8953 # Instead, shared libraries are loaded at an image base (0x10000000 by
8954 # default) and relocated if they conflict, which is a slow very memory
8955 # consuming and fragmenting process. To avoid this, we pick a random,
8956 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8957 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8958 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8959 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'
8962 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8964 if test "$host_os" = linux-dietlibc
; then
8965 case $cc_basename in
8966 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8969 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8970 && test "$tmp_diet" = no
8973 tmp_sharedflag
='-shared'
8974 case $cc_basename,$host_cpu in
8975 pgcc
*) # Portland Group C compiler
8976 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'
8977 tmp_addflag
=' $pic_flag'
8979 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8980 # Portland Group f77 and f90 compilers
8981 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'
8982 tmp_addflag
=' $pic_flag -Mnomain' ;;
8983 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8984 tmp_addflag
=' -i_dynamic' ;;
8985 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8986 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8987 ifc
* | ifort
*) # Intel Fortran compiler
8988 tmp_addflag
=' -nofor_main' ;;
8989 lf95
*) # Lahey Fortran 8.1
8990 whole_archive_flag_spec
=
8991 tmp_sharedflag
='--shared' ;;
8992 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8993 tmp_sharedflag
='-qmkshrobj'
8995 nvcc
*) # Cuda Compiler Driver 2.2
8996 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'
8997 compiler_needs_object
=yes
9000 case `$CC -V 2>&1 | sed 5q` in
9001 *Sun\ C
*) # Sun C 5.9
9002 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'
9003 compiler_needs_object
=yes
9004 tmp_sharedflag
='-G' ;;
9005 *Sun\ F
*) # Sun Fortran 8.3
9006 tmp_sharedflag
='-G' ;;
9008 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9010 if test "x$supports_anon_versioning" = xyes
; then
9011 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9012 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9013 echo "local: *; };" >> $output_objdir/$libname.ver~
9014 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9017 case $cc_basename in
9018 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9019 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9020 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9021 hardcode_libdir_flag_spec
=
9022 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9023 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9024 if test "x$supports_anon_versioning" = xyes
; then
9025 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9026 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9027 echo "local: *; };" >> $output_objdir/$libname.ver~
9028 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9038 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9039 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9043 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9048 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9052 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9053 *** create shared libraries on Solaris systems. Therefore, libtool
9054 *** is disabling shared libraries support. We urge you to upgrade GNU
9055 *** binutils to release 2.9.1 or newer. Another option is to modify
9056 *** your PATH or compiler configuration so that the native linker is
9057 *** used, and then restart.
9060 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9061 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9062 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9068 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9069 case `$LD -v 2>&1` in
9070 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9074 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9075 *** reliably create shared libraries on SCO systems. Therefore, libtool
9076 *** is disabling shared libraries support. We urge you to upgrade GNU
9077 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9078 *** your PATH or compiler configuration so that the native linker is
9079 *** used, and then restart.
9084 # For security reasons, it is highly recommended that you always
9085 # use absolute paths for naming shared libraries, and exclude the
9086 # DT_RUNPATH tag from executables and libraries. But doing so
9087 # requires that you compile everything twice, which is a pain.
9088 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9089 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9090 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9091 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9100 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9103 hardcode_shlibpath_var
=no
9107 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9108 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9116 if test "$ld_shlibs" = no
; then
9118 hardcode_libdir_flag_spec
=
9119 export_dynamic_flag_spec
=
9120 whole_archive_flag_spec
=
9123 # PORTME fill in a description of your system's linker (not GNU ld)
9126 allow_undefined_flag
=unsupported
9127 always_export_symbols
=yes
9128 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'
9129 # Note: this linker hardcodes the directories in LIBPATH if there
9130 # are no directories specified by -L.
9131 hardcode_minus_L
=yes
9132 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9133 # Neither direct hardcoding nor static linking is supported with a
9135 hardcode_direct
=unsupported
9140 if test "$host_cpu" = ia64
; then
9141 # On IA64, the linker does run time linking by default, so we don't
9142 # have to do anything special.
9143 aix_use_runtimelinking
=no
9144 exp_sym_flag
='-Bexport'
9147 # If we're using GNU nm, then we don't want the "-C" option.
9148 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9149 # Also, AIX nm treats weak defined symbols like other global
9150 # defined symbols, whereas GNU nm marks them as "W".
9151 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9152 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'
9154 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'
9156 aix_use_runtimelinking
=no
9158 # Test if we are trying to use run time linking or normal
9159 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9160 # need to do runtime linking.
9161 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9162 for ld_flag
in $LDFLAGS; do
9163 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9164 aix_use_runtimelinking
=yes
9171 exp_sym_flag
='-bexport'
9172 no_entry_flag
='-bnoentry'
9175 # When large executables or shared objects are built, AIX ld can
9176 # have problems creating the table of contents. If linking a library
9177 # or program results in "error TOC overflow" add -mminimal-toc to
9178 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9179 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9183 hardcode_direct_absolute
=yes
9184 hardcode_libdir_separator
=':'
9185 link_all_deplibs
=yes
9186 file_list_spec
='${wl}-f,'
9188 if test "$GCC" = yes; then
9189 case $host_os in aix4.
[012]|aix4.
[012].
*)
9190 # We only want to do this on AIX 4.2 and lower, the check
9191 # below for broken collect2 doesn't work under 4.3+
9192 collect2name
=`${CC} -print-prog-name=collect2`
9193 if test -f "$collect2name" &&
9194 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9196 # We have reworked collect2
9199 # We have old collect2
9200 hardcode_direct
=unsupported
9201 # It fails to find uninstalled libraries when the uninstalled
9202 # path is not listed in the libpath. Setting hardcode_minus_L
9203 # to unsupported forces relinking
9204 hardcode_minus_L
=yes
9205 hardcode_libdir_flag_spec
='-L$libdir'
9206 hardcode_libdir_separator
=
9210 shared_flag
='-shared'
9211 if test "$aix_use_runtimelinking" = yes; then
9212 shared_flag
="$shared_flag "'${wl}-G'
9216 if test "$host_cpu" = ia64
; then
9217 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9218 # chokes on -Wl,-G. The following line is correct:
9221 if test "$aix_use_runtimelinking" = yes; then
9222 shared_flag
='${wl}-G'
9224 shared_flag
='${wl}-bM:SRE'
9229 export_dynamic_flag_spec
='${wl}-bexpall'
9230 # It seems that -bexpall does not export symbols beginning with
9231 # underscore (_), so it is better to generate a list of symbols to export.
9232 always_export_symbols
=yes
9233 if test "$aix_use_runtimelinking" = yes; then
9234 # Warning - without using the other runtime loading flags (-brtl),
9235 # -berok will link without error, but may produce a broken library.
9236 allow_undefined_flag
='-berok'
9237 # Determine the default libpath from the value encoded in an
9239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9250 if ac_fn_c_try_link
"$LINENO"; then :
9252 lt_aix_libpath_sed
='
9253 /Import File Strings/,/^$/ {
9259 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9260 # Check for a 64-bit object if we didn't find anything.
9261 if test -z "$aix_libpath"; then
9262 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9265 rm -f core conftest.err conftest.
$ac_objext \
9266 conftest
$ac_exeext conftest.
$ac_ext
9267 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9269 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9270 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"
9272 if test "$host_cpu" = ia64
; then
9273 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9274 allow_undefined_flag
="-z nodefs"
9275 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"
9277 # Determine the default libpath from the value encoded in an
9279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9290 if ac_fn_c_try_link
"$LINENO"; then :
9292 lt_aix_libpath_sed
='
9293 /Import File Strings/,/^$/ {
9299 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9300 # Check for a 64-bit object if we didn't find anything.
9301 if test -z "$aix_libpath"; then
9302 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9305 rm -f core conftest.err conftest.
$ac_objext \
9306 conftest
$ac_exeext conftest.
$ac_ext
9307 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9309 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9310 # Warning - without using the other run time loading flags,
9311 # -berok will link without error, but may produce a broken library.
9312 no_undefined_flag
=' ${wl}-bernotok'
9313 allow_undefined_flag
=' ${wl}-berok'
9314 if test "$with_gnu_ld" = yes; then
9315 # We only use this code for GNU lds that support --whole-archive.
9316 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9318 # Exported symbols can be pulled into shared objects from archives
9319 whole_archive_flag_spec
='$convenience'
9321 archive_cmds_need_lc
=yes
9322 # This is similar to how AIX traditionally builds its shared libraries.
9323 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'
9331 # see comment about AmigaOS4 .so support
9332 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 archive_expsym_cmds
=''
9336 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)'
9337 hardcode_libdir_flag_spec
='-L$libdir'
9338 hardcode_minus_L
=yes
9344 export_dynamic_flag_spec
=-rdynamic
9347 cygwin
* | mingw
* | pw32
* | cegcc
*)
9348 # When not using gcc, we currently assume that we are using
9349 # Microsoft Visual C++.
9350 # hardcode_libdir_flag_spec is actually meaningless, as there is
9351 # no search path for DLLs.
9352 hardcode_libdir_flag_spec
=' '
9353 allow_undefined_flag
=unsupported
9354 # Tell ltmain to make .lib files, not .a files.
9356 # Tell ltmain to make .dll files, not .so files.
9358 # FIXME: Setting linknames here is a bad hack.
9359 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9360 # The linker will automatically build a .lib file if we build a DLL.
9361 old_archive_from_new_cmds
='true'
9362 # FIXME: Should let the user specify the lib program.
9363 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9364 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9365 enable_shared_with_static_runtimes
=yes
9368 darwin
* | rhapsody
*)
9371 archive_cmds_need_lc
=no
9373 hardcode_automatic
=yes
9374 hardcode_shlibpath_var
=unsupported
9375 if test "$lt_cv_ld_force_load" = "yes"; then
9376 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\"`'
9378 whole_archive_flag_spec
=''
9380 link_all_deplibs
=yes
9381 allow_undefined_flag
="$_lt_dar_allow_undefined"
9382 case $cc_basename in
9383 ifort
*) _lt_dar_can_shared
=yes ;;
9384 *) _lt_dar_can_shared
=$GCC ;;
9386 if test "$_lt_dar_can_shared" = "yes"; then
9387 output_verbose_link_cmd
=func_echo_all
9388 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9389 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9390 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}"
9391 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}"
9400 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9401 hardcode_libdir_flag_spec
='-L$libdir'
9402 hardcode_shlibpath_var
=no
9409 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9410 # support. Future versions do this automatically, but an explicit c++rt0.o
9411 # does not break anything, and helps significantly (at the cost of a little
9414 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9415 hardcode_libdir_flag_spec
='-R$libdir'
9417 hardcode_shlibpath_var
=no
9420 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9422 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9424 hardcode_minus_L
=yes
9425 hardcode_shlibpath_var
=no
9428 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9429 freebsd
* | dragonfly
*)
9430 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9431 hardcode_libdir_flag_spec
='-R$libdir'
9433 hardcode_shlibpath_var
=no
9437 if test "$GCC" = yes; then
9438 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9440 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'
9442 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9443 hardcode_libdir_separator
=:
9446 # hardcode_minus_L: Not really in the search PATH,
9447 # but as the default location of the library.
9448 hardcode_minus_L
=yes
9449 export_dynamic_flag_spec
='${wl}-E'
9453 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9454 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9456 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9458 if test "$with_gnu_ld" = no
; then
9459 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9460 hardcode_libdir_flag_spec_ld
='+b $libdir'
9461 hardcode_libdir_separator
=:
9463 hardcode_direct_absolute
=yes
9464 export_dynamic_flag_spec
='${wl}-E'
9465 # hardcode_minus_L: Not really in the search PATH,
9466 # but as the default location of the library.
9467 hardcode_minus_L
=yes
9472 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9475 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9478 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9481 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9487 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9490 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9494 # Older versions of the 11.00 compiler do not understand -b yet
9495 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9497 $as_echo_n "checking if $CC understands -b... " >&6; }
9498 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9499 $as_echo_n "(cached) " >&6
9501 lt_cv_prog_compiler__b
=no
9502 save_LDFLAGS
="$LDFLAGS"
9503 LDFLAGS
="$LDFLAGS -b"
9504 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9505 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9506 # The linker can only warn and ignore the option if not recognized
9507 # So say no if there are warnings
9508 if test -s conftest.err
; then
9509 # Append any errors to the config.log.
9510 cat conftest.err
1>&5
9511 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9512 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9513 if diff conftest.exp conftest.er2
>/dev
/null
; then
9514 lt_cv_prog_compiler__b
=yes
9517 lt_cv_prog_compiler__b
=yes
9521 LDFLAGS
="$save_LDFLAGS"
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9525 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9527 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9528 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9530 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9536 if test "$with_gnu_ld" = no
; then
9537 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9538 hardcode_libdir_separator
=:
9543 hardcode_shlibpath_var
=no
9547 hardcode_direct_absolute
=yes
9548 export_dynamic_flag_spec
='${wl}-E'
9550 # hardcode_minus_L: Not really in the search PATH,
9551 # but as the default location of the library.
9552 hardcode_minus_L
=yes
9558 irix5
* | irix6
* | nonstopux
*)
9559 if test "$GCC" = yes; then
9560 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9561 # Try to use the -exported_symbol ld option, if it does not
9562 # work, assume that -exports_file does not work either and
9563 # implicitly export all symbols.
9564 save_LDFLAGS
="$LDFLAGS"
9565 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9570 if ac_fn_c_try_link
"$LINENO"; then :
9571 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9574 rm -f core conftest.err conftest.
$ac_objext \
9575 conftest
$ac_exeext conftest.
$ac_ext
9576 LDFLAGS
="$save_LDFLAGS"
9578 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'
9579 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'
9581 archive_cmds_need_lc
='no'
9582 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9583 hardcode_libdir_separator
=:
9585 link_all_deplibs
=yes
9589 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9590 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9592 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9594 hardcode_libdir_flag_spec
='-R$libdir'
9596 hardcode_shlibpath_var
=no
9600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9602 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9603 hardcode_libdir_separator
=:
9604 hardcode_shlibpath_var
=no
9611 if test -f /usr
/libexec
/ld.so
; then
9613 hardcode_shlibpath_var
=no
9614 hardcode_direct_absolute
=yes
9615 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9616 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9617 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9618 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9619 export_dynamic_flag_spec
='${wl}-E'
9622 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9623 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9624 hardcode_libdir_flag_spec
='-R$libdir'
9627 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9628 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9638 hardcode_libdir_flag_spec
='-L$libdir'
9639 hardcode_minus_L
=yes
9640 allow_undefined_flag
=unsupported
9641 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'
9642 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9646 if test "$GCC" = yes; then
9647 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9648 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'
9650 allow_undefined_flag
=' -expect_unresolved \*'
9651 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'
9653 archive_cmds_need_lc
='no'
9654 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9655 hardcode_libdir_separator
=:
9658 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9659 if test "$GCC" = yes; then
9660 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9661 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9662 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9664 allow_undefined_flag
=' -expect_unresolved \*'
9665 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'
9666 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~
9667 $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'
9669 # Both c and cxx compiler support -rpath directly
9670 hardcode_libdir_flag_spec
='-rpath $libdir'
9672 archive_cmds_need_lc
='no'
9673 hardcode_libdir_separator
=:
9677 no_undefined_flag
=' -z defs'
9678 if test "$GCC" = yes; then
9680 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9682 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9684 case `$CC -V 2>&1` in
9687 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9688 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9689 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9693 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9694 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9695 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9699 hardcode_libdir_flag_spec
='-R$libdir'
9700 hardcode_shlibpath_var
=no
9702 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9704 # The compiler driver will combine and reorder linker options,
9705 # but understands `-z linker_flag'. GCC discards it without `$wl',
9706 # but is careful enough not to reorder.
9707 # Supported since Solaris 2.6 (maybe 2.5.1?)
9708 if test "$GCC" = yes; then
9709 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9711 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9715 link_all_deplibs
=yes
9719 if test "x$host_vendor" = xsequent
; then
9720 # Use $CC to link under sequent, because it throws in some extra .o
9721 # files that make .init and .fini sections work.
9722 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_libdir_flag_spec
='-L$libdir'
9728 hardcode_minus_L
=yes
9729 hardcode_shlibpath_var
=no
9733 case $host_vendor in
9735 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9736 hardcode_direct
=yes # is this really true???
9739 ## LD is ld it makes a PLAMLIB
9740 ## CC just makes a GrossModule.
9741 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9742 reload_cmds
='$CC -r -o $output$reload_objs'
9746 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9747 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9750 runpath_var
='LD_RUN_PATH'
9751 hardcode_shlibpath_var
=no
9755 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_shlibpath_var
=no
9757 export_dynamic_flag_spec
='-Bexport'
9761 if test -d /usr
/nec
; then
9762 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9763 hardcode_shlibpath_var
=no
9764 runpath_var
=LD_RUN_PATH
9765 hardcode_runpath_var
=yes
9770 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9771 no_undefined_flag
='${wl}-z,text'
9772 archive_cmds_need_lc
=no
9773 hardcode_shlibpath_var
=no
9774 runpath_var
='LD_RUN_PATH'
9776 if test "$GCC" = yes; then
9777 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9778 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9780 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9781 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 sysv5
* | sco3.2v5
* | sco5v6
*)
9786 # Note: We can NOT use -z defs as we might desire, because we do not
9787 # link with -lc, and that would cause any symbols used from libc to
9788 # always be unresolved, which means just about no library would
9789 # ever link correctly. If we're not using GNU ld we use -z text
9790 # though, which does catch some bad symbols but isn't as heavy-handed
9792 no_undefined_flag
='${wl}-z,text'
9793 allow_undefined_flag
='${wl}-z,nodefs'
9794 archive_cmds_need_lc
=no
9795 hardcode_shlibpath_var
=no
9796 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9797 hardcode_libdir_separator
=':'
9798 link_all_deplibs
=yes
9799 export_dynamic_flag_spec
='${wl}-Bexport'
9800 runpath_var
='LD_RUN_PATH'
9802 if test "$GCC" = yes; then
9803 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9807 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9812 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_libdir_flag_spec
='-L$libdir'
9814 hardcode_shlibpath_var
=no
9822 if test x
$host_vendor = xsni
; then
9824 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9825 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9832 $as_echo "$ld_shlibs" >&6; }
9833 test "$ld_shlibs" = no
&& can_build_shared
=no
9835 with_gnu_ld
=$with_gnu_ld
9852 # Do we need to explicitly link libc?
9854 case "x$archive_cmds_need_lc" in
9856 # Assume -lc should be added
9857 archive_cmds_need_lc
=yes
9859 if test "$enable_shared" = yes && test "$GCC" = yes; then
9860 case $archive_cmds in
9862 # FIXME: we may have to deal with multi-command sequences.
9865 # Test whether the compiler implicitly links with -lc since on some
9866 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9867 # to ld, don't add -lc before -lgcc.
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9869 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9870 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9871 $as_echo_n "(cached) " >&6
9874 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9877 (eval $ac_compile) 2>&5
9879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9880 test $ac_status = 0; } 2>conftest.err
; then
9883 libobjs
=conftest.
$ac_objext
9885 wl
=$lt_prog_compiler_wl
9886 pic_flag
=$lt_prog_compiler_pic
9892 lt_save_allow_undefined_flag
=$allow_undefined_flag
9893 allow_undefined_flag
=
9894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9895 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9898 test $ac_status = 0; }
9900 lt_cv_archive_cmds_need_lc
=no
9902 lt_cv_archive_cmds_need_lc
=yes
9904 allow_undefined_flag
=$lt_save_allow_undefined_flag
9906 cat conftest.err
1>&5
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9912 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9913 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10077 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10079 if test "$GCC" = yes; then
10081 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10082 *) lt_awk_arg
="/^libraries:/" ;;
10085 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10086 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10088 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10089 case $lt_search_path_spec in
10091 # if the path contains ";" then we assume it to be the separator
10092 # otherwise default to the standard path separator (i.e. ":") - it is
10093 # assumed that no part of a normal pathname contains ";" but that should
10094 # okay in the real world where ";" in dirpaths is itself problematic.
10095 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10098 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10101 # Ok, now we have the path, separated by spaces, we can step through it
10102 # and add multilib dir if necessary.
10103 lt_tmp_lt_search_path_spec
=
10104 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10105 for lt_sys_path
in $lt_search_path_spec; do
10106 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10107 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10109 test -d "$lt_sys_path" && \
10110 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10113 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10114 BEGIN {RS=" "; FS="/|\n";} {
10117 for (lt_i = NF; lt_i > 0; lt_i--) {
10118 if ($lt_i != "" && $lt_i != ".") {
10119 if ($lt_i == "..") {
10122 if (lt_count == 0) {
10123 lt_foo="/" $lt_i lt_foo;
10130 if (lt_foo != "") { lt_freq[lt_foo]++; }
10131 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10133 # AWK program above erroneously prepends '/' to C:/dos/paths
10136 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10137 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10139 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10141 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10143 library_names_spec
=
10144 libname_spec
='lib$name'
10148 postuninstall_cmds
=
10152 shlibpath_overrides_runpath
=unknown
10154 dynamic_linker
="$host_os ld.so"
10155 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10156 need_lib_prefix
=unknown
10157 hardcode_into_libs
=no
10159 # when you set need_version to no, make sure it does not cause -set_version
10160 # flags to be left without arguments
10161 need_version
=unknown
10166 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10167 shlibpath_var
=LIBPATH
10169 # AIX 3 has no versioning support, so we append a major version to the name.
10170 soname_spec
='${libname}${release}${shared_ext}$major'
10177 hardcode_into_libs
=yes
10178 if test "$host_cpu" = ia64
; then
10179 # AIX 5 supports IA64
10180 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10181 shlibpath_var
=LD_LIBRARY_PATH
10183 # With GCC up to 2.95.x, collect2 would create an import file
10184 # for dependence libraries. The import file would start with
10185 # the line `#! .'. This would cause the generated library to
10186 # depend on `.', always an invalid library. This was fixed in
10187 # development snapshots of GCC prior to 3.0.
10189 aix4 | aix4.
[01] | aix4.
[01].
*)
10190 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10192 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10195 can_build_shared
=no
10199 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10200 # soname into executable. Probably we can add versioning support to
10201 # collect2, so additional links can be useful in future.
10202 if test "$aix_use_runtimelinking" = yes; then
10203 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10204 # instead of lib<name>.a to let people know that these are not
10205 # typical AIX shared libraries.
10206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10208 # We preserve .a as extension for shared libraries through AIX4.2
10209 # and later when we are not doing run time linking.
10210 library_names_spec
='${libname}${release}.a $libname.a'
10211 soname_spec
='${libname}${release}${shared_ext}$major'
10213 shlibpath_var
=LIBPATH
10220 # Since July 2007 AmigaOS4 officially supports .so libraries.
10221 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10225 library_names_spec
='$libname.ixlibrary $libname.a'
10226 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10227 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'
10233 library_names_spec
='${libname}${shared_ext}'
10234 dynamic_linker
="$host_os ld.so"
10235 shlibpath_var
=LIBRARY_PATH
10241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10242 soname_spec
='${libname}${release}${shared_ext}$major'
10243 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10244 shlibpath_var
=LD_LIBRARY_PATH
10245 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10246 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10247 # the default ld.so.conf also contains /usr/contrib/lib and
10248 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10249 # libtool to hard-code these into programs
10252 cygwin
* | mingw
* | pw32
* | cegcc
*)
10253 version_type
=windows
10258 case $GCC,$host_os in
10259 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10260 library_names_spec
='$libname.dll.a'
10261 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10262 postinstall_cmds
='base_file=`basename \${file}`~
10263 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10264 dldir=$destdir/`dirname \$dlpath`~
10265 test -d \$dldir || mkdir -p \$dldir~
10266 $install_prog $dir/$dlname \$dldir/$dlname~
10267 chmod a+x \$dldir/$dlname~
10268 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10269 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10271 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10272 dlpath=$dir/\$dldll~
10274 shlibpath_overrides_runpath
=yes
10278 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10279 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10281 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10284 # MinGW DLLs use traditional 'lib' prefix
10285 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10288 # pw32 DLLs use 'pw' prefix rather than 'lib'
10289 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10298 dynamic_linker
='Win32 ld.exe'
10299 # FIXME: first we should search . and the directory the executable is in
10303 darwin
* | rhapsody
*)
10304 dynamic_linker
="$host_os dyld"
10305 version_type
=darwin
10308 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10309 soname_spec
='${libname}${release}${major}$shared_ext'
10310 shlibpath_overrides_runpath
=yes
10311 shlibpath_var
=DYLD_LIBRARY_PATH
10312 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10314 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10315 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10323 soname_spec
='${libname}${release}${shared_ext}$major'
10324 shlibpath_var
=LD_LIBRARY_PATH
10331 freebsd
* | dragonfly
*)
10332 # DragonFly does not have aout. When/if they implement a new
10333 # versioning mechanism, adjust this.
10334 if test -x /usr
/bin
/objformat
; then
10335 objformat
=`/usr/bin/objformat`
10338 freebsd
[123]*) objformat
=aout
;;
10339 *) objformat
=elf
;;
10342 version_type
=freebsd-
$objformat
10343 case $version_type in
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10350 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10354 shlibpath_var
=LD_LIBRARY_PATH
10357 shlibpath_overrides_runpath
=yes
10359 freebsd3.
[01]* | freebsdelf3.
[01]*)
10360 shlibpath_overrides_runpath
=yes
10361 hardcode_into_libs
=yes
10363 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10364 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10365 shlibpath_overrides_runpath
=no
10366 hardcode_into_libs
=yes
10368 *) # from 4.6 on, and DragonFly
10369 shlibpath_overrides_runpath
=yes
10370 hardcode_into_libs
=yes
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10380 soname_spec
='${libname}${release}${shared_ext}$major'
10381 shlibpath_var
=LD_LIBRARY_PATH
10382 hardcode_into_libs
=yes
10389 dynamic_linker
="$host_os runtime_loader"
10390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10391 soname_spec
='${libname}${release}${shared_ext}$major'
10392 shlibpath_var
=LIBRARY_PATH
10393 shlibpath_overrides_runpath
=yes
10394 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10395 hardcode_into_libs
=yes
10398 hpux9
* | hpux10
* | hpux11
*)
10399 # Give a soname corresponding to the major version so that dld.sl refuses to
10400 # link against other versions.
10407 hardcode_into_libs
=yes
10408 dynamic_linker
="$host_os dld.so"
10409 shlibpath_var
=LD_LIBRARY_PATH
10410 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10412 soname_spec
='${libname}${release}${shared_ext}$major'
10413 if test "X$HPUX_IA64_MODE" = X32
; then
10414 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10416 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10418 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10422 hardcode_into_libs
=yes
10423 dynamic_linker
="$host_os dld.sl"
10424 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10425 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10427 soname_spec
='${libname}${release}${shared_ext}$major'
10428 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10429 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10433 dynamic_linker
="$host_os dld.sl"
10434 shlibpath_var
=SHLIB_PATH
10435 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10437 soname_spec
='${libname}${release}${shared_ext}$major'
10440 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10441 postinstall_cmds
='chmod 555 $lib'
10442 # or fails outright, so override atomically:
10443 install_override_mode
=555
10450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10451 soname_spec
='${libname}${release}${shared_ext}$major'
10452 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10453 shlibpath_var
=LD_LIBRARY_PATH
10454 shlibpath_overrides_runpath
=no
10455 hardcode_into_libs
=yes
10458 irix5
* | irix6
* | nonstopux
*)
10460 nonstopux
*) version_type
=nonstopux
;;
10462 if test "$lt_cv_prog_gnu_ld" = yes; then
10470 soname_spec
='${libname}${release}${shared_ext}$major'
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10473 irix5
* | nonstopux
*)
10474 libsuff
= shlibsuff
=
10477 case $LD in # libtool.m4 will add one of these switches to LD
10478 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10479 libsuff
= shlibsuff
= libmagic
=32-bit;;
10480 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10481 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10482 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10483 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10484 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10488 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10489 shlibpath_overrides_runpath
=no
10490 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10491 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10492 hardcode_into_libs
=yes
10495 # No shared lib support for Linux oldld, aout, or coff.
10496 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10500 # This must be Linux ELF.
10501 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506 soname_spec
='${libname}${release}${shared_ext}$major'
10507 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10508 shlibpath_var
=LD_LIBRARY_PATH
10509 shlibpath_overrides_runpath
=no
10511 # Some binutils ld are patched to set DT_RUNPATH
10512 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10513 $as_echo_n "(cached) " >&6
10515 lt_cv_shlibpath_overrides_runpath
=no
10516 save_LDFLAGS
=$LDFLAGS
10517 save_libdir
=$libdir
10518 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10519 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10531 if ac_fn_c_try_link
"$LINENO"; then :
10532 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10533 lt_cv_shlibpath_overrides_runpath
=yes
10536 rm -f core conftest.err conftest.
$ac_objext \
10537 conftest
$ac_exeext conftest.
$ac_ext
10538 LDFLAGS
=$save_LDFLAGS
10539 libdir
=$save_libdir
10543 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10545 # This implies no fast_install, which is unacceptable.
10546 # Some rework will be needed to allow for fast_install
10547 # before this can be enabled.
10548 hardcode_into_libs
=yes
10550 # Append ld.so.conf contents to the search path
10551 if test -f /etc
/ld.so.conf
; then
10552 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' ' '`
10553 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10556 # We used to test for /lib/ld.so.1 and disable shared libraries on
10557 # powerpc, because MkLinux only supported shared libraries with the
10558 # GNU dynamic linker. Since this was broken with cross compilers,
10559 # most powerpc-linux boxes support dynamic linking these days and
10560 # people can always --disable-shared, the test was removed, and we
10561 # assume the GNU/Linux dynamic linker is in use.
10562 dynamic_linker
='GNU/Linux ld.so'
10569 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10571 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10572 dynamic_linker
='NetBSD (a.out) ld.so'
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10575 soname_spec
='${libname}${release}${shared_ext}$major'
10576 dynamic_linker
='NetBSD ld.elf_so'
10578 shlibpath_var
=LD_LIBRARY_PATH
10579 shlibpath_overrides_runpath
=yes
10580 hardcode_into_libs
=yes
10585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586 shlibpath_var
=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath
=yes
10594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec
='${libname}${release}${shared_ext}$major'
10596 shlibpath_var
=LD_LIBRARY_PATH
10597 shlibpath_overrides_runpath
=no
10598 hardcode_into_libs
=yes
10599 dynamic_linker
='ldqnx.so'
10604 sys_lib_dlsearch_path_spec
="/usr/lib"
10606 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10608 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10609 *) need_version
=no
;;
10611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10612 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10613 shlibpath_var
=LD_LIBRARY_PATH
10614 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10616 openbsd2.
[89] | openbsd2.
[89].
*)
10617 shlibpath_overrides_runpath
=no
10620 shlibpath_overrides_runpath
=yes
10624 shlibpath_overrides_runpath
=yes
10629 libname_spec
='$name'
10632 library_names_spec
='$libname${shared_ext} $libname.a'
10633 dynamic_linker
='OS/2 ld.exe'
10634 shlibpath_var
=LIBPATH
10637 osf3
* | osf4
* | osf5
*)
10641 soname_spec
='${libname}${release}${shared_ext}$major'
10642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643 shlibpath_var
=LD_LIBRARY_PATH
10644 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10645 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657 soname_spec
='${libname}${release}${shared_ext}$major'
10658 shlibpath_var
=LD_LIBRARY_PATH
10659 shlibpath_overrides_runpath
=yes
10660 hardcode_into_libs
=yes
10661 # ldd complains unless libraries are executable
10662 postinstall_cmds
='chmod +x $lib'
10667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10668 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10669 shlibpath_var
=LD_LIBRARY_PATH
10670 shlibpath_overrides_runpath
=yes
10671 if test "$with_gnu_ld" = yes; then
10679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10680 soname_spec
='${libname}${release}${shared_ext}$major'
10681 shlibpath_var
=LD_LIBRARY_PATH
10682 case $host_vendor in
10684 shlibpath_overrides_runpath
=no
10686 runpath_var
=LD_RUN_PATH
10694 shlibpath_overrides_runpath
=no
10695 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10701 if test -d /usr
/nec
;then
10703 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10704 soname_spec
='$libname${shared_ext}.$major'
10705 shlibpath_var
=LD_LIBRARY_PATH
10709 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10710 version_type
=freebsd-elf
10713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10714 soname_spec
='${libname}${release}${shared_ext}$major'
10715 shlibpath_var
=LD_LIBRARY_PATH
10716 shlibpath_overrides_runpath
=yes
10717 hardcode_into_libs
=yes
10718 if test "$with_gnu_ld" = yes; then
10719 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10721 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10724 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10728 sys_lib_dlsearch_path_spec
='/usr/lib'
10732 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 shlibpath_var
=LD_LIBRARY_PATH
10738 shlibpath_overrides_runpath
=no
10739 hardcode_into_libs
=yes
10744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec
='${libname}${release}${shared_ext}$major'
10746 shlibpath_var
=LD_LIBRARY_PATH
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10754 $as_echo "$dynamic_linker" >&6; }
10755 test "$dynamic_linker" = no
&& can_build_shared
=no
10757 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10758 if test "$GCC" = yes; then
10759 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10762 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10763 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10765 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10766 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10861 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10863 if test -n "$hardcode_libdir_flag_spec" ||
10864 test -n "$runpath_var" ||
10865 test "X$hardcode_automatic" = "Xyes" ; then
10867 # We can hardcode non-existent directories.
10868 if test "$hardcode_direct" != no
&&
10869 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10870 # have to relink, otherwise we might link with an installed library
10871 # when we should be linking with a yet-to-be-installed one
10872 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10873 test "$hardcode_minus_L" != no
; then
10874 # Linking always hardcodes the temporary library directory.
10875 hardcode_action
=relink
10877 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10878 hardcode_action
=immediate
10881 # We cannot hardcode anything, or else we can only hardcode existing
10883 hardcode_action
=unsupported
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10886 $as_echo "$hardcode_action" >&6; }
10888 if test "$hardcode_action" = relink ||
10889 test "$inherit_rpath" = yes; then
10890 # Fast installation is not supported
10891 enable_fast_install
=no
10892 elif test "$shlibpath_overrides_runpath" = yes ||
10893 test "$enable_shared" = no
; then
10894 # Fast installation is not necessary
10895 enable_fast_install
=needless
10903 if test "x$enable_dlopen" != xyes
; then
10904 enable_dlopen
=unknown
10905 enable_dlopen_self
=unknown
10906 enable_dlopen_self_static
=unknown
10913 lt_cv_dlopen
="load_add_on"
10915 lt_cv_dlopen_self
=yes
10918 mingw
* | pw32
* | cegcc
*)
10919 lt_cv_dlopen
="LoadLibrary"
10924 lt_cv_dlopen
="dlopen"
10929 # if libdl is installed we need to link against it
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10931 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10932 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10933 $as_echo_n "(cached) " >&6
10935 ac_check_lib_save_LIBS
=$LIBS
10937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10955 if ac_fn_c_try_link
"$LINENO"; then :
10956 ac_cv_lib_dl_dlopen
=yes
10958 ac_cv_lib_dl_dlopen
=no
10960 rm -f core conftest.err conftest.
$ac_objext \
10961 conftest
$ac_exeext conftest.
$ac_ext
10962 LIBS
=$ac_check_lib_save_LIBS
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10965 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10966 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10967 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10970 lt_cv_dlopen
="dyld"
10972 lt_cv_dlopen_self
=yes
10979 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10980 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10981 lt_cv_dlopen
="shl_load"
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10984 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10985 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10986 $as_echo_n "(cached) " >&6
10988 ac_check_lib_save_LIBS
=$LIBS
10990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
11003 return shl_load ();
11008 if ac_fn_c_try_link
"$LINENO"; then :
11009 ac_cv_lib_dld_shl_load
=yes
11011 ac_cv_lib_dld_shl_load
=no
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LIBS
=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11018 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11019 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11020 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11022 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11023 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11024 lt_cv_dlopen
="dlopen"
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11027 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11028 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11029 $as_echo_n "(cached) " >&6
11031 ac_check_lib_save_LIBS
=$LIBS
11033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11051 if ac_fn_c_try_link
"$LINENO"; then :
11052 ac_cv_lib_dl_dlopen
=yes
11054 ac_cv_lib_dl_dlopen
=no
11056 rm -f core conftest.err conftest.
$ac_objext \
11057 conftest
$ac_exeext conftest.
$ac_ext
11058 LIBS
=$ac_check_lib_save_LIBS
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11061 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11062 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11063 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11066 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11067 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11068 $as_echo_n "(cached) " >&6
11070 ac_check_lib_save_LIBS
=$LIBS
11071 LIBS
="-lsvld $LIBS"
11072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11090 if ac_fn_c_try_link
"$LINENO"; then :
11091 ac_cv_lib_svld_dlopen
=yes
11093 ac_cv_lib_svld_dlopen
=no
11095 rm -f core conftest.err conftest.
$ac_objext \
11096 conftest
$ac_exeext conftest.
$ac_ext
11097 LIBS
=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11100 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11101 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11102 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11105 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11106 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11107 $as_echo_n "(cached) " >&6
11109 ac_check_lib_save_LIBS
=$LIBS
11111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11124 return dld_link ();
11129 if ac_fn_c_try_link
"$LINENO"; then :
11130 ac_cv_lib_dld_dld_link
=yes
11132 ac_cv_lib_dld_dld_link
=no
11134 rm -f core conftest.err conftest.
$ac_objext \
11135 conftest
$ac_exeext conftest.
$ac_ext
11136 LIBS
=$ac_check_lib_save_LIBS
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11139 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11140 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11141 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11162 if test "x$lt_cv_dlopen" != xno
; then
11168 case $lt_cv_dlopen in
11170 save_CPPFLAGS
="$CPPFLAGS"
11171 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11173 save_LDFLAGS
="$LDFLAGS"
11174 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11177 LIBS
="$lt_cv_dlopen_libs $LIBS"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11180 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11181 if test "${lt_cv_dlopen_self+set}" = set; then :
11182 $as_echo_n "(cached) " >&6
11184 if test "$cross_compiling" = yes; then :
11185 lt_cv_dlopen_self
=cross
11187 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11188 lt_status
=$lt_dlunknown
11189 cat > conftest.
$ac_ext <<_LT_EOF
11190 #line 11190 "configure"
11191 #include "confdefs.h"
11200 # define LT_DLGLOBAL RTLD_GLOBAL
11203 # define LT_DLGLOBAL DL_GLOBAL
11205 # define LT_DLGLOBAL 0
11209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11210 find out it does not work in some platform. */
11211 #ifndef LT_DLLAZY_OR_NOW
11213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11216 # define LT_DLLAZY_OR_NOW DL_LAZY
11219 # define LT_DLLAZY_OR_NOW RTLD_NOW
11222 # define LT_DLLAZY_OR_NOW DL_NOW
11224 # define LT_DLLAZY_OR_NOW 0
11231 /* When -fvisbility=hidden is used, assume the code has been annotated
11232 correspondingly for the symbols needed. */
11233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11234 void fnord () __attribute__((visibility("default")));
11237 void fnord () { int i=42; }
11240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11241 int status = $lt_dlunknown;
11245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11249 else puts (dlerror ());
11251 /* dlclose (self); */
11259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11260 (eval $ac_link) 2>&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11263 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11264 (.
/conftest
; exit; ) >&5 2>/dev
/null
11266 case x
$lt_status in
11267 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11268 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11269 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11272 # compilation failed
11273 lt_cv_dlopen_self
=no
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11281 $as_echo "$lt_cv_dlopen_self" >&6; }
11283 if test "x$lt_cv_dlopen_self" = xyes
; then
11284 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11286 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11287 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11288 $as_echo_n "(cached) " >&6
11290 if test "$cross_compiling" = yes; then :
11291 lt_cv_dlopen_self_static
=cross
11293 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11294 lt_status
=$lt_dlunknown
11295 cat > conftest.
$ac_ext <<_LT_EOF
11296 #line 11296 "configure"
11297 #include "confdefs.h"
11306 # define LT_DLGLOBAL RTLD_GLOBAL
11309 # define LT_DLGLOBAL DL_GLOBAL
11311 # define LT_DLGLOBAL 0
11315 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11316 find out it does not work in some platform. */
11317 #ifndef LT_DLLAZY_OR_NOW
11319 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11322 # define LT_DLLAZY_OR_NOW DL_LAZY
11325 # define LT_DLLAZY_OR_NOW RTLD_NOW
11328 # define LT_DLLAZY_OR_NOW DL_NOW
11330 # define LT_DLLAZY_OR_NOW 0
11337 /* When -fvisbility=hidden is used, assume the code has been annotated
11338 correspondingly for the symbols needed. */
11339 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11340 void fnord () __attribute__((visibility("default")));
11343 void fnord () { int i=42; }
11346 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11347 int status = $lt_dlunknown;
11351 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11354 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11355 else puts (dlerror ());
11357 /* dlclose (self); */
11365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11366 (eval $ac_link) 2>&5
11368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11369 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11370 (.
/conftest
; exit; ) >&5 2>/dev
/null
11372 case x
$lt_status in
11373 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11374 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11375 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11378 # compilation failed
11379 lt_cv_dlopen_self_static
=no
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11387 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11390 CPPFLAGS
="$save_CPPFLAGS"
11391 LDFLAGS
="$save_LDFLAGS"
11396 case $lt_cv_dlopen_self in
11397 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11398 *) enable_dlopen_self
=unknown
;;
11401 case $lt_cv_dlopen_self_static in
11402 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11403 *) enable_dlopen_self_static
=unknown
;;
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11426 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11427 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11428 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11429 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11431 $as_echo "yes" >&6; }
11433 # FIXME - insert some real tests, host_os isn't really good enough
11436 if test -n "$STRIP" ; then
11437 striplib
="$STRIP -x"
11438 old_striplib
="$STRIP -S"
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11440 $as_echo "yes" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443 $as_echo "no" >&6; }
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11448 $as_echo "no" >&6; }
11464 # Report which library types will actually be built
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11466 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11468 $as_echo "$can_build_shared" >&6; }
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11471 $as_echo_n "checking whether to build shared libraries... " >&6; }
11472 test "$can_build_shared" = "no" && enable_shared
=no
11474 # On AIX, shared libraries and static libraries use the same namespace, and
11475 # are all built from PIC.
11478 test "$enable_shared" = yes && enable_static
=no
11479 if test -n "$RANLIB"; then
11480 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11481 postinstall_cmds
='$RANLIB $lib'
11486 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11487 test "$enable_shared" = yes && enable_static
=no
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11492 $as_echo "$enable_shared" >&6; }
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11495 $as_echo_n "checking whether to build static libraries... " >&6; }
11496 # Make sure either enable_shared or enable_static is yes.
11497 test "$enable_shared" = yes || enable_static
=yes
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11499 $as_echo "$enable_static" >&6; }
11506 ac_cpp
='$CPP $CPPFLAGS'
11507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11525 ac_config_commands
="$ac_config_commands libtool"
11530 # Only expand once:
11534 # Check whether --enable-targets was given.
11535 if test "${enable_targets+set}" = set; then :
11536 enableval
=$enable_targets; case "${enableval}" in
11537 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11539 no
) enable_targets
= ;;
11540 *) enable_targets
=$enableval ;;
11545 if grep '^RELEASE=y' ${srcdir}/..
/bfd
/Makefile.am
>/dev
/null
2>/dev
/null
; then
11548 # Check whether --enable-checking was given.
11549 if test "${enable_checking+set}" = set; then :
11550 enableval
=$enable_checking; case "${enableval}" in
11551 no|none
) ac_checking
= ;;
11552 *) ac_checking
=yes ;;
11555 if test x
$ac_checking != x
; then
11557 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11564 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11570 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
11573 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11578 # Check whether --enable-werror was given.
11579 if test "${enable_werror+set}" = set; then :
11580 enableval
=$enable_werror; case "${enableval}" in
11581 yes | y
) ERROR_ON_WARNING
="yes" ;;
11582 no | n
) ERROR_ON_WARNING
="no" ;;
11583 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11588 # Disable -Wformat by default when using gcc on mingw
11591 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11592 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11598 # Enable -Werror by default when using gcc
11599 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11600 ERROR_ON_WARNING
=yes
11604 if test "${ERROR_ON_WARNING}" = yes ; then
11605 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11606 NO_WERROR
="-Wno-error"
11609 if test "${GCC}" = yes ; then
11610 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11613 # Check whether --enable-build-warnings was given.
11614 if test "${enable_build_warnings+set}" = set; then :
11615 enableval
=$enable_build_warnings; case "${enableval}" in
11616 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11617 no
) if test "${GCC}" = yes ; then
11620 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11621 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11622 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11623 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11624 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11629 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11630 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11637 # Generate a header file
11638 ac_config_headers
="$ac_config_headers config.h:config.in"
11641 # If we are on a DOS filesystem, we must use gdb.ini rather than
11644 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
11646 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
11651 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
11657 #We need this for the host. BOUT header is in host order.
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11659 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11660 if test "${ac_cv_c_bigendian+set}" = set; then :
11661 $as_echo_n "(cached) " >&6
11663 ac_cv_c_bigendian
=unknown
11664 # See if we're dealing with a universal compiler.
11665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11667 #ifndef __APPLE_CC__
11668 not a universal capable compiler
11673 if ac_fn_c_try_compile
"$LINENO"; then :
11675 # Check for potential -arch flags. It is not universal unless
11676 # there are at least two -arch flags with different values.
11679 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11680 if test -n "$ac_prev"; then
11682 i?
86 | x86_64 | ppc | ppc64
)
11683 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
11686 ac_cv_c_bigendian
=universal
11692 elif test "x$ac_word" = "x-arch"; then
11697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11698 if test $ac_cv_c_bigendian = unknown
; then
11699 # See if sys/param.h defines the BYTE_ORDER macro.
11700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11702 #include <sys/types.h>
11703 #include <sys/param.h>
11708 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11709 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11711 bogus endian macros
11718 if ac_fn_c_try_compile
"$LINENO"; then :
11719 # It does; now see whether it defined to BIG_ENDIAN or not.
11720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11722 #include <sys/types.h>
11723 #include <sys/param.h>
11728 #if BYTE_ORDER != BIG_ENDIAN
11736 if ac_fn_c_try_compile
"$LINENO"; then :
11737 ac_cv_c_bigendian
=yes
11739 ac_cv_c_bigendian
=no
11741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11745 if test $ac_cv_c_bigendian = unknown
; then
11746 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11749 #include <limits.h>
11754 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11755 bogus endian macros
11762 if ac_fn_c_try_compile
"$LINENO"; then :
11763 # It does; now see whether it defined to _BIG_ENDIAN or not.
11764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11766 #include <limits.h>
11771 #ifndef _BIG_ENDIAN
11779 if ac_fn_c_try_compile
"$LINENO"; then :
11780 ac_cv_c_bigendian
=yes
11782 ac_cv_c_bigendian
=no
11784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11788 if test $ac_cv_c_bigendian = unknown
; then
11789 # Compile a test program.
11790 if test "$cross_compiling" = yes; then :
11791 # Try to guess by grepping values from an object file.
11792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11794 short int ascii_mm[] =
11795 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11796 short int ascii_ii[] =
11797 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11798 int use_ascii (int i) {
11799 return ascii_mm[i] + ascii_ii[i];
11801 short int ebcdic_ii[] =
11802 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11803 short int ebcdic_mm[] =
11804 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11805 int use_ebcdic (int i) {
11806 return ebcdic_mm[i] + ebcdic_ii[i];
11813 return use_ascii (foo) == use_ebcdic (foo);
11818 if ac_fn_c_try_compile
"$LINENO"; then :
11819 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
11820 ac_cv_c_bigendian
=yes
11822 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
11823 if test "$ac_cv_c_bigendian" = unknown
; then
11824 ac_cv_c_bigendian
=no
11826 # finding both strings is unlikely to happen, but who knows?
11827 ac_cv_c_bigendian
=unknown
11831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11835 $ac_includes_default
11840 /* Are we little or big endian? From Harbison&Steele. */
11844 char c[sizeof (long int)];
11847 return u.c[sizeof (long int) - 1] == 1;
11853 if ac_fn_c_try_run
"$LINENO"; then :
11854 ac_cv_c_bigendian
=no
11856 ac_cv_c_bigendian
=yes
11858 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11859 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11865 $as_echo "$ac_cv_c_bigendian" >&6; }
11866 case $ac_cv_c_bigendian in #(
11868 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11874 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11878 as_fn_error
"unknown endianness
11879 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11885 # Makefile target for installing gas in $(tooldir)/bin.
11886 install_tooldir
=install-exec-tooldir
11890 if test -n "$enable_targets" ; then
11891 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
11892 if test $t = "all"; then
11896 result
=`$ac_config_sub $t 2>/dev/null`
11897 if test -n "$result" ; then
11898 canon_targets
="$canon_targets $result"
11900 # # Permit "all", etc. We don't support it yet though.
11901 # canon_targets="$canon_targets $t"
11904 _gas_uniq_list
="$canon_targets"
11905 _gas_uniq_newlist
=""
11906 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11907 case $_gas_uniq_i in
11908 _gas_uniq_dummy
) ;;
11909 *) case " $_gas_uniq_newlist " in
11910 *" $_gas_uniq_i "*) ;;
11911 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11915 canon_targets
=$_gas_uniq_newlist
11921 for this_target
in $target $canon_targets ; do
11923 targ
=${this_target}
11924 .
${srcdir}/configure.tgt
11926 case ${target_cpu} in
11929 cat >>confdefs.h
<<_ACEOF
11930 #define DEFAULT_CRIS_ARCH $arch
11936 if test ${this_target} = $target ; then
11937 target_cpu_type
=${cpu_type}
11938 elif test ${target_cpu_type} != ${cpu_type} ; then
11942 generic_target
=${cpu_type}-${target_vendor}-${target_os}
11943 case ${generic_target} in
11945 if test ${this_target} = $target; then
11947 $as_echo "#define SCO_ELF 1" >>confdefs.h
11952 i386-
*-msdosdjgpp* \
11954 | i386-go32-rtems
*)
11956 $as_echo "#define STRICTCOFF 1" >>confdefs.h
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
11962 $as_echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
11971 as_fn_error
"Unknown vendor for mips-bsd configuration." "$LINENO" 5
11976 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
11982 *) as_fn_error
"GNU/Linux must be configured big endian" "$LINENO" 5 ;;
11986 if test ${this_target} = $target; then
11988 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
11991 if test x
${endian} = xbig
; then
11992 as_fn_error
"Solaris must be configured little endian" "$LINENO" 5
11998 $as_echo "#define TARGET_SYMBIAN 1" >>confdefs.h
12003 if test ${this_target} = $target ; then
12005 if test x
${endian} = xbig
; then
12007 elif test x
${endian} = xlittle
; then
12010 if test x
${endian_def} != x
; then
12012 cat >>confdefs.h
<<_ACEOF
12013 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12019 # Other random stuff.
12021 case ${cpu_type} in
12023 # Set mips_cpu to the name of the default CPU.
12024 case ${target_cpu} in
12025 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
12028 mipsisa32 | mipsisa32el
)
12031 mipsisa32r2 | mipsisa32r2el
)
12034 mipsisa64 | mipsisa64el
)
12037 mipsisa64r2 | mipsisa64r2el
)
12040 mipstx39 | mipstx39el
)
12043 mips64vr | mips64vrel
)
12046 mipsisa32r2
* | mipsisa64r2
*)
12047 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12049 mips64
* | mipsisa64
* | mipsisa32
*)
12050 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12053 as_fn_error
"$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12056 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12057 # binaries. It's a GNU extension that some OSes don't understand.
12058 # The value only matters on ELF targets.
12061 use_e_mips_abi_o32
=0
12064 use_e_mips_abi_o32
=1
12067 # Decide whether to generate 32-bit or 64-bit code by default.
12068 # Used to resolve -march=from-abi when an embedded ABI is selected.
12070 mips64
*-*-* | mipsisa64
*-*-*)
12071 mips_default_64bit
=1
12074 mips_default_64bit
=0
12077 # Decide which ABI to target by default.
12079 mips64
*-linux* | mips-sgi-irix6
*)
12080 mips_default_abi
=N32_ABI
12083 mips_default_abi
=O32_ABI
12086 mips_default_abi
=N64_ABI
12089 mips_default_abi
=NO_ABI
12093 cat >>confdefs.h
<<_ACEOF
12094 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12098 cat >>confdefs.h
<<_ACEOF
12099 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12103 cat >>confdefs.h
<<_ACEOF
12104 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12108 cat >>confdefs.h
<<_ACEOF
12109 #define MIPS_DEFAULT_ABI $mips_default_abi
12115 # Do we need the opcodes library?
12116 case ${cpu_type} in
12123 case "${enable_shared}" in
12124 yes) shared_opcodes
=true
;;
12125 *opcodes
*) shared_opcodes
=true
;;
12126 *) shared_opcodes
=false
;;
12131 # Any other special object files needed ?
12132 case ${cpu_type} in
12135 echo ${extra_objects} |
grep -s "bfin-parse.o"
12136 if test $?
-ne 0 ; then
12137 extra_objects
="$extra_objects bfin-parse.o"
12140 echo ${extra_objects} |
grep -s "bfin-lex.o"
12141 if test $?
-ne 0 ; then
12142 extra_objects
="$extra_objects bfin-lex.o"
12146 fr30 | ip2k | iq2000 | lm32 | m32r | openrisc
)
12157 case ${extra_objects} in
12159 *) extra_objects
="$extra_objects m68k-parse.o" ;;
12168 echo ${extra_objects} |
grep -s "itbl-parse.o"
12169 if test $?
-ne 0 ; then
12170 extra_objects
="$extra_objects itbl-parse.o"
12173 echo ${extra_objects} |
grep -s "itbl-lex.o"
12174 if test $?
-ne 0 ; then
12175 extra_objects
="$extra_objects itbl-lex.o"
12178 echo ${extra_objects} |
grep -s "itbl-ops.o"
12179 if test $?
-ne 0 ; then
12180 extra_objects
="$extra_objects itbl-ops.o"
12188 i386 | s390 | sparc
)
12189 if test $this_target = $target ; then
12191 cat >>confdefs.h
<<_ACEOF
12192 #define DEFAULT_ARCH "${arch}"
12199 echo ${extra_objects} |
grep -s "rx-parse.o"
12200 if test $?
-ne 0 ; then
12201 extra_objects
="$extra_objects rx-parse.o"
12214 echo ${extra_objects} |
grep -s "xtensa-relax.o"
12215 if test $?
-ne 0 ; then
12216 extra_objects
="$extra_objects xtensa-relax.o"
12224 if test $using_cgen = yes ; then
12225 case "x${extra_objects}" in
12227 *) extra_objects
="$extra_objects cgen.o" ;;
12231 # See if we really can support this configuration with the emulation code.
12233 if test $this_target = $target ; then
12239 vms
) extra_objects
="$extra_objects te-vms.o" ;;
12242 # From target name and format, produce a list of supported emulations.
12244 case ${generic_target}-${fmt} in
12245 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
12246 mips
*-*-linux*-*) case "$endian" in
12247 big
) emulation
="mipsbelf mipslelf mipself" ;;
12248 *) emulation
="mipslelf mipsbelf mipself" ;;
12250 mips-
*-lnews*-ecoff) ;;
12251 mips-
*-*-ecoff) case "$endian" in
12252 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
12253 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
12255 mips-
*-*-elf) case "$endian" in
12256 big
) emulation
="mipsbelf mipslelf mipself" ;;
12257 *) emulation
="mipslelf mipsbelf mipself" ;;
12259 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
12260 # i386-pc-pe-coff != i386-pc-coff.
12262 # Uncommenting the next line will turn on support for i386 AOUT
12263 # for the default linux configuration
12264 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
12266 i386-
*-aout) emulation
="i386aout" ;;
12267 i386-
*-coff) emulation
="i386coff" ;;
12268 i386-
*-elf) emulation
="i386elf" ;;
12270 # Always all formats. The first stated emulation becomes the default.
12271 cris-
*-*aout
*) emulation
="crisaout criself" ;;
12272 cris-
*-*) emulation
="criself crisaout" ;;
12275 emulations
="$emulations $emulation"
12279 # Turn on all targets if possible
12280 if test ${all_targets} = "yes"; then
12281 case ${target_cpu_type} in
12283 case ${obj_format} in
12285 emulations
="$emulations i386coff i386elf"
12288 emulations
="$emulations i386aout i386elf"
12291 emulations
="$emulations i386aout i386coff"
12296 case ${obj_format} in
12298 emulations
="$emulations i386coff i386elf"
12301 emulations
="$emulations i386aout i386elf"
12304 emulations
="$emulations i386aout i386coff"
12311 # Assign floating point type. Most processors with FP support
12312 # IEEE FP. On those that don't support FP at all, usually IEEE
12314 case ${target_cpu} in
12315 vax | pdp11
) atof
=vax
;;
12319 case "${obj_format}" in
12320 "") as_fn_error
"GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
12323 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
12325 if test $using_cgen = yes ; then
12326 case ${target_cpu} in
12327 *) cgen_cpu_prefix
=${target_cpu} ;;
12331 $as_echo "#define USING_CGEN 1" >>confdefs.h
12336 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
12337 as_fn_error
"GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
12340 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
12341 as_fn_error
"GAS does not have support for object file format ${obj_format}" "$LINENO" 5
12344 # Some COFF configurations want these random other flags set.
12345 case ${obj_format} in
12347 case ${target_cpu_type} in
12349 $as_echo "#define I386COFF 1" >>confdefs.h
12352 $as_echo "#define M68KCOFF 1" >>confdefs.h
12355 $as_echo "#define M88KCOFF 1" >>confdefs.h
12358 $as_echo "#define I386COFF 1" >>confdefs.h
12364 # Getting this done right is going to be a bitch. Each configuration specified
12365 # with --enable-targets=... should be checked for environment, format, cpu
12368 # For each configuration, the necessary object file support code must be linked
12369 # in. This might be only one, it might be up to four. The necessary emulation
12370 # code needs to be provided, too.
12372 # And then there's "--enable-targets=all"....
12374 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
12376 formats
="${obj_format}"
12379 _gas_uniq_list
="$emulations"
12380 _gas_uniq_newlist
=""
12381 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12382 case $_gas_uniq_i in
12383 _gas_uniq_dummy
) ;;
12384 *) case " $_gas_uniq_newlist " in
12385 *" $_gas_uniq_i "*) ;;
12386 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12390 emulations
=$_gas_uniq_newlist
12392 for em
in .
$emulations ; do
12395 mipsbelf | mipslelf | mipself
)
12396 fmt=elf
file=mipself
;;
12397 mipsbecoff | mipslecoff | mipsecoff
)
12398 fmt=ecoff
file=mipsecoff
;;
12400 fmt=coff
file=$em ;;
12402 fmt=aout
file=$em ;;
12404 fmt=elf
file=$em ;;
12406 formats
="$formats $fmt"
12407 emfiles
="$emfiles e-$file.o"
12408 EMULATIONS
="$EMULATIONS &$em,"
12410 _gas_uniq_list
="$formats"
12411 _gas_uniq_newlist
=""
12412 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12413 case $_gas_uniq_i in
12414 _gas_uniq_dummy
) ;;
12415 *) case " $_gas_uniq_newlist " in
12416 *" $_gas_uniq_i "*) ;;
12417 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12421 formats
=$_gas_uniq_newlist
12423 _gas_uniq_list
="$emfiles"
12424 _gas_uniq_newlist
=""
12425 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
12426 case $_gas_uniq_i in
12427 _gas_uniq_dummy
) ;;
12428 *) case " $_gas_uniq_newlist " in
12429 *" $_gas_uniq_i "*) ;;
12430 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
12434 emfiles
=$_gas_uniq_newlist
12436 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
12437 for fmt in $formats ; do
12440 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
12443 $as_echo "#define OBJ_MAYBE_BOUT 1" >>confdefs.h
12446 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
12449 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
12452 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
12455 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
12458 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
12461 extra_objects
="$extra_objects obj-$fmt.o"
12465 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
12466 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
12467 # e-mips* has more than one emulation per file, e-i386* has just one at the
12468 # moment. If only one emulation is specified, then don't define
12469 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
12470 case "${obj_format}${emfiles}" in
12472 extra_objects
="$extra_objects $emfiles"
12474 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
12480 cat >>confdefs.h
<<_ACEOF
12481 #define EMULATIONS $EMULATIONS
12485 cat >>confdefs.h
<<_ACEOF
12486 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
12490 reject_dev_configs
=yes
12492 case ${reject_dev_configs}-${dev} in
12494 as_fn_error
"GAS does not support the ${generic_target} configuration." "$LINENO" 5
12504 # do we need the opcodes library?
12505 case "${need_opcodes}" in
12507 OPCODES_LIB
=..
/opcodes
/libopcodes.la
12514 cat >>confdefs.h
<<_ACEOF
12515 #define TARGET_ALIAS "${target_alias}"
12519 cat >>confdefs.h
<<_ACEOF
12520 #define TARGET_CANONICAL "${target}"
12524 cat >>confdefs.h
<<_ACEOF
12525 #define TARGET_CPU "${target_cpu}"
12529 cat >>confdefs.h
<<_ACEOF
12530 #define TARGET_VENDOR "${target_vendor}"
12534 cat >>confdefs.h
<<_ACEOF
12535 #define TARGET_OS "${target_os}"
12539 for ac_prog
in 'bison -y' byacc
12541 # Extract the first word of "$ac_prog", so it can be a program name with args.
12542 set dummy
$ac_prog; ac_word
=$2
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12544 $as_echo_n "checking for $ac_word... " >&6; }
12545 if test "${ac_cv_prog_YACC+set}" = set; then :
12546 $as_echo_n "(cached) " >&6
12548 if test -n "$YACC"; then
12549 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12552 for as_dir
in $PATH
12555 test -z "$as_dir" && as_dir
=.
12556 for ac_exec_ext
in '' $ac_executable_extensions; do
12557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12558 ac_cv_prog_YACC
="$ac_prog"
12559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12568 YACC
=$ac_cv_prog_YACC
12569 if test -n "$YACC"; then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12571 $as_echo "$YACC" >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12574 $as_echo "no" >&6; }
12578 test -n "$YACC" && break
12580 test -n "$YACC" || YACC
="yacc"
12582 for ac_prog
in flex
lex
12584 # Extract the first word of "$ac_prog", so it can be a program name with args.
12585 set dummy
$ac_prog; ac_word
=$2
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12587 $as_echo_n "checking for $ac_word... " >&6; }
12588 if test "${ac_cv_prog_LEX+set}" = set; then :
12589 $as_echo_n "(cached) " >&6
12591 if test -n "$LEX"; then
12592 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12595 for as_dir
in $PATH
12598 test -z "$as_dir" && as_dir
=.
12599 for ac_exec_ext
in '' $ac_executable_extensions; do
12600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12601 ac_cv_prog_LEX
="$ac_prog"
12602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12611 LEX
=$ac_cv_prog_LEX
12612 if test -n "$LEX"; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12614 $as_echo "$LEX" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617 $as_echo "no" >&6; }
12621 test -n "$LEX" && break
12623 test -n "$LEX" || LEX
=":"
12625 if test "x$LEX" != "x:"; then
12626 cat >conftest.l
<<_ACEOF
12632 e { yyless (input () != 0); }
12633 f { unput (yytext[0]); }
12634 . { BEGIN INITIAL; }
12636 #ifdef YYTEXT_POINTER
12637 extern char *yytext;
12642 return ! yylex () + ! yywrap ();
12645 { { ac_try
="$LEX conftest.l"
12646 case "(($ac_try" in
12647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12648 *) ac_try_echo=$ac_try;;
12650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12651 $as_echo "$ac_try_echo"; } >&5
12652 (eval "$LEX conftest.l") 2>&5
12654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12655 test $ac_status = 0; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12657 $as_echo_n "checking lex output file root... " >&6; }
12658 if test "${ac_cv_prog_lex_root+set}" = set; then :
12659 $as_echo_n "(cached) " >&6
12662 if test -f lex.yy.c; then
12663 ac_cv_prog_lex_root=lex.yy
12664 elif test -f lexyy.c; then
12665 ac_cv_prog_lex_root=lexyy
12667 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12671 $as_echo "$ac_cv_prog_lex_root" >&6; }
12672 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12674 if test -z "${LEXLIB+set}"; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12676 $as_echo_n "checking lex library... " >&6; }
12677 if test "${ac_cv_lib_lex+set}" = set; then :
12678 $as_echo_n "(cached) " >&6
12682 ac_cv_lib_lex='none needed'
12683 for ac_lib in '' -lfl -ll; do
12684 LIBS="$ac_lib $ac_save_LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12687 `cat $LEX_OUTPUT_ROOT.c
`
12689 if ac_fn_c_try_link "$LINENO"; then :
12690 ac_cv_lib_lex=$ac_lib
12692 rm -f core conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12694 test "$ac_cv_lib_lex" != 'none needed' && break
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12700 $as_echo "$ac_cv_lib_lex" >&6; }
12701 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12706 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12707 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
12708 $as_echo_n "(cached) " >&6
12710 # POSIX says lex can declare yytext either as a pointer or an array; the
12711 # default is implementation-dependent. Figure out which it is, since
12712 # not all implementations provide the %pointer and %array declarations.
12713 ac_cv_prog_lex_yytext_pointer=no
12715 LIBS="$LEXLIB $ac_save_LIBS"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12718 #define YYTEXT_POINTER 1
12719 `cat $LEX_OUTPUT_ROOT.c
`
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 ac_cv_prog_lex_yytext_pointer=yes
12724 rm -f core conftest.err conftest.$ac_objext \
12725 conftest$ac_exeext conftest.$ac_ext
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12730 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12731 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12733 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12736 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12739 if test "$LEX" = :; then
12740 LEX=${am_missing_run}flex
12743 ALL_LINGUAS="fr tr es rw id ru"
12744 # If we haven't got the data from the intl directory,
12745 # assume NLS is disabled.
12754 if test -f ../intl/config.intl; then
12755 . ../intl/config.intl
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12758 $as_echo_n "checking whether NLS is requested... " >&6; }
12759 if test x"$USE_NLS" != xyes; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12764 $as_echo "yes" >&6; }
12766 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12770 $as_echo_n "checking for catalogs to be installed... " >&6; }
12771 # Look for .po and .gmo files in the source directory.
12774 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
12775 # If there aren't any .gmo files the shell will give us the
12776 # literal string "../path/to/srcdir/po/*.gmo" which has to be
12778 case "$cat" in *\**)
12781 # The quadruple backslash is collapsed to a double backslash
12782 # by the backticks, then collapsed again by the double quotes,
12783 # leaving us with one backslash in the sed expression (right
12784 # before the dot that mustn't act as a wildcard).
12785 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
12786 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
12787 # The user is allowed to set LINGUAS to a list of languages to
12788 # install catalogs for. If it's empty that means "all of them."
12789 if test "x$LINGUAS" = x; then
12790 CATALOGS="$CATALOGS $cat"
12791 XLINGUAS="$XLINGUAS $lang"
12793 case "$LINGUAS" in *$lang*)
12794 CATALOGS="$CATALOGS $cat"
12795 XLINGUAS="$XLINGUAS $lang"
12800 LINGUAS="$XLINGUAS"
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12802 $as_echo "$LINGUAS" >&6; }
12816 if test -n "$ac_aux_dir"; then
12817 case "$ac_aux_dir" in
12818 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
12819 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12822 if test -z "$MKINSTALLDIRS"; then
12823 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12829 $as_echo_n "checking whether NLS is requested... " >&6; }
12830 # Check whether --enable-nls was given.
12831 if test "${enable_nls+set}" = set; then :
12832 enableval=$enable_nls; USE_NLS=$enableval
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12838 $as_echo "$USE_NLS" >&6; }
12845 # Prepare PATH_SEPARATOR.
12846 # The user is always right.
12847 if test "${PATH_SEPARATOR+set}" != set; then
12848 echo "#! /bin/sh" >conf$$.sh
12849 echo "exit 0" >>conf$$.sh
12851 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12859 # Find out how to test for executable files. Don't use a zero-byte file,
12860 # as systems may use methods other than mode bits to determine executability.
12861 cat >conf$$.file <<_ASEOF
12865 chmod +x conf$$.file
12866 if test -x conf$$.file >/dev/null 2>&1; then
12867 ac_executable_p="test -x"
12869 ac_executable_p="test -f"
12873 # Extract the first word of "msgfmt", so it can be a program name with args.
12874 set dummy msgfmt; ac_word=$2
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12876 $as_echo_n "checking for $ac_word... " >&6; }
12877 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12878 $as_echo_n "(cached) " >&6
12882 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12885 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12886 for ac_dir in $PATH; do
12888 test -z "$ac_dir" && ac_dir=.
12889 for ac_exec_ext in '' $ac_executable_extensions; do
12890 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12891 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
12892 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12893 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12900 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12904 MSGFMT="$ac_cv_path_MSGFMT"
12905 if test "$MSGFMT" != ":"; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12907 $as_echo "$MSGFMT" >&6; }
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12910 $as_echo "no" >&6; }
12913 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12914 set dummy gmsgfmt; ac_word=$2
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12916 $as_echo_n "checking for $ac_word... " >&6; }
12917 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12918 $as_echo_n "(cached) " >&6
12922 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12926 for as_dir in $PATH
12929 test -z "$as_dir" && as_dir=.
12930 for ac_exec_ext in '' $ac_executable_extensions; do
12931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12932 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12940 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12944 GMSGFMT=$ac_cv_path_GMSGFMT
12945 if test -n "$GMSGFMT"; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12947 $as_echo "$GMSGFMT" >&6; }
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12950 $as_echo "no" >&6; }
12956 # Prepare PATH_SEPARATOR.
12957 # The user is always right.
12958 if test "${PATH_SEPARATOR+set}" != set; then
12959 echo "#! /bin/sh" >conf$$.sh
12960 echo "exit 0" >>conf$$.sh
12962 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12970 # Find out how to test for executable files. Don't use a zero-byte file,
12971 # as systems may use methods other than mode bits to determine executability.
12972 cat >conf$$.file <<_ASEOF
12976 chmod +x conf$$.file
12977 if test -x conf$$.file >/dev/null 2>&1; then
12978 ac_executable_p="test -x"
12980 ac_executable_p="test -f"
12984 # Extract the first word of "xgettext", so it can be a program name with args.
12985 set dummy xgettext; ac_word=$2
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12987 $as_echo_n "checking for $ac_word... " >&6; }
12988 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12989 $as_echo_n "(cached) " >&6
12991 case "$XGETTEXT" in
12993 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12996 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12997 for ac_dir in $PATH; do
12999 test -z "$ac_dir" && ac_dir=.
13000 for ac_exec_ext in '' $ac_executable_extensions; do
13001 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13002 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13003 (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
13004 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13011 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13015 XGETTEXT="$ac_cv_path_XGETTEXT"
13016 if test "$XGETTEXT" != ":"; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13018 $as_echo "$XGETTEXT" >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13021 $as_echo "no" >&6; }
13027 # Prepare PATH_SEPARATOR.
13028 # The user is always right.
13029 if test "${PATH_SEPARATOR+set}" != set; then
13030 echo "#! /bin/sh" >conf$$.sh
13031 echo "exit 0" >>conf$$.sh
13033 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13041 # Find out how to test for executable files. Don't use a zero-byte file,
13042 # as systems may use methods other than mode bits to determine executability.
13043 cat >conf$$.file <<_ASEOF
13047 chmod +x conf$$.file
13048 if test -x conf$$.file >/dev/null 2>&1; then
13049 ac_executable_p="test -x"
13051 ac_executable_p="test -f"
13055 # Extract the first word of "msgmerge", so it can be a program name with args.
13056 set dummy msgmerge; ac_word=$2
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13058 $as_echo_n "checking for $ac_word... " >&6; }
13059 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13060 $as_echo_n "(cached) " >&6
13062 case "$MSGMERGE" in
13064 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13067 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13068 for ac_dir in $PATH; do
13070 test -z "$ac_dir" && ac_dir=.
13071 for ac_exec_ext in '' $ac_executable_extensions; do
13072 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13073 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13074 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13081 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13085 MSGMERGE="$ac_cv_path_MSGMERGE"
13086 if test "$MSGMERGE" != ":"; then
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13088 $as_echo "$MSGMERGE" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13091 $as_echo "no" >&6; }
13095 if test "$GMSGFMT" != ":"; then
13096 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
13097 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13100 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13102 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13107 if test "$XGETTEXT" != ":"; then
13108 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13109 (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
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13113 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13119 ac_config_commands="$ac_config_commands default-1"
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13125 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13126 # Check whether --enable-maintainer-mode was given.
13127 if test "${enable_maintainer_mode+set}" = set; then :
13128 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13130 USE_MAINTAINER_MODE=no
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13134 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13135 if test $USE_MAINTAINER_MODE = yes; then
13136 MAINTAINER_MODE_TRUE=
13137 MAINTAINER_MODE_FALSE='#'
13139 MAINTAINER_MODE_TRUE='#'
13140 MAINTAINER_MODE_FALSE=
13143 MAINT=$MAINTAINER_MODE_TRUE
13147 GENINSRC_NEVER_TRUE=
13148 GENINSRC_NEVER_FALSE='#'
13150 GENINSRC_NEVER_TRUE='#'
13151 GENINSRC_NEVER_FALSE=
13156 for ac_header in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h limits.h time.h sys/stat.h
13158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13159 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13160 eval as_val=\$$as_ac_Header
13161 if test "x$as_val" = x""yes; then :
13162 cat >>confdefs.h <<_ACEOF
13163 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13171 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
13172 # people who are not cross-compiling but are compiling cross-assemblers.
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
13174 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
13175 if test "${host}" = "${target}"; then
13180 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
13184 $as_echo "$cross_gas" >&6; }
13186 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13187 # for constant arguments. Useless!
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13189 $as_echo_n "checking for working alloca.h... " >&6; }
13190 if test "${ac_cv_working_alloca_h+set}" = set; then :
13191 $as_echo_n "(cached) " >&6
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13195 #include <alloca.h>
13199 char *p = (char *) alloca (2 * sizeof (int));
13205 if ac_fn_c_try_link "$LINENO"; then :
13206 ac_cv_working_alloca_h=yes
13208 ac_cv_working_alloca_h=no
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13214 $as_echo "$ac_cv_working_alloca_h" >&6; }
13215 if test $ac_cv_working_alloca_h = yes; then
13217 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13222 $as_echo_n "checking for alloca... " >&6; }
13223 if test "${ac_cv_func_alloca_works+set}" = set; then :
13224 $as_echo_n "(cached) " >&6
13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 # define alloca __builtin_alloca
13232 # include <malloc.h>
13233 # define alloca _alloca
13235 # ifdef HAVE_ALLOCA_H
13236 # include <alloca.h>
13241 # ifndef alloca /* predefined by HP cc +Olibcalls */
13252 char *p = (char *) alloca (1);
13258 if ac_fn_c_try_link "$LINENO"; then :
13259 ac_cv_func_alloca_works=yes
13261 ac_cv_func_alloca_works=no
13263 rm -f core conftest.err conftest.$ac_objext \
13264 conftest$ac_exeext conftest.$ac_ext
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13267 $as_echo "$ac_cv_func_alloca_works" >&6; }
13269 if test $ac_cv_func_alloca_works = yes; then
13271 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13274 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13275 # that cause trouble. Some versions do not even contain alloca or
13276 # contain a buggy version. If you still want to use their alloca,
13277 # use ar to extract alloca.o from them instead of compiling alloca.c.
13279 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13281 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c
' needs Cray hooks" >&5
13285 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
13286 if test "${ac_cv_os_cray+set}" = set; then :
13287 $as_echo_n "(cached
) " >&6
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13291 #if defined CRAY && ! defined CRAY2
13298 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
13299 $EGREP "webecray
" >/dev/null 2>&1; then :
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_os_cray" >&5
13308 $as_echo "$ac_cv_os_cray" >&6; }
13309 if test $ac_cv_os_cray = yes; then
13310 for ac_func in _getb67 GETB67 getb67; do
13311 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13313 eval as_val=\$$as_ac_var
13314 if test "x
$as_val" = x""yes; then :
13316 cat >>confdefs.h <<_ACEOF
13317 #define CRAY_STACKSEG_END $ac_func
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction
for C alloca
" >&5
13327 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
13328 if test "${ac_cv_c_stack_direction+set}" = set; then :
13329 $as_echo_n "(cached
) " >&6
13331 if test "$cross_compiling" = yes; then :
13332 ac_cv_c_stack_direction=0
13334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13336 $ac_includes_default
13338 find_stack_direction ()
13340 static char *addr = 0;
13345 return find_stack_direction ();
13348 return (&dummy > addr) ? 1 : -1;
13354 return find_stack_direction () < 0;
13357 if ac_fn_c_try_run "$LINENO"; then :
13358 ac_cv_c_stack_direction=1
13360 ac_cv_c_stack_direction=-1
13362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13363 conftest.$ac_objext conftest.beam conftest.$ac_ext
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_stack_direction" >&5
13368 $as_echo "$ac_cv_c_stack_direction" >&6; }
13369 cat >>confdefs.h <<_ACEOF
13370 #define STACK_DIRECTION $ac_cv_c_stack_direction
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for inline
" >&5
13377 $as_echo_n "checking
for inline...
" >&6; }
13378 if test "${ac_cv_c_inline+set}" = set; then :
13379 $as_echo_n "(cached
) " >&6
13382 for ac_kw in inline __inline__ __inline; do
13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384 /* end confdefs.h. */
13385 #ifndef __cplusplus
13387 static $ac_kw foo_t static_foo () {return 0; }
13388 $ac_kw foo_t foo () {return 0; }
13392 if ac_fn_c_try_compile "$LINENO"; then :
13393 ac_cv_c_inline=$ac_kw
13395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13396 test "$ac_cv_c_inline" != no && break
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_inline" >&5
13401 $as_echo "$ac_cv_c_inline" >&6; }
13403 case $ac_cv_c_inline in
13406 case $ac_cv_c_inline in
13408 *) ac_val=$ac_cv_c_inline;;
13410 cat >>confdefs.h <<_ACEOF
13411 #ifndef __cplusplus
13412 #define inline $ac_val
13419 # VMS doesn't have unlink.
13420 for ac_func in unlink remove
13422 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13424 eval as_val=\$$as_ac_var
13425 if test "x
$as_val" = x""yes; then :
13426 cat >>confdefs.h <<_ACEOF
13427 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13434 # Some systems don't have sbrk().
13435 for ac_func in sbrk
13437 ac_fn_c_check_func "$LINENO" "sbrk
" "ac_cv_func_sbrk
"
13438 if test "x
$ac_cv_func_sbrk" = x""yes; then :
13439 cat >>confdefs.h <<_ACEOF
13440 #define HAVE_SBRK 1
13447 # do we need the math library?
13448 case "${need_libm}" in
13452 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13453 # These system don't have libm, or don't need it
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for _mwvalidcheckl
in -lmw" >&5
13457 $as_echo_n "checking
for _mwvalidcheckl
in -lmw...
" >&6; }
13458 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
13459 $as_echo_n "(cached
) " >&6
13461 ac_check_lib_save_LIBS=$LIBS
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13472 char _mwvalidcheckl ();
13476 return _mwvalidcheckl ();
13481 if ac_fn_c_try_link "$LINENO"; then :
13482 ac_cv_lib_mw__mwvalidcheckl=yes
13484 ac_cv_lib_mw__mwvalidcheckl=no
13486 rm -f core conftest.err conftest.$ac_objext \
13487 conftest$ac_exeext conftest.$ac_ext
13488 LIBS=$ac_check_lib_save_LIBS
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_mw__mwvalidcheckl" >&5
13491 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13492 if test "x
$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for cos
in -lm" >&5
13497 $as_echo_n "checking
for cos
in -lm...
" >&6; }
13498 if test "${ac_cv_lib_m_cos+set}" = set; then :
13499 $as_echo_n "(cached
) " >&6
13501 ac_check_lib_save_LIBS=$LIBS
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13506 /* Override any GCC internal prototype to avoid an error.
13507 Use char because int might match the return type of a GCC
13508 builtin and then its argument prototype would still apply. */
13521 if ac_fn_c_try_link "$LINENO"; then :
13522 ac_cv_lib_m_cos=yes
13526 rm -f core conftest.err conftest.$ac_objext \
13527 conftest$ac_exeext conftest.$ac_ext
13528 LIBS=$ac_check_lib_save_LIBS
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_m_cos" >&5
13531 $as_echo "$ac_cv_lib_m_cos" >&6; }
13532 if test "x
$ac_cv_lib_m_cos" = x""yes; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for cos
in -lm" >&5
13539 $as_echo_n "checking
for cos
in -lm...
" >&6; }
13540 if test "${ac_cv_lib_m_cos+set}" = set; then :
13541 $as_echo_n "(cached
) " >&6
13543 ac_check_lib_save_LIBS=$LIBS
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 ac_cv_lib_m_cos=yes
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_lib_save_LIBS
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_m_cos" >&5
13573 $as_echo "$ac_cv_lib_m_cos" >&6; }
13574 if test "x
$ac_cv_lib_m_cos" = x""yes; then :
13586 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
13587 # enough, but on some of those systems, the assert macro relies on requoting
13588 # working properly!
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for working assert macro
" >&5
13590 $as_echo_n "checking
for working assert macro...
" >&6; }
13591 if test "${gas_cv_assert_ok+set}" = set; then :
13592 $as_echo_n "(cached
) " >&6
13594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13596 #include <assert.h>
13602 /* check for requoting problems */
13603 static int a, b, c, d;
13605 assert (!strcmp(s, "foo bar baz quux
"));
13606 /* check for newline handling */
13614 if ac_fn_c_try_link "$LINENO"; then :
13615 gas_cv_assert_ok=yes
13617 gas_cv_assert_ok=no
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $gas_cv_assert_ok" >&5
13623 $as_echo "$gas_cv_assert_ok" >&6; }
13624 test $gas_cv_assert_ok = yes ||
13625 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
13629 # On some systems, the system header files may not declare malloc, realloc,
13630 # and free. There are places where gas needs these functions to have been
13631 # declared -- such as when taking their addresses.
13633 #ifdef HAVE_MEMORY_H
13634 #include <memory.h>
13636 #ifdef HAVE_STRING_H
13637 #include <string.h>
13639 #ifdef HAVE_STRINGS_H
13640 #include <strings.h>
13643 #ifdef HAVE_STDLIB_H
13644 #include <stdlib.h>
13646 #ifdef HAVE_UNISTD_H
13647 #include <unistd.h>
13651 # Does errno.h declare errno, or do we have to add a separate declaration
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
13655 $as_echo_n "checking whether declaration is required for errno... " >&6; }
13656 if test "${gas_cv_decl_needed_errno+set}" = set; then :
13657 $as_echo_n "(cached) " >&6
13659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13662 #ifdef HAVE_ERRNO_H
13678 if ac_fn_c_try_link
"$LINENO"; then :
13679 gas_cv_decl_needed_errno
=no
13681 gas_cv_decl_needed_errno
=yes
13683 rm -f core conftest.err conftest.
$ac_objext \
13684 conftest
$ac_exeext conftest.
$ac_ext
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
13687 $as_echo "$gas_cv_decl_needed_errno" >&6; }
13688 if test $gas_cv_decl_needed_errno = yes; then
13690 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
13696 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
13697 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then :
13698 $as_echo_n "(cached) " >&6
13700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13702 #include <unistd.h>
13706 extern int getopt (int, char *const*, const char *);
13711 if ac_fn_c_try_compile
"$LINENO"; then :
13712 gas_cv_decl_getopt_unistd_h
=yes
13714 gas_cv_decl_getopt_unistd_h
=no
13716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
13720 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
13721 if test $gas_cv_decl_getopt_unistd_h = yes; then
13723 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
13729 $as_echo_n "checking whether declaration is required for environ... " >&6; }
13730 if test "${gas_cv_decl_needed_environ+set}" = set; then :
13731 $as_echo_n "(cached) " >&6
13733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13748 if ac_fn_c_try_link
"$LINENO"; then :
13749 gas_cv_decl_needed_environ
=no
13751 gas_cv_decl_needed_environ
=yes
13753 rm -f core conftest.err conftest.
$ac_objext \
13754 conftest
$ac_exeext conftest.
$ac_ext
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
13757 $as_echo "$gas_cv_decl_needed_environ" >&6; }
13758 if test $gas_cv_decl_needed_environ = yes; then
13760 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
13766 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
13767 if test "${gas_cv_decl_needed_ffs+set}" = set; then :
13768 $as_echo_n "(cached) " >&6
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13777 typedef int (*f)(int);
13785 if ac_fn_c_try_link
"$LINENO"; then :
13786 gas_cv_decl_needed_ffs
=no
13788 gas_cv_decl_needed_ffs
=yes
13790 rm -f core conftest.err conftest.
$ac_objext \
13791 conftest
$ac_exeext conftest.
$ac_ext
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
13794 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
13795 if test $gas_cv_decl_needed_ffs = yes; then
13797 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
13803 $as_echo_n "checking whether declaration is required for free... " >&6; }
13804 if test "${gas_cv_decl_needed_free+set}" = set; then :
13805 $as_echo_n "(cached) " >&6
13807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13814 typedef void (*f)();
13822 if ac_fn_c_try_link
"$LINENO"; then :
13823 gas_cv_decl_needed_free
=no
13825 gas_cv_decl_needed_free
=yes
13827 rm -f core conftest.err conftest.
$ac_objext \
13828 conftest
$ac_exeext conftest.
$ac_ext
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
13831 $as_echo "$gas_cv_decl_needed_free" >&6; }
13832 if test $gas_cv_decl_needed_free = yes; then
13834 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
13840 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
13841 if test "${gas_cv_decl_needed_malloc+set}" = set; then :
13842 $as_echo_n "(cached) " >&6
13844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13851 typedef char *(*f)();
13859 if ac_fn_c_try_link
"$LINENO"; then :
13860 gas_cv_decl_needed_malloc
=no
13862 gas_cv_decl_needed_malloc
=yes
13864 rm -f core conftest.err conftest.
$ac_objext \
13865 conftest
$ac_exeext conftest.
$ac_ext
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
13868 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
13869 if test $gas_cv_decl_needed_malloc = yes; then
13871 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
13877 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
13878 if test "${gas_cv_decl_needed_sbrk+set}" = set; then :
13879 $as_echo_n "(cached) " >&6
13881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13888 typedef char *(*f)();
13896 if ac_fn_c_try_link
"$LINENO"; then :
13897 gas_cv_decl_needed_sbrk
=no
13899 gas_cv_decl_needed_sbrk
=yes
13901 rm -f core conftest.err conftest.
$ac_objext \
13902 conftest
$ac_exeext conftest.
$ac_ext
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
13905 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
13906 if test $gas_cv_decl_needed_sbrk = yes; then
13908 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
13914 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
13915 if test "${gas_cv_decl_needed_strstr+set}" = set; then :
13916 $as_echo_n "(cached) " >&6
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13925 typedef char *(*f)();
13933 if ac_fn_c_try_link
"$LINENO"; then :
13934 gas_cv_decl_needed_strstr
=no
13936 gas_cv_decl_needed_strstr
=yes
13938 rm -f core conftest.err conftest.
$ac_objext \
13939 conftest
$ac_exeext conftest.
$ac_ext
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
13942 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
13943 if test $gas_cv_decl_needed_strstr = yes; then
13945 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
13950 ac_fn_c_check_decl
"$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
13951 if test "x$ac_cv_have_decl_mempcpy" = x
""yes; then :
13957 cat >>confdefs.h
<<_ACEOF
13958 #define HAVE_DECL_MEMPCPY $ac_have_decl
13961 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
13962 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
13968 cat >>confdefs.h
<<_ACEOF
13969 #define HAVE_DECL_VSNPRINTF $ac_have_decl
13975 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
13977 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
13981 # Support for VMS timestamps via cross compile
13983 if test "$ac_cv_header_time_h" = yes; then
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
13985 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
13986 if test "${gas_cv_have_time_type_member_tm_gmtoff+set}" = set; then :
13987 $as_echo_n "(cached) " >&6
13989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 #define _BSD_SOURCE 1
13997 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
14002 if ac_fn_c_try_compile
"$LINENO"; then :
14003 gas_cv_have_time_type_member_tm_gmtoff
=yes
14005 gas_cv_have_time_type_member_tm_gmtoff
=no
14008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14011 if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
14013 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
14017 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
14021 if test "$ac_cv_header_sys_stat_h" = yes; then
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
14023 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
14024 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+set}" = set; then :
14025 $as_echo_n "(cached) " >&6
14027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14030 #define _BSD_SOURCE 1
14031 #include <sys/stat.h>
14035 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
14040 if ac_fn_c_try_compile
"$LINENO"; then :
14041 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=yes
14043 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec
=no
14046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14049 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
14051 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
14055 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
14058 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
14059 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+set}" = set; then :
14060 $as_echo_n "(cached) " >&6
14062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14065 #define _BSD_SOURCE 1
14066 #include <sys/stat.h>
14070 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
14075 if ac_fn_c_try_compile
"$LINENO"; then :
14076 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=yes
14078 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec
=no
14081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14084 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
14086 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
14090 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
14102 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
14104 ac_config_commands
="$ac_config_commands default"
14107 cat >confcache
<<\_ACEOF
14108 # This file is a shell script that caches the results of configure
14109 # tests run on this system so they can be shared between configure
14110 # scripts and configure runs, see configure's option --config-cache.
14111 # It is not useful on other systems. If it contains results you don't
14112 # want to keep, you may remove or edit it.
14114 # config.status only pays attention to the cache file if you give it
14115 # the --recheck option to rerun configure.
14117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14119 # following values.
14123 # The following way of writing the cache mishandles newlines in values,
14124 # but we know of no workaround that is simple, portable, and efficient.
14125 # So, we kill variables containing newlines.
14126 # Ultrix sh set writes to stderr and can't be redirected directly,
14127 # and sets the high bit in the cache file unless we assign to the vars.
14129 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14130 eval ac_val
=\$
$ac_var
14134 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14138 _ | IFS | as_nl
) ;; #(
14139 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14140 *) { eval $ac_var=; unset $ac_var;} ;;
14146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14147 *${as_nl}ac_space
=\
*)
14148 # `set' does not quote correctly, so add quotes: double-quote
14149 # substitution turns \\\\ into \\, and sed turns \\ into \.
14152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14155 # `set' quotes correctly as required by POSIX, so do not add quotes.
14156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14169 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14170 if test -w "$cache_file"; then
14171 test "x$cache_file" != "x/dev/null" &&
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14173 $as_echo "$as_me: updating cache $cache_file" >&6;}
14174 cat confcache
>$cache_file
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14177 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14182 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14183 # Let make expand exec_prefix.
14184 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14186 DEFS
=-DHAVE_CONFIG_H
14190 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14191 # 1. Remove the extension, and $U if already installed.
14192 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14193 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14194 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14195 # will be set to the directory where LIBOBJS objects are built.
14196 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14197 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14199 LIBOBJS
=$ac_libobjs
14201 LTLIBOBJS
=$ac_ltlibobjs
14204 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14205 as_fn_error
"conditional \"AMDEP\" was never defined.
14206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14208 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14209 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14212 if test -n "$EXEEXT"; then
14214 am__EXEEXT_FALSE
='#'
14216 am__EXEEXT_TRUE
='#'
14221 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14222 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14225 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
14226 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
14227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14230 : ${CONFIG_STATUS=./config.status}
14232 ac_clean_files_save
=$ac_clean_files
14233 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14235 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14237 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14239 # Generated by $as_me.
14240 # Run this file to recreate the current configuration.
14241 # Compiler output produced by configure, useful for debugging
14242 # configure, is in config.log if it exists.
14245 ac_cs_recheck=false
14248 SHELL=\${CONFIG_SHELL-$SHELL}
14251 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14252 ## -------------------- ##
14253 ## M4sh Initialization. ##
14254 ## -------------------- ##
14256 # Be more Bourne compatible
14257 DUALCASE
=1; export DUALCASE
# for MKS sh
14258 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14261 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14262 # is contrary to our usage. Disable this feature.
14263 alias -g '${1+"$@"}'='"$@"'
14264 setopt NO_GLOB_SUBST
14266 case `(set -o) 2>/dev/null` in #(
14278 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14279 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14280 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14281 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14282 # Prefer a ksh shell builtin over an external printf program on Solaris,
14283 # but without wasting forks for bash or zsh.
14284 if test -z "$BASH_VERSION$ZSH_VERSION" \
14285 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14286 as_echo='print
-r --'
14287 as_echo_n='print
-rn --'
14288 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14289 as_echo='printf %s
\n'
14290 as_echo_n='printf %s
'
14292 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14293 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14294 as_echo_n='/usr
/ucb
/echo -n'
14296 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14297 as_echo_n_body='eval
14301 expr "X$arg" : "X\\(.*\\)$as_nl";
14302 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14304 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14306 export as_echo_n_body
14307 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14309 export as_echo_body
14310 as_echo='sh
-c $as_echo_body as_echo
'
14313 # The user is always right.
14314 if test "${PATH_SEPARATOR+set}" != set; then
14316 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14317 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14324 # We need space, tab and new line, in precisely that order. Quoting is
14325 # there to prevent editors from complaining about space-tab.
14326 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14327 # splitting by setting IFS to empty value.)
14330 # Find who we are. Look in the path if we contain no directory separator.
14332 *[\\/]* ) as_myself=$0 ;;
14333 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14334 for as_dir in $PATH
14337 test -z "$as_dir" && as_dir=.
14338 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14344 # We did not find ourselves, most probably we were run as `sh COMMAND'
14345 # in which case we are not to be found in the path.
14346 if test "x$as_myself" = x
; then
14349 if test ! -f "$as_myself"; then
14350 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14354 # Unset variables that we do not need and which cause bugs (e.g. in
14355 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14356 # suppresses any "Segmentation fault" message there. '((' could
14357 # trigger a bug in pdksh 5.2.14.
14358 for as_var
in BASH_ENV ENV MAIL MAILPATH
14359 do eval test x\
${$as_var+set} = xset \
14360 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14373 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14376 # as_fn_error ERROR [LINENO LOG_FD]
14377 # ---------------------------------
14378 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14379 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14380 # script with status $?, using 1 if that was 0.
14383 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14385 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14386 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14388 $as_echo "$as_me: error: $1" >&2
14389 as_fn_exit
$as_status
14393 # as_fn_set_status STATUS
14394 # -----------------------
14395 # Set $? to STATUS, without forking.
14396 as_fn_set_status
()
14399 } # as_fn_set_status
14401 # as_fn_exit STATUS
14402 # -----------------
14403 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14407 as_fn_set_status
$1
14413 # Portably unset VAR.
14416 { eval $1=; unset $1;}
14418 as_unset
=as_fn_unset
14419 # as_fn_append VAR VALUE
14420 # ----------------------
14421 # Append the text in VALUE to the end of the definition contained in VAR. Take
14422 # advantage of any shell optimizations that allow amortized linear growth over
14423 # repeated appends, instead of the typical quadratic growth present in naive
14425 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14426 eval 'as_fn_append ()
14437 # as_fn_arith ARG...
14438 # ------------------
14439 # Perform arithmetic evaluation on the ARGs, and store the result in the
14440 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14441 # must be portable across $(()) and expr.
14442 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14443 eval 'as_fn_arith ()
14450 as_val
=`expr "$@" || test $? -eq 1`
14455 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14456 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14462 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14463 as_basename
=basename
14468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14474 as_me
=`$as_basename -- "$0" ||
14475 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14476 X"$0" : 'X\(//\)$' \| \
14477 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14479 sed '/^.*\/\([^/][^/]*\)\/*$/{
14493 # Avoid depending upon Character Ranges.
14494 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14495 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14496 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14497 as_cr_digits
='0123456789'
14498 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14500 ECHO_C
= ECHO_N
= ECHO_T
=
14501 case `echo -n x` in #(((((
14503 case `echo 'xy\c'` in
14504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14513 rm -f conf$$ conf$$.exe conf$$.
file
14514 if test -d conf$$.dir
; then
14515 rm -f conf$$.dir
/conf$$.
file
14518 mkdir conf$$.dir
2>/dev
/null
14520 if (echo >conf$$.
file) 2>/dev
/null
; then
14521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14523 # ... but there are two gotchas:
14524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14526 # In both cases, we have to default to `cp -p'.
14527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14538 rmdir conf$$.dir
2>/dev
/null
14543 # Create "$as_dir" as a directory, including parents if necessary.
14548 -*) as_dir
=.
/$as_dir;;
14550 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14554 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14555 *) as_qdir
=$as_dir;;
14557 as_dirs
="'$as_qdir' $as_dirs"
14558 as_dir
=`$as_dirname -- "$as_dir" ||
14559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14560 X"$as_dir" : 'X\(//\)[^/]' \| \
14561 X"$as_dir" : 'X\(//\)$' \| \
14562 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14563 $as_echo X"$as_dir" |
14564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14568 /^X\(\/\/\)[^/].*/{
14581 test -d "$as_dir" && break
14583 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14584 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14588 if mkdir
-p .
2>/dev
/null
; then
14589 as_mkdir_p
='mkdir -p "$as_dir"'
14591 test -d .
/-p && rmdir .
/-p
14595 if test -x / >/dev
/null
2>&1; then
14596 as_test_x
='test -x'
14598 if ls -dL / >/dev
/null
2>&1; then
14605 if test -d "$1"; then
14611 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14612 ???[sx]*):;;*)false;;esac;fi
14616 as_executable_p
=$as_test_x
14618 # Sed expression to map a string onto a valid CPP name.
14619 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14621 # Sed expression to map a string onto a valid variable name.
14622 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14626 ## ----------------------------------- ##
14627 ## Main body of $CONFIG_STATUS script. ##
14628 ## ----------------------------------- ##
14630 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14633 # Save the log message, to keep $0 and so on meaningful, and to
14634 # report actual input values of CONFIG_FILES etc. instead of their
14635 # values after options handling.
14637 This file was extended by $as_me, which was
14638 generated by GNU Autoconf 2.64. Invocation command line was
14640 CONFIG_FILES = $CONFIG_FILES
14641 CONFIG_HEADERS = $CONFIG_HEADERS
14642 CONFIG_LINKS = $CONFIG_LINKS
14643 CONFIG_COMMANDS = $CONFIG_COMMANDS
14646 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14651 case $ac_config_files in *"
14652 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14655 case $ac_config_headers in *"
14656 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14661 # Files that config.status was made for.
14662 config_files="$ac_config_files"
14663 config_headers="$ac_config_headers"
14664 config_commands="$ac_config_commands"
14668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14670 \`$as_me' instantiates files and other configuration actions
14671 from templates according to the current configuration. Unless the files
14672 and actions are specified as TAGs, all are instantiated by default.
14674 Usage: $0 [OPTION]... [TAG]...
14676 -h, --help print this help, then exit
14677 -V, --version print version number and configuration settings, then exit
14678 -q, --quiet, --silent
14679 do not print progress messages
14680 -d, --debug don't remove temporary files
14681 --recheck update $as_me by reconfiguring in the same conditions
14682 --file=FILE[:TEMPLATE]
14683 instantiate the configuration file FILE
14684 --header=FILE[:TEMPLATE]
14685 instantiate the configuration header FILE
14687 Configuration files:
14690 Configuration headers:
14693 Configuration commands:
14696 Report bugs to the package provider."
14699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14702 configured by $0, generated by GNU Autoconf 2.64,
14703 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14705 Copyright (C) 2009 Free Software Foundation, Inc.
14706 This config.status script is free software; the Free Software Foundation
14707 gives unlimited permission to copy, distribute and modify it."
14714 test -n "\$AWK" || AWK=awk
14717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14718 # The default lists apply if the user does not specify any file.
14724 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14725 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14736 # Handling of the options.
14737 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14739 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14740 $as_echo "$ac_cs_version"; exit ;;
14741 --debug |
--debu |
--deb |
--de |
--d |
-d )
14743 --file |
--fil |
--fi |
--f )
14746 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14748 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14749 ac_need_defaults
=false
;;
14750 --header |
--heade |
--head |
--hea )
14753 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14755 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14756 ac_need_defaults
=false
;;
14758 # Conflict between --help and --header
14759 as_fn_error
"ambiguous option: \`$1'
14760 Try \`$0 --help' for more information.";;
14761 --help |
--hel |
-h )
14762 $as_echo "$ac_cs_usage"; exit ;;
14763 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14764 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14767 # This is an error.
14768 -*) as_fn_error
"unrecognized option: \`$1'
14769 Try \`$0 --help' for more information." ;;
14771 *) as_fn_append ac_config_targets
" $1"
14772 ac_need_defaults
=false
;;
14778 ac_configure_extra_args
=
14780 if $ac_cs_silent; then
14782 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14787 if \$ac_cs_recheck; then
14788 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14790 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14791 CONFIG_SHELL='$SHELL'
14792 export CONFIG_SHELL
14797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14801 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14802 ## Running $as_me. ##
14808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14812 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14815 # The HP-UX ksh and POSIX shell print the target directory to stdout
14816 # if CDPATH is set.
14817 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14819 sed_quote_subst='$sed_quote_subst'
14820 double_quote_subst='$double_quote_subst'
14821 delay_variable_subst='$delay_variable_subst'
14822 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14823 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14824 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14825 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14826 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14827 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14828 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14829 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14830 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14831 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14832 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14833 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14834 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14835 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14836 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14837 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14838 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14839 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14840 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14841 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14842 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14843 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14844 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14845 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14846 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14847 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14848 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14849 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14850 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14851 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14852 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14853 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14854 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14855 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14856 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14857 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14858 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14859 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14860 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14861 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14862 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14863 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14864 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14865 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14866 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14867 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14868 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14869 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14870 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"`'
14871 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14872 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14873 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14874 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14875 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14876 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14877 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14878 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14879 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14880 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14881 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14882 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14883 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14884 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14885 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14886 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14887 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14888 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14889 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14890 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14891 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14892 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14893 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14894 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14895 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14896 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14897 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14898 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14899 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14900 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14901 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14902 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14903 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14904 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14905 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14906 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14907 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14908 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14909 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14910 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14911 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14912 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14913 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14914 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14915 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14916 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14917 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14918 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14919 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14920 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14921 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14922 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14923 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14924 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14925 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14926 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14927 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14928 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14929 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14930 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14931 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14932 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14933 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14934 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14935 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14936 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14937 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14938 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14939 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14940 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14941 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14944 LTCFLAGS='$LTCFLAGS'
14945 compiler='$compiler_DEFAULT'
14947 # A function that is used when there is no print builtin or printf.
14948 func_fallback_echo ()
14950 eval 'cat <<_LTECHO_EOF
14955 # Quote evaled strings.
14969 deplibs_check_method \
14978 lt_cv_sys_global_symbol_pipe \
14979 lt_cv_sys_global_symbol_to_cdecl \
14980 lt_cv_sys_global_symbol_to_c_name_address \
14981 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14982 lt_prog_compiler_no_builtin_flag \
14983 lt_prog_compiler_wl \
14984 lt_prog_compiler_pic \
14985 lt_prog_compiler_static \
14986 lt_cv_prog_compiler_c_o \
14994 export_dynamic_flag_spec \
14995 whole_archive_flag_spec \
14996 compiler_needs_object \
14998 allow_undefined_flag \
14999 no_undefined_flag \
15000 hardcode_libdir_flag_spec \
15001 hardcode_libdir_flag_spec_ld \
15002 hardcode_libdir_separator \
15007 variables_saved_for_relink \
15009 library_names_spec \
15011 install_override_mode \
15015 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15016 *[\\\\\\\`\\"\\\$]*)
15017 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15020 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15025 # Double-quote double-evaled strings.
15026 for var in reload_cmds \
15027 old_postinstall_cmds \
15028 old_postuninstall_cmds \
15030 extract_expsyms_cmds \
15031 old_archive_from_new_cmds \
15032 old_archive_from_expsyms_cmds \
15034 archive_expsym_cmds \
15036 module_expsym_cmds \
15037 export_symbols_cmds \
15040 postuninstall_cmds \
15042 sys_lib_search_path_spec \
15043 sys_lib_dlsearch_path_spec; do
15044 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15045 *[\\\\\\\`\\"\\\$]*)
15046 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15049 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15054 ac_aux_dir='$ac_aux_dir'
15055 xsi_shell='$xsi_shell'
15056 lt_shell_append='$lt_shell_append'
15058 # See if we are running on zsh, and set the options which allow our
15059 # commands through without removal of \ escapes INIT.
15060 if test -n "\${ZSH_VERSION+set}" ; then
15061 setopt NO_GLOB_SUBST
15067 TIMESTAMP='$TIMESTAMP'
15073 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15074 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15076 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15077 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15078 LINGUAS="${LINGUAS-%UNSET%}"
15080 target_cpu_type=${target_cpu_type}
15081 cgen_cpu_prefix=${cgen_cpu_prefix}
15082 obj_format=${obj_format}
15087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15089 # Handling of arguments.
15090 for ac_config_target
in $ac_config_targets
15092 case $ac_config_target in
15093 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15094 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15095 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15096 "gdb.ini") CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
15097 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
15098 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15099 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15100 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15101 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15102 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15104 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15109 # If the user did not use the arguments to specify the items to instantiate,
15110 # then the envvar interface is used. Set only those that are not.
15111 # We use the long form for the default assignment because of an extremely
15112 # bizarre bug on SunOS 4.1.3.
15113 if $ac_need_defaults; then
15114 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15115 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15116 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15119 # Have a temporary directory for convenience. Make it in the build tree
15120 # simply because there is no reason against having it here, and in addition,
15121 # creating and moving files from /tmp can sometimes cause problems.
15122 # Hook for its removal unless debugging.
15123 # Note that there is a small window in which the directory will not be cleaned:
15124 # after its creation but before its name has been assigned to `$tmp'.
15128 trap 'exit_status=$?
15129 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15131 trap 'as_fn_exit 1' 1 2 13 15
15133 # Create a (secure) tmp directory for tmp files.
15136 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15137 test -n "$tmp" && test -d "$tmp"
15140 tmp
=.
/conf$$
-$RANDOM
15141 (umask 077 && mkdir
"$tmp")
15142 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15144 # Set up the scripts for CONFIG_FILES section.
15145 # No need to generate them if there are no CONFIG_FILES.
15146 # This happens for instance with `./config.status config.h'.
15147 if test -n "$CONFIG_FILES"; then
15150 ac_cr
=`echo X | tr X '\015'`
15151 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15152 # But we know of no other shell where ac_cr would be empty at this
15153 # point, so we can use a bashism as a fallback.
15154 if test "x$ac_cr" = x
; then
15155 eval ac_cr
=\$
\'\\r
\'
15157 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15158 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15161 ac_cs_awk_cr
=$ac_cr
15164 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15169 echo "cat >conf$$subs.awk <<_ACEOF" &&
15170 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15172 } >conf$$subs.sh ||
15173 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15176 for ac_last_try in false false false false false :; do
15177 . ./conf$$subs.sh ||
15178 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15180 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15181 if test $ac_delim_n = $ac_delim_num; then
15183 elif $ac_last_try; then
15184 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15186 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15189 rm -f conf$$subs.sh
15191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15192 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15196 s/^/S["/; s
/!.
*/"]=/
15206 s/\(.\{148\}\).*/\1/
15208 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15213 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15220 s/\(.\{148\}\).*/\1/
15222 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15226 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15231 ' <conf$$subs.awk | sed '
15236 ' >>$CONFIG_STATUS || ac_write_fail=1
15237 rm -f conf$$subs.awk
15238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15240 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15241 for (key in S) S_is_set[key] = 1
15247 nfields = split(line, field, "@
")
15249 len = length(field[1])
15250 for (i = 2; i < nfields; i++) {
15252 keylen = length(key)
15253 if (S_is_set[key]) {
15255 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15256 len += length(value) + length(field[++i])
15267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15268 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15269 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15272 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15273 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15276 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15277 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15278 # trailing colons and then remove the whole line if VPATH becomes empty
15279 # (actually we leave an empty line to preserve line numbers).
15280 if test "x
$srcdir" = x.; then
15281 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15282 s/:*\$(srcdir):*/:/
15283 s/:*\${srcdir}:*/:/
15285 s/^\([^=]*=[ ]*\):*/\1/
15291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15292 fi # test -n "$CONFIG_FILES"
15294 # Set up the scripts for CONFIG_HEADERS section.
15295 # No need to generate them if there are no CONFIG_HEADERS.
15296 # This happens for instance with `./config.status Makefile'.
15297 if test -n "$CONFIG_HEADERS"; then
15298 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15302 # Transform confdefs.h into an awk script `defines.awk', embedded as
15303 # here-document in config.status, that substitutes the proper values into
15304 # config.h.in to produce config.h.
15306 # Create a delimiter string that does not exist in confdefs.h, to ease
15307 # handling of long lines.
15309 for ac_last_try in false false :; do
15310 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15311 if test -z "$ac_t"; then
15313 elif $ac_last_try; then
15314 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15316 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15320 # For the awk script, D is an array of macro values keyed by name,
15321 # likewise P contains macro parameters if any. Preserve backslash
15322 # newline sequences.
15324 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15326 s/.\{148\}/&'"$ac_delim"'/g
15329 s/^[ ]*#[ ]*define[ ][ ]*/ /
15336 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15338 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15342 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15343 D["\
1"]=" \
3\\\\\\n
"\\/p
15345 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15350 s/.\{148\}/&'"$ac_delim"'/g
15355 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15358 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15360 ' <confdefs.h | sed '
15361 s/'"$ac_delim"'/"\\\
15362 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15365 for (key in D) D_is_set[key] = 1
15368 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15370 split(line, arg, " ")
15371 if (arg[1] == "#") {
15375 defundef
= substr
(arg
[1], 2)
15378 split(mac1
, mac2
, "(") #)
15380 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15381 if (D_is_set
[macro
]) {
15382 # Preserve the white space surrounding the "#".
15383 print prefix
"define", macro P
[macro
] D
[macro
]
15386 # Replace #undef with comments. This is necessary, for example,
15387 # in the case of _POSIX_SOURCE, which is predefined and required
15388 # on some systems where configure will not decide to define it.
15389 if (defundef
== "undef") {
15390 print
"/*", prefix defundef
, macro
, "*/"
15398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15399 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15400 fi # test -n "$CONFIG_HEADERS"
15403 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15408 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15410 case $ac_mode$ac_tag in
15412 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15413 :[FH
]-) ac_tag
=-:-;;
15414 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15431 -) ac_f
="$tmp/stdin";;
15432 *) # Look for the file first in the build tree, then in the source tree
15433 # (if the path is not absolute). The absolute path cannot be DOS-style,
15434 # because $ac_f cannot contain `:'.
15438 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15440 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15442 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15443 as_fn_append ac_file_inputs
" '$ac_f'"
15446 # Let's still pretend it is `configure' which instantiates (i.e., don't
15447 # use $as_me), people would be surprised to read:
15448 # /* config.h. Generated by config.status. */
15449 configure_input
='Generated from '`
15450 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15452 if test x
"$ac_file" != x-
; then
15453 configure_input
="$ac_file. $configure_input"
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15455 $as_echo "$as_me: creating $ac_file" >&6;}
15457 # Neutralize special characters interpreted by sed in replacement strings.
15458 case $configure_input in #(
15459 *\
&* |
*\|
* |
*\\* )
15460 ac_sed_conf_input
=`$as_echo "$configure_input" |
15461 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15462 *) ac_sed_conf_input
=$configure_input;;
15466 *:-:* |
*:-) cat >"$tmp/stdin" \
15467 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15472 ac_dir
=`$as_dirname -- "$ac_file" ||
15473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15474 X"$ac_file" : 'X\(//\)[^/]' \| \
15475 X"$ac_file" : 'X\(//\)$' \| \
15476 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15477 $as_echo X"$ac_file" |
15478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15482 /^X\(\/\/\)[^/].*/{
15495 as_dir
="$ac_dir"; as_fn_mkdir_p
15499 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15501 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15502 # A ".." for each directory in $ac_dir_suffix.
15503 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15504 case $ac_top_builddir_sub in
15505 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15506 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15509 ac_abs_top_builddir
=$ac_pwd
15510 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15511 # for backward compatibility:
15512 ac_top_builddir
=$ac_top_build_prefix
15515 .
) # We are building in place.
15517 ac_top_srcdir
=$ac_top_builddir_sub
15518 ac_abs_top_srcdir
=$ac_pwd ;;
15519 [\\/]* | ?
:[\\/]* ) # Absolute name.
15520 ac_srcdir
=$srcdir$ac_dir_suffix;
15521 ac_top_srcdir
=$srcdir
15522 ac_abs_top_srcdir
=$srcdir ;;
15523 *) # Relative name.
15524 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15525 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15526 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15528 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15538 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15539 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15541 ac_MKDIR_P
=$MKDIR_P
15543 [\\/$
]* | ?
:[\\/]* ) ;;
15544 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15549 # If the template does not know about datarootdir, expand it.
15550 # FIXME: This hack should be removed a few years after 2.60.
15551 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15562 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15563 *datarootdir
*) ac_datarootdir_seen
=yes;;
15564 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15566 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15569 ac_datarootdir_hack='
15570 s&@datadir@&$datadir&g
15571 s&@docdir@&$docdir&g
15572 s&@infodir@&$infodir&g
15573 s&@localedir@&$localedir&g
15574 s&@mandir@&$mandir&g
15575 s&\\\${datarootdir}&$datarootdir&g' ;;
15579 # Neutralize VPATH when `$srcdir' = `.'.
15580 # Shell code in configure.ac might set extrasub.
15581 # FIXME: do we really want to maintain this feature?
15582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15583 ac_sed_extra="$ac_vpsub
15586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15588 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15589 s|@configure_input@|
$ac_sed_conf_input|
;t t
15590 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15591 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15592 s
&@srcdir@
&$ac_srcdir&;t t
15593 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15594 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15595 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15596 s
&@builddir@
&$ac_builddir&;t t
15597 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15598 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15599 s
&@INSTALL@
&$ac_INSTALL&;t t
15600 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15601 $ac_datarootdir_hack
15603 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15604 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15606 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15607 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15608 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15610 which seems to be undefined. Please make sure it is defined." >&5
15611 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15612 which seems to be undefined. Please make sure it is defined." >&2;}
15616 -) cat "$tmp/out" && rm -f "$tmp/out";;
15617 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15619 || as_fn_error "could not create $ac_file" "$LINENO" 5
15625 if test x"$ac_file" != x-; then
15627 $as_echo "/* $configure_input */" \
15628 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15629 } >"$tmp/config.h" \
15630 || as_fn_error "could not create $ac_file" "$LINENO" 5
15631 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15633 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15636 mv "$tmp/config.h" "$ac_file" \
15637 || as_fn_error "could not create $ac_file" "$LINENO" 5
15640 $as_echo "/* $configure_input */" \
15641 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15642 || as_fn_error "could not create -" "$LINENO" 5
15644 # Compute "$ac_file"'s index
in $config_headers.
15647 for _am_header
in $config_headers :; do
15648 case $_am_header in
15649 $_am_arg |
$_am_arg:* )
15652 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15655 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15656 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15657 X"$_am_arg" : 'X\(//\)[^/]' \| \
15658 X"$_am_arg" : 'X\(//\)$' \| \
15659 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15660 $as_echo X"$_am_arg" |
15661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15665 /^X\(\/\/\)[^/].*/{
15677 s/.*/./; q'`/stamp-h
$_am_stamp_count
15680 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15681 $as_echo "$as_me: executing $ac_file commands" >&6;}
15686 case $ac_file$ac_mode in
15687 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15688 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15689 # are listed without --file. Let's play safe and only enable the eval
15690 # if we detect the quoting.
15691 case $CONFIG_FILES in
15692 *\'*) eval set x
"$CONFIG_FILES" ;;
15693 *) set x
$CONFIG_FILES ;;
15698 # Strip MF so we end up with the name of the file.
15699 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15700 # Check whether this is an Automake generated Makefile or not.
15701 # We used to match only the files named `Makefile.in', but
15702 # some people rename them; so instead we look at the file content.
15703 # Grep'ing the first line is not enough: some people post-process
15704 # each Makefile.in and add a new line on top of each file to say so.
15705 # Grep'ing the whole file is not good either: AIX grep has a line
15706 # limit of 2048, but all sed's we know have understand at least 4000.
15707 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15708 dirpart
=`$as_dirname -- "$mf" ||
15709 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15710 X"$mf" : 'X\(//\)[^/]' \| \
15711 X"$mf" : 'X\(//\)$' \| \
15712 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15718 /^X\(\/\/\)[^/].*/{
15734 # Extract the definition of DEPDIR, am__include, and am__quote
15735 # from the Makefile without running `make'.
15736 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15737 test -z "$DEPDIR" && continue
15738 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15739 test -z "am__include" && continue
15740 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15741 # When using ansi2knr, U may be empty or an underscore; expand it
15742 U
=`sed -n 's/^U = //p' < "$mf"`
15743 # Find all dependency output files, they are included files with
15744 # $(DEPDIR) in their names. We invoke sed twice because it is the
15745 # simplest approach to changing $(DEPDIR) to its actual value in the
15747 for file in `sed -n "
15748 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15749 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15750 # Make sure the directory exists.
15751 test -f "$dirpart/$file" && continue
15752 fdir
=`$as_dirname -- "$file" ||
15753 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15754 X"$file" : 'X\(//\)[^/]' \| \
15755 X"$file" : 'X\(//\)$' \| \
15756 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15757 $as_echo X"$file" |
15758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15762 /^X\(\/\/\)[^/].*/{
15775 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15776 # echo "creating $dirpart/$file"
15777 echo '# dummy' > "$dirpart/$file"
15784 # See if we are running on zsh, and set the options which allow our
15785 # commands through without removal of \ escapes.
15786 if test -n "${ZSH_VERSION+set}" ; then
15787 setopt NO_GLOB_SUBST
15790 cfgfile
="${ofile}T"
15791 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15794 cat <<_LT_EOF >> "$cfgfile"
15797 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15798 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15799 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15800 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15802 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15803 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15804 # Written by Gordon Matzigkeit, 1996
15806 # This file is part of GNU Libtool.
15808 # GNU Libtool is free software; you can redistribute it and/or
15809 # modify it under the terms of the GNU General Public License as
15810 # published by the Free Software Foundation; either version 2 of
15811 # the License, or (at your option) any later version.
15813 # As a special exception to the GNU General Public License,
15814 # if you distribute this file as part of a program or library that
15815 # is built using GNU Libtool, you may include this file under the
15816 # same distribution terms that you use for the rest of that program.
15818 # GNU Libtool is distributed in the hope that it will be useful,
15819 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15820 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15821 # GNU General Public License for more details.
15823 # You should have received a copy of the GNU General Public License
15824 # along with GNU Libtool; see the file COPYING. If not, a copy
15825 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15826 # obtained by writing to the Free Software Foundation, Inc.,
15827 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15830 # The names of the tagged configurations supported by this script.
15833 # ### BEGIN LIBTOOL CONFIG
15835 # Which release of libtool.m4 was used?
15836 macro_version=$macro_version
15837 macro_revision=$macro_revision
15839 # Whether or not to build shared libraries.
15840 build_libtool_libs=$enable_shared
15842 # Whether or not to build static libraries.
15843 build_old_libs=$enable_static
15845 # What type of objects to build.
15848 # Whether or not to optimize for fast installation.
15849 fast_install=$enable_fast_install
15851 # Shell to use when invoking shell scripts.
15854 # An echo program that protects backslashes.
15858 host_alias=$host_alias
15862 # The build system.
15863 build_alias=$build_alias
15867 # A sed program that does not truncate output.
15870 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15871 Xsed="\$SED -e 1s/^X//"
15873 # A grep program that handles long lines.
15879 # A literal string matcher.
15882 # A BSD- or MS-compatible name lister.
15885 # Whether we need soft or hard links.
15888 # What is the maximum length of a command?
15889 max_cmd_len=$max_cmd_len
15891 # Object file suffix (normally "o").
15894 # Executable file suffix (normally "").
15897 # whether the shell understands "unset".
15900 # turn spaces into newlines.
15903 # turn newlines into spaces.
15906 # An object symbol dumper.
15907 OBJDUMP=$lt_OBJDUMP
15909 # Method to check whether dependent libraries are shared objects.
15910 deplibs_check_method=$lt_deplibs_check_method
15912 # Command to use when deplibs_check_method == "file_magic".
15913 file_magic_cmd=$lt_file_magic_cmd
15917 AR_FLAGS=$lt_AR_FLAGS
15919 # A symbol stripping program.
15922 # Commands used to install an old-style archive.
15924 old_postinstall_cmds=$lt_old_postinstall_cmds
15925 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15927 # Whether to use a lock for old archive extraction.
15928 lock_old_archive_extraction=$lock_old_archive_extraction
15933 # LTCC compiler flags.
15934 LTCFLAGS=$lt_CFLAGS
15936 # Take the output of nm and produce a listing of raw symbols and C names.
15937 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15939 # Transform the output of nm in a proper C declaration.
15940 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15942 # Transform the output of nm in a C name address pair.
15943 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15945 # Transform the output of nm in a C name address pair when lib prefix is needed.
15946 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15948 # The name of the directory that contains temporary libtool files.
15951 # Used to examine libraries when file_magic_cmd begins with "file".
15952 MAGIC_CMD=$MAGIC_CMD
15954 # Must we lock files when doing compilation?
15955 need_locks=$lt_need_locks
15957 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15958 DSYMUTIL=$lt_DSYMUTIL
15960 # Tool to change global to local symbols on Mac OS X.
15963 # Tool to manipulate fat objects and archives on Mac OS X.
15966 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15969 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15970 OTOOL64=$lt_OTOOL64
15972 # Old archive suffix (normally "a").
15975 # Shared library suffix (normally ".so").
15976 shrext_cmds=$lt_shrext_cmds
15978 # The commands to extract the exported symbol list from a shared archive.
15979 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15981 # Variables whose values should be saved in libtool wrapper scripts and
15982 # restored at link time.
15983 variables_saved_for_relink=$lt_variables_saved_for_relink
15985 # Do we need the "lib" prefix for modules?
15986 need_lib_prefix=$need_lib_prefix
15988 # Do we need a version for libraries?
15989 need_version=$need_version
15991 # Library versioning type.
15992 version_type=$version_type
15994 # Shared library runtime path variable.
15995 runpath_var=$runpath_var
15997 # Shared library path variable.
15998 shlibpath_var=$shlibpath_var
16000 # Is shlibpath searched before the hard-coded library search path?
16001 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16003 # Format of library name prefix.
16004 libname_spec=$lt_libname_spec
16006 # List of archive names. First name is the real one, the rest are links.
16007 # The last name is the one that the linker finds with -lNAME
16008 library_names_spec=$lt_library_names_spec
16010 # The coded name of the library, if different from the real name.
16011 soname_spec=$lt_soname_spec
16013 # Permission mode override for installation of shared libraries.
16014 install_override_mode=$lt_install_override_mode
16016 # Command to use after installation of a shared archive.
16017 postinstall_cmds=$lt_postinstall_cmds
16019 # Command to use after uninstallation of a shared archive.
16020 postuninstall_cmds=$lt_postuninstall_cmds
16022 # Commands used to finish a libtool library installation in a directory.
16023 finish_cmds=$lt_finish_cmds
16025 # As "finish_cmds", except a single script fragment to be evaled but
16027 finish_eval=$lt_finish_eval
16029 # Whether we should hardcode library paths into libraries.
16030 hardcode_into_libs=$hardcode_into_libs
16032 # Compile-time system search path for libraries.
16033 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16035 # Run-time system search path for libraries.
16036 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16038 # Whether dlopen is supported.
16039 dlopen_support=$enable_dlopen
16041 # Whether dlopen of programs is supported.
16042 dlopen_self=$enable_dlopen_self
16044 # Whether dlopen of statically linked programs is supported.
16045 dlopen_self_static=$enable_dlopen_self_static
16047 # Commands to strip libraries.
16048 old_striplib=$lt_old_striplib
16049 striplib=$lt_striplib
16052 # The linker used to build libraries.
16055 # How to create reloadable object files.
16056 reload_flag=$lt_reload_flag
16057 reload_cmds=$lt_reload_cmds
16059 # Commands used to build an old-style archive.
16060 old_archive_cmds=$lt_old_archive_cmds
16062 # A language specific compiler.
16065 # Is the compiler the GNU compiler?
16068 # Compiler flag to turn off builtin functions.
16069 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16071 # How to pass a linker flag through the compiler.
16072 wl=$lt_lt_prog_compiler_wl
16074 # Additional compiler flags for building library objects.
16075 pic_flag=$lt_lt_prog_compiler_pic
16077 # Compiler flag to prevent dynamic linking.
16078 link_static_flag=$lt_lt_prog_compiler_static
16080 # Does compiler simultaneously support -c and -o options?
16081 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16083 # Whether or not to add -lc for building shared libraries.
16084 build_libtool_need_lc=$archive_cmds_need_lc
16086 # Whether or not to disallow shared libs when runtime libs are static.
16087 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16089 # Compiler flag to allow reflexive dlopens.
16090 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16092 # Compiler flag to generate shared objects directly from archives.
16093 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16095 # Whether the compiler copes with passing no objects directly.
16096 compiler_needs_object=$lt_compiler_needs_object
16098 # Create an old-style archive from a shared archive.
16099 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16101 # Create a temporary old-style archive to link instead of a shared archive.
16102 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16104 # Commands used to build a shared archive.
16105 archive_cmds=$lt_archive_cmds
16106 archive_expsym_cmds=$lt_archive_expsym_cmds
16108 # Commands used to build a loadable module if different from building
16109 # a shared archive.
16110 module_cmds=$lt_module_cmds
16111 module_expsym_cmds=$lt_module_expsym_cmds
16113 # Whether we are building with GNU ld or not.
16114 with_gnu_ld=$lt_with_gnu_ld
16116 # Flag that allows shared libraries with undefined symbols to be built.
16117 allow_undefined_flag=$lt_allow_undefined_flag
16119 # Flag that enforces no undefined symbols.
16120 no_undefined_flag=$lt_no_undefined_flag
16122 # Flag to hardcode \$libdir into a binary during linking.
16123 # This must work even if \$libdir does not exist
16124 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16126 # If ld is used when linking, flag to hardcode \$libdir into a binary
16127 # during linking. This must work even if \$libdir does not exist.
16128 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16130 # Whether we need a single "-rpath" flag with a separated argument.
16131 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16133 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16134 # DIR into the resulting binary.
16135 hardcode_direct=$hardcode_direct
16137 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16138 # DIR into the resulting binary and the resulting library dependency is
16139 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16140 # library is relocated.
16141 hardcode_direct_absolute=$hardcode_direct_absolute
16143 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16144 # into the resulting binary.
16145 hardcode_minus_L=$hardcode_minus_L
16147 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16148 # into the resulting binary.
16149 hardcode_shlibpath_var=$hardcode_shlibpath_var
16151 # Set to "yes" if building a shared library automatically hardcodes DIR
16152 # into the library and all subsequent libraries and executables linked
16154 hardcode_automatic=$hardcode_automatic
16156 # Set to yes if linker adds runtime paths of dependent libraries
16157 # to runtime path list.
16158 inherit_rpath=$inherit_rpath
16160 # Whether libtool must link a program against all its dependency libraries.
16161 link_all_deplibs=$link_all_deplibs
16163 # Fix the shell variable \$srcfile for the compiler.
16164 fix_srcfile_path=$lt_fix_srcfile_path
16166 # Set to "yes" if exported symbols are required.
16167 always_export_symbols=$always_export_symbols
16169 # The commands to list exported symbols.
16170 export_symbols_cmds=$lt_export_symbols_cmds
16172 # Symbols that should not be listed in the preloaded symbols.
16173 exclude_expsyms=$lt_exclude_expsyms
16175 # Symbols that must always be exported.
16176 include_expsyms=$lt_include_expsyms
16178 # Commands necessary for linking programs (against libraries) with templates.
16179 prelink_cmds=$lt_prelink_cmds
16181 # Specify filename containing input files.
16182 file_list_spec=$lt_file_list_spec
16184 # How to hardcode a shared library path into an executable.
16185 hardcode_action=$hardcode_action
16187 # ### END LIBTOOL CONFIG
16193 cat <<\_LT_EOF
>> "$cfgfile"
16194 # AIX sometimes has problems with the GCC collect2 program. For some
16195 # reason, if we set the COLLECT_NAMES environment variable, the problems
16196 # vanish in a puff of smoke.
16197 if test "X${COLLECT_NAMES+set}" != Xset
; then
16199 export COLLECT_NAMES
16206 ltmain
="$ac_aux_dir/ltmain.sh"
16209 # We use sed instead of cat because bash on DJGPP gets confused if
16210 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16211 # text mode, it properly converts lines to CR/LF. This bash problem
16212 # is reportedly fixed, but why not run on old versions too?
16213 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16214 ||
(rm -f "$cfgfile"; exit 1)
16218 cat << \_LT_EOF
>> "$cfgfile"
16220 # func_dirname file append nondir_replacement
16221 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16222 # otherwise set result to NONDIR_REPLACEMENT.
16226 */*) func_dirname_result
="${1%/*}${2}" ;;
16227 * ) func_dirname_result
="${3}" ;;
16231 # func_basename file
16234 func_basename_result
="${1##*/}"
16237 # func_dirname_and_basename file append nondir_replacement
16238 # perform func_basename and func_dirname in a single function
16240 # dirname: Compute the dirname of FILE. If nonempty,
16241 # add APPEND to the result, otherwise set result
16242 # to NONDIR_REPLACEMENT.
16243 # value returned in "$func_dirname_result"
16244 # basename: Compute filename of FILE.
16245 # value retuned in "$func_basename_result"
16246 # Implementation must be kept synchronized with func_dirname
16247 # and func_basename. For efficiency, we do not delegate to
16248 # those functions but instead duplicate the functionality here.
16249 func_dirname_and_basename
()
16252 */*) func_dirname_result
="${1%/*}${2}" ;;
16253 * ) func_dirname_result
="${3}" ;;
16255 func_basename_result
="${1##*/}"
16258 # func_stripname prefix suffix name
16259 # strip PREFIX and SUFFIX off of NAME.
16260 # PREFIX and SUFFIX must not contain globbing or regex special
16261 # characters, hashes, percent signs, but SUFFIX may contain a leading
16262 # dot (in which case that matches only a dot).
16265 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16266 # positional parameters, so assign one to ordinary parameter first.
16267 func_stripname_result
=${3}
16268 func_stripname_result
=${func_stripname_result#"${1}"}
16269 func_stripname_result
=${func_stripname_result%"${2}"}
16275 func_opt_split_opt
=${1%%=*}
16276 func_opt_split_arg
=${1#*=}
16283 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16284 *) func_lo2o_result
=${1} ;;
16288 # func_xform libobj-or-source
16291 func_xform_result
=${1%.*}.lo
16294 # func_arith arithmetic-term...
16297 func_arith_result
=$
(( $
* ))
16301 # STRING may not start with a hyphen.
16304 func_len_result
=${#1}
16309 *) # Bourne compatible functions.
16310 cat << \_LT_EOF
>> "$cfgfile"
16312 # func_dirname file append nondir_replacement
16313 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16314 # otherwise set result to NONDIR_REPLACEMENT.
16317 # Extract subdirectory from the argument.
16318 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16319 if test "X$func_dirname_result" = "X${1}"; then
16320 func_dirname_result
="${3}"
16322 func_dirname_result
="$func_dirname_result${2}"
16326 # func_basename file
16329 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16333 # func_stripname prefix suffix name
16334 # strip PREFIX and SUFFIX off of NAME.
16335 # PREFIX and SUFFIX must not contain globbing or regex special
16336 # characters, hashes, percent signs, but SUFFIX may contain a leading
16337 # dot (in which case that matches only a dot).
16338 # func_strip_suffix prefix name
16342 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16343 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16348 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16349 my_sed_long_arg
='1s/^-[^=]*=//'
16354 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16355 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16361 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16364 # func_xform libobj-or-source
16367 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16370 # func_arith arithmetic-term...
16373 func_arith_result
=`expr "$@"`
16377 # STRING may not start with a hyphen.
16380 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16386 case $lt_shell_append in
16388 cat << \_LT_EOF
>> "$cfgfile"
16390 # func_append var value
16391 # Append VALUE to the end of shell variable VAR.
16399 cat << \_LT_EOF
>> "$cfgfile"
16401 # func_append var value
16402 # Append VALUE to the end of shell variable VAR.
16413 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16414 ||
(rm -f "$cfgfile"; exit 1)
16416 mv -f "$cfgfile" "$ofile" ||
16417 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16422 for ac_file
in $CONFIG_FILES; do
16423 # Support "outfile[:infile[:infile...]]"
16425 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16427 # PO directories have a Makefile.in generated from Makefile.in.in.
16428 case "$ac_file" in */Makefile.
in)
16429 # Adjust a relative srcdir.
16430 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16431 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16432 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16433 # In autoconf-2.13 it is called $ac_given_srcdir.
16434 # In autoconf-2.50 it is called $srcdir.
16435 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16436 case "$ac_given_srcdir" in
16437 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16438 /*) top_srcdir
="$ac_given_srcdir" ;;
16439 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16441 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16442 rm -f "$ac_dir/POTFILES"
16443 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16444 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16445 POMAKEFILEDEPS
="POTFILES.in"
16446 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16447 # on $ac_dir but don't depend on user-specified configuration
16449 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16450 # The LINGUAS file contains the set of available languages.
16451 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16452 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16454 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16455 # Hide the ALL_LINGUAS assigment from automake.
16456 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16457 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16459 # The set of available languages was given in configure.in.
16460 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16462 case "$ac_given_srcdir" in
16464 *) srcdirpre
='$(srcdir)/' ;;
16470 for lang
in $ALL_LINGUAS; do
16471 POFILES
="$POFILES $srcdirpre$lang.po"
16472 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16473 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16474 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16476 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16477 # environment variable.
16479 if test -n "$ALL_LINGUAS"; then
16480 for presentlang
in $ALL_LINGUAS; do
16482 if test "%UNSET%" != "$LINGUAS"; then
16483 desiredlanguages
="$LINGUAS"
16485 desiredlanguages
="$ALL_LINGUAS"
16487 for desiredlang
in $desiredlanguages; do
16488 # Use the presentlang catalog if desiredlang is
16489 # a. equal to presentlang, or
16490 # b. a variant of presentlang (because in this case,
16491 # presentlang can be used as a fallback for messages
16492 # which are not translated in the desiredlang catalog).
16493 case "$desiredlang" in
16494 "$presentlang"*) useit
=yes;;
16497 if test $useit = yes; then
16498 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16503 if test -n "$INST_LINGUAS"; then
16504 for lang
in $INST_LINGUAS; do
16505 CATALOGS
="$CATALOGS $lang.gmo"
16508 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16509 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"
16510 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16511 if test -f "$f"; then
16513 *.orig |
*.bak |
*~
) ;;
16514 *) cat "$f" >> "$ac_dir/Makefile" ;;
16522 "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
16523 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
16524 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
16525 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
16526 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
16527 if test "x$cgen_cpu_prefix" != x
; then
16528 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
16537 ac_clean_files
=$ac_clean_files_save
16539 test $ac_write_fail = 0 ||
16540 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16543 # configure is writing to config.log, and then calls config.status.
16544 # config.status does its own redirection, appending to config.log.
16545 # Unfortunately, on DOS this fails, as config.log is still kept open
16546 # by configure, so config.status won't be able to write to it; its
16547 # output is simply discarded. So we exec the FD to /dev/null,
16548 # effectively closing config.log, so it can be properly (re)opened and
16549 # appended to by config.status. When coming back to configure, we
16550 # need to make the FD available again.
16551 if test "$no_create" != yes; then
16553 ac_config_status_args
=
16554 test "$silent" = yes &&
16555 ac_config_status_args
="$ac_config_status_args --quiet"
16557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16560 # would make configure fail if this is the last instruction.
16561 $ac_cs_success || as_fn_exit $?
16563 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16565 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}