2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gas 2.26.51.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
558 PACKAGE_TARNAME='gas'
559 PACKAGE_VERSION='2.26.51'
560 PACKAGE_STRING='gas 2.26.51'
564 ac_unique_file="as.h"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars='am__EXEEXT_FALSE
612 MAINTAINER_MODE_FALSE
683 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
758 enable_dependency_tracking
769 enable_compressed_debug_sections
770 enable_x86_relax_relocations
771 enable_elf_stt_common
773 enable_build_warnings
775 enable_maintainer_mode
778 ac_precious_vars='build_alias
791 # Initialize some variables set by options.
793 ac_init_version=false
794 ac_unrecognized_opts=
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name=s,x,x,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
907 eval enable_$ac_useropt=no ;;
909 -docdir | --docdir | --docdi | --doc | --do)
911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 -enable-* | --enable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
933 eval enable_$ac_useropt=\$ac_optarg ;;
935 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937 | --exec | --exe | --ex)
938 ac_prev=exec_prefix ;;
939 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941 | --exec=* | --exe=* | --ex=*)
942 exec_prefix=$ac_optarg ;;
944 -gas | --gas | --ga | --g)
945 # Obsolete; use --with-gas.
948 -help | --help | --hel | --he | -h)
950 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951 ac_init_help=recursive ;;
952 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953 ac_init_help=short ;;
955 -host | --host | --hos | --ho)
956 ac_prev=host_alias ;;
957 -host=* | --host=* | --hos=* | --ho=*)
958 host_alias=$ac_optarg ;;
960 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964 htmldir=$ac_optarg ;;
966 -includedir | --includedir | --includedi | --included | --include \
967 | --includ | --inclu | --incl | --inc)
968 ac_prev=includedir ;;
969 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970 | --includ=* | --inclu=* | --incl=* | --inc=*)
971 includedir=$ac_optarg ;;
973 -infodir | --infodir | --infodi | --infod | --info | --inf)
975 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976 infodir=$ac_optarg ;;
978 -libdir | --libdir | --libdi | --libd)
980 -libdir=* | --libdir=* | --libdi=* | --libd=*)
983 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984 | --libexe | --libex | --libe)
985 ac_prev=libexecdir ;;
986 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987 | --libexe=* | --libex=* | --libe=*)
988 libexecdir=$ac_optarg ;;
990 -localedir | --localedir | --localedi | --localed | --locale)
992 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993 localedir=$ac_optarg ;;
995 -localstatedir | --localstatedir | --localstatedi | --localstated \
996 | --localstate | --localstat | --localsta | --localst | --locals)
997 ac_prev=localstatedir ;;
998 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000 localstatedir=$ac_optarg ;;
1002 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005 mandir=$ac_optarg ;;
1007 -nfp | --nfp | --nf)
1008 # Obsolete; use --without-fp.
1011 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012 | --no-cr | --no-c | -n)
1015 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021 | --oldin | --oldi | --old | --ol | --o)
1022 ac_prev=oldincludedir ;;
1023 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026 oldincludedir=$ac_optarg ;;
1028 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031 prefix=$ac_optarg ;;
1033 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034 | --program-pre | --program-pr | --program-p)
1035 ac_prev=program_prefix ;;
1036 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038 program_prefix=$ac_optarg ;;
1040 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041 | --program-suf | --program-su | --program-s)
1042 ac_prev=program_suffix ;;
1043 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1055 -program-transform-name=* | --program-transform-name=* \
1056 | --program-transform-nam=* | --program-transform-na=* \
1057 | --program-transform-n=* | --program-transform-=* \
1058 | --program-transform=* | --program-transfor=* \
1059 | --program-transfo=* | --program-transf=* \
1060 | --program-trans=* | --program-tran=* \
1061 | --progr-tra=* | --program-tr=* | --program-t=*)
1062 program_transform_name=$ac_optarg ;;
1064 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067 pdfdir=$ac_optarg ;;
1069 -psdir | --psdir | --psdi | --psd | --ps)
1071 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082 sbindir=$ac_optarg ;;
1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086 | --sharedst | --shareds | --shared | --share | --shar \
1088 ac_prev=sharedstatedir ;;
1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093 sharedstatedir=$ac_optarg ;;
1095 -site | --site | --sit)
1097 -site=* | --site=* | --sit=*)
1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103 srcdir=$ac_optarg ;;
1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106 | --syscon | --sysco | --sysc | --sys | --sy)
1107 ac_prev=sysconfdir ;;
1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110 sysconfdir=$ac_optarg ;;
1112 -target | --target | --targe | --targ | --tar | --ta | --t)
1113 ac_prev=target_alias ;;
1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115 target_alias=$ac_optarg ;;
1117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120 -version | --version | --versio | --versi | --vers | -V)
1121 ac_init_version=: ;;
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127 as_fn_error "invalid package name: $ac_useropt"
1128 ac_useropt_orig=$ac_useropt
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1137 eval with_$ac_useropt=\$ac_optarg ;;
1139 -without-* | --without-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1153 eval with_$ac_useropt=no ;;
1156 # Obsolete; use --with-x.
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160 | --x-incl | --x-inc | --x-in | --x-i)
1161 ac_prev=x_includes ;;
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164 x_includes=$ac_optarg ;;
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168 ac_prev=x_libraries ;;
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171 x_libraries=$ac_optarg ;;
1173 -*) as_fn_error "unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information."
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' | [0-9]* | *[!_$as_cr_alnum]* )
1182 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1184 eval $ac_envvar=\$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1198 if test -n "$ac_prev"; then
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error "missing argument to $ac_option"
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1206 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211 # Check all directory arguments for consistency.
1212 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1217 eval ac_val=\$$ac_var
1218 # Remove trailing slashes.
1221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\$ac_val;;
1224 # Be sure to have absolute directory names.
1226 [\\/$]* | ?:[\\/]* ) continue;;
1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1229 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1237 target=$target_alias
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x; then
1241 if test "x$build_alias" = x; then
1242 cross_compiling=maybe
1243 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1244 If a cross compiler is detected then cross compile mode will be used." >&2
1245 elif test "x$build_alias" != "x$host_alias"; then
1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1253 test "$silent" = yes && exec 6>/dev/null
1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di=`ls -di .` &&
1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error "working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error "pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 for ac_var in $ac_precious_vars; do
1317 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_${ac_var}_value=\$${ac_var}
1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1330 \`configure' configures gas 2.26.51 to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/gas]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1393 --build=BUILD configure for building on BUILD [guessed]
1394 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1395 --target=TARGET configure for building compilers for TARGET [HOST]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive ) echo "Configuration of gas 2.26.51:";;
1406 --disable-option-checking ignore unrecognized --enable/--with options
1407 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1408 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1409 --disable-dependency-tracking speeds up one-time build
1410 --enable-dependency-tracking do not reject slow dependency extractors
1411 --enable-shared[=PKGS] build shared libraries [default=yes]
1412 --enable-static[=PKGS] build static libraries [default=yes]
1413 --enable-fast-install[=PKGS]
1414 optimize for fast installation [default=yes]
1415 --disable-libtool-lock avoid locking (might break parallel builds)
1416 --enable-plugins Enable support for plugins
1417 --disable-largefile omit support for large files
1418 --enable-targets alternative target configurations besides the primary
1419 --enable-checking enable run-time checks
1420 --enable-compressed-debug-sections={all,gas,none}
1421 compress debug sections by default
1422 --enable-x86-relax-relocations
1423 generate x86 relax relocations by default
1424 --enable-elf-stt-common generate ELF common symbols with STT_COMMON type by
1426 --enable-werror treat compile warnings as errors
1427 --enable-build-warnings enable build-time compiler warnings
1428 --disable-nls do not use Native Language Support
1429 --enable-maintainer-mode enable make rules and dependencies not useful
1430 (and sometimes confusing) to the casual installer
1433 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1434 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1435 --with-pic try to use only PIC/non-PIC objects [default=use
1437 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1438 --with-system-zlib use installed libz
1440 Some influential environment variables:
1441 CC C compiler command
1442 CFLAGS C compiler flags
1443 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1444 nonstandard directory <lib dir>
1445 LIBS libraries to pass to the linker, e.g. -l<library>
1446 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1447 you have headers in a nonstandard directory <include dir>
1449 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1450 the first program found out of: `bison -y', `byacc', `yacc'.
1451 YFLAGS The list of arguments that will be passed by default to $YACC.
1452 This script will default YFLAGS to the empty string to avoid a
1453 default value of `-d' given by some make applications.
1455 Use these variables to override the choices made by `configure' or to help
1456 it to find libraries and programs with nonstandard names/locations.
1458 Report bugs to the package provider.
1463 if test "$ac_init_help" = "recursive"; then
1464 # If there are subdirs, report their specific --help.
1465 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1466 test -d "$ac_dir" ||
1467 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1475 # A ".." for each directory in $ac_dir_suffix.
1476 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1477 case $ac_top_builddir_sub in
1478 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1482 ac_abs_top_builddir=$ac_pwd
1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1484 # for backward compatibility:
1485 ac_top_builddir=$ac_top_build_prefix
1488 .) # We are building in place.
1490 ac_top_srcdir=$ac_top_builddir_sub
1491 ac_abs_top_srcdir=$ac_pwd ;;
1492 [\\/]* | ?:[\\/]* ) # Absolute name.
1493 ac_srcdir=$srcdir$ac_dir_suffix;
1494 ac_top_srcdir=$srcdir
1495 ac_abs_top_srcdir=$srcdir ;;
1497 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1498 ac_top_srcdir=$ac_top_build_prefix$srcdir
1499 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1503 cd "$ac_dir" || { ac_status=$?; continue; }
1504 # Check for guested configure.
1505 if test -f "$ac_srcdir/configure.gnu"; then
1507 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1508 elif test -f "$ac_srcdir/configure"; then
1510 $SHELL "$ac_srcdir/configure" --help=recursive
1512 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1514 cd "$ac_pwd" || { ac_status=$?; break; }
1518 test -n "$ac_init_help" && exit $ac_status
1519 if $ac_init_version; then
1521 gas configure 2.26.51
1522 generated by GNU Autoconf 2.64
1524 Copyright (C) 2009 Free Software Foundation, Inc.
1525 This configure script is free software; the Free Software Foundation
1526 gives unlimited permission to copy, distribute and modify it.
1531 ## ------------------------ ##
1532 ## Autoconf initialization. ##
1533 ## ------------------------ ##
1535 # ac_fn_c_try_compile LINENO
1536 # --------------------------
1537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_c_try_compile ()
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 rm -f conftest.$ac_objext
1542 if { { ac_try="$ac_compile"
1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545 *) ac_try_echo=$ac_try;;
1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_compile") 2>conftest.err
1551 if test -s conftest.err; then
1552 grep -v '^ *+' conftest.err >conftest.er1
1553 cat conftest.er1 >&5
1554 mv -f conftest.er1 conftest.err
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && {
1558 test -z "$ac_c_werror_flag" ||
1559 test ! -s conftest.err
1560 } && test -s conftest.$ac_objext; then :
1563 $as_echo "$as_me: failed program was:" >&5
1564 sed 's/^/| /' conftest.$ac_ext >&5
1568 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571 } # ac_fn_c_try_compile
1573 # ac_fn_c_try_link LINENO
1574 # -----------------------
1575 # Try to link conftest.$ac_ext, and return whether this succeeded.
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 rm -f conftest.$ac_objext conftest$ac_exeext
1580 if { { ac_try="$ac_link"
1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_link") 2>conftest.err
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && {
1596 test -z "$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 } && test -s conftest$ac_exeext && {
1599 test "$cross_compiling" = yes ||
1600 $as_test_x conftest$ac_exeext
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1609 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1610 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1611 # interfere with the next link command; also delete a directory that is
1612 # left behind by Apple's compiler. We do this before executing the actions.
1613 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617 } # ac_fn_c_try_link
1619 # ac_fn_c_try_cpp LINENO
1620 # ----------------------
1621 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 if { { ac_try="$ac_cpp conftest.$ac_ext"
1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } >/dev/null && {
1641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1657 # -------------------------------------------------------
1658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1659 # the include files in INCLUDES and setting the cache variable VAR
1661 ac_fn_c_check_header_mongrel ()
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1668 $as_echo_n "(cached) " >&6
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 $as_echo "$ac_res" >&6; }
1674 # Is the header compilable?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1676 $as_echo_n "checking $2 usability... " >&6; }
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1683 ac_header_compiler=yes
1685 ac_header_compiler=no
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1689 $as_echo "$ac_header_compiler" >&6; }
1691 # Is the header present?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1693 $as_echo_n "checking $2 presence... " >&6; }
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1698 if ac_fn_c_try_cpp "$LINENO"; then :
1699 ac_header_preproc=yes
1701 ac_header_preproc=no
1703 rm -f conftest.err conftest.$ac_ext
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1705 $as_echo "$ac_header_preproc" >&6; }
1707 # So? What about this header?
1708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1719 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1723 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1731 $as_echo_n "(cached) " >&6
1733 eval "$3=\$ac_header_compiler"
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1737 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1741 } # ac_fn_c_check_header_mongrel
1743 # ac_fn_c_try_run LINENO
1744 # ----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1746 # that executables *can* be run.
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>&5
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1761 { { case "(($ac_try" in
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_try") 2>&5
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; }; }; then :
1773 $as_echo "$as_me: program exited with status $ac_status" >&5
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1777 ac_retval=$ac_status
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1795 $as_echo_n "(cached) " >&6
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile "$LINENO"; then :
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1814 } # ac_fn_c_check_header_compile
1816 # ac_fn_c_check_func LINENO FUNC VAR
1817 # ----------------------------------
1818 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1819 ac_fn_c_check_func ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1825 $as_echo_n "(cached) " >&6
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1839 # include <limits.h>
1841 # include <assert.h>
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1868 if ac_fn_c_try_link "$LINENO"; then :
1873 rm -f core conftest.err conftest.$ac_objext \
1874 conftest$ac_exeext conftest.$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 } # ac_fn_c_check_func
1883 # ac_fn_c_check_decl LINENO SYMBOL VAR
1884 # ------------------------------------
1885 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1886 ac_fn_c_check_decl ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 as_decl_name=`echo $2|sed 's/ *(.*//'`
1890 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1892 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1902 #ifndef $as_decl_name
1904 (void) $as_decl_use;
1906 (void) $as_decl_name;
1914 if ac_fn_c_try_compile "$LINENO"; then :
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 } # ac_fn_c_check_decl
1927 cat >config.log <<_ACEOF
1928 This file contains any messages produced by compilers while
1929 running configure, to aid debugging if configure makes a mistake.
1931 It was created by gas $as_me 2.26.51, which was
1932 generated by GNU Autoconf 2.64. Invocation command line was
1944 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1945 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1946 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1947 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1948 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1950 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1951 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1953 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1954 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1955 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1956 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1957 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1958 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1959 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 $as_echo "PATH: $as_dir"
1984 # Keep a trace of the command line.
1985 # Strip out --no-create and --no-recursion so they do not pile up.
1986 # Strip out --silent because we don't want to record it for future runs.
1987 # Also quote any args containing shell meta-characters.
1988 # Make two passes to allow for proper duplicate-argument suppression.
1992 ac_must_keep_next=false
1998 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2000 | -silent | --silent | --silen | --sile | --sil)
2003 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2006 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2008 as_fn_append ac_configure_args1 " '$ac_arg'"
2009 if test $ac_must_keep_next = true; then
2010 ac_must_keep_next=false # Got value, back to normal.
2013 *=* | --config-cache | -C | -disable-* | --disable-* \
2014 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2015 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2016 | -with-* | --with-* | -without-* | --without-* | --x)
2017 case "$ac_configure_args0 " in
2018 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2021 -* ) ac_must_keep_next=true ;;
2024 as_fn_append ac_configure_args " '$ac_arg'"
2029 { ac_configure_args0=; unset ac_configure_args0;}
2030 { ac_configure_args1=; unset ac_configure_args1;}
2032 # When interrupted or exit'd, cleanup temporary files, and complete
2033 # config.log. We remove comments because anyway the quotes in there
2034 # would cause problems or look ugly.
2035 # WARNING: Use '\'' to represent an apostrophe within the trap.
2036 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2037 trap 'exit_status=$?
2038 # Save into config.log some information that might help in debugging.
2043 ## ---------------- ##
2044 ## Cache variables. ##
2045 ## ---------------- ##
2048 # The following way of writing the cache mishandles newlines in values,
2050 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2051 eval ac_val=\$$ac_var
2055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2059 _ | IFS | as_nl) ;; #(
2060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2061 *) { eval $ac_var=; unset $ac_var;} ;;
2066 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2067 *${as_nl}ac_space=\ *)
2069 "s/'\''/'\''\\\\'\'''\''/g;
2070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2081 ## ----------------- ##
2082 ## Output variables. ##
2083 ## ----------------- ##
2086 for ac_var in $ac_subst_vars
2088 eval ac_val=\$$ac_var
2090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2092 $as_echo "$ac_var='\''$ac_val'\''"
2096 if test -n "$ac_subst_files"; then
2098 ## ------------------- ##
2099 ## File substitutions. ##
2100 ## ------------------- ##
2103 for ac_var in $ac_subst_files
2105 eval ac_val=\$$ac_var
2107 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2109 $as_echo "$ac_var='\''$ac_val'\''"
2114 if test -s confdefs.h; then
2124 test "$ac_signal" != 0 &&
2125 $as_echo "$as_me: caught signal $ac_signal"
2126 $as_echo "$as_me: exit $exit_status"
2128 rm -f core *.core core.conftest.* &&
2129 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2132 for ac_signal in 1 2 13 15; do
2133 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2138 rm -f -r conftest* confdefs.h
2140 $as_echo "/* confdefs.h */" > confdefs.h
2142 # Predefined preprocessor variables.
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_NAME "$PACKAGE_NAME"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_STRING "$PACKAGE_STRING"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_URL "$PACKAGE_URL"
2169 # Let the site file select an alternate cache file if it wants to.
2170 # Prefer an explicitly selected file to automatically selected ones.
2173 if test -n "$CONFIG_SITE"; then
2174 ac_site_file1=$CONFIG_SITE
2175 elif test "x$prefix" != xNONE; then
2176 ac_site_file1=$prefix/share/config.site
2177 ac_site_file2=$prefix/etc/config.site
2179 ac_site_file1=$ac_default_prefix/share/config.site
2180 ac_site_file2=$ac_default_prefix/etc/config.site
2182 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2184 test "x$ac_site_file" = xNONE && continue
2185 if test -r "$ac_site_file"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2187 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2188 sed 's/^/| /' "$ac_site_file" >&5
2193 if test -r "$cache_file"; then
2194 # Some versions of bash will fail to source /dev/null (special
2195 # files actually), so we avoid doing that.
2196 if test -f "$cache_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2198 $as_echo "$as_me: loading cache $cache_file" >&6;}
2200 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2201 *) . "./$cache_file";;
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2206 $as_echo "$as_me: creating cache $cache_file" >&6;}
2210 # Check that the precious variables saved in the cache have kept the same
2212 ac_cache_corrupted=false
2213 for ac_var in $ac_precious_vars; do
2214 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2215 eval ac_new_set=\$ac_env_${ac_var}_set
2216 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2217 eval ac_new_val=\$ac_env_${ac_var}_value
2218 case $ac_old_set,$ac_new_set in
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2221 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2222 ac_cache_corrupted=: ;;
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2225 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2226 ac_cache_corrupted=: ;;
2229 if test "x$ac_old_val" != "x$ac_new_val"; then
2230 # differences in whitespace do not lead to failure.
2231 ac_old_val_w=`echo x $ac_old_val`
2232 ac_new_val_w=`echo x $ac_new_val`
2233 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2235 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2236 ac_cache_corrupted=:
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2239 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2240 eval $ac_var=\$ac_old_val
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2243 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2245 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2248 # Pass precious variables to config.status.
2249 if test "$ac_new_set" = set; then
2251 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 *) ac_arg=$ac_var=$ac_new_val ;;
2254 case " $ac_configure_args " in
2255 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2256 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2260 if $ac_cache_corrupted; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2264 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2265 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2267 ## -------------------- ##
2268 ## Main body of script. ##
2269 ## -------------------- ##
2272 ac_cpp='$CPP $CPPFLAGS'
2273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 for ac_dir in .. "$srcdir"/..; do
2285 for ac_t in install-sh install.sh shtool; do
2286 if test -f "$ac_dir/$ac_t"; then
2288 ac_install_sh="$ac_aux_dir/$ac_t -c"
2293 if test -z "$ac_aux_dir"; then
2294 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2297 # These three variables are undocumented and unsupported,
2298 # and are intended to be withdrawn in a future Autoconf release.
2299 # They can cause serious problems if a builder's source tree is in a directory
2300 # whose full name contains unusual characters.
2301 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2302 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2303 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2306 # Make sure we can run config.sub.
2307 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2308 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2311 $as_echo_n "checking build system type... " >&6; }
2312 if test "${ac_cv_build+set}" = set; then :
2313 $as_echo_n "(cached) " >&6
2315 ac_build_alias=$build_alias
2316 test "x$ac_build_alias" = x &&
2317 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2318 test "x$ac_build_alias" = x &&
2319 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2320 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2321 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2325 $as_echo "$ac_cv_build" >&6; }
2326 case $ac_cv_build in
2328 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2331 ac_save_IFS=$IFS; IFS='-'
2337 # Remember, the first character of IFS is used to create $*,
2338 # except with old shells:
2341 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2345 $as_echo_n "checking host system type... " >&6; }
2346 if test "${ac_cv_host+set}" = set; then :
2347 $as_echo_n "(cached) " >&6
2349 if test "x$host_alias" = x; then
2350 ac_cv_host=$ac_cv_build
2352 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2353 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2358 $as_echo "$ac_cv_host" >&6; }
2361 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2364 ac_save_IFS=$IFS; IFS='-'
2370 # Remember, the first character of IFS is used to create $*,
2371 # except with old shells:
2374 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2378 $as_echo_n "checking target system type... " >&6; }
2379 if test "${ac_cv_target+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2382 if test "x$target_alias" = x; then
2383 ac_cv_target=$ac_cv_host
2385 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2386 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2391 $as_echo "$ac_cv_target" >&6; }
2392 case $ac_cv_target in
2394 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2396 target=$ac_cv_target
2397 ac_save_IFS=$IFS; IFS='-'
2403 # Remember, the first character of IFS is used to create $*,
2404 # except with old shells:
2407 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2410 # The aliases save the names the user supplied, while $host etc.
2411 # will get canonicalized.
2412 test -n "$target_alias" &&
2413 test "$program_prefix$program_suffix$program_transform_name" = \
2415 program_prefix=${target_alias}-
2417 ac_cpp='$CPP $CPPFLAGS'
2418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2421 if test -n "$ac_tool_prefix"; then
2422 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2423 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then :
2427 $as_echo_n "(cached) " >&6
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 if test -n "$CC"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2452 $as_echo "$CC" >&6; }
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2455 $as_echo "no" >&6; }
2460 if test -z "$ac_cv_prog_CC"; then
2462 # Extract the first word of "gcc", so it can be a program name with args.
2463 set dummy gcc; ac_word=$2
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2465 $as_echo_n "checking for $ac_word... " >&6; }
2466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2467 $as_echo_n "(cached) " >&6
2469 if test -n "$ac_ct_CC"; then
2470 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 ac_cv_prog_ac_ct_CC="gcc"
2480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2490 if test -n "$ac_ct_CC"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2492 $as_echo "$ac_ct_CC" >&6; }
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2495 $as_echo "no" >&6; }
2498 if test "x$ac_ct_CC" = x; then
2501 case $cross_compiling:$ac_tool_warned in
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2505 ac_tool_warned=yes ;;
2513 if test -z "$CC"; then
2514 if test -n "$ac_tool_prefix"; then
2515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2516 set dummy ${ac_tool_prefix}cc; ac_word=$2
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if test "${ac_cv_prog_CC+set}" = set; then :
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$CC"; then
2523 ac_cv_prog_CC="$CC" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_CC="${ac_tool_prefix}cc"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 if test -n "$CC"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2545 $as_echo "$CC" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548 $as_echo "no" >&6; }
2554 if test -z "$CC"; then
2555 # Extract the first word of "cc", so it can be a program name with args.
2556 set dummy cc; ac_word=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_CC+set}" = set; then :
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$CC"; then
2563 ac_cv_prog_CC="$CC" # Let the user override the test.
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir=.
2571 for ac_exec_ext in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2573 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2574 ac_prog_rejected=yes
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 if test $ac_prog_rejected = yes; then
2586 # We found a bogon in the path, so make sure we never use it.
2587 set dummy $ac_cv_prog_CC
2589 if test $# != 0; then
2590 # We chose a different compiler from the bogus one.
2591 # However, it has the same basename, so the bogon will be chosen
2592 # first if we set CC to just the basename; use the full file name.
2594 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2600 if test -n "$CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2602 $as_echo "$CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2610 if test -z "$CC"; then
2611 if test -n "$ac_tool_prefix"; then
2612 for ac_prog in cl.exe
2614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if test "${ac_cv_prog_CC+set}" = set; then :
2619 $as_echo_n "(cached) " >&6
2621 if test -n "$CC"; then
2622 ac_cv_prog_CC="$CC" # Let the user override the test.
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir=.
2629 for ac_exec_ext in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 if test -n "$CC"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2644 $as_echo "$CC" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2651 test -n "$CC" && break
2654 if test -z "$CC"; then
2656 for ac_prog in cl.exe
2658 # Extract the first word of "$ac_prog", so it can be a program name with args.
2659 set dummy $ac_prog; ac_word=$2
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661 $as_echo_n "checking for $ac_word... " >&6; }
2662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2663 $as_echo_n "(cached) " >&6
2665 if test -n "$ac_ct_CC"; then
2666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir=.
2673 for ac_exec_ext in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675 ac_cv_prog_ac_ct_CC="$ac_prog"
2676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2686 if test -n "$ac_ct_CC"; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2688 $as_echo "$ac_ct_CC" >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2695 test -n "$ac_ct_CC" && break
2698 if test "x$ac_ct_CC" = x; then
2701 case $cross_compiling:$ac_tool_warned in
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2705 ac_tool_warned=yes ;;
2714 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2716 as_fn_error "no acceptable C compiler found in \$PATH
2717 See \`config.log' for more details." "$LINENO" 5; }
2719 # Provide some information about the compiler.
2720 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2723 for ac_option in --version -v -V -qversion; do
2724 { { ac_try="$ac_compiler $ac_option >&5"
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 $as_echo "$ac_try_echo"; } >&5
2731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2733 if test -s conftest.err; then
2735 ... rest of stderr output deleted ...
2736 10q' conftest.err >conftest.er1
2737 cat conftest.er1 >&5
2738 rm -f conftest.er1 conftest.err
2740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2741 test $ac_status = 0; }
2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2755 ac_clean_files_save=$ac_clean_files
2756 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2757 # Try to create an executable without -o first, disregard a.out.
2758 # It will help us diagnose broken compilers, and finding out an intuition
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2761 $as_echo_n "checking for C compiler default output file name... " >&6; }
2762 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2764 # The possible output files:
2765 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2768 for ac_file in $ac_files
2771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2772 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2777 if { { ac_try="$ac_link_default"
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 $as_echo "$ac_try_echo"; } >&5
2784 (eval "$ac_link_default") 2>&5
2786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; }; then :
2788 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2789 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2790 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2791 # so that the user can short-circuit this test for compilers unknown to
2793 for ac_file in $ac_files ''
2795 test -f "$ac_file" || continue
2797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2800 # We found the default executable, but exeext='' is most
2804 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2806 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2808 # We set ac_cv_exeext here because the later test for it is not
2809 # safe: cross compilers may not add the suffix if given an `-o'
2810 # argument, so we may need to know it at that point already.
2811 # Even if this section looks crufty: it has the advantage of
2818 test "$ac_cv_exeext" = no && ac_cv_exeext=
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2824 $as_echo "$ac_file" >&6; }
2825 if test -z "$ac_file"; then :
2826 $as_echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2831 { as_fn_set_status 77
2832 as_fn_error "C compiler cannot create executables
2833 See \`config.log' for more details." "$LINENO" 5; }; }
2835 ac_exeext=$ac_cv_exeext
2837 # Check that the compiler produces executables we can run. If not, either
2838 # the compiler is broken, or we cross compile.
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2840 $as_echo_n "checking whether the C compiler works... " >&6; }
2841 # If not cross compiling, check that we can run a simple program.
2842 if test "$cross_compiling" != yes; then
2843 if { ac_try='./$ac_file'
2844 { { case "(($ac_try" in
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 $as_echo "$ac_try_echo"; } >&5
2850 (eval "$ac_try") 2>&5
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; }; }; then
2856 if test "$cross_compiling" = maybe; then
2859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2861 as_fn_error "cannot run C compiled programs.
2862 If you meant to cross compile, use \`--host'.
2863 See \`config.log' for more details." "$LINENO" 5; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2868 $as_echo "yes" >&6; }
2870 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2871 ac_clean_files=$ac_clean_files_save
2872 # Check that the compiler produces executables we can run. If not, either
2873 # the compiler is broken, or we cross compile.
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2875 $as_echo_n "checking whether we are cross compiling... " >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2877 $as_echo "$cross_compiling" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2880 $as_echo_n "checking for suffix of executables... " >&6; }
2881 if { { ac_try="$ac_link"
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 $as_echo "$ac_try_echo"; } >&5
2888 (eval "$ac_link") 2>&5
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; }; then :
2892 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2893 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2894 # work properly (i.e., refer to `conftest.exe'), while it won't with
2896 for ac_file in conftest.exe conftest conftest.*; do
2897 test -f "$ac_file" || continue
2899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2900 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 as_fn_error "cannot compute suffix of executables: cannot compile and link
2909 See \`config.log' for more details." "$LINENO" 5; }
2911 rm -f conftest$ac_cv_exeext
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2913 $as_echo "$ac_cv_exeext" >&6; }
2915 rm -f conftest.$ac_ext
2916 EXEEXT=$ac_cv_exeext
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2919 $as_echo_n "checking for suffix of object files... " >&6; }
2920 if test "${ac_cv_objext+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2934 rm -f conftest.o conftest.obj
2935 if { { ac_try="$ac_compile"
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2941 $as_echo "$ac_try_echo"; } >&5
2942 (eval "$ac_compile") 2>&5
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; }; then :
2946 for ac_file in conftest.o conftest.obj conftest.*; do
2947 test -f "$ac_file" || continue;
2949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2950 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2955 $as_echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2960 as_fn_error "cannot compute suffix of object files: cannot compile
2961 See \`config.log' for more details." "$LINENO" 5; }
2963 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2966 $as_echo "$ac_cv_objext" >&6; }
2967 OBJEXT=$ac_cv_objext
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2970 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2971 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2972 $as_echo_n "(cached) " >&6
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2988 if ac_fn_c_try_compile "$LINENO"; then :
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2998 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2999 if test $ac_compiler_gnu = yes; then
3004 ac_test_CFLAGS=${CFLAGS+set}
3005 ac_save_CFLAGS=$CFLAGS
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3007 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3008 if test "${ac_cv_prog_cc_g+set}" = set; then :
3009 $as_echo_n "(cached) " >&6
3011 ac_save_c_werror_flag=$ac_c_werror_flag
3012 ac_c_werror_flag=yes
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3026 if ac_fn_c_try_compile "$LINENO"; then :
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3041 if ac_fn_c_try_compile "$LINENO"; then :
3044 ac_c_werror_flag=$ac_save_c_werror_flag
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3057 if ac_fn_c_try_compile "$LINENO"; then :
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_c_werror_flag=$ac_save_c_werror_flag
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3068 $as_echo "$ac_cv_prog_cc_g" >&6; }
3069 if test "$ac_test_CFLAGS" = set; then
3070 CFLAGS=$ac_save_CFLAGS
3071 elif test $ac_cv_prog_cc_g = yes; then
3072 if test "$GCC" = yes; then
3078 if test "$GCC" = yes; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3085 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3086 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3089 ac_cv_prog_cc_c89=no
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 #include <sys/types.h>
3096 #include <sys/stat.h>
3097 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3098 struct buf { int x; };
3099 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3100 static char *e (p, i)
3106 static char *f (char * (*g) (char **, int), char **p, ...)
3111 s = g (p, va_arg (v,int));
3116 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3117 function prototypes and stuff, but not '\xHH' hex character constants.
3118 These don't provoke an error unfortunately, instead are silently treated
3119 as 'x'. The following induces an error, until -std is added to get
3120 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3121 array size at least. It's necessary to write '\x00'==0 to get something
3122 that's true only with -std. */
3123 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3125 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3126 inside strings and character constants. */
3128 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3130 int test (int i, double x);
3131 struct s1 {int (*f) (int a);};
3132 struct s2 {int (*f) (double a);};
3133 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3139 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3144 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3145 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3147 CC="$ac_save_CC $ac_arg"
3148 if ac_fn_c_try_compile "$LINENO"; then :
3149 ac_cv_prog_cc_c89=$ac_arg
3151 rm -f core conftest.err conftest.$ac_objext
3152 test "x$ac_cv_prog_cc_c89" != "xno" && break
3154 rm -f conftest.$ac_ext
3159 case "x$ac_cv_prog_cc_c89" in
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3162 $as_echo "none needed" >&6; } ;;
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3165 $as_echo "unsupported" >&6; } ;;
3167 CC="$CC $ac_cv_prog_cc_c89"
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3169 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3171 if test "x$ac_cv_prog_cc_c89" != xno; then :
3176 ac_cpp='$CPP $CPPFLAGS'
3177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3183 $as_echo_n "checking for library containing strerror... " >&6; }
3184 if test "${ac_cv_search_strerror+set}" = set; then :
3185 $as_echo_n "(cached) " >&6
3187 ac_func_search_save_LIBS=$LIBS
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3191 /* Override any GCC internal prototype to avoid an error.
3192 Use char because int might match the return type of a GCC
3193 builtin and then its argument prototype would still apply. */
3206 for ac_lib in '' cposix; do
3207 if test -z "$ac_lib"; then
3208 ac_res="none required"
3211 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3213 if ac_fn_c_try_link "$LINENO"; then :
3214 ac_cv_search_strerror=$ac_res
3216 rm -f core conftest.err conftest.$ac_objext \
3218 if test "${ac_cv_search_strerror+set}" = set; then :
3222 if test "${ac_cv_search_strerror+set}" = set; then :
3225 ac_cv_search_strerror=no
3228 LIBS=$ac_func_search_save_LIBS
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3231 $as_echo "$ac_cv_search_strerror" >&6; }
3232 ac_res=$ac_cv_search_strerror
3233 if test "$ac_res" != no; then :
3234 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3239 am__api_version='1.11'
3241 # Find a good install program. We prefer a C program (faster),
3242 # so one script is as good as another. But avoid the broken or
3243 # incompatible versions:
3244 # SysV /etc/install, /usr/sbin/install
3245 # SunOS /usr/etc/install
3246 # IRIX /sbin/install
3248 # AmigaOS /C/install, which installs bootblocks on floppy discs
3249 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3250 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3251 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3252 # OS/2's system install, which has a completely different semantic
3253 # ./install, which can be erroneously created by make from ./install.sh.
3254 # Reject install programs that cannot install multiple files.
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3256 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3257 if test -z "$INSTALL"; then
3258 if test "${ac_cv_path_install+set}" = set; then :
3259 $as_echo_n "(cached) " >&6
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir=.
3266 # Account for people who put trailing slashes in PATH elements.
3267 case $as_dir/ in #((
3268 ./ | .// | /[cC]/* | \
3269 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3270 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3273 # OSF1 and SCO ODT 3.0 have their own names for install.
3274 # Don't use installbsd from OSF since it installs stuff as root
3276 for ac_prog in ginstall scoinst install; do
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3279 if test $ac_prog = install &&
3280 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3281 # AIX install. It has an incompatible calling convention.
3283 elif test $ac_prog = install &&
3284 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3285 # program-specific install script used by HP pwplus--don't use.
3288 rm -rf conftest.one conftest.two conftest.dir
3289 echo one > conftest.one
3290 echo two > conftest.two
3292 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3293 test -s conftest.one && test -s conftest.two &&
3294 test -s conftest.dir/conftest.one &&
3295 test -s conftest.dir/conftest.two
3297 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3310 rm -rf conftest.one conftest.two conftest.dir
3313 if test "${ac_cv_path_install+set}" = set; then
3314 INSTALL=$ac_cv_path_install
3316 # As a last resort, use the slow shell script. Don't cache a
3317 # value for INSTALL within a source directory, because that will
3318 # break other packages using the cache if that directory is
3319 # removed, or if the value is a relative name.
3320 INSTALL=$ac_install_sh
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3324 $as_echo "$INSTALL" >&6; }
3326 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3327 # It thinks the first close brace ends the variable substitution.
3328 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3330 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3332 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3335 $as_echo_n "checking whether build environment is sane... " >&6; }
3338 echo timestamp > conftest.file
3339 # Reject unsafe characters in $srcdir or the absolute working directory
3340 # name. Accept space and tab only in the latter.
3344 *[\\\"\#\$\&\'\`$am_lf]*)
3345 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3348 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3349 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3352 # Do `set' in a subshell so we don't clobber the current shell's
3353 # arguments. Must try -L first in case configure is actually a
3354 # symlink; some systems play weird games with the mod time of symlinks
3355 # (eg FreeBSD returns the mod time of the symlink's containing
3358 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3359 if test "$*" = "X"; then
3361 set X `ls -t "$srcdir/configure" conftest.file`
3364 if test "$*" != "X $srcdir/configure conftest.file" \
3365 && test "$*" != "X conftest.file $srcdir/configure"; then
3367 # If neither matched, then we have a broken ls. This can happen
3368 # if, for instance, CONFIG_SHELL is bash and it inherits a
3369 # broken ls alias from the environment. This has actually
3370 # happened. Such a system could not be considered "sane".
3371 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3372 alias in your environment" "$LINENO" 5
3375 test "$2" = conftest.file
3381 as_fn_error "newly created file is older than distributed files!
3382 Check your system clock" "$LINENO" 5
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3385 $as_echo "yes" >&6; }
3386 test "$program_prefix" != NONE &&
3387 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3388 # Use a double $ so make ignores it.
3389 test "$program_suffix" != NONE &&
3390 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3391 # Double any \ or $.
3392 # By default was `s,x,x', remove it if useless.
3393 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3394 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3396 # expand $ac_aux_dir to an absolute path
3397 am_aux_dir=`cd $ac_aux_dir && pwd`
3399 if test x"${MISSING+set}" != xset; then
3402 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3404 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3407 # Use eval to expand $SHELL
3408 if eval "$MISSING --run true"; then
3409 am_missing_run="$MISSING --run "
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3413 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3416 if test x"${install_sh}" != xset; then
3419 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3421 install_sh="\${SHELL} $am_aux_dir/install-sh"
3425 # Installed binaries are usually stripped using `strip' when the user
3426 # run `make install-strip'. However `strip' might not be the right
3427 # tool to use in cross-compilation environments, therefore Automake
3428 # will honor the `STRIP' environment variable to overrule this program.
3429 if test "$cross_compiling" != no; then
3430 if test -n "$ac_tool_prefix"; then
3431 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3432 set dummy ${ac_tool_prefix}strip; ac_word=$2
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434 $as_echo_n "checking for $ac_word... " >&6; }
3435 if test "${ac_cv_prog_STRIP+set}" = set; then :
3436 $as_echo_n "(cached) " >&6
3438 if test -n "$STRIP"; then
3439 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3448 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 STRIP=$ac_cv_prog_STRIP
3459 if test -n "$STRIP"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3461 $as_echo "$STRIP" >&6; }
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3469 if test -z "$ac_cv_prog_STRIP"; then
3471 # Extract the first word of "strip", so it can be a program name with args.
3472 set dummy strip; ac_word=$2
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3474 $as_echo_n "checking for $ac_word... " >&6; }
3475 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3478 if test -n "$ac_ct_STRIP"; then
3479 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 test -z "$as_dir" && as_dir=.
3486 for ac_exec_ext in '' $ac_executable_extensions; do
3487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3488 ac_cv_prog_ac_ct_STRIP="strip"
3489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3498 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3499 if test -n "$ac_ct_STRIP"; then
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3501 $as_echo "$ac_ct_STRIP" >&6; }
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3504 $as_echo "no" >&6; }
3507 if test "x$ac_ct_STRIP" = x; then
3510 case $cross_compiling:$ac_tool_warned in
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3514 ac_tool_warned=yes ;;
3519 STRIP="$ac_cv_prog_STRIP"
3523 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3526 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3527 if test -z "$MKDIR_P"; then
3528 if test "${ac_cv_path_mkdir+set}" = set; then :
3529 $as_echo_n "(cached) " >&6
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3535 test -z "$as_dir" && as_dir=.
3536 for ac_prog in mkdir gmkdir; do
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3539 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3540 'mkdir (GNU coreutils) '* | \
3541 'mkdir (coreutils) '* | \
3542 'mkdir (fileutils) '4.1*)
3543 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3553 if test "${ac_cv_path_mkdir+set}" = set; then
3554 MKDIR_P="$ac_cv_path_mkdir -p"
3556 # As a last resort, use the slow shell script. Don't cache a
3557 # value for MKDIR_P within a source directory, because that will
3558 # break other packages using the cache if that directory is
3559 # removed, or if the value is a relative name.
3560 test -d ./--version && rmdir ./--version
3561 MKDIR_P="$ac_install_sh -d"
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3565 $as_echo "$MKDIR_P" >&6; }
3569 [\\/$]* | ?:[\\/]*) ;;
3570 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3573 for ac_prog in gawk mawk nawk awk
3575 # Extract the first word of "$ac_prog", so it can be a program name with args.
3576 set dummy $ac_prog; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if test "${ac_cv_prog_AWK+set}" = set; then :
3580 $as_echo_n "(cached) " >&6
3582 if test -n "$AWK"; then
3583 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592 ac_cv_prog_AWK="$ac_prog"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 if test -n "$AWK"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3605 $as_echo "$AWK" >&6; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3612 test -n "$AWK" && break
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3616 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3618 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3619 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3620 $as_echo_n "(cached) " >&6
3622 cat >conftest.make <<\_ACEOF
3625 @echo '@@@%%%=$(MAKE)=@@@%%%'
3627 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3628 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3630 eval ac_cv_prog_make_${ac_make}_set=yes;;
3632 eval ac_cv_prog_make_${ac_make}_set=no;;
3636 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3638 $as_echo "yes" >&6; }
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3643 SET_MAKE="MAKE=${MAKE-make}"
3646 rm -rf .tst 2>/dev/null
3647 mkdir .tst 2>/dev/null
3648 if test -d .tst; then
3653 rmdir .tst 2>/dev/null
3655 DEPDIR="${am__leading_dot}deps"
3657 ac_config_commands="$ac_config_commands depfiles"
3660 am_make=${MAKE-make}
3661 cat > confinc << 'END'
3663 @echo this is the am__doit target
3666 # If we don't find an include directive, just comment out the code.
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3668 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3672 # First try GNU make style include.
3673 echo "include confinc" > confmf
3674 # Ignore all kinds of additional output from `make'.
3675 case `$am_make -s -f confmf 2> /dev/null` in #(
3676 *the\ am__doit\ target*)
3682 # Now try BSD make style include.
3683 if test "$am__include" = "#"; then
3684 echo '.include "confinc"' > confmf
3685 case `$am_make -s -f confmf 2> /dev/null` in #(
3686 *the\ am__doit\ target*)
3687 am__include=.include
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3696 $as_echo "$_am_result" >&6; }
3697 rm -f confinc confmf
3699 # Check whether --enable-dependency-tracking was given.
3700 if test "${enable_dependency_tracking+set}" = set; then :
3701 enableval=$enable_dependency_tracking;
3704 if test "x$enable_dependency_tracking" != xno; then
3705 am_depcomp="$ac_aux_dir/depcomp"
3709 if test "x$enable_dependency_tracking" != xno; then
3718 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3719 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3720 # is not polluted with repeated "-I."
3721 am__isrc=' -I$(srcdir)'
3722 # test to see if srcdir already configured
3723 if test -f $srcdir/config.status; then
3724 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3728 # test whether we have cygpath
3729 if test -z "$CYGPATH_W"; then
3730 if (cygpath --version) >/dev/null 2>/dev/null; then
3731 CYGPATH_W='cygpath -w'
3738 # Define the identity of the package.
3743 cat >>confdefs.h <<_ACEOF
3744 #define PACKAGE "$PACKAGE"
3748 cat >>confdefs.h <<_ACEOF
3749 #define VERSION "$VERSION"
3752 # Some tools Automake needs.
3754 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3757 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3760 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3763 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3766 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3768 # We need awk for the "check" target. The system "awk" is bad on
3770 # Always define AMTAR for backward compatibility. Yes, it's still used
3771 # in the wild :-( We should find a proper way to deprecate it ...
3774 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3779 depcc="$CC" am_compiler_list=
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3782 $as_echo_n "checking dependency style of $depcc... " >&6; }
3783 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3787 # We make a subdir and do the tests there. Otherwise we can end up
3788 # making bogus files that we don't know about and never remove. For
3789 # instance it was reported that on HP-UX the gcc test will end up
3790 # making a dummy file named `D' -- because `-MD' means `put the output
3794 # Copy depcomp to subdir because otherwise we won't find it if we're
3795 # using a relative directory.
3796 cp "$am_depcomp" conftest.dir
3798 # We will build objects and dependencies in a subdirectory because
3799 # it helps to detect inapplicable dependency modes. For instance
3800 # both Tru64's cc and ICC support -MD to output dependencies as a
3801 # side effect of compilation, but ICC will put the dependencies in
3802 # the current directory while Tru64 will put them in the object
3806 am_cv_CC_dependencies_compiler_type=none
3807 if test "$am_compiler_list" = ""; then
3808 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3811 case " $depcc " in #(
3812 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3815 for depmode in $am_compiler_list; do
3816 # Setup a source with many dependencies, because some compilers
3817 # like to wrap large dependency lists on column 80 (with \), and
3818 # we should not choose a depcomp mode which is confused by this.
3820 # We need to recreate these files for each test, as the compiler may
3821 # overwrite some of them when testing with obscure command lines.
3822 # This happens at least with the AIX C compiler.
3824 for i in 1 2 3 4 5 6; do
3825 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3826 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3827 # Solaris 8's {/usr,}/bin/sh.
3828 touch sub/conftst$i.h
3830 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3832 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3833 # mode. It turns out that the SunPro C++ compiler does not properly
3834 # handle `-M -o', and we need to detect this. Also, some Intel
3835 # versions had trouble with output in subdirs
3836 am__obj=sub/conftest.${OBJEXT-o}
3837 am__minus_obj="-o $am__obj"
3840 # This depmode causes a compiler race in universal mode.
3841 test "$am__universal" = false || continue
3844 # after this tag, mechanisms are not by side-effect, so they'll
3845 # only be used when explicitly requested
3846 if test "x$enable_dependency_tracking" = xyes; then
3852 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3853 # This compiler won't grok `-c -o', but also, the minuso test has
3854 # not run yet. These depmodes are late enough in the game, and
3855 # so weak that their functioning should not be impacted.
3856 am__obj=conftest.${OBJEXT-o}
3861 if depmode=$depmode \
3862 source=sub/conftest.c object=$am__obj \
3863 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3864 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3865 >/dev/null 2>conftest.err &&
3866 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3867 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3868 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3869 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3870 # icc doesn't choke on unknown options, it will just issue warnings
3871 # or remarks (even with -Werror). So we grep stderr for any message
3872 # that says an option was ignored or not supported.
3873 # When given -MP, icc 7.0 and 7.1 complain thusly:
3874 # icc: Command line warning: ignoring option '-M'; no argument required
3875 # The diagnosis changed in icc 8.0:
3876 # icc: Command line remark: option '-MP' not supported
3877 if (grep 'ignoring option' conftest.err ||
3878 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3879 am_cv_CC_dependencies_compiler_type=$depmode
3888 am_cv_CC_dependencies_compiler_type=none
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3893 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3894 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3897 test "x$enable_dependency_tracking" != xno \
3898 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3900 am__fastdepCC_FALSE='#'
3902 am__fastdepCC_TRUE='#'
3903 am__fastdepCC_FALSE=
3910 ac_cpp='$CPP $CPPFLAGS'
3911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3914 if test -n "$ac_tool_prefix"; then
3915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3916 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if test "${ac_cv_prog_CC+set}" = set; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$CC"; then
3923 ac_cv_prog_CC="$CC" # Let the user override the test.
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir=.
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 if test -n "$CC"; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3945 $as_echo "$CC" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3953 if test -z "$ac_cv_prog_CC"; then
3955 # Extract the first word of "gcc", so it can be a program name with args.
3956 set dummy gcc; ac_word=$2
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3958 $as_echo_n "checking for $ac_word... " >&6; }
3959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3960 $as_echo_n "(cached) " >&6
3962 if test -n "$ac_ct_CC"; then
3963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3972 ac_cv_prog_ac_ct_CC="gcc"
3973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3983 if test -n "$ac_ct_CC"; then
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3985 $as_echo "$ac_ct_CC" >&6; }
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3988 $as_echo "no" >&6; }
3991 if test "x$ac_ct_CC" = x; then
3994 case $cross_compiling:$ac_tool_warned in
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3998 ac_tool_warned=yes ;;
4006 if test -z "$CC"; then
4007 if test -n "$ac_tool_prefix"; then
4008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4009 set dummy ${ac_tool_prefix}cc; ac_word=$2
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011 $as_echo_n "checking for $ac_word... " >&6; }
4012 if test "${ac_cv_prog_CC+set}" = set; then :
4013 $as_echo_n "(cached) " >&6
4015 if test -n "$CC"; then
4016 ac_cv_prog_CC="$CC" # Let the user override the test.
4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir=.
4023 for ac_exec_ext in '' $ac_executable_extensions; do
4024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4025 ac_cv_prog_CC="${ac_tool_prefix}cc"
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036 if test -n "$CC"; then
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4038 $as_echo "$CC" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4047 if test -z "$CC"; then
4048 # Extract the first word of "cc", so it can be a program name with args.
4049 set dummy cc; ac_word=$2
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051 $as_echo_n "checking for $ac_word... " >&6; }
4052 if test "${ac_cv_prog_CC+set}" = set; then :
4053 $as_echo_n "(cached) " >&6
4055 if test -n "$CC"; then
4056 ac_cv_prog_CC="$CC" # Let the user override the test.
4059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir=.
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4066 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4067 ac_prog_rejected=yes
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 if test $ac_prog_rejected = yes; then
4079 # We found a bogon in the path, so make sure we never use it.
4080 set dummy $ac_cv_prog_CC
4082 if test $# != 0; then
4083 # We chose a different compiler from the bogus one.
4084 # However, it has the same basename, so the bogon will be chosen
4085 # first if we set CC to just the basename; use the full file name.
4087 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4093 if test -n "$CC"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4095 $as_echo "$CC" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4103 if test -z "$CC"; then
4104 if test -n "$ac_tool_prefix"; then
4105 for ac_prog in cl.exe
4107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4108 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110 $as_echo_n "checking for $ac_word... " >&6; }
4111 if test "${ac_cv_prog_CC+set}" = set; then :
4112 $as_echo_n "(cached) " >&6
4114 if test -n "$CC"; then
4115 ac_cv_prog_CC="$CC" # Let the user override the test.
4117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 test -z "$as_dir" && as_dir=.
4122 for ac_exec_ext in '' $ac_executable_extensions; do
4123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4124 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 if test -n "$CC"; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4137 $as_echo "$CC" >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4144 test -n "$CC" && break
4147 if test -z "$CC"; then
4149 for ac_prog in cl.exe
4151 # Extract the first word of "$ac_prog", so it can be a program name with args.
4152 set dummy $ac_prog; ac_word=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -n "$ac_ct_CC"; then
4159 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168 ac_cv_prog_ac_ct_CC="$ac_prog"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4179 if test -n "$ac_ct_CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4181 $as_echo "$ac_ct_CC" >&6; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4188 test -n "$ac_ct_CC" && break
4191 if test "x$ac_ct_CC" = x; then
4194 case $cross_compiling:$ac_tool_warned in
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4198 ac_tool_warned=yes ;;
4207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 as_fn_error "no acceptable C compiler found in \$PATH
4210 See \`config.log' for more details." "$LINENO" 5; }
4212 # Provide some information about the compiler.
4213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4216 for ac_option in --version -v -V -qversion; do
4217 { { ac_try="$ac_compiler $ac_option >&5"
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4226 if test -s conftest.err; then
4228 ... rest of stderr output deleted ...
4229 10q' conftest.err >conftest.er1
4230 cat conftest.er1 >&5
4231 rm -f conftest.er1 conftest.err
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4239 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4256 if ac_fn_c_try_compile "$LINENO"; then :
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4267 if test $ac_compiler_gnu = yes; then
4272 ac_test_CFLAGS=${CFLAGS+set}
4273 ac_save_CFLAGS=$CFLAGS
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4276 if test "${ac_cv_prog_cc_g+set}" = set; then :
4277 $as_echo_n "(cached) " >&6
4279 ac_save_c_werror_flag=$ac_c_werror_flag
4280 ac_c_werror_flag=yes
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4294 if ac_fn_c_try_compile "$LINENO"; then :
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4309 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_c_werror_flag=$ac_save_c_werror_flag
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4325 if ac_fn_c_try_compile "$LINENO"; then :
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 ac_c_werror_flag=$ac_save_c_werror_flag
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4336 $as_echo "$ac_cv_prog_cc_g" >&6; }
4337 if test "$ac_test_CFLAGS" = set; then
4338 CFLAGS=$ac_save_CFLAGS
4339 elif test $ac_cv_prog_cc_g = yes; then
4340 if test "$GCC" = yes; then
4346 if test "$GCC" = yes; then
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4354 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4357 ac_cv_prog_cc_c89=no
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4363 #include <sys/types.h>
4364 #include <sys/stat.h>
4365 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4366 struct buf { int x; };
4367 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4368 static char *e (p, i)
4374 static char *f (char * (*g) (char **, int), char **p, ...)
4379 s = g (p, va_arg (v,int));
4384 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4385 function prototypes and stuff, but not '\xHH' hex character constants.
4386 These don't provoke an error unfortunately, instead are silently treated
4387 as 'x'. The following induces an error, until -std is added to get
4388 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4389 array size at least. It's necessary to write '\x00'==0 to get something
4390 that's true only with -std. */
4391 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4393 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4394 inside strings and character constants. */
4396 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4398 int test (int i, double x);
4399 struct s1 {int (*f) (int a);};
4400 struct s2 {int (*f) (double a);};
4401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4407 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4412 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4413 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4415 CC="$ac_save_CC $ac_arg"
4416 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_cv_prog_cc_c89=$ac_arg
4419 rm -f core conftest.err conftest.$ac_objext
4420 test "x$ac_cv_prog_cc_c89" != "xno" && break
4422 rm -f conftest.$ac_ext
4427 case "x$ac_cv_prog_cc_c89" in
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4430 $as_echo "none needed" >&6; } ;;
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4433 $as_echo "unsupported" >&6; } ;;
4435 CC="$CC $ac_cv_prog_cc_c89"
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4437 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4439 if test "x$ac_cv_prog_cc_c89" != xno; then :
4444 ac_cpp='$CPP $CPPFLAGS'
4445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4450 ac_cpp='$CPP $CPPFLAGS'
4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4455 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4456 # On Suns, sometimes $CPP names a directory.
4457 if test -n "$CPP" && test -d "$CPP"; then
4460 if test -z "$CPP"; then
4461 if test "${ac_cv_prog_CPP+set}" = set; then :
4462 $as_echo_n "(cached) " >&6
4464 # Double quotes because CPP needs to be expanded
4465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4468 for ac_c_preproc_warn_flag in '' yes
4470 # Use a header file that comes with gcc, so configuring glibc
4471 # with a fresh cross-compiler works.
4472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4473 # <limits.h> exists even on freestanding compilers.
4474 # On the NeXT, cc -E runs the code through the compiler's parser,
4475 # not just through cpp. "Syntax error" is here to catch this case.
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4479 # include <limits.h>
4481 # include <assert.h>
4485 if ac_fn_c_try_cpp "$LINENO"; then :
4488 # Broken: fails on valid input.
4491 rm -f conftest.err conftest.$ac_ext
4493 # OK, works on sane cases. Now check whether nonexistent headers
4494 # can be detected and how.
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4497 #include <ac_nonexistent.h>
4499 if ac_fn_c_try_cpp "$LINENO"; then :
4500 # Broken: success on invalid input.
4503 # Passes both tests.
4507 rm -f conftest.err conftest.$ac_ext
4510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4511 rm -f conftest.err conftest.$ac_ext
4512 if $ac_preproc_ok; then :
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4525 $as_echo "$CPP" >&6; }
4527 for ac_c_preproc_warn_flag in '' yes
4529 # Use a header file that comes with gcc, so configuring glibc
4530 # with a fresh cross-compiler works.
4531 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4532 # <limits.h> exists even on freestanding compilers.
4533 # On the NeXT, cc -E runs the code through the compiler's parser,
4534 # not just through cpp. "Syntax error" is here to catch this case.
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4538 # include <limits.h>
4540 # include <assert.h>
4544 if ac_fn_c_try_cpp "$LINENO"; then :
4547 # Broken: fails on valid input.
4550 rm -f conftest.err conftest.$ac_ext
4552 # OK, works on sane cases. Now check whether nonexistent headers
4553 # can be detected and how.
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4556 #include <ac_nonexistent.h>
4558 if ac_fn_c_try_cpp "$LINENO"; then :
4559 # Broken: success on invalid input.
4562 # Passes both tests.
4566 rm -f conftest.err conftest.$ac_ext
4569 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4570 rm -f conftest.err conftest.$ac_ext
4571 if $ac_preproc_ok; then :
4574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4576 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4577 See \`config.log' for more details." "$LINENO" 5; }
4581 ac_cpp='$CPP $CPPFLAGS'
4582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4588 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4589 if test "${ac_cv_path_GREP+set}" = set; then :
4590 $as_echo_n "(cached) " >&6
4592 if test -z "$GREP"; then
4593 ac_path_GREP_found=false
4594 # Loop through the user's path and test for each of PROGNAME-LIST
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4599 test -z "$as_dir" && as_dir=.
4600 for ac_prog in grep ggrep; do
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4603 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4604 # Check for GNU ac_path_GREP and select it if it is found.
4605 # Check for GNU $ac_path_GREP
4606 case `"$ac_path_GREP" --version 2>&1` in
4608 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4611 $as_echo_n 0123456789 >"conftest.in"
4614 cat "conftest.in" "conftest.in" >"conftest.tmp"
4615 mv "conftest.tmp" "conftest.in"
4616 cp "conftest.in" "conftest.nl"
4617 $as_echo 'GREP' >> "conftest.nl"
4618 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4619 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4620 as_fn_arith $ac_count + 1 && ac_count=$as_val
4621 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4622 # Best one so far, save it but keep looking for a better one
4623 ac_cv_path_GREP="$ac_path_GREP"
4624 ac_path_GREP_max=$ac_count
4626 # 10*(2^10) chars as input seems more than enough
4627 test $ac_count -gt 10 && break
4629 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4632 $ac_path_GREP_found && break 3
4637 if test -z "$ac_cv_path_GREP"; then
4638 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4641 ac_cv_path_GREP=$GREP
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4646 $as_echo "$ac_cv_path_GREP" >&6; }
4647 GREP="$ac_cv_path_GREP"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4651 $as_echo_n "checking for egrep... " >&6; }
4652 if test "${ac_cv_path_EGREP+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4656 then ac_cv_path_EGREP="$GREP -E"
4658 if test -z "$EGREP"; then
4659 ac_path_EGREP_found=false
4660 # Loop through the user's path and test for each of PROGNAME-LIST
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4665 test -z "$as_dir" && as_dir=.
4666 for ac_prog in egrep; do
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4669 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4670 # Check for GNU ac_path_EGREP and select it if it is found.
4671 # Check for GNU $ac_path_EGREP
4672 case `"$ac_path_EGREP" --version 2>&1` in
4674 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4677 $as_echo_n 0123456789 >"conftest.in"
4680 cat "conftest.in" "conftest.in" >"conftest.tmp"
4681 mv "conftest.tmp" "conftest.in"
4682 cp "conftest.in" "conftest.nl"
4683 $as_echo 'EGREP' >> "conftest.nl"
4684 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4685 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4686 as_fn_arith $ac_count + 1 && ac_count=$as_val
4687 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4688 # Best one so far, save it but keep looking for a better one
4689 ac_cv_path_EGREP="$ac_path_EGREP"
4690 ac_path_EGREP_max=$ac_count
4692 # 10*(2^10) chars as input seems more than enough
4693 test $ac_count -gt 10 && break
4695 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4698 $ac_path_EGREP_found && break 3
4703 if test -z "$ac_cv_path_EGREP"; then
4704 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4707 ac_cv_path_EGREP=$EGREP
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4713 $as_echo "$ac_cv_path_EGREP" >&6; }
4714 EGREP="$ac_cv_path_EGREP"
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4718 $as_echo_n "checking for ANSI C header files... " >&6; }
4719 if test "${ac_cv_header_stdc+set}" = set; then :
4720 $as_echo_n "(cached) " >&6
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4737 if ac_fn_c_try_compile "$LINENO"; then :
4738 ac_cv_header_stdc=yes
4740 ac_cv_header_stdc=no
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 if test $ac_cv_header_stdc = yes; then
4745 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4752 $EGREP "memchr" >/dev/null 2>&1; then :
4755 ac_cv_header_stdc=no
4761 if test $ac_cv_header_stdc = yes; then
4762 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4769 $EGREP "free" >/dev/null 2>&1; then :
4772 ac_cv_header_stdc=no
4778 if test $ac_cv_header_stdc = yes; then
4779 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4780 if test "$cross_compiling" = yes; then :
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4787 #if ((' ' & 0x0FF) == 0x020)
4788 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4789 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4791 # define ISLOWER(c) \
4792 (('a' <= (c) && (c) <= 'i') \
4793 || ('j' <= (c) && (c) <= 'r') \
4794 || ('s' <= (c) && (c) <= 'z'))
4795 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4798 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4803 for (i = 0; i < 256; i++)
4804 if (XOR (islower (i), ISLOWER (i))
4805 || toupper (i) != TOUPPER (i))
4810 if ac_fn_c_try_run "$LINENO"; then :
4813 ac_cv_header_stdc=no
4815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4816 conftest.$ac_objext conftest.beam conftest.$ac_ext
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4822 $as_echo "$ac_cv_header_stdc" >&6; }
4823 if test $ac_cv_header_stdc = yes; then
4825 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4829 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4830 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4831 inttypes.h stdint.h unistd.h
4833 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4834 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4836 eval as_val=\$$as_ac_Header
4837 if test "x$as_val" = x""yes; then :
4838 cat >>confdefs.h <<_ACEOF
4839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4848 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4849 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4856 if test "$MINIX" = yes; then
4858 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4861 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4864 $as_echo "#define _MINIX 1" >>confdefs.h
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4870 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4871 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4872 $as_echo_n "(cached) " >&6
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4877 # define __EXTENSIONS__ 1
4878 $ac_includes_default
4887 if ac_fn_c_try_compile "$LINENO"; then :
4888 ac_cv_safe_to_define___extensions__=yes
4890 ac_cv_safe_to_define___extensions__=no
4892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4895 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4896 test $ac_cv_safe_to_define___extensions__ = yes &&
4897 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4899 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4901 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4903 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4905 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4914 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4919 macro_version='2.2.7a'
4920 macro_revision='1.3134'
4934 ltmain="$ac_aux_dir/ltmain.sh"
4936 # Backslashify metacharacters that are still active within
4937 # double-quoted strings.
4938 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4940 # Same as above, but do not quote variable references.
4941 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4943 # Sed substitution to delay expansion of an escaped shell variable in a
4944 # double_quote_subst'ed string.
4945 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4947 # Sed substitution to delay expansion of an escaped single quote.
4948 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4950 # Sed substitution to avoid accidental globbing in evaled expressions
4951 no_glob_subst='s/\*/\\\*/g'
4953 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4954 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4958 $as_echo_n "checking how to print strings... " >&6; }
4959 # Test print first, because it will be a builtin if present.
4960 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4961 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4963 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4966 # Use this function as a fallback that always works.
4967 func_fallback_echo ()
4969 eval 'cat <<_LTECHO_EOF
4973 ECHO='func_fallback_echo'
4976 # func_echo_all arg...
4977 # Invoke $ECHO with all args, space-separated.
4984 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4985 $as_echo "printf" >&6; } ;;
4986 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4987 $as_echo "print -r" >&6; } ;;
4988 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4989 $as_echo "cat" >&6; } ;;
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5006 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5007 if test "${ac_cv_path_SED+set}" = set; then :
5008 $as_echo_n "(cached) " >&6
5010 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5011 for ac_i in 1 2 3 4 5 6 7; do
5012 ac_script="$ac_script$as_nl$ac_script"
5014 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5015 { ac_script=; unset ac_script;}
5016 if test -z "$SED"; then
5017 ac_path_SED_found=false
5018 # Loop through the user's path and test for each of PROGNAME-LIST
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_prog in sed gsed; do
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5027 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5028 # Check for GNU ac_path_SED and select it if it is found.
5029 # Check for GNU $ac_path_SED
5030 case `"$ac_path_SED" --version 2>&1` in
5032 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5035 $as_echo_n 0123456789 >"conftest.in"
5038 cat "conftest.in" "conftest.in" >"conftest.tmp"
5039 mv "conftest.tmp" "conftest.in"
5040 cp "conftest.in" "conftest.nl"
5041 $as_echo '' >> "conftest.nl"
5042 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5043 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5044 as_fn_arith $ac_count + 1 && ac_count=$as_val
5045 if test $ac_count -gt ${ac_path_SED_max-0}; then
5046 # Best one so far, save it but keep looking for a better one
5047 ac_cv_path_SED="$ac_path_SED"
5048 ac_path_SED_max=$ac_count
5050 # 10*(2^10) chars as input seems more than enough
5051 test $ac_count -gt 10 && break
5053 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5056 $ac_path_SED_found && break 3
5061 if test -z "$ac_cv_path_SED"; then
5062 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5070 $as_echo "$ac_cv_path_SED" >&6; }
5071 SED="$ac_cv_path_SED"
5074 test -z "$SED" && SED=sed
5075 Xsed="$SED -e 1s/^X//"
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5088 $as_echo_n "checking for fgrep... " >&6; }
5089 if test "${ac_cv_path_FGREP+set}" = set; then :
5090 $as_echo_n "(cached) " >&6
5092 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5093 then ac_cv_path_FGREP="$GREP -F"
5095 if test -z "$FGREP"; then
5096 ac_path_FGREP_found=false
5097 # Loop through the user's path and test for each of PROGNAME-LIST
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5102 test -z "$as_dir" && as_dir=.
5103 for ac_prog in fgrep; do
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5106 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5107 # Check for GNU ac_path_FGREP and select it if it is found.
5108 # Check for GNU $ac_path_FGREP
5109 case `"$ac_path_FGREP" --version 2>&1` in
5111 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5114 $as_echo_n 0123456789 >"conftest.in"
5117 cat "conftest.in" "conftest.in" >"conftest.tmp"
5118 mv "conftest.tmp" "conftest.in"
5119 cp "conftest.in" "conftest.nl"
5120 $as_echo 'FGREP' >> "conftest.nl"
5121 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5122 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5123 as_fn_arith $ac_count + 1 && ac_count=$as_val
5124 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5125 # Best one so far, save it but keep looking for a better one
5126 ac_cv_path_FGREP="$ac_path_FGREP"
5127 ac_path_FGREP_max=$ac_count
5129 # 10*(2^10) chars as input seems more than enough
5130 test $ac_count -gt 10 && break
5132 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5135 $ac_path_FGREP_found && break 3
5140 if test -z "$ac_cv_path_FGREP"; then
5141 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5144 ac_cv_path_FGREP=$FGREP
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5150 $as_echo "$ac_cv_path_FGREP" >&6; }
5151 FGREP="$ac_cv_path_FGREP"
5154 test -z "$GREP" && GREP=grep
5174 # Check whether --with-gnu-ld was given.
5175 if test "${with_gnu_ld+set}" = set; then :
5176 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5182 if test "$GCC" = yes; then
5183 # Check if gcc -print-prog-name=ld gives a path.
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5185 $as_echo_n "checking for ld used by $CC... " >&6; }
5188 # gcc leaves a trailing carriage return which upsets mingw
5189 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5191 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5194 # Accept absolute paths.
5196 re_direlt='/[^/][^/]*/\.\./'
5197 # Canonicalize the pathname of ld
5198 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5199 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5200 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5202 test -z "$LD" && LD="$ac_prog"
5205 # If it fails, then pretend we aren't using GCC.
5209 # If it is relative, then search for the first ld in PATH.
5213 elif test "$with_gnu_ld" = yes; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5215 $as_echo_n "checking for GNU ld... " >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5218 $as_echo_n "checking for non-GNU ld... " >&6; }
5220 if test "${lt_cv_path_LD+set}" = set; then :
5221 $as_echo_n "(cached) " >&6
5223 if test -z "$LD"; then
5224 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5225 for ac_dir in $PATH; do
5227 test -z "$ac_dir" && ac_dir=.
5228 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5229 lt_cv_path_LD="$ac_dir/$ac_prog"
5230 # Check to see if the program is GNU ld. I'd rather use --version,
5231 # but apparently some variants of GNU ld only accept -v.
5232 # Break only if it was the GNU/non-GNU ld that we prefer.
5233 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5234 *GNU* | *'with BFD'*)
5235 test "$with_gnu_ld" != no && break
5238 test "$with_gnu_ld" != yes && break
5245 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5250 if test -n "$LD"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5252 $as_echo "$LD" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5257 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5259 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5260 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5261 $as_echo_n "(cached) " >&6
5263 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5264 case `$LD -v 2>&1 </dev/null` in
5265 *GNU* | *'with BFD'*)
5266 lt_cv_prog_gnu_ld=yes
5269 lt_cv_prog_gnu_ld=no
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5274 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5275 with_gnu_ld=$lt_cv_prog_gnu_ld
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5286 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5287 if test "${lt_cv_path_NM+set}" = set; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$NM"; then
5291 # Let the user override the test.
5294 lt_nm_to_check="${ac_tool_prefix}nm"
5295 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5296 lt_nm_to_check="$lt_nm_to_check nm"
5298 for lt_tmp_nm in $lt_nm_to_check; do
5299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5300 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5302 test -z "$ac_dir" && ac_dir=.
5303 tmp_nm="$ac_dir/$lt_tmp_nm"
5304 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5305 # Check to see if the nm accepts a BSD-compat flag.
5306 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5307 # nm: unknown option "B" ignored
5308 # Tru64's nm complains that /dev/null is an invalid object file
5309 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5310 */dev/null* | *'Invalid file or object type'*)
5311 lt_cv_path_NM="$tmp_nm -B"
5315 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5317 lt_cv_path_NM="$tmp_nm -p"
5321 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5322 continue # so that we can try to find one that supports BSD flags
5331 : ${lt_cv_path_NM=no}
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5335 $as_echo "$lt_cv_path_NM" >&6; }
5336 if test "$lt_cv_path_NM" != "no"; then
5339 # Didn't find any BSD compatible name lister, look for dumpbin.
5340 if test -n "$DUMPBIN"; then :
5341 # Let the user override the test.
5343 if test -n "$ac_tool_prefix"; then
5344 for ac_prog in dumpbin "link -dump"
5346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5353 if test -n "$DUMPBIN"; then
5354 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5363 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 DUMPBIN=$ac_cv_prog_DUMPBIN
5374 if test -n "$DUMPBIN"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5376 $as_echo "$DUMPBIN" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5383 test -n "$DUMPBIN" && break
5386 if test -z "$DUMPBIN"; then
5387 ac_ct_DUMPBIN=$DUMPBIN
5388 for ac_prog in dumpbin "link -dump"
5390 # Extract the first word of "$ac_prog", so it can be a program name with args.
5391 set dummy $ac_prog; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5397 if test -n "$ac_ct_DUMPBIN"; then
5398 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5418 if test -n "$ac_ct_DUMPBIN"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5420 $as_echo "$ac_ct_DUMPBIN" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5427 test -n "$ac_ct_DUMPBIN" && break
5430 if test "x$ac_ct_DUMPBIN" = x; then
5433 case $cross_compiling:$ac_tool_warned in
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5437 ac_tool_warned=yes ;;
5439 DUMPBIN=$ac_ct_DUMPBIN
5443 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5445 DUMPBIN="$DUMPBIN -symbols"
5453 if test "$DUMPBIN" != ":"; then
5457 test -z "$NM" && NM=nm
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5465 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5466 if test "${lt_cv_nm_interface+set}" = set; then :
5467 $as_echo_n "(cached) " >&6
5469 lt_cv_nm_interface="BSD nm"
5470 echo "int some_variable = 0;" > conftest.$ac_ext
5471 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5472 (eval "$ac_compile" 2>conftest.err)
5473 cat conftest.err >&5
5474 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5475 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5476 cat conftest.err >&5
5477 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5478 cat conftest.out >&5
5479 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5480 lt_cv_nm_interface="MS dumpbin"
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5485 $as_echo "$lt_cv_nm_interface" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5488 $as_echo_n "checking whether ln -s works... " >&6; }
5490 if test "$LN_S" = "ln -s"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5492 $as_echo "yes" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5495 $as_echo "no, using $LN_S" >&6; }
5498 # find the maximum length of command line arguments
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5500 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5501 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5502 $as_echo_n "(cached) " >&6
5509 # On DJGPP, this test can blow up pretty badly due to problems in libc
5510 # (any single argument exceeding 2000 bytes causes a buffer overrun
5511 # during glob expansion). Even if it were fixed, the result of this
5512 # check would be larger than it should be.
5513 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5517 # Under GNU Hurd, this test is not required because there is
5518 # no limit to the length of command line arguments.
5519 # Libtool will interpret -1 as no limit whatsoever
5520 lt_cv_sys_max_cmd_len=-1;
5523 cygwin* | mingw* | cegcc*)
5524 # On Win9x/ME, this test blows up -- it succeeds, but takes
5525 # about 5 minutes as the teststring grows exponentially.
5526 # Worse, since 9x/ME are not pre-emptively multitasking,
5527 # you end up with a "frozen" computer, even though with patience
5528 # the test eventually succeeds (with a max line length of 256k).
5529 # Instead, let's just punt: use the minimum linelength reported by
5530 # all of the supported platforms: 8192 (on NT/2K/XP).
5531 lt_cv_sys_max_cmd_len=8192;
5535 # On MiNT this can take a long time and run out of memory.
5536 lt_cv_sys_max_cmd_len=8192;
5540 # On AmigaOS with pdksh, this test takes hours, literally.
5541 # So we just punt and use a minimum line length of 8192.
5542 lt_cv_sys_max_cmd_len=8192;
5545 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5546 # This has been around since 386BSD, at least. Likely further.
5547 if test -x /sbin/sysctl; then
5548 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5549 elif test -x /usr/sbin/sysctl; then
5550 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5552 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5554 # And add a safety zone
5555 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5556 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5560 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5561 lt_cv_sys_max_cmd_len=196608
5565 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5566 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5567 # nice to cause kernel panics so lets avoid the loop below.
5568 # First set a reasonable default.
5569 lt_cv_sys_max_cmd_len=16384
5571 if test -x /sbin/sysconfig; then
5572 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5573 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5578 lt_cv_sys_max_cmd_len=102400
5580 sysv5* | sco5v6* | sysv4.2uw2*)
5581 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5582 if test -n "$kargmax"; then
5583 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5585 lt_cv_sys_max_cmd_len=32768
5589 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5590 if test -n "$lt_cv_sys_max_cmd_len"; then
5591 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5592 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5594 # Make teststring a little bigger before we do anything with it.
5595 # a 1K string should be a reasonable start.
5596 for i in 1 2 3 4 5 6 7 8 ; do
5597 teststring=$teststring$teststring
5599 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5600 # If test is not a shell built-in, we'll probably end up computing a
5601 # maximum length that is only half of the actual maximum length, but
5603 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5604 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5605 test $i != 17 # 1/2 MB should be enough
5608 teststring=$teststring$teststring
5610 # Only check the string length outside the loop.
5611 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5613 # Add a significant safety factor because C++ compilers can tack on
5614 # massive amounts of additional arguments before passing them to the
5615 # linker. It appears as though 1/2 is a usable value.
5616 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5623 if test -n $lt_cv_sys_max_cmd_len ; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5625 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5628 $as_echo "none" >&6; }
5630 max_cmd_len=$lt_cv_sys_max_cmd_len
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5642 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5643 # Try some XSI features
5646 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5648 && eval 'test $(( 1 + 1 )) -eq 2 \
5649 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5652 $as_echo "$xsi_shell" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5656 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5658 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5660 && lt_shell_append=yes
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5662 $as_echo "$lt_shell_append" >&6; }
5665 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5675 # test EBCDIC or ASCII
5676 case `echo X|tr X '\101'` in
5677 A) # ASCII based system
5678 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5679 lt_SP2NL='tr \040 \012'
5680 lt_NL2SP='tr \015\012 \040\040'
5682 *) # EBCDIC based system
5683 lt_SP2NL='tr \100 \n'
5684 lt_NL2SP='tr \r\n \100\100'
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5697 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5698 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5699 $as_echo_n "(cached) " >&6
5701 lt_cv_ld_reload_flag='-r'
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5704 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5705 reload_flag=$lt_cv_ld_reload_flag
5706 case $reload_flag in
5708 *) reload_flag=" $reload_flag" ;;
5710 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5713 if test "$GCC" = yes; then
5714 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5716 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5729 if test -n "$ac_tool_prefix"; then
5730 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5731 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5737 if test -n "$OBJDUMP"; then
5738 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 OBJDUMP=$ac_cv_prog_OBJDUMP
5758 if test -n "$OBJDUMP"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5760 $as_echo "$OBJDUMP" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5768 if test -z "$ac_cv_prog_OBJDUMP"; then
5769 ac_ct_OBJDUMP=$OBJDUMP
5770 # Extract the first word of "objdump", so it can be a program name with args.
5771 set dummy objdump; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5775 $as_echo_n "(cached) " >&6
5777 if test -n "$ac_ct_OBJDUMP"; then
5778 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5798 if test -n "$ac_ct_OBJDUMP"; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5800 $as_echo "$ac_ct_OBJDUMP" >&6; }
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5806 if test "x$ac_ct_OBJDUMP" = x; then
5809 case $cross_compiling:$ac_tool_warned in
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5813 ac_tool_warned=yes ;;
5815 OBJDUMP=$ac_ct_OBJDUMP
5818 OBJDUMP="$ac_cv_prog_OBJDUMP"
5821 test -z "$OBJDUMP" && OBJDUMP=objdump
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5832 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5833 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5836 lt_cv_file_magic_cmd='$MAGIC_CMD'
5837 lt_cv_file_magic_test_file=
5838 lt_cv_deplibs_check_method='unknown'
5839 # Need to set the preceding variable on all platforms that support
5840 # interlibrary dependencies.
5841 # 'none' -- dependencies not supported.
5842 # `unknown' -- same as none, but documents that we really don't know.
5843 # 'pass_all' -- all dependencies passed with no checks.
5844 # 'test_compile' -- check by making test program.
5845 # 'file_magic [[regex]]' -- check by looking for files in library path
5846 # which responds to the $file_magic_cmd with a given extended regex.
5847 # If you have `file' or equivalent on your system and you're not sure
5848 # whether `pass_all' will *always* work, you probably want this one.
5852 lt_cv_deplibs_check_method=pass_all
5856 lt_cv_deplibs_check_method=pass_all
5860 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5861 lt_cv_file_magic_cmd='/usr/bin/file -L'
5862 lt_cv_file_magic_test_file=/shlib/libc.so
5866 # func_win32_libid is a shell function defined in ltmain.sh
5867 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5868 lt_cv_file_magic_cmd='func_win32_libid'
5872 # Base MSYS/MinGW do not provide the 'file' command needed by
5873 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5874 # unless we find 'file', for example because we are cross-compiling.
5875 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5876 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5877 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5878 lt_cv_file_magic_cmd='func_win32_libid'
5880 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5881 lt_cv_file_magic_cmd='$OBJDUMP -f'
5886 # use the weaker test based on 'objdump'. See mingw*.
5887 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5888 lt_cv_file_magic_cmd='$OBJDUMP -f'
5891 darwin* | rhapsody*)
5892 lt_cv_deplibs_check_method=pass_all
5895 freebsd* | dragonfly*)
5896 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5899 # Not sure whether the presence of OpenBSD here was a mistake.
5900 # Let's accept both of them until this is cleared up.
5901 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5902 lt_cv_file_magic_cmd=/usr/bin/file
5903 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5907 lt_cv_deplibs_check_method=pass_all
5912 lt_cv_deplibs_check_method=pass_all
5916 lt_cv_deplibs_check_method=pass_all
5919 hpux10.20* | hpux11*)
5920 lt_cv_file_magic_cmd=/usr/bin/file
5923 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5924 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5927 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]'
5928 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5931 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5932 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5938 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5939 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5942 irix5* | irix6* | nonstopux*)
5944 *-32|*"-32 ") libmagic=32-bit;;
5945 *-n32|*"-n32 ") libmagic=N32;;
5946 *-64|*"-64 ") libmagic=64-bit;;
5947 *) libmagic=never-match;;
5949 lt_cv_deplibs_check_method=pass_all
5952 # This must be Linux ELF.
5953 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5954 lt_cv_deplibs_check_method=pass_all
5958 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5959 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5961 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5966 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5967 lt_cv_file_magic_cmd=/usr/bin/file
5968 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5972 lt_cv_deplibs_check_method=pass_all
5976 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5977 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5979 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5983 osf3* | osf4* | osf5*)
5984 lt_cv_deplibs_check_method=pass_all
5988 lt_cv_deplibs_check_method=pass_all
5992 lt_cv_deplibs_check_method=pass_all
5995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5996 lt_cv_deplibs_check_method=pass_all
6000 case $host_vendor in
6002 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]'
6003 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6006 lt_cv_deplibs_check_method=pass_all
6009 lt_cv_file_magic_cmd='/bin/file'
6010 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6013 lt_cv_file_magic_cmd='/bin/file'
6014 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6015 lt_cv_file_magic_test_file=/lib/libc.so
6018 lt_cv_deplibs_check_method=pass_all
6021 lt_cv_deplibs_check_method=pass_all
6027 lt_cv_deplibs_check_method=pass_all
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6033 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6034 file_magic_cmd=$lt_cv_file_magic_cmd
6035 deplibs_check_method=$lt_cv_deplibs_check_method
6036 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6049 if test -n "$ac_tool_prefix"; then
6050 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6051 set dummy ${ac_tool_prefix}ar; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if test "${ac_cv_prog_AR+set}" = set; then :
6055 $as_echo_n "(cached) " >&6
6057 if test -n "$AR"; then
6058 ac_cv_prog_AR="$AR" # Let the user override the test.
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6067 ac_cv_prog_AR="${ac_tool_prefix}ar"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 if test -n "$AR"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6080 $as_echo "$AR" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6088 if test -z "$ac_cv_prog_AR"; then
6090 # Extract the first word of "ar", so it can be a program name with args.
6091 set dummy ar; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$ac_ct_AR"; then
6098 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_ac_ct_AR="ar"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6118 if test -n "$ac_ct_AR"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6120 $as_echo "$ac_ct_AR" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6126 if test "x$ac_ct_AR" = x; then
6129 case $cross_compiling:$ac_tool_warned in
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6133 ac_tool_warned=yes ;;
6141 test -z "$AR" && AR=ar
6142 test -z "$AR_FLAGS" && AR_FLAGS=cru
6154 if test -n "$ac_tool_prefix"; then
6155 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6156 set dummy ${ac_tool_prefix}strip; ac_word=$2
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6158 $as_echo_n "checking for $ac_word... " >&6; }
6159 if test "${ac_cv_prog_STRIP+set}" = set; then :
6160 $as_echo_n "(cached) " >&6
6162 if test -n "$STRIP"; then
6163 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 STRIP=$ac_cv_prog_STRIP
6183 if test -n "$STRIP"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6185 $as_echo "$STRIP" >&6; }
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6188 $as_echo "no" >&6; }
6193 if test -z "$ac_cv_prog_STRIP"; then
6195 # Extract the first word of "strip", so it can be a program name with args.
6196 set dummy strip; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6200 $as_echo_n "(cached) " >&6
6202 if test -n "$ac_ct_STRIP"; then
6203 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212 ac_cv_prog_ac_ct_STRIP="strip"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6223 if test -n "$ac_ct_STRIP"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6225 $as_echo "$ac_ct_STRIP" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6231 if test "x$ac_ct_STRIP" = x; then
6234 case $cross_compiling:$ac_tool_warned in
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6238 ac_tool_warned=yes ;;
6243 STRIP="$ac_cv_prog_STRIP"
6246 test -z "$STRIP" && STRIP=:
6253 if test -n "$ac_tool_prefix"; then
6254 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6255 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6259 $as_echo_n "(cached) " >&6
6261 if test -n "$RANLIB"; then
6262 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 RANLIB=$ac_cv_prog_RANLIB
6282 if test -n "$RANLIB"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6284 $as_echo "$RANLIB" >&6; }
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6292 if test -z "$ac_cv_prog_RANLIB"; then
6293 ac_ct_RANLIB=$RANLIB
6294 # Extract the first word of "ranlib", so it can be a program name with args.
6295 set dummy ranlib; ac_word=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297 $as_echo_n "checking for $ac_word... " >&6; }
6298 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6299 $as_echo_n "(cached) " >&6
6301 if test -n "$ac_ct_RANLIB"; then
6302 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_ac_ct_RANLIB="ranlib"
6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6322 if test -n "$ac_ct_RANLIB"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6324 $as_echo "$ac_ct_RANLIB" >&6; }
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6330 if test "x$ac_ct_RANLIB" = x; then
6333 case $cross_compiling:$ac_tool_warned in
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6337 ac_tool_warned=yes ;;
6339 RANLIB=$ac_ct_RANLIB
6342 RANLIB="$ac_cv_prog_RANLIB"
6345 test -z "$RANLIB" && RANLIB=:
6352 # Determine commands to create old-style static archives.
6353 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6354 old_postinstall_cmds='chmod 644 $oldlib'
6355 old_postuninstall_cmds=
6357 if test -n "$RANLIB"; then
6360 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6363 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6366 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6371 lock_old_archive_extraction=yes ;;
6373 lock_old_archive_extraction=no ;;
6414 # If no C compiler was specified, use CC.
6417 # If no C compiler flags were specified, use CFLAGS.
6418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6420 # Allow CC to be a program name with arguments.
6424 # Check for command to grab the raw symbol name followed by C symbol from nm.
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6426 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6427 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6428 $as_echo_n "(cached) " >&6
6431 # These are sane defaults that work on at least a few old systems.
6432 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6434 # Character class describing NM global symbol codes.
6435 symcode='[BCDEGRST]'
6437 # Regexp to match symbols that can be accessed directly from C.
6438 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6440 # Define system-specific variables.
6445 cygwin* | mingw* | pw32* | cegcc*)
6446 symcode='[ABCDGISTW]'
6449 if test "$host_cpu" = ia64; then
6450 symcode='[ABCDEGRST]'
6454 symcode='[BCDEGRST]'
6457 symcode='[BCDEGQRST]'
6468 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6476 # If we're using GNU nm, then use its standard symbol codes.
6477 case `$NM -V 2>&1` in
6478 *GNU* | *'with BFD'*)
6479 symcode='[ABCDGIRSTW]' ;;
6482 # Transform an extracted symbol line into a proper C declaration.
6483 # Some systems (esp. on ia64) link data and code symbols differently,
6484 # so use this general approach.
6485 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6487 # Transform an extracted symbol line into symbol name and symbol address
6488 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6489 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'"
6491 # Handle CRLF in mingw tool chain
6495 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6499 # Try without a prefix underscore, then with it.
6500 for ac_symprfx in "" "_"; do
6502 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6503 symxfrm="\\1 $ac_symprfx\\2 \\2"
6505 # Write the raw and C identifiers.
6506 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6507 # Fake it for dumpbin and say T for any non-static function
6508 # and D for any global variable.
6509 # Also find C++ and __fastcall symbols from MSVC++,
6510 # which start with @ or ?.
6511 lt_cv_sys_global_symbol_pipe="$AWK '"\
6512 " {last_section=section; section=\$ 3};"\
6513 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6514 " \$ 0!~/External *\|/{next};"\
6515 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6516 " {if(hide[section]) next};"\
6517 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6518 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6519 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6520 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6521 " ' prfx=^$ac_symprfx"
6523 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6526 # Check to see that the pipe works correctly.
6530 cat > conftest.$ac_ext <<_LT_EOF
6535 void nm_test_func(void);
6536 void nm_test_func(void){}
6540 int main(){nm_test_var='a';nm_test_func();return(0);}
6543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6544 (eval $ac_compile) 2>&5
6546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6547 test $ac_status = 0; }; then
6548 # Now try to grab the symbols.
6550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6551 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6554 test $ac_status = 0; } && test -s "$nlist"; then
6555 # Try sorting and uniquifying the output.
6556 if sort "$nlist" | uniq > "$nlist"T; then
6557 mv -f "$nlist"T "$nlist"
6562 # Make sure that we snagged all the symbols we need.
6563 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6564 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6565 cat <<_LT_EOF > conftest.$ac_ext
6571 # Now generate the symbol file.
6572 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6574 cat <<_LT_EOF >> conftest.$ac_ext
6576 /* The mapping between symbol names and symbols. */
6581 lt__PROGRAM__LTX_preloaded_symbols[] =
6583 { "@PROGRAM@", (void *) 0 },
6585 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6586 cat <<\_LT_EOF >> conftest.$ac_ext
6590 /* This works around a problem in FreeBSD linker */
6591 #ifdef FREEBSD_WORKAROUND
6592 static const void *lt_preloaded_setup() {
6593 return lt__PROGRAM__LTX_preloaded_symbols;
6601 # Now try linking the two files.
6602 mv conftest.$ac_objext conftstm.$ac_objext
6603 lt_save_LIBS="$LIBS"
6604 lt_save_CFLAGS="$CFLAGS"
6605 LIBS="conftstm.$ac_objext"
6606 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6608 (eval $ac_link) 2>&5
6610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6611 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6614 LIBS="$lt_save_LIBS"
6615 CFLAGS="$lt_save_CFLAGS"
6617 echo "cannot find nm_test_func in $nlist" >&5
6620 echo "cannot find nm_test_var in $nlist" >&5
6623 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6626 echo "$progname: failed program was:" >&5
6627 cat conftest.$ac_ext >&5
6629 rm -rf conftest* conftst*
6631 # Do not use the global_symbol_pipe unless it works.
6632 if test "$pipe_works" = yes; then
6635 lt_cv_sys_global_symbol_pipe=
6641 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6642 lt_cv_sys_global_symbol_to_cdecl=
6644 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6646 $as_echo "failed" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6649 $as_echo "ok" >&6; }
6673 # Check whether --enable-libtool-lock was given.
6674 if test "${enable_libtool_lock+set}" = set; then :
6675 enableval=$enable_libtool_lock;
6678 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6680 # Some flags need to be propagated to the compiler or linker for good
6684 # Find out which ABI we are using.
6685 echo 'int i;' > conftest.$ac_ext
6686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6687 (eval $ac_compile) 2>&5
6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690 test $ac_status = 0; }; then
6691 case `/usr/bin/file conftest.$ac_objext` in
6703 # Find out which ABI we are using.
6704 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6706 (eval $ac_compile) 2>&5
6708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6709 test $ac_status = 0; }; then
6710 if test "$lt_cv_prog_gnu_ld" = yes; then
6711 case `/usr/bin/file conftest.$ac_objext` in
6713 LD="${LD-ld} -melf32bsmip"
6716 LD="${LD-ld} -melf32bmipn32"
6719 LD="${LD-ld} -melf64bmip"
6723 case `/usr/bin/file conftest.$ac_objext` in
6739 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6740 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6741 # Find out which ABI we are using.
6742 echo 'int i;' > conftest.$ac_ext
6743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6744 (eval $ac_compile) 2>&5
6746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6747 test $ac_status = 0; }; then
6748 case `/usr/bin/file conftest.o` in
6751 x86_64-*kfreebsd*-gnu)
6752 LD="${LD-ld} -m elf_i386_fbsd"
6755 case `/usr/bin/file conftest.o` in
6757 LD="${LD-ld} -m elf32_x86_64"
6760 LD="${LD-ld} -m elf_i386"
6764 powerpc64le-*linux*)
6765 LD="${LD-ld} -m elf32lppclinux"
6768 LD="${LD-ld} -m elf32ppclinux"
6771 LD="${LD-ld} -m elf_s390"
6774 LD="${LD-ld} -m elf32_sparc"
6780 x86_64-*kfreebsd*-gnu)
6781 LD="${LD-ld} -m elf_x86_64_fbsd"
6784 LD="${LD-ld} -m elf_x86_64"
6787 LD="${LD-ld} -m elf64lppc"
6790 LD="${LD-ld} -m elf64ppc"
6792 s390*-*linux*|s390*-*tpf*)
6793 LD="${LD-ld} -m elf64_s390"
6796 LD="${LD-ld} -m elf64_sparc"
6806 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6807 SAVE_CFLAGS="$CFLAGS"
6808 CFLAGS="$CFLAGS -belf"
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6810 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6811 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6812 $as_echo_n "(cached) " >&6
6815 ac_cpp='$CPP $CPPFLAGS'
6816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6821 /* end confdefs.h. */
6831 if ac_fn_c_try_link "$LINENO"; then :
6832 lt_cv_cc_needs_belf=yes
6834 lt_cv_cc_needs_belf=no
6836 rm -f core conftest.err conftest.$ac_objext \
6837 conftest$ac_exeext conftest.$ac_ext
6839 ac_cpp='$CPP $CPPFLAGS'
6840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6846 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6847 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6848 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6849 CFLAGS="$SAVE_CFLAGS"
6853 # Find out which ABI we are using.
6854 echo 'int i;' > conftest.$ac_ext
6855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6856 (eval $ac_compile) 2>&5
6858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6859 test $ac_status = 0; }; then
6860 case `/usr/bin/file conftest.o` in
6862 case $lt_cv_prog_gnu_ld in
6863 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6865 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6877 need_locks="$enable_libtool_lock"
6881 rhapsody* | darwin*)
6882 if test -n "$ac_tool_prefix"; then
6883 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6884 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6886 $as_echo_n "checking for $ac_word... " >&6; }
6887 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6888 $as_echo_n "(cached) " >&6
6890 if test -n "$DSYMUTIL"; then
6891 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir=.
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6911 if test -n "$DSYMUTIL"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6913 $as_echo "$DSYMUTIL" >&6; }
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 $as_echo "no" >&6; }
6921 if test -z "$ac_cv_prog_DSYMUTIL"; then
6922 ac_ct_DSYMUTIL=$DSYMUTIL
6923 # Extract the first word of "dsymutil", so it can be a program name with args.
6924 set dummy dsymutil; ac_word=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926 $as_echo_n "checking for $ac_word... " >&6; }
6927 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6930 if test -n "$ac_ct_DSYMUTIL"; then
6931 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6940 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6951 if test -n "$ac_ct_DSYMUTIL"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6953 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6959 if test "x$ac_ct_DSYMUTIL" = x; then
6962 case $cross_compiling:$ac_tool_warned in
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6966 ac_tool_warned=yes ;;
6968 DSYMUTIL=$ac_ct_DSYMUTIL
6971 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6980 $as_echo_n "(cached) " >&6
6982 if test -n "$NMEDIT"; then
6983 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6992 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002 NMEDIT=$ac_cv_prog_NMEDIT
7003 if test -n "$NMEDIT"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7005 $as_echo "$NMEDIT" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7013 if test -z "$ac_cv_prog_NMEDIT"; then
7014 ac_ct_NMEDIT=$NMEDIT
7015 # Extract the first word of "nmedit", so it can be a program name with args.
7016 set dummy nmedit; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7020 $as_echo_n "(cached) " >&6
7022 if test -n "$ac_ct_NMEDIT"; then
7023 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7043 if test -n "$ac_ct_NMEDIT"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7045 $as_echo "$ac_ct_NMEDIT" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7051 if test "x$ac_ct_NMEDIT" = x; then
7054 case $cross_compiling:$ac_tool_warned in
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7058 ac_tool_warned=yes ;;
7060 NMEDIT=$ac_ct_NMEDIT
7063 NMEDIT="$ac_cv_prog_NMEDIT"
7066 if test -n "$ac_tool_prefix"; then
7067 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7068 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if test "${ac_cv_prog_LIPO+set}" = set; then :
7072 $as_echo_n "(cached) " >&6
7074 if test -n "$LIPO"; then
7075 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081 test -z "$as_dir" && as_dir=.
7082 for ac_exec_ext in '' $ac_executable_extensions; do
7083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7084 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 LIPO=$ac_cv_prog_LIPO
7095 if test -n "$LIPO"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7097 $as_echo "$LIPO" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7105 if test -z "$ac_cv_prog_LIPO"; then
7107 # Extract the first word of "lipo", so it can be a program name with args.
7108 set dummy lipo; ac_word=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110 $as_echo_n "checking for $ac_word... " >&6; }
7111 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7112 $as_echo_n "(cached) " >&6
7114 if test -n "$ac_ct_LIPO"; then
7115 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124 ac_cv_prog_ac_ct_LIPO="lipo"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7135 if test -n "$ac_ct_LIPO"; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7137 $as_echo "$ac_ct_LIPO" >&6; }
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7143 if test "x$ac_ct_LIPO" = x; then
7146 case $cross_compiling:$ac_tool_warned in
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7150 ac_tool_warned=yes ;;
7155 LIPO="$ac_cv_prog_LIPO"
7158 if test -n "$ac_tool_prefix"; then
7159 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7160 set dummy ${ac_tool_prefix}otool; ac_word=$2
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 $as_echo_n "checking for $ac_word... " >&6; }
7163 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7164 $as_echo_n "(cached) " >&6
7166 if test -n "$OTOOL"; then
7167 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 test -z "$as_dir" && as_dir=.
7174 for ac_exec_ext in '' $ac_executable_extensions; do
7175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7176 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186 OTOOL=$ac_cv_prog_OTOOL
7187 if test -n "$OTOOL"; then
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7189 $as_echo "$OTOOL" >&6; }
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192 $as_echo "no" >&6; }
7197 if test -z "$ac_cv_prog_OTOOL"; then
7199 # Extract the first word of "otool", so it can be a program name with args.
7200 set dummy otool; ac_word=$2
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 $as_echo_n "checking for $ac_word... " >&6; }
7203 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7204 $as_echo_n "(cached) " >&6
7206 if test -n "$ac_ct_OTOOL"; then
7207 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7213 test -z "$as_dir" && as_dir=.
7214 for ac_exec_ext in '' $ac_executable_extensions; do
7215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7216 ac_cv_prog_ac_ct_OTOOL="otool"
7217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7227 if test -n "$ac_ct_OTOOL"; then
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7229 $as_echo "$ac_ct_OTOOL" >&6; }
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232 $as_echo "no" >&6; }
7235 if test "x$ac_ct_OTOOL" = x; then
7238 case $cross_compiling:$ac_tool_warned in
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7242 ac_tool_warned=yes ;;
7247 OTOOL="$ac_cv_prog_OTOOL"
7250 if test -n "$ac_tool_prefix"; then
7251 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7252 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7254 $as_echo_n "checking for $ac_word... " >&6; }
7255 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7256 $as_echo_n "(cached) " >&6
7258 if test -n "$OTOOL64"; then
7259 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265 test -z "$as_dir" && as_dir=.
7266 for ac_exec_ext in '' $ac_executable_extensions; do
7267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7268 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7278 OTOOL64=$ac_cv_prog_OTOOL64
7279 if test -n "$OTOOL64"; then
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7281 $as_echo "$OTOOL64" >&6; }
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7284 $as_echo "no" >&6; }
7289 if test -z "$ac_cv_prog_OTOOL64"; then
7290 ac_ct_OTOOL64=$OTOOL64
7291 # Extract the first word of "otool64", so it can be a program name with args.
7292 set dummy otool64; ac_word=$2
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 $as_echo_n "checking for $ac_word... " >&6; }
7295 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7296 $as_echo_n "(cached) " >&6
7298 if test -n "$ac_ct_OTOOL64"; then
7299 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 test -z "$as_dir" && as_dir=.
7306 for ac_exec_ext in '' $ac_executable_extensions; do
7307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7308 ac_cv_prog_ac_ct_OTOOL64="otool64"
7309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7319 if test -n "$ac_ct_OTOOL64"; then
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7321 $as_echo "$ac_ct_OTOOL64" >&6; }
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 $as_echo "no" >&6; }
7327 if test "x$ac_ct_OTOOL64" = x; then
7330 case $cross_compiling:$ac_tool_warned in
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7334 ac_tool_warned=yes ;;
7336 OTOOL64=$ac_ct_OTOOL64
7339 OTOOL64="$ac_cv_prog_OTOOL64"
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7369 $as_echo_n "checking for -single_module linker flag... " >&6; }
7370 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7371 $as_echo_n "(cached) " >&6
7373 lt_cv_apple_cc_single_mod=no
7374 if test -z "${LT_MULTI_MODULE}"; then
7375 # By default we will add the -single_module flag. You can override
7376 # by either setting the environment variable LT_MULTI_MODULE
7377 # non-empty at configure time, or by adding -multi_module to the
7379 rm -rf libconftest.dylib*
7380 echo "int foo(void){return 1;}" > conftest.c
7381 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7382 -dynamiclib -Wl,-single_module conftest.c" >&5
7383 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7384 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7386 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7387 lt_cv_apple_cc_single_mod=yes
7389 cat conftest.err >&5
7391 rm -rf libconftest.dylib*
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7396 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7398 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7399 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7400 $as_echo_n "(cached) " >&6
7402 lt_cv_ld_exported_symbols_list=no
7403 save_LDFLAGS=$LDFLAGS
7404 echo "_main" > conftest.sym
7405 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407 /* end confdefs.h. */
7417 if ac_fn_c_try_link "$LINENO"; then :
7418 lt_cv_ld_exported_symbols_list=yes
7420 lt_cv_ld_exported_symbols_list=no
7422 rm -f core conftest.err conftest.$ac_objext \
7423 conftest$ac_exeext conftest.$ac_ext
7424 LDFLAGS="$save_LDFLAGS"
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7428 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7430 $as_echo_n "checking for -force_load linker flag... " >&6; }
7431 if test "${lt_cv_ld_force_load+set}" = set; then :
7432 $as_echo_n "(cached) " >&6
7434 lt_cv_ld_force_load=no
7435 cat > conftest.c << _LT_EOF
7436 int forced_loaded() { return 2;}
7438 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7439 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7440 echo "$AR cru libconftest.a conftest.o" >&5
7441 $AR cru libconftest.a conftest.o 2>&5
7442 cat > conftest.c << _LT_EOF
7443 int main() { return 0;}
7445 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7446 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7448 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7449 lt_cv_ld_force_load=yes
7451 cat conftest.err >&5
7453 rm -f conftest.err libconftest.a conftest conftest.c
7454 rm -rf conftest.dSYM
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7458 $as_echo "$lt_cv_ld_force_load" >&6; }
7460 rhapsody* | darwin1.[012])
7461 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7463 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7464 darwin*) # darwin 5.x on
7465 # if running on 10.5 or later, the deployment target defaults
7466 # to the OS version, if on x86, and 10.4, the deployment
7467 # target defaults to 10.4. Don't you love it?
7468 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7469 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7470 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7472 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7474 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7478 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7479 _lt_dar_single_mod='$single_module'
7481 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7482 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7484 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7486 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7487 _lt_dsymutil='~$DSYMUTIL $lib || :'
7494 for ac_header in dlfcn.h
7496 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7498 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7499 cat >>confdefs.h <<_ACEOF
7500 #define HAVE_DLFCN_H 1
7521 # Check whether --enable-shared was given.
7522 if test "${enable_shared+set}" = set; then :
7523 enableval=$enable_shared; p=${PACKAGE-default}
7525 yes) enable_shared=yes ;;
7526 no) enable_shared=no ;;
7529 # Look at the argument we got. We use all the common list separators.
7530 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7531 for pkg in $enableval; do
7533 if test "X$pkg" = "X$p"; then
7552 # Check whether --enable-static was given.
7553 if test "${enable_static+set}" = set; then :
7554 enableval=$enable_static; p=${PACKAGE-default}
7556 yes) enable_static=yes ;;
7557 no) enable_static=no ;;
7560 # Look at the argument we got. We use all the common list separators.
7561 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7562 for pkg in $enableval; do
7564 if test "X$pkg" = "X$p"; then
7584 # Check whether --with-pic was given.
7585 if test "${with_pic+set}" = set; then :
7586 withval=$with_pic; pic_mode="$withval"
7592 test -z "$pic_mode" && pic_mode=default
7600 # Check whether --enable-fast-install was given.
7601 if test "${enable_fast_install+set}" = set; then :
7602 enableval=$enable_fast_install; p=${PACKAGE-default}
7604 yes) enable_fast_install=yes ;;
7605 no) enable_fast_install=no ;;
7607 enable_fast_install=no
7608 # Look at the argument we got. We use all the common list separators.
7609 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7610 for pkg in $enableval; do
7612 if test "X$pkg" = "X$p"; then
7613 enable_fast_install=yes
7620 enable_fast_install=yes
7633 # This can be used to rebuild libtool when needed
7634 LIBTOOL_DEPS="$ltmain"
7636 # Always use our own libtool.
7637 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7664 test -z "$LN_S" && LN_S="ln -s"
7679 if test -n "${ZSH_VERSION+set}" ; then
7680 setopt NO_GLOB_SUBST
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7684 $as_echo_n "checking for objdir... " >&6; }
7685 if test "${lt_cv_objdir+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7688 rm -f .libs 2>/dev/null
7689 mkdir .libs 2>/dev/null
7690 if test -d .libs; then
7693 # MS-DOS does not allow filenames that begin with a dot.
7696 rmdir .libs 2>/dev/null
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7699 $as_echo "$lt_cv_objdir" >&6; }
7700 objdir=$lt_cv_objdir
7706 cat >>confdefs.h <<_ACEOF
7707 #define LT_OBJDIR "$lt_cv_objdir/"
7715 # AIX sometimes has problems with the GCC collect2 program. For some
7716 # reason, if we set the COLLECT_NAMES environment variable, the problems
7717 # vanish in a puff of smoke.
7718 if test "X${COLLECT_NAMES+set}" != Xset; then
7720 export COLLECT_NAMES
7727 can_build_shared=yes
7729 # All known linkers require a `.a' archive for static linking (except MSVC,
7730 # which needs '.lib').
7733 with_gnu_ld="$lt_cv_prog_gnu_ld"
7736 old_CFLAGS="$CFLAGS"
7738 # Set sane defaults for various variables
7739 test -z "$CC" && CC=cc
7740 test -z "$LTCC" && LTCC=$CC
7741 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7742 test -z "$LD" && LD=ld
7743 test -z "$ac_objext" && ac_objext=o
7745 for cc_temp in $compiler""; do
7747 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7748 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7753 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7756 # Only perform the check for file, if the check method requires it
7757 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7758 case $deplibs_check_method in
7760 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7762 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7763 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7764 $as_echo_n "(cached) " >&6
7768 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7771 lt_save_MAGIC_CMD="$MAGIC_CMD"
7772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7773 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7774 for ac_dir in $ac_dummy; do
7776 test -z "$ac_dir" && ac_dir=.
7777 if test -f $ac_dir/${ac_tool_prefix}file; then
7778 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7779 if test -n "$file_magic_test_file"; then
7780 case $deplibs_check_method in
7782 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7783 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7784 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7785 $EGREP "$file_magic_regex" > /dev/null; then
7790 *** Warning: the command libtool uses to detect shared libraries,
7791 *** $file_magic_cmd, produces output that libtool cannot recognize.
7792 *** The result is that libtool may fail to recognize shared libraries
7793 *** as such. This will affect the creation of libtool libraries that
7794 *** depend on shared libraries, but programs linked with such libtool
7795 *** libraries will work regardless of this problem. Nevertheless, you
7796 *** may want to report the problem to your system manager and/or to
7797 *** bug-libtool@gnu.org
7807 MAGIC_CMD="$lt_save_MAGIC_CMD"
7812 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7813 if test -n "$MAGIC_CMD"; then
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7815 $as_echo "$MAGIC_CMD" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7818 $as_echo "no" >&6; }
7825 if test -z "$lt_cv_path_MAGIC_CMD"; then
7826 if test -n "$ac_tool_prefix"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7828 $as_echo_n "checking for file... " >&6; }
7829 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7830 $as_echo_n "(cached) " >&6
7834 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7837 lt_save_MAGIC_CMD="$MAGIC_CMD"
7838 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7839 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7840 for ac_dir in $ac_dummy; do
7842 test -z "$ac_dir" && ac_dir=.
7843 if test -f $ac_dir/file; then
7844 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7845 if test -n "$file_magic_test_file"; then
7846 case $deplibs_check_method in
7848 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7850 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7851 $EGREP "$file_magic_regex" > /dev/null; then
7856 *** Warning: the command libtool uses to detect shared libraries,
7857 *** $file_magic_cmd, produces output that libtool cannot recognize.
7858 *** The result is that libtool may fail to recognize shared libraries
7859 *** as such. This will affect the creation of libtool libraries that
7860 *** depend on shared libraries, but programs linked with such libtool
7861 *** libraries will work regardless of this problem. Nevertheless, you
7862 *** may want to report the problem to your system manager and/or to
7863 *** bug-libtool@gnu.org
7873 MAGIC_CMD="$lt_save_MAGIC_CMD"
7878 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7879 if test -n "$MAGIC_CMD"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7881 $as_echo "$MAGIC_CMD" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7884 $as_echo "no" >&6; }
7897 # Use C for the default configuration in the libtool script
7901 ac_cpp='$CPP $CPPFLAGS'
7902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7907 # Source file extension for C test sources.
7910 # Object file extension for compiled C test sources.
7914 # Code to be used in simple compile tests
7915 lt_simple_compile_test_code="int some_variable = 0;"
7917 # Code to be used in simple link tests
7918 lt_simple_link_test_code='int main(){return(0);}'
7926 # If no C compiler was specified, use CC.
7929 # If no C compiler flags were specified, use CFLAGS.
7930 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7932 # Allow CC to be a program name with arguments.
7935 # Save the default compiler, since it gets overwritten when the other
7936 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7937 compiler_DEFAULT=$CC
7939 # save warnings/boilerplate of simple test code
7940 ac_outfile=conftest.$ac_objext
7941 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7942 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7943 _lt_compiler_boilerplate=`cat conftest.err`
7946 ac_outfile=conftest.$ac_objext
7947 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7948 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7949 _lt_linker_boilerplate=`cat conftest.err`
7954 ## There is no encapsulation within the following macros, do not change
7955 ## the running order or otherwise move them around unless you know exactly
7956 ## what you are doing...
7957 if test -n "$compiler"; then
7959 lt_prog_compiler_no_builtin_flag=
7961 if test "$GCC" = yes; then
7962 case $cc_basename in
7964 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7966 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7970 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7971 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7972 $as_echo_n "(cached) " >&6
7974 lt_cv_prog_compiler_rtti_exceptions=no
7975 ac_outfile=conftest.$ac_objext
7976 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7977 lt_compiler_flag="-fno-rtti -fno-exceptions"
7978 # Insert the option either (1) after the last *FLAGS variable, or
7979 # (2) before a word containing "conftest.", or (3) at the end.
7980 # Note that $ac_compile itself does not contain backslashes and begins
7981 # with a dollar sign (not a hyphen), so the echo should work correctly.
7982 # The option is referenced via a variable to avoid confusing sed.
7983 lt_compile=`echo "$ac_compile" | $SED \
7984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7986 -e 's:$: $lt_compiler_flag:'`
7987 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7988 (eval "$lt_compile" 2>conftest.err)
7990 cat conftest.err >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 if (exit $ac_status) && test -s "$ac_outfile"; then
7993 # The compiler can only warn and ignore the option if not recognized
7994 # So say no if there are warnings other than the usual output.
7995 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7996 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7997 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7998 lt_cv_prog_compiler_rtti_exceptions=yes
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8005 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8007 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8008 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8020 lt_prog_compiler_wl=
8021 lt_prog_compiler_pic=
8022 lt_prog_compiler_static=
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8025 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8027 if test "$GCC" = yes; then
8028 lt_prog_compiler_wl='-Wl,'
8029 lt_prog_compiler_static='-static'
8033 # All AIX code is PIC.
8034 if test "$host_cpu" = ia64; then
8035 # AIX 5 now supports IA64 processor
8036 lt_prog_compiler_static='-Bstatic'
8038 lt_prog_compiler_pic='-fPIC'
8044 # see comment about AmigaOS4 .so support
8045 lt_prog_compiler_pic='-fPIC'
8048 # FIXME: we need at least 68020 code to build shared libraries, but
8049 # adding the `-m68020' flag to GCC prevents building anything better,
8051 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8056 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8057 # PIC is the default for these OSes.
8060 mingw* | cygwin* | pw32* | os2* | cegcc*)
8061 # This hack is so that the source file can tell whether it is being
8062 # built for inclusion in a dll (and should export symbols for example).
8063 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8064 # (--disable-auto-import) libraries
8065 lt_prog_compiler_pic='-DDLL_EXPORT'
8068 darwin* | rhapsody*)
8069 # PIC is the default on this platform
8070 # Common symbols not allowed in MH_DYLIB files
8071 lt_prog_compiler_pic='-fno-common'
8075 # PIC is the default for Haiku.
8076 # The "-static" flag exists, but is broken.
8077 lt_prog_compiler_static=
8081 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8082 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8083 # sets the default TLS model and affects inlining.
8089 lt_prog_compiler_pic='-fPIC'
8095 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8096 # Instead, we relocate shared libraries at runtime.
8100 # Just because we use GCC doesn't mean we suddenly get shared libraries
8101 # on systems that don't support them.
8102 lt_prog_compiler_can_build_shared=no
8107 # QNX uses GNU C++, but need to define -shared option too, otherwise
8109 lt_prog_compiler_pic='-fPIC -shared'
8113 if test -d /usr/nec; then
8114 lt_prog_compiler_pic=-Kconform_pic
8119 lt_prog_compiler_pic='-fPIC'
8123 case $cc_basename in
8124 nvcc*) # Cuda Compiler Driver 2.2
8125 lt_prog_compiler_wl='-Xlinker '
8126 lt_prog_compiler_pic='-Xcompiler -fPIC'
8130 # PORTME Check for flag to pass linker flags through the system compiler.
8133 lt_prog_compiler_wl='-Wl,'
8134 if test "$host_cpu" = ia64; then
8135 # AIX 5 now supports IA64 processor
8136 lt_prog_compiler_static='-Bstatic'
8138 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8142 mingw* | cygwin* | pw32* | os2* | cegcc*)
8143 # This hack is so that the source file can tell whether it is being
8144 # built for inclusion in a dll (and should export symbols for example).
8145 lt_prog_compiler_pic='-DDLL_EXPORT'
8148 hpux9* | hpux10* | hpux11*)
8149 lt_prog_compiler_wl='-Wl,'
8150 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8157 lt_prog_compiler_pic='+Z'
8160 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8161 lt_prog_compiler_static='${wl}-a ${wl}archive'
8164 irix5* | irix6* | nonstopux*)
8165 lt_prog_compiler_wl='-Wl,'
8166 # PIC (with -KPIC) is the default.
8167 lt_prog_compiler_static='-non_shared'
8170 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8171 case $cc_basename in
8172 # old Intel for x86_64 which still supported -KPIC.
8174 lt_prog_compiler_wl='-Wl,'
8175 lt_prog_compiler_pic='-KPIC'
8176 lt_prog_compiler_static='-static'
8178 # icc used to be incompatible with GCC.
8179 # ICC 10 doesn't accept -KPIC any more.
8181 lt_prog_compiler_wl='-Wl,'
8182 lt_prog_compiler_pic='-fPIC'
8183 lt_prog_compiler_static='-static'
8185 # Lahey Fortran 8.1.
8187 lt_prog_compiler_wl='-Wl,'
8188 lt_prog_compiler_pic='--shared'
8189 lt_prog_compiler_static='--static'
8191 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8192 # Portland Group compilers (*not* the Pentium gcc compiler,
8193 # which looks to be a dead project)
8194 lt_prog_compiler_wl='-Wl,'
8195 lt_prog_compiler_pic='-fpic'
8196 lt_prog_compiler_static='-Bstatic'
8199 lt_prog_compiler_wl='-Wl,'
8200 # All Alpha code is PIC.
8201 lt_prog_compiler_static='-non_shared'
8203 xl* | bgxl* | bgf* | mpixl*)
8204 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8205 lt_prog_compiler_wl='-Wl,'
8206 lt_prog_compiler_pic='-qpic'
8207 lt_prog_compiler_static='-qstaticlink'
8210 case `$CC -V 2>&1 | sed 5q` in
8211 *Sun\ F* | *Sun*Fortran*)
8212 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8213 lt_prog_compiler_pic='-KPIC'
8214 lt_prog_compiler_static='-Bstatic'
8215 lt_prog_compiler_wl=''
8219 lt_prog_compiler_pic='-KPIC'
8220 lt_prog_compiler_static='-Bstatic'
8221 lt_prog_compiler_wl='-Wl,'
8229 lt_prog_compiler_pic='-KPIC'
8230 lt_prog_compiler_static='-Bstatic'
8234 # QNX uses GNU C++, but need to define -shared option too, otherwise
8236 lt_prog_compiler_pic='-fPIC -shared'
8239 osf3* | osf4* | osf5*)
8240 lt_prog_compiler_wl='-Wl,'
8241 # All OSF/1 code is PIC.
8242 lt_prog_compiler_static='-non_shared'
8246 lt_prog_compiler_static='-non_shared'
8250 lt_prog_compiler_pic='-KPIC'
8251 lt_prog_compiler_static='-Bstatic'
8252 case $cc_basename in
8254 lt_prog_compiler_wl='-Qoption ld ';;
8256 lt_prog_compiler_wl='-Wl,';;
8261 lt_prog_compiler_wl='-Qoption ld '
8262 lt_prog_compiler_pic='-PIC'
8263 lt_prog_compiler_static='-Bstatic'
8266 sysv4 | sysv4.2uw2* | sysv4.3*)
8267 lt_prog_compiler_wl='-Wl,'
8268 lt_prog_compiler_pic='-KPIC'
8269 lt_prog_compiler_static='-Bstatic'
8273 if test -d /usr/nec ;then
8274 lt_prog_compiler_pic='-Kconform_pic'
8275 lt_prog_compiler_static='-Bstatic'
8279 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8280 lt_prog_compiler_wl='-Wl,'
8281 lt_prog_compiler_pic='-KPIC'
8282 lt_prog_compiler_static='-Bstatic'
8286 lt_prog_compiler_wl='-Wl,'
8287 lt_prog_compiler_can_build_shared=no
8291 lt_prog_compiler_pic='-pic'
8292 lt_prog_compiler_static='-Bstatic'
8296 lt_prog_compiler_can_build_shared=no
8302 # For platforms which do not support PIC, -DPIC is meaningless:
8304 lt_prog_compiler_pic=
8307 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8311 $as_echo "$lt_prog_compiler_pic" >&6; }
8319 # Check to make sure the PIC flag actually works.
8321 if test -n "$lt_prog_compiler_pic"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8323 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8324 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8325 $as_echo_n "(cached) " >&6
8327 lt_cv_prog_compiler_pic_works=no
8328 ac_outfile=conftest.$ac_objext
8329 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8330 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8331 # Insert the option either (1) after the last *FLAGS variable, or
8332 # (2) before a word containing "conftest.", or (3) at the end.
8333 # Note that $ac_compile itself does not contain backslashes and begins
8334 # with a dollar sign (not a hyphen), so the echo should work correctly.
8335 # The option is referenced via a variable to avoid confusing sed.
8336 lt_compile=`echo "$ac_compile" | $SED \
8337 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8338 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8339 -e 's:$: $lt_compiler_flag:'`
8340 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8341 (eval "$lt_compile" 2>conftest.err)
8343 cat conftest.err >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 if (exit $ac_status) && test -s "$ac_outfile"; then
8346 # The compiler can only warn and ignore the option if not recognized
8347 # So say no if there are warnings other than the usual output.
8348 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8349 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8350 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8351 lt_cv_prog_compiler_pic_works=yes
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8358 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8360 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8361 case $lt_prog_compiler_pic in
8363 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8366 lt_prog_compiler_pic=
8367 lt_prog_compiler_can_build_shared=no
8378 # Check to make sure the static flag actually works.
8380 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8382 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8383 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8384 $as_echo_n "(cached) " >&6
8386 lt_cv_prog_compiler_static_works=no
8387 save_LDFLAGS="$LDFLAGS"
8388 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8389 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8390 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8391 # The linker can only warn and ignore the option if not recognized
8392 # So say no if there are warnings
8393 if test -s conftest.err; then
8394 # Append any errors to the config.log.
8395 cat conftest.err 1>&5
8396 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8397 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8398 if diff conftest.exp conftest.er2 >/dev/null; then
8399 lt_cv_prog_compiler_static_works=yes
8402 lt_cv_prog_compiler_static_works=yes
8406 LDFLAGS="$save_LDFLAGS"
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8410 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8412 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8415 lt_prog_compiler_static=
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8425 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8426 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8427 $as_echo_n "(cached) " >&6
8429 lt_cv_prog_compiler_c_o=no
8430 $RM -r conftest 2>/dev/null
8434 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8436 lt_compiler_flag="-o out/conftest2.$ac_objext"
8437 # Insert the option either (1) after the last *FLAGS variable, or
8438 # (2) before a word containing "conftest.", or (3) at the end.
8439 # Note that $ac_compile itself does not contain backslashes and begins
8440 # with a dollar sign (not a hyphen), so the echo should work correctly.
8441 lt_compile=`echo "$ac_compile" | $SED \
8442 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8443 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8444 -e 's:$: $lt_compiler_flag:'`
8445 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8446 (eval "$lt_compile" 2>out/conftest.err)
8448 cat out/conftest.err >&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8452 # The compiler can only warn and ignore the option if not recognized
8453 # So say no if there are warnings
8454 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8455 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8456 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8457 lt_cv_prog_compiler_c_o=yes
8462 # SGI C++ compiler will create directory out/ii_files/ for
8463 # template instantiation
8464 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8465 $RM out/* && rmdir out
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8472 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8480 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8481 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8482 $as_echo_n "(cached) " >&6
8484 lt_cv_prog_compiler_c_o=no
8485 $RM -r conftest 2>/dev/null
8489 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8491 lt_compiler_flag="-o out/conftest2.$ac_objext"
8492 # Insert the option either (1) after the last *FLAGS variable, or
8493 # (2) before a word containing "conftest.", or (3) at the end.
8494 # Note that $ac_compile itself does not contain backslashes and begins
8495 # with a dollar sign (not a hyphen), so the echo should work correctly.
8496 lt_compile=`echo "$ac_compile" | $SED \
8497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8499 -e 's:$: $lt_compiler_flag:'`
8500 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8501 (eval "$lt_compile" 2>out/conftest.err)
8503 cat out/conftest.err >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8507 # The compiler can only warn and ignore the option if not recognized
8508 # So say no if there are warnings
8509 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8510 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8511 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8512 lt_cv_prog_compiler_c_o=yes
8517 # SGI C++ compiler will create directory out/ii_files/ for
8518 # template instantiation
8519 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8520 $RM out/* && rmdir out
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8527 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8532 hard_links="nottested"
8533 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8534 # do not overwrite the value of need_locks provided by the user
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8536 $as_echo_n "checking if we can lock with hard links... " >&6; }
8539 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8541 ln conftest.a conftest.b 2>&5 || hard_links=no
8542 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8544 $as_echo "$hard_links" >&6; }
8545 if test "$hard_links" = no; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8547 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8560 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8563 allow_undefined_flag=
8564 always_export_symbols=no
8566 archive_expsym_cmds=
8567 compiler_needs_object=no
8568 enable_shared_with_static_runtimes=no
8569 export_dynamic_flag_spec=
8570 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8571 hardcode_automatic=no
8573 hardcode_direct_absolute=no
8574 hardcode_libdir_flag_spec=
8575 hardcode_libdir_flag_spec_ld=
8576 hardcode_libdir_separator=
8578 hardcode_shlibpath_var=unsupported
8580 link_all_deplibs=unknown
8583 old_archive_from_new_cmds=
8584 old_archive_from_expsyms_cmds=
8585 thread_safe_flag_spec=
8586 whole_archive_flag_spec=
8587 # include_expsyms should be a list of space-separated symbols to be *always*
8588 # included in the symbol list
8590 # exclude_expsyms can be an extended regexp of symbols to exclude
8591 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8592 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8593 # as well as any symbol that contains `d'.
8594 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8595 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8596 # platforms (ab)use it in PIC code, but their linkers get confused if
8597 # the symbol is explicitly referenced. Since portable code cannot
8598 # rely on this symbol name, it's probably fine to never include it in
8599 # preloaded symbol tables.
8600 # Exclude shared library initialization/finalization symbols.
8601 extract_expsyms_cmds=
8604 cygwin* | mingw* | pw32* | cegcc*)
8605 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8606 # When not using gcc, we currently assume that we are using
8607 # Microsoft Visual C++.
8608 if test "$GCC" != yes; then
8613 # we just hope/assume this is gcc and not c89 (= MSVC++)
8623 # On some targets, GNU ld is compatible enough with the native linker
8624 # that we're better off using the native interface for both.
8625 lt_use_gnu_ld_interface=no
8626 if test "$with_gnu_ld" = yes; then
8629 # The AIX port of GNU ld has always aspired to compatibility
8630 # with the native linker. However, as the warning in the GNU ld
8631 # block says, versions before 2.19.5* couldn't really create working
8632 # shared libraries, regardless of the interface used.
8633 case `$LD -v 2>&1` in
8634 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8635 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8636 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8638 lt_use_gnu_ld_interface=yes
8643 lt_use_gnu_ld_interface=yes
8648 if test "$lt_use_gnu_ld_interface" = yes; then
8649 # If archive_cmds runs LD, not CC, wlarc should be empty
8652 # Set some defaults for GNU ld with shared library support. These
8653 # are reset later if shared libraries are not supported. Putting them
8654 # here allows them to be overridden if necessary.
8655 runpath_var=LD_RUN_PATH
8656 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8657 export_dynamic_flag_spec='${wl}--export-dynamic'
8658 # ancient GNU ld didn't support --whole-archive et. al.
8659 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8660 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8662 whole_archive_flag_spec=
8664 supports_anon_versioning=no
8665 case `$LD -v 2>&1` in
8666 *GNU\ gold*) supports_anon_versioning=yes ;;
8667 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8668 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8669 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8670 *\ 2.11.*) ;; # other 2.11 versions
8671 *) supports_anon_versioning=yes ;;
8674 # See if GNU ld supports shared libraries.
8677 # On AIX/PPC, the GNU linker is very broken
8678 if test "$host_cpu" != ia64; then
8682 *** Warning: the GNU linker, at least up to release 2.19, is reported
8683 *** to be unable to reliably create shared libraries on AIX.
8684 *** Therefore, libtool is disabling shared libraries support. If you
8685 *** really care for shared libraries, you may want to install binutils
8686 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8687 *** You will then need to restart the configuration process.
8696 # see comment about AmigaOS4 .so support
8697 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8698 archive_expsym_cmds=''
8701 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)'
8702 hardcode_libdir_flag_spec='-L$libdir'
8703 hardcode_minus_L=yes
8709 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8710 allow_undefined_flag=unsupported
8711 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8712 # support --undefined. This deserves some investigation. FIXME
8713 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8719 cygwin* | mingw* | pw32* | cegcc*)
8720 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8721 # as there is no search path for DLLs.
8722 hardcode_libdir_flag_spec='-L$libdir'
8723 export_dynamic_flag_spec='${wl}--export-all-symbols'
8724 allow_undefined_flag=unsupported
8725 always_export_symbols=no
8726 enable_shared_with_static_runtimes=yes
8727 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8729 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8730 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8731 # If the export-symbols file already is a .def file (1st line
8732 # is EXPORTS), use it as is; otherwise, prepend...
8733 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8734 cp $export_symbols $output_objdir/$soname.def;
8736 echo EXPORTS > $output_objdir/$soname.def;
8737 cat $export_symbols >> $output_objdir/$soname.def;
8739 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8747 link_all_deplibs=yes
8752 hardcode_shlibpath_var=no
8753 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8754 export_dynamic_flag_spec='${wl}-E'
8755 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8756 # Instead, shared libraries are loaded at an image base (0x10000000 by
8757 # default) and relocated if they conflict, which is a slow very memory
8758 # consuming and fragmenting process. To avoid this, we pick a random,
8759 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8760 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8761 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8762 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'
8765 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8767 if test "$host_os" = linux-dietlibc; then
8768 case $cc_basename in
8769 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8772 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8773 && test "$tmp_diet" = no
8775 tmp_addflag=' $pic_flag'
8776 tmp_sharedflag='-shared'
8777 case $cc_basename,$host_cpu in
8778 pgcc*) # Portland Group C compiler
8779 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'
8780 tmp_addflag=' $pic_flag'
8782 pgf77* | pgf90* | pgf95* | pgfortran*)
8783 # Portland Group f77 and f90 compilers
8784 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'
8785 tmp_addflag=' $pic_flag -Mnomain' ;;
8786 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8787 tmp_addflag=' -i_dynamic' ;;
8788 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8789 tmp_addflag=' -i_dynamic -nofor_main' ;;
8790 ifc* | ifort*) # Intel Fortran compiler
8791 tmp_addflag=' -nofor_main' ;;
8792 lf95*) # Lahey Fortran 8.1
8793 whole_archive_flag_spec=
8794 tmp_sharedflag='--shared' ;;
8795 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8796 tmp_sharedflag='-qmkshrobj'
8798 nvcc*) # Cuda Compiler Driver 2.2
8799 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'
8800 compiler_needs_object=yes
8803 case `$CC -V 2>&1 | sed 5q` in
8804 *Sun\ C*) # Sun C 5.9
8805 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'
8806 compiler_needs_object=yes
8807 tmp_sharedflag='-G' ;;
8808 *Sun\ F*) # Sun Fortran 8.3
8809 tmp_sharedflag='-G' ;;
8811 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813 if test "x$supports_anon_versioning" = xyes; then
8814 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8815 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8816 echo "local: *; };" >> $output_objdir/$libname.ver~
8817 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8820 case $cc_basename in
8821 xlf* | bgf* | bgxlf* | mpixlf*)
8822 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8823 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8824 hardcode_libdir_flag_spec=
8825 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8826 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8827 if test "x$supports_anon_versioning" = xyes; then
8828 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8829 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8830 echo "local: *; };" >> $output_objdir/$libname.ver~
8831 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8841 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8842 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8845 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8846 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8851 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8855 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8856 *** create shared libraries on Solaris systems. Therefore, libtool
8857 *** is disabling shared libraries support. We urge you to upgrade GNU
8858 *** binutils to release 2.9.1 or newer. Another option is to modify
8859 *** your PATH or compiler configuration so that the native linker is
8860 *** used, and then restart.
8863 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8864 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8865 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8871 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8872 case `$LD -v 2>&1` in
8873 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8877 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8878 *** reliably create shared libraries on SCO systems. Therefore, libtool
8879 *** is disabling shared libraries support. We urge you to upgrade GNU
8880 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8881 *** your PATH or compiler configuration so that the native linker is
8882 *** used, and then restart.
8887 # For security reasons, it is highly recommended that you always
8888 # use absolute paths for naming shared libraries, and exclude the
8889 # DT_RUNPATH tag from executables and libraries. But doing so
8890 # requires that you compile everything twice, which is a pain.
8891 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8892 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8893 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8894 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8903 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8906 hardcode_shlibpath_var=no
8910 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8911 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8912 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8919 if test "$ld_shlibs" = no; then
8921 hardcode_libdir_flag_spec=
8922 export_dynamic_flag_spec=
8923 whole_archive_flag_spec=
8926 # PORTME fill in a description of your system's linker (not GNU ld)
8929 allow_undefined_flag=unsupported
8930 always_export_symbols=yes
8931 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'
8932 # Note: this linker hardcodes the directories in LIBPATH if there
8933 # are no directories specified by -L.
8934 hardcode_minus_L=yes
8935 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8936 # Neither direct hardcoding nor static linking is supported with a
8938 hardcode_direct=unsupported
8943 if test "$host_cpu" = ia64; then
8944 # On IA64, the linker does run time linking by default, so we don't
8945 # have to do anything special.
8946 aix_use_runtimelinking=no
8947 exp_sym_flag='-Bexport'
8950 # If we're using GNU nm, then we don't want the "-C" option.
8951 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8952 # Also, AIX nm treats weak defined symbols like other global
8953 # defined symbols, whereas GNU nm marks them as "W".
8954 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8955 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'
8957 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8959 aix_use_runtimelinking=no
8961 # Test if we are trying to use run time linking or normal
8962 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8963 # need to do runtime linking.
8964 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8965 for ld_flag in $LDFLAGS; do
8966 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8967 aix_use_runtimelinking=yes
8974 exp_sym_flag='-bexport'
8975 no_entry_flag='-bnoentry'
8978 # When large executables or shared objects are built, AIX ld can
8979 # have problems creating the table of contents. If linking a library
8980 # or program results in "error TOC overflow" add -mminimal-toc to
8981 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8982 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8986 hardcode_direct_absolute=yes
8987 hardcode_libdir_separator=':'
8988 link_all_deplibs=yes
8989 file_list_spec='${wl}-f,'
8991 if test "$GCC" = yes; then
8992 case $host_os in aix4.[012]|aix4.[012].*)
8993 # We only want to do this on AIX 4.2 and lower, the check
8994 # below for broken collect2 doesn't work under 4.3+
8995 collect2name=`${CC} -print-prog-name=collect2`
8996 if test -f "$collect2name" &&
8997 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8999 # We have reworked collect2
9002 # We have old collect2
9003 hardcode_direct=unsupported
9004 # It fails to find uninstalled libraries when the uninstalled
9005 # path is not listed in the libpath. Setting hardcode_minus_L
9006 # to unsupported forces relinking
9007 hardcode_minus_L=yes
9008 hardcode_libdir_flag_spec='-L$libdir'
9009 hardcode_libdir_separator=
9013 shared_flag='-shared'
9014 if test "$aix_use_runtimelinking" = yes; then
9015 shared_flag="$shared_flag "'${wl}-G'
9019 if test "$host_cpu" = ia64; then
9020 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9021 # chokes on -Wl,-G. The following line is correct:
9024 if test "$aix_use_runtimelinking" = yes; then
9025 shared_flag='${wl}-G'
9027 shared_flag='${wl}-bM:SRE'
9032 export_dynamic_flag_spec='${wl}-bexpall'
9033 # It seems that -bexpall does not export symbols beginning with
9034 # underscore (_), so it is better to generate a list of symbols to export.
9035 always_export_symbols=yes
9036 if test "$aix_use_runtimelinking" = yes; then
9037 # Warning - without using the other runtime loading flags (-brtl),
9038 # -berok will link without error, but may produce a broken library.
9039 allow_undefined_flag='-berok'
9040 # Determine the default libpath from the value encoded in an
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9053 if ac_fn_c_try_link "$LINENO"; then :
9055 lt_aix_libpath_sed='
9056 /Import File Strings/,/^$/ {
9062 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9063 # Check for a 64-bit object if we didn't find anything.
9064 if test -z "$aix_libpath"; then
9065 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9070 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9072 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9073 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"
9075 if test "$host_cpu" = ia64; then
9076 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9077 allow_undefined_flag="-z nodefs"
9078 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"
9080 # Determine the default libpath from the value encoded in an
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9093 if ac_fn_c_try_link "$LINENO"; then :
9095 lt_aix_libpath_sed='
9096 /Import File Strings/,/^$/ {
9102 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9103 # Check for a 64-bit object if we didn't find anything.
9104 if test -z "$aix_libpath"; then
9105 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9112 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9113 # Warning - without using the other run time loading flags,
9114 # -berok will link without error, but may produce a broken library.
9115 no_undefined_flag=' ${wl}-bernotok'
9116 allow_undefined_flag=' ${wl}-berok'
9117 if test "$with_gnu_ld" = yes; then
9118 # We only use this code for GNU lds that support --whole-archive.
9119 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9121 # Exported symbols can be pulled into shared objects from archives
9122 whole_archive_flag_spec='$convenience'
9124 archive_cmds_need_lc=yes
9125 # This is similar to how AIX traditionally builds its shared libraries.
9126 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'
9134 # see comment about AmigaOS4 .so support
9135 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9136 archive_expsym_cmds=''
9139 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)'
9140 hardcode_libdir_flag_spec='-L$libdir'
9141 hardcode_minus_L=yes
9147 export_dynamic_flag_spec=-rdynamic
9150 cygwin* | mingw* | pw32* | cegcc*)
9151 # When not using gcc, we currently assume that we are using
9152 # Microsoft Visual C++.
9153 # hardcode_libdir_flag_spec is actually meaningless, as there is
9154 # no search path for DLLs.
9155 hardcode_libdir_flag_spec=' '
9156 allow_undefined_flag=unsupported
9157 # Tell ltmain to make .lib files, not .a files.
9159 # Tell ltmain to make .dll files, not .so files.
9161 # FIXME: Setting linknames here is a bad hack.
9162 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9163 # The linker will automatically build a .lib file if we build a DLL.
9164 old_archive_from_new_cmds='true'
9165 # FIXME: Should let the user specify the lib program.
9166 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9167 fix_srcfile_path='`cygpath -w "$srcfile"`'
9168 enable_shared_with_static_runtimes=yes
9171 darwin* | rhapsody*)
9174 archive_cmds_need_lc=no
9176 hardcode_automatic=yes
9177 hardcode_shlibpath_var=unsupported
9178 if test "$lt_cv_ld_force_load" = "yes"; then
9179 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\"`'
9181 whole_archive_flag_spec=''
9183 link_all_deplibs=yes
9184 allow_undefined_flag="$_lt_dar_allow_undefined"
9185 case $cc_basename in
9186 ifort*) _lt_dar_can_shared=yes ;;
9187 *) _lt_dar_can_shared=$GCC ;;
9189 if test "$_lt_dar_can_shared" = "yes"; then
9190 output_verbose_link_cmd=func_echo_all
9191 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9192 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9193 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}"
9194 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}"
9203 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9204 hardcode_libdir_flag_spec='-L$libdir'
9205 hardcode_shlibpath_var=no
9208 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9209 # support. Future versions do this automatically, but an explicit c++rt0.o
9210 # does not break anything, and helps significantly (at the cost of a little
9213 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9214 hardcode_libdir_flag_spec='-R$libdir'
9216 hardcode_shlibpath_var=no
9219 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9221 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9223 hardcode_minus_L=yes
9224 hardcode_shlibpath_var=no
9227 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9228 freebsd* | dragonfly*)
9229 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9230 hardcode_libdir_flag_spec='-R$libdir'
9232 hardcode_shlibpath_var=no
9236 if test "$GCC" = yes; then
9237 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'
9239 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'
9241 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9242 hardcode_libdir_separator=:
9245 # hardcode_minus_L: Not really in the search PATH,
9246 # but as the default location of the library.
9247 hardcode_minus_L=yes
9248 export_dynamic_flag_spec='${wl}-E'
9252 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9253 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9255 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9257 if test "$with_gnu_ld" = no; then
9258 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9259 hardcode_libdir_flag_spec_ld='+b $libdir'
9260 hardcode_libdir_separator=:
9262 hardcode_direct_absolute=yes
9263 export_dynamic_flag_spec='${wl}-E'
9264 # hardcode_minus_L: Not really in the search PATH,
9265 # but as the default location of the library.
9266 hardcode_minus_L=yes
9271 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9274 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9277 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9280 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9286 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9289 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9293 # Older versions of the 11.00 compiler do not understand -b yet
9294 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9296 $as_echo_n "checking if $CC understands -b... " >&6; }
9297 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9298 $as_echo_n "(cached) " >&6
9300 lt_cv_prog_compiler__b=no
9301 save_LDFLAGS="$LDFLAGS"
9302 LDFLAGS="$LDFLAGS -b"
9303 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9304 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9305 # The linker can only warn and ignore the option if not recognized
9306 # So say no if there are warnings
9307 if test -s conftest.err; then
9308 # Append any errors to the config.log.
9309 cat conftest.err 1>&5
9310 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9311 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9312 if diff conftest.exp conftest.er2 >/dev/null; then
9313 lt_cv_prog_compiler__b=yes
9316 lt_cv_prog_compiler__b=yes
9320 LDFLAGS="$save_LDFLAGS"
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9324 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9326 if test x"$lt_cv_prog_compiler__b" = xyes; then
9327 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9329 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9335 if test "$with_gnu_ld" = no; then
9336 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9337 hardcode_libdir_separator=:
9342 hardcode_shlibpath_var=no
9346 hardcode_direct_absolute=yes
9347 export_dynamic_flag_spec='${wl}-E'
9349 # hardcode_minus_L: Not really in the search PATH,
9350 # but as the default location of the library.
9351 hardcode_minus_L=yes
9357 irix5* | irix6* | nonstopux*)
9358 if test "$GCC" = yes; then
9359 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'
9360 # Try to use the -exported_symbol ld option, if it does not
9361 # work, assume that -exports_file does not work either and
9362 # implicitly export all symbols.
9363 save_LDFLAGS="$LDFLAGS"
9364 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 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'
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 LDFLAGS="$save_LDFLAGS"
9377 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'
9378 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'
9380 archive_cmds_need_lc='no'
9381 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9382 hardcode_libdir_separator=:
9384 link_all_deplibs=yes
9388 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9389 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9391 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9393 hardcode_libdir_flag_spec='-R$libdir'
9395 hardcode_shlibpath_var=no
9399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9401 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9402 hardcode_libdir_separator=:
9403 hardcode_shlibpath_var=no
9410 if test -f /usr/libexec/ld.so; then
9412 hardcode_shlibpath_var=no
9413 hardcode_direct_absolute=yes
9414 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9415 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9417 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9418 export_dynamic_flag_spec='${wl}-E'
9421 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9422 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9423 hardcode_libdir_flag_spec='-R$libdir'
9426 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9427 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9437 hardcode_libdir_flag_spec='-L$libdir'
9438 hardcode_minus_L=yes
9439 allow_undefined_flag=unsupported
9440 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'
9441 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9445 if test "$GCC" = yes; then
9446 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9447 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'
9449 allow_undefined_flag=' -expect_unresolved \*'
9450 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'
9452 archive_cmds_need_lc='no'
9453 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9454 hardcode_libdir_separator=:
9457 osf4* | osf5*) # as osf3* with the addition of -msym flag
9458 if test "$GCC" = yes; then
9459 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9460 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'
9461 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9463 allow_undefined_flag=' -expect_unresolved \*'
9464 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'
9465 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~
9466 $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'
9468 # Both c and cxx compiler support -rpath directly
9469 hardcode_libdir_flag_spec='-rpath $libdir'
9471 archive_cmds_need_lc='no'
9472 hardcode_libdir_separator=:
9476 no_undefined_flag=' -z defs'
9477 if test "$GCC" = yes; then
9479 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9480 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9481 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9483 case `$CC -V 2>&1` in
9486 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9487 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9488 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9492 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9494 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9498 hardcode_libdir_flag_spec='-R$libdir'
9499 hardcode_shlibpath_var=no
9501 solaris2.[0-5] | solaris2.[0-5].*) ;;
9503 # The compiler driver will combine and reorder linker options,
9504 # but understands `-z linker_flag'. GCC discards it without `$wl',
9505 # but is careful enough not to reorder.
9506 # Supported since Solaris 2.6 (maybe 2.5.1?)
9507 if test "$GCC" = yes; then
9508 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9510 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9514 link_all_deplibs=yes
9518 if test "x$host_vendor" = xsequent; then
9519 # Use $CC to link under sequent, because it throws in some extra .o
9520 # files that make .init and .fini sections work.
9521 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9525 hardcode_libdir_flag_spec='-L$libdir'
9527 hardcode_minus_L=yes
9528 hardcode_shlibpath_var=no
9532 case $host_vendor in
9534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9535 hardcode_direct=yes # is this really true???
9538 ## LD is ld it makes a PLAMLIB
9539 ## CC just makes a GrossModule.
9540 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9541 reload_cmds='$CC -r -o $output$reload_objs'
9545 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9546 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9549 runpath_var='LD_RUN_PATH'
9550 hardcode_shlibpath_var=no
9554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_shlibpath_var=no
9556 export_dynamic_flag_spec='-Bexport'
9560 if test -d /usr/nec; then
9561 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9562 hardcode_shlibpath_var=no
9563 runpath_var=LD_RUN_PATH
9564 hardcode_runpath_var=yes
9569 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9570 no_undefined_flag='${wl}-z,text'
9571 archive_cmds_need_lc=no
9572 hardcode_shlibpath_var=no
9573 runpath_var='LD_RUN_PATH'
9575 if test "$GCC" = yes; then
9576 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9577 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9584 sysv5* | sco3.2v5* | sco5v6*)
9585 # Note: We can NOT use -z defs as we might desire, because we do not
9586 # link with -lc, and that would cause any symbols used from libc to
9587 # always be unresolved, which means just about no library would
9588 # ever link correctly. If we're not using GNU ld we use -z text
9589 # though, which does catch some bad symbols but isn't as heavy-handed
9591 no_undefined_flag='${wl}-z,text'
9592 allow_undefined_flag='${wl}-z,nodefs'
9593 archive_cmds_need_lc=no
9594 hardcode_shlibpath_var=no
9595 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9596 hardcode_libdir_separator=':'
9597 link_all_deplibs=yes
9598 export_dynamic_flag_spec='${wl}-Bexport'
9599 runpath_var='LD_RUN_PATH'
9601 if test "$GCC" = yes; then
9602 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9603 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9605 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9612 hardcode_libdir_flag_spec='-L$libdir'
9613 hardcode_shlibpath_var=no
9621 if test x$host_vendor = xsni; then
9623 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9624 export_dynamic_flag_spec='${wl}-Blargedynsym'
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9631 $as_echo "$ld_shlibs" >&6; }
9632 test "$ld_shlibs" = no && can_build_shared=no
9634 with_gnu_ld=$with_gnu_ld
9651 # Do we need to explicitly link libc?
9653 case "x$archive_cmds_need_lc" in
9655 # Assume -lc should be added
9656 archive_cmds_need_lc=yes
9658 if test "$enable_shared" = yes && test "$GCC" = yes; then
9659 case $archive_cmds in
9661 # FIXME: we may have to deal with multi-command sequences.
9664 # Test whether the compiler implicitly links with -lc since on some
9665 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9666 # to ld, don't add -lc before -lgcc.
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9668 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9669 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9670 $as_echo_n "(cached) " >&6
9673 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9676 (eval $ac_compile) 2>&5
9678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9679 test $ac_status = 0; } 2>conftest.err; then
9682 libobjs=conftest.$ac_objext
9684 wl=$lt_prog_compiler_wl
9685 pic_flag=$lt_prog_compiler_pic
9691 lt_save_allow_undefined_flag=$allow_undefined_flag
9692 allow_undefined_flag=
9693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9694 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9697 test $ac_status = 0; }
9699 lt_cv_archive_cmds_need_lc=no
9701 lt_cv_archive_cmds_need_lc=yes
9703 allow_undefined_flag=$lt_save_allow_undefined_flag
9705 cat conftest.err 1>&5
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9711 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9712 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9876 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9878 if test "$GCC" = yes; then
9880 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9881 *) lt_awk_arg="/^libraries:/" ;;
9884 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9885 *) lt_sed_strip_eq="s,=/,/,g" ;;
9887 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9888 case $lt_search_path_spec in
9890 # if the path contains ";" then we assume it to be the separator
9891 # otherwise default to the standard path separator (i.e. ":") - it is
9892 # assumed that no part of a normal pathname contains ";" but that should
9893 # okay in the real world where ";" in dirpaths is itself problematic.
9894 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9897 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9900 # Ok, now we have the path, separated by spaces, we can step through it
9901 # and add multilib dir if necessary.
9902 lt_tmp_lt_search_path_spec=
9903 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9904 for lt_sys_path in $lt_search_path_spec; do
9905 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9906 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9908 test -d "$lt_sys_path" && \
9909 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9912 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9913 BEGIN {RS=" "; FS="/|\n";} {
9916 for (lt_i = NF; lt_i > 0; lt_i--) {
9917 if ($lt_i != "" && $lt_i != ".") {
9918 if ($lt_i == "..") {
9921 if (lt_count == 0) {
9922 lt_foo="/" $lt_i lt_foo;
9929 if (lt_foo != "") { lt_freq[lt_foo]++; }
9930 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9932 # AWK program above erroneously prepends '/' to C:/dos/paths
9935 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9936 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9938 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9940 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9943 libname_spec='lib$name'
9951 shlibpath_overrides_runpath=unknown
9953 dynamic_linker="$host_os ld.so"
9954 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9955 need_lib_prefix=unknown
9956 hardcode_into_libs=no
9958 # when you set need_version to no, make sure it does not cause -set_version
9959 # flags to be left without arguments
9960 need_version=unknown
9965 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9966 shlibpath_var=LIBPATH
9968 # AIX 3 has no versioning support, so we append a major version to the name.
9969 soname_spec='${libname}${release}${shared_ext}$major'
9976 hardcode_into_libs=yes
9977 if test "$host_cpu" = ia64; then
9978 # AIX 5 supports IA64
9979 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9980 shlibpath_var=LD_LIBRARY_PATH
9982 # With GCC up to 2.95.x, collect2 would create an import file
9983 # for dependence libraries. The import file would start with
9984 # the line `#! .'. This would cause the generated library to
9985 # depend on `.', always an invalid library. This was fixed in
9986 # development snapshots of GCC prior to 3.0.
9988 aix4 | aix4.[01] | aix4.[01].*)
9989 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9991 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9998 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9999 # soname into executable. Probably we can add versioning support to
10000 # collect2, so additional links can be useful in future.
10001 if test "$aix_use_runtimelinking" = yes; then
10002 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10003 # instead of lib<name>.a to let people know that these are not
10004 # typical AIX shared libraries.
10005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10007 # We preserve .a as extension for shared libraries through AIX4.2
10008 # and later when we are not doing run time linking.
10009 library_names_spec='${libname}${release}.a $libname.a'
10010 soname_spec='${libname}${release}${shared_ext}$major'
10012 shlibpath_var=LIBPATH
10019 # Since July 2007 AmigaOS4 officially supports .so libraries.
10020 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10024 library_names_spec='$libname.ixlibrary $libname.a'
10025 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10026 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'
10032 library_names_spec='${libname}${shared_ext}'
10033 dynamic_linker="$host_os ld.so"
10034 shlibpath_var=LIBRARY_PATH
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10041 soname_spec='${libname}${release}${shared_ext}$major'
10042 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10043 shlibpath_var=LD_LIBRARY_PATH
10044 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10045 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10046 # the default ld.so.conf also contains /usr/contrib/lib and
10047 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10048 # libtool to hard-code these into programs
10051 cygwin* | mingw* | pw32* | cegcc*)
10052 version_type=windows
10057 case $GCC,$host_os in
10058 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10059 library_names_spec='$libname.dll.a'
10060 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10061 postinstall_cmds='base_file=`basename \${file}`~
10062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10063 dldir=$destdir/`dirname \$dlpath`~
10064 test -d \$dldir || mkdir -p \$dldir~
10065 $install_prog $dir/$dlname \$dldir/$dlname~
10066 chmod a+x \$dldir/$dlname~
10067 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10068 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10070 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10071 dlpath=$dir/\$dldll~
10073 shlibpath_overrides_runpath=yes
10077 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10078 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10080 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10083 # MinGW DLLs use traditional 'lib' prefix
10084 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10087 # pw32 DLLs use 'pw' prefix rather than 'lib'
10088 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10094 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10097 dynamic_linker='Win32 ld.exe'
10098 # FIXME: first we should search . and the directory the executable is in
10102 darwin* | rhapsody*)
10103 dynamic_linker="$host_os dyld"
10104 version_type=darwin
10107 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10108 soname_spec='${libname}${release}${major}$shared_ext'
10109 shlibpath_overrides_runpath=yes
10110 shlibpath_var=DYLD_LIBRARY_PATH
10111 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10113 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10114 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10122 soname_spec='${libname}${release}${shared_ext}$major'
10123 shlibpath_var=LD_LIBRARY_PATH
10126 freebsd* | dragonfly*)
10127 # DragonFly does not have aout. When/if they implement a new
10128 # versioning mechanism, adjust this.
10129 if test -x /usr/bin/objformat; then
10130 objformat=`/usr/bin/objformat`
10133 freebsd[23].*) objformat=aout ;;
10134 *) objformat=elf ;;
10137 version_type=freebsd-$objformat
10138 case $version_type in
10140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10145 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10149 shlibpath_var=LD_LIBRARY_PATH
10152 shlibpath_overrides_runpath=yes
10154 freebsd3.[01]* | freebsdelf3.[01]*)
10155 shlibpath_overrides_runpath=yes
10156 hardcode_into_libs=yes
10158 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10159 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10160 shlibpath_overrides_runpath=no
10161 hardcode_into_libs=yes
10163 *) # from 4.6 on, and DragonFly
10164 shlibpath_overrides_runpath=yes
10165 hardcode_into_libs=yes
10174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10175 soname_spec='${libname}${release}${shared_ext}$major'
10176 shlibpath_var=LD_LIBRARY_PATH
10177 hardcode_into_libs=yes
10184 dynamic_linker="$host_os runtime_loader"
10185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10186 soname_spec='${libname}${release}${shared_ext}$major'
10187 shlibpath_var=LIBRARY_PATH
10188 shlibpath_overrides_runpath=yes
10189 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10190 hardcode_into_libs=yes
10193 hpux9* | hpux10* | hpux11*)
10194 # Give a soname corresponding to the major version so that dld.sl refuses to
10195 # link against other versions.
10202 hardcode_into_libs=yes
10203 dynamic_linker="$host_os dld.so"
10204 shlibpath_var=LD_LIBRARY_PATH
10205 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10207 soname_spec='${libname}${release}${shared_ext}$major'
10208 if test "X$HPUX_IA64_MODE" = X32; then
10209 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10211 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10213 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10217 hardcode_into_libs=yes
10218 dynamic_linker="$host_os dld.sl"
10219 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10220 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10222 soname_spec='${libname}${release}${shared_ext}$major'
10223 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10224 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10228 dynamic_linker="$host_os dld.sl"
10229 shlibpath_var=SHLIB_PATH
10230 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10232 soname_spec='${libname}${release}${shared_ext}$major'
10235 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10236 postinstall_cmds='chmod 555 $lib'
10237 # or fails outright, so override atomically:
10238 install_override_mode=555
10245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10246 soname_spec='${libname}${release}${shared_ext}$major'
10247 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10248 shlibpath_var=LD_LIBRARY_PATH
10249 shlibpath_overrides_runpath=no
10250 hardcode_into_libs=yes
10253 irix5* | irix6* | nonstopux*)
10255 nonstopux*) version_type=nonstopux ;;
10257 if test "$lt_cv_prog_gnu_ld" = yes; then
10265 soname_spec='${libname}${release}${shared_ext}$major'
10266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10268 irix5* | nonstopux*)
10269 libsuff= shlibsuff=
10272 case $LD in # libtool.m4 will add one of these switches to LD
10273 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10274 libsuff= shlibsuff= libmagic=32-bit;;
10275 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10276 libsuff=32 shlibsuff=N32 libmagic=N32;;
10277 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10278 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10279 *) libsuff= shlibsuff= libmagic=never-match;;
10283 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10284 shlibpath_overrides_runpath=no
10285 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10286 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10287 hardcode_into_libs=yes
10290 # No shared lib support for Linux oldld, aout, or coff.
10291 linux*oldld* | linux*aout* | linux*coff*)
10295 # This must be Linux ELF.
10296 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10301 soname_spec='${libname}${release}${shared_ext}$major'
10302 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10303 shlibpath_var=LD_LIBRARY_PATH
10304 shlibpath_overrides_runpath=no
10306 # Some binutils ld are patched to set DT_RUNPATH
10307 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10308 $as_echo_n "(cached) " >&6
10310 lt_cv_shlibpath_overrides_runpath=no
10311 save_LDFLAGS=$LDFLAGS
10312 save_libdir=$libdir
10313 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10314 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10328 lt_cv_shlibpath_overrides_runpath=yes
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LDFLAGS=$save_LDFLAGS
10334 libdir=$save_libdir
10338 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10340 # This implies no fast_install, which is unacceptable.
10341 # Some rework will be needed to allow for fast_install
10342 # before this can be enabled.
10343 hardcode_into_libs=yes
10345 # Append ld.so.conf contents to the search path
10346 if test -f /etc/ld.so.conf; then
10347 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' ' '`
10348 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10351 # We used to test for /lib/ld.so.1 and disable shared libraries on
10352 # powerpc, because MkLinux only supported shared libraries with the
10353 # GNU dynamic linker. Since this was broken with cross compilers,
10354 # most powerpc-linux boxes support dynamic linking these days and
10355 # people can always --disable-shared, the test was removed, and we
10356 # assume the GNU/Linux dynamic linker is in use.
10357 dynamic_linker='GNU/Linux ld.so'
10364 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10366 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10367 dynamic_linker='NetBSD (a.out) ld.so'
10369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10370 soname_spec='${libname}${release}${shared_ext}$major'
10371 dynamic_linker='NetBSD ld.elf_so'
10373 shlibpath_var=LD_LIBRARY_PATH
10374 shlibpath_overrides_runpath=yes
10375 hardcode_into_libs=yes
10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10381 shlibpath_var=LD_LIBRARY_PATH
10382 shlibpath_overrides_runpath=yes
10389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10390 soname_spec='${libname}${release}${shared_ext}$major'
10391 shlibpath_var=LD_LIBRARY_PATH
10392 shlibpath_overrides_runpath=no
10393 hardcode_into_libs=yes
10394 dynamic_linker='ldqnx.so'
10399 sys_lib_dlsearch_path_spec="/usr/lib"
10401 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10403 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10404 *) need_version=no ;;
10406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10407 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10408 shlibpath_var=LD_LIBRARY_PATH
10409 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10411 openbsd2.[89] | openbsd2.[89].*)
10412 shlibpath_overrides_runpath=no
10415 shlibpath_overrides_runpath=yes
10419 shlibpath_overrides_runpath=yes
10424 libname_spec='$name'
10427 library_names_spec='$libname${shared_ext} $libname.a'
10428 dynamic_linker='OS/2 ld.exe'
10429 shlibpath_var=LIBPATH
10432 osf3* | osf4* | osf5*)
10436 soname_spec='${libname}${release}${shared_ext}$major'
10437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438 shlibpath_var=LD_LIBRARY_PATH
10439 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10440 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 soname_spec='${libname}${release}${shared_ext}$major'
10453 shlibpath_var=LD_LIBRARY_PATH
10454 shlibpath_overrides_runpath=yes
10455 hardcode_into_libs=yes
10456 # ldd complains unless libraries are executable
10457 postinstall_cmds='chmod +x $lib'
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10463 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10464 shlibpath_var=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath=yes
10466 if test "$with_gnu_ld" = yes; then
10474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10475 soname_spec='${libname}${release}${shared_ext}$major'
10476 shlibpath_var=LD_LIBRARY_PATH
10477 case $host_vendor in
10479 shlibpath_overrides_runpath=no
10481 runpath_var=LD_RUN_PATH
10489 shlibpath_overrides_runpath=no
10490 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10496 if test -d /usr/nec ;then
10498 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10499 soname_spec='$libname${shared_ext}.$major'
10500 shlibpath_var=LD_LIBRARY_PATH
10504 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10505 version_type=freebsd-elf
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10509 soname_spec='${libname}${release}${shared_ext}$major'
10510 shlibpath_var=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath=yes
10512 hardcode_into_libs=yes
10513 if test "$with_gnu_ld" = yes; then
10514 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10516 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10519 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10523 sys_lib_dlsearch_path_spec='/usr/lib'
10527 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 shlibpath_var=LD_LIBRARY_PATH
10533 shlibpath_overrides_runpath=no
10534 hardcode_into_libs=yes
10539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540 soname_spec='${libname}${release}${shared_ext}$major'
10541 shlibpath_var=LD_LIBRARY_PATH
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10549 $as_echo "$dynamic_linker" >&6; }
10550 test "$dynamic_linker" = no && can_build_shared=no
10552 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10553 if test "$GCC" = yes; then
10554 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10557 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10558 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10560 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10561 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10656 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10658 if test -n "$hardcode_libdir_flag_spec" ||
10659 test -n "$runpath_var" ||
10660 test "X$hardcode_automatic" = "Xyes" ; then
10662 # We can hardcode non-existent directories.
10663 if test "$hardcode_direct" != no &&
10664 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10665 # have to relink, otherwise we might link with an installed library
10666 # when we should be linking with a yet-to-be-installed one
10667 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10668 test "$hardcode_minus_L" != no; then
10669 # Linking always hardcodes the temporary library directory.
10670 hardcode_action=relink
10672 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10673 hardcode_action=immediate
10676 # We cannot hardcode anything, or else we can only hardcode existing
10678 hardcode_action=unsupported
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10681 $as_echo "$hardcode_action" >&6; }
10683 if test "$hardcode_action" = relink ||
10684 test "$inherit_rpath" = yes; then
10685 # Fast installation is not supported
10686 enable_fast_install=no
10687 elif test "$shlibpath_overrides_runpath" = yes ||
10688 test "$enable_shared" = no; then
10689 # Fast installation is not necessary
10690 enable_fast_install=needless
10698 if test "x$enable_dlopen" != xyes; then
10699 enable_dlopen=unknown
10700 enable_dlopen_self=unknown
10701 enable_dlopen_self_static=unknown
10708 lt_cv_dlopen="load_add_on"
10710 lt_cv_dlopen_self=yes
10713 mingw* | pw32* | cegcc*)
10714 lt_cv_dlopen="LoadLibrary"
10719 lt_cv_dlopen="dlopen"
10724 # if libdl is installed we need to link against it
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10726 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10727 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10728 $as_echo_n "(cached) " >&6
10730 ac_check_lib_save_LIBS=$LIBS
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10750 if ac_fn_c_try_link "$LINENO"; then :
10751 ac_cv_lib_dl_dlopen=yes
10753 ac_cv_lib_dl_dlopen=no
10755 rm -f core conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_lib_save_LIBS
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10760 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10761 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10762 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10765 lt_cv_dlopen="dyld"
10767 lt_cv_dlopen_self=yes
10774 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10775 if test "x$ac_cv_func_shl_load" = x""yes; then :
10776 lt_cv_dlopen="shl_load"
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10779 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10780 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10781 $as_echo_n "(cached) " >&6
10783 ac_check_lib_save_LIBS=$LIBS
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10788 /* Override any GCC internal prototype to avoid an error.
10789 Use char because int might match the return type of a GCC
10790 builtin and then its argument prototype would still apply. */
10798 return shl_load ();
10803 if ac_fn_c_try_link "$LINENO"; then :
10804 ac_cv_lib_dld_shl_load=yes
10806 ac_cv_lib_dld_shl_load=no
10808 rm -f core conftest.err conftest.$ac_objext \
10809 conftest$ac_exeext conftest.$ac_ext
10810 LIBS=$ac_check_lib_save_LIBS
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10813 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10814 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10815 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10817 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10818 if test "x$ac_cv_func_dlopen" = x""yes; then :
10819 lt_cv_dlopen="dlopen"
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10822 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10823 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10824 $as_echo_n "(cached) " >&6
10826 ac_check_lib_save_LIBS=$LIBS
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10846 if ac_fn_c_try_link "$LINENO"; then :
10847 ac_cv_lib_dl_dlopen=yes
10849 ac_cv_lib_dl_dlopen=no
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_lib_save_LIBS
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10856 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10857 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10858 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10861 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10862 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10863 $as_echo_n "(cached) " >&6
10865 ac_check_lib_save_LIBS=$LIBS
10866 LIBS="-lsvld $LIBS"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 ac_cv_lib_svld_dlopen=yes
10888 ac_cv_lib_svld_dlopen=no
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10895 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10896 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10897 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10900 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10901 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10904 ac_check_lib_save_LIBS=$LIBS
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10909 /* Override any GCC internal prototype to avoid an error.
10910 Use char because int might match the return type of a GCC
10911 builtin and then its argument prototype would still apply. */
10919 return dld_link ();
10924 if ac_fn_c_try_link "$LINENO"; then :
10925 ac_cv_lib_dld_dld_link=yes
10927 ac_cv_lib_dld_dld_link=no
10929 rm -f core conftest.err conftest.$ac_objext \
10930 conftest$ac_exeext conftest.$ac_ext
10931 LIBS=$ac_check_lib_save_LIBS
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10934 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10935 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10936 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10957 if test "x$lt_cv_dlopen" != xno; then
10963 case $lt_cv_dlopen in
10965 save_CPPFLAGS="$CPPFLAGS"
10966 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10968 save_LDFLAGS="$LDFLAGS"
10969 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10972 LIBS="$lt_cv_dlopen_libs $LIBS"
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10975 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10976 if test "${lt_cv_dlopen_self+set}" = set; then :
10977 $as_echo_n "(cached) " >&6
10979 if test "$cross_compiling" = yes; then :
10980 lt_cv_dlopen_self=cross
10982 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10983 lt_status=$lt_dlunknown
10984 cat > conftest.$ac_ext <<_LT_EOF
10985 #line 10985 "configure"
10986 #include "confdefs.h"
10995 # define LT_DLGLOBAL RTLD_GLOBAL
10998 # define LT_DLGLOBAL DL_GLOBAL
11000 # define LT_DLGLOBAL 0
11004 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11005 find out it does not work in some platform. */
11006 #ifndef LT_DLLAZY_OR_NOW
11008 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11011 # define LT_DLLAZY_OR_NOW DL_LAZY
11014 # define LT_DLLAZY_OR_NOW RTLD_NOW
11017 # define LT_DLLAZY_OR_NOW DL_NOW
11019 # define LT_DLLAZY_OR_NOW 0
11026 /* When -fvisbility=hidden is used, assume the code has been annotated
11027 correspondingly for the symbols needed. */
11028 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11029 void fnord () __attribute__((visibility("default")));
11032 void fnord () { int i=42; }
11035 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11036 int status = $lt_dlunknown;
11040 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11043 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11044 else puts (dlerror ());
11046 /* dlclose (self); */
11054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11055 (eval $ac_link) 2>&5
11057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11058 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11059 (./conftest; exit; ) >&5 2>/dev/null
11061 case x$lt_status in
11062 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11063 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11064 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11067 # compilation failed
11068 lt_cv_dlopen_self=no
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11076 $as_echo "$lt_cv_dlopen_self" >&6; }
11078 if test "x$lt_cv_dlopen_self" = xyes; then
11079 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11081 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11082 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11083 $as_echo_n "(cached) " >&6
11085 if test "$cross_compiling" = yes; then :
11086 lt_cv_dlopen_self_static=cross
11088 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11089 lt_status=$lt_dlunknown
11090 cat > conftest.$ac_ext <<_LT_EOF
11091 #line 11091 "configure"
11092 #include "confdefs.h"
11101 # define LT_DLGLOBAL RTLD_GLOBAL
11104 # define LT_DLGLOBAL DL_GLOBAL
11106 # define LT_DLGLOBAL 0
11110 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11111 find out it does not work in some platform. */
11112 #ifndef LT_DLLAZY_OR_NOW
11114 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11117 # define LT_DLLAZY_OR_NOW DL_LAZY
11120 # define LT_DLLAZY_OR_NOW RTLD_NOW
11123 # define LT_DLLAZY_OR_NOW DL_NOW
11125 # define LT_DLLAZY_OR_NOW 0
11132 /* When -fvisbility=hidden is used, assume the code has been annotated
11133 correspondingly for the symbols needed. */
11134 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11135 void fnord () __attribute__((visibility("default")));
11138 void fnord () { int i=42; }
11141 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11142 int status = $lt_dlunknown;
11146 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11149 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11150 else puts (dlerror ());
11152 /* dlclose (self); */
11160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11161 (eval $ac_link) 2>&5
11163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11164 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11165 (./conftest; exit; ) >&5 2>/dev/null
11167 case x$lt_status in
11168 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11169 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11170 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11173 # compilation failed
11174 lt_cv_dlopen_self_static=no
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11182 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11185 CPPFLAGS="$save_CPPFLAGS"
11186 LDFLAGS="$save_LDFLAGS"
11191 case $lt_cv_dlopen_self in
11192 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11193 *) enable_dlopen_self=unknown ;;
11196 case $lt_cv_dlopen_self_static in
11197 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11198 *) enable_dlopen_self_static=unknown ;;
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11221 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11222 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11223 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11224 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11226 $as_echo "yes" >&6; }
11228 # FIXME - insert some real tests, host_os isn't really good enough
11231 if test -n "$STRIP" ; then
11232 striplib="$STRIP -x"
11233 old_striplib="$STRIP -S"
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11235 $as_echo "yes" >&6; }
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11238 $as_echo "no" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11243 $as_echo "no" >&6; }
11259 # Report which library types will actually be built
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11261 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11263 $as_echo "$can_build_shared" >&6; }
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11266 $as_echo_n "checking whether to build shared libraries... " >&6; }
11267 test "$can_build_shared" = "no" && enable_shared=no
11269 # On AIX, shared libraries and static libraries use the same namespace, and
11270 # are all built from PIC.
11273 test "$enable_shared" = yes && enable_static=no
11274 if test -n "$RANLIB"; then
11275 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11276 postinstall_cmds='$RANLIB $lib'
11281 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11282 test "$enable_shared" = yes && enable_static=no
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11287 $as_echo "$enable_shared" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11290 $as_echo_n "checking whether to build static libraries... " >&6; }
11291 # Make sure either enable_shared or enable_static is yes.
11292 test "$enable_shared" = yes || enable_static=yes
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11294 $as_echo "$enable_static" >&6; }
11301 ac_cpp='$CPP $CPPFLAGS'
11302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11320 ac_config_commands="$ac_config_commands libtool"
11325 # Only expand once:
11329 # The tests for host and target for $enable_largefile require
11334 # As the $enable_largefile decision depends on --enable-plugins we must set it
11335 # even in directories otherwise not depending on the $plugins option.
11339 for ac_header in dlfcn.h
11341 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11343 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
11344 cat >>confdefs.h <<_ACEOF
11345 #define HAVE_DLFCN_H 1
11352 for ac_header in windows.h
11354 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11356 if test "x$ac_cv_header_windows_h" = x""yes; then :
11357 cat >>confdefs.h <<_ACEOF
11358 #define HAVE_WINDOWS_H 1
11366 # Check whether --enable-plugins was given.
11367 if test "${enable_plugins+set}" = set; then :
11368 enableval=$enable_plugins; case "${enableval}" in
11371 if test "$maybe_plugins" != "yes" ; then
11372 as_fn_error "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11376 plugins=$maybe_plugins
11380 if test "$plugins" = "yes"; then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11382 $as_echo_n "checking for library containing dlopen... " >&6; }
11383 if test "${ac_cv_search_dlopen+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11386 ac_func_search_save_LIBS=$LIBS
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11405 for ac_lib in '' dl; do
11406 if test -z "$ac_lib"; then
11407 ac_res="none required"
11410 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_search_dlopen=$ac_res
11415 rm -f core conftest.err conftest.$ac_objext \
11417 if test "${ac_cv_search_dlopen+set}" = set; then :
11421 if test "${ac_cv_search_dlopen+set}" = set; then :
11424 ac_cv_search_dlopen=no
11426 rm conftest.$ac_ext
11427 LIBS=$ac_func_search_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11430 $as_echo "$ac_cv_search_dlopen" >&6; }
11431 ac_res=$ac_cv_search_dlopen
11432 if test "$ac_res" != no; then :
11433 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11441 sparc-*-solaris*|i[3-7]86-*-solaris*)
11442 # On native 32bit sparc and ia32 solaris, large-file and procfs support
11443 # are mutually exclusive; and without procfs support, the bfd/ elf module
11444 # cannot provide certain routines such as elfcore_write_prpsinfo
11445 # or elfcore_write_prstatus. So unless the user explicitly requested
11446 # large-file support through the --enable-largefile switch, disable
11447 # large-file support in favor of procfs support.
11448 test "${target}" = "${host}" -a "x$plugins" = xno \
11449 && : ${enable_largefile="no"}
11453 # Check whether --enable-largefile was given.
11454 if test "${enable_largefile+set}" = set; then :
11455 enableval=$enable_largefile;
11458 if test "$enable_largefile" != no; then
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11461 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11462 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_cv_sys_largefile_CC=no
11466 if test "$GCC" != yes; then
11469 # IRIX 6.2 and later do not support large files by default,
11470 # so use the C compiler's -n32 option if that helps.
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11473 #include <sys/types.h>
11474 /* Check that off_t can represent 2**63 - 1 correctly.
11475 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11476 since some C++ compilers masquerading as C compilers
11477 incorrectly reject 9223372036854775807. */
11478 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11479 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11480 && LARGE_OFF_T % 2147483647 == 1)
11490 if ac_fn_c_try_compile "$LINENO"; then :
11493 rm -f core conftest.err conftest.$ac_objext
11495 if ac_fn_c_try_compile "$LINENO"; then :
11496 ac_cv_sys_largefile_CC=' -n32'; break
11498 rm -f core conftest.err conftest.$ac_objext
11502 rm -f conftest.$ac_ext
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11506 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11507 if test "$ac_cv_sys_largefile_CC" != no; then
11508 CC=$CC$ac_cv_sys_largefile_CC
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11512 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11513 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11519 #include <sys/types.h>
11520 /* Check that off_t can represent 2**63 - 1 correctly.
11521 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11522 since some C++ compilers masquerading as C compilers
11523 incorrectly reject 9223372036854775807. */
11524 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11525 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11526 && LARGE_OFF_T % 2147483647 == 1)
11536 if ac_fn_c_try_compile "$LINENO"; then :
11537 ac_cv_sys_file_offset_bits=no; break
11539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 #define _FILE_OFFSET_BITS 64
11543 #include <sys/types.h>
11544 /* Check that off_t can represent 2**63 - 1 correctly.
11545 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11546 since some C++ compilers masquerading as C compilers
11547 incorrectly reject 9223372036854775807. */
11548 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11549 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11550 && LARGE_OFF_T % 2147483647 == 1)
11560 if ac_fn_c_try_compile "$LINENO"; then :
11561 ac_cv_sys_file_offset_bits=64; break
11563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11564 ac_cv_sys_file_offset_bits=unknown
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11569 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11570 case $ac_cv_sys_file_offset_bits in #(
11573 cat >>confdefs.h <<_ACEOF
11574 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11579 if test $ac_cv_sys_file_offset_bits = unknown; then
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11581 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11582 if test "${ac_cv_sys_large_files+set}" = set; then :
11583 $as_echo_n "(cached) " >&6
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11588 #include <sys/types.h>
11589 /* Check that off_t can represent 2**63 - 1 correctly.
11590 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11591 since some C++ compilers masquerading as C compilers
11592 incorrectly reject 9223372036854775807. */
11593 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11594 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11595 && LARGE_OFF_T % 2147483647 == 1)
11605 if ac_fn_c_try_compile "$LINENO"; then :
11606 ac_cv_sys_large_files=no; break
11608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11611 #define _LARGE_FILES 1
11612 #include <sys/types.h>
11613 /* Check that off_t can represent 2**63 - 1 correctly.
11614 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11615 since some C++ compilers masquerading as C compilers
11616 incorrectly reject 9223372036854775807. */
11617 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11618 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11619 && LARGE_OFF_T % 2147483647 == 1)
11629 if ac_fn_c_try_compile "$LINENO"; then :
11630 ac_cv_sys_large_files=1; break
11632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11633 ac_cv_sys_large_files=unknown
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11638 $as_echo "$ac_cv_sys_large_files" >&6; }
11639 case $ac_cv_sys_large_files in #(
11642 cat >>confdefs.h <<_ACEOF
11643 #define _LARGE_FILES $ac_cv_sys_large_files
11653 # Check whether --enable-targets was given.
11654 if test "${enable_targets+set}" = set; then :
11655 enableval=$enable_targets; case "${enableval}" in
11656 yes | "") as_fn_error "enable-targets option must specify target names or 'all'" "$LINENO" 5
11658 no) enable_targets= ;;
11659 *) enable_targets=$enableval ;;
11664 if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then
11667 # Check whether --enable-checking was given.
11668 if test "${enable_checking+set}" = set; then :
11669 enableval=$enable_checking; case "${enableval}" in
11670 no|none) ac_checking= ;;
11671 *) ac_checking=yes ;;
11674 if test x$ac_checking != x ; then
11676 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
11681 # Decide the default method for compressing debug sections.
11682 ac_default_compressed_debug_sections=unset
11683 # Provide a configure time option to override our default.
11684 # Check whether --enable-compressed_debug_sections was given.
11685 if test "${enable_compressed_debug_sections+set}" = set; then :
11686 enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
11687 ,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;
11688 ,no, | ,none,) ac_default_compressed_debug_sections=no ;;
11689 *) ac_default_compressed_debug_sections=unset ;;
11694 # Decide if x86 assembler should generate relax relocations.
11695 ac_default_x86_relax_relocations=unset
11696 # Provide a configure time option to override our default.
11697 # Check whether --enable-x86_relax_relocations was given.
11698 if test "${enable_x86_relax_relocations+set}" = set; then :
11699 enableval=$enable_x86_relax_relocations; case "${enableval}" in
11700 no) ac_default_x86_relax_relocations=0 ;;
11704 # Decide if ELF assembler should generate common symbols with the
11706 ac_default_elf_stt_common=unset
11707 # Provide a configure time option to override our default.
11708 # Check whether --enable-elf_stt_common was given.
11709 if test "${enable_elf_stt_common+set}" = set; then :
11710 enableval=$enable_elf_stt_common; case "${enableval}" in
11711 yes) ac_default_elf_stt_common=1 ;;
11718 # Set the 'development' global.
11719 . $srcdir/../bfd/development.sh
11721 # Default set of GCC warnings to enable.
11722 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11724 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11730 $EGREP "^[0-3]$" >/dev/null 2>&1; then :
11733 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
11738 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11744 $EGREP "^[0-4]$" >/dev/null 2>&1; then :
11747 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
11752 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
11753 WARN_WRITE_STRINGS=""
11754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11755 /* end confdefs.h. */
11758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11759 $EGREP "^[0-3]$" >/dev/null 2>&1; then :
11762 WARN_WRITE_STRINGS="-Wwrite-strings"
11767 # Check whether --enable-werror was given.
11768 if test "${enable_werror+set}" = set; then :
11769 enableval=$enable_werror; case "${enableval}" in
11770 yes | y) ERROR_ON_WARNING="yes" ;;
11771 no | n) ERROR_ON_WARNING="no" ;;
11772 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11777 # Disable -Wformat by default when using gcc on mingw
11780 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11781 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
11787 # Enable -Werror by default when using gcc. Turn it off for releases.
11788 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
11789 ERROR_ON_WARNING=yes
11793 if test "${ERROR_ON_WARNING}" = yes ; then
11794 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11795 NO_WERROR="-Wno-error"
11798 if test "${GCC}" = yes ; then
11799 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11802 # Check whether --enable-build-warnings was given.
11803 if test "${enable_build_warnings+set}" = set; then :
11804 enableval=$enable_build_warnings; case "${enableval}" in
11805 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11806 no) if test "${GCC}" = yes ; then
11809 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11810 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
11811 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11812 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
11813 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11818 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
11819 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11827 # Generate a header file
11828 ac_config_headers="$ac_config_headers config.h:config.in"
11834 # If we are on a DOS filesystem, we must use gdb.ini rather than
11837 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
11839 ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
11844 ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
11850 #We need this for the host. BOUT header is in host order.
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11852 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11853 if test "${ac_cv_c_bigendian+set}" = set; then :
11854 $as_echo_n "(cached) " >&6
11856 ac_cv_c_bigendian=unknown
11857 # See if we're dealing with a universal compiler.
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11860 #ifndef __APPLE_CC__
11861 not a universal capable compiler
11866 if ac_fn_c_try_compile "$LINENO"; then :
11868 # Check for potential -arch flags. It is not universal unless
11869 # there are at least two -arch flags with different values.
11872 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11873 if test -n "$ac_prev"; then
11875 i?86 | x86_64 | ppc | ppc64)
11876 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
11879 ac_cv_c_bigendian=universal
11885 elif test "x$ac_word" = "x-arch"; then
11890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11891 if test $ac_cv_c_bigendian = unknown; then
11892 # See if sys/param.h defines the BYTE_ORDER macro.
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11895 #include <sys/types.h>
11896 #include <sys/param.h>
11901 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11902 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11904 bogus endian macros
11911 if ac_fn_c_try_compile "$LINENO"; then :
11912 # It does; now see whether it defined to BIG_ENDIAN or not.
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11915 #include <sys/types.h>
11916 #include <sys/param.h>
11921 #if BYTE_ORDER != BIG_ENDIAN
11929 if ac_fn_c_try_compile "$LINENO"; then :
11930 ac_cv_c_bigendian=yes
11932 ac_cv_c_bigendian=no
11934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11938 if test $ac_cv_c_bigendian = unknown; then
11939 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11942 #include <limits.h>
11947 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11948 bogus endian macros
11955 if ac_fn_c_try_compile "$LINENO"; then :
11956 # It does; now see whether it defined to _BIG_ENDIAN or not.
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959 #include <limits.h>
11964 #ifndef _BIG_ENDIAN
11972 if ac_fn_c_try_compile "$LINENO"; then :
11973 ac_cv_c_bigendian=yes
11975 ac_cv_c_bigendian=no
11977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981 if test $ac_cv_c_bigendian = unknown; then
11982 # Compile a test program.
11983 if test "$cross_compiling" = yes; then :
11984 # Try to guess by grepping values from an object file.
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11987 short int ascii_mm[] =
11988 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11989 short int ascii_ii[] =
11990 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11991 int use_ascii (int i) {
11992 return ascii_mm[i] + ascii_ii[i];
11994 short int ebcdic_ii[] =
11995 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11996 short int ebcdic_mm[] =
11997 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11998 int use_ebcdic (int i) {
11999 return ebcdic_mm[i] + ebcdic_ii[i];
12006 return use_ascii (foo) == use_ebcdic (foo);
12011 if ac_fn_c_try_compile "$LINENO"; then :
12012 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12013 ac_cv_c_bigendian=yes
12015 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12016 if test "$ac_cv_c_bigendian" = unknown; then
12017 ac_cv_c_bigendian=no
12019 # finding both strings is unlikely to happen, but who knows?
12020 ac_cv_c_bigendian=unknown
12024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 $ac_includes_default
12033 /* Are we little or big endian? From Harbison&Steele. */
12037 char c[sizeof (long int)];
12040 return u.c[sizeof (long int) - 1] == 1;
12046 if ac_fn_c_try_run "$LINENO"; then :
12047 ac_cv_c_bigendian=no
12049 ac_cv_c_bigendian=yes
12051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12052 conftest.$ac_objext conftest.beam conftest.$ac_ext
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12058 $as_echo "$ac_cv_c_bigendian" >&6; }
12059 case $ac_cv_c_bigendian in #(
12061 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12067 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12071 as_fn_error "unknown endianness
12072 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12078 # Makefile target for installing gas in $(tooldir)/bin.
12079 install_tooldir=install-exec-tooldir
12083 if test -n "$enable_targets" ; then
12084 for t in `echo $enable_targets | sed 's/,/ /g'`; do
12085 if test $t = "all"; then
12089 result=`$ac_config_sub $t 2>/dev/null`
12090 if test -n "$result" ; then
12091 canon_targets="$canon_targets $result"
12093 # # Permit "all", etc. We don't support it yet though.
12094 # canon_targets="$canon_targets $t"
12097 _gas_uniq_list="$canon_targets"
12098 _gas_uniq_newlist=""
12099 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
12100 case $_gas_uniq_i in
12101 _gas_uniq_dummy) ;;
12102 *) case " $_gas_uniq_newlist " in
12103 *" $_gas_uniq_i "*) ;;
12104 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
12108 canon_targets=$_gas_uniq_newlist
12114 for this_target in $target $canon_targets ; do
12116 targ=${this_target}
12117 . ${srcdir}/configure.tgt
12119 case ${target_cpu} in
12122 cat >>confdefs.h <<_ACEOF
12123 #define DEFAULT_CRIS_ARCH $arch
12129 if test ${this_target} = $target ; then
12130 target_cpu_type=${cpu_type}
12131 elif test ${target_cpu_type} != ${cpu_type} ; then
12135 generic_target=${cpu_type}-${target_vendor}-${target_os}
12136 case ${generic_target} in
12138 if test ${this_target} = $target; then
12140 $as_echo "#define SCO_ELF 1" >>confdefs.h
12145 i386-*-msdosdjgpp* \
12147 | i386-go32-rtems*)
12149 $as_echo "#define STRICTCOFF 1" >>confdefs.h
12154 | x86_64-*-solaris2 \
12155 | i386-*-solaris2.[0-9] \
12156 | i386-*-solaris2.1[01] \
12157 | x86_64-*-solaris2.1[01])
12158 if test ${this_target} = $target \
12159 && test ${ac_default_x86_relax_relocations} = unset; then
12160 ac_default_x86_relax_relocations=0
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
12166 $as_echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
12174 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
12178 if test ${this_target} = $target; then
12180 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
12183 if test x${endian} = xbig; then
12184 as_fn_error "Solaris must be configured little endian" "$LINENO" 5
12190 $as_echo "#define TARGET_SYMBIAN 1" >>confdefs.h
12195 if test ${this_target} = $target ; then
12197 if test x${endian} = xbig; then
12199 elif test x${endian} = xlittle; then
12202 if test x${endian_def} != x; then
12204 cat >>confdefs.h <<_ACEOF
12205 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12211 # Other random stuff.
12213 case ${cpu_type} in
12215 # Set mips_cpu to the name of the default CPU.
12216 case ${target_cpu} in
12217 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
12220 mipsisa32 | mipsisa32el)
12223 mipsisa32r2 | mipsisa32r2el)
12226 mipsisa32r3 | mipsisa32r3el)
12229 mipsisa32r5 | mipsisa32r5el)
12232 mipsisa32r6 | mipsisa32r6el)
12235 mipsisa64 | mipsisa64el)
12238 mipsisa64r2 | mipsisa64r2el)
12241 mipsisa64r3 | mipsisa64r3el)
12244 mipsisa64r5 | mipsisa64r5el)
12247 mipsisa64r6 | mipsisa64r6el)
12250 mipstx39 | mipstx39el)
12253 mips64vr | mips64vrel)
12256 mipsisa32r2* | mipsisa64r2*)
12257 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12259 mipsisa32r6* | mipsisa64r6*)
12260 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r6//' -e 's/el$//'`
12262 mips64* | mipsisa64* | mipsisa32*)
12263 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12266 mips_cpu=`echo $target_cpu | sed -e 's/^mips//' -e 's/el$//'`
12269 as_fn_error "$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12272 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12273 # binaries. It's a GNU extension that some OSes don't understand.
12276 use_e_mips_abi_o32=0
12279 use_e_mips_abi_o32=1
12282 # Decide whether to generate 32-bit or 64-bit code by default.
12283 # Used to resolve -march=from-abi when an embedded ABI is selected.
12285 mips64*-*-* | mipsisa64*-*-*)
12286 mips_default_64bit=1
12289 mips_default_64bit=0
12292 # Decide which ABI to target by default.
12294 mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* | mips64*-kfreebsd*-gnu)
12295 mips_default_abi=N32_ABI
12297 mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
12298 mips_default_abi=O32_ABI
12301 mips_default_abi=N64_ABI
12304 mips_default_abi=NO_ABI
12308 cat >>confdefs.h <<_ACEOF
12309 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12313 cat >>confdefs.h <<_ACEOF
12314 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12318 cat >>confdefs.h <<_ACEOF
12319 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12323 cat >>confdefs.h <<_ACEOF
12324 #define MIPS_DEFAULT_ABI $mips_default_abi
12330 # Do we need the opcodes library?
12331 case ${cpu_type} in
12338 case "${enable_shared}" in
12339 yes) shared_opcodes=true ;;
12340 *opcodes*) shared_opcodes=true ;;
12341 *) shared_opcodes=false ;;
12346 # Any other special object files needed ?
12347 case ${cpu_type} in
12350 echo ${extra_objects} | grep -s "bfin-parse.o"
12351 if test $? -ne 0 ; then
12352 extra_objects="$extra_objects bfin-parse.o"
12355 echo ${extra_objects} | grep -s "bfin-lex-wrapper.o"
12356 if test $? -ne 0 ; then
12357 extra_objects="$extra_objects bfin-lex-wrapper.o"
12361 epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k)
12372 case ${extra_objects} in
12374 *) extra_objects="$extra_objects m68k-parse.o" ;;
12383 echo ${extra_objects} | grep -s "itbl-parse.o"
12384 if test $? -ne 0 ; then
12385 extra_objects="$extra_objects itbl-parse.o"
12388 echo ${extra_objects} | grep -s "itbl-lex-wrapper.o"
12389 if test $? -ne 0 ; then
12390 extra_objects="$extra_objects itbl-lex-wrapper.o"
12393 echo ${extra_objects} | grep -s "itbl-ops.o"
12394 if test $? -ne 0 ; then
12395 extra_objects="$extra_objects itbl-ops.o"
12404 # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features
12405 # based on arch_name.
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
12407 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
12408 if test "x${with_arch}" != x; then
12409 case ${with_arch} in
12410 v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3 )
12412 cat >>confdefs.h <<_ACEOF
12413 #define NDS32_DEFAULT_ARCH_NAME "$with_arch"
12418 as_fn_error "This kind of arch name does *NOT* exist!" "$LINENO" 5
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
12423 $as_echo "$with_arch" >&6; }
12425 # Decide features one by one.
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
12427 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
12428 if test "x${enable_dx_regs}" = xyes; then
12430 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
12434 $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5
12438 $as_echo "$enable_dx_regs" >&6; }
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
12441 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
12442 if test "x${enable_perf_ext}" = xno; then
12444 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
12448 $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5
12452 $as_echo "$enable_perf_ext" >&6; }
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
12455 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
12456 if test "x${enable_perf_ext2}" = xno; then
12458 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
12462 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5
12466 $as_echo "$enable_perf_ext2" >&6; }
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
12469 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
12470 if test "x${enable_string_ext}" = xno; then
12472 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
12476 $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5
12480 $as_echo "$enable_string_ext" >&6; }
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
12483 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
12484 if test "x${enable_audio_ext}" = xno; then
12486 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
12490 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5
12494 $as_echo "$enable_audio_ext" >&6; }
12497 i386 | s390 | sparc)
12498 if test $this_target = $target ; then
12500 cat >>confdefs.h <<_ACEOF
12501 #define DEFAULT_ARCH "${arch}"
12508 echo ${extra_objects} | grep -s "rl78-parse.o"
12509 if test $? -ne 0 ; then
12510 extra_objects="$extra_objects rl78-parse.o"
12515 echo ${extra_objects} | grep -s "rx-parse.o"
12516 if test $? -ne 0 ; then
12517 extra_objects="$extra_objects rx-parse.o"
12530 echo ${extra_objects} | grep -s "xtensa-relax.o"
12531 if test $? -ne 0 ; then
12532 extra_objects="$extra_objects xtensa-relax.o"
12540 if test $using_cgen = yes ; then
12541 case "x${extra_objects}" in
12543 *) extra_objects="$extra_objects cgen.o" ;;
12547 # See if we really can support this configuration with the emulation code.
12549 if test $this_target = $target ; then
12555 vms) extra_objects="$extra_objects te-vms.o" ;;
12558 # From target name and format, produce a list of supported emulations.
12560 case ${generic_target}-${fmt} in
12561 mips-*-*-*) case "$endian" in
12562 big) emulation="mipsbelf mipslelf mipself" ;;
12563 *) emulation="mipslelf mipsbelf mipself" ;;
12565 # i386-pc-pe-coff != i386-pc-coff.
12567 # Uncommenting the next line will turn on support for i386 AOUT
12568 # for the default linux configuration
12569 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
12571 i386-*-aout) emulation="i386aout" ;;
12572 i386-*-coff) emulation="i386coff" ;;
12573 i386-*-elf) emulation="i386elf" ;;
12575 # Always all formats. The first stated emulation becomes the default.
12576 cris-*-*aout*) emulation="crisaout criself" ;;
12577 cris-*-*) emulation="criself crisaout" ;;
12580 emulations="$emulations $emulation"
12584 if test ${ac_default_x86_relax_relocations} = unset; then
12585 ac_default_x86_relax_relocations=1
12588 cat >>confdefs.h <<_ACEOF
12589 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS $ac_default_x86_relax_relocations
12593 if test ${ac_default_elf_stt_common} = unset; then
12594 ac_default_elf_stt_common=0
12597 cat >>confdefs.h <<_ACEOF
12598 #define DEFAULT_GENERATE_ELF_STT_COMMON $ac_default_elf_stt_common
12602 if test x$ac_default_compressed_debug_sections = xyes ; then
12604 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
12608 # Turn on all targets if possible
12609 if test ${all_targets} = "yes"; then
12610 case ${target_cpu_type} in
12612 case ${obj_format} in
12614 emulations="$emulations i386coff i386elf"
12617 emulations="$emulations i386aout i386elf"
12620 emulations="$emulations i386aout i386coff"
12625 case ${obj_format} in
12627 emulations="$emulations i386coff i386elf"
12630 emulations="$emulations i386aout i386elf"
12633 emulations="$emulations i386aout i386coff"
12640 # PE code has way too many macros tweaking behaviour
12642 pe*) emulations="" ;;
12645 # Assign floating point type. Most processors with FP support
12646 # IEEE FP. On those that don't support FP at all, usually IEEE
12648 case ${target_cpu} in
12649 vax | pdp11 ) atof=vax ;;
12653 case "${obj_format}" in
12654 "") as_fn_error "GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
12657 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
12659 if test $using_cgen = yes ; then
12660 case ${target_cpu} in
12662 cgen_cpu_prefix=or1k ;;
12663 *) cgen_cpu_prefix=${target_cpu} ;;
12667 $as_echo "#define USING_CGEN 1" >>confdefs.h
12672 if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
12673 as_fn_error "GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
12676 if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
12677 as_fn_error "GAS does not have support for object file format ${obj_format}" "$LINENO" 5
12680 # Some COFF configurations want these random other flags set.
12681 case ${obj_format} in
12683 case ${target_cpu_type} in
12685 $as_echo "#define I386COFF 1" >>confdefs.h
12688 $as_echo "#define M68KCOFF 1" >>confdefs.h
12691 $as_echo "#define M88KCOFF 1" >>confdefs.h
12694 $as_echo "#define I386COFF 1" >>confdefs.h
12700 # Getting this done right is going to be a bitch. Each configuration specified
12701 # with --enable-targets=... should be checked for environment, format, cpu
12704 # For each configuration, the necessary object file support code must be linked
12705 # in. This might be only one, it might be up to four. The necessary emulation
12706 # code needs to be provided, too.
12708 # And then there's "--enable-targets=all"....
12710 # For now, just always do it for MIPS ELF configurations. Sigh.
12712 formats="${obj_format}"
12715 _gas_uniq_list="$emulations"
12716 _gas_uniq_newlist=""
12717 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
12718 case $_gas_uniq_i in
12719 _gas_uniq_dummy) ;;
12720 *) case " $_gas_uniq_newlist " in
12721 *" $_gas_uniq_i "*) ;;
12722 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
12726 emulations=$_gas_uniq_newlist
12728 for em in . $emulations ; do
12731 mipsbelf | mipslelf | mipself)
12732 fmt=elf file=mipself ;;
12734 fmt=coff file=$em ;;
12736 fmt=aout file=$em ;;
12738 fmt=elf file=$em ;;
12740 formats="$formats $fmt"
12741 emfiles="$emfiles e-$file.o"
12742 EMULATIONS="$EMULATIONS &$em,"
12744 _gas_uniq_list="$formats"
12745 _gas_uniq_newlist=""
12746 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
12747 case $_gas_uniq_i in
12748 _gas_uniq_dummy) ;;
12749 *) case " $_gas_uniq_newlist " in
12750 *" $_gas_uniq_i "*) ;;
12751 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
12755 formats=$_gas_uniq_newlist
12757 _gas_uniq_list="$emfiles"
12758 _gas_uniq_newlist=""
12759 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
12760 case $_gas_uniq_i in
12761 _gas_uniq_dummy) ;;
12762 *) case " $_gas_uniq_newlist " in
12763 *" $_gas_uniq_i "*) ;;
12764 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
12768 emfiles=$_gas_uniq_newlist
12770 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
12771 for fmt in $formats ; do
12774 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
12777 $as_echo "#define OBJ_MAYBE_BOUT 1" >>confdefs.h
12780 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
12783 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
12786 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
12789 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
12792 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
12795 extra_objects="$extra_objects obj-$fmt.o"
12799 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
12800 DEFAULT_EMULATION=`set . $emulations ; echo $2`
12801 # e-mipself has more than one emulation per file, e-i386* has just one at the
12802 # moment. If only one emulation is specified, then don't define
12803 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
12804 case "${obj_format}${emfiles}" in
12805 multi* | *mipself*)
12806 extra_objects="$extra_objects $emfiles"
12808 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
12814 cat >>confdefs.h <<_ACEOF
12815 #define EMULATIONS $EMULATIONS
12819 cat >>confdefs.h <<_ACEOF
12820 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
12824 reject_dev_configs=yes
12826 case ${reject_dev_configs}-${dev} in
12828 as_fn_error "GAS does not support the ${generic_target} configuration." "$LINENO" 5
12838 # do we need the opcodes library?
12839 case "${need_opcodes}" in
12841 OPCODES_LIB=../opcodes/libopcodes.la
12848 cat >>confdefs.h <<_ACEOF
12849 #define TARGET_ALIAS "${target_alias}"
12853 cat >>confdefs.h <<_ACEOF
12854 #define TARGET_CANONICAL "${target}"
12858 cat >>confdefs.h <<_ACEOF
12859 #define TARGET_CPU "${target_cpu}"
12863 cat >>confdefs.h <<_ACEOF
12864 #define TARGET_VENDOR "${target_vendor}"
12868 cat >>confdefs.h <<_ACEOF
12869 #define TARGET_OS "${target_os}"
12873 for ac_prog in 'bison -y' byacc
12875 # Extract the first word of "$ac_prog", so it can be a program name with args.
12876 set dummy $ac_prog; ac_word=$2
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12878 $as_echo_n "checking for $ac_word... " >&6; }
12879 if test "${ac_cv_prog_YACC+set}" = set; then :
12880 $as_echo_n "(cached) " >&6
12882 if test -n "$YACC"; then
12883 ac_cv_prog_YACC="$YACC" # Let the user override the test.
12885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12886 for as_dir in $PATH
12889 test -z "$as_dir" && as_dir=.
12890 for ac_exec_ext in '' $ac_executable_extensions; do
12891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12892 ac_cv_prog_YACC="$ac_prog"
12893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12902 YACC=$ac_cv_prog_YACC
12903 if test -n "$YACC"; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12905 $as_echo "$YACC" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12908 $as_echo "no" >&6; }
12912 test -n "$YACC" && break
12914 test -n "$YACC" || YACC="yacc"
12916 for ac_prog in flex lex
12918 # Extract the first word of "$ac_prog", so it can be a program name with args.
12919 set dummy $ac_prog; ac_word=$2
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12921 $as_echo_n "checking for $ac_word... " >&6; }
12922 if test "${ac_cv_prog_LEX+set}" = set; then :
12923 $as_echo_n "(cached) " >&6
12925 if test -n "$LEX"; then
12926 ac_cv_prog_LEX="$LEX" # Let the user override the test.
12928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12929 for as_dir in $PATH
12932 test -z "$as_dir" && as_dir=.
12933 for ac_exec_ext in '' $ac_executable_extensions; do
12934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12935 ac_cv_prog_LEX="$ac_prog"
12936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12945 LEX=$ac_cv_prog_LEX
12946 if test -n "$LEX"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12948 $as_echo "$LEX" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951 $as_echo "no" >&6; }
12955 test -n "$LEX" && break
12957 test -n "$LEX" || LEX=":"
12961 *) cat >conftest.l <<_ACEOF
12967 e { yyless (input () != 0); }
12968 f { unput (yytext[0]); }
12969 . { BEGIN INITIAL; }
12971 #ifdef YYTEXT_POINTER
12972 extern char *yytext;
12977 return ! yylex () + ! yywrap ();
12980 { { ac_try="$LEX conftest.l"
12981 case "(($ac_try" in
12982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12983 *) ac_try_echo=$ac_try;;
12985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12986 $as_echo "$ac_try_echo"; } >&5
12987 (eval "$LEX conftest.l") 2>&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12990 test $ac_status = 0; }
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12992 $as_echo_n "checking lex output file root... " >&6; }
12993 if test "${ac_cv_prog_lex_root+set}" = set; then :
12994 $as_echo_n "(cached) " >&6
12997 if test -f lex.yy.c; then
12998 ac_cv_prog_lex_root=lex.yy
12999 elif test -f lexyy.c; then
13000 ac_cv_prog_lex_root=lexyy
13002 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13006 $as_echo "$ac_cv_prog_lex_root" >&6; }
13007 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13009 if test -z "${LEXLIB+set}"; then
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13011 $as_echo_n "checking lex library... " >&6; }
13012 if test "${ac_cv_lib_lex+set}" = set; then :
13013 $as_echo_n "(cached) " >&6
13017 ac_cv_lib_lex='none needed'
13018 for ac_lib in '' -lfl -ll; do
13019 LIBS="$ac_lib $ac_save_LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13022 `cat $LEX_OUTPUT_ROOT.c`
13024 if ac_fn_c_try_link "$LINENO"; then :
13025 ac_cv_lib_lex=$ac_lib
13027 rm -f core conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13029 test "$ac_cv_lib_lex" != 'none needed' && break
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13035 $as_echo "$ac_cv_lib_lex" >&6; }
13036 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13041 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13042 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
13043 $as_echo_n "(cached) " >&6
13045 # POSIX says lex can declare yytext either as a pointer or an array; the
13046 # default is implementation-dependent. Figure out which it is, since
13047 # not all implementations provide the %pointer and %array declarations.
13048 ac_cv_prog_lex_yytext_pointer=no
13050 LIBS="$LEXLIB $ac_save_LIBS"
13051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13052 /* end confdefs.h. */
13053 #define YYTEXT_POINTER 1
13054 `cat $LEX_OUTPUT_ROOT.c`
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 ac_cv_prog_lex_yytext_pointer=yes
13059 rm -f core conftest.err conftest.$ac_objext \
13060 conftest$ac_exeext conftest.$ac_ext
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13065 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13066 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13068 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13071 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13074 if test "$LEX" = :; then
13075 LEX=${am_missing_run}flex
13078 ALL_LINGUAS="fr tr es rw id ru fi ja zh_CN"
13079 # If we haven't got the data from the intl directory,
13080 # assume NLS is disabled.
13089 if test -f ../intl/config.intl; then
13090 . ../intl/config.intl
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13093 $as_echo_n "checking whether NLS is requested... " >&6; }
13094 if test x"$USE_NLS" != xyes; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13096 $as_echo "no" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13099 $as_echo "yes" >&6; }
13101 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13105 $as_echo_n "checking for catalogs to be installed... " >&6; }
13106 # Look for .po and .gmo files in the source directory.
13109 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
13110 # If there aren't any .gmo files the shell will give us the
13111 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13113 case "$cat" in *\**)
13116 # The quadruple backslash is collapsed to a double backslash
13117 # by the backticks, then collapsed again by the double quotes,
13118 # leaving us with one backslash in the sed expression (right
13119 # before the dot that mustn't act as a wildcard).
13120 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13121 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
13122 # The user is allowed to set LINGUAS to a list of languages to
13123 # install catalogs for. If it's empty that means "all of them."
13124 if test "x$LINGUAS" = x; then
13125 CATALOGS="$CATALOGS $cat"
13126 XLINGUAS="$XLINGUAS $lang"
13128 case "$LINGUAS" in *$lang*)
13129 CATALOGS="$CATALOGS $cat"
13130 XLINGUAS="$XLINGUAS $lang"
13135 LINGUAS="$XLINGUAS"
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13137 $as_echo "$LINGUAS" >&6; }
13151 if test -n "$ac_aux_dir"; then
13152 case "$ac_aux_dir" in
13153 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
13154 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13157 if test -z "$MKINSTALLDIRS"; then
13158 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13164 $as_echo_n "checking whether NLS is requested... " >&6; }
13165 # Check whether --enable-nls was given.
13166 if test "${enable_nls+set}" = set; then :
13167 enableval=$enable_nls; USE_NLS=$enableval
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13173 $as_echo "$USE_NLS" >&6; }
13180 # Prepare PATH_SEPARATOR.
13181 # The user is always right.
13182 if test "${PATH_SEPARATOR+set}" != set; then
13183 echo "#! /bin/sh" >conf$$.sh
13184 echo "exit 0" >>conf$$.sh
13186 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13194 # Find out how to test for executable files. Don't use a zero-byte file,
13195 # as systems may use methods other than mode bits to determine executability.
13196 cat >conf$$.file <<_ASEOF
13200 chmod +x conf$$.file
13201 if test -x conf$$.file >/dev/null 2>&1; then
13202 ac_executable_p="test -x"
13204 ac_executable_p="test -f"
13208 # Extract the first word of "msgfmt", so it can be a program name with args.
13209 set dummy msgfmt; ac_word=$2
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13211 $as_echo_n "checking for $ac_word... " >&6; }
13212 if test "${ac_cv_path_MSGFMT+set}" = set; then :
13213 $as_echo_n "(cached) " >&6
13217 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13220 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13221 for ac_dir in $PATH; do
13223 test -z "$ac_dir" && ac_dir=.
13224 for ac_exec_ext in '' $ac_executable_extensions; do
13225 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13226 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
13227 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13228 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13235 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13239 MSGFMT="$ac_cv_path_MSGFMT"
13240 if test "$MSGFMT" != ":"; then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13242 $as_echo "$MSGFMT" >&6; }
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13245 $as_echo "no" >&6; }
13248 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13249 set dummy gmsgfmt; ac_word=$2
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13251 $as_echo_n "checking for $ac_word... " >&6; }
13252 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13253 $as_echo_n "(cached) " >&6
13257 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13261 for as_dir in $PATH
13264 test -z "$as_dir" && as_dir=.
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13267 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13275 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13279 GMSGFMT=$ac_cv_path_GMSGFMT
13280 if test -n "$GMSGFMT"; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13282 $as_echo "$GMSGFMT" >&6; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13285 $as_echo "no" >&6; }
13291 # Prepare PATH_SEPARATOR.
13292 # The user is always right.
13293 if test "${PATH_SEPARATOR+set}" != set; then
13294 echo "#! /bin/sh" >conf$$.sh
13295 echo "exit 0" >>conf$$.sh
13297 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13305 # Find out how to test for executable files. Don't use a zero-byte file,
13306 # as systems may use methods other than mode bits to determine executability.
13307 cat >conf$$.file <<_ASEOF
13311 chmod +x conf$$.file
13312 if test -x conf$$.file >/dev/null 2>&1; then
13313 ac_executable_p="test -x"
13315 ac_executable_p="test -f"
13319 # Extract the first word of "xgettext", so it can be a program name with args.
13320 set dummy xgettext; ac_word=$2
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13322 $as_echo_n "checking for $ac_word... " >&6; }
13323 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13324 $as_echo_n "(cached) " >&6
13326 case "$XGETTEXT" in
13328 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13331 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13332 for ac_dir in $PATH; do
13334 test -z "$ac_dir" && ac_dir=.
13335 for ac_exec_ext in '' $ac_executable_extensions; do
13336 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13337 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13338 (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
13339 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13346 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13350 XGETTEXT="$ac_cv_path_XGETTEXT"
13351 if test "$XGETTEXT" != ":"; then
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13353 $as_echo "$XGETTEXT" >&6; }
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13356 $as_echo "no" >&6; }
13362 # Prepare PATH_SEPARATOR.
13363 # The user is always right.
13364 if test "${PATH_SEPARATOR+set}" != set; then
13365 echo "#! /bin/sh" >conf$$.sh
13366 echo "exit 0" >>conf$$.sh
13368 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13376 # Find out how to test for executable files. Don't use a zero-byte file,
13377 # as systems may use methods other than mode bits to determine executability.
13378 cat >conf$$.file <<_ASEOF
13382 chmod +x conf$$.file
13383 if test -x conf$$.file >/dev/null 2>&1; then
13384 ac_executable_p="test -x"
13386 ac_executable_p="test -f"
13390 # Extract the first word of "msgmerge", so it can be a program name with args.
13391 set dummy msgmerge; ac_word=$2
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13393 $as_echo_n "checking for $ac_word... " >&6; }
13394 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13395 $as_echo_n "(cached) " >&6
13397 case "$MSGMERGE" in
13399 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13402 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13403 for ac_dir in $PATH; do
13405 test -z "$ac_dir" && ac_dir=.
13406 for ac_exec_ext in '' $ac_executable_extensions; do
13407 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13408 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13409 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13416 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13420 MSGMERGE="$ac_cv_path_MSGMERGE"
13421 if test "$MSGMERGE" != ":"; then
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13423 $as_echo "$MSGMERGE" >&6; }
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13426 $as_echo "no" >&6; }
13430 if test "$GMSGFMT" != ":"; then
13431 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
13432 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13435 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13437 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13442 if test "$XGETTEXT" != ":"; then
13443 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13444 (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
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13448 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13454 ac_config_commands="$ac_config_commands default-1"
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13460 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13461 # Check whether --enable-maintainer-mode was given.
13462 if test "${enable_maintainer_mode+set}" = set; then :
13463 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13465 USE_MAINTAINER_MODE=no
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13469 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13470 if test $USE_MAINTAINER_MODE = yes; then
13471 MAINTAINER_MODE_TRUE=
13472 MAINTAINER_MODE_FALSE='#'
13474 MAINTAINER_MODE_TRUE='#'
13475 MAINTAINER_MODE_FALSE=
13478 MAINT=$MAINTAINER_MODE_TRUE
13482 GENINSRC_NEVER_TRUE=
13483 GENINSRC_NEVER_FALSE='#'
13485 GENINSRC_NEVER_TRUE='#'
13486 GENINSRC_NEVER_FALSE=
13491 for ac_header in string.h stdlib.h memory.h strings.h unistd.h errno.h sys/types.h limits.h locale.h time.h sys/stat.h
13493 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13494 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13495 eval as_val=\$$as_ac_Header
13496 if test "x$as_val" = x""yes; then :
13497 cat >>confdefs.h <<_ACEOF
13498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
13506 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
13507 if test "${gcc_cv_header_string+set}" = set; then :
13508 $as_echo_n "(cached) " >&6
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13512 #include <string.h>
13513 #include <strings.h>
13522 if ac_fn_c_try_compile "$LINENO"; then :
13523 gcc_cv_header_string=yes
13525 gcc_cv_header_string=no
13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
13530 $as_echo "$gcc_cv_header_string" >&6; }
13531 if test $gcc_cv_header_string = yes; then
13533 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
13538 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
13539 # people who are not cross-compiling but are compiling cross-assemblers.
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
13541 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
13542 if test "${host}" = "${target}"; then
13547 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
13551 $as_echo "$cross_gas" >&6; }
13553 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13554 # for constant arguments. Useless!
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13556 $as_echo_n "checking for working alloca.h... " >&6; }
13557 if test "${ac_cv_working_alloca_h+set}" = set; then :
13558 $as_echo_n "(cached) " >&6
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13562 #include <alloca.h>
13566 char *p = (char *) alloca (2 * sizeof (int));
13572 if ac_fn_c_try_link "$LINENO"; then :
13573 ac_cv_working_alloca_h=yes
13575 ac_cv_working_alloca_h=no
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13581 $as_echo "$ac_cv_working_alloca_h" >&6; }
13582 if test $ac_cv_working_alloca_h = yes; then
13584 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13589 $as_echo_n "checking for alloca... " >&6; }
13590 if test "${ac_cv_func_alloca_works+set}" = set; then :
13591 $as_echo_n "(cached) " >&6
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13596 # define alloca __builtin_alloca
13599 # include <malloc.h>
13600 # define alloca _alloca
13602 # ifdef HAVE_ALLOCA_H
13603 # include <alloca.h>
13608 # ifndef alloca /* predefined by HP cc +Olibcalls */
13619 char *p = (char *) alloca (1);
13625 if ac_fn_c_try_link "$LINENO"; then :
13626 ac_cv_func_alloca_works=yes
13628 ac_cv_func_alloca_works=no
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13634 $as_echo "$ac_cv_func_alloca_works" >&6; }
13636 if test $ac_cv_func_alloca_works = yes; then
13638 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13641 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13642 # that cause trouble. Some versions do not even contain alloca or
13643 # contain a buggy version. If you still want to use their alloca,
13644 # use ar to extract alloca.o from them instead of compiling alloca.c.
13646 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13648 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13652 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13653 if test "${ac_cv_os_cray+set}" = set; then :
13654 $as_echo_n "(cached) " >&6
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13658 #if defined CRAY && ! defined CRAY2
13665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13666 $EGREP "webecray" >/dev/null 2>&1; then :
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13675 $as_echo "$ac_cv_os_cray" >&6; }
13676 if test $ac_cv_os_cray = yes; then
13677 for ac_func in _getb67 GETB67 getb67; do
13678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13680 eval as_val=\$$as_ac_var
13681 if test "x$as_val" = x""yes; then :
13683 cat >>confdefs.h <<_ACEOF
13684 #define CRAY_STACKSEG_END $ac_func
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13694 $as_echo_n "checking stack direction for C alloca... " >&6; }
13695 if test "${ac_cv_c_stack_direction+set}" = set; then :
13696 $as_echo_n "(cached) " >&6
13698 if test "$cross_compiling" = yes; then :
13699 ac_cv_c_stack_direction=0
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13703 $ac_includes_default
13705 find_stack_direction ()
13707 static char *addr = 0;
13712 return find_stack_direction ();
13715 return (&dummy > addr) ? 1 : -1;
13721 return find_stack_direction () < 0;
13724 if ac_fn_c_try_run "$LINENO"; then :
13725 ac_cv_c_stack_direction=1
13727 ac_cv_c_stack_direction=-1
13729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13730 conftest.$ac_objext conftest.beam conftest.$ac_ext
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13735 $as_echo "$ac_cv_c_stack_direction" >&6; }
13736 cat >>confdefs.h <<_ACEOF
13737 #define STACK_DIRECTION $ac_cv_c_stack_direction
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13744 $as_echo_n "checking for inline... " >&6; }
13745 if test "${ac_cv_c_inline+set}" = set; then :
13746 $as_echo_n "(cached) " >&6
13749 for ac_kw in inline __inline__ __inline; do
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13752 #ifndef __cplusplus
13754 static $ac_kw foo_t static_foo () {return 0; }
13755 $ac_kw foo_t foo () {return 0; }
13759 if ac_fn_c_try_compile "$LINENO"; then :
13760 ac_cv_c_inline=$ac_kw
13762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13763 test "$ac_cv_c_inline" != no && break
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13768 $as_echo "$ac_cv_c_inline" >&6; }
13770 case $ac_cv_c_inline in
13773 case $ac_cv_c_inline in
13775 *) ac_val=$ac_cv_c_inline;;
13777 cat >>confdefs.h <<_ACEOF
13778 #ifndef __cplusplus
13779 #define inline $ac_val
13786 # VMS doesn't have unlink.
13787 for ac_func in unlink remove
13789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13791 eval as_val=\$$as_ac_var
13792 if test "x$as_val" = x""yes; then :
13793 cat >>confdefs.h <<_ACEOF
13794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13800 for ac_func in sbrk setlocale
13802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13804 eval as_val=\$$as_ac_var
13805 if test "x$as_val" = x""yes; then :
13806 cat >>confdefs.h <<_ACEOF
13807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13816 $as_echo_n "checking for LC_MESSAGES... " >&6; }
13817 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13818 $as_echo_n "(cached) " >&6
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 #include <locale.h>
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 am_cv_val_LC_MESSAGES=yes
13834 am_cv_val_LC_MESSAGES=no
13836 rm -f core conftest.err conftest.$ac_objext \
13837 conftest$ac_exeext conftest.$ac_ext
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13840 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13841 if test $am_cv_val_LC_MESSAGES = yes; then
13843 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13848 # do we need the math library?
13849 case "${need_libm}" in
13853 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13854 # These system don't have libm, or don't need it
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13858 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13859 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
13860 $as_echo_n "(cached) " >&6
13862 ac_check_lib_save_LIBS=$LIBS
13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13867 /* Override any GCC internal prototype to avoid an error.
13868 Use char because int might match the return type of a GCC
13869 builtin and then its argument prototype would still apply. */
13873 char _mwvalidcheckl ();
13877 return _mwvalidcheckl ();
13882 if ac_fn_c_try_link "$LINENO"; then :
13883 ac_cv_lib_mw__mwvalidcheckl=yes
13885 ac_cv_lib_mw__mwvalidcheckl=no
13887 rm -f core conftest.err conftest.$ac_objext \
13888 conftest$ac_exeext conftest.$ac_ext
13889 LIBS=$ac_check_lib_save_LIBS
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13892 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13893 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13898 $as_echo_n "checking for cos in -lm... " >&6; }
13899 if test "${ac_cv_lib_m_cos+set}" = set; then :
13900 $as_echo_n "(cached) " >&6
13902 ac_check_lib_save_LIBS=$LIBS
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 ac_cv_lib_m_cos=yes
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 LIBS=$ac_check_lib_save_LIBS
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13932 $as_echo "$ac_cv_lib_m_cos" >&6; }
13933 if test "x$ac_cv_lib_m_cos" = x""yes; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13940 $as_echo_n "checking for cos in -lm... " >&6; }
13941 if test "${ac_cv_lib_m_cos+set}" = set; then :
13942 $as_echo_n "(cached) " >&6
13944 ac_check_lib_save_LIBS=$LIBS
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 ac_cv_lib_m_cos=yes
13969 rm -f core conftest.err conftest.$ac_objext \
13970 conftest$ac_exeext conftest.$ac_ext
13971 LIBS=$ac_check_lib_save_LIBS
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13974 $as_echo "$ac_cv_lib_m_cos" >&6; }
13975 if test "x$ac_cv_lib_m_cos" = x""yes; then :
13987 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
13988 # enough, but on some of those systems, the assert macro relies on requoting
13989 # working properly!
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
13991 $as_echo_n "checking for working assert macro... " >&6; }
13992 if test "${gas_cv_assert_ok+set}" = set; then :
13993 $as_echo_n "(cached) " >&6
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 #include <assert.h>
14003 /* check for requoting problems */
14004 static int a, b, c, d;
14006 assert (!strcmp(s, "foo bar baz quux"));
14007 /* check for newline handling */
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 gas_cv_assert_ok=yes
14018 gas_cv_assert_ok=no
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
14024 $as_echo "$gas_cv_assert_ok" >&6; }
14025 test $gas_cv_assert_ok = yes ||
14026 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
14030 # On some systems, the system header files may not declare malloc, realloc,
14031 # and free. There are places where gas needs these functions to have been
14032 # declared -- such as when taking their addresses.
14034 #ifdef HAVE_MEMORY_H
14035 #include <memory.h>
14037 #ifdef HAVE_STRING_H
14038 #include <string.h>
14040 #ifdef HAVE_STRINGS_H
14041 #include <strings.h>
14044 #ifdef HAVE_STDLIB_H
14045 #include <stdlib.h>
14047 #ifdef HAVE_UNISTD_H
14048 #include <unistd.h>
14052 # Does errno.h declare errno, or do we have to add a separate declaration
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
14056 $as_echo_n "checking whether declaration is required for errno... " >&6; }
14057 if test "${gas_cv_decl_needed_errno+set}" = set; then :
14058 $as_echo_n "(cached) " >&6
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 #ifdef HAVE_ERRNO_H
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 gas_cv_decl_needed_errno=no
14082 gas_cv_decl_needed_errno=yes
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
14088 $as_echo "$gas_cv_decl_needed_errno" >&6; }
14089 if test $gas_cv_decl_needed_errno = yes; then
14091 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
14097 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
14098 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then :
14099 $as_echo_n "(cached) " >&6
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14103 #include <unistd.h>
14107 extern int getopt (int, char *const*, const char *);
14112 if ac_fn_c_try_compile "$LINENO"; then :
14113 gas_cv_decl_getopt_unistd_h=yes
14115 gas_cv_decl_getopt_unistd_h=no
14117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
14121 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
14122 if test $gas_cv_decl_getopt_unistd_h = yes; then
14124 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
14130 $as_echo_n "checking whether declaration is required for environ... " >&6; }
14131 if test "${gas_cv_decl_needed_environ+set}" = set; then :
14132 $as_echo_n "(cached) " >&6
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 gas_cv_decl_needed_environ=no
14152 gas_cv_decl_needed_environ=yes
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
14158 $as_echo "$gas_cv_decl_needed_environ" >&6; }
14159 if test $gas_cv_decl_needed_environ = yes; then
14161 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
14167 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
14168 if test "${gas_cv_decl_needed_ffs+set}" = set; then :
14169 $as_echo_n "(cached) " >&6
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14178 typedef int (*f)(int);
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 gas_cv_decl_needed_ffs=no
14189 gas_cv_decl_needed_ffs=yes
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
14195 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
14196 if test $gas_cv_decl_needed_ffs = yes; then
14198 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
14204 $as_echo_n "checking whether declaration is required for free... " >&6; }
14205 if test "${gas_cv_decl_needed_free+set}" = set; then :
14206 $as_echo_n "(cached) " >&6
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14215 typedef void (*f)();
14223 if ac_fn_c_try_link "$LINENO"; then :
14224 gas_cv_decl_needed_free=no
14226 gas_cv_decl_needed_free=yes
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
14232 $as_echo "$gas_cv_decl_needed_free" >&6; }
14233 if test $gas_cv_decl_needed_free = yes; then
14235 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
14241 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
14242 if test "${gas_cv_decl_needed_malloc+set}" = set; then :
14243 $as_echo_n "(cached) " >&6
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14252 typedef char *(*f)();
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 gas_cv_decl_needed_malloc=no
14263 gas_cv_decl_needed_malloc=yes
14265 rm -f core conftest.err conftest.$ac_objext \
14266 conftest$ac_exeext conftest.$ac_ext
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
14269 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
14270 if test $gas_cv_decl_needed_malloc = yes; then
14272 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
14278 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
14279 if test "${gas_cv_decl_needed_sbrk+set}" = set; then :
14280 $as_echo_n "(cached) " >&6
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14289 typedef char *(*f)();
14297 if ac_fn_c_try_link "$LINENO"; then :
14298 gas_cv_decl_needed_sbrk=no
14300 gas_cv_decl_needed_sbrk=yes
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
14306 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
14307 if test $gas_cv_decl_needed_sbrk = yes; then
14309 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
14315 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
14316 if test "${gas_cv_decl_needed_strstr+set}" = set; then :
14317 $as_echo_n "(cached) " >&6
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14326 typedef char *(*f)();
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 gas_cv_decl_needed_strstr=no
14337 gas_cv_decl_needed_strstr=yes
14339 rm -f core conftest.err conftest.$ac_objext \
14340 conftest$ac_exeext conftest.$ac_ext
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
14343 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
14344 if test $gas_cv_decl_needed_strstr = yes; then
14346 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
14351 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
14352 if test "x$ac_cv_have_decl_free" = x""yes; then :
14358 cat >>confdefs.h <<_ACEOF
14359 #define HAVE_DECL_FREE $ac_have_decl
14361 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14362 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
14368 cat >>confdefs.h <<_ACEOF
14369 #define HAVE_DECL_GETENV $ac_have_decl
14371 ac_fn_c_check_decl "$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
14372 if test "x$ac_cv_have_decl_malloc" = x""yes; then :
14378 cat >>confdefs.h <<_ACEOF
14379 #define HAVE_DECL_MALLOC $ac_have_decl
14381 ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
14382 if test "x$ac_cv_have_decl_mempcpy" = x""yes; then :
14388 cat >>confdefs.h <<_ACEOF
14389 #define HAVE_DECL_MEMPCPY $ac_have_decl
14391 ac_fn_c_check_decl "$LINENO" "realloc" "ac_cv_have_decl_realloc" "$ac_includes_default"
14392 if test "x$ac_cv_have_decl_realloc" = x""yes; then :
14398 cat >>confdefs.h <<_ACEOF
14399 #define HAVE_DECL_REALLOC $ac_have_decl
14401 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14402 if test "x$ac_cv_have_decl_stpcpy" = x""yes; then :
14408 cat >>confdefs.h <<_ACEOF
14409 #define HAVE_DECL_STPCPY $ac_have_decl
14411 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
14412 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
14418 cat >>confdefs.h <<_ACEOF
14419 #define HAVE_DECL_STRSTR $ac_have_decl
14421 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
14422 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
14428 cat >>confdefs.h <<_ACEOF
14429 #define HAVE_DECL_VSNPRINTF $ac_have_decl
14431 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
14432 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
14438 cat >>confdefs.h <<_ACEOF
14439 #define HAVE_DECL_ASPRINTF $ac_have_decl
14445 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
14447 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
14451 # Link in zlib if we can. This allows us to write compressed debug sections.
14453 # Use the system's zlib library.
14454 zlibdir="-L\$(top_builddir)/../zlib"
14455 zlibinc="-I\$(top_srcdir)/../zlib"
14457 # Check whether --with-system-zlib was given.
14458 if test "${with_system_zlib+set}" = set; then :
14459 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
14470 # Support for VMS timestamps via cross compile
14472 if test "$ac_cv_header_time_h" = yes; then
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
14474 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
14475 if test "${gas_cv_have_time_type_member_tm_gmtoff+set}" = set; then :
14476 $as_echo_n "(cached) " >&6
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 #define _BSD_SOURCE 1
14486 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
14491 if ac_fn_c_try_compile "$LINENO"; then :
14492 gas_cv_have_time_type_member_tm_gmtoff=yes
14494 gas_cv_have_time_type_member_tm_gmtoff=no
14497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14500 if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
14502 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
14506 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
14510 if test "$ac_cv_header_sys_stat_h" = yes; then
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
14512 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
14513 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+set}" = set; then :
14514 $as_echo_n "(cached) " >&6
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 #define _BSD_SOURCE 1
14520 #include <sys/stat.h>
14524 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
14529 if ac_fn_c_try_compile "$LINENO"; then :
14530 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=yes
14532 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=no
14535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14538 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
14540 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
14544 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
14547 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
14548 if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+set}" = set; then :
14549 $as_echo_n "(cached) " >&6
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14554 #define _BSD_SOURCE 1
14555 #include <sys/stat.h>
14559 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
14564 if ac_fn_c_try_compile "$LINENO"; then :
14565 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=yes
14567 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=no
14570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14573 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
14575 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
14579 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
14591 ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
14593 ac_config_commands="$ac_config_commands default"
14596 cat >confcache <<\_ACEOF
14597 # This file is a shell script that caches the results of configure
14598 # tests run on this system so they can be shared between configure
14599 # scripts and configure runs, see configure's option --config-cache.
14600 # It is not useful on other systems. If it contains results you don't
14601 # want to keep, you may remove or edit it.
14603 # config.status only pays attention to the cache file if you give it
14604 # the --recheck option to rerun configure.
14606 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14607 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14608 # following values.
14612 # The following way of writing the cache mishandles newlines in values,
14613 # but we know of no workaround that is simple, portable, and efficient.
14614 # So, we kill variables containing newlines.
14615 # Ultrix sh set writes to stderr and can't be redirected directly,
14616 # and sets the high bit in the cache file unless we assign to the vars.
14618 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14619 eval ac_val=\$$ac_var
14623 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14624 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14627 _ | IFS | as_nl) ;; #(
14628 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14629 *) { eval $ac_var=; unset $ac_var;} ;;
14635 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14636 *${as_nl}ac_space=\ *)
14637 # `set' does not quote correctly, so add quotes: double-quote
14638 # substitution turns \\\\ into \\, and sed turns \\ into \.
14641 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14644 # `set' quotes correctly as required by POSIX, so do not add quotes.
14645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14654 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14656 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14658 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14659 if test -w "$cache_file"; then
14660 test "x$cache_file" != "x/dev/null" &&
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14662 $as_echo "$as_me: updating cache $cache_file" >&6;}
14663 cat confcache >$cache_file
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14666 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14671 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14672 # Let make expand exec_prefix.
14673 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14675 DEFS=-DHAVE_CONFIG_H
14679 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14680 # 1. Remove the extension, and $U if already installed.
14681 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14682 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14683 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14684 # will be set to the directory where LIBOBJS objects are built.
14685 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14686 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14688 LIBOBJS=$ac_libobjs
14690 LTLIBOBJS=$ac_ltlibobjs
14693 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14694 as_fn_error "conditional \"AMDEP\" was never defined.
14695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14697 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14698 as_fn_error "conditional \"am__fastdepCC\" was never defined.
14699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14701 if test -n "$EXEEXT"; then
14703 am__EXEEXT_FALSE='#'
14705 am__EXEEXT_TRUE='#'
14710 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14711 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14714 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
14715 as_fn_error "conditional \"GENINSRC_NEVER\" was never defined.
14716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14719 : ${CONFIG_STATUS=./config.status}
14721 ac_clean_files_save=$ac_clean_files
14722 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14724 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14726 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14728 # Generated by $as_me.
14729 # Run this file to recreate the current configuration.
14730 # Compiler output produced by configure, useful for debugging
14731 # configure, is in config.log if it exists.
14734 ac_cs_recheck=false
14737 SHELL=\${CONFIG_SHELL-$SHELL}
14740 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14741 ## -------------------- ##
14742 ## M4sh Initialization. ##
14743 ## -------------------- ##
14745 # Be more Bourne compatible
14746 DUALCASE=1; export DUALCASE # for MKS sh
14747 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14750 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14751 # is contrary to our usage. Disable this feature.
14752 alias -g '${1+"$@"}'='"$@"'
14753 setopt NO_GLOB_SUBST
14755 case `(set -o) 2>/dev/null` in #(
14767 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14768 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14769 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14770 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14771 # Prefer a ksh shell builtin over an external printf program on Solaris,
14772 # but without wasting forks for bash or zsh.
14773 if test -z "$BASH_VERSION$ZSH_VERSION" \
14774 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14775 as_echo='print -r --'
14776 as_echo_n='print -rn --'
14777 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14778 as_echo='printf %s\n'
14779 as_echo_n='printf %s'
14781 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14782 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14783 as_echo_n='/usr/ucb/echo -n'
14785 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14786 as_echo_n_body='eval
14790 expr "X$arg" : "X\\(.*\\)$as_nl";
14791 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14793 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14795 export as_echo_n_body
14796 as_echo_n='sh -c $as_echo_n_body as_echo'
14798 export as_echo_body
14799 as_echo='sh -c $as_echo_body as_echo'
14802 # The user is always right.
14803 if test "${PATH_SEPARATOR+set}" != set; then
14805 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14806 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14813 # We need space, tab and new line, in precisely that order. Quoting is
14814 # there to prevent editors from complaining about space-tab.
14815 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14816 # splitting by setting IFS to empty value.)
14819 # Find who we are. Look in the path if we contain no directory separator.
14821 *[\\/]* ) as_myself=$0 ;;
14822 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14823 for as_dir in $PATH
14826 test -z "$as_dir" && as_dir=.
14827 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14833 # We did not find ourselves, most probably we were run as `sh COMMAND'
14834 # in which case we are not to be found in the path.
14835 if test "x$as_myself" = x; then
14838 if test ! -f "$as_myself"; then
14839 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14843 # Unset variables that we do not need and which cause bugs (e.g. in
14844 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14845 # suppresses any "Segmentation fault" message there. '((' could
14846 # trigger a bug in pdksh 5.2.14.
14847 for as_var in BASH_ENV ENV MAIL MAILPATH
14848 do eval test x\${$as_var+set} = xset \
14849 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14862 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14865 # as_fn_error ERROR [LINENO LOG_FD]
14866 # ---------------------------------
14867 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14868 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14869 # script with status $?, using 1 if that was 0.
14872 as_status=$?; test $as_status -eq 0 && as_status=1
14874 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14875 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14877 $as_echo "$as_me: error: $1" >&2
14878 as_fn_exit $as_status
14882 # as_fn_set_status STATUS
14883 # -----------------------
14884 # Set $? to STATUS, without forking.
14885 as_fn_set_status ()
14888 } # as_fn_set_status
14890 # as_fn_exit STATUS
14891 # -----------------
14892 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14896 as_fn_set_status $1
14902 # Portably unset VAR.
14905 { eval $1=; unset $1;}
14907 as_unset=as_fn_unset
14908 # as_fn_append VAR VALUE
14909 # ----------------------
14910 # Append the text in VALUE to the end of the definition contained in VAR. Take
14911 # advantage of any shell optimizations that allow amortized linear growth over
14912 # repeated appends, instead of the typical quadratic growth present in naive
14914 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14915 eval 'as_fn_append ()
14926 # as_fn_arith ARG...
14927 # ------------------
14928 # Perform arithmetic evaluation on the ARGs, and store the result in the
14929 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14930 # must be portable across $(()) and expr.
14931 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14932 eval 'as_fn_arith ()
14939 as_val=`expr "$@" || test $? -eq 1`
14944 if expr a : '\(a\)' >/dev/null 2>&1 &&
14945 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14951 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14952 as_basename=basename
14957 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14963 as_me=`$as_basename -- "$0" ||
14964 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14965 X"$0" : 'X\(//\)$' \| \
14966 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14968 sed '/^.*\/\([^/][^/]*\)\/*$/{
14982 # Avoid depending upon Character Ranges.
14983 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14984 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14985 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14986 as_cr_digits='0123456789'
14987 as_cr_alnum=$as_cr_Letters$as_cr_digits
14989 ECHO_C= ECHO_N= ECHO_T=
14990 case `echo -n x` in #(((((
14992 case `echo 'xy\c'` in
14993 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14995 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15002 rm -f conf$$ conf$$.exe conf$$.file
15003 if test -d conf$$.dir; then
15004 rm -f conf$$.dir/conf$$.file
15007 mkdir conf$$.dir 2>/dev/null
15009 if (echo >conf$$.file) 2>/dev/null; then
15010 if ln -s conf$$.file conf$$ 2>/dev/null; then
15012 # ... but there are two gotchas:
15013 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15014 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15015 # In both cases, we have to default to `cp -p'.
15016 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15018 elif ln conf$$.file conf$$ 2>/dev/null; then
15026 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15027 rmdir conf$$.dir 2>/dev/null
15032 # Create "$as_dir" as a directory, including parents if necessary.
15037 -*) as_dir=./$as_dir;;
15039 test -d "$as_dir" || eval $as_mkdir_p || {
15043 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15044 *) as_qdir=$as_dir;;
15046 as_dirs="'$as_qdir' $as_dirs"
15047 as_dir=`$as_dirname -- "$as_dir" ||
15048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15049 X"$as_dir" : 'X\(//\)[^/]' \| \
15050 X"$as_dir" : 'X\(//\)$' \| \
15051 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15052 $as_echo X"$as_dir" |
15053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15057 /^X\(\/\/\)[^/].*/{
15070 test -d "$as_dir" && break
15072 test -z "$as_dirs" || eval "mkdir $as_dirs"
15073 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15077 if mkdir -p . 2>/dev/null; then
15078 as_mkdir_p='mkdir -p "$as_dir"'
15080 test -d ./-p && rmdir ./-p
15084 if test -x / >/dev/null 2>&1; then
15085 as_test_x='test -x'
15087 if ls -dL / >/dev/null 2>&1; then
15094 if test -d "$1"; then
15100 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15101 ???[sx]*):;;*)false;;esac;fi
15105 as_executable_p=$as_test_x
15107 # Sed expression to map a string onto a valid CPP name.
15108 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15110 # Sed expression to map a string onto a valid variable name.
15111 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15115 ## ----------------------------------- ##
15116 ## Main body of $CONFIG_STATUS script. ##
15117 ## ----------------------------------- ##
15119 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15122 # Save the log message, to keep $0 and so on meaningful, and to
15123 # report actual input values of CONFIG_FILES etc. instead of their
15124 # values after options handling.
15126 This file was extended by gas $as_me 2.26.51, which was
15127 generated by GNU Autoconf 2.64. Invocation command line was
15129 CONFIG_FILES = $CONFIG_FILES
15130 CONFIG_HEADERS = $CONFIG_HEADERS
15131 CONFIG_LINKS = $CONFIG_LINKS
15132 CONFIG_COMMANDS = $CONFIG_COMMANDS
15135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15140 case $ac_config_files in *"
15141 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15144 case $ac_config_headers in *"
15145 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15150 # Files that config.status was made for.
15151 config_files="$ac_config_files"
15152 config_headers="$ac_config_headers"
15153 config_commands="$ac_config_commands"
15157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15159 \`$as_me' instantiates files and other configuration actions
15160 from templates according to the current configuration. Unless the files
15161 and actions are specified as TAGs, all are instantiated by default.
15163 Usage: $0 [OPTION]... [TAG]...
15165 -h, --help print this help, then exit
15166 -V, --version print version number and configuration settings, then exit
15167 -q, --quiet, --silent
15168 do not print progress messages
15169 -d, --debug don't remove temporary files
15170 --recheck update $as_me by reconfiguring in the same conditions
15171 --file=FILE[:TEMPLATE]
15172 instantiate the configuration file FILE
15173 --header=FILE[:TEMPLATE]
15174 instantiate the configuration header FILE
15176 Configuration files:
15179 Configuration headers:
15182 Configuration commands:
15185 Report bugs to the package provider."
15188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15190 gas config.status 2.26.51
15191 configured by $0, generated by GNU Autoconf 2.64,
15192 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15194 Copyright (C) 2009 Free Software Foundation, Inc.
15195 This config.status script is free software; the Free Software Foundation
15196 gives unlimited permission to copy, distribute and modify it."
15203 test -n "\$AWK" || AWK=awk
15206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15207 # The default lists apply if the user does not specify any file.
15213 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15214 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15225 # Handling of the options.
15226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15228 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15229 $as_echo "$ac_cs_version"; exit ;;
15230 --debug | --debu | --deb | --de | --d | -d )
15232 --file | --fil | --fi | --f )
15235 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15237 as_fn_append CONFIG_FILES " '$ac_optarg'"
15238 ac_need_defaults=false;;
15239 --header | --heade | --head | --hea )
15242 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15244 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15245 ac_need_defaults=false;;
15247 # Conflict between --help and --header
15248 as_fn_error "ambiguous option: \`$1'
15249 Try \`$0 --help' for more information.";;
15250 --help | --hel | -h )
15251 $as_echo "$ac_cs_usage"; exit ;;
15252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15253 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15256 # This is an error.
15257 -*) as_fn_error "unrecognized option: \`$1'
15258 Try \`$0 --help' for more information." ;;
15260 *) as_fn_append ac_config_targets " $1"
15261 ac_need_defaults=false ;;
15267 ac_configure_extra_args=
15269 if $ac_cs_silent; then
15271 ac_configure_extra_args="$ac_configure_extra_args --silent"
15275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15276 if \$ac_cs_recheck; then
15277 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15279 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15280 CONFIG_SHELL='$SHELL'
15281 export CONFIG_SHELL
15286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15290 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15291 ## Running $as_me. ##
15297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15301 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15304 # The HP-UX ksh and POSIX shell print the target directory to stdout
15305 # if CDPATH is set.
15306 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15308 sed_quote_subst='$sed_quote_subst'
15309 double_quote_subst='$double_quote_subst'
15310 delay_variable_subst='$delay_variable_subst'
15311 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15312 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15313 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15314 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15315 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15316 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15317 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15318 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15319 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15320 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15321 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15322 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15323 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15324 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15325 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15326 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15327 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15328 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15329 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15330 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15331 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15332 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15333 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15334 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15335 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15336 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15337 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15338 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15339 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15340 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15341 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15342 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15343 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15344 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15345 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15346 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15347 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15348 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15349 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15350 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15351 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15352 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15353 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15354 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15355 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15356 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15357 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15358 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15359 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"`'
15360 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15361 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15362 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15363 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15364 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15365 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15366 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15367 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15368 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15369 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15370 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15371 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15372 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15373 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15374 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15375 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15376 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15377 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15378 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15379 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15380 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15381 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15382 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15383 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15384 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15385 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15386 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15387 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15388 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15389 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15390 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15391 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15392 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15393 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15394 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15395 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15396 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15397 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15398 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15399 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15400 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15401 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15402 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15403 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15404 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15405 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15406 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15407 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15408 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15409 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15410 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15411 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15412 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15413 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15414 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15415 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15416 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15417 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15418 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15419 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15420 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15421 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15422 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15423 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15424 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15425 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15426 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15427 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15428 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15429 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15430 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15433 LTCFLAGS='$LTCFLAGS'
15434 compiler='$compiler_DEFAULT'
15436 # A function that is used when there is no print builtin or printf.
15437 func_fallback_echo ()
15439 eval 'cat <<_LTECHO_EOF
15444 # Quote evaled strings.
15458 deplibs_check_method \
15467 lt_cv_sys_global_symbol_pipe \
15468 lt_cv_sys_global_symbol_to_cdecl \
15469 lt_cv_sys_global_symbol_to_c_name_address \
15470 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15471 lt_prog_compiler_no_builtin_flag \
15472 lt_prog_compiler_wl \
15473 lt_prog_compiler_pic \
15474 lt_prog_compiler_static \
15475 lt_cv_prog_compiler_c_o \
15483 export_dynamic_flag_spec \
15484 whole_archive_flag_spec \
15485 compiler_needs_object \
15487 allow_undefined_flag \
15488 no_undefined_flag \
15489 hardcode_libdir_flag_spec \
15490 hardcode_libdir_flag_spec_ld \
15491 hardcode_libdir_separator \
15496 variables_saved_for_relink \
15498 library_names_spec \
15500 install_override_mode \
15504 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15505 *[\\\\\\\`\\"\\\$]*)
15506 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15509 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15514 # Double-quote double-evaled strings.
15515 for var in reload_cmds \
15516 old_postinstall_cmds \
15517 old_postuninstall_cmds \
15519 extract_expsyms_cmds \
15520 old_archive_from_new_cmds \
15521 old_archive_from_expsyms_cmds \
15523 archive_expsym_cmds \
15525 module_expsym_cmds \
15526 export_symbols_cmds \
15529 postuninstall_cmds \
15531 sys_lib_search_path_spec \
15532 sys_lib_dlsearch_path_spec; do
15533 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15534 *[\\\\\\\`\\"\\\$]*)
15535 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15538 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15543 ac_aux_dir='$ac_aux_dir'
15544 xsi_shell='$xsi_shell'
15545 lt_shell_append='$lt_shell_append'
15547 # See if we are running on zsh, and set the options which allow our
15548 # commands through without removal of \ escapes INIT.
15549 if test -n "\${ZSH_VERSION+set}" ; then
15550 setopt NO_GLOB_SUBST
15556 TIMESTAMP='$TIMESTAMP'
15562 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15563 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15565 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15566 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15567 LINGUAS="${LINGUAS-%UNSET%}"
15569 target_cpu_type=${target_cpu_type}
15570 cgen_cpu_prefix=${cgen_cpu_prefix}
15571 obj_format=${obj_format}
15576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15578 # Handling of arguments.
15579 for ac_config_target in $ac_config_targets
15581 case $ac_config_target in
15582 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15583 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15584 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15585 "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
15586 ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
15587 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15588 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15589 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15590 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15591 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15593 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15598 # If the user did not use the arguments to specify the items to instantiate,
15599 # then the envvar interface is used. Set only those that are not.
15600 # We use the long form for the default assignment because of an extremely
15601 # bizarre bug on SunOS 4.1.3.
15602 if $ac_need_defaults; then
15603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15604 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15605 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15608 # Have a temporary directory for convenience. Make it in the build tree
15609 # simply because there is no reason against having it here, and in addition,
15610 # creating and moving files from /tmp can sometimes cause problems.
15611 # Hook for its removal unless debugging.
15612 # Note that there is a small window in which the directory will not be cleaned:
15613 # after its creation but before its name has been assigned to `$tmp'.
15617 trap 'exit_status=$?
15618 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15620 trap 'as_fn_exit 1' 1 2 13 15
15622 # Create a (secure) tmp directory for tmp files.
15625 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15626 test -n "$tmp" && test -d "$tmp"
15629 tmp=./conf$$-$RANDOM
15630 (umask 077 && mkdir "$tmp")
15631 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15633 # Set up the scripts for CONFIG_FILES section.
15634 # No need to generate them if there are no CONFIG_FILES.
15635 # This happens for instance with `./config.status config.h'.
15636 if test -n "$CONFIG_FILES"; then
15639 ac_cr=`echo X | tr X '\015'`
15640 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15641 # But we know of no other shell where ac_cr would be empty at this
15642 # point, so we can use a bashism as a fallback.
15643 if test "x$ac_cr" = x; then
15644 eval ac_cr=\$\'\\r\'
15646 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15647 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15650 ac_cs_awk_cr=$ac_cr
15653 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15658 echo "cat >conf$$subs.awk <<_ACEOF" &&
15659 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15661 } >conf$$subs.sh ||
15662 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15663 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15665 for ac_last_try in false false false false false :; do
15666 . ./conf$$subs.sh ||
15667 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15669 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15670 if test $ac_delim_n = $ac_delim_num; then
15672 elif $ac_last_try; then
15673 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15678 rm -f conf$$subs.sh
15680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15681 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15685 s/^/S["/; s/!.*/"]=/
15695 s/\(.\{148\}\).*/\1/
15697 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15709 s/\(.\{148\}\).*/\1/
15711 s/["\\]/\\&/g; s/^/"/; s/$/"/
15715 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15720 ' <conf$$subs.awk | sed '
15725 ' >>$CONFIG_STATUS || ac_write_fail=1
15726 rm -f conf$$subs.awk
15727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15729 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15730 for (key in S) S_is_set[key] = 1
15736 nfields = split(line, field, "@")
15738 len = length(field[1])
15739 for (i = 2; i < nfields; i++) {
15741 keylen = length(key)
15742 if (S_is_set[key]) {
15744 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15745 len += length(value) + length(field[++i])
15756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15757 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15758 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15761 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15762 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15765 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15766 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15767 # trailing colons and then remove the whole line if VPATH becomes empty
15768 # (actually we leave an empty line to preserve line numbers).
15769 if test "x$srcdir" = x.; then
15770 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15771 s/:*\$(srcdir):*/:/
15772 s/:*\${srcdir}:*/:/
15774 s/^\([^=]*=[ ]*\):*/\1/
15780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15781 fi # test -n "$CONFIG_FILES"
15783 # Set up the scripts for CONFIG_HEADERS section.
15784 # No need to generate them if there are no CONFIG_HEADERS.
15785 # This happens for instance with `./config.status Makefile'.
15786 if test -n "$CONFIG_HEADERS"; then
15787 cat >"$tmp/defines.awk" <<\_ACAWK ||
15791 # Transform confdefs.h into an awk script `defines.awk', embedded as
15792 # here-document in config.status, that substitutes the proper values into
15793 # config.h.in to produce config.h.
15795 # Create a delimiter string that does not exist in confdefs.h, to ease
15796 # handling of long lines.
15798 for ac_last_try in false false :; do
15799 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15800 if test -z "$ac_t"; then
15802 elif $ac_last_try; then
15803 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15805 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15809 # For the awk script, D is an array of macro values keyed by name,
15810 # likewise P contains macro parameters if any. Preserve backslash
15811 # newline sequences.
15813 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15815 s/.\{148\}/&'"$ac_delim"'/g
15818 s/^[ ]*#[ ]*define[ ][ ]*/ /
15825 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15827 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15831 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15832 D["\1"]=" \3\\\\\\n"\\/p
15834 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15839 s/.\{148\}/&'"$ac_delim"'/g
15844 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15847 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15849 ' <confdefs.h | sed '
15850 s/'"$ac_delim"'/"\\\
15851 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15854 for (key in D) D_is_set[key] = 1
15857 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15859 split(line, arg, " ")
15860 if (arg[1] == "#") {
15864 defundef = substr(arg[1], 2)
15867 split(mac1, mac2, "(") #)
15869 prefix = substr(line, 1, index(line, defundef) - 1)
15870 if (D_is_set[macro]) {
15871 # Preserve the white space surrounding the "#".
15872 print prefix "define", macro P[macro] D[macro]
15875 # Replace #undef with comments. This is necessary, for example,
15876 # in the case of _POSIX_SOURCE, which is predefined and required
15877 # on some systems where configure will not decide to define it.
15878 if (defundef == "undef") {
15879 print "/*", prefix defundef, macro, "*/"
15887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15888 as_fn_error "could not setup config headers machinery" "$LINENO" 5
15889 fi # test -n "$CONFIG_HEADERS"
15892 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15897 :[FHLC]) ac_mode=$ac_tag; continue;;
15899 case $ac_mode$ac_tag in
15901 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15902 :[FH]-) ac_tag=-:-;;
15903 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15920 -) ac_f="$tmp/stdin";;
15921 *) # Look for the file first in the build tree, then in the source tree
15922 # (if the path is not absolute). The absolute path cannot be DOS-style,
15923 # because $ac_f cannot contain `:'.
15927 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15929 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15931 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15932 as_fn_append ac_file_inputs " '$ac_f'"
15935 # Let's still pretend it is `configure' which instantiates (i.e., don't
15936 # use $as_me), people would be surprised to read:
15937 # /* config.h. Generated by config.status. */
15938 configure_input='Generated from '`
15939 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15941 if test x"$ac_file" != x-; then
15942 configure_input="$ac_file. $configure_input"
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15944 $as_echo "$as_me: creating $ac_file" >&6;}
15946 # Neutralize special characters interpreted by sed in replacement strings.
15947 case $configure_input in #(
15948 *\&* | *\|* | *\\* )
15949 ac_sed_conf_input=`$as_echo "$configure_input" |
15950 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15951 *) ac_sed_conf_input=$configure_input;;
15955 *:-:* | *:-) cat >"$tmp/stdin" \
15956 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15961 ac_dir=`$as_dirname -- "$ac_file" ||
15962 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15963 X"$ac_file" : 'X\(//\)[^/]' \| \
15964 X"$ac_file" : 'X\(//\)$' \| \
15965 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15966 $as_echo X"$ac_file" |
15967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15971 /^X\(\/\/\)[^/].*/{
15984 as_dir="$ac_dir"; as_fn_mkdir_p
15988 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15990 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15991 # A ".." for each directory in $ac_dir_suffix.
15992 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15993 case $ac_top_builddir_sub in
15994 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15995 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15998 ac_abs_top_builddir=$ac_pwd
15999 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16000 # for backward compatibility:
16001 ac_top_builddir=$ac_top_build_prefix
16004 .) # We are building in place.
16006 ac_top_srcdir=$ac_top_builddir_sub
16007 ac_abs_top_srcdir=$ac_pwd ;;
16008 [\\/]* | ?:[\\/]* ) # Absolute name.
16009 ac_srcdir=$srcdir$ac_dir_suffix;
16010 ac_top_srcdir=$srcdir
16011 ac_abs_top_srcdir=$srcdir ;;
16012 *) # Relative name.
16013 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16014 ac_top_srcdir=$ac_top_build_prefix$srcdir
16015 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16017 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16027 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16028 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16030 ac_MKDIR_P=$MKDIR_P
16032 [\\/$]* | ?:[\\/]* ) ;;
16033 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16038 # If the template does not know about datarootdir, expand it.
16039 # FIXME: This hack should be removed a few years after 2.60.
16040 ac_datarootdir_hack=; ac_datarootdir_seen=
16051 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16052 *datarootdir*) ac_datarootdir_seen=yes;;
16053 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16055 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16058 ac_datarootdir_hack='
16059 s&@datadir@&$datadir&g
16060 s&@docdir@&$docdir&g
16061 s&@infodir@&$infodir&g
16062 s&@localedir@&$localedir&g
16063 s&@mandir@&$mandir&g
16064 s&\\\${datarootdir}&$datarootdir&g' ;;
16068 # Neutralize VPATH when `$srcdir' = `.'.
16069 # Shell code in configure.ac might set extrasub.
16070 # FIXME: do we really want to maintain this feature?
16071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072 ac_sed_extra="$ac_vpsub
16075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16077 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16078 s|@configure_input@|$ac_sed_conf_input|;t t
16079 s&@top_builddir@&$ac_top_builddir_sub&;t t
16080 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16081 s&@srcdir@&$ac_srcdir&;t t
16082 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16083 s&@top_srcdir@&$ac_top_srcdir&;t t
16084 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16085 s&@builddir@&$ac_builddir&;t t
16086 s&@abs_builddir@&$ac_abs_builddir&;t t
16087 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16088 s&@INSTALL@&$ac_INSTALL&;t t
16089 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16090 $ac_datarootdir_hack
16092 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16093 || as_fn_error "could not create $ac_file" "$LINENO" 5
16095 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16096 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16097 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16099 which seems to be undefined. Please make sure it is defined." >&5
16100 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16101 which seems to be undefined. Please make sure it is defined." >&2;}
16105 -) cat "$tmp/out" && rm -f "$tmp/out";;
16106 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16108 || as_fn_error "could not create $ac_file" "$LINENO" 5
16114 if test x"$ac_file" != x-; then
16116 $as_echo "/* $configure_input */" \
16117 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16118 } >"$tmp/config.h" \
16119 || as_fn_error "could not create $ac_file" "$LINENO" 5
16120 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16122 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16125 mv "$tmp/config.h" "$ac_file" \
16126 || as_fn_error "could not create $ac_file" "$LINENO" 5
16129 $as_echo "/* $configure_input */" \
16130 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16131 || as_fn_error "could not create -" "$LINENO" 5
16133 # Compute "$ac_file"'s index in $config_headers.
16136 for _am_header in $config_headers :; do
16137 case $_am_header in
16138 $_am_arg | $_am_arg:* )
16141 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16144 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16145 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16146 X"$_am_arg" : 'X\(//\)[^/]' \| \
16147 X"$_am_arg" : 'X\(//\)$' \| \
16148 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16149 $as_echo X"$_am_arg" |
16150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16154 /^X\(\/\/\)[^/].*/{
16166 s/.*/./; q'`/stamp-h$_am_stamp_count
16169 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16170 $as_echo "$as_me: executing $ac_file commands" >&6;}
16175 case $ac_file$ac_mode in
16176 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16177 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16178 # are listed without --file. Let's play safe and only enable the eval
16179 # if we detect the quoting.
16180 case $CONFIG_FILES in
16181 *\'*) eval set x "$CONFIG_FILES" ;;
16182 *) set x $CONFIG_FILES ;;
16187 # Strip MF so we end up with the name of the file.
16188 mf=`echo "$mf" | sed -e 's/:.*$//'`
16189 # Check whether this is an Automake generated Makefile or not.
16190 # We used to match only the files named `Makefile.in', but
16191 # some people rename them; so instead we look at the file content.
16192 # Grep'ing the first line is not enough: some people post-process
16193 # each Makefile.in and add a new line on top of each file to say so.
16194 # Grep'ing the whole file is not good either: AIX grep has a line
16195 # limit of 2048, but all sed's we know have understand at least 4000.
16196 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16197 dirpart=`$as_dirname -- "$mf" ||
16198 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16199 X"$mf" : 'X\(//\)[^/]' \| \
16200 X"$mf" : 'X\(//\)$' \| \
16201 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16207 /^X\(\/\/\)[^/].*/{
16223 # Extract the definition of DEPDIR, am__include, and am__quote
16224 # from the Makefile without running `make'.
16225 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16226 test -z "$DEPDIR" && continue
16227 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16228 test -z "am__include" && continue
16229 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16230 # When using ansi2knr, U may be empty or an underscore; expand it
16231 U=`sed -n 's/^U = //p' < "$mf"`
16232 # Find all dependency output files, they are included files with
16233 # $(DEPDIR) in their names. We invoke sed twice because it is the
16234 # simplest approach to changing $(DEPDIR) to its actual value in the
16236 for file in `sed -n "
16237 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16238 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16239 # Make sure the directory exists.
16240 test -f "$dirpart/$file" && continue
16241 fdir=`$as_dirname -- "$file" ||
16242 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16243 X"$file" : 'X\(//\)[^/]' \| \
16244 X"$file" : 'X\(//\)$' \| \
16245 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16246 $as_echo X"$file" |
16247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16251 /^X\(\/\/\)[^/].*/{
16264 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16265 # echo "creating $dirpart/$file"
16266 echo '# dummy' > "$dirpart/$file"
16273 # See if we are running on zsh, and set the options which allow our
16274 # commands through without removal of \ escapes.
16275 if test -n "${ZSH_VERSION+set}" ; then
16276 setopt NO_GLOB_SUBST
16279 cfgfile="${ofile}T"
16280 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16283 cat <<_LT_EOF >> "$cfgfile"
16286 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16287 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16288 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16289 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16291 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16292 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16293 # Written by Gordon Matzigkeit, 1996
16295 # This file is part of GNU Libtool.
16297 # GNU Libtool is free software; you can redistribute it and/or
16298 # modify it under the terms of the GNU General Public License as
16299 # published by the Free Software Foundation; either version 2 of
16300 # the License, or (at your option) any later version.
16302 # As a special exception to the GNU General Public License,
16303 # if you distribute this file as part of a program or library that
16304 # is built using GNU Libtool, you may include this file under the
16305 # same distribution terms that you use for the rest of that program.
16307 # GNU Libtool is distributed in the hope that it will be useful,
16308 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16309 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16310 # GNU General Public License for more details.
16312 # You should have received a copy of the GNU General Public License
16313 # along with GNU Libtool; see the file COPYING. If not, a copy
16314 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16315 # obtained by writing to the Free Software Foundation, Inc.,
16316 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16319 # The names of the tagged configurations supported by this script.
16322 # ### BEGIN LIBTOOL CONFIG
16324 # Which release of libtool.m4 was used?
16325 macro_version=$macro_version
16326 macro_revision=$macro_revision
16328 # Whether or not to build shared libraries.
16329 build_libtool_libs=$enable_shared
16331 # Whether or not to build static libraries.
16332 build_old_libs=$enable_static
16334 # What type of objects to build.
16337 # Whether or not to optimize for fast installation.
16338 fast_install=$enable_fast_install
16340 # Shell to use when invoking shell scripts.
16343 # An echo program that protects backslashes.
16347 host_alias=$host_alias
16351 # The build system.
16352 build_alias=$build_alias
16356 # A sed program that does not truncate output.
16359 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16360 Xsed="\$SED -e 1s/^X//"
16362 # A grep program that handles long lines.
16368 # A literal string matcher.
16371 # A BSD- or MS-compatible name lister.
16374 # Whether we need soft or hard links.
16377 # What is the maximum length of a command?
16378 max_cmd_len=$max_cmd_len
16380 # Object file suffix (normally "o").
16383 # Executable file suffix (normally "").
16386 # whether the shell understands "unset".
16389 # turn spaces into newlines.
16392 # turn newlines into spaces.
16395 # An object symbol dumper.
16396 OBJDUMP=$lt_OBJDUMP
16398 # Method to check whether dependent libraries are shared objects.
16399 deplibs_check_method=$lt_deplibs_check_method
16401 # Command to use when deplibs_check_method == "file_magic".
16402 file_magic_cmd=$lt_file_magic_cmd
16406 AR_FLAGS=$lt_AR_FLAGS
16408 # A symbol stripping program.
16411 # Commands used to install an old-style archive.
16413 old_postinstall_cmds=$lt_old_postinstall_cmds
16414 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16416 # Whether to use a lock for old archive extraction.
16417 lock_old_archive_extraction=$lock_old_archive_extraction
16422 # LTCC compiler flags.
16423 LTCFLAGS=$lt_CFLAGS
16425 # Take the output of nm and produce a listing of raw symbols and C names.
16426 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16428 # Transform the output of nm in a proper C declaration.
16429 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16431 # Transform the output of nm in a C name address pair.
16432 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16434 # Transform the output of nm in a C name address pair when lib prefix is needed.
16435 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16437 # The name of the directory that contains temporary libtool files.
16440 # Used to examine libraries when file_magic_cmd begins with "file".
16441 MAGIC_CMD=$MAGIC_CMD
16443 # Must we lock files when doing compilation?
16444 need_locks=$lt_need_locks
16446 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16447 DSYMUTIL=$lt_DSYMUTIL
16449 # Tool to change global to local symbols on Mac OS X.
16452 # Tool to manipulate fat objects and archives on Mac OS X.
16455 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16458 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16459 OTOOL64=$lt_OTOOL64
16461 # Old archive suffix (normally "a").
16464 # Shared library suffix (normally ".so").
16465 shrext_cmds=$lt_shrext_cmds
16467 # The commands to extract the exported symbol list from a shared archive.
16468 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16470 # Variables whose values should be saved in libtool wrapper scripts and
16471 # restored at link time.
16472 variables_saved_for_relink=$lt_variables_saved_for_relink
16474 # Do we need the "lib" prefix for modules?
16475 need_lib_prefix=$need_lib_prefix
16477 # Do we need a version for libraries?
16478 need_version=$need_version
16480 # Library versioning type.
16481 version_type=$version_type
16483 # Shared library runtime path variable.
16484 runpath_var=$runpath_var
16486 # Shared library path variable.
16487 shlibpath_var=$shlibpath_var
16489 # Is shlibpath searched before the hard-coded library search path?
16490 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16492 # Format of library name prefix.
16493 libname_spec=$lt_libname_spec
16495 # List of archive names. First name is the real one, the rest are links.
16496 # The last name is the one that the linker finds with -lNAME
16497 library_names_spec=$lt_library_names_spec
16499 # The coded name of the library, if different from the real name.
16500 soname_spec=$lt_soname_spec
16502 # Permission mode override for installation of shared libraries.
16503 install_override_mode=$lt_install_override_mode
16505 # Command to use after installation of a shared archive.
16506 postinstall_cmds=$lt_postinstall_cmds
16508 # Command to use after uninstallation of a shared archive.
16509 postuninstall_cmds=$lt_postuninstall_cmds
16511 # Commands used to finish a libtool library installation in a directory.
16512 finish_cmds=$lt_finish_cmds
16514 # As "finish_cmds", except a single script fragment to be evaled but
16516 finish_eval=$lt_finish_eval
16518 # Whether we should hardcode library paths into libraries.
16519 hardcode_into_libs=$hardcode_into_libs
16521 # Compile-time system search path for libraries.
16522 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16524 # Run-time system search path for libraries.
16525 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16527 # Whether dlopen is supported.
16528 dlopen_support=$enable_dlopen
16530 # Whether dlopen of programs is supported.
16531 dlopen_self=$enable_dlopen_self
16533 # Whether dlopen of statically linked programs is supported.
16534 dlopen_self_static=$enable_dlopen_self_static
16536 # Commands to strip libraries.
16537 old_striplib=$lt_old_striplib
16538 striplib=$lt_striplib
16541 # The linker used to build libraries.
16544 # How to create reloadable object files.
16545 reload_flag=$lt_reload_flag
16546 reload_cmds=$lt_reload_cmds
16548 # Commands used to build an old-style archive.
16549 old_archive_cmds=$lt_old_archive_cmds
16551 # A language specific compiler.
16554 # Is the compiler the GNU compiler?
16557 # Compiler flag to turn off builtin functions.
16558 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16560 # How to pass a linker flag through the compiler.
16561 wl=$lt_lt_prog_compiler_wl
16563 # Additional compiler flags for building library objects.
16564 pic_flag=$lt_lt_prog_compiler_pic
16566 # Compiler flag to prevent dynamic linking.
16567 link_static_flag=$lt_lt_prog_compiler_static
16569 # Does compiler simultaneously support -c and -o options?
16570 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16572 # Whether or not to add -lc for building shared libraries.
16573 build_libtool_need_lc=$archive_cmds_need_lc
16575 # Whether or not to disallow shared libs when runtime libs are static.
16576 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16578 # Compiler flag to allow reflexive dlopens.
16579 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16581 # Compiler flag to generate shared objects directly from archives.
16582 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16584 # Whether the compiler copes with passing no objects directly.
16585 compiler_needs_object=$lt_compiler_needs_object
16587 # Create an old-style archive from a shared archive.
16588 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16590 # Create a temporary old-style archive to link instead of a shared archive.
16591 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16593 # Commands used to build a shared archive.
16594 archive_cmds=$lt_archive_cmds
16595 archive_expsym_cmds=$lt_archive_expsym_cmds
16597 # Commands used to build a loadable module if different from building
16598 # a shared archive.
16599 module_cmds=$lt_module_cmds
16600 module_expsym_cmds=$lt_module_expsym_cmds
16602 # Whether we are building with GNU ld or not.
16603 with_gnu_ld=$lt_with_gnu_ld
16605 # Flag that allows shared libraries with undefined symbols to be built.
16606 allow_undefined_flag=$lt_allow_undefined_flag
16608 # Flag that enforces no undefined symbols.
16609 no_undefined_flag=$lt_no_undefined_flag
16611 # Flag to hardcode \$libdir into a binary during linking.
16612 # This must work even if \$libdir does not exist
16613 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16615 # If ld is used when linking, flag to hardcode \$libdir into a binary
16616 # during linking. This must work even if \$libdir does not exist.
16617 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16619 # Whether we need a single "-rpath" flag with a separated argument.
16620 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16622 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16623 # DIR into the resulting binary.
16624 hardcode_direct=$hardcode_direct
16626 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16627 # DIR into the resulting binary and the resulting library dependency is
16628 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16629 # library is relocated.
16630 hardcode_direct_absolute=$hardcode_direct_absolute
16632 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16633 # into the resulting binary.
16634 hardcode_minus_L=$hardcode_minus_L
16636 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16637 # into the resulting binary.
16638 hardcode_shlibpath_var=$hardcode_shlibpath_var
16640 # Set to "yes" if building a shared library automatically hardcodes DIR
16641 # into the library and all subsequent libraries and executables linked
16643 hardcode_automatic=$hardcode_automatic
16645 # Set to yes if linker adds runtime paths of dependent libraries
16646 # to runtime path list.
16647 inherit_rpath=$inherit_rpath
16649 # Whether libtool must link a program against all its dependency libraries.
16650 link_all_deplibs=$link_all_deplibs
16652 # Fix the shell variable \$srcfile for the compiler.
16653 fix_srcfile_path=$lt_fix_srcfile_path
16655 # Set to "yes" if exported symbols are required.
16656 always_export_symbols=$always_export_symbols
16658 # The commands to list exported symbols.
16659 export_symbols_cmds=$lt_export_symbols_cmds
16661 # Symbols that should not be listed in the preloaded symbols.
16662 exclude_expsyms=$lt_exclude_expsyms
16664 # Symbols that must always be exported.
16665 include_expsyms=$lt_include_expsyms
16667 # Commands necessary for linking programs (against libraries) with templates.
16668 prelink_cmds=$lt_prelink_cmds
16670 # Specify filename containing input files.
16671 file_list_spec=$lt_file_list_spec
16673 # How to hardcode a shared library path into an executable.
16674 hardcode_action=$hardcode_action
16676 # ### END LIBTOOL CONFIG
16682 cat <<\_LT_EOF >> "$cfgfile"
16683 # AIX sometimes has problems with the GCC collect2 program. For some
16684 # reason, if we set the COLLECT_NAMES environment variable, the problems
16685 # vanish in a puff of smoke.
16686 if test "X${COLLECT_NAMES+set}" != Xset; then
16688 export COLLECT_NAMES
16695 ltmain="$ac_aux_dir/ltmain.sh"
16698 # We use sed instead of cat because bash on DJGPP gets confused if
16699 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16700 # text mode, it properly converts lines to CR/LF. This bash problem
16701 # is reportedly fixed, but why not run on old versions too?
16702 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16703 || (rm -f "$cfgfile"; exit 1)
16707 cat << \_LT_EOF >> "$cfgfile"
16709 # func_dirname file append nondir_replacement
16710 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16711 # otherwise set result to NONDIR_REPLACEMENT.
16715 */*) func_dirname_result="${1%/*}${2}" ;;
16716 * ) func_dirname_result="${3}" ;;
16720 # func_basename file
16723 func_basename_result="${1##*/}"
16726 # func_dirname_and_basename file append nondir_replacement
16727 # perform func_basename and func_dirname in a single function
16729 # dirname: Compute the dirname of FILE. If nonempty,
16730 # add APPEND to the result, otherwise set result
16731 # to NONDIR_REPLACEMENT.
16732 # value returned in "$func_dirname_result"
16733 # basename: Compute filename of FILE.
16734 # value retuned in "$func_basename_result"
16735 # Implementation must be kept synchronized with func_dirname
16736 # and func_basename. For efficiency, we do not delegate to
16737 # those functions but instead duplicate the functionality here.
16738 func_dirname_and_basename ()
16741 */*) func_dirname_result="${1%/*}${2}" ;;
16742 * ) func_dirname_result="${3}" ;;
16744 func_basename_result="${1##*/}"
16747 # func_stripname prefix suffix name
16748 # strip PREFIX and SUFFIX off of NAME.
16749 # PREFIX and SUFFIX must not contain globbing or regex special
16750 # characters, hashes, percent signs, but SUFFIX may contain a leading
16751 # dot (in which case that matches only a dot).
16754 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16755 # positional parameters, so assign one to ordinary parameter first.
16756 func_stripname_result=${3}
16757 func_stripname_result=${func_stripname_result#"${1}"}
16758 func_stripname_result=${func_stripname_result%"${2}"}
16764 func_opt_split_opt=${1%%=*}
16765 func_opt_split_arg=${1#*=}
16772 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16773 *) func_lo2o_result=${1} ;;
16777 # func_xform libobj-or-source
16780 func_xform_result=${1%.*}.lo
16783 # func_arith arithmetic-term...
16786 func_arith_result=$(( $* ))
16790 # STRING may not start with a hyphen.
16793 func_len_result=${#1}
16798 *) # Bourne compatible functions.
16799 cat << \_LT_EOF >> "$cfgfile"
16801 # func_dirname file append nondir_replacement
16802 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16803 # otherwise set result to NONDIR_REPLACEMENT.
16806 # Extract subdirectory from the argument.
16807 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16808 if test "X$func_dirname_result" = "X${1}"; then
16809 func_dirname_result="${3}"
16811 func_dirname_result="$func_dirname_result${2}"
16815 # func_basename file
16818 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16822 # func_stripname prefix suffix name
16823 # strip PREFIX and SUFFIX off of NAME.
16824 # PREFIX and SUFFIX must not contain globbing or regex special
16825 # characters, hashes, percent signs, but SUFFIX may contain a leading
16826 # dot (in which case that matches only a dot).
16827 # func_strip_suffix prefix name
16831 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16832 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16837 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16838 my_sed_long_arg='1s/^-[^=]*=//'
16843 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16844 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16850 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16853 # func_xform libobj-or-source
16856 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16859 # func_arith arithmetic-term...
16862 func_arith_result=`expr "$@"`
16866 # STRING may not start with a hyphen.
16869 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16875 case $lt_shell_append in
16877 cat << \_LT_EOF >> "$cfgfile"
16879 # func_append var value
16880 # Append VALUE to the end of shell variable VAR.
16888 cat << \_LT_EOF >> "$cfgfile"
16890 # func_append var value
16891 # Append VALUE to the end of shell variable VAR.
16902 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16903 || (rm -f "$cfgfile"; exit 1)
16905 mv -f "$cfgfile" "$ofile" ||
16906 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16911 for ac_file in $CONFIG_FILES; do
16912 # Support "outfile[:infile[:infile...]]"
16914 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16916 # PO directories have a Makefile.in generated from Makefile.in.in.
16917 case "$ac_file" in */Makefile.in)
16918 # Adjust a relative srcdir.
16919 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16920 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
16921 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16922 # In autoconf-2.13 it is called $ac_given_srcdir.
16923 # In autoconf-2.50 it is called $srcdir.
16924 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
16925 case "$ac_given_srcdir" in
16926 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
16927 /*) top_srcdir="$ac_given_srcdir" ;;
16928 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
16930 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16931 rm -f "$ac_dir/POTFILES"
16932 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
16933 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16934 POMAKEFILEDEPS="POTFILES.in"
16935 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16936 # on $ac_dir but don't depend on user-specified configuration
16938 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16939 # The LINGUAS file contains the set of available languages.
16940 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16941 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
16943 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16944 # Hide the ALL_LINGUAS assigment from automake.
16945 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16946 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
16948 # The set of available languages was given in configure.ac.
16949 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16951 case "$ac_given_srcdir" in
16953 *) srcdirpre='$(srcdir)/' ;;
16959 for lang in $ALL_LINGUAS; do
16960 POFILES="$POFILES $srcdirpre$lang.po"
16961 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
16962 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
16963 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
16965 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16966 # environment variable.
16968 if test -n "$ALL_LINGUAS"; then
16969 for presentlang in $ALL_LINGUAS; do
16971 if test "%UNSET%" != "$LINGUAS"; then
16972 desiredlanguages="$LINGUAS"
16974 desiredlanguages="$ALL_LINGUAS"
16976 for desiredlang in $desiredlanguages; do
16977 # Use the presentlang catalog if desiredlang is
16978 # a. equal to presentlang, or
16979 # b. a variant of presentlang (because in this case,
16980 # presentlang can be used as a fallback for messages
16981 # which are not translated in the desiredlang catalog).
16982 case "$desiredlang" in
16983 "$presentlang"*) useit=yes;;
16986 if test $useit = yes; then
16987 INST_LINGUAS="$INST_LINGUAS $presentlang"
16992 if test -n "$INST_LINGUAS"; then
16993 for lang in $INST_LINGUAS; do
16994 CATALOGS="$CATALOGS $lang.gmo"
16997 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
16998 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"
16999 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17000 if test -f "$f"; then
17002 *.orig | *.bak | *~) ;;
17003 *) cat "$f" >> "$ac_dir/Makefile" ;;
17011 "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
17012 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
17013 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
17014 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
17015 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
17016 if test "x$cgen_cpu_prefix" != x ; then
17017 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
17026 ac_clean_files=$ac_clean_files_save
17028 test $ac_write_fail = 0 ||
17029 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17032 # configure is writing to config.log, and then calls config.status.
17033 # config.status does its own redirection, appending to config.log.
17034 # Unfortunately, on DOS this fails, as config.log is still kept open
17035 # by configure, so config.status won't be able to write to it; its
17036 # output is simply discarded. So we exec the FD to /dev/null,
17037 # effectively closing config.log, so it can be properly (re)opened and
17038 # appended to by config.status. When coming back to configure, we
17039 # need to make the FD available again.
17040 if test "$no_create" != yes; then
17042 ac_config_status_args=
17043 test "$silent" = yes &&
17044 ac_config_status_args="$ac_config_status_args --quiet"
17046 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17048 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17049 # would make configure fail if this is the last instruction.
17050 $ac_cs_success || as_fn_exit $?
17052 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17054 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}