2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gas 2.32.51.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
589 PACKAGE_TARNAME='gas'
590 PACKAGE_VERSION='2.32.51'
591 PACKAGE_STRING='gas 2.32.51'
595 ac_unique_file="as.h"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars='am__EXEEXT_FALSE
643 MAINTAINER_MODE_FALSE
676 WARN_CFLAGS_FOR_BUILD
720 INSTALL_STRIP_PROGRAM
781 program_transform_name
794 enable_option_checking
795 enable_dependency_tracking
807 enable_compressed_debug_sections
808 enable_x86_relax_relocations
809 enable_elf_stt_common
810 enable_generate_build_notes
812 enable_default_riscv_attribute
814 enable_build_warnings
817 enable_maintainer_mode
820 ac_precious_vars='build_alias
833 # Initialize some variables set by options.
835 ac_init_version=false
836 ac_unrecognized_opts=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name=s,x,x,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir='${exec_prefix}/bin'
862 sbindir='${exec_prefix}/sbin'
863 libexecdir='${exec_prefix}/libexec'
864 datarootdir='${prefix}/share'
865 datadir='${datarootdir}'
866 sysconfdir='${prefix}/etc'
867 sharedstatedir='${prefix}/com'
868 localstatedir='${prefix}/var'
869 includedir='${prefix}/include'
870 oldincludedir='/usr/include'
871 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir='${datarootdir}/info'
877 libdir='${exec_prefix}/lib'
878 localedir='${datarootdir}/locale'
879 mandir='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\$ac_option
893 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898 # Accept the important Cygnus configure options, so we can diagnose typos.
900 case $ac_dashdash$ac_option in
904 -bindir | --bindir | --bindi | --bind | --bin | --bi)
906 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
909 -build | --build | --buil | --bui | --bu)
910 ac_prev=build_alias ;;
911 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912 build_alias=$ac_optarg ;;
914 -cache-file | --cache-file | --cache-fil | --cache-fi \
915 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916 ac_prev=cache_file ;;
917 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919 cache_file=$ac_optarg ;;
922 cache_file=config.cache ;;
924 -datadir | --datadir | --datadi | --datad)
926 -datadir=* | --datadir=* | --datadi=* | --datad=*)
927 datadir=$ac_optarg ;;
929 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930 | --dataroo | --dataro | --datar)
931 ac_prev=datarootdir ;;
932 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934 datarootdir=$ac_optarg ;;
936 -disable-* | --disable-*)
937 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 as_fn_error $? "invalid feature name: $ac_useropt"
941 ac_useropt_orig=$ac_useropt
942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep=', ';;
950 eval enable_$ac_useropt=no ;;
952 -docdir | --docdir | --docdi | --doc | --do)
954 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
957 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
959 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
962 -enable-* | --enable-*)
963 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 as_fn_error $? "invalid feature name: $ac_useropt"
967 ac_useropt_orig=$ac_useropt
968 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep=', ';;
976 eval enable_$ac_useropt=\$ac_optarg ;;
978 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980 | --exec | --exe | --ex)
981 ac_prev=exec_prefix ;;
982 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984 | --exec=* | --exe=* | --ex=*)
985 exec_prefix=$ac_optarg ;;
987 -gas | --gas | --ga | --g)
988 # Obsolete; use --with-gas.
991 -help | --help | --hel | --he | -h)
993 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994 ac_init_help=recursive ;;
995 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996 ac_init_help=short ;;
998 -host | --host | --hos | --ho)
999 ac_prev=host_alias ;;
1000 -host=* | --host=* | --hos=* | --ho=*)
1001 host_alias=$ac_optarg ;;
1003 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1005 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1007 htmldir=$ac_optarg ;;
1009 -includedir | --includedir | --includedi | --included | --include \
1010 | --includ | --inclu | --incl | --inc)
1011 ac_prev=includedir ;;
1012 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013 | --includ=* | --inclu=* | --incl=* | --inc=*)
1014 includedir=$ac_optarg ;;
1016 -infodir | --infodir | --infodi | --infod | --info | --inf)
1018 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019 infodir=$ac_optarg ;;
1021 -libdir | --libdir | --libdi | --libd)
1023 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024 libdir=$ac_optarg ;;
1026 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027 | --libexe | --libex | --libe)
1028 ac_prev=libexecdir ;;
1029 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030 | --libexe=* | --libex=* | --libe=*)
1031 libexecdir=$ac_optarg ;;
1033 -localedir | --localedir | --localedi | --localed | --locale)
1034 ac_prev=localedir ;;
1035 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036 localedir=$ac_optarg ;;
1038 -localstatedir | --localstatedir | --localstatedi | --localstated \
1039 | --localstate | --localstat | --localsta | --localst | --locals)
1040 ac_prev=localstatedir ;;
1041 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043 localstatedir=$ac_optarg ;;
1045 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1047 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048 mandir=$ac_optarg ;;
1050 -nfp | --nfp | --nf)
1051 # Obsolete; use --without-fp.
1054 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055 | --no-cr | --no-c | -n)
1058 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1062 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064 | --oldin | --oldi | --old | --ol | --o)
1065 ac_prev=oldincludedir ;;
1066 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069 oldincludedir=$ac_optarg ;;
1071 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1073 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074 prefix=$ac_optarg ;;
1076 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077 | --program-pre | --program-pr | --program-p)
1078 ac_prev=program_prefix ;;
1079 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081 program_prefix=$ac_optarg ;;
1083 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084 | --program-suf | --program-su | --program-s)
1085 ac_prev=program_suffix ;;
1086 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088 program_suffix=$ac_optarg ;;
1090 -program-transform-name | --program-transform-name \
1091 | --program-transform-nam | --program-transform-na \
1092 | --program-transform-n | --program-transform- \
1093 | --program-transform | --program-transfor \
1094 | --program-transfo | --program-transf \
1095 | --program-trans | --program-tran \
1096 | --progr-tra | --program-tr | --program-t)
1097 ac_prev=program_transform_name ;;
1098 -program-transform-name=* | --program-transform-name=* \
1099 | --program-transform-nam=* | --program-transform-na=* \
1100 | --program-transform-n=* | --program-transform-=* \
1101 | --program-transform=* | --program-transfor=* \
1102 | --program-transfo=* | --program-transf=* \
1103 | --program-trans=* | --program-tran=* \
1104 | --progr-tra=* | --program-tr=* | --program-t=*)
1105 program_transform_name=$ac_optarg ;;
1107 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1109 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110 pdfdir=$ac_optarg ;;
1112 -psdir | --psdir | --psdi | --psd | --ps)
1114 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118 | -silent | --silent | --silen | --sile | --sil)
1121 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1123 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1125 sbindir=$ac_optarg ;;
1127 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129 | --sharedst | --shareds | --shared | --share | --shar \
1131 ac_prev=sharedstatedir ;;
1132 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1136 sharedstatedir=$ac_optarg ;;
1138 -site | --site | --sit)
1140 -site=* | --site=* | --sit=*)
1143 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1145 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146 srcdir=$ac_optarg ;;
1148 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149 | --syscon | --sysco | --sysc | --sys | --sy)
1150 ac_prev=sysconfdir ;;
1151 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153 sysconfdir=$ac_optarg ;;
1155 -target | --target | --targe | --targ | --tar | --ta | --t)
1156 ac_prev=target_alias ;;
1157 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158 target_alias=$ac_optarg ;;
1160 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1163 -version | --version | --versio | --versi | --vers | -V)
1164 ac_init_version=: ;;
1167 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 as_fn_error $? "invalid package name: $ac_useropt"
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1180 eval with_$ac_useropt=\$ac_optarg ;;
1182 -without-* | --without-*)
1183 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 as_fn_error $? "invalid package name: $ac_useropt"
1187 ac_useropt_orig=$ac_useropt
1188 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep=', ';;
1196 eval with_$ac_useropt=no ;;
1199 # Obsolete; use --with-x.
1202 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203 | --x-incl | --x-inc | --x-in | --x-i)
1204 ac_prev=x_includes ;;
1205 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207 x_includes=$ac_optarg ;;
1209 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211 ac_prev=x_libraries ;;
1212 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214 x_libraries=$ac_optarg ;;
1216 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1221 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1227 eval $ac_envvar=\$ac_optarg
1228 export $ac_envvar ;;
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241 if test -n "$ac_prev"; then
1242 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $? "missing argument to $ac_option"
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1249 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 # Check all directory arguments for consistency.
1255 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val=\$$ac_var
1261 # Remove trailing slashes.
1264 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\$ac_val;;
1267 # Be sure to have absolute directory names.
1269 [\\/$]* | ?:[\\/]* ) continue;;
1270 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1272 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1280 target=$target_alias
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x; then
1284 if test "x$build_alias" = x; then
1285 cross_compiling=maybe
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1294 test "$silent" = yes && exec 6>/dev/null
1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di=`ls -di .` &&
1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error $? "working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error $? "pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var in $ac_precious_vars; do
1358 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_${ac_var}_value=\$${ac_var}
1360 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures gas 2.32.51 to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking ...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/gas]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1434 --build=BUILD configure for building on BUILD [guessed]
1435 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436 --target=TARGET configure for building compilers for TARGET [HOST]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive ) echo "Configuration of gas 2.32.51:";;
1447 --disable-option-checking ignore unrecognized --enable/--with options
1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1450 --enable-dependency-tracking
1451 do not reject slow dependency extractors
1452 --disable-dependency-tracking
1453 speeds up one-time build
1454 --enable-silent-rules less verbose build output (undo: "make V=1")
1455 --disable-silent-rules verbose build output (undo: "make V=0")
1456 --enable-shared[=PKGS] build shared libraries [default=yes]
1457 --enable-static[=PKGS] build static libraries [default=yes]
1458 --enable-fast-install[=PKGS]
1459 optimize for fast installation [default=yes]
1460 --disable-libtool-lock avoid locking (might break parallel builds)
1461 --enable-plugins Enable support for plugins
1462 --disable-largefile omit support for large files
1463 --enable-targets alternative target configurations besides the primary
1464 --enable-checking enable run-time checks
1465 --enable-compressed-debug-sections={all,gas,none}
1466 compress debug sections by default
1467 --enable-x86-relax-relocations
1468 generate x86 relax relocations by default
1469 --enable-elf-stt-common generate ELF common symbols with STT_COMMON type by
1471 --enable-generate-build-notes
1472 generate GNU Build notes if none are provided by the
1474 --enable-x86-used-note generate GNU x86 used ISA and feature properties
1475 --enable-default-riscv-attribute
1476 generate RISC-V arch attribute by default
1477 --enable-werror treat compile warnings as errors
1478 --enable-build-warnings enable build-time compiler warnings
1479 --disable-nls do not use Native Language Support
1480 --enable-maintainer-mode
1481 enable make rules and dependencies not useful (and
1482 sometimes confusing) to the casual installer
1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1487 --with-pic try to use only PIC/non-PIC objects [default=use
1489 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1490 --with-cpu=CPU default cpu variant is CPU (currently only supported
1492 --with-system-zlib use installed libz
1494 Some influential environment variables:
1495 CC C compiler command
1496 CFLAGS C compiler flags
1497 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1498 nonstandard directory <lib dir>
1499 LIBS libraries to pass to the linker, e.g. -l<library>
1500 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1501 you have headers in a nonstandard directory <include dir>
1503 YACC The `Yet Another Compiler Compiler' implementation to use.
1504 Defaults to the first program found out of: `bison -y', `byacc',
1506 YFLAGS The list of arguments that will be passed by default to $YACC.
1507 This script will default YFLAGS to the empty string to avoid a
1508 default value of `-d' given by some make applications.
1510 Use these variables to override the choices made by `configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to the package provider.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 gas configure 2.32.51
1577 generated by GNU Autoconf 2.69
1579 Copyright (C) 2012 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1586 ## ------------------------ ##
1587 ## Autoconf initialization. ##
1588 ## ------------------------ ##
1590 # ac_fn_c_try_compile LINENO
1591 # --------------------------
1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1593 ac_fn_c_try_compile ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext
1597 if { { ac_try="$ac_compile"
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_compile") 2>conftest.err
1606 if test -s conftest.err; then
1607 grep -v '^ *+' conftest.err >conftest.er1
1608 cat conftest.er1 >&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest.$ac_objext; then :
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status $ac_retval
1626 } # ac_fn_c_try_compile
1628 # ac_fn_c_try_link LINENO
1629 # -----------------------
1630 # Try to link conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 rm -f conftest.$ac_objext conftest$ac_exeext
1635 if { { ac_try="$ac_link"
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_link") 2>conftest.err
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } && {
1651 test -z "$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1653 } && test -s conftest$ac_exeext && {
1654 test "$cross_compiling" = yes ||
1655 test -x conftest$ac_exeext
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1664 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1665 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1666 # interfere with the next link command; also delete a directory that is
1667 # left behind by Apple's compiler. We do this before executing the actions.
1668 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 as_fn_set_status $ac_retval
1672 } # ac_fn_c_try_link
1674 # ac_fn_c_try_cpp LINENO
1675 # ----------------------
1676 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { { ac_try="$ac_cpp conftest.$ac_ext"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } > conftest.i && {
1696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707 as_fn_set_status $ac_retval
1711 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1712 # -------------------------------------------------------
1713 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1714 # the include files in INCLUDES and setting the cache variable VAR
1716 ac_fn_c_check_header_mongrel ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if eval \${$3+:} false; then :
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if eval \${$3+:} false; then :
1723 $as_echo_n "(cached) " >&6
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1729 # Is the header compilable?
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1731 $as_echo_n "checking $2 usability... " >&6; }
1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1737 if ac_fn_c_try_compile "$LINENO"; then :
1738 ac_header_compiler=yes
1740 ac_header_compiler=no
1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1744 $as_echo "$ac_header_compiler" >&6; }
1746 # Is the header present?
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1748 $as_echo_n "checking $2 presence... " >&6; }
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1753 if ac_fn_c_try_cpp "$LINENO"; then :
1754 ac_header_preproc=yes
1756 ac_header_preproc=no
1758 rm -f conftest.err conftest.i conftest.$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1760 $as_echo "$ac_header_preproc" >&6; }
1762 # So? What about this header?
1763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1766 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1772 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1774 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1776 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1778 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 eval "$3=\$ac_header_compiler"
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 } # ac_fn_c_check_header_mongrel
1798 # ac_fn_c_try_run LINENO
1799 # ----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801 # that executables *can* be run.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_link"
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>&5
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1816 { { case "(($ac_try" in
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_try") 2>&5
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; }; }; then :
1828 $as_echo "$as_me: program exited with status $ac_status" >&5
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=$ac_status
1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 as_fn_set_status $ac_retval
1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1841 # -------------------------------------------------------
1842 # Tests whether HEADER exists and can be compiled using the include files in
1843 # INCLUDES, setting the cache variable VAR accordingly.
1844 ac_fn_c_check_header_compile ()
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if eval \${$3+:} false; then :
1850 $as_echo_n "(cached) " >&6
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1857 if ac_fn_c_try_compile "$LINENO"; then :
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 } # ac_fn_c_check_header_compile
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880 $as_echo_n "(cached) " >&6
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1894 # include <limits.h>
1896 # include <assert.h>
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1923 if ac_fn_c_try_link "$LINENO"; then :
1928 rm -f core conftest.err conftest.$ac_objext \
1929 conftest$ac_exeext conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_func
1938 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1939 # -------------------------------------------
1940 # Tests whether TYPE exists after having included INCLUDES, setting cache
1941 # variable VAR accordingly.
1942 ac_fn_c_check_type ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1946 $as_echo_n "checking for $2... " >&6; }
1947 if eval \${$3+:} false; then :
1948 $as_echo_n "(cached) " >&6
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1963 if ac_fn_c_try_compile "$LINENO"; then :
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1976 if ac_fn_c_try_compile "$LINENO"; then :
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990 } # ac_fn_c_check_type
1992 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1993 # ---------------------------------------------
1994 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1996 ac_fn_c_check_decl ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 as_decl_name=`echo $2|sed 's/ *(.*//'`
2000 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2002 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2003 if eval \${$3+:} false; then :
2004 $as_echo_n "(cached) " >&6
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2012 #ifndef $as_decl_name
2014 (void) $as_decl_use;
2016 (void) $as_decl_name;
2024 if ac_fn_c_try_compile "$LINENO"; then :
2029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033 $as_echo "$ac_res" >&6; }
2034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2036 } # ac_fn_c_check_decl
2037 cat >config.log <<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2041 It was created by gas $as_me 2.32.51, which was
2042 generated by GNU Autoconf 2.69. Invocation command line was
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir=.
2078 $as_echo "PATH: $as_dir"
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2102 ac_must_keep_next=false
2108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2113 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2118 as_fn_append ac_configure_args1 " '$ac_arg'"
2119 if test $ac_must_keep_next = true; then
2120 ac_must_keep_next=false # Got value, back to normal.
2123 *=* | --config-cache | -C | -disable-* | --disable-* \
2124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126 | -with-* | --with-* | -without-* | --without-* | --x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2131 -* ) ac_must_keep_next=true ;;
2134 as_fn_append ac_configure_args " '$ac_arg'"
2139 { ac_configure_args0=; unset ac_configure_args0;}
2140 { ac_configure_args1=; unset ac_configure_args1;}
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2152 $as_echo "## ---------------- ##
2153 ## Cache variables. ##
2154 ## ---------------- ##"
2156 # The following way of writing the cache mishandles newlines in values,
2158 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2159 eval ac_val=\$$ac_var
2163 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2164 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2167 _ | IFS | as_nl) ;; #(
2168 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2169 *) { eval $ac_var=; unset $ac_var;} ;;
2174 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2175 *${as_nl}ac_space=\ *)
2177 "s/'\''/'\''\\\\'\'''\''/g;
2178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2188 $as_echo "## ----------------- ##
2189 ## Output variables. ##
2190 ## ----------------- ##"
2192 for ac_var in $ac_subst_vars
2194 eval ac_val=\$$ac_var
2196 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 $as_echo "$ac_var='\''$ac_val'\''"
2202 if test -n "$ac_subst_files"; then
2203 $as_echo "## ------------------- ##
2204 ## File substitutions. ##
2205 ## ------------------- ##"
2207 for ac_var in $ac_subst_files
2209 eval ac_val=\$$ac_var
2211 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2213 $as_echo "$ac_var='\''$ac_val'\''"
2218 if test -s confdefs.h; then
2219 $as_echo "## ----------- ##
2226 test "$ac_signal" != 0 &&
2227 $as_echo "$as_me: caught signal $ac_signal"
2228 $as_echo "$as_me: exit $exit_status"
2230 rm -f core *.core core.conftest.* &&
2231 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2234 for ac_signal in 1 2 13 15; do
2235 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2239 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2240 rm -f -r conftest* confdefs.h
2242 $as_echo "/* confdefs.h */" > confdefs.h
2244 # Predefined preprocessor variables.
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_NAME "$PACKAGE_NAME"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_URL "$PACKAGE_URL"
2271 # Let the site file select an alternate cache file if it wants to.
2272 # Prefer an explicitly selected file to automatically selected ones.
2275 if test -n "$CONFIG_SITE"; then
2276 # We do not want a PATH search for config.site.
2277 case $CONFIG_SITE in #((
2278 -*) ac_site_file1=./$CONFIG_SITE;;
2279 */*) ac_site_file1=$CONFIG_SITE;;
2280 *) ac_site_file1=./$CONFIG_SITE;;
2282 elif test "x$prefix" != xNONE; then
2283 ac_site_file1=$prefix/share/config.site
2284 ac_site_file2=$prefix/etc/config.site
2286 ac_site_file1=$ac_default_prefix/share/config.site
2287 ac_site_file2=$ac_default_prefix/etc/config.site
2289 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2291 test "x$ac_site_file" = xNONE && continue
2292 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2294 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2295 sed 's/^/| /' "$ac_site_file" >&5
2297 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299 as_fn_error $? "failed to load site script $ac_site_file
2300 See \`config.log' for more details" "$LINENO" 5; }
2304 if test -r "$cache_file"; then
2305 # Some versions of bash will fail to source /dev/null (special files
2306 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2307 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2309 $as_echo "$as_me: loading cache $cache_file" >&6;}
2311 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2312 *) . "./$cache_file";;
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2317 $as_echo "$as_me: creating cache $cache_file" >&6;}
2321 # Check that the precious variables saved in the cache have kept the same
2323 ac_cache_corrupted=false
2324 for ac_var in $ac_precious_vars; do
2325 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2326 eval ac_new_set=\$ac_env_${ac_var}_set
2327 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2328 eval ac_new_val=\$ac_env_${ac_var}_value
2329 case $ac_old_set,$ac_new_set in
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2332 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2333 ac_cache_corrupted=: ;;
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2336 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2337 ac_cache_corrupted=: ;;
2340 if test "x$ac_old_val" != "x$ac_new_val"; then
2341 # differences in whitespace do not lead to failure.
2342 ac_old_val_w=`echo x $ac_old_val`
2343 ac_new_val_w=`echo x $ac_new_val`
2344 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2346 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2347 ac_cache_corrupted=:
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2350 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2351 eval $ac_var=\$ac_old_val
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2354 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2356 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2359 # Pass precious variables to config.status.
2360 if test "$ac_new_set" = set; then
2362 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2363 *) ac_arg=$ac_var=$ac_new_val ;;
2365 case " $ac_configure_args " in
2366 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2367 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2371 if $ac_cache_corrupted; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2375 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2376 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2378 ## -------------------- ##
2379 ## Main body of script. ##
2380 ## -------------------- ##
2383 ac_cpp='$CPP $CPPFLAGS'
2384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2395 for ac_dir in .. "$srcdir"/..; do
2396 if test -f "$ac_dir/install-sh"; then
2398 ac_install_sh="$ac_aux_dir/install-sh -c"
2400 elif test -f "$ac_dir/install.sh"; then
2402 ac_install_sh="$ac_aux_dir/install.sh -c"
2404 elif test -f "$ac_dir/shtool"; then
2406 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 if test -z "$ac_aux_dir"; then
2411 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2414 # These three variables are undocumented and unsupported,
2415 # and are intended to be withdrawn in a future Autoconf release.
2416 # They can cause serious problems if a builder's source tree is in a directory
2417 # whose full name contains unusual characters.
2418 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2419 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2420 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2423 # Make sure we can run config.sub.
2424 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2425 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2428 $as_echo_n "checking build system type... " >&6; }
2429 if ${ac_cv_build+:} false; then :
2430 $as_echo_n "(cached) " >&6
2432 ac_build_alias=$build_alias
2433 test "x$ac_build_alias" = x &&
2434 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2435 test "x$ac_build_alias" = x &&
2436 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2442 $as_echo "$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2445 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2448 ac_save_IFS=$IFS; IFS='-'
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2458 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2462 $as_echo_n "checking host system type... " >&6; }
2463 if ${ac_cv_host+:} false; then :
2464 $as_echo_n "(cached) " >&6
2466 if test "x$host_alias" = x; then
2467 ac_cv_host=$ac_cv_build
2469 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2470 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2475 $as_echo "$ac_cv_host" >&6; }
2478 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2481 ac_save_IFS=$IFS; IFS='-'
2487 # Remember, the first character of IFS is used to create $*,
2488 # except with old shells:
2491 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2495 $as_echo_n "checking target system type... " >&6; }
2496 if ${ac_cv_target+:} false; then :
2497 $as_echo_n "(cached) " >&6
2499 if test "x$target_alias" = x; then
2500 ac_cv_target=$ac_cv_host
2502 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2503 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2508 $as_echo "$ac_cv_target" >&6; }
2509 case $ac_cv_target in
2511 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2513 target=$ac_cv_target
2514 ac_save_IFS=$IFS; IFS='-'
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2524 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2527 # The aliases save the names the user supplied, while $host etc.
2528 # will get canonicalized.
2529 test -n "$target_alias" &&
2530 test "$program_prefix$program_suffix$program_transform_name" = \
2532 program_prefix=${target_alias}-
2533 # Expand $ac_aux_dir to an absolute path.
2534 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2537 ac_cpp='$CPP $CPPFLAGS'
2538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2541 if test -n "$ac_tool_prefix"; then
2542 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2543 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2545 $as_echo_n "checking for $ac_word... " >&6; }
2546 if ${ac_cv_prog_CC+:} false; then :
2547 $as_echo_n "(cached) " >&6
2549 if test -n "$CC"; then
2550 ac_cv_prog_CC="$CC" # Let the user override the test.
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir=.
2557 for ac_exec_ext in '' $ac_executable_extensions; do
2558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2559 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 if test -n "$CC"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2572 $as_echo "$CC" >&6; }
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2575 $as_echo "no" >&6; }
2580 if test -z "$ac_cv_prog_CC"; then
2582 # Extract the first word of "gcc", so it can be a program name with args.
2583 set dummy gcc; ac_word=$2
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2585 $as_echo_n "checking for $ac_word... " >&6; }
2586 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2587 $as_echo_n "(cached) " >&6
2589 if test -n "$ac_ct_CC"; then
2590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2599 ac_cv_prog_ac_ct_CC="gcc"
2600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2610 if test -n "$ac_ct_CC"; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2612 $as_echo "$ac_ct_CC" >&6; }
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615 $as_echo "no" >&6; }
2618 if test "x$ac_ct_CC" = x; then
2621 case $cross_compiling:$ac_tool_warned in
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2625 ac_tool_warned=yes ;;
2633 if test -z "$CC"; then
2634 if test -n "$ac_tool_prefix"; then
2635 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2636 set dummy ${ac_tool_prefix}cc; ac_word=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if ${ac_cv_prog_CC+:} false; then :
2640 $as_echo_n "(cached) " >&6
2642 if test -n "$CC"; then
2643 ac_cv_prog_CC="$CC" # Let the user override the test.
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_CC="${ac_tool_prefix}cc"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 if test -n "$CC"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665 $as_echo "$CC" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2674 if test -z "$CC"; then
2675 # Extract the first word of "cc", so it can be a program name with args.
2676 set dummy cc; ac_word=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678 $as_echo_n "checking for $ac_word... " >&6; }
2679 if ${ac_cv_prog_CC+:} false; then :
2680 $as_echo_n "(cached) " >&6
2682 if test -n "$CC"; then
2683 ac_cv_prog_CC="$CC" # Let the user override the test.
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir=.
2691 for ac_exec_ext in '' $ac_executable_extensions; do
2692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2694 ac_prog_rejected=yes
2698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 if test $ac_prog_rejected = yes; then
2706 # We found a bogon in the path, so make sure we never use it.
2707 set dummy $ac_cv_prog_CC
2709 if test $# != 0; then
2710 # We chose a different compiler from the bogus one.
2711 # However, it has the same basename, so the bogon will be chosen
2712 # first if we set CC to just the basename; use the full file name.
2714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2720 if test -n "$CC"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2722 $as_echo "$CC" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2730 if test -z "$CC"; then
2731 if test -n "$ac_tool_prefix"; then
2732 for ac_prog in cl.exe
2734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737 $as_echo_n "checking for $ac_word... " >&6; }
2738 if ${ac_cv_prog_CC+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 if test -n "$CC"; then
2742 ac_cv_prog_CC="$CC" # Let the user override the test.
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 test -z "$as_dir" && as_dir=.
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2751 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 if test -n "$CC"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2764 $as_echo "$CC" >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 $as_echo "no" >&6; }
2771 test -n "$CC" && break
2774 if test -z "$CC"; then
2776 for ac_prog in cl.exe
2778 # Extract the first word of "$ac_prog", so it can be a program name with args.
2779 set dummy $ac_prog; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$ac_ct_CC"; then
2786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_ac_ct_CC="$ac_prog"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2806 if test -n "$ac_ct_CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2808 $as_echo "$ac_ct_CC" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2815 test -n "$ac_ct_CC" && break
2818 if test "x$ac_ct_CC" = x; then
2821 case $cross_compiling:$ac_tool_warned in
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825 ac_tool_warned=yes ;;
2834 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2836 as_fn_error $? "no acceptable C compiler found in \$PATH
2837 See \`config.log' for more details" "$LINENO" 5; }
2839 # Provide some information about the compiler.
2840 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2843 for ac_option in --version -v -V -qversion; do
2844 { { ac_try="$ac_compiler $ac_option >&5"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2850 $as_echo "$ac_try_echo"; } >&5
2851 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2853 if test -s conftest.err; then
2855 ... rest of stderr output deleted ...
2856 10q' conftest.err >conftest.er1
2857 cat conftest.er1 >&5
2859 rm -f conftest.er1 conftest.err
2860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2861 test $ac_status = 0; }
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2875 ac_clean_files_save=$ac_clean_files
2876 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2877 # Try to create an executable without -o first, disregard a.out.
2878 # It will help us diagnose broken compilers, and finding out an intuition
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2881 $as_echo_n "checking whether the C compiler works... " >&6; }
2882 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2884 # The possible output files:
2885 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2888 for ac_file in $ac_files
2891 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2892 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2897 if { { ac_try="$ac_link_default"
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2903 $as_echo "$ac_try_echo"; } >&5
2904 (eval "$ac_link_default") 2>&5
2906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; }; then :
2908 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2909 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2910 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2911 # so that the user can short-circuit this test for compilers unknown to
2913 for ac_file in $ac_files ''
2915 test -f "$ac_file" || continue
2917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2920 # We found the default executable, but exeext='' is most
2924 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2926 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2928 # We set ac_cv_exeext here because the later test for it is not
2929 # safe: cross compilers may not add the suffix if given an `-o'
2930 # argument, so we may need to know it at that point already.
2931 # Even if this section looks crufty: it has the advantage of
2938 test "$ac_cv_exeext" = no && ac_cv_exeext=
2943 if test -z "$ac_file"; then :
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 as_fn_error 77 "C compiler cannot create executables
2952 See \`config.log' for more details" "$LINENO" 5; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2955 $as_echo "yes" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2958 $as_echo_n "checking for C compiler default output file name... " >&6; }
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2960 $as_echo "$ac_file" >&6; }
2961 ac_exeext=$ac_cv_exeext
2963 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2964 ac_clean_files=$ac_clean_files_save
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2966 $as_echo_n "checking for suffix of executables... " >&6; }
2967 if { { ac_try="$ac_link"
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2973 $as_echo "$ac_try_echo"; } >&5
2974 (eval "$ac_link") 2>&5
2976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2977 test $ac_status = 0; }; then :
2978 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2979 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2980 # work properly (i.e., refer to `conftest.exe'), while it won't with
2982 for ac_file in conftest.exe conftest conftest.*; do
2983 test -f "$ac_file" || continue
2985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2986 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2995 See \`config.log' for more details" "$LINENO" 5; }
2997 rm -f conftest conftest$ac_cv_exeext
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2999 $as_echo "$ac_cv_exeext" >&6; }
3001 rm -f conftest.$ac_ext
3002 EXEEXT=$ac_cv_exeext
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3010 FILE *f = fopen ("conftest.out", "w");
3011 return ferror (f) || fclose (f) != 0;
3017 ac_clean_files="$ac_clean_files conftest.out"
3018 # Check that the compiler produces executables we can run. If not, either
3019 # the compiler is broken, or we cross compile.
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3021 $as_echo_n "checking whether we are cross compiling... " >&6; }
3022 if test "$cross_compiling" != yes; then
3023 { { ac_try="$ac_link"
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_link") 2>&5
3032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033 test $ac_status = 0; }
3034 if { ac_try='./conftest$ac_cv_exeext'
3035 { { case "(($ac_try" in
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040 $as_echo "$ac_try_echo"; } >&5
3041 (eval "$ac_try") 2>&5
3043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3044 test $ac_status = 0; }; }; then
3047 if test "$cross_compiling" = maybe; then
3050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 as_fn_error $? "cannot run C compiled programs.
3053 If you meant to cross compile, use \`--host'.
3054 See \`config.log' for more details" "$LINENO" 5; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3059 $as_echo "$cross_compiling" >&6; }
3061 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3062 ac_clean_files=$ac_clean_files_save
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3064 $as_echo_n "checking for suffix of object files... " >&6; }
3065 if ${ac_cv_objext+:} false; then :
3066 $as_echo_n "(cached) " >&6
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3079 rm -f conftest.o conftest.obj
3080 if { { ac_try="$ac_compile"
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_compile") 2>&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; }; then :
3091 for ac_file in conftest.o conftest.obj conftest.*; do
3092 test -f "$ac_file" || continue;
3094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3095 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3100 $as_echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3105 as_fn_error $? "cannot compute suffix of object files: cannot compile
3106 See \`config.log' for more details" "$LINENO" 5; }
3108 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3111 $as_echo "$ac_cv_objext" >&6; }
3112 OBJEXT=$ac_cv_objext
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3115 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3116 if ${ac_cv_c_compiler_gnu+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3133 if ac_fn_c_try_compile "$LINENO"; then :
3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3139 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3143 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3144 if test $ac_compiler_gnu = yes; then
3149 ac_test_CFLAGS=${CFLAGS+set}
3150 ac_save_CFLAGS=$CFLAGS
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3152 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3153 if ${ac_cv_prog_cc_g+:} false; then :
3154 $as_echo_n "(cached) " >&6
3156 ac_save_c_werror_flag=$ac_c_werror_flag
3157 ac_c_werror_flag=yes
3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3171 if ac_fn_c_try_compile "$LINENO"; then :
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3186 if ac_fn_c_try_compile "$LINENO"; then :
3189 ac_c_werror_flag=$ac_save_c_werror_flag
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3202 if ac_fn_c_try_compile "$LINENO"; then :
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 ac_c_werror_flag=$ac_save_c_werror_flag
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3213 $as_echo "$ac_cv_prog_cc_g" >&6; }
3214 if test "$ac_test_CFLAGS" = set; then
3215 CFLAGS=$ac_save_CFLAGS
3216 elif test $ac_cv_prog_cc_g = yes; then
3217 if test "$GCC" = yes; then
3223 if test "$GCC" = yes; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3230 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3231 if ${ac_cv_prog_cc_c89+:} false; then :
3232 $as_echo_n "(cached) " >&6
3234 ac_cv_prog_cc_c89=no
3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3241 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3242 struct buf { int x; };
3243 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3244 static char *e (p, i)
3250 static char *f (char * (*g) (char **, int), char **p, ...)
3255 s = g (p, va_arg (v,int));
3260 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3261 function prototypes and stuff, but not '\xHH' hex character constants.
3262 These don't provoke an error unfortunately, instead are silently treated
3263 as 'x'. The following induces an error, until -std is added to get
3264 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3265 array size at least. It's necessary to write '\x00'==0 to get something
3266 that's true only with -std. */
3267 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3269 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3270 inside strings and character constants. */
3272 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3274 int test (int i, double x);
3275 struct s1 {int (*f) (int a);};
3276 struct s2 {int (*f) (double a);};
3277 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3283 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3288 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3289 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3291 CC="$ac_save_CC $ac_arg"
3292 if ac_fn_c_try_compile "$LINENO"; then :
3293 ac_cv_prog_cc_c89=$ac_arg
3295 rm -f core conftest.err conftest.$ac_objext
3296 test "x$ac_cv_prog_cc_c89" != "xno" && break
3298 rm -f conftest.$ac_ext
3303 case "x$ac_cv_prog_cc_c89" in
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3306 $as_echo "none needed" >&6; } ;;
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3309 $as_echo "unsupported" >&6; } ;;
3311 CC="$CC $ac_cv_prog_cc_c89"
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3313 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3315 if test "x$ac_cv_prog_cc_c89" != xno; then :
3320 ac_cpp='$CPP $CPPFLAGS'
3321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3326 ac_cpp='$CPP $CPPFLAGS'
3327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3331 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3332 if ${am_cv_prog_cc_c_o+:} false; then :
3333 $as_echo_n "(cached) " >&6
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 # Make sure it works both with $CC and with simple cc.
3347 # Following AC_PROG_CC_C_O, we do the test twice because some
3348 # compilers refuse to overwrite an existing .o file with -o,
3349 # though they will create one.
3350 am_cv_prog_cc_c_o=yes
3352 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3353 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } \
3357 && test -f conftest2.$ac_objext; then
3360 am_cv_prog_cc_c_o=no
3364 rm -f core conftest*
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3368 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3369 if test "$am_cv_prog_cc_c_o" != yes; then
3370 # Losing compiler, so override with the script.
3371 # FIXME: It is wrong to rewrite CC.
3372 # But if we don't then we get into trouble of one sort or another.
3373 # A longer-term fix would be to have automake use am__CC in this case,
3374 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3375 CC="$am_aux_dir/compile $CC"
3378 ac_cpp='$CPP $CPPFLAGS'
3379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3386 $as_echo_n "checking for library containing strerror... " >&6; }
3387 if ${ac_cv_search_strerror+:} false; then :
3388 $as_echo_n "(cached) " >&6
3390 ac_func_search_save_LIBS=$LIBS
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3394 /* Override any GCC internal prototype to avoid an error.
3395 Use char because int might match the return type of a GCC
3396 builtin and then its argument prototype would still apply. */
3409 for ac_lib in '' cposix; do
3410 if test -z "$ac_lib"; then
3411 ac_res="none required"
3414 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3416 if ac_fn_c_try_link "$LINENO"; then :
3417 ac_cv_search_strerror=$ac_res
3419 rm -f core conftest.err conftest.$ac_objext \
3421 if ${ac_cv_search_strerror+:} false; then :
3425 if ${ac_cv_search_strerror+:} false; then :
3428 ac_cv_search_strerror=no
3431 LIBS=$ac_func_search_save_LIBS
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3434 $as_echo "$ac_cv_search_strerror" >&6; }
3435 ac_res=$ac_cv_search_strerror
3436 if test "$ac_res" != no; then :
3437 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3442 am__api_version='1.15'
3444 # Find a good install program. We prefer a C program (faster),
3445 # so one script is as good as another. But avoid the broken or
3446 # incompatible versions:
3447 # SysV /etc/install, /usr/sbin/install
3448 # SunOS /usr/etc/install
3449 # IRIX /sbin/install
3451 # AmigaOS /C/install, which installs bootblocks on floppy discs
3452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3455 # OS/2's system install, which has a completely different semantic
3456 # ./install, which can be erroneously created by make from ./install.sh.
3457 # Reject install programs that cannot install multiple files.
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3459 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3460 if test -z "$INSTALL"; then
3461 if ${ac_cv_path_install+:} false; then :
3462 $as_echo_n "(cached) " >&6
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir=.
3469 # Account for people who put trailing slashes in PATH elements.
3470 case $as_dir/ in #((
3471 ./ | .// | /[cC]/* | \
3472 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3473 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3476 # OSF1 and SCO ODT 3.0 have their own names for install.
3477 # Don't use installbsd from OSF since it installs stuff as root
3479 for ac_prog in ginstall scoinst install; do
3480 for ac_exec_ext in '' $ac_executable_extensions; do
3481 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3482 if test $ac_prog = install &&
3483 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3484 # AIX install. It has an incompatible calling convention.
3486 elif test $ac_prog = install &&
3487 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3488 # program-specific install script used by HP pwplus--don't use.
3491 rm -rf conftest.one conftest.two conftest.dir
3492 echo one > conftest.one
3493 echo two > conftest.two
3495 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3496 test -s conftest.one && test -s conftest.two &&
3497 test -s conftest.dir/conftest.one &&
3498 test -s conftest.dir/conftest.two
3500 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3513 rm -rf conftest.one conftest.two conftest.dir
3516 if test "${ac_cv_path_install+set}" = set; then
3517 INSTALL=$ac_cv_path_install
3519 # As a last resort, use the slow shell script. Don't cache a
3520 # value for INSTALL within a source directory, because that will
3521 # break other packages using the cache if that directory is
3522 # removed, or if the value is a relative name.
3523 INSTALL=$ac_install_sh
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3527 $as_echo "$INSTALL" >&6; }
3529 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3530 # It thinks the first close brace ends the variable substitution.
3531 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3533 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3535 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3538 $as_echo_n "checking whether build environment is sane... " >&6; }
3539 # Reject unsafe characters in $srcdir or the absolute working directory
3540 # name. Accept space and tab only in the latter.
3544 *[\\\"\#\$\&\'\`$am_lf]*)
3545 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3548 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3549 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3552 # Do 'set' in a subshell so we don't clobber the current shell's
3553 # arguments. Must try -L first in case configure is actually a
3554 # symlink; some systems play weird games with the mod time of symlinks
3555 # (eg FreeBSD returns the mod time of the symlink's containing
3559 for am_try in 1 2; do
3560 echo "timestamp, slept: $am_has_slept" > conftest.file
3561 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3562 if test "$*" = "X"; then
3564 set X `ls -t "$srcdir/configure" conftest.file`
3566 if test "$*" != "X $srcdir/configure conftest.file" \
3567 && test "$*" != "X conftest.file $srcdir/configure"; then
3569 # If neither matched, then we have a broken ls. This can happen
3570 # if, for instance, CONFIG_SHELL is bash and it inherits a
3571 # broken ls alias from the environment. This has actually
3572 # happened. Such a system could not be considered "sane".
3573 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3574 alias in your environment" "$LINENO" 5
3576 if test "$2" = conftest.file || test $am_try -eq 2; then
3583 test "$2" = conftest.file
3589 as_fn_error $? "newly created file is older than distributed files!
3590 Check your system clock" "$LINENO" 5
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3593 $as_echo "yes" >&6; }
3594 # If we didn't sleep, we still need to ensure time stamps of config.status and
3595 # generated files are strictly newer.
3597 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3604 test "$program_prefix" != NONE &&
3605 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3606 # Use a double $ so make ignores it.
3607 test "$program_suffix" != NONE &&
3608 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3609 # Double any \ or $.
3610 # By default was `s,x,x', remove it if useless.
3611 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3612 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3614 if test x"${MISSING+set}" != xset; then
3617 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3619 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3622 # Use eval to expand $SHELL
3623 if eval "$MISSING --is-lightweight"; then
3624 am_missing_run="$MISSING "
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3628 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3631 if test x"${install_sh+set}" != xset; then
3634 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3636 install_sh="\${SHELL} $am_aux_dir/install-sh"
3640 # Installed binaries are usually stripped using 'strip' when the user
3641 # run "make install-strip". However 'strip' might not be the right
3642 # tool to use in cross-compilation environments, therefore Automake
3643 # will honor the 'STRIP' environment variable to overrule this program.
3644 if test "$cross_compiling" != no; then
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}strip; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_prog_STRIP+:} false; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -n "$STRIP"; then
3654 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 STRIP=$ac_cv_prog_STRIP
3674 if test -n "$STRIP"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3676 $as_echo "$STRIP" >&6; }
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3684 if test -z "$ac_cv_prog_STRIP"; then
3686 # Extract the first word of "strip", so it can be a program name with args.
3687 set dummy strip; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 if test -n "$ac_ct_STRIP"; then
3694 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3703 ac_cv_prog_ac_ct_STRIP="strip"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3714 if test -n "$ac_ct_STRIP"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3716 $as_echo "$ac_ct_STRIP" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3722 if test "x$ac_ct_STRIP" = x; then
3725 case $cross_compiling:$ac_tool_warned in
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3729 ac_tool_warned=yes ;;
3734 STRIP="$ac_cv_prog_STRIP"
3738 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3741 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3742 if test -z "$MKDIR_P"; then
3743 if ${ac_cv_path_mkdir+:} false; then :
3744 $as_echo_n "(cached) " >&6
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3750 test -z "$as_dir" && as_dir=.
3751 for ac_prog in mkdir gmkdir; do
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3754 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3755 'mkdir (GNU coreutils) '* | \
3756 'mkdir (coreutils) '* | \
3757 'mkdir (fileutils) '4.1*)
3758 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3768 test -d ./--version && rmdir ./--version
3769 if test "${ac_cv_path_mkdir+set}" = set; then
3770 MKDIR_P="$ac_cv_path_mkdir -p"
3772 # As a last resort, use the slow shell script. Don't cache a
3773 # value for MKDIR_P within a source directory, because that will
3774 # break other packages using the cache if that directory is
3775 # removed, or if the value is a relative name.
3776 MKDIR_P="$ac_install_sh -d"
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3780 $as_echo "$MKDIR_P" >&6; }
3782 for ac_prog in gawk mawk nawk awk
3784 # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy $ac_prog; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_AWK+:} false; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$AWK"; then
3792 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_AWK="$ac_prog"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 if test -n "$AWK"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3814 $as_echo "$AWK" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3821 test -n "$AWK" && break
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3825 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3827 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3828 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3829 $as_echo_n "(cached) " >&6
3831 cat >conftest.make <<\_ACEOF
3834 @echo '@@@%%%=$(MAKE)=@@@%%%'
3836 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3837 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3839 eval ac_cv_prog_make_${ac_make}_set=yes;;
3841 eval ac_cv_prog_make_${ac_make}_set=no;;
3845 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3847 $as_echo "yes" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3852 SET_MAKE="MAKE=${MAKE-make}"
3855 rm -rf .tst 2>/dev/null
3856 mkdir .tst 2>/dev/null
3857 if test -d .tst; then
3862 rmdir .tst 2>/dev/null
3864 DEPDIR="${am__leading_dot}deps"
3866 ac_config_commands="$ac_config_commands depfiles"
3869 am_make=${MAKE-make}
3870 cat > confinc << 'END'
3872 @echo this is the am__doit target
3875 # If we don't find an include directive, just comment out the code.
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3877 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3881 # First try GNU make style include.
3882 echo "include confinc" > confmf
3883 # Ignore all kinds of additional output from 'make'.
3884 case `$am_make -s -f confmf 2> /dev/null` in #(
3885 *the\ am__doit\ target*)
3891 # Now try BSD make style include.
3892 if test "$am__include" = "#"; then
3893 echo '.include "confinc"' > confmf
3894 case `$am_make -s -f confmf 2> /dev/null` in #(
3895 *the\ am__doit\ target*)
3896 am__include=.include
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3905 $as_echo "$_am_result" >&6; }
3906 rm -f confinc confmf
3908 # Check whether --enable-dependency-tracking was given.
3909 if test "${enable_dependency_tracking+set}" = set; then :
3910 enableval=$enable_dependency_tracking;
3913 if test "x$enable_dependency_tracking" != xno; then
3914 am_depcomp="$ac_aux_dir/depcomp"
3918 if test "x$enable_dependency_tracking" != xno; then
3927 # Check whether --enable-silent-rules was given.
3928 if test "${enable_silent_rules+set}" = set; then :
3929 enableval=$enable_silent_rules;
3932 case $enable_silent_rules in # (((
3933 yes) AM_DEFAULT_VERBOSITY=0;;
3934 no) AM_DEFAULT_VERBOSITY=1;;
3935 *) AM_DEFAULT_VERBOSITY=1;;
3937 am_make=${MAKE-make}
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3939 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3940 if ${am_cv_make_support_nested_variables+:} false; then :
3941 $as_echo_n "(cached) " >&6
3943 if $as_echo 'TRUE=$(BAR$(V))
3949 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3950 am_cv_make_support_nested_variables=yes
3952 am_cv_make_support_nested_variables=no
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3956 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3957 if test $am_cv_make_support_nested_variables = yes; then
3959 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3961 AM_V=$AM_DEFAULT_VERBOSITY
3962 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3966 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3967 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3968 # is not polluted with repeated "-I."
3969 am__isrc=' -I$(srcdir)'
3970 # test to see if srcdir already configured
3971 if test -f $srcdir/config.status; then
3972 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3976 # test whether we have cygpath
3977 if test -z "$CYGPATH_W"; then
3978 if (cygpath --version) >/dev/null 2>/dev/null; then
3979 CYGPATH_W='cygpath -w'
3986 # Define the identity of the package.
3991 cat >>confdefs.h <<_ACEOF
3992 #define PACKAGE "$PACKAGE"
3996 cat >>confdefs.h <<_ACEOF
3997 #define VERSION "$VERSION"
4000 # Some tools Automake needs.
4002 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4005 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4008 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4011 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4014 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4016 # For better backward compatibility. To be removed once Automake 1.9.x
4017 # dies out for good. For more background, see:
4018 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4019 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4020 mkdir_p='$(MKDIR_P)'
4022 # We need awk for the "check" target (and possibly the TAP driver). The
4023 # system "awk" is bad on some platforms.
4024 # Always define AMTAR for backward compatibility. Yes, it's still used
4025 # in the wild :-( We should find a proper way to deprecate it ...
4029 # We'll loop over all known methods to create a tar archive until one works.
4030 _am_tools='gnutar pax cpio none'
4032 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4038 depcc="$CC" am_compiler_list=
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4041 $as_echo_n "checking dependency style of $depcc... " >&6; }
4042 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4046 # We make a subdir and do the tests there. Otherwise we can end up
4047 # making bogus files that we don't know about and never remove. For
4048 # instance it was reported that on HP-UX the gcc test will end up
4049 # making a dummy file named 'D' -- because '-MD' means "put the output
4053 # Copy depcomp to subdir because otherwise we won't find it if we're
4054 # using a relative directory.
4055 cp "$am_depcomp" conftest.dir
4057 # We will build objects and dependencies in a subdirectory because
4058 # it helps to detect inapplicable dependency modes. For instance
4059 # both Tru64's cc and ICC support -MD to output dependencies as a
4060 # side effect of compilation, but ICC will put the dependencies in
4061 # the current directory while Tru64 will put them in the object
4065 am_cv_CC_dependencies_compiler_type=none
4066 if test "$am_compiler_list" = ""; then
4067 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4070 case " $depcc " in #(
4071 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4074 for depmode in $am_compiler_list; do
4075 # Setup a source with many dependencies, because some compilers
4076 # like to wrap large dependency lists on column 80 (with \), and
4077 # we should not choose a depcomp mode which is confused by this.
4079 # We need to recreate these files for each test, as the compiler may
4080 # overwrite some of them when testing with obscure command lines.
4081 # This happens at least with the AIX C compiler.
4083 for i in 1 2 3 4 5 6; do
4084 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4085 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4086 # Solaris 10 /bin/sh.
4087 echo '/* dummy */' > sub/conftst$i.h
4089 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4091 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4092 # mode. It turns out that the SunPro C++ compiler does not properly
4093 # handle '-M -o', and we need to detect this. Also, some Intel
4094 # versions had trouble with output in subdirs.
4095 am__obj=sub/conftest.${OBJEXT-o}
4096 am__minus_obj="-o $am__obj"
4099 # This depmode causes a compiler race in universal mode.
4100 test "$am__universal" = false || continue
4103 # After this tag, mechanisms are not by side-effect, so they'll
4104 # only be used when explicitly requested.
4105 if test "x$enable_dependency_tracking" = xyes; then
4111 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4112 # This compiler won't grok '-c -o', but also, the minuso test has
4113 # not run yet. These depmodes are late enough in the game, and
4114 # so weak that their functioning should not be impacted.
4115 am__obj=conftest.${OBJEXT-o}
4120 if depmode=$depmode \
4121 source=sub/conftest.c object=$am__obj \
4122 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4123 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4124 >/dev/null 2>conftest.err &&
4125 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4126 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4127 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4128 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4129 # icc doesn't choke on unknown options, it will just issue warnings
4130 # or remarks (even with -Werror). So we grep stderr for any message
4131 # that says an option was ignored or not supported.
4132 # When given -MP, icc 7.0 and 7.1 complain thusly:
4133 # icc: Command line warning: ignoring option '-M'; no argument required
4134 # The diagnosis changed in icc 8.0:
4135 # icc: Command line remark: option '-MP' not supported
4136 if (grep 'ignoring option' conftest.err ||
4137 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4138 am_cv_CC_dependencies_compiler_type=$depmode
4147 am_cv_CC_dependencies_compiler_type=none
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4152 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4153 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4156 test "x$enable_dependency_tracking" != xno \
4157 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4159 am__fastdepCC_FALSE='#'
4161 am__fastdepCC_TRUE='#'
4162 am__fastdepCC_FALSE=
4167 # POSIX will say in a future version that running "rm -f" with no argument
4168 # is OK; and we want to be able to make that assumption in our Makefile
4169 # recipes. So use an aggressive probe to check that the usage we want is
4170 # actually supported "in the wild" to an acceptable degree.
4171 # See automake bug#10828.
4172 # To make any issue more visible, cause the running configure to be aborted
4173 # by default if the 'rm' program in use doesn't match our expectations; the
4174 # user can still override this though.
4175 if rm -f && rm -fr && rm -rf; then : OK; else
4179 Your 'rm' program seems unable to run without file operands specified
4180 on the command line, even when the '-f' option is present. This is contrary
4181 to the behaviour of most rm programs out there, and not conforming with
4182 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4185 of your $PATH and any error possibly output before this message. This
4186 can help us improve future automake versions.
4189 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4190 echo 'Configuration will proceed anyway, since you have set the' >&2
4191 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4195 Aborting the configuration process, to ensure you take notice of the issue.
4197 You can download and install GNU coreutils to get an 'rm' implementation
4198 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4200 If you want to complete the configuration process using your problematic
4201 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4202 to "yes", and re-run configure.
4205 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4215 if test -n "$ac_tool_prefix"; then
4216 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4217 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if ${ac_cv_prog_CC+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -n "$CC"; then
4224 ac_cv_prog_CC="$CC" # Let the user override the test.
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir=.
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4233 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 if test -n "$CC"; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4246 $as_echo "$CC" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4254 if test -z "$ac_cv_prog_CC"; then
4256 # Extract the first word of "gcc", so it can be a program name with args.
4257 set dummy gcc; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$ac_ct_CC"; then
4264 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir=.
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_ac_ct_CC="gcc"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4284 if test -n "$ac_ct_CC"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4286 $as_echo "$ac_ct_CC" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4292 if test "x$ac_ct_CC" = x; then
4295 case $cross_compiling:$ac_tool_warned in
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4299 ac_tool_warned=yes ;;
4307 if test -z "$CC"; then
4308 if test -n "$ac_tool_prefix"; then
4309 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4310 set dummy ${ac_tool_prefix}cc; ac_word=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_prog_CC+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 if test -n "$CC"; then
4317 ac_cv_prog_CC="$CC" # Let the user override the test.
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326 ac_cv_prog_CC="${ac_tool_prefix}cc"
4327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 if test -n "$CC"; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4339 $as_echo "$CC" >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4348 if test -z "$CC"; then
4349 # Extract the first word of "cc", so it can be a program name with args.
4350 set dummy cc; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_CC+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$CC"; then
4357 ac_cv_prog_CC="$CC" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4368 ac_prog_rejected=yes
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 if test $ac_prog_rejected = yes; then
4380 # We found a bogon in the path, so make sure we never use it.
4381 set dummy $ac_cv_prog_CC
4383 if test $# != 0; then
4384 # We chose a different compiler from the bogus one.
4385 # However, it has the same basename, so the bogon will be chosen
4386 # first if we set CC to just the basename; use the full file name.
4388 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4394 if test -n "$CC"; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4396 $as_echo "$CC" >&6; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4404 if test -z "$CC"; then
4405 if test -n "$ac_tool_prefix"; then
4406 for ac_prog in cl.exe
4408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_prog_CC+:} false; then :
4413 $as_echo_n "(cached) " >&6
4415 if test -n "$CC"; then
4416 ac_cv_prog_CC="$CC" # Let the user override the test.
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 if test -n "$CC"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4438 $as_echo "$CC" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$CC" && break
4448 if test -z "$CC"; then
4450 for ac_prog in cl.exe
4452 # Extract the first word of "$ac_prog", so it can be a program name with args.
4453 set dummy $ac_prog; ac_word=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4457 $as_echo_n "(cached) " >&6
4459 if test -n "$ac_ct_CC"; then
4460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4469 ac_cv_prog_ac_ct_CC="$ac_prog"
4470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4480 if test -n "$ac_ct_CC"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4482 $as_echo "$ac_ct_CC" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4489 test -n "$ac_ct_CC" && break
4492 if test "x$ac_ct_CC" = x; then
4495 case $cross_compiling:$ac_tool_warned in
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4499 ac_tool_warned=yes ;;
4508 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4510 as_fn_error $? "no acceptable C compiler found in \$PATH
4511 See \`config.log' for more details" "$LINENO" 5; }
4513 # Provide some information about the compiler.
4514 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4517 for ac_option in --version -v -V -qversion; do
4518 { { ac_try="$ac_compiler $ac_option >&5"
4520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4521 *) ac_try_echo=$ac_try;;
4523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4524 $as_echo "$ac_try_echo"; } >&5
4525 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4527 if test -s conftest.err; then
4529 ... rest of stderr output deleted ...
4530 10q' conftest.err >conftest.er1
4531 cat conftest.er1 >&5
4533 rm -f conftest.er1 conftest.err
4534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4535 test $ac_status = 0; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4539 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4540 if ${ac_cv_c_compiler_gnu+:} false; then :
4541 $as_echo_n "(cached) " >&6
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4557 if ac_fn_c_try_compile "$LINENO"; then :
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4567 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4568 if test $ac_compiler_gnu = yes; then
4573 ac_test_CFLAGS=${CFLAGS+set}
4574 ac_save_CFLAGS=$CFLAGS
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4576 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4577 if ${ac_cv_prog_cc_g+:} false; then :
4578 $as_echo_n "(cached) " >&6
4580 ac_save_c_werror_flag=$ac_c_werror_flag
4581 ac_c_werror_flag=yes
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 if ac_fn_c_try_compile "$LINENO"; then :
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4610 if ac_fn_c_try_compile "$LINENO"; then :
4613 ac_c_werror_flag=$ac_save_c_werror_flag
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4626 if ac_fn_c_try_compile "$LINENO"; then :
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4634 ac_c_werror_flag=$ac_save_c_werror_flag
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4637 $as_echo "$ac_cv_prog_cc_g" >&6; }
4638 if test "$ac_test_CFLAGS" = set; then
4639 CFLAGS=$ac_save_CFLAGS
4640 elif test $ac_cv_prog_cc_g = yes; then
4641 if test "$GCC" = yes; then
4647 if test "$GCC" = yes; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4654 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4655 if ${ac_cv_prog_cc_c89+:} false; then :
4656 $as_echo_n "(cached) " >&6
4658 ac_cv_prog_cc_c89=no
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4666 struct buf { int x; };
4667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4668 static char *e (p, i)
4674 static char *f (char * (*g) (char **, int), char **p, ...)
4679 s = g (p, va_arg (v,int));
4684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4685 function prototypes and stuff, but not '\xHH' hex character constants.
4686 These don't provoke an error unfortunately, instead are silently treated
4687 as 'x'. The following induces an error, until -std is added to get
4688 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4689 array size at least. It's necessary to write '\x00'==0 to get something
4690 that's true only with -std. */
4691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4693 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4694 inside strings and character constants. */
4696 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4698 int test (int i, double x);
4699 struct s1 {int (*f) (int a);};
4700 struct s2 {int (*f) (double a);};
4701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4707 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4712 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4713 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4715 CC="$ac_save_CC $ac_arg"
4716 if ac_fn_c_try_compile "$LINENO"; then :
4717 ac_cv_prog_cc_c89=$ac_arg
4719 rm -f core conftest.err conftest.$ac_objext
4720 test "x$ac_cv_prog_cc_c89" != "xno" && break
4722 rm -f conftest.$ac_ext
4727 case "x$ac_cv_prog_cc_c89" in
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4730 $as_echo "none needed" >&6; } ;;
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4733 $as_echo "unsupported" >&6; } ;;
4735 CC="$CC $ac_cv_prog_cc_c89"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4737 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4739 if test "x$ac_cv_prog_cc_c89" != xno; then :
4744 ac_cpp='$CPP $CPPFLAGS'
4745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750 ac_cpp='$CPP $CPPFLAGS'
4751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4755 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4756 if ${am_cv_prog_cc_c_o+:} false; then :
4757 $as_echo_n "(cached) " >&6
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4770 # Make sure it works both with $CC and with simple cc.
4771 # Following AC_PROG_CC_C_O, we do the test twice because some
4772 # compilers refuse to overwrite an existing .o file with -o,
4773 # though they will create one.
4774 am_cv_prog_cc_c_o=yes
4776 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4777 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); } \
4781 && test -f conftest2.$ac_objext; then
4784 am_cv_prog_cc_c_o=no
4788 rm -f core conftest*
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4792 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4793 if test "$am_cv_prog_cc_c_o" != yes; then
4794 # Losing compiler, so override with the script.
4795 # FIXME: It is wrong to rewrite CC.
4796 # But if we don't then we get into trouble of one sort or another.
4797 # A longer-term fix would be to have automake use am__CC in this case,
4798 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4799 CC="$am_aux_dir/compile $CC"
4802 ac_cpp='$CPP $CPPFLAGS'
4803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4809 ac_cpp='$CPP $CPPFLAGS'
4810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4814 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4815 # On Suns, sometimes $CPP names a directory.
4816 if test -n "$CPP" && test -d "$CPP"; then
4819 if test -z "$CPP"; then
4820 if ${ac_cv_prog_CPP+:} false; then :
4821 $as_echo_n "(cached) " >&6
4823 # Double quotes because CPP needs to be expanded
4824 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4827 for ac_c_preproc_warn_flag in '' yes
4829 # Use a header file that comes with gcc, so configuring glibc
4830 # with a fresh cross-compiler works.
4831 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4832 # <limits.h> exists even on freestanding compilers.
4833 # On the NeXT, cc -E runs the code through the compiler's parser,
4834 # not just through cpp. "Syntax error" is here to catch this case.
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4838 # include <limits.h>
4840 # include <assert.h>
4844 if ac_fn_c_try_cpp "$LINENO"; then :
4847 # Broken: fails on valid input.
4850 rm -f conftest.err conftest.i conftest.$ac_ext
4852 # OK, works on sane cases. Now check whether nonexistent headers
4853 # can be detected and how.
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4856 #include <ac_nonexistent.h>
4858 if ac_fn_c_try_cpp "$LINENO"; then :
4859 # Broken: success on invalid input.
4862 # Passes both tests.
4866 rm -f conftest.err conftest.i conftest.$ac_ext
4869 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4870 rm -f conftest.i conftest.err conftest.$ac_ext
4871 if $ac_preproc_ok; then :
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4884 $as_echo "$CPP" >&6; }
4886 for ac_c_preproc_warn_flag in '' yes
4888 # Use a header file that comes with gcc, so configuring glibc
4889 # with a fresh cross-compiler works.
4890 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4891 # <limits.h> exists even on freestanding compilers.
4892 # On the NeXT, cc -E runs the code through the compiler's parser,
4893 # not just through cpp. "Syntax error" is here to catch this case.
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4897 # include <limits.h>
4899 # include <assert.h>
4903 if ac_fn_c_try_cpp "$LINENO"; then :
4906 # Broken: fails on valid input.
4909 rm -f conftest.err conftest.i conftest.$ac_ext
4911 # OK, works on sane cases. Now check whether nonexistent headers
4912 # can be detected and how.
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4915 #include <ac_nonexistent.h>
4917 if ac_fn_c_try_cpp "$LINENO"; then :
4918 # Broken: success on invalid input.
4921 # Passes both tests.
4925 rm -f conftest.err conftest.i conftest.$ac_ext
4928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4929 rm -f conftest.i conftest.err conftest.$ac_ext
4930 if $ac_preproc_ok; then :
4933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4935 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4936 See \`config.log' for more details" "$LINENO" 5; }
4940 ac_cpp='$CPP $CPPFLAGS'
4941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4947 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4948 if ${ac_cv_path_GREP+:} false; then :
4949 $as_echo_n "(cached) " >&6
4951 if test -z "$GREP"; then
4952 ac_path_GREP_found=false
4953 # Loop through the user's path and test for each of PROGNAME-LIST
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4958 test -z "$as_dir" && as_dir=.
4959 for ac_prog in grep ggrep; do
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4962 as_fn_executable_p "$ac_path_GREP" || continue
4963 # Check for GNU ac_path_GREP and select it if it is found.
4964 # Check for GNU $ac_path_GREP
4965 case `"$ac_path_GREP" --version 2>&1` in
4967 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4970 $as_echo_n 0123456789 >"conftest.in"
4973 cat "conftest.in" "conftest.in" >"conftest.tmp"
4974 mv "conftest.tmp" "conftest.in"
4975 cp "conftest.in" "conftest.nl"
4976 $as_echo 'GREP' >> "conftest.nl"
4977 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4978 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4979 as_fn_arith $ac_count + 1 && ac_count=$as_val
4980 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4981 # Best one so far, save it but keep looking for a better one
4982 ac_cv_path_GREP="$ac_path_GREP"
4983 ac_path_GREP_max=$ac_count
4985 # 10*(2^10) chars as input seems more than enough
4986 test $ac_count -gt 10 && break
4988 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4991 $ac_path_GREP_found && break 3
4996 if test -z "$ac_cv_path_GREP"; then
4997 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5000 ac_cv_path_GREP=$GREP
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5005 $as_echo "$ac_cv_path_GREP" >&6; }
5006 GREP="$ac_cv_path_GREP"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5010 $as_echo_n "checking for egrep... " >&6; }
5011 if ${ac_cv_path_EGREP+:} false; then :
5012 $as_echo_n "(cached) " >&6
5014 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5015 then ac_cv_path_EGREP="$GREP -E"
5017 if test -z "$EGREP"; then
5018 ac_path_EGREP_found=false
5019 # Loop through the user's path and test for each of PROGNAME-LIST
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5024 test -z "$as_dir" && as_dir=.
5025 for ac_prog in egrep; do
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5028 as_fn_executable_p "$ac_path_EGREP" || continue
5029 # Check for GNU ac_path_EGREP and select it if it is found.
5030 # Check for GNU $ac_path_EGREP
5031 case `"$ac_path_EGREP" --version 2>&1` in
5033 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5036 $as_echo_n 0123456789 >"conftest.in"
5039 cat "conftest.in" "conftest.in" >"conftest.tmp"
5040 mv "conftest.tmp" "conftest.in"
5041 cp "conftest.in" "conftest.nl"
5042 $as_echo 'EGREP' >> "conftest.nl"
5043 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5045 as_fn_arith $ac_count + 1 && ac_count=$as_val
5046 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5047 # Best one so far, save it but keep looking for a better one
5048 ac_cv_path_EGREP="$ac_path_EGREP"
5049 ac_path_EGREP_max=$ac_count
5051 # 10*(2^10) chars as input seems more than enough
5052 test $ac_count -gt 10 && break
5054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5057 $ac_path_EGREP_found && break 3
5062 if test -z "$ac_cv_path_EGREP"; then
5063 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5066 ac_cv_path_EGREP=$EGREP
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5072 $as_echo "$ac_cv_path_EGREP" >&6; }
5073 EGREP="$ac_cv_path_EGREP"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5077 $as_echo_n "checking for ANSI C header files... " >&6; }
5078 if ${ac_cv_header_stdc+:} false; then :
5079 $as_echo_n "(cached) " >&6
5081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5096 if ac_fn_c_try_compile "$LINENO"; then :
5097 ac_cv_header_stdc=yes
5099 ac_cv_header_stdc=no
5101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5103 if test $ac_cv_header_stdc = yes; then
5104 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5111 $EGREP "memchr" >/dev/null 2>&1; then :
5114 ac_cv_header_stdc=no
5120 if test $ac_cv_header_stdc = yes; then
5121 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5128 $EGREP "free" >/dev/null 2>&1; then :
5131 ac_cv_header_stdc=no
5137 if test $ac_cv_header_stdc = yes; then
5138 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5139 if test "$cross_compiling" = yes; then :
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5146 #if ((' ' & 0x0FF) == 0x020)
5147 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5148 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5150 # define ISLOWER(c) \
5151 (('a' <= (c) && (c) <= 'i') \
5152 || ('j' <= (c) && (c) <= 'r') \
5153 || ('s' <= (c) && (c) <= 'z'))
5154 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5157 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5162 for (i = 0; i < 256; i++)
5163 if (XOR (islower (i), ISLOWER (i))
5164 || toupper (i) != TOUPPER (i))
5169 if ac_fn_c_try_run "$LINENO"; then :
5172 ac_cv_header_stdc=no
5174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5175 conftest.$ac_objext conftest.beam conftest.$ac_ext
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5181 $as_echo "$ac_cv_header_stdc" >&6; }
5182 if test $ac_cv_header_stdc = yes; then
5184 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5188 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5189 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5190 inttypes.h stdint.h unistd.h
5192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5193 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5195 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5196 cat >>confdefs.h <<_ACEOF
5197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5206 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5207 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5214 if test "$MINIX" = yes; then
5216 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5219 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5222 $as_echo "#define _MINIX 1" >>confdefs.h
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5228 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5229 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5230 $as_echo_n "(cached) " >&6
5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5235 # define __EXTENSIONS__ 1
5236 $ac_includes_default
5245 if ac_fn_c_try_compile "$LINENO"; then :
5246 ac_cv_safe_to_define___extensions__=yes
5248 ac_cv_safe_to_define___extensions__=no
5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5253 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5254 test $ac_cv_safe_to_define___extensions__ = yes &&
5255 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5257 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5259 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5261 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5263 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5272 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5277 macro_version='2.2.7a'
5278 macro_revision='1.3134'
5292 ltmain="$ac_aux_dir/ltmain.sh"
5294 # Backslashify metacharacters that are still active within
5295 # double-quoted strings.
5296 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5298 # Same as above, but do not quote variable references.
5299 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5301 # Sed substitution to delay expansion of an escaped shell variable in a
5302 # double_quote_subst'ed string.
5303 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5305 # Sed substitution to delay expansion of an escaped single quote.
5306 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5308 # Sed substitution to avoid accidental globbing in evaled expressions
5309 no_glob_subst='s/\*/\\\*/g'
5311 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5312 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5313 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5316 $as_echo_n "checking how to print strings... " >&6; }
5317 # Test print first, because it will be a builtin if present.
5318 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5319 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5321 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5324 # Use this function as a fallback that always works.
5325 func_fallback_echo ()
5327 eval 'cat <<_LTECHO_EOF
5331 ECHO='func_fallback_echo'
5334 # func_echo_all arg...
5335 # Invoke $ECHO with all args, space-separated.
5342 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5343 $as_echo "printf" >&6; } ;;
5344 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5345 $as_echo "print -r" >&6; } ;;
5346 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5347 $as_echo "cat" >&6; } ;;
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5364 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5365 if ${ac_cv_path_SED+:} false; then :
5366 $as_echo_n "(cached) " >&6
5368 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5369 for ac_i in 1 2 3 4 5 6 7; do
5370 ac_script="$ac_script$as_nl$ac_script"
5372 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5373 { ac_script=; unset ac_script;}
5374 if test -z "$SED"; then
5375 ac_path_SED_found=false
5376 # Loop through the user's path and test for each of PROGNAME-LIST
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 for ac_prog in sed gsed; do
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5385 as_fn_executable_p "$ac_path_SED" || continue
5386 # Check for GNU ac_path_SED and select it if it is found.
5387 # Check for GNU $ac_path_SED
5388 case `"$ac_path_SED" --version 2>&1` in
5390 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5393 $as_echo_n 0123456789 >"conftest.in"
5396 cat "conftest.in" "conftest.in" >"conftest.tmp"
5397 mv "conftest.tmp" "conftest.in"
5398 cp "conftest.in" "conftest.nl"
5399 $as_echo '' >> "conftest.nl"
5400 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5402 as_fn_arith $ac_count + 1 && ac_count=$as_val
5403 if test $ac_count -gt ${ac_path_SED_max-0}; then
5404 # Best one so far, save it but keep looking for a better one
5405 ac_cv_path_SED="$ac_path_SED"
5406 ac_path_SED_max=$ac_count
5408 # 10*(2^10) chars as input seems more than enough
5409 test $ac_count -gt 10 && break
5411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5414 $ac_path_SED_found && break 3
5419 if test -z "$ac_cv_path_SED"; then
5420 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5428 $as_echo "$ac_cv_path_SED" >&6; }
5429 SED="$ac_cv_path_SED"
5432 test -z "$SED" && SED=sed
5433 Xsed="$SED -e 1s/^X//"
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5446 $as_echo_n "checking for fgrep... " >&6; }
5447 if ${ac_cv_path_FGREP+:} false; then :
5448 $as_echo_n "(cached) " >&6
5450 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5451 then ac_cv_path_FGREP="$GREP -F"
5453 if test -z "$FGREP"; then
5454 ac_path_FGREP_found=false
5455 # Loop through the user's path and test for each of PROGNAME-LIST
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5460 test -z "$as_dir" && as_dir=.
5461 for ac_prog in fgrep; do
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5464 as_fn_executable_p "$ac_path_FGREP" || continue
5465 # Check for GNU ac_path_FGREP and select it if it is found.
5466 # Check for GNU $ac_path_FGREP
5467 case `"$ac_path_FGREP" --version 2>&1` in
5469 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5472 $as_echo_n 0123456789 >"conftest.in"
5475 cat "conftest.in" "conftest.in" >"conftest.tmp"
5476 mv "conftest.tmp" "conftest.in"
5477 cp "conftest.in" "conftest.nl"
5478 $as_echo 'FGREP' >> "conftest.nl"
5479 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5481 as_fn_arith $ac_count + 1 && ac_count=$as_val
5482 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5483 # Best one so far, save it but keep looking for a better one
5484 ac_cv_path_FGREP="$ac_path_FGREP"
5485 ac_path_FGREP_max=$ac_count
5487 # 10*(2^10) chars as input seems more than enough
5488 test $ac_count -gt 10 && break
5490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5493 $ac_path_FGREP_found && break 3
5498 if test -z "$ac_cv_path_FGREP"; then
5499 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5502 ac_cv_path_FGREP=$FGREP
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5508 $as_echo "$ac_cv_path_FGREP" >&6; }
5509 FGREP="$ac_cv_path_FGREP"
5512 test -z "$GREP" && GREP=grep
5532 # Check whether --with-gnu-ld was given.
5533 if test "${with_gnu_ld+set}" = set; then :
5534 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5540 if test "$GCC" = yes; then
5541 # Check if gcc -print-prog-name=ld gives a path.
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5543 $as_echo_n "checking for ld used by $CC... " >&6; }
5546 # gcc leaves a trailing carriage return which upsets mingw
5547 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5549 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5552 # Accept absolute paths.
5554 re_direlt='/[^/][^/]*/\.\./'
5555 # Canonicalize the pathname of ld
5556 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5557 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5558 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5560 test -z "$LD" && LD="$ac_prog"
5563 # If it fails, then pretend we aren't using GCC.
5567 # If it is relative, then search for the first ld in PATH.
5571 elif test "$with_gnu_ld" = yes; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5573 $as_echo_n "checking for GNU ld... " >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5576 $as_echo_n "checking for non-GNU ld... " >&6; }
5578 if ${lt_cv_path_LD+:} false; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -z "$LD"; then
5582 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5583 for ac_dir in $PATH; do
5585 test -z "$ac_dir" && ac_dir=.
5586 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5587 lt_cv_path_LD="$ac_dir/$ac_prog"
5588 # Check to see if the program is GNU ld. I'd rather use --version,
5589 # but apparently some variants of GNU ld only accept -v.
5590 # Break only if it was the GNU/non-GNU ld that we prefer.
5591 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5592 *GNU* | *'with BFD'*)
5593 test "$with_gnu_ld" != no && break
5596 test "$with_gnu_ld" != yes && break
5603 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5608 if test -n "$LD"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5610 $as_echo "$LD" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5615 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5617 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5618 if ${lt_cv_prog_gnu_ld+:} false; then :
5619 $as_echo_n "(cached) " >&6
5621 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5622 case `$LD -v 2>&1 </dev/null` in
5623 *GNU* | *'with BFD'*)
5624 lt_cv_prog_gnu_ld=yes
5627 lt_cv_prog_gnu_ld=no
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5632 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5633 with_gnu_ld=$lt_cv_prog_gnu_ld
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5644 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5645 if ${lt_cv_path_NM+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$NM"; then
5649 # Let the user override the test.
5652 lt_nm_to_check="${ac_tool_prefix}nm"
5653 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5654 lt_nm_to_check="$lt_nm_to_check nm"
5656 for lt_tmp_nm in $lt_nm_to_check; do
5657 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5658 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5660 test -z "$ac_dir" && ac_dir=.
5661 tmp_nm="$ac_dir/$lt_tmp_nm"
5662 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5663 # Check to see if the nm accepts a BSD-compat flag.
5664 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5665 # nm: unknown option "B" ignored
5666 # Tru64's nm complains that /dev/null is an invalid object file
5667 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5668 */dev/null* | *'Invalid file or object type'*)
5669 lt_cv_path_NM="$tmp_nm -B"
5673 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5675 lt_cv_path_NM="$tmp_nm -p"
5679 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5680 continue # so that we can try to find one that supports BSD flags
5689 : ${lt_cv_path_NM=no}
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5693 $as_echo "$lt_cv_path_NM" >&6; }
5694 if test "$lt_cv_path_NM" != "no"; then
5697 # Didn't find any BSD compatible name lister, look for dumpbin.
5698 if test -n "$DUMPBIN"; then :
5699 # Let the user override the test.
5701 if test -n "$ac_tool_prefix"; then
5702 for ac_prog in dumpbin "link -dump"
5704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_DUMPBIN+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$DUMPBIN"; then
5712 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 DUMPBIN=$ac_cv_prog_DUMPBIN
5732 if test -n "$DUMPBIN"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5734 $as_echo "$DUMPBIN" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5741 test -n "$DUMPBIN" && break
5744 if test -z "$DUMPBIN"; then
5745 ac_ct_DUMPBIN=$DUMPBIN
5746 for ac_prog in dumpbin "link -dump"
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy $ac_prog; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5753 $as_echo_n "(cached) " >&6
5755 if test -n "$ac_ct_DUMPBIN"; then
5756 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5776 if test -n "$ac_ct_DUMPBIN"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5778 $as_echo "$ac_ct_DUMPBIN" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5785 test -n "$ac_ct_DUMPBIN" && break
5788 if test "x$ac_ct_DUMPBIN" = x; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned=yes ;;
5797 DUMPBIN=$ac_ct_DUMPBIN
5801 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5803 DUMPBIN="$DUMPBIN -symbols"
5811 if test "$DUMPBIN" != ":"; then
5815 test -z "$NM" && NM=nm
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5823 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5824 if ${lt_cv_nm_interface+:} false; then :
5825 $as_echo_n "(cached) " >&6
5827 lt_cv_nm_interface="BSD nm"
5828 echo "int some_variable = 0;" > conftest.$ac_ext
5829 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5830 (eval "$ac_compile" 2>conftest.err)
5831 cat conftest.err >&5
5832 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5833 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5834 cat conftest.err >&5
5835 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5836 cat conftest.out >&5
5837 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5838 lt_cv_nm_interface="MS dumpbin"
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5843 $as_echo "$lt_cv_nm_interface" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5846 $as_echo_n "checking whether ln -s works... " >&6; }
5848 if test "$LN_S" = "ln -s"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5850 $as_echo "yes" >&6; }
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5853 $as_echo "no, using $LN_S" >&6; }
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if ${lt_cv_sys_max_cmd_len+:} false; then :
5860 $as_echo_n "(cached) " >&6
5867 # On DJGPP, this test can blow up pretty badly due to problems in libc
5868 # (any single argument exceeding 2000 bytes causes a buffer overrun
5869 # during glob expansion). Even if it were fixed, the result of this
5870 # check would be larger than it should be.
5871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5875 # Under GNU Hurd, this test is not required because there is
5876 # no limit to the length of command line arguments.
5877 # Libtool will interpret -1 as no limit whatsoever
5878 lt_cv_sys_max_cmd_len=-1;
5881 cygwin* | mingw* | cegcc*)
5882 # On Win9x/ME, this test blows up -- it succeeds, but takes
5883 # about 5 minutes as the teststring grows exponentially.
5884 # Worse, since 9x/ME are not pre-emptively multitasking,
5885 # you end up with a "frozen" computer, even though with patience
5886 # the test eventually succeeds (with a max line length of 256k).
5887 # Instead, let's just punt: use the minimum linelength reported by
5888 # all of the supported platforms: 8192 (on NT/2K/XP).
5889 lt_cv_sys_max_cmd_len=8192;
5893 # On MiNT this can take a long time and run out of memory.
5894 lt_cv_sys_max_cmd_len=8192;
5898 # On AmigaOS with pdksh, this test takes hours, literally.
5899 # So we just punt and use a minimum line length of 8192.
5900 lt_cv_sys_max_cmd_len=8192;
5903 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904 # This has been around since 386BSD, at least. Likely further.
5905 if test -x /sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907 elif test -x /usr/sbin/sysctl; then
5908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5912 # And add a safety zone
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919 lt_cv_sys_max_cmd_len=196608
5923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925 # nice to cause kernel panics so lets avoid the loop below.
5926 # First set a reasonable default.
5927 lt_cv_sys_max_cmd_len=16384
5929 if test -x /sbin/sysconfig; then
5930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5936 lt_cv_sys_max_cmd_len=102400
5938 sysv5* | sco5v6* | sysv4.2uw2*)
5939 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940 if test -n "$kargmax"; then
5941 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5943 lt_cv_sys_max_cmd_len=32768
5947 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948 if test -n "$lt_cv_sys_max_cmd_len"; then
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5952 # Make teststring a little bigger before we do anything with it.
5953 # a 1K string should be a reasonable start.
5954 for i in 1 2 3 4 5 6 7 8 ; do
5955 teststring=$teststring$teststring
5957 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958 # If test is not a shell built-in, we'll probably end up computing a
5959 # maximum length that is only half of the actual maximum length, but
5961 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963 test $i != 17 # 1/2 MB should be enough
5966 teststring=$teststring$teststring
5968 # Only check the string length outside the loop.
5969 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5971 # Add a significant safety factor because C++ compilers can tack on
5972 # massive amounts of additional arguments before passing them to the
5973 # linker. It appears as though 1/2 is a usable value.
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6004 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6006 && eval 'test $(( 1 + 1 )) -eq 2 \
6007 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6018 && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035 A) # ASCII based system
6036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037 lt_SP2NL='tr \040 \012'
6038 lt_NL2SP='tr \015\012 \040\040'
6040 *) # EBCDIC based system
6041 lt_SP2NL='tr \100 \n'
6042 lt_NL2SP='tr \r\n \100\100'
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if ${lt_cv_ld_reload_flag+:} false; then :
6057 $as_echo_n "(cached) " >&6
6059 lt_cv_ld_reload_flag='-r'
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6066 *) reload_flag=" $reload_flag" ;;
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6071 if test "$GCC" = yes; then
6072 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if ${ac_cv_prog_OBJDUMP+:} false; then :
6093 $as_echo_n "(cached) " >&6
6095 if test -n "$OBJDUMP"; then
6096 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6105 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127 ac_ct_OBJDUMP=$OBJDUMP
6128 # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6133 $as_echo_n "(cached) " >&6
6135 if test -n "$ac_ct_OBJDUMP"; then
6136 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6164 if test "x$ac_ct_OBJDUMP" = x; then
6167 case $cross_compiling:$ac_tool_warned in
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6173 OBJDUMP=$ac_ct_OBJDUMP
6176 OBJDUMP="$ac_cv_prog_OBJDUMP"
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if ${lt_cv_deplibs_check_method+:} false; then :
6192 $as_echo_n "(cached) " >&6
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6210 lt_cv_deplibs_check_method=pass_all
6214 lt_cv_deplibs_check_method=pass_all
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239 lt_cv_file_magic_cmd='$OBJDUMP -f'
6244 # use the weaker test based on 'objdump'. See mingw*.
6245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 darwin* | rhapsody*)
6250 lt_cv_deplibs_check_method=pass_all
6253 freebsd* | dragonfly*)
6254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6257 # Not sure whether the presence of OpenBSD here was a mistake.
6258 # Let's accept both of them until this is cleared up.
6259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260 lt_cv_file_magic_cmd=/usr/bin/file
6261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6265 lt_cv_deplibs_check_method=pass_all
6270 lt_cv_deplibs_check_method=pass_all
6274 lt_cv_deplibs_check_method=pass_all
6277 hpux10.20* | hpux11*)
6278 lt_cv_file_magic_cmd=/usr/bin/file
6281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6285 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]'
6286 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6300 irix5* | irix6* | nonstopux*)
6302 *-32|*"-32 ") libmagic=32-bit;;
6303 *-n32|*"-n32 ") libmagic=N32;;
6304 *-64|*"-64 ") libmagic=64-bit;;
6305 *) libmagic=never-match;;
6307 lt_cv_deplibs_check_method=pass_all
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312 lt_cv_deplibs_check_method=pass_all
6316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325 lt_cv_file_magic_cmd=/usr/bin/file
6326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6330 lt_cv_deplibs_check_method=pass_all
6334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6341 osf3* | osf4* | osf5*)
6342 lt_cv_deplibs_check_method=pass_all
6346 lt_cv_deplibs_check_method=pass_all
6350 lt_cv_deplibs_check_method=pass_all
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354 lt_cv_deplibs_check_method=pass_all
6358 case $host_vendor in
6360 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]'
6361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6364 lt_cv_deplibs_check_method=pass_all
6367 lt_cv_file_magic_cmd='/bin/file'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373 lt_cv_file_magic_test_file=/lib/libc.so
6376 lt_cv_deplibs_check_method=pass_all
6379 lt_cv_deplibs_check_method=pass_all
6385 lt_cv_deplibs_check_method=pass_all
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_AR+:} false; then :
6413 $as_echo_n "(cached) " >&6
6415 if test -n "$AR"; then
6416 ac_cv_prog_AR="$AR" # Let the user override the test.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_AR="${ac_tool_prefix}ar"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 if test -n "$AR"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6446 if test -z "$ac_cv_prog_AR"; then
6448 # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6453 $as_echo_n "(cached) " >&6
6455 if test -n "$ac_ct_AR"; then
6456 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_ac_ct_AR="ar"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6484 if test "x$ac_ct_AR" = x; then
6487 case $cross_compiling:$ac_tool_warned in
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if ${ac_cv_prog_STRIP+:} false; then :
6518 $as_echo_n "(cached) " >&6
6520 if test -n "$STRIP"; then
6521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_STRIP"; then
6553 # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6558 $as_echo_n "(cached) " >&6
6560 if test -n "$ac_ct_STRIP"; then
6561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6570 ac_cv_prog_ac_ct_STRIP="strip"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_STRIP" = x; then
6592 case $cross_compiling:$ac_tool_warned in
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6601 STRIP="$ac_cv_prog_STRIP"
6604 test -z "$STRIP" && STRIP=:
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if ${ac_cv_prog_RANLIB+:} false; then :
6617 $as_echo_n "(cached) " >&6
6619 if test -n "$RANLIB"; then
6620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651 ac_ct_RANLIB=$RANLIB
6652 # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6657 $as_echo_n "(cached) " >&6
6659 if test -n "$ac_ct_RANLIB"; then
6660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6669 ac_cv_prog_ac_ct_RANLIB="ranlib"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6688 if test "x$ac_ct_RANLIB" = x; then
6691 case $cross_compiling:$ac_tool_warned in
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6697 RANLIB=$ac_ct_RANLIB
6700 RANLIB="$ac_cv_prog_RANLIB"
6703 test -z "$RANLIB" && RANLIB=:
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6715 if test -n "$RANLIB"; then
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6721 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6724 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6729 lock_old_archive_extraction=yes ;;
6731 lock_old_archive_extraction=no ;;
6772 # If no C compiler was specified, use CC.
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778 # Allow CC to be a program name with arguments.
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6786 $as_echo_n "(cached) " >&6
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798 # Define system-specific variables.
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6812 symcode='[BCDEGRST]'
6815 symcode='[BCDEGQRST]'
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 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'"
6849 # Handle CRLF in mingw tool chain
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6884 # Check to see that the pipe works correctly.
6888 cat > conftest.$ac_ext <<_LT_EOF
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932 cat <<_LT_EOF >> conftest.$ac_ext
6934 /* The mapping between symbol names and symbols. */
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 { "@PROGRAM@", (void *) 0 },
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6975 echo "cannot find nm_test_func in $nlist" >&5
6978 echo "cannot find nm_test_var in $nlist" >&5
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6987 rm -rf conftest* conftst*
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6993 lt_cv_sys_global_symbol_pipe=
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038 # Some flags need to be propagated to the compiler or linker for good
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7061 # Find out which ABI we are using.
7062 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7071 LD="${LD-ld} -melf32bsmip"
7074 LD="${LD-ld} -melf32bmipn32"
7077 LD="${LD-ld} -melf64bmip"
7081 case `/usr/bin/file conftest.$ac_objext` in
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7113 case `/usr/bin/file conftest.o` in
7115 LD="${LD-ld} -m elf32_x86_64"
7118 LD="${LD-ld} -m elf_i386"
7122 powerpc64le-*linux*)
7123 LD="${LD-ld} -m elf32lppclinux"
7126 LD="${LD-ld} -m elf32ppclinux"
7129 LD="${LD-ld} -m elf_s390"
7132 LD="${LD-ld} -m elf32_sparc"
7138 x86_64-*kfreebsd*-gnu)
7139 LD="${LD-ld} -m elf_x86_64_fbsd"
7142 LD="${LD-ld} -m elf_x86_64"
7145 LD="${LD-ld} -m elf64lppc"
7148 LD="${LD-ld} -m elf64ppc"
7150 s390*-*linux*|s390*-*tpf*)
7151 LD="${LD-ld} -m elf64_s390"
7154 LD="${LD-ld} -m elf64_sparc"
7164 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7165 SAVE_CFLAGS="$CFLAGS"
7166 CFLAGS="$CFLAGS -belf"
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7168 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7169 if ${lt_cv_cc_needs_belf+:} false; then :
7170 $as_echo_n "(cached) " >&6
7173 ac_cpp='$CPP $CPPFLAGS'
7174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7189 if ac_fn_c_try_link "$LINENO"; then :
7190 lt_cv_cc_needs_belf=yes
7192 lt_cv_cc_needs_belf=no
7194 rm -f core conftest.err conftest.$ac_objext \
7195 conftest$ac_exeext conftest.$ac_ext
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7204 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7205 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7206 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7207 CFLAGS="$SAVE_CFLAGS"
7211 # Find out which ABI we are using.
7212 echo 'int i;' > conftest.$ac_ext
7213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7214 (eval $ac_compile) 2>&5
7216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7217 test $ac_status = 0; }; then
7218 case `/usr/bin/file conftest.o` in
7220 case $lt_cv_prog_gnu_ld in
7221 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7223 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7235 need_locks="$enable_libtool_lock"
7239 rhapsody* | darwin*)
7240 if test -n "$ac_tool_prefix"; then
7241 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7242 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 $as_echo_n "checking for $ac_word... " >&6; }
7245 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7246 $as_echo_n "(cached) " >&6
7248 if test -n "$DSYMUTIL"; then
7249 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 test -z "$as_dir" && as_dir=.
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7269 if test -n "$DSYMUTIL"; then
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7271 $as_echo "$DSYMUTIL" >&6; }
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 $as_echo "no" >&6; }
7279 if test -z "$ac_cv_prog_DSYMUTIL"; then
7280 ac_ct_DSYMUTIL=$DSYMUTIL
7281 # Extract the first word of "dsymutil", so it can be a program name with args.
7282 set dummy dsymutil; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7286 $as_echo_n "(cached) " >&6
7288 if test -n "$ac_ct_DSYMUTIL"; then
7289 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7309 if test -n "$ac_ct_DSYMUTIL"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7311 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7317 if test "x$ac_ct_DSYMUTIL" = x; then
7320 case $cross_compiling:$ac_tool_warned in
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7324 ac_tool_warned=yes ;;
7326 DSYMUTIL=$ac_ct_DSYMUTIL
7329 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7332 if test -n "$ac_tool_prefix"; then
7333 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7334 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if ${ac_cv_prog_NMEDIT+:} false; then :
7338 $as_echo_n "(cached) " >&6
7340 if test -n "$NMEDIT"; then
7341 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360 NMEDIT=$ac_cv_prog_NMEDIT
7361 if test -n "$NMEDIT"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7363 $as_echo "$NMEDIT" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 $as_echo "no" >&6; }
7371 if test -z "$ac_cv_prog_NMEDIT"; then
7372 ac_ct_NMEDIT=$NMEDIT
7373 # Extract the first word of "nmedit", so it can be a program name with args.
7374 set dummy nmedit; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7378 $as_echo_n "(cached) " >&6
7380 if test -n "$ac_ct_NMEDIT"; then
7381 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7401 if test -n "$ac_ct_NMEDIT"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7403 $as_echo "$ac_ct_NMEDIT" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7409 if test "x$ac_ct_NMEDIT" = x; then
7412 case $cross_compiling:$ac_tool_warned in
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7416 ac_tool_warned=yes ;;
7418 NMEDIT=$ac_ct_NMEDIT
7421 NMEDIT="$ac_cv_prog_NMEDIT"
7424 if test -n "$ac_tool_prefix"; then
7425 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7426 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if ${ac_cv_prog_LIPO+:} false; then :
7430 $as_echo_n "(cached) " >&6
7432 if test -n "$LIPO"; then
7433 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir=.
7440 for ac_exec_ext in '' $ac_executable_extensions; do
7441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 LIPO=$ac_cv_prog_LIPO
7453 if test -n "$LIPO"; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7455 $as_echo "$LIPO" >&6; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7463 if test -z "$ac_cv_prog_LIPO"; then
7465 # Extract the first word of "lipo", so it can be a program name with args.
7466 set dummy lipo; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7470 $as_echo_n "(cached) " >&6
7472 if test -n "$ac_ct_LIPO"; then
7473 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_ac_ct_LIPO="lipo"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7493 if test -n "$ac_ct_LIPO"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7495 $as_echo "$ac_ct_LIPO" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7501 if test "x$ac_ct_LIPO" = x; then
7504 case $cross_compiling:$ac_tool_warned in
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7508 ac_tool_warned=yes ;;
7513 LIPO="$ac_cv_prog_LIPO"
7516 if test -n "$ac_tool_prefix"; then
7517 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7518 set dummy ${ac_tool_prefix}otool; ac_word=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_prog_OTOOL+:} false; then :
7522 $as_echo_n "(cached) " >&6
7524 if test -n "$OTOOL"; then
7525 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 test -z "$as_dir" && as_dir=.
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 OTOOL=$ac_cv_prog_OTOOL
7545 if test -n "$OTOOL"; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7547 $as_echo "$OTOOL" >&6; }
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7555 if test -z "$ac_cv_prog_OTOOL"; then
7557 # Extract the first word of "otool", so it can be a program name with args.
7558 set dummy otool; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7562 $as_echo_n "(cached) " >&6
7564 if test -n "$ac_ct_OTOOL"; then
7565 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7574 ac_cv_prog_ac_ct_OTOOL="otool"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7585 if test -n "$ac_ct_OTOOL"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7587 $as_echo "$ac_ct_OTOOL" >&6; }
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7593 if test "x$ac_ct_OTOOL" = x; then
7596 case $cross_compiling:$ac_tool_warned in
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7600 ac_tool_warned=yes ;;
7605 OTOOL="$ac_cv_prog_OTOOL"
7608 if test -n "$ac_tool_prefix"; then
7609 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7610 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7612 $as_echo_n "checking for $ac_word... " >&6; }
7613 if ${ac_cv_prog_OTOOL64+:} false; then :
7614 $as_echo_n "(cached) " >&6
7616 if test -n "$OTOOL64"; then
7617 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 test -z "$as_dir" && as_dir=.
7624 for ac_exec_ext in '' $ac_executable_extensions; do
7625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7626 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636 OTOOL64=$ac_cv_prog_OTOOL64
7637 if test -n "$OTOOL64"; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7639 $as_echo "$OTOOL64" >&6; }
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642 $as_echo "no" >&6; }
7647 if test -z "$ac_cv_prog_OTOOL64"; then
7648 ac_ct_OTOOL64=$OTOOL64
7649 # Extract the first word of "otool64", so it can be a program name with args.
7650 set dummy otool64; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7654 $as_echo_n "(cached) " >&6
7656 if test -n "$ac_ct_OTOOL64"; then
7657 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7666 ac_cv_prog_ac_ct_OTOOL64="otool64"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7677 if test -n "$ac_ct_OTOOL64"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7679 $as_echo "$ac_ct_OTOOL64" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7685 if test "x$ac_ct_OTOOL64" = x; then
7688 case $cross_compiling:$ac_tool_warned in
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7692 ac_tool_warned=yes ;;
7694 OTOOL64=$ac_ct_OTOOL64
7697 OTOOL64="$ac_cv_prog_OTOOL64"
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7727 $as_echo_n "checking for -single_module linker flag... " >&6; }
7728 if ${lt_cv_apple_cc_single_mod+:} false; then :
7729 $as_echo_n "(cached) " >&6
7731 lt_cv_apple_cc_single_mod=no
7732 if test -z "${LT_MULTI_MODULE}"; then
7733 # By default we will add the -single_module flag. You can override
7734 # by either setting the environment variable LT_MULTI_MODULE
7735 # non-empty at configure time, or by adding -multi_module to the
7737 rm -rf libconftest.dylib*
7738 echo "int foo(void){return 1;}" > conftest.c
7739 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7740 -dynamiclib -Wl,-single_module conftest.c" >&5
7741 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7742 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7744 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7745 lt_cv_apple_cc_single_mod=yes
7747 cat conftest.err >&5
7749 rm -rf libconftest.dylib*
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7754 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7756 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7757 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7758 $as_echo_n "(cached) " >&6
7760 lt_cv_ld_exported_symbols_list=no
7761 save_LDFLAGS=$LDFLAGS
7762 echo "_main" > conftest.sym
7763 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h. */
7775 if ac_fn_c_try_link "$LINENO"; then :
7776 lt_cv_ld_exported_symbols_list=yes
7778 lt_cv_ld_exported_symbols_list=no
7780 rm -f core conftest.err conftest.$ac_objext \
7781 conftest$ac_exeext conftest.$ac_ext
7782 LDFLAGS="$save_LDFLAGS"
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7786 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7788 $as_echo_n "checking for -force_load linker flag... " >&6; }
7789 if ${lt_cv_ld_force_load+:} false; then :
7790 $as_echo_n "(cached) " >&6
7792 lt_cv_ld_force_load=no
7793 cat > conftest.c << _LT_EOF
7794 int forced_loaded() { return 2;}
7796 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7797 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7798 echo "$AR cru libconftest.a conftest.o" >&5
7799 $AR cru libconftest.a conftest.o 2>&5
7800 cat > conftest.c << _LT_EOF
7801 int main() { return 0;}
7803 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7804 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7806 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7807 lt_cv_ld_force_load=yes
7809 cat conftest.err >&5
7811 rm -f conftest.err libconftest.a conftest conftest.c
7812 rm -rf conftest.dSYM
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7816 $as_echo "$lt_cv_ld_force_load" >&6; }
7818 rhapsody* | darwin1.[012])
7819 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7821 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7822 darwin*) # darwin 5.x on
7823 # if running on 10.5 or later, the deployment target defaults
7824 # to the OS version, if on x86, and 10.4, the deployment
7825 # target defaults to 10.4. Don't you love it?
7826 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7827 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7828 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7830 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7832 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7836 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7837 _lt_dar_single_mod='$single_module'
7839 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7840 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7842 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7844 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7845 _lt_dsymutil='~$DSYMUTIL $lib || :'
7852 for ac_header in dlfcn.h
7854 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7856 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7857 cat >>confdefs.h <<_ACEOF
7858 #define HAVE_DLFCN_H 1
7879 # Check whether --enable-shared was given.
7880 if test "${enable_shared+set}" = set; then :
7881 enableval=$enable_shared; p=${PACKAGE-default}
7883 yes) enable_shared=yes ;;
7884 no) enable_shared=no ;;
7887 # Look at the argument we got. We use all the common list separators.
7888 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7889 for pkg in $enableval; do
7891 if test "X$pkg" = "X$p"; then
7910 # Check whether --enable-static was given.
7911 if test "${enable_static+set}" = set; then :
7912 enableval=$enable_static; p=${PACKAGE-default}
7914 yes) enable_static=yes ;;
7915 no) enable_static=no ;;
7918 # Look at the argument we got. We use all the common list separators.
7919 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7920 for pkg in $enableval; do
7922 if test "X$pkg" = "X$p"; then
7942 # Check whether --with-pic was given.
7943 if test "${with_pic+set}" = set; then :
7944 withval=$with_pic; pic_mode="$withval"
7950 test -z "$pic_mode" && pic_mode=default
7958 # Check whether --enable-fast-install was given.
7959 if test "${enable_fast_install+set}" = set; then :
7960 enableval=$enable_fast_install; p=${PACKAGE-default}
7962 yes) enable_fast_install=yes ;;
7963 no) enable_fast_install=no ;;
7965 enable_fast_install=no
7966 # Look at the argument we got. We use all the common list separators.
7967 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7968 for pkg in $enableval; do
7970 if test "X$pkg" = "X$p"; then
7971 enable_fast_install=yes
7978 enable_fast_install=yes
7991 # This can be used to rebuild libtool when needed
7992 LIBTOOL_DEPS="$ltmain"
7994 # Always use our own libtool.
7995 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8022 test -z "$LN_S" && LN_S="ln -s"
8037 if test -n "${ZSH_VERSION+set}" ; then
8038 setopt NO_GLOB_SUBST
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8042 $as_echo_n "checking for objdir... " >&6; }
8043 if ${lt_cv_objdir+:} false; then :
8044 $as_echo_n "(cached) " >&6
8046 rm -f .libs 2>/dev/null
8047 mkdir .libs 2>/dev/null
8048 if test -d .libs; then
8051 # MS-DOS does not allow filenames that begin with a dot.
8054 rmdir .libs 2>/dev/null
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8057 $as_echo "$lt_cv_objdir" >&6; }
8058 objdir=$lt_cv_objdir
8064 cat >>confdefs.h <<_ACEOF
8065 #define LT_OBJDIR "$lt_cv_objdir/"
8073 # AIX sometimes has problems with the GCC collect2 program. For some
8074 # reason, if we set the COLLECT_NAMES environment variable, the problems
8075 # vanish in a puff of smoke.
8076 if test "X${COLLECT_NAMES+set}" != Xset; then
8078 export COLLECT_NAMES
8085 can_build_shared=yes
8087 # All known linkers require a `.a' archive for static linking (except MSVC,
8088 # which needs '.lib').
8091 with_gnu_ld="$lt_cv_prog_gnu_ld"
8094 old_CFLAGS="$CFLAGS"
8096 # Set sane defaults for various variables
8097 test -z "$CC" && CC=cc
8098 test -z "$LTCC" && LTCC=$CC
8099 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8100 test -z "$LD" && LD=ld
8101 test -z "$ac_objext" && ac_objext=o
8103 for cc_temp in $compiler""; do
8105 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8106 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8111 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8114 # Only perform the check for file, if the check method requires it
8115 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8116 case $deplibs_check_method in
8118 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8120 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8121 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8122 $as_echo_n "(cached) " >&6
8126 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8129 lt_save_MAGIC_CMD="$MAGIC_CMD"
8130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8131 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8132 for ac_dir in $ac_dummy; do
8134 test -z "$ac_dir" && ac_dir=.
8135 if test -f $ac_dir/${ac_tool_prefix}file; then
8136 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8137 if test -n "$file_magic_test_file"; then
8138 case $deplibs_check_method in
8140 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8141 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8142 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8143 $EGREP "$file_magic_regex" > /dev/null; then
8148 *** Warning: the command libtool uses to detect shared libraries,
8149 *** $file_magic_cmd, produces output that libtool cannot recognize.
8150 *** The result is that libtool may fail to recognize shared libraries
8151 *** as such. This will affect the creation of libtool libraries that
8152 *** depend on shared libraries, but programs linked with such libtool
8153 *** libraries will work regardless of this problem. Nevertheless, you
8154 *** may want to report the problem to your system manager and/or to
8165 MAGIC_CMD="$lt_save_MAGIC_CMD"
8170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8171 if test -n "$MAGIC_CMD"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8173 $as_echo "$MAGIC_CMD" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8183 if test -z "$lt_cv_path_MAGIC_CMD"; then
8184 if test -n "$ac_tool_prefix"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8186 $as_echo_n "checking for file... " >&6; }
8187 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8188 $as_echo_n "(cached) " >&6
8192 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8195 lt_save_MAGIC_CMD="$MAGIC_CMD"
8196 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8197 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8198 for ac_dir in $ac_dummy; do
8200 test -z "$ac_dir" && ac_dir=.
8201 if test -f $ac_dir/file; then
8202 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8203 if test -n "$file_magic_test_file"; then
8204 case $deplibs_check_method in
8206 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8208 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8209 $EGREP "$file_magic_regex" > /dev/null; then
8214 *** Warning: the command libtool uses to detect shared libraries,
8215 *** $file_magic_cmd, produces output that libtool cannot recognize.
8216 *** The result is that libtool may fail to recognize shared libraries
8217 *** as such. This will affect the creation of libtool libraries that
8218 *** depend on shared libraries, but programs linked with such libtool
8219 *** libraries will work regardless of this problem. Nevertheless, you
8220 *** may want to report the problem to your system manager and/or to
8231 MAGIC_CMD="$lt_save_MAGIC_CMD"
8236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8237 if test -n "$MAGIC_CMD"; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8239 $as_echo "$MAGIC_CMD" >&6; }
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8255 # Use C for the default configuration in the libtool script
8259 ac_cpp='$CPP $CPPFLAGS'
8260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8265 # Source file extension for C test sources.
8268 # Object file extension for compiled C test sources.
8272 # Code to be used in simple compile tests
8273 lt_simple_compile_test_code="int some_variable = 0;"
8275 # Code to be used in simple link tests
8276 lt_simple_link_test_code='int main(){return(0);}'
8284 # If no C compiler was specified, use CC.
8287 # If no C compiler flags were specified, use CFLAGS.
8288 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8290 # Allow CC to be a program name with arguments.
8293 # Save the default compiler, since it gets overwritten when the other
8294 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8295 compiler_DEFAULT=$CC
8297 # save warnings/boilerplate of simple test code
8298 ac_outfile=conftest.$ac_objext
8299 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8300 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8301 _lt_compiler_boilerplate=`cat conftest.err`
8304 ac_outfile=conftest.$ac_objext
8305 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8306 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8307 _lt_linker_boilerplate=`cat conftest.err`
8312 ## There is no encapsulation within the following macros, do not change
8313 ## the running order or otherwise move them around unless you know exactly
8314 ## what you are doing...
8315 if test -n "$compiler"; then
8317 lt_prog_compiler_no_builtin_flag=
8319 if test "$GCC" = yes; then
8320 case $cc_basename in
8322 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8324 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8328 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8329 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8330 $as_echo_n "(cached) " >&6
8332 lt_cv_prog_compiler_rtti_exceptions=no
8333 ac_outfile=conftest.$ac_objext
8334 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8335 lt_compiler_flag="-fno-rtti -fno-exceptions"
8336 # Insert the option either (1) after the last *FLAGS variable, or
8337 # (2) before a word containing "conftest.", or (3) at the end.
8338 # Note that $ac_compile itself does not contain backslashes and begins
8339 # with a dollar sign (not a hyphen), so the echo should work correctly.
8340 # The option is referenced via a variable to avoid confusing sed.
8341 lt_compile=`echo "$ac_compile" | $SED \
8342 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8344 -e 's:$: $lt_compiler_flag:'`
8345 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8346 (eval "$lt_compile" 2>conftest.err)
8348 cat conftest.err >&5
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 if (exit $ac_status) && test -s "$ac_outfile"; then
8351 # The compiler can only warn and ignore the option if not recognized
8352 # So say no if there are warnings other than the usual output.
8353 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8354 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8355 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8356 lt_cv_prog_compiler_rtti_exceptions=yes
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8363 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8365 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8366 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8378 lt_prog_compiler_wl=
8379 lt_prog_compiler_pic=
8380 lt_prog_compiler_static=
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8385 if test "$GCC" = yes; then
8386 lt_prog_compiler_wl='-Wl,'
8387 lt_prog_compiler_static='-static'
8391 # All AIX code is PIC.
8392 if test "$host_cpu" = ia64; then
8393 # AIX 5 now supports IA64 processor
8394 lt_prog_compiler_static='-Bstatic'
8396 lt_prog_compiler_pic='-fPIC'
8402 # see comment about AmigaOS4 .so support
8403 lt_prog_compiler_pic='-fPIC'
8406 # FIXME: we need at least 68020 code to build shared libraries, but
8407 # adding the `-m68020' flag to GCC prevents building anything better,
8409 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8414 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8415 # PIC is the default for these OSes.
8418 mingw* | cygwin* | pw32* | os2* | cegcc*)
8419 # This hack is so that the source file can tell whether it is being
8420 # built for inclusion in a dll (and should export symbols for example).
8421 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8422 # (--disable-auto-import) libraries
8423 lt_prog_compiler_pic='-DDLL_EXPORT'
8426 darwin* | rhapsody*)
8427 # PIC is the default on this platform
8428 # Common symbols not allowed in MH_DYLIB files
8429 lt_prog_compiler_pic='-fno-common'
8433 # PIC is the default for Haiku.
8434 # The "-static" flag exists, but is broken.
8435 lt_prog_compiler_static=
8439 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8440 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8441 # sets the default TLS model and affects inlining.
8447 lt_prog_compiler_pic='-fPIC'
8453 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8454 # Instead, we relocate shared libraries at runtime.
8458 # Just because we use GCC doesn't mean we suddenly get shared libraries
8459 # on systems that don't support them.
8460 lt_prog_compiler_can_build_shared=no
8465 # QNX uses GNU C++, but need to define -shared option too, otherwise
8467 lt_prog_compiler_pic='-fPIC -shared'
8471 if test -d /usr/nec; then
8472 lt_prog_compiler_pic=-Kconform_pic
8477 lt_prog_compiler_pic='-fPIC'
8481 case $cc_basename in
8482 nvcc*) # Cuda Compiler Driver 2.2
8483 lt_prog_compiler_wl='-Xlinker '
8484 lt_prog_compiler_pic='-Xcompiler -fPIC'
8488 # PORTME Check for flag to pass linker flags through the system compiler.
8491 lt_prog_compiler_wl='-Wl,'
8492 if test "$host_cpu" = ia64; then
8493 # AIX 5 now supports IA64 processor
8494 lt_prog_compiler_static='-Bstatic'
8496 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8500 mingw* | cygwin* | pw32* | os2* | cegcc*)
8501 # This hack is so that the source file can tell whether it is being
8502 # built for inclusion in a dll (and should export symbols for example).
8503 lt_prog_compiler_pic='-DDLL_EXPORT'
8506 hpux9* | hpux10* | hpux11*)
8507 lt_prog_compiler_wl='-Wl,'
8508 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8515 lt_prog_compiler_pic='+Z'
8518 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8519 lt_prog_compiler_static='${wl}-a ${wl}archive'
8522 irix5* | irix6* | nonstopux*)
8523 lt_prog_compiler_wl='-Wl,'
8524 # PIC (with -KPIC) is the default.
8525 lt_prog_compiler_static='-non_shared'
8528 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8529 case $cc_basename in
8530 # old Intel for x86_64 which still supported -KPIC.
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_pic='-KPIC'
8534 lt_prog_compiler_static='-static'
8536 # icc used to be incompatible with GCC.
8537 # ICC 10 doesn't accept -KPIC any more.
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_pic='-fPIC'
8541 lt_prog_compiler_static='-static'
8543 # Lahey Fortran 8.1.
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='--shared'
8547 lt_prog_compiler_static='--static'
8549 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8550 # Portland Group compilers (*not* the Pentium gcc compiler,
8551 # which looks to be a dead project)
8552 lt_prog_compiler_wl='-Wl,'
8553 lt_prog_compiler_pic='-fpic'
8554 lt_prog_compiler_static='-Bstatic'
8557 lt_prog_compiler_wl='-Wl,'
8558 # All Alpha code is PIC.
8559 lt_prog_compiler_static='-non_shared'
8561 xl* | bgxl* | bgf* | mpixl*)
8562 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8563 lt_prog_compiler_wl='-Wl,'
8564 lt_prog_compiler_pic='-qpic'
8565 lt_prog_compiler_static='-qstaticlink'
8568 case `$CC -V 2>&1 | sed 5q` in
8569 *Sun\ F* | *Sun*Fortran*)
8570 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8571 lt_prog_compiler_pic='-KPIC'
8572 lt_prog_compiler_static='-Bstatic'
8573 lt_prog_compiler_wl=''
8577 lt_prog_compiler_pic='-KPIC'
8578 lt_prog_compiler_static='-Bstatic'
8579 lt_prog_compiler_wl='-Wl,'
8587 lt_prog_compiler_pic='-KPIC'
8588 lt_prog_compiler_static='-Bstatic'
8592 # QNX uses GNU C++, but need to define -shared option too, otherwise
8594 lt_prog_compiler_pic='-fPIC -shared'
8597 osf3* | osf4* | osf5*)
8598 lt_prog_compiler_wl='-Wl,'
8599 # All OSF/1 code is PIC.
8600 lt_prog_compiler_static='-non_shared'
8604 lt_prog_compiler_static='-non_shared'
8608 lt_prog_compiler_pic='-KPIC'
8609 lt_prog_compiler_static='-Bstatic'
8610 case $cc_basename in
8612 lt_prog_compiler_wl='-Qoption ld ';;
8614 lt_prog_compiler_wl='-Wl,';;
8619 lt_prog_compiler_wl='-Qoption ld '
8620 lt_prog_compiler_pic='-PIC'
8621 lt_prog_compiler_static='-Bstatic'
8624 sysv4 | sysv4.2uw2* | sysv4.3*)
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_pic='-KPIC'
8627 lt_prog_compiler_static='-Bstatic'
8631 if test -d /usr/nec ;then
8632 lt_prog_compiler_pic='-Kconform_pic'
8633 lt_prog_compiler_static='-Bstatic'
8637 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8638 lt_prog_compiler_wl='-Wl,'
8639 lt_prog_compiler_pic='-KPIC'
8640 lt_prog_compiler_static='-Bstatic'
8644 lt_prog_compiler_wl='-Wl,'
8645 lt_prog_compiler_can_build_shared=no
8649 lt_prog_compiler_pic='-pic'
8650 lt_prog_compiler_static='-Bstatic'
8654 lt_prog_compiler_can_build_shared=no
8660 # For platforms which do not support PIC, -DPIC is meaningless:
8662 lt_prog_compiler_pic=
8665 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8669 $as_echo "$lt_prog_compiler_pic" >&6; }
8677 # Check to make sure the PIC flag actually works.
8679 if test -n "$lt_prog_compiler_pic"; then
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8681 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8682 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8683 $as_echo_n "(cached) " >&6
8685 lt_cv_prog_compiler_pic_works=no
8686 ac_outfile=conftest.$ac_objext
8687 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8688 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8689 # Insert the option either (1) after the last *FLAGS variable, or
8690 # (2) before a word containing "conftest.", or (3) at the end.
8691 # Note that $ac_compile itself does not contain backslashes and begins
8692 # with a dollar sign (not a hyphen), so the echo should work correctly.
8693 # The option is referenced via a variable to avoid confusing sed.
8694 lt_compile=`echo "$ac_compile" | $SED \
8695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8697 -e 's:$: $lt_compiler_flag:'`
8698 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8699 (eval "$lt_compile" 2>conftest.err)
8701 cat conftest.err >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 if (exit $ac_status) && test -s "$ac_outfile"; then
8704 # The compiler can only warn and ignore the option if not recognized
8705 # So say no if there are warnings other than the usual output.
8706 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8707 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8708 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8709 lt_cv_prog_compiler_pic_works=yes
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8716 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8718 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8719 case $lt_prog_compiler_pic in
8721 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8724 lt_prog_compiler_pic=
8725 lt_prog_compiler_can_build_shared=no
8736 # Check to make sure the static flag actually works.
8738 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8740 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8741 if ${lt_cv_prog_compiler_static_works+:} false; then :
8742 $as_echo_n "(cached) " >&6
8744 lt_cv_prog_compiler_static_works=no
8745 save_LDFLAGS="$LDFLAGS"
8746 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8747 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8748 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8749 # The linker can only warn and ignore the option if not recognized
8750 # So say no if there are warnings
8751 if test -s conftest.err; then
8752 # Append any errors to the config.log.
8753 cat conftest.err 1>&5
8754 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8755 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8756 if diff conftest.exp conftest.er2 >/dev/null; then
8757 lt_cv_prog_compiler_static_works=yes
8760 lt_cv_prog_compiler_static_works=yes
8764 LDFLAGS="$save_LDFLAGS"
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8768 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8770 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8773 lt_prog_compiler_static=
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8783 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8784 if ${lt_cv_prog_compiler_c_o+:} false; then :
8785 $as_echo_n "(cached) " >&6
8787 lt_cv_prog_compiler_c_o=no
8788 $RM -r conftest 2>/dev/null
8792 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8794 lt_compiler_flag="-o out/conftest2.$ac_objext"
8795 # Insert the option either (1) after the last *FLAGS variable, or
8796 # (2) before a word containing "conftest.", or (3) at the end.
8797 # Note that $ac_compile itself does not contain backslashes and begins
8798 # with a dollar sign (not a hyphen), so the echo should work correctly.
8799 lt_compile=`echo "$ac_compile" | $SED \
8800 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8801 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8802 -e 's:$: $lt_compiler_flag:'`
8803 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8804 (eval "$lt_compile" 2>out/conftest.err)
8806 cat out/conftest.err >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8810 # The compiler can only warn and ignore the option if not recognized
8811 # So say no if there are warnings
8812 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8813 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8814 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8815 lt_cv_prog_compiler_c_o=yes
8820 # SGI C++ compiler will create directory out/ii_files/ for
8821 # template instantiation
8822 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8823 $RM out/* && rmdir out
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8830 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8838 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8839 if ${lt_cv_prog_compiler_c_o+:} false; then :
8840 $as_echo_n "(cached) " >&6
8842 lt_cv_prog_compiler_c_o=no
8843 $RM -r conftest 2>/dev/null
8847 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8849 lt_compiler_flag="-o out/conftest2.$ac_objext"
8850 # Insert the option either (1) after the last *FLAGS variable, or
8851 # (2) before a word containing "conftest.", or (3) at the end.
8852 # Note that $ac_compile itself does not contain backslashes and begins
8853 # with a dollar sign (not a hyphen), so the echo should work correctly.
8854 lt_compile=`echo "$ac_compile" | $SED \
8855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8857 -e 's:$: $lt_compiler_flag:'`
8858 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8859 (eval "$lt_compile" 2>out/conftest.err)
8861 cat out/conftest.err >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8865 # The compiler can only warn and ignore the option if not recognized
8866 # So say no if there are warnings
8867 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8868 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8869 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8870 lt_cv_prog_compiler_c_o=yes
8875 # SGI C++ compiler will create directory out/ii_files/ for
8876 # template instantiation
8877 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8878 $RM out/* && rmdir out
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8885 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8890 hard_links="nottested"
8891 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8892 # do not overwrite the value of need_locks provided by the user
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8894 $as_echo_n "checking if we can lock with hard links... " >&6; }
8897 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8899 ln conftest.a conftest.b 2>&5 || hard_links=no
8900 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8902 $as_echo "$hard_links" >&6; }
8903 if test "$hard_links" = no; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8905 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8918 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8921 allow_undefined_flag=
8922 always_export_symbols=no
8924 archive_expsym_cmds=
8925 compiler_needs_object=no
8926 enable_shared_with_static_runtimes=no
8927 export_dynamic_flag_spec=
8928 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8929 hardcode_automatic=no
8931 hardcode_direct_absolute=no
8932 hardcode_libdir_flag_spec=
8933 hardcode_libdir_flag_spec_ld=
8934 hardcode_libdir_separator=
8936 hardcode_shlibpath_var=unsupported
8938 link_all_deplibs=unknown
8941 old_archive_from_new_cmds=
8942 old_archive_from_expsyms_cmds=
8943 thread_safe_flag_spec=
8944 whole_archive_flag_spec=
8945 # include_expsyms should be a list of space-separated symbols to be *always*
8946 # included in the symbol list
8948 # exclude_expsyms can be an extended regexp of symbols to exclude
8949 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8950 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8951 # as well as any symbol that contains `d'.
8952 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8953 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8954 # platforms (ab)use it in PIC code, but their linkers get confused if
8955 # the symbol is explicitly referenced. Since portable code cannot
8956 # rely on this symbol name, it's probably fine to never include it in
8957 # preloaded symbol tables.
8958 # Exclude shared library initialization/finalization symbols.
8959 extract_expsyms_cmds=
8962 cygwin* | mingw* | pw32* | cegcc*)
8963 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8964 # When not using gcc, we currently assume that we are using
8965 # Microsoft Visual C++.
8966 if test "$GCC" != yes; then
8971 # we just hope/assume this is gcc and not c89 (= MSVC++)
8981 # On some targets, GNU ld is compatible enough with the native linker
8982 # that we're better off using the native interface for both.
8983 lt_use_gnu_ld_interface=no
8984 if test "$with_gnu_ld" = yes; then
8987 # The AIX port of GNU ld has always aspired to compatibility
8988 # with the native linker. However, as the warning in the GNU ld
8989 # block says, versions before 2.19.5* couldn't really create working
8990 # shared libraries, regardless of the interface used.
8991 case `$LD -v 2>&1` in
8992 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8993 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8994 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8996 lt_use_gnu_ld_interface=yes
9001 lt_use_gnu_ld_interface=yes
9006 if test "$lt_use_gnu_ld_interface" = yes; then
9007 # If archive_cmds runs LD, not CC, wlarc should be empty
9010 # Set some defaults for GNU ld with shared library support. These
9011 # are reset later if shared libraries are not supported. Putting them
9012 # here allows them to be overridden if necessary.
9013 runpath_var=LD_RUN_PATH
9014 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9015 export_dynamic_flag_spec='${wl}--export-dynamic'
9016 # ancient GNU ld didn't support --whole-archive et. al.
9017 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9018 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9020 whole_archive_flag_spec=
9022 supports_anon_versioning=no
9023 case `$LD -v 2>&1` in
9024 *GNU\ gold*) supports_anon_versioning=yes ;;
9025 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9026 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9027 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9028 *\ 2.11.*) ;; # other 2.11 versions
9029 *) supports_anon_versioning=yes ;;
9032 # See if GNU ld supports shared libraries.
9035 # On AIX/PPC, the GNU linker is very broken
9036 if test "$host_cpu" != ia64; then
9040 *** Warning: the GNU linker, at least up to release 2.19, is reported
9041 *** to be unable to reliably create shared libraries on AIX.
9042 *** Therefore, libtool is disabling shared libraries support. If you
9043 *** really care for shared libraries, you may want to install binutils
9044 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9045 *** You will then need to restart the configuration process.
9054 # see comment about AmigaOS4 .so support
9055 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9056 archive_expsym_cmds=''
9059 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)'
9060 hardcode_libdir_flag_spec='-L$libdir'
9061 hardcode_minus_L=yes
9067 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9068 allow_undefined_flag=unsupported
9070 # support --undefined. This deserves some investigation. FIXME
9071 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9077 cygwin* | mingw* | pw32* | cegcc*)
9078 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9079 # as there is no search path for DLLs.
9080 hardcode_libdir_flag_spec='-L$libdir'
9081 export_dynamic_flag_spec='${wl}--export-all-symbols'
9082 allow_undefined_flag=unsupported
9083 always_export_symbols=no
9084 enable_shared_with_static_runtimes=yes
9085 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9087 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9088 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9089 # If the export-symbols file already is a .def file (1st line
9090 # is EXPORTS), use it as is; otherwise, prepend...
9091 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9092 cp $export_symbols $output_objdir/$soname.def;
9094 echo EXPORTS > $output_objdir/$soname.def;
9095 cat $export_symbols >> $output_objdir/$soname.def;
9097 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9104 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9105 link_all_deplibs=yes
9110 hardcode_shlibpath_var=no
9111 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9112 export_dynamic_flag_spec='${wl}-E'
9113 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9114 # Instead, shared libraries are loaded at an image base (0x10000000 by
9115 # default) and relocated if they conflict, which is a slow very memory
9116 # consuming and fragmenting process. To avoid this, we pick a random,
9117 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9118 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9119 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9120 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'
9123 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9125 if test "$host_os" = linux-dietlibc; then
9126 case $cc_basename in
9127 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9130 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9131 && test "$tmp_diet" = no
9133 tmp_addflag=' $pic_flag'
9134 tmp_sharedflag='-shared'
9135 case $cc_basename,$host_cpu in
9136 pgcc*) # Portland Group C compiler
9137 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'
9138 tmp_addflag=' $pic_flag'
9140 pgf77* | pgf90* | pgf95* | pgfortran*)
9141 # Portland Group f77 and f90 compilers
9142 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'
9143 tmp_addflag=' $pic_flag -Mnomain' ;;
9144 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9145 tmp_addflag=' -i_dynamic' ;;
9146 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9147 tmp_addflag=' -i_dynamic -nofor_main' ;;
9148 ifc* | ifort*) # Intel Fortran compiler
9149 tmp_addflag=' -nofor_main' ;;
9150 lf95*) # Lahey Fortran 8.1
9151 whole_archive_flag_spec=
9152 tmp_sharedflag='--shared' ;;
9153 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9154 tmp_sharedflag='-qmkshrobj'
9156 nvcc*) # Cuda Compiler Driver 2.2
9157 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9158 compiler_needs_object=yes
9161 case `$CC -V 2>&1 | sed 5q` in
9162 *Sun\ C*) # Sun C 5.9
9163 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'
9164 compiler_needs_object=yes
9165 tmp_sharedflag='-G' ;;
9166 *Sun\ F*) # Sun Fortran 8.3
9167 tmp_sharedflag='-G' ;;
9169 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171 if test "x$supports_anon_versioning" = xyes; then
9172 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9173 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9174 echo "local: *; };" >> $output_objdir/$libname.ver~
9175 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9178 case $cc_basename in
9179 xlf* | bgf* | bgxlf* | mpixlf*)
9180 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9181 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9182 hardcode_libdir_flag_spec=
9183 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9184 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9185 if test "x$supports_anon_versioning" = xyes; then
9186 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9187 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9188 echo "local: *; };" >> $output_objdir/$libname.ver~
9189 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9199 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9200 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9203 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9204 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9209 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9213 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9214 *** create shared libraries on Solaris systems. Therefore, libtool
9215 *** is disabling shared libraries support. We urge you to upgrade GNU
9216 *** binutils to release 2.9.1 or newer. Another option is to modify
9217 *** your PATH or compiler configuration so that the native linker is
9218 *** used, and then restart.
9221 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9229 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9230 case `$LD -v 2>&1` in
9231 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9235 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9236 *** reliably create shared libraries on SCO systems. Therefore, libtool
9237 *** is disabling shared libraries support. We urge you to upgrade GNU
9238 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9239 *** your PATH or compiler configuration so that the native linker is
9240 *** used, and then restart.
9245 # For security reasons, it is highly recommended that you always
9246 # use absolute paths for naming shared libraries, and exclude the
9247 # DT_RUNPATH tag from executables and libraries. But doing so
9248 # requires that you compile everything twice, which is a pain.
9249 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9250 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9251 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9252 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9261 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9264 hardcode_shlibpath_var=no
9268 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9269 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9270 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9277 if test "$ld_shlibs" = no; then
9279 hardcode_libdir_flag_spec=
9280 export_dynamic_flag_spec=
9281 whole_archive_flag_spec=
9284 # PORTME fill in a description of your system's linker (not GNU ld)
9287 allow_undefined_flag=unsupported
9288 always_export_symbols=yes
9289 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'
9290 # Note: this linker hardcodes the directories in LIBPATH if there
9291 # are no directories specified by -L.
9292 hardcode_minus_L=yes
9293 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9294 # Neither direct hardcoding nor static linking is supported with a
9296 hardcode_direct=unsupported
9301 if test "$host_cpu" = ia64; then
9302 # On IA64, the linker does run time linking by default, so we don't
9303 # have to do anything special.
9304 aix_use_runtimelinking=no
9305 exp_sym_flag='-Bexport'
9308 # If we're using GNU nm, then we don't want the "-C" option.
9309 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9310 # Also, AIX nm treats weak defined symbols like other global
9311 # defined symbols, whereas GNU nm marks them as "W".
9312 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9313 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'
9315 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'
9317 aix_use_runtimelinking=no
9319 # Test if we are trying to use run time linking or normal
9320 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9321 # need to do runtime linking.
9322 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9323 for ld_flag in $LDFLAGS; do
9324 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9325 aix_use_runtimelinking=yes
9332 exp_sym_flag='-bexport'
9333 no_entry_flag='-bnoentry'
9336 # When large executables or shared objects are built, AIX ld can
9337 # have problems creating the table of contents. If linking a library
9338 # or program results in "error TOC overflow" add -mminimal-toc to
9339 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9340 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9344 hardcode_direct_absolute=yes
9345 hardcode_libdir_separator=':'
9346 link_all_deplibs=yes
9347 file_list_spec='${wl}-f,'
9349 if test "$GCC" = yes; then
9350 case $host_os in aix4.[012]|aix4.[012].*)
9351 # We only want to do this on AIX 4.2 and lower, the check
9352 # below for broken collect2 doesn't work under 4.3+
9353 collect2name=`${CC} -print-prog-name=collect2`
9354 if test -f "$collect2name" &&
9355 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9357 # We have reworked collect2
9360 # We have old collect2
9361 hardcode_direct=unsupported
9362 # It fails to find uninstalled libraries when the uninstalled
9363 # path is not listed in the libpath. Setting hardcode_minus_L
9364 # to unsupported forces relinking
9365 hardcode_minus_L=yes
9366 hardcode_libdir_flag_spec='-L$libdir'
9367 hardcode_libdir_separator=
9371 shared_flag='-shared'
9372 if test "$aix_use_runtimelinking" = yes; then
9373 shared_flag="$shared_flag "'${wl}-G'
9377 if test "$host_cpu" = ia64; then
9378 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9379 # chokes on -Wl,-G. The following line is correct:
9382 if test "$aix_use_runtimelinking" = yes; then
9383 shared_flag='${wl}-G'
9385 shared_flag='${wl}-bM:SRE'
9390 export_dynamic_flag_spec='${wl}-bexpall'
9391 # It seems that -bexpall does not export symbols beginning with
9392 # underscore (_), so it is better to generate a list of symbols to export.
9393 always_export_symbols=yes
9394 if test "$aix_use_runtimelinking" = yes; then
9395 # Warning - without using the other runtime loading flags (-brtl),
9396 # -berok will link without error, but may produce a broken library.
9397 allow_undefined_flag='-berok'
9398 # Determine the default libpath from the value encoded in an
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9411 if ac_fn_c_try_link "$LINENO"; then :
9413 lt_aix_libpath_sed='
9414 /Import File Strings/,/^$/ {
9420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9421 # Check for a 64-bit object if we didn't find anything.
9422 if test -z "$aix_libpath"; then
9423 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9430 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9431 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"
9433 if test "$host_cpu" = ia64; then
9434 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9435 allow_undefined_flag="-z nodefs"
9436 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"
9438 # Determine the default libpath from the value encoded in an
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9451 if ac_fn_c_try_link "$LINENO"; then :
9453 lt_aix_libpath_sed='
9454 /Import File Strings/,/^$/ {
9460 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9461 # Check for a 64-bit object if we didn't find anything.
9462 if test -z "$aix_libpath"; then
9463 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9470 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9471 # Warning - without using the other run time loading flags,
9472 # -berok will link without error, but may produce a broken library.
9473 no_undefined_flag=' ${wl}-bernotok'
9474 allow_undefined_flag=' ${wl}-berok'
9475 if test "$with_gnu_ld" = yes; then
9476 # We only use this code for GNU lds that support --whole-archive.
9477 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9479 # Exported symbols can be pulled into shared objects from archives
9480 whole_archive_flag_spec='$convenience'
9482 archive_cmds_need_lc=yes
9483 # This is similar to how AIX traditionally builds its shared libraries.
9484 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'
9492 # see comment about AmigaOS4 .so support
9493 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9494 archive_expsym_cmds=''
9497 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)'
9498 hardcode_libdir_flag_spec='-L$libdir'
9499 hardcode_minus_L=yes
9505 export_dynamic_flag_spec=-rdynamic
9508 cygwin* | mingw* | pw32* | cegcc*)
9509 # When not using gcc, we currently assume that we are using
9510 # Microsoft Visual C++.
9511 # hardcode_libdir_flag_spec is actually meaningless, as there is
9512 # no search path for DLLs.
9513 hardcode_libdir_flag_spec=' '
9514 allow_undefined_flag=unsupported
9515 # Tell ltmain to make .lib files, not .a files.
9517 # Tell ltmain to make .dll files, not .so files.
9519 # FIXME: Setting linknames here is a bad hack.
9520 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9521 # The linker will automatically build a .lib file if we build a DLL.
9522 old_archive_from_new_cmds='true'
9523 # FIXME: Should let the user specify the lib program.
9524 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9525 fix_srcfile_path='`cygpath -w "$srcfile"`'
9526 enable_shared_with_static_runtimes=yes
9529 darwin* | rhapsody*)
9532 archive_cmds_need_lc=no
9534 hardcode_automatic=yes
9535 hardcode_shlibpath_var=unsupported
9536 if test "$lt_cv_ld_force_load" = "yes"; then
9537 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\"`'
9539 whole_archive_flag_spec=''
9541 link_all_deplibs=yes
9542 allow_undefined_flag="$_lt_dar_allow_undefined"
9543 case $cc_basename in
9544 ifort*) _lt_dar_can_shared=yes ;;
9545 *) _lt_dar_can_shared=$GCC ;;
9547 if test "$_lt_dar_can_shared" = "yes"; then
9548 output_verbose_link_cmd=func_echo_all
9549 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9550 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9551 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}"
9552 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}"
9561 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9562 hardcode_libdir_flag_spec='-L$libdir'
9563 hardcode_shlibpath_var=no
9566 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9567 # support. Future versions do this automatically, but an explicit c++rt0.o
9568 # does not break anything, and helps significantly (at the cost of a little
9571 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9572 hardcode_libdir_flag_spec='-R$libdir'
9574 hardcode_shlibpath_var=no
9577 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9579 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9581 hardcode_minus_L=yes
9582 hardcode_shlibpath_var=no
9585 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9586 freebsd* | dragonfly*)
9587 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9588 hardcode_libdir_flag_spec='-R$libdir'
9590 hardcode_shlibpath_var=no
9594 if test "$GCC" = yes; then
9595 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'
9597 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'
9599 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9600 hardcode_libdir_separator=:
9603 # hardcode_minus_L: Not really in the search PATH,
9604 # but as the default location of the library.
9605 hardcode_minus_L=yes
9606 export_dynamic_flag_spec='${wl}-E'
9610 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9611 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9613 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9615 if test "$with_gnu_ld" = no; then
9616 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9617 hardcode_libdir_flag_spec_ld='+b $libdir'
9618 hardcode_libdir_separator=:
9620 hardcode_direct_absolute=yes
9621 export_dynamic_flag_spec='${wl}-E'
9622 # hardcode_minus_L: Not really in the search PATH,
9623 # but as the default location of the library.
9624 hardcode_minus_L=yes
9629 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9632 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9635 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9644 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9651 # Older versions of the 11.00 compiler do not understand -b yet
9652 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9654 $as_echo_n "checking if $CC understands -b... " >&6; }
9655 if ${lt_cv_prog_compiler__b+:} false; then :
9656 $as_echo_n "(cached) " >&6
9658 lt_cv_prog_compiler__b=no
9659 save_LDFLAGS="$LDFLAGS"
9660 LDFLAGS="$LDFLAGS -b"
9661 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9662 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9663 # The linker can only warn and ignore the option if not recognized
9664 # So say no if there are warnings
9665 if test -s conftest.err; then
9666 # Append any errors to the config.log.
9667 cat conftest.err 1>&5
9668 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9669 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9670 if diff conftest.exp conftest.er2 >/dev/null; then
9671 lt_cv_prog_compiler__b=yes
9674 lt_cv_prog_compiler__b=yes
9678 LDFLAGS="$save_LDFLAGS"
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9682 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9684 if test x"$lt_cv_prog_compiler__b" = xyes; then
9685 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9693 if test "$with_gnu_ld" = no; then
9694 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9695 hardcode_libdir_separator=:
9700 hardcode_shlibpath_var=no
9704 hardcode_direct_absolute=yes
9705 export_dynamic_flag_spec='${wl}-E'
9707 # hardcode_minus_L: Not really in the search PATH,
9708 # but as the default location of the library.
9709 hardcode_minus_L=yes
9715 irix5* | irix6* | nonstopux*)
9716 if test "$GCC" = yes; then
9717 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'
9718 # Try to use the -exported_symbol ld option, if it does not
9719 # work, assume that -exports_file does not work either and
9720 # implicitly export all symbols.
9721 save_LDFLAGS="$LDFLAGS"
9722 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9727 if ac_fn_c_try_link "$LINENO"; then :
9728 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'
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LDFLAGS="$save_LDFLAGS"
9735 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'
9736 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'
9738 archive_cmds_need_lc='no'
9739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9740 hardcode_libdir_separator=:
9742 link_all_deplibs=yes
9746 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9749 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9751 hardcode_libdir_flag_spec='-R$libdir'
9753 hardcode_shlibpath_var=no
9757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9759 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9760 hardcode_libdir_separator=:
9761 hardcode_shlibpath_var=no
9768 if test -f /usr/libexec/ld.so; then
9770 hardcode_shlibpath_var=no
9771 hardcode_direct_absolute=yes
9772 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9773 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9775 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9776 export_dynamic_flag_spec='${wl}-E'
9779 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9780 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9781 hardcode_libdir_flag_spec='-R$libdir'
9784 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_minus_L=yes
9797 allow_undefined_flag=unsupported
9798 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'
9799 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9803 if test "$GCC" = yes; then
9804 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9805 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'
9807 allow_undefined_flag=' -expect_unresolved \*'
9808 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'
9810 archive_cmds_need_lc='no'
9811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9812 hardcode_libdir_separator=:
9815 osf4* | osf5*) # as osf3* with the addition of -msym flag
9816 if test "$GCC" = yes; then
9817 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9818 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'
9819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9821 allow_undefined_flag=' -expect_unresolved \*'
9822 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'
9823 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~
9824 $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'
9826 # Both c and cxx compiler support -rpath directly
9827 hardcode_libdir_flag_spec='-rpath $libdir'
9829 archive_cmds_need_lc='no'
9830 hardcode_libdir_separator=:
9834 no_undefined_flag=' -z defs'
9835 if test "$GCC" = yes; then
9837 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9839 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9841 case `$CC -V 2>&1` in
9844 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9845 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9846 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9850 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9852 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9856 hardcode_libdir_flag_spec='-R$libdir'
9857 hardcode_shlibpath_var=no
9859 solaris2.[0-5] | solaris2.[0-5].*) ;;
9861 # The compiler driver will combine and reorder linker options,
9862 # but understands `-z linker_flag'. GCC discards it without `$wl',
9863 # but is careful enough not to reorder.
9864 # Supported since Solaris 2.6 (maybe 2.5.1?)
9865 if test "$GCC" = yes; then
9866 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9868 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9872 link_all_deplibs=yes
9876 if test "x$host_vendor" = xsequent; then
9877 # Use $CC to link under sequent, because it throws in some extra .o
9878 # files that make .init and .fini sections work.
9879 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9883 hardcode_libdir_flag_spec='-L$libdir'
9885 hardcode_minus_L=yes
9886 hardcode_shlibpath_var=no
9890 case $host_vendor in
9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_direct=yes # is this really true???
9896 ## LD is ld it makes a PLAMLIB
9897 ## CC just makes a GrossModule.
9898 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9899 reload_cmds='$CC -r -o $output$reload_objs'
9903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9907 runpath_var='LD_RUN_PATH'
9908 hardcode_shlibpath_var=no
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_shlibpath_var=no
9914 export_dynamic_flag_spec='-Bexport'
9918 if test -d /usr/nec; then
9919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_shlibpath_var=no
9921 runpath_var=LD_RUN_PATH
9922 hardcode_runpath_var=yes
9927 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9928 no_undefined_flag='${wl}-z,text'
9929 archive_cmds_need_lc=no
9930 hardcode_shlibpath_var=no
9931 runpath_var='LD_RUN_PATH'
9933 if test "$GCC" = yes; then
9934 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9938 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9942 sysv5* | sco3.2v5* | sco5v6*)
9943 # Note: We can NOT use -z defs as we might desire, because we do not
9944 # link with -lc, and that would cause any symbols used from libc to
9945 # always be unresolved, which means just about no library would
9946 # ever link correctly. If we're not using GNU ld we use -z text
9947 # though, which does catch some bad symbols but isn't as heavy-handed
9949 no_undefined_flag='${wl}-z,text'
9950 allow_undefined_flag='${wl}-z,nodefs'
9951 archive_cmds_need_lc=no
9952 hardcode_shlibpath_var=no
9953 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9954 hardcode_libdir_separator=':'
9955 link_all_deplibs=yes
9956 export_dynamic_flag_spec='${wl}-Bexport'
9957 runpath_var='LD_RUN_PATH'
9959 if test "$GCC" = yes; then
9960 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9964 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9970 hardcode_libdir_flag_spec='-L$libdir'
9971 hardcode_shlibpath_var=no
9979 if test x$host_vendor = xsni; then
9981 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9982 export_dynamic_flag_spec='${wl}-Blargedynsym'
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9989 $as_echo "$ld_shlibs" >&6; }
9990 test "$ld_shlibs" = no && can_build_shared=no
9992 with_gnu_ld=$with_gnu_ld
10009 # Do we need to explicitly link libc?
10011 case "x$archive_cmds_need_lc" in
10013 # Assume -lc should be added
10014 archive_cmds_need_lc=yes
10016 if test "$enable_shared" = yes && test "$GCC" = yes; then
10017 case $archive_cmds in
10019 # FIXME: we may have to deal with multi-command sequences.
10022 # Test whether the compiler implicitly links with -lc since on some
10023 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10024 # to ld, don't add -lc before -lgcc.
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10026 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10027 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10028 $as_echo_n "(cached) " >&6
10031 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10034 (eval $ac_compile) 2>&5
10036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10037 test $ac_status = 0; } 2>conftest.err; then
10040 libobjs=conftest.$ac_objext
10042 wl=$lt_prog_compiler_wl
10043 pic_flag=$lt_prog_compiler_pic
10049 lt_save_allow_undefined_flag=$allow_undefined_flag
10050 allow_undefined_flag=
10051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10052 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10055 test $ac_status = 0; }
10057 lt_cv_archive_cmds_need_lc=no
10059 lt_cv_archive_cmds_need_lc=yes
10061 allow_undefined_flag=$lt_save_allow_undefined_flag
10063 cat conftest.err 1>&5
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10069 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10070 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10234 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10236 if test "$GCC" = yes; then
10238 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10239 *) lt_awk_arg="/^libraries:/" ;;
10242 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10243 *) lt_sed_strip_eq="s,=/,/,g" ;;
10245 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10246 case $lt_search_path_spec in
10248 # if the path contains ";" then we assume it to be the separator
10249 # otherwise default to the standard path separator (i.e. ":") - it is
10250 # assumed that no part of a normal pathname contains ";" but that should
10251 # okay in the real world where ";" in dirpaths is itself problematic.
10252 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10255 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10258 # Ok, now we have the path, separated by spaces, we can step through it
10259 # and add multilib dir if necessary.
10260 lt_tmp_lt_search_path_spec=
10261 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10262 for lt_sys_path in $lt_search_path_spec; do
10263 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10266 test -d "$lt_sys_path" && \
10267 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10270 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10271 BEGIN {RS=" "; FS="/|\n";} {
10274 for (lt_i = NF; lt_i > 0; lt_i--) {
10275 if ($lt_i != "" && $lt_i != ".") {
10276 if ($lt_i == "..") {
10279 if (lt_count == 0) {
10280 lt_foo="/" $lt_i lt_foo;
10287 if (lt_foo != "") { lt_freq[lt_foo]++; }
10288 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10290 # AWK program above erroneously prepends '/' to C:/dos/paths
10293 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10294 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10296 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10298 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10300 library_names_spec=
10301 libname_spec='lib$name'
10305 postuninstall_cmds=
10309 shlibpath_overrides_runpath=unknown
10311 dynamic_linker="$host_os ld.so"
10312 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10313 need_lib_prefix=unknown
10314 hardcode_into_libs=no
10316 # when you set need_version to no, make sure it does not cause -set_version
10317 # flags to be left without arguments
10318 need_version=unknown
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10324 shlibpath_var=LIBPATH
10326 # AIX 3 has no versioning support, so we append a major version to the name.
10327 soname_spec='${libname}${release}${shared_ext}$major'
10334 hardcode_into_libs=yes
10335 if test "$host_cpu" = ia64; then
10336 # AIX 5 supports IA64
10337 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10338 shlibpath_var=LD_LIBRARY_PATH
10340 # With GCC up to 2.95.x, collect2 would create an import file
10341 # for dependence libraries. The import file would start with
10342 # the line `#! .'. This would cause the generated library to
10343 # depend on `.', always an invalid library. This was fixed in
10344 # development snapshots of GCC prior to 3.0.
10346 aix4 | aix4.[01] | aix4.[01].*)
10347 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10349 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10352 can_build_shared=no
10356 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10357 # soname into executable. Probably we can add versioning support to
10358 # collect2, so additional links can be useful in future.
10359 if test "$aix_use_runtimelinking" = yes; then
10360 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10361 # instead of lib<name>.a to let people know that these are not
10362 # typical AIX shared libraries.
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 # We preserve .a as extension for shared libraries through AIX4.2
10366 # and later when we are not doing run time linking.
10367 library_names_spec='${libname}${release}.a $libname.a'
10368 soname_spec='${libname}${release}${shared_ext}$major'
10370 shlibpath_var=LIBPATH
10377 # Since July 2007 AmigaOS4 officially supports .so libraries.
10378 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10382 library_names_spec='$libname.ixlibrary $libname.a'
10383 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10384 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'
10390 library_names_spec='${libname}${shared_ext}'
10391 dynamic_linker="$host_os ld.so"
10392 shlibpath_var=LIBRARY_PATH
10398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 soname_spec='${libname}${release}${shared_ext}$major'
10400 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10401 shlibpath_var=LD_LIBRARY_PATH
10402 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10403 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10404 # the default ld.so.conf also contains /usr/contrib/lib and
10405 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10406 # libtool to hard-code these into programs
10409 cygwin* | mingw* | pw32* | cegcc*)
10410 version_type=windows
10415 case $GCC,$host_os in
10416 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10417 library_names_spec='$libname.dll.a'
10418 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10419 postinstall_cmds='base_file=`basename \${file}`~
10420 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10421 dldir=$destdir/`dirname \$dlpath`~
10422 test -d \$dldir || mkdir -p \$dldir~
10423 $install_prog $dir/$dlname \$dldir/$dlname~
10424 chmod a+x \$dldir/$dlname~
10425 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10426 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10428 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10429 dlpath=$dir/\$dldll~
10431 shlibpath_overrides_runpath=yes
10435 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10436 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10438 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10441 # MinGW DLLs use traditional 'lib' prefix
10442 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10445 # pw32 DLLs use 'pw' prefix rather than 'lib'
10446 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10452 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10455 dynamic_linker='Win32 ld.exe'
10456 # FIXME: first we should search . and the directory the executable is in
10460 darwin* | rhapsody*)
10461 dynamic_linker="$host_os dyld"
10462 version_type=darwin
10465 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10466 soname_spec='${libname}${release}${major}$shared_ext'
10467 shlibpath_overrides_runpath=yes
10468 shlibpath_var=DYLD_LIBRARY_PATH
10469 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10471 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10472 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10480 soname_spec='${libname}${release}${shared_ext}$major'
10481 shlibpath_var=LD_LIBRARY_PATH
10484 freebsd* | dragonfly*)
10485 # DragonFly does not have aout. When/if they implement a new
10486 # versioning mechanism, adjust this.
10487 if test -x /usr/bin/objformat; then
10488 objformat=`/usr/bin/objformat`
10491 freebsd[23].*) objformat=aout ;;
10492 *) objformat=elf ;;
10495 version_type=freebsd-$objformat
10496 case $version_type in
10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10507 shlibpath_var=LD_LIBRARY_PATH
10510 shlibpath_overrides_runpath=yes
10512 freebsd3.[01]* | freebsdelf3.[01]*)
10513 shlibpath_overrides_runpath=yes
10514 hardcode_into_libs=yes
10516 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10517 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10518 shlibpath_overrides_runpath=no
10519 hardcode_into_libs=yes
10521 *) # from 4.6 on, and DragonFly
10522 shlibpath_overrides_runpath=yes
10523 hardcode_into_libs=yes
10532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10533 soname_spec='${libname}${release}${shared_ext}$major'
10534 shlibpath_var=LD_LIBRARY_PATH
10535 hardcode_into_libs=yes
10542 dynamic_linker="$host_os runtime_loader"
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10544 soname_spec='${libname}${release}${shared_ext}$major'
10545 shlibpath_var=LIBRARY_PATH
10546 shlibpath_overrides_runpath=yes
10547 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10548 hardcode_into_libs=yes
10551 hpux9* | hpux10* | hpux11*)
10552 # Give a soname corresponding to the major version so that dld.sl refuses to
10553 # link against other versions.
10560 hardcode_into_libs=yes
10561 dynamic_linker="$host_os dld.so"
10562 shlibpath_var=LD_LIBRARY_PATH
10563 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565 soname_spec='${libname}${release}${shared_ext}$major'
10566 if test "X$HPUX_IA64_MODE" = X32; then
10567 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10569 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10571 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10575 hardcode_into_libs=yes
10576 dynamic_linker="$host_os dld.sl"
10577 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10578 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec='${libname}${release}${shared_ext}$major'
10581 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10582 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10586 dynamic_linker="$host_os dld.sl"
10587 shlibpath_var=SHLIB_PATH
10588 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590 soname_spec='${libname}${release}${shared_ext}$major'
10593 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10594 postinstall_cmds='chmod 555 $lib'
10595 # or fails outright, so override atomically:
10596 install_override_mode=555
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10606 shlibpath_var=LD_LIBRARY_PATH
10607 shlibpath_overrides_runpath=no
10608 hardcode_into_libs=yes
10611 irix5* | irix6* | nonstopux*)
10613 nonstopux*) version_type=nonstopux ;;
10615 if test "$lt_cv_prog_gnu_ld" = yes; then
10623 soname_spec='${libname}${release}${shared_ext}$major'
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10626 irix5* | nonstopux*)
10627 libsuff= shlibsuff=
10630 case $LD in # libtool.m4 will add one of these switches to LD
10631 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10632 libsuff= shlibsuff= libmagic=32-bit;;
10633 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10634 libsuff=32 shlibsuff=N32 libmagic=N32;;
10635 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10636 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10637 *) libsuff= shlibsuff= libmagic=never-match;;
10641 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10642 shlibpath_overrides_runpath=no
10643 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10644 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10645 hardcode_into_libs=yes
10648 # No shared lib support for Linux oldld, aout, or coff.
10649 linux*oldld* | linux*aout* | linux*coff*)
10653 # This must be Linux ELF.
10654 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10661 shlibpath_var=LD_LIBRARY_PATH
10662 shlibpath_overrides_runpath=no
10664 # Some binutils ld are patched to set DT_RUNPATH
10665 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10666 $as_echo_n "(cached) " >&6
10668 lt_cv_shlibpath_overrides_runpath=no
10669 save_LDFLAGS=$LDFLAGS
10670 save_libdir=$libdir
10671 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10672 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10684 if ac_fn_c_try_link "$LINENO"; then :
10685 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10686 lt_cv_shlibpath_overrides_runpath=yes
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 LDFLAGS=$save_LDFLAGS
10692 libdir=$save_libdir
10696 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10698 # This implies no fast_install, which is unacceptable.
10699 # Some rework will be needed to allow for fast_install
10700 # before this can be enabled.
10701 hardcode_into_libs=yes
10703 # Append ld.so.conf contents to the search path
10704 if test -f /etc/ld.so.conf; then
10705 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' ' '`
10706 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10709 # We used to test for /lib/ld.so.1 and disable shared libraries on
10710 # powerpc, because MkLinux only supported shared libraries with the
10711 # GNU dynamic linker. Since this was broken with cross compilers,
10712 # most powerpc-linux boxes support dynamic linking these days and
10713 # people can always --disable-shared, the test was removed, and we
10714 # assume the GNU/Linux dynamic linker is in use.
10715 dynamic_linker='GNU/Linux ld.so'
10722 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10724 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10725 dynamic_linker='NetBSD (a.out) ld.so'
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 dynamic_linker='NetBSD ld.elf_so'
10731 shlibpath_var=LD_LIBRARY_PATH
10732 shlibpath_overrides_runpath=yes
10733 hardcode_into_libs=yes
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 shlibpath_var=LD_LIBRARY_PATH
10740 shlibpath_overrides_runpath=yes
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 shlibpath_var=LD_LIBRARY_PATH
10750 shlibpath_overrides_runpath=no
10751 hardcode_into_libs=yes
10752 dynamic_linker='ldqnx.so'
10757 sys_lib_dlsearch_path_spec="/usr/lib"
10759 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10761 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10762 *) need_version=no ;;
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10765 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10766 shlibpath_var=LD_LIBRARY_PATH
10767 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10769 openbsd2.[89] | openbsd2.[89].*)
10770 shlibpath_overrides_runpath=no
10773 shlibpath_overrides_runpath=yes
10777 shlibpath_overrides_runpath=yes
10782 libname_spec='$name'
10785 library_names_spec='$libname${shared_ext} $libname.a'
10786 dynamic_linker='OS/2 ld.exe'
10787 shlibpath_var=LIBPATH
10790 osf3* | osf4* | osf5*)
10794 soname_spec='${libname}${release}${shared_ext}$major'
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796 shlibpath_var=LD_LIBRARY_PATH
10797 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10798 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810 soname_spec='${libname}${release}${shared_ext}$major'
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes
10813 hardcode_into_libs=yes
10814 # ldd complains unless libraries are executable
10815 postinstall_cmds='chmod +x $lib'
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10821 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10822 shlibpath_var=LD_LIBRARY_PATH
10823 shlibpath_overrides_runpath=yes
10824 if test "$with_gnu_ld" = yes; then
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 shlibpath_var=LD_LIBRARY_PATH
10835 case $host_vendor in
10837 shlibpath_overrides_runpath=no
10839 runpath_var=LD_RUN_PATH
10847 shlibpath_overrides_runpath=no
10848 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10854 if test -d /usr/nec ;then
10856 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10857 soname_spec='$libname${shared_ext}.$major'
10858 shlibpath_var=LD_LIBRARY_PATH
10862 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10863 version_type=freebsd-elf
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 shlibpath_var=LD_LIBRARY_PATH
10869 shlibpath_overrides_runpath=yes
10870 hardcode_into_libs=yes
10871 if test "$with_gnu_ld" = yes; then
10872 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10874 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10877 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10881 sys_lib_dlsearch_path_spec='/usr/lib'
10885 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 shlibpath_var=LD_LIBRARY_PATH
10891 shlibpath_overrides_runpath=no
10892 hardcode_into_libs=yes
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec='${libname}${release}${shared_ext}$major'
10899 shlibpath_var=LD_LIBRARY_PATH
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10907 $as_echo "$dynamic_linker" >&6; }
10908 test "$dynamic_linker" = no && can_build_shared=no
10910 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10911 if test "$GCC" = yes; then
10912 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10915 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10916 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10918 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10919 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11014 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11016 if test -n "$hardcode_libdir_flag_spec" ||
11017 test -n "$runpath_var" ||
11018 test "X$hardcode_automatic" = "Xyes" ; then
11020 # We can hardcode non-existent directories.
11021 if test "$hardcode_direct" != no &&
11022 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11023 # have to relink, otherwise we might link with an installed library
11024 # when we should be linking with a yet-to-be-installed one
11025 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11026 test "$hardcode_minus_L" != no; then
11027 # Linking always hardcodes the temporary library directory.
11028 hardcode_action=relink
11030 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11031 hardcode_action=immediate
11034 # We cannot hardcode anything, or else we can only hardcode existing
11036 hardcode_action=unsupported
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11039 $as_echo "$hardcode_action" >&6; }
11041 if test "$hardcode_action" = relink ||
11042 test "$inherit_rpath" = yes; then
11043 # Fast installation is not supported
11044 enable_fast_install=no
11045 elif test "$shlibpath_overrides_runpath" = yes ||
11046 test "$enable_shared" = no; then
11047 # Fast installation is not necessary
11048 enable_fast_install=needless
11056 if test "x$enable_dlopen" != xyes; then
11057 enable_dlopen=unknown
11058 enable_dlopen_self=unknown
11059 enable_dlopen_self_static=unknown
11066 lt_cv_dlopen="load_add_on"
11068 lt_cv_dlopen_self=yes
11071 mingw* | pw32* | cegcc*)
11072 lt_cv_dlopen="LoadLibrary"
11077 lt_cv_dlopen="dlopen"
11082 # if libdl is installed we need to link against it
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11084 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11085 if ${ac_cv_lib_dl_dlopen+:} false; then :
11086 $as_echo_n "(cached) " >&6
11088 ac_check_lib_save_LIBS=$LIBS
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 ac_cv_lib_dl_dlopen=yes
11111 ac_cv_lib_dl_dlopen=no
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11118 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11119 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11120 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11123 lt_cv_dlopen="dyld"
11125 lt_cv_dlopen_self=yes
11132 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11133 if test "x$ac_cv_func_shl_load" = xyes; then :
11134 lt_cv_dlopen="shl_load"
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11137 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11138 if ${ac_cv_lib_dld_shl_load+:} false; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_lib_save_LIBS=$LIBS
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11156 return shl_load ();
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 ac_cv_lib_dld_shl_load=yes
11164 ac_cv_lib_dld_shl_load=no
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11171 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11172 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11173 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11175 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11176 if test "x$ac_cv_func_dlopen" = xyes; then :
11177 lt_cv_dlopen="dlopen"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11180 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11181 if ${ac_cv_lib_dl_dlopen+:} false; then :
11182 $as_echo_n "(cached) " >&6
11184 ac_check_lib_save_LIBS=$LIBS
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_dl_dlopen=yes
11207 ac_cv_lib_dl_dlopen=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11214 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11215 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11216 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11219 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11220 if ${ac_cv_lib_svld_dlopen+:} false; then :
11221 $as_echo_n "(cached) " >&6
11223 ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-lsvld $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_svld_dlopen=yes
11246 ac_cv_lib_svld_dlopen=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11253 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11254 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11255 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11258 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11259 if ${ac_cv_lib_dld_dld_link+:} false; then :
11260 $as_echo_n "(cached) " >&6
11262 ac_check_lib_save_LIBS=$LIBS
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11277 return dld_link ();
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dld_dld_link=yes
11285 ac_cv_lib_dld_dld_link=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11292 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11293 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11294 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11315 if test "x$lt_cv_dlopen" != xno; then
11321 case $lt_cv_dlopen in
11323 save_CPPFLAGS="$CPPFLAGS"
11324 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11326 save_LDFLAGS="$LDFLAGS"
11327 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11330 LIBS="$lt_cv_dlopen_libs $LIBS"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11333 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11334 if ${lt_cv_dlopen_self+:} false; then :
11335 $as_echo_n "(cached) " >&6
11337 if test "$cross_compiling" = yes; then :
11338 lt_cv_dlopen_self=cross
11340 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11341 lt_status=$lt_dlunknown
11342 cat > conftest.$ac_ext <<_LT_EOF
11343 #line 11343 "configure"
11344 #include "confdefs.h"
11353 # define LT_DLGLOBAL RTLD_GLOBAL
11356 # define LT_DLGLOBAL DL_GLOBAL
11358 # define LT_DLGLOBAL 0
11362 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11363 find out it does not work in some platform. */
11364 #ifndef LT_DLLAZY_OR_NOW
11366 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11369 # define LT_DLLAZY_OR_NOW DL_LAZY
11372 # define LT_DLLAZY_OR_NOW RTLD_NOW
11375 # define LT_DLLAZY_OR_NOW DL_NOW
11377 # define LT_DLLAZY_OR_NOW 0
11384 /* When -fvisbility=hidden is used, assume the code has been annotated
11385 correspondingly for the symbols needed. */
11386 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11387 void fnord () __attribute__((visibility("default")));
11390 void fnord () { int i=42; }
11393 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11394 int status = $lt_dlunknown;
11398 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11401 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11402 else puts (dlerror ());
11404 /* dlclose (self); */
11412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11413 (eval $ac_link) 2>&5
11415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11416 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11417 (./conftest; exit; ) >&5 2>/dev/null
11419 case x$lt_status in
11420 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11421 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11422 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11425 # compilation failed
11426 lt_cv_dlopen_self=no
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11434 $as_echo "$lt_cv_dlopen_self" >&6; }
11436 if test "x$lt_cv_dlopen_self" = xyes; then
11437 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11439 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11440 if ${lt_cv_dlopen_self_static+:} false; then :
11441 $as_echo_n "(cached) " >&6
11443 if test "$cross_compiling" = yes; then :
11444 lt_cv_dlopen_self_static=cross
11446 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11447 lt_status=$lt_dlunknown
11448 cat > conftest.$ac_ext <<_LT_EOF
11449 #line 11449 "configure"
11450 #include "confdefs.h"
11459 # define LT_DLGLOBAL RTLD_GLOBAL
11462 # define LT_DLGLOBAL DL_GLOBAL
11464 # define LT_DLGLOBAL 0
11468 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11469 find out it does not work in some platform. */
11470 #ifndef LT_DLLAZY_OR_NOW
11472 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11475 # define LT_DLLAZY_OR_NOW DL_LAZY
11478 # define LT_DLLAZY_OR_NOW RTLD_NOW
11481 # define LT_DLLAZY_OR_NOW DL_NOW
11483 # define LT_DLLAZY_OR_NOW 0
11490 /* When -fvisbility=hidden is used, assume the code has been annotated
11491 correspondingly for the symbols needed. */
11492 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11493 void fnord () __attribute__((visibility("default")));
11496 void fnord () { int i=42; }
11499 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11500 int status = $lt_dlunknown;
11504 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11507 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11508 else puts (dlerror ());
11510 /* dlclose (self); */
11518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11519 (eval $ac_link) 2>&5
11521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11522 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11523 (./conftest; exit; ) >&5 2>/dev/null
11525 case x$lt_status in
11526 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11527 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11528 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11531 # compilation failed
11532 lt_cv_dlopen_self_static=no
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11540 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11543 CPPFLAGS="$save_CPPFLAGS"
11544 LDFLAGS="$save_LDFLAGS"
11549 case $lt_cv_dlopen_self in
11550 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11551 *) enable_dlopen_self=unknown ;;
11554 case $lt_cv_dlopen_self_static in
11555 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11556 *) enable_dlopen_self_static=unknown ;;
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11579 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11580 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11581 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11582 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11584 $as_echo "yes" >&6; }
11586 # FIXME - insert some real tests, host_os isn't really good enough
11589 if test -n "$STRIP" ; then
11590 striplib="$STRIP -x"
11591 old_striplib="$STRIP -S"
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11593 $as_echo "yes" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11596 $as_echo "no" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11601 $as_echo "no" >&6; }
11617 # Report which library types will actually be built
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11619 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11621 $as_echo "$can_build_shared" >&6; }
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11624 $as_echo_n "checking whether to build shared libraries... " >&6; }
11625 test "$can_build_shared" = "no" && enable_shared=no
11627 # On AIX, shared libraries and static libraries use the same namespace, and
11628 # are all built from PIC.
11631 test "$enable_shared" = yes && enable_static=no
11632 if test -n "$RANLIB"; then
11633 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11634 postinstall_cmds='$RANLIB $lib'
11639 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11640 test "$enable_shared" = yes && enable_static=no
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11645 $as_echo "$enable_shared" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11648 $as_echo_n "checking whether to build static libraries... " >&6; }
11649 # Make sure either enable_shared or enable_static is yes.
11650 test "$enable_shared" = yes || enable_static=yes
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11652 $as_echo "$enable_static" >&6; }
11659 ac_cpp='$CPP $CPPFLAGS'
11660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11678 ac_config_commands="$ac_config_commands libtool"
11683 # Only expand once:
11687 # The tests for host and target for $enable_largefile require
11692 # As the $enable_largefile decision depends on --enable-plugins we must set it
11693 # even in directories otherwise not depending on the $plugins option.
11697 for ac_header in dlfcn.h
11699 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11701 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
11702 cat >>confdefs.h <<_ACEOF
11703 #define HAVE_DLFCN_H 1
11710 for ac_header in windows.h
11712 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11714 if test "x$ac_cv_header_windows_h" = xyes; then :
11715 cat >>confdefs.h <<_ACEOF
11716 #define HAVE_WINDOWS_H 1
11724 # Check whether --enable-plugins was given.
11725 if test "${enable_plugins+set}" = set; then :
11726 enableval=$enable_plugins; case "${enableval}" in
11729 if test "$maybe_plugins" != "yes" ; then
11730 as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11734 plugins=$maybe_plugins
11738 if test "$plugins" = "yes"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
11740 $as_echo_n "checking for library containing dlsym... " >&6; }
11741 if ${ac_cv_search_dlsym+:} false; then :
11742 $as_echo_n "(cached) " >&6
11744 ac_func_search_save_LIBS=$LIBS
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11763 for ac_lib in '' dl; do
11764 if test -z "$ac_lib"; then
11765 ac_res="none required"
11768 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11770 if ac_fn_c_try_link "$LINENO"; then :
11771 ac_cv_search_dlsym=$ac_res
11773 rm -f core conftest.err conftest.$ac_objext \
11775 if ${ac_cv_search_dlsym+:} false; then :
11779 if ${ac_cv_search_dlsym+:} false; then :
11782 ac_cv_search_dlsym=no
11784 rm conftest.$ac_ext
11785 LIBS=$ac_func_search_save_LIBS
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
11788 $as_echo "$ac_cv_search_dlsym" >&6; }
11789 ac_res=$ac_cv_search_dlsym
11790 if test "$ac_res" != no; then :
11791 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11799 sparc-*-solaris*|i[3-7]86-*-solaris*)
11800 # On native 32bit sparc and ia32 solaris, large-file and procfs support
11801 # are mutually exclusive; and without procfs support, the bfd/ elf module
11802 # cannot provide certain routines such as elfcore_write_prpsinfo
11803 # or elfcore_write_prstatus. So unless the user explicitly requested
11804 # large-file support through the --enable-largefile switch, disable
11805 # large-file support in favor of procfs support.
11806 test "${target}" = "${host}" -a "x$plugins" = xno \
11807 && : ${enable_largefile="no"}
11811 # Check whether --enable-largefile was given.
11812 if test "${enable_largefile+set}" = set; then :
11813 enableval=$enable_largefile;
11816 if test "$enable_largefile" != no; then
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11819 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11820 if ${ac_cv_sys_largefile_CC+:} false; then :
11821 $as_echo_n "(cached) " >&6
11823 ac_cv_sys_largefile_CC=no
11824 if test "$GCC" != yes; then
11827 # IRIX 6.2 and later do not support large files by default,
11828 # so use the C compiler's -n32 option if that helps.
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11831 #include <sys/types.h>
11832 /* Check that off_t can represent 2**63 - 1 correctly.
11833 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11834 since some C++ compilers masquerading as C compilers
11835 incorrectly reject 9223372036854775807. */
11836 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11837 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11838 && LARGE_OFF_T % 2147483647 == 1)
11848 if ac_fn_c_try_compile "$LINENO"; then :
11851 rm -f core conftest.err conftest.$ac_objext
11853 if ac_fn_c_try_compile "$LINENO"; then :
11854 ac_cv_sys_largefile_CC=' -n32'; break
11856 rm -f core conftest.err conftest.$ac_objext
11860 rm -f conftest.$ac_ext
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11864 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11865 if test "$ac_cv_sys_largefile_CC" != no; then
11866 CC=$CC$ac_cv_sys_largefile_CC
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11870 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11871 if ${ac_cv_sys_file_offset_bits+:} false; then :
11872 $as_echo_n "(cached) " >&6
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 #include <sys/types.h>
11878 /* Check that off_t can represent 2**63 - 1 correctly.
11879 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11880 since some C++ compilers masquerading as C compilers
11881 incorrectly reject 9223372036854775807. */
11882 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11883 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11884 && LARGE_OFF_T % 2147483647 == 1)
11894 if ac_fn_c_try_compile "$LINENO"; then :
11895 ac_cv_sys_file_offset_bits=no; break
11897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 #define _FILE_OFFSET_BITS 64
11901 #include <sys/types.h>
11902 /* Check that off_t can represent 2**63 - 1 correctly.
11903 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11904 since some C++ compilers masquerading as C compilers
11905 incorrectly reject 9223372036854775807. */
11906 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11907 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11908 && LARGE_OFF_T % 2147483647 == 1)
11918 if ac_fn_c_try_compile "$LINENO"; then :
11919 ac_cv_sys_file_offset_bits=64; break
11921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11922 ac_cv_sys_file_offset_bits=unknown
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11927 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11928 case $ac_cv_sys_file_offset_bits in #(
11931 cat >>confdefs.h <<_ACEOF
11932 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11937 if test $ac_cv_sys_file_offset_bits = unknown; then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11939 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11940 if ${ac_cv_sys_large_files+:} false; then :
11941 $as_echo_n "(cached) " >&6
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #include <sys/types.h>
11947 /* Check that off_t can represent 2**63 - 1 correctly.
11948 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11949 since some C++ compilers masquerading as C compilers
11950 incorrectly reject 9223372036854775807. */
11951 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11952 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11953 && LARGE_OFF_T % 2147483647 == 1)
11963 if ac_fn_c_try_compile "$LINENO"; then :
11964 ac_cv_sys_large_files=no; break
11966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #define _LARGE_FILES 1
11970 #include <sys/types.h>
11971 /* Check that off_t can represent 2**63 - 1 correctly.
11972 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11973 since some C++ compilers masquerading as C compilers
11974 incorrectly reject 9223372036854775807. */
11975 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11976 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11977 && LARGE_OFF_T % 2147483647 == 1)
11987 if ac_fn_c_try_compile "$LINENO"; then :
11988 ac_cv_sys_large_files=1; break
11990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11991 ac_cv_sys_large_files=unknown
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11996 $as_echo "$ac_cv_sys_large_files" >&6; }
11997 case $ac_cv_sys_large_files in #(
12000 cat >>confdefs.h <<_ACEOF
12001 #define _LARGE_FILES $ac_cv_sys_large_files
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
12013 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
12014 if ${gcc_cv_prog_cmp_skip+:} false; then :
12015 $as_echo_n "(cached) " >&6
12019 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
12020 if cmp t1 t2 2 2 > /dev/null 2>&1; then
12021 if cmp t1 t2 1 1 > /dev/null 2>&1; then
12024 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
12027 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
12028 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
12031 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
12038 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
12039 do_compare="$gcc_cv_prog_cmp_skip"
12043 # Check whether --enable-targets was given.
12044 if test "${enable_targets+set}" = set; then :
12045 enableval=$enable_targets; case "${enableval}" in
12046 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
12048 no) enable_targets= ;;
12049 *) enable_targets=$enableval ;;
12054 . ${srcdir}/../bfd/development.sh
12055 test "$development" = true && ac_checking=yes
12056 # Check whether --enable-checking was given.
12057 if test "${enable_checking+set}" = set; then :
12058 enableval=$enable_checking; case "${enableval}" in
12059 no|none) ac_checking= ;;
12060 *) ac_checking=yes ;;
12063 if test x$ac_checking != x ; then
12065 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
12070 # Decide the default method for compressing debug sections.
12071 ac_default_compressed_debug_sections=unset
12072 # Provide a configure time option to override our default.
12073 # Check whether --enable-compressed_debug_sections was given.
12074 if test "${enable_compressed_debug_sections+set}" = set; then :
12075 enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
12076 ,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;
12077 ,no, | ,none,) ac_default_compressed_debug_sections=no ;;
12078 *) ac_default_compressed_debug_sections=unset ;;
12083 # Decide if x86 assembler should generate relax relocations.
12084 ac_default_x86_relax_relocations=unset
12085 # Provide a configure time option to override our default.
12086 # Check whether --enable-x86_relax_relocations was given.
12087 if test "${enable_x86_relax_relocations+set}" = set; then :
12088 enableval=$enable_x86_relax_relocations; case "${enableval}" in
12089 no) ac_default_x86_relax_relocations=0 ;;
12093 # Decide if ELF assembler should generate common symbols with the
12095 ac_default_elf_stt_common=unset
12096 # Provide a configure time option to override our default.
12097 # Check whether --enable-elf_stt_common was given.
12098 if test "${enable_elf_stt_common+set}" = set; then :
12099 enableval=$enable_elf_stt_common; case "${enableval}" in
12100 yes) ac_default_elf_stt_common=1 ;;
12105 # Decide if the ELF assembler should default to generating
12106 # GNU Build notes if none are provided by the input.
12107 ac_default_generate_build_notes=0
12108 # Provide a configuration option to override the default.
12109 # Check whether --enable-generate_build_notes was given.
12110 if test "${enable_generate_build_notes+set}" = set; then :
12111 enableval=$enable_generate_build_notes; case "${enableval}" in
12112 yes) ac_default_generate_build_notes=1 ;;
12113 no) ac_default_generate_build_notes=0 ;;
12118 # Decide if the x86 ELF assembler should default to generating GNU x86
12119 # used ISA and feature properties.
12120 ac_default_generate_x86_used_note=unset
12121 # Provide a configuration option to override the default.
12122 # Check whether --enable-x86-used-note was given.
12123 if test "${enable_x86_used_note+set}" = set; then :
12124 enableval=$enable_x86_used_note; case "${enableval}" in
12125 yes) ac_default_generate_x86_used_note=1 ;;
12126 no) ac_default_generate_x86_used_note=0 ;;
12130 # Decide if the RISC-V ELF assembler should default to generating attribute.
12131 ac_default_generate_riscv_attr=unset
12132 # Provide a configuration option to override the default.
12133 # Check whether --enable-default-riscv-attribute was given.
12134 if test "${enable_default_riscv_attribute+set}" = set; then :
12135 enableval=$enable_default_riscv_attribute; case "${enableval}" in
12136 yes) ac_default_generate_riscv_attr=1 ;;
12137 no) ac_default_generate_riscv_attr=0 ;;
12144 # Set the 'development' global.
12145 . $srcdir/../bfd/development.sh
12147 # Set acp_cpp_for_build variable
12148 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
12150 # Default set of GCC warnings to enable.
12151 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12152 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12154 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12160 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
12163 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
12168 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12174 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
12177 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
12182 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
12183 WARN_WRITE_STRINGS=""
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12189 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
12192 WARN_WRITE_STRINGS="-Wwrite-strings"
12197 # Verify CC_FOR_BUILD to be compatible with warning flags
12199 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12204 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12205 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
12208 GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
12213 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12218 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12219 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
12222 GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
12227 # Check whether --enable-werror was given.
12228 if test "${enable_werror+set}" = set; then :
12229 enableval=$enable_werror; case "${enableval}" in
12230 yes | y) ERROR_ON_WARNING="yes" ;;
12231 no | n) ERROR_ON_WARNING="no" ;;
12232 *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12237 # Disable -Wformat by default when using gcc on mingw
12240 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12241 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
12242 GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
12248 # Enable -Werror by default when using gcc. Turn it off for releases.
12249 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
12250 ERROR_ON_WARNING=yes
12254 if test "${ERROR_ON_WARNING}" = yes ; then
12255 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
12256 GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
12257 NO_WERROR="-Wno-error"
12260 if test "${GCC}" = yes ; then
12261 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12262 WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
12265 # Check whether --enable-build-warnings was given.
12266 if test "${enable_build_warnings+set}" = set; then :
12267 enableval=$enable_build_warnings; case "${enableval}" in
12268 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12269 WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
12270 no) if test "${GCC}" = yes ; then
12272 WARN_CFLAGS_FOR_BUILD="-w"
12274 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12275 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
12276 WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
12277 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12278 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
12279 WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
12280 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
12281 WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12286 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
12287 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12296 # Generate a header file
12297 ac_config_headers="$ac_config_headers config.h:config.in"
12301 # Check whether --with-cpu was given.
12302 if test "${with_cpu+set}" = set; then :
12304 cat >>confdefs.h <<_ACEOF
12305 #define TARGET_WITH_CPU "${with_cpu}"
12314 # If we are on a DOS filesystem, we must use gdb.ini rather than
12317 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
12319 ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
12324 ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
12330 #We need this for the host.
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12332 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12333 if ${ac_cv_c_bigendian+:} false; then :
12334 $as_echo_n "(cached) " >&6
12336 ac_cv_c_bigendian=unknown
12337 # See if we're dealing with a universal compiler.
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340 #ifndef __APPLE_CC__
12341 not a universal capable compiler
12346 if ac_fn_c_try_compile "$LINENO"; then :
12348 # Check for potential -arch flags. It is not universal unless
12349 # there are at least two -arch flags with different values.
12352 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12353 if test -n "$ac_prev"; then
12355 i?86 | x86_64 | ppc | ppc64)
12356 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12359 ac_cv_c_bigendian=universal
12365 elif test "x$ac_word" = "x-arch"; then
12370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12371 if test $ac_cv_c_bigendian = unknown; then
12372 # See if sys/param.h defines the BYTE_ORDER macro.
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12375 #include <sys/types.h>
12376 #include <sys/param.h>
12381 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12382 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12384 bogus endian macros
12391 if ac_fn_c_try_compile "$LINENO"; then :
12392 # It does; now see whether it defined to BIG_ENDIAN or not.
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12395 #include <sys/types.h>
12396 #include <sys/param.h>
12401 #if BYTE_ORDER != BIG_ENDIAN
12409 if ac_fn_c_try_compile "$LINENO"; then :
12410 ac_cv_c_bigendian=yes
12412 ac_cv_c_bigendian=no
12414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12418 if test $ac_cv_c_bigendian = unknown; then
12419 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12422 #include <limits.h>
12427 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12428 bogus endian macros
12435 if ac_fn_c_try_compile "$LINENO"; then :
12436 # It does; now see whether it defined to _BIG_ENDIAN or not.
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439 #include <limits.h>
12444 #ifndef _BIG_ENDIAN
12452 if ac_fn_c_try_compile "$LINENO"; then :
12453 ac_cv_c_bigendian=yes
12455 ac_cv_c_bigendian=no
12457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12461 if test $ac_cv_c_bigendian = unknown; then
12462 # Compile a test program.
12463 if test "$cross_compiling" = yes; then :
12464 # Try to guess by grepping values from an object file.
12465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12467 short int ascii_mm[] =
12468 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12469 short int ascii_ii[] =
12470 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12471 int use_ascii (int i) {
12472 return ascii_mm[i] + ascii_ii[i];
12474 short int ebcdic_ii[] =
12475 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12476 short int ebcdic_mm[] =
12477 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12478 int use_ebcdic (int i) {
12479 return ebcdic_mm[i] + ebcdic_ii[i];
12486 return use_ascii (foo) == use_ebcdic (foo);
12491 if ac_fn_c_try_compile "$LINENO"; then :
12492 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12493 ac_cv_c_bigendian=yes
12495 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12496 if test "$ac_cv_c_bigendian" = unknown; then
12497 ac_cv_c_bigendian=no
12499 # finding both strings is unlikely to happen, but who knows?
12500 ac_cv_c_bigendian=unknown
12504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12507 /* end confdefs.h. */
12508 $ac_includes_default
12513 /* Are we little or big endian? From Harbison&Steele. */
12517 char c[sizeof (long int)];
12520 return u.c[sizeof (long int) - 1] == 1;
12526 if ac_fn_c_try_run "$LINENO"; then :
12527 ac_cv_c_bigendian=no
12529 ac_cv_c_bigendian=yes
12531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12532 conftest.$ac_objext conftest.beam conftest.$ac_ext
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12538 $as_echo "$ac_cv_c_bigendian" >&6; }
12539 case $ac_cv_c_bigendian in #(
12541 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12547 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12551 as_fn_error $? "unknown endianness
12552 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12558 # Makefile target for installing gas in $(tooldir)/bin.
12559 install_tooldir=install-exec-tooldir
12563 if test -n "$enable_targets" ; then
12564 for t in `echo $enable_targets | sed 's/,/ /g'`; do
12565 if test $t = "all"; then
12569 result=`$ac_config_sub $t 2>/dev/null`
12570 if test -n "$result" ; then
12571 canon_targets="$canon_targets $result"
12573 # # Permit "all", etc. We don't support it yet though.
12574 # canon_targets="$canon_targets $t"
12577 _gas_uniq_list="$canon_targets"
12578 _gas_uniq_newlist=""
12579 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
12580 case $_gas_uniq_i in
12581 _gas_uniq_dummy) ;;
12582 *) case " $_gas_uniq_newlist " in
12583 *" $_gas_uniq_i "*) ;;
12584 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
12588 canon_targets=$_gas_uniq_newlist
12594 for this_target in $target $canon_targets ; do
12596 targ=${this_target}
12597 . ${srcdir}/configure.tgt
12599 case ${target_cpu} in
12602 cat >>confdefs.h <<_ACEOF
12603 #define DEFAULT_CRIS_ARCH $arch
12609 if test ${this_target} = $target ; then
12610 target_cpu_type=${cpu_type}
12611 elif test ${target_cpu_type} != ${cpu_type} ; then
12615 generic_target=${cpu_type}-${target_vendor}-${target_os}
12616 case ${generic_target} in
12617 i386-*-msdosdjgpp* \
12619 | i386-go32-rtems*)
12621 $as_echo "#define STRICTCOFF 1" >>confdefs.h
12626 | x86_64-*-solaris2 \
12627 | i386-*-solaris2.[0-9] \
12628 | i386-*-solaris2.1[01] \
12629 | x86_64-*-solaris2.1[01])
12630 if test ${this_target} = $target \
12631 && test ${ac_default_x86_relax_relocations} = unset; then
12632 ac_default_x86_relax_relocations=0
12641 $as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
12645 if test ${this_target} = $target; then
12647 $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
12650 if test x${endian} = xbig; then
12651 as_fn_error $? "Solaris must be configured little endian" "$LINENO" 5
12656 if test ${this_target} = $target ; then
12658 if test x${endian} = xbig; then
12660 elif test x${endian} = xlittle; then
12663 if test x${endian_def} != x; then
12665 cat >>confdefs.h <<_ACEOF
12666 #define TARGET_BYTES_BIG_ENDIAN $endian_def
12672 # Other random stuff.
12674 case ${cpu_type} in
12676 # Set mips_cpu to the name of the default CPU.
12677 case ${target_cpu} in
12678 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
12681 mipsisa32 | mipsisa32el)
12684 mipsisa32r2 | mipsisa32r2el)
12687 mipsisa32r3 | mipsisa32r3el)
12690 mipsisa32r5 | mipsisa32r5el)
12693 mipsisa32r6 | mipsisa32r6el)
12696 mipsisa64 | mipsisa64el)
12699 mipsisa64r2 | mipsisa64r2el)
12702 mipsisa64r3 | mipsisa64r3el)
12705 mipsisa64r5 | mipsisa64r5el)
12708 mipsisa64r6 | mipsisa64r6el)
12711 mipstx39 | mipstx39el)
12714 mips64vr | mips64vrel)
12717 mipsisa32r2* | mipsisa64r2*)
12718 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
12720 mipsisa32r6* | mipsisa64r6*)
12721 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r6//' -e 's/el$//'`
12723 mips64* | mipsisa64* | mipsisa32*)
12724 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
12727 mips_cpu=`echo $target_cpu | sed -e 's/^mips//' -e 's/el$//'`
12730 as_fn_error $? "$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
12733 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
12734 # binaries. It's a GNU extension that some OSes don't understand.
12737 use_e_mips_abi_o32=0
12740 use_e_mips_abi_o32=1
12743 # Decide whether to generate 32-bit or 64-bit code by default.
12744 # Used to resolve -march=from-abi when an embedded ABI is selected.
12746 mips64*-*-* | mipsisa64*-*-*)
12747 mips_default_64bit=1
12750 mips_default_64bit=0
12753 # Decide which ABI to target by default.
12755 mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \
12756 | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
12757 mips_default_abi=N32_ABI
12759 mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
12760 mips_default_abi=O32_ABI
12763 mips_default_abi=N64_ABI
12766 mips_default_abi=NO_ABI
12770 cat >>confdefs.h <<_ACEOF
12771 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
12775 cat >>confdefs.h <<_ACEOF
12776 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
12780 cat >>confdefs.h <<_ACEOF
12781 #define MIPS_DEFAULT_64BIT $mips_default_64bit
12785 cat >>confdefs.h <<_ACEOF
12786 #define MIPS_DEFAULT_ABI $mips_default_abi
12792 # Do we need the opcodes library?
12793 case ${cpu_type} in
12800 case "${enable_shared}" in
12801 yes) shared_opcodes=true ;;
12802 *opcodes*) shared_opcodes=true ;;
12803 *) shared_opcodes=false ;;
12808 # Any other special object files needed ?
12809 case ${cpu_type} in
12812 for f in bfin-parse.o bfin-lex-wrapper.o; do
12813 case " $extra_objects " in
12815 *) extra_objects="$extra_objects $f" ;;
12820 epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k)
12832 case " $extra_objects " in
12834 *) extra_objects="$extra_objects $f" ;;
12843 for f in itbl-parse.o itbl-lex-wrapper.o itbl-ops.o; do
12844 case " $extra_objects " in
12846 *) extra_objects="$extra_objects $f" ;;
12856 # setup NDS32_LINUX_TOOLCHAIN definition
12857 if test "linux" = $em; then
12859 $as_echo "#define NDS32_LINUX_TOOLCHAIN 1" >>confdefs.h
12863 $as_echo "#define NDS32_LINUX_TOOLCHAIN 0" >>confdefs.h
12867 # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features
12868 # based on arch_name.
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5
12870 $as_echo_n "checking for default configuration of --with-arch... " >&6; }
12871 if test "x${with_arch}" != x; then
12872 case ${with_arch} in
12873 v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3 )
12875 cat >>confdefs.h <<_ACEOF
12876 #define NDS32_DEFAULT_ARCH_NAME "$with_arch"
12881 as_fn_error $? "This kind of arch name does *NOT* exist!" "$LINENO" 5
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5
12886 $as_echo "$with_arch" >&6; }
12888 # Decide features one by one.
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
12890 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
12891 if test "x${enable_dx_regs}" = xyes; then
12893 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
12897 $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5
12901 $as_echo "$enable_dx_regs" >&6; }
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
12904 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
12905 if test "x${enable_perf_ext}" = xno; then
12907 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
12911 $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5
12915 $as_echo "$enable_perf_ext" >&6; }
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
12918 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
12919 if test "x${enable_perf_ext2}" = xno; then
12921 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
12925 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5
12929 $as_echo "$enable_perf_ext2" >&6; }
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
12932 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
12933 if test "x${enable_string_ext}" = xno; then
12935 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
12939 $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5
12943 $as_echo "$enable_string_ext" >&6; }
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
12946 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
12947 if test "x${enable_audio_ext}" = xno; then
12949 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
12953 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5
12957 $as_echo "$enable_audio_ext" >&6; }
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dsp-ext" >&5
12960 $as_echo_n "checking for default configuration of --enable-dsp-ext... " >&6; }
12961 if test "x${enable_dsp_ext}" = xno; then
12963 $as_echo "#define NDS32_DEFAULT_DSP_EXT 0" >>confdefs.h
12967 $as_echo "#define NDS32_DEFAULT_DSP_EXT 1" >>confdefs.h
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dsp_ext" >&5
12971 $as_echo "$enable_dsp_ext" >&6; }
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-zol-ext" >&5
12974 $as_echo_n "checking for default configuration of --enable-zol-ext... " >&6; }
12975 if test "x${enable_zol_ext}" = xno; then
12977 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 0" >>confdefs.h
12981 $as_echo "#define NDS32_DEFAULT_ZOL_EXT 1" >>confdefs.h
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_zol_ext" >&5
12985 $as_echo "$enable_zol_ext" >&6; }
12988 aarch64 | i386 | riscv | s390 | sparc)
12989 if test $this_target = $target ; then
12991 cat >>confdefs.h <<_ACEOF
12992 #define DEFAULT_ARCH "${arch}"
13000 case " $extra_objects " in
13002 *) extra_objects="$extra_objects $f" ;;
13008 case " $extra_objects " in
13010 *) extra_objects="$extra_objects $f" ;;
13023 f=config/xtensa-relax.o
13024 case " $extra_objects " in
13026 *) extra_objects="$extra_objects $f" ;;
13034 if test $using_cgen = yes ; then
13036 case " $extra_objects " in
13038 *) extra_objects="$extra_objects $f" ;;
13042 # See if we really can support this configuration with the emulation code.
13044 if test $this_target = $target ; then
13052 case " $extra_objects " in
13054 *) extra_objects="$extra_objects $f" ;;
13058 # From target name and format, produce a list of supported emulations.
13060 case ${generic_target}-${fmt} in
13061 mips-*-*-*) case "$endian" in
13062 big) emulation="mipsbelf mipslelf mipself" ;;
13063 *) emulation="mipslelf mipsbelf mipself" ;;
13065 # i386-pc-pe-coff != i386-pc-coff.
13067 # Uncommenting the next line will turn on support for i386 AOUT
13068 # for the default linux configuration
13069 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
13071 i386-*-aout) emulation="i386aout" ;;
13072 i386-*-coff) emulation="i386coff" ;;
13073 i386-*-elf) emulation="i386elf" ;;
13075 # Always all formats. The first stated emulation becomes the default.
13076 cris-*-*aout*) emulation="crisaout criself" ;;
13077 cris-*-*) emulation="criself crisaout" ;;
13080 emulations="$emulations $emulation"
13084 if test ${ac_default_x86_relax_relocations} = unset; then
13085 ac_default_x86_relax_relocations=1
13088 cat >>confdefs.h <<_ACEOF
13089 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS $ac_default_x86_relax_relocations
13093 if test ${ac_default_elf_stt_common} = unset; then
13094 ac_default_elf_stt_common=0
13097 cat >>confdefs.h <<_ACEOF
13098 #define DEFAULT_GENERATE_ELF_STT_COMMON $ac_default_elf_stt_common
13103 cat >>confdefs.h <<_ACEOF
13104 #define DEFAULT_GENERATE_BUILD_NOTES $ac_default_generate_build_notes
13108 if test ${ac_default_generate_x86_used_note} = unset; then
13109 ac_default_generate_x86_used_note=0
13112 cat >>confdefs.h <<_ACEOF
13113 #define DEFAULT_X86_USED_NOTE $ac_default_generate_x86_used_note
13117 if test ${ac_default_generate_riscv_attr} = unset; then
13118 case ${target_os} in
13120 ac_default_generate_riscv_attr=1
13123 ac_default_generate_riscv_attr=0
13129 cat >>confdefs.h <<_ACEOF
13130 #define DEFAULT_RISCV_ATTR $ac_default_generate_riscv_attr
13134 if test x$ac_default_compressed_debug_sections = xyes ; then
13136 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
13140 # Turn on all targets if possible
13141 if test ${all_targets} = "yes"; then
13142 case ${target_cpu_type} in
13144 case ${obj_format} in
13146 emulations="$emulations i386coff i386elf"
13149 emulations="$emulations i386aout i386elf"
13152 emulations="$emulations i386aout i386coff"
13157 case ${obj_format} in
13159 emulations="$emulations i386coff i386elf"
13162 emulations="$emulations i386aout i386elf"
13165 emulations="$emulations i386aout i386coff"
13172 # PE code has way too many macros tweaking behaviour
13174 pe*) emulations="" ;;
13177 # Assign floating point type. Most processors with FP support
13178 # IEEE FP. On those that don't support FP at all, usually IEEE
13180 case ${target_cpu} in
13181 vax | pdp11 ) atof=vax ;;
13185 case "${obj_format}" in
13186 "") as_fn_error $? "GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
13189 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
13191 if test $using_cgen = yes ; then
13192 case ${target_cpu} in
13194 cgen_cpu_prefix=or1k ;;
13195 *) cgen_cpu_prefix=${target_cpu} ;;
13199 $as_echo "#define USING_CGEN 1" >>confdefs.h
13204 if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
13205 as_fn_error $? "GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
13208 if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
13209 as_fn_error $? "GAS does not have support for object file format ${obj_format}" "$LINENO" 5
13212 # Some COFF configurations want these random other flags set.
13213 case ${obj_format} in
13215 case ${target_cpu_type} in
13217 $as_echo "#define I386COFF 1" >>confdefs.h
13220 $as_echo "#define I386COFF 1" >>confdefs.h
13226 # Getting this done right is going to be a bitch. Each configuration specified
13227 # with --enable-targets=... should be checked for environment, format, cpu
13230 # For each configuration, the necessary object file support code must be linked
13231 # in. This might be only one, it might be up to four. The necessary emulation
13232 # code needs to be provided, too.
13234 # And then there's "--enable-targets=all"....
13236 # For now, just always do it for MIPS ELF configurations. Sigh.
13238 formats="${obj_format}"
13241 _gas_uniq_list="$emulations"
13242 _gas_uniq_newlist=""
13243 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
13244 case $_gas_uniq_i in
13245 _gas_uniq_dummy) ;;
13246 *) case " $_gas_uniq_newlist " in
13247 *" $_gas_uniq_i "*) ;;
13248 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
13252 emulations=$_gas_uniq_newlist
13254 for em in . $emulations ; do
13257 mipsbelf | mipslelf | mipself)
13258 fmt=elf file=mipself ;;
13260 fmt=coff file=$em ;;
13262 fmt=aout file=$em ;;
13264 fmt=elf file=$em ;;
13266 formats="$formats $fmt"
13267 emfiles="$emfiles config/e-$file.o"
13268 EMULATIONS="$EMULATIONS &$em,"
13270 _gas_uniq_list="$formats"
13271 _gas_uniq_newlist=""
13272 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
13273 case $_gas_uniq_i in
13274 _gas_uniq_dummy) ;;
13275 *) case " $_gas_uniq_newlist " in
13276 *" $_gas_uniq_i "*) ;;
13277 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
13281 formats=$_gas_uniq_newlist
13283 _gas_uniq_list="$emfiles"
13284 _gas_uniq_newlist=""
13285 for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
13286 case $_gas_uniq_i in
13287 _gas_uniq_dummy) ;;
13288 *) case " $_gas_uniq_newlist " in
13289 *" $_gas_uniq_i "*) ;;
13290 *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
13294 emfiles=$_gas_uniq_newlist
13296 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
13297 for fmt in $formats ; do
13300 $as_echo "#define OBJ_MAYBE_AOUT 1" >>confdefs.h
13303 $as_echo "#define OBJ_MAYBE_COFF 1" >>confdefs.h
13306 $as_echo "#define OBJ_MAYBE_ECOFF 1" >>confdefs.h
13309 $as_echo "#define OBJ_MAYBE_ELF 1" >>confdefs.h
13312 $as_echo "#define OBJ_MAYBE_GENERIC 1" >>confdefs.h
13315 $as_echo "#define OBJ_MAYBE_SOM 1" >>confdefs.h
13318 extra_objects="$extra_objects config/obj-$fmt.o"
13322 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
13323 DEFAULT_EMULATION=`set . $emulations ; echo $2`
13324 # e-mipself has more than one emulation per file, e-i386* has just one at the
13325 # moment. If only one emulation is specified, then don't define
13326 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
13327 case "${obj_format}${emfiles}" in
13328 multi* | *mipself*)
13329 extra_objects="$extra_objects $emfiles"
13331 $as_echo "#define USE_EMULATIONS 1" >>confdefs.h
13337 cat >>confdefs.h <<_ACEOF
13338 #define EMULATIONS $EMULATIONS
13342 cat >>confdefs.h <<_ACEOF
13343 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
13347 reject_dev_configs=yes
13349 case ${reject_dev_configs}-${dev} in
13351 as_fn_error $? "GAS does not support the ${generic_target} configuration." "$LINENO" 5
13361 # do we need the opcodes library?
13362 case "${need_opcodes}" in
13364 OPCODES_LIB=../opcodes/libopcodes.la
13371 cat >>confdefs.h <<_ACEOF
13372 #define TARGET_ALIAS "${target_alias}"
13376 cat >>confdefs.h <<_ACEOF
13377 #define TARGET_CANONICAL "${target}"
13381 cat >>confdefs.h <<_ACEOF
13382 #define TARGET_CPU "${target_cpu}"
13386 cat >>confdefs.h <<_ACEOF
13387 #define TARGET_VENDOR "${target_vendor}"
13391 cat >>confdefs.h <<_ACEOF
13392 #define TARGET_OS "${target_os}"
13396 for ac_prog in 'bison -y' byacc
13398 # Extract the first word of "$ac_prog", so it can be a program name with args.
13399 set dummy $ac_prog; ac_word=$2
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13401 $as_echo_n "checking for $ac_word... " >&6; }
13402 if ${ac_cv_prog_YACC+:} false; then :
13403 $as_echo_n "(cached) " >&6
13405 if test -n "$YACC"; then
13406 ac_cv_prog_YACC="$YACC" # Let the user override the test.
13408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13409 for as_dir in $PATH
13412 test -z "$as_dir" && as_dir=.
13413 for ac_exec_ext in '' $ac_executable_extensions; do
13414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13415 ac_cv_prog_YACC="$ac_prog"
13416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13425 YACC=$ac_cv_prog_YACC
13426 if test -n "$YACC"; then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13428 $as_echo "$YACC" >&6; }
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13431 $as_echo "no" >&6; }
13435 test -n "$YACC" && break
13437 test -n "$YACC" || YACC="yacc"
13439 for ac_prog in flex lex
13441 # Extract the first word of "$ac_prog", so it can be a program name with args.
13442 set dummy $ac_prog; ac_word=$2
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13444 $as_echo_n "checking for $ac_word... " >&6; }
13445 if ${ac_cv_prog_LEX+:} false; then :
13446 $as_echo_n "(cached) " >&6
13448 if test -n "$LEX"; then
13449 ac_cv_prog_LEX="$LEX" # Let the user override the test.
13451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13452 for as_dir in $PATH
13455 test -z "$as_dir" && as_dir=.
13456 for ac_exec_ext in '' $ac_executable_extensions; do
13457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13458 ac_cv_prog_LEX="$ac_prog"
13459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13468 LEX=$ac_cv_prog_LEX
13469 if test -n "$LEX"; then
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13471 $as_echo "$LEX" >&6; }
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13474 $as_echo "no" >&6; }
13478 test -n "$LEX" && break
13480 test -n "$LEX" || LEX=":"
13484 *) cat >conftest.l <<_ACEOF
13490 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
13491 yyless ((input () != 0)); }
13492 f { unput (yytext[0]); }
13493 . { BEGIN INITIAL; }
13495 #ifdef YYTEXT_POINTER
13496 extern char *yytext;
13501 return ! yylex () + ! yywrap ();
13504 { { ac_try="$LEX conftest.l"
13505 case "(($ac_try" in
13506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13507 *) ac_try_echo=$ac_try;;
13509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13510 $as_echo "$ac_try_echo"; } >&5
13511 (eval "$LEX conftest.l") 2>&5
13513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13514 test $ac_status = 0; }
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13516 $as_echo_n "checking lex output file root... " >&6; }
13517 if ${ac_cv_prog_lex_root+:} false; then :
13518 $as_echo_n "(cached) " >&6
13521 if test -f lex.yy.c; then
13522 ac_cv_prog_lex_root=lex.yy
13523 elif test -f lexyy.c; then
13524 ac_cv_prog_lex_root=lexyy
13526 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13530 $as_echo "$ac_cv_prog_lex_root" >&6; }
13531 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13533 if test -z "${LEXLIB+set}"; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13535 $as_echo_n "checking lex library... " >&6; }
13536 if ${ac_cv_lib_lex+:} false; then :
13537 $as_echo_n "(cached) " >&6
13541 ac_cv_lib_lex='none needed'
13542 for ac_lib in '' -lfl -ll; do
13543 LIBS="$ac_lib $ac_save_LIBS"
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13546 `cat $LEX_OUTPUT_ROOT.c`
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 ac_cv_lib_lex=$ac_lib
13551 rm -f core conftest.err conftest.$ac_objext \
13552 conftest$ac_exeext conftest.$ac_ext
13553 test "$ac_cv_lib_lex" != 'none needed' && break
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13559 $as_echo "$ac_cv_lib_lex" >&6; }
13560 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13565 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13566 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
13567 $as_echo_n "(cached) " >&6
13569 # POSIX says lex can declare yytext either as a pointer or an array; the
13570 # default is implementation-dependent. Figure out which it is, since
13571 # not all implementations provide the %pointer and %array declarations.
13572 ac_cv_prog_lex_yytext_pointer=no
13574 LIBS="$LEXLIB $ac_save_LIBS"
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 #define YYTEXT_POINTER 1
13579 `cat $LEX_OUTPUT_ROOT.c`
13581 if ac_fn_c_try_link "$LINENO"; then :
13582 ac_cv_prog_lex_yytext_pointer=yes
13584 rm -f core conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13590 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13591 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13593 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13596 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13599 if test "$LEX" = :; then
13600 LEX=${am_missing_run}flex
13603 ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN"
13604 # If we haven't got the data from the intl directory,
13605 # assume NLS is disabled.
13614 if test -f ../intl/config.intl; then
13615 . ../intl/config.intl
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13618 $as_echo_n "checking whether NLS is requested... " >&6; }
13619 if test x"$USE_NLS" != xyes; then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13621 $as_echo "no" >&6; }
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13624 $as_echo "yes" >&6; }
13626 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13630 $as_echo_n "checking for catalogs to be installed... " >&6; }
13631 # Look for .po and .gmo files in the source directory.
13634 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
13635 # If there aren't any .gmo files the shell will give us the
13636 # literal string "../path/to/srcdir/po/*.gmo" which has to be
13638 case "$cat" in *\**)
13641 # The quadruple backslash is collapsed to a double backslash
13642 # by the backticks, then collapsed again by the double quotes,
13643 # leaving us with one backslash in the sed expression (right
13644 # before the dot that mustn't act as a wildcard).
13645 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
13646 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
13647 # The user is allowed to set LINGUAS to a list of languages to
13648 # install catalogs for. If it's empty that means "all of them."
13649 if test "x$LINGUAS" = x; then
13650 CATALOGS="$CATALOGS $cat"
13651 XLINGUAS="$XLINGUAS $lang"
13653 case "$LINGUAS" in *$lang*)
13654 CATALOGS="$CATALOGS $cat"
13655 XLINGUAS="$XLINGUAS $lang"
13660 LINGUAS="$XLINGUAS"
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13662 $as_echo "$LINGUAS" >&6; }
13676 if test -n "$ac_aux_dir"; then
13677 case "$ac_aux_dir" in
13678 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
13679 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13682 if test -z "$MKINSTALLDIRS"; then
13683 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13689 $as_echo_n "checking whether NLS is requested... " >&6; }
13690 # Check whether --enable-nls was given.
13691 if test "${enable_nls+set}" = set; then :
13692 enableval=$enable_nls; USE_NLS=$enableval
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13698 $as_echo "$USE_NLS" >&6; }
13705 # Prepare PATH_SEPARATOR.
13706 # The user is always right.
13707 if test "${PATH_SEPARATOR+set}" != set; then
13708 echo "#! /bin/sh" >conf$$.sh
13709 echo "exit 0" >>conf$$.sh
13711 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13719 # Find out how to test for executable files. Don't use a zero-byte file,
13720 # as systems may use methods other than mode bits to determine executability.
13721 cat >conf$$.file <<_ASEOF
13725 chmod +x conf$$.file
13726 if test -x conf$$.file >/dev/null 2>&1; then
13727 ac_executable_p="test -x"
13729 ac_executable_p="test -f"
13733 # Extract the first word of "msgfmt", so it can be a program name with args.
13734 set dummy msgfmt; ac_word=$2
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13736 $as_echo_n "checking for $ac_word... " >&6; }
13737 if ${ac_cv_path_MSGFMT+:} false; then :
13738 $as_echo_n "(cached) " >&6
13742 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13745 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13746 for ac_dir in $PATH; do
13748 test -z "$ac_dir" && ac_dir=.
13749 for ac_exec_ext in '' $ac_executable_extensions; do
13750 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13751 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
13752 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13753 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13760 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13764 MSGFMT="$ac_cv_path_MSGFMT"
13765 if test "$MSGFMT" != ":"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13767 $as_echo "$MSGFMT" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13770 $as_echo "no" >&6; }
13773 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13774 set dummy gmsgfmt; ac_word=$2
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13776 $as_echo_n "checking for $ac_word... " >&6; }
13777 if ${ac_cv_path_GMSGFMT+:} false; then :
13778 $as_echo_n "(cached) " >&6
13782 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13786 for as_dir in $PATH
13789 test -z "$as_dir" && as_dir=.
13790 for ac_exec_ext in '' $ac_executable_extensions; do
13791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13792 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13800 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13804 GMSGFMT=$ac_cv_path_GMSGFMT
13805 if test -n "$GMSGFMT"; then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13807 $as_echo "$GMSGFMT" >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13810 $as_echo "no" >&6; }
13816 # Prepare PATH_SEPARATOR.
13817 # The user is always right.
13818 if test "${PATH_SEPARATOR+set}" != set; then
13819 echo "#! /bin/sh" >conf$$.sh
13820 echo "exit 0" >>conf$$.sh
13822 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13830 # Find out how to test for executable files. Don't use a zero-byte file,
13831 # as systems may use methods other than mode bits to determine executability.
13832 cat >conf$$.file <<_ASEOF
13836 chmod +x conf$$.file
13837 if test -x conf$$.file >/dev/null 2>&1; then
13838 ac_executable_p="test -x"
13840 ac_executable_p="test -f"
13844 # Extract the first word of "xgettext", so it can be a program name with args.
13845 set dummy xgettext; ac_word=$2
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13847 $as_echo_n "checking for $ac_word... " >&6; }
13848 if ${ac_cv_path_XGETTEXT+:} false; then :
13849 $as_echo_n "(cached) " >&6
13851 case "$XGETTEXT" in
13853 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13856 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13857 for ac_dir in $PATH; do
13859 test -z "$ac_dir" && ac_dir=.
13860 for ac_exec_ext in '' $ac_executable_extensions; do
13861 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13862 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13863 (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
13864 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13871 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13875 XGETTEXT="$ac_cv_path_XGETTEXT"
13876 if test "$XGETTEXT" != ":"; then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13878 $as_echo "$XGETTEXT" >&6; }
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13881 $as_echo "no" >&6; }
13887 # Prepare PATH_SEPARATOR.
13888 # The user is always right.
13889 if test "${PATH_SEPARATOR+set}" != set; then
13890 echo "#! /bin/sh" >conf$$.sh
13891 echo "exit 0" >>conf$$.sh
13893 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13901 # Find out how to test for executable files. Don't use a zero-byte file,
13902 # as systems may use methods other than mode bits to determine executability.
13903 cat >conf$$.file <<_ASEOF
13907 chmod +x conf$$.file
13908 if test -x conf$$.file >/dev/null 2>&1; then
13909 ac_executable_p="test -x"
13911 ac_executable_p="test -f"
13915 # Extract the first word of "msgmerge", so it can be a program name with args.
13916 set dummy msgmerge; ac_word=$2
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13918 $as_echo_n "checking for $ac_word... " >&6; }
13919 if ${ac_cv_path_MSGMERGE+:} false; then :
13920 $as_echo_n "(cached) " >&6
13922 case "$MSGMERGE" in
13924 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13927 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13928 for ac_dir in $PATH; do
13930 test -z "$ac_dir" && ac_dir=.
13931 for ac_exec_ext in '' $ac_executable_extensions; do
13932 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13933 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
13934 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13941 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13945 MSGMERGE="$ac_cv_path_MSGMERGE"
13946 if test "$MSGMERGE" != ":"; then
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13948 $as_echo "$MSGMERGE" >&6; }
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951 $as_echo "no" >&6; }
13955 if test "$GMSGFMT" != ":"; then
13956 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
13957 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13960 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13962 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13967 if test "$XGETTEXT" != ":"; then
13968 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
13969 (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
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13973 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13979 ac_config_commands="$ac_config_commands default-1"
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13985 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13986 # Check whether --enable-maintainer-mode was given.
13987 if test "${enable_maintainer_mode+set}" = set; then :
13988 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13990 USE_MAINTAINER_MODE=no
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13994 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13995 if test $USE_MAINTAINER_MODE = yes; then
13996 MAINTAINER_MODE_TRUE=
13997 MAINTAINER_MODE_FALSE='#'
13999 MAINTAINER_MODE_TRUE='#'
14000 MAINTAINER_MODE_FALSE=
14003 MAINT=$MAINTAINER_MODE_TRUE
14007 GENINSRC_NEVER_TRUE=
14008 GENINSRC_NEVER_FALSE='#'
14010 GENINSRC_NEVER_TRUE='#'
14011 GENINSRC_NEVER_FALSE=
14016 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
14018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14019 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14021 cat >>confdefs.h <<_ACEOF
14022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14030 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14031 if ${gcc_cv_header_string+:} false; then :
14032 $as_echo_n "(cached) " >&6
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 #include <string.h>
14037 #include <strings.h>
14046 if ac_fn_c_try_compile "$LINENO"; then :
14047 gcc_cv_header_string=yes
14049 gcc_cv_header_string=no
14051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14054 $as_echo "$gcc_cv_header_string" >&6; }
14055 if test $gcc_cv_header_string = yes; then
14057 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14062 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
14063 # people who are not cross-compiling but are compiling cross-assemblers.
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
14065 $as_echo_n "checking whether compiling a cross-assembler... " >&6; }
14066 if test "${host}" = "${target}"; then
14071 $as_echo "#define CROSS_COMPILE 1" >>confdefs.h
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
14075 $as_echo "$cross_gas" >&6; }
14077 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14078 if test "x$ac_cv_type_size_t" = xyes; then :
14082 cat >>confdefs.h <<_ACEOF
14083 #define size_t unsigned int
14088 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14089 # for constant arguments. Useless!
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14091 $as_echo_n "checking for working alloca.h... " >&6; }
14092 if ${ac_cv_working_alloca_h+:} false; then :
14093 $as_echo_n "(cached) " >&6
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14097 #include <alloca.h>
14101 char *p = (char *) alloca (2 * sizeof (int));
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 ac_cv_working_alloca_h=yes
14110 ac_cv_working_alloca_h=no
14112 rm -f core conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14116 $as_echo "$ac_cv_working_alloca_h" >&6; }
14117 if test $ac_cv_working_alloca_h = yes; then
14119 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14124 $as_echo_n "checking for alloca... " >&6; }
14125 if ${ac_cv_func_alloca_works+:} false; then :
14126 $as_echo_n "(cached) " >&6
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 # define alloca __builtin_alloca
14134 # include <malloc.h>
14135 # define alloca _alloca
14137 # ifdef HAVE_ALLOCA_H
14138 # include <alloca.h>
14143 # ifndef alloca /* predefined by HP cc +Olibcalls */
14144 void *alloca (size_t);
14154 char *p = (char *) alloca (1);
14160 if ac_fn_c_try_link "$LINENO"; then :
14161 ac_cv_func_alloca_works=yes
14163 ac_cv_func_alloca_works=no
14165 rm -f core conftest.err conftest.$ac_objext \
14166 conftest$ac_exeext conftest.$ac_ext
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14169 $as_echo "$ac_cv_func_alloca_works" >&6; }
14171 if test $ac_cv_func_alloca_works = yes; then
14173 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14176 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14177 # that cause trouble. Some versions do not even contain alloca or
14178 # contain a buggy version. If you still want to use their alloca,
14179 # use ar to extract alloca.o from them instead of compiling alloca.c.
14181 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14183 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14187 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14188 if ${ac_cv_os_cray+:} false; then :
14189 $as_echo_n "(cached) " >&6
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14193 #if defined CRAY && ! defined CRAY2
14200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14201 $EGREP "webecray" >/dev/null 2>&1; then :
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14210 $as_echo "$ac_cv_os_cray" >&6; }
14211 if test $ac_cv_os_cray = yes; then
14212 for ac_func in _getb67 GETB67 getb67; do
14213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14217 cat >>confdefs.h <<_ACEOF
14218 #define CRAY_STACKSEG_END $ac_func
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14228 $as_echo_n "checking stack direction for C alloca... " >&6; }
14229 if ${ac_cv_c_stack_direction+:} false; then :
14230 $as_echo_n "(cached) " >&6
14232 if test "$cross_compiling" = yes; then :
14233 ac_cv_c_stack_direction=0
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14237 $ac_includes_default
14239 find_stack_direction (int *addr, int depth)
14241 int dir, dummy = 0;
14244 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14245 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14246 return dir + dummy;
14250 main (int argc, char **argv)
14252 return find_stack_direction (0, argc + !argv + 20) < 0;
14255 if ac_fn_c_try_run "$LINENO"; then :
14256 ac_cv_c_stack_direction=1
14258 ac_cv_c_stack_direction=-1
14260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14261 conftest.$ac_objext conftest.beam conftest.$ac_ext
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14266 $as_echo "$ac_cv_c_stack_direction" >&6; }
14267 cat >>confdefs.h <<_ACEOF
14268 #define STACK_DIRECTION $ac_cv_c_stack_direction
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14275 $as_echo_n "checking for inline... " >&6; }
14276 if ${ac_cv_c_inline+:} false; then :
14277 $as_echo_n "(cached) " >&6
14280 for ac_kw in inline __inline__ __inline; do
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14283 #ifndef __cplusplus
14285 static $ac_kw foo_t static_foo () {return 0; }
14286 $ac_kw foo_t foo () {return 0; }
14290 if ac_fn_c_try_compile "$LINENO"; then :
14291 ac_cv_c_inline=$ac_kw
14293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14294 test "$ac_cv_c_inline" != no && break
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14299 $as_echo "$ac_cv_c_inline" >&6; }
14301 case $ac_cv_c_inline in
14304 case $ac_cv_c_inline in
14306 *) ac_val=$ac_cv_c_inline;;
14308 cat >>confdefs.h <<_ACEOF
14309 #ifndef __cplusplus
14310 #define inline $ac_val
14317 # VMS doesn't have unlink.
14318 for ac_func in unlink remove
14320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14323 cat >>confdefs.h <<_ACEOF
14324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14330 for ac_func in sbrk setlocale
14332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14334 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14335 cat >>confdefs.h <<_ACEOF
14336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14342 for ac_func in strsignal
14344 ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
14345 if test "x$ac_cv_func_strsignal" = xyes; then :
14346 cat >>confdefs.h <<_ACEOF
14347 #define HAVE_STRSIGNAL 1
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14356 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14357 if ${am_cv_val_LC_MESSAGES+:} false; then :
14358 $as_echo_n "(cached) " >&6
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 #include <locale.h>
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 am_cv_val_LC_MESSAGES=yes
14374 am_cv_val_LC_MESSAGES=no
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14380 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14381 if test $am_cv_val_LC_MESSAGES = yes; then
14383 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14388 # do we need the math library?
14389 case "${need_libm}" in
14393 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
14394 # These system don't have libm, or don't need it
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14398 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14399 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
14400 $as_echo_n "(cached) " >&6
14402 ac_check_lib_save_LIBS=$LIBS
14404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14407 /* Override any GCC internal prototype to avoid an error.
14408 Use char because int might match the return type of a GCC
14409 builtin and then its argument prototype would still apply. */
14413 char _mwvalidcheckl ();
14417 return _mwvalidcheckl ();
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 ac_cv_lib_mw__mwvalidcheckl=yes
14425 ac_cv_lib_mw__mwvalidcheckl=no
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14429 LIBS=$ac_check_lib_save_LIBS
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14432 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14433 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14438 $as_echo_n "checking for cos in -lm... " >&6; }
14439 if ${ac_cv_lib_m_cos+:} false; then :
14440 $as_echo_n "(cached) " >&6
14442 ac_check_lib_save_LIBS=$LIBS
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14447 /* Override any GCC internal prototype to avoid an error.
14448 Use char because int might match the return type of a GCC
14449 builtin and then its argument prototype would still apply. */
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_lib_m_cos=yes
14467 rm -f core conftest.err conftest.$ac_objext \
14468 conftest$ac_exeext conftest.$ac_ext
14469 LIBS=$ac_check_lib_save_LIBS
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14472 $as_echo "$ac_cv_lib_m_cos" >&6; }
14473 if test "x$ac_cv_lib_m_cos" = xyes; then :
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14480 $as_echo_n "checking for cos in -lm... " >&6; }
14481 if ${ac_cv_lib_m_cos+:} false; then :
14482 $as_echo_n "(cached) " >&6
14484 ac_check_lib_save_LIBS=$LIBS
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14489 /* Override any GCC internal prototype to avoid an error.
14490 Use char because int might match the return type of a GCC
14491 builtin and then its argument prototype would still apply. */
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 ac_cv_lib_m_cos=yes
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14511 LIBS=$ac_check_lib_save_LIBS
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14514 $as_echo "$ac_cv_lib_m_cos" >&6; }
14515 if test "x$ac_cv_lib_m_cos" = xyes; then :
14527 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
14528 # enough, but on some of those systems, the assert macro relies on requoting
14529 # working properly!
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
14531 $as_echo_n "checking for working assert macro... " >&6; }
14532 if ${gas_cv_assert_ok+:} false; then :
14533 $as_echo_n "(cached) " >&6
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 #include <assert.h>
14543 /* check for requoting problems */
14544 static int a, b, c, d;
14546 assert (!strcmp(s, "foo bar baz quux"));
14547 /* check for newline handling */
14555 if ac_fn_c_try_link "$LINENO"; then :
14556 gas_cv_assert_ok=yes
14558 gas_cv_assert_ok=no
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
14564 $as_echo "$gas_cv_assert_ok" >&6; }
14565 test $gas_cv_assert_ok = yes ||
14566 $as_echo "#define BROKEN_ASSERT 1" >>confdefs.h
14570 # On some systems, the system header files may not declare malloc, realloc,
14571 # and free. There are places where gas needs these functions to have been
14572 # declared -- such as when taking their addresses.
14574 #ifdef HAVE_MEMORY_H
14575 #include <memory.h>
14577 #ifdef HAVE_STRING_H
14578 #include <string.h>
14580 #ifdef HAVE_STRINGS_H
14581 #include <strings.h>
14584 #ifdef HAVE_STDLIB_H
14585 #include <stdlib.h>
14587 #ifdef HAVE_UNISTD_H
14588 #include <unistd.h>
14592 # Does errno.h declare errno, or do we have to add a separate declaration
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
14596 $as_echo_n "checking whether declaration is required for errno... " >&6; }
14597 if ${gas_cv_decl_needed_errno+:} false; then :
14598 $as_echo_n "(cached) " >&6
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14603 #ifdef HAVE_ERRNO_H
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 gas_cv_decl_needed_errno=no
14622 gas_cv_decl_needed_errno=yes
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
14628 $as_echo "$gas_cv_decl_needed_errno" >&6; }
14629 if test $gas_cv_decl_needed_errno = yes; then
14631 $as_echo "#define NEED_DECLARATION_ERRNO 1" >>confdefs.h
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
14637 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
14638 if ${gas_cv_decl_getopt_unistd_h+:} false; then :
14639 $as_echo_n "(cached) " >&6
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14643 #include <unistd.h>
14647 extern int getopt (int, char *const*, const char *);
14652 if ac_fn_c_try_compile "$LINENO"; then :
14653 gas_cv_decl_getopt_unistd_h=yes
14655 gas_cv_decl_getopt_unistd_h=no
14657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
14661 $as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
14662 if test $gas_cv_decl_getopt_unistd_h = yes; then
14664 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
14670 $as_echo_n "checking whether declaration is required for environ... " >&6; }
14671 if ${gas_cv_decl_needed_environ+:} false; then :
14672 $as_echo_n "(cached) " >&6
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 gas_cv_decl_needed_environ=no
14692 gas_cv_decl_needed_environ=yes
14694 rm -f core conftest.err conftest.$ac_objext \
14695 conftest$ac_exeext conftest.$ac_ext
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
14698 $as_echo "$gas_cv_decl_needed_environ" >&6; }
14699 if test $gas_cv_decl_needed_environ = yes; then
14701 $as_echo "#define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
14707 $as_echo_n "checking whether declaration is required for ffs... " >&6; }
14708 if ${gas_cv_decl_needed_ffs+:} false; then :
14709 $as_echo_n "(cached) " >&6
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14718 typedef int (*f)(int);
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 gas_cv_decl_needed_ffs=no
14729 gas_cv_decl_needed_ffs=yes
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
14735 $as_echo "$gas_cv_decl_needed_ffs" >&6; }
14736 if test $gas_cv_decl_needed_ffs = yes; then
14738 $as_echo "#define NEED_DECLARATION_FFS 1" >>confdefs.h
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
14744 $as_echo_n "checking whether declaration is required for free... " >&6; }
14745 if ${gas_cv_decl_needed_free+:} false; then :
14746 $as_echo_n "(cached) " >&6
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14755 typedef void (*f)();
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 gas_cv_decl_needed_free=no
14766 gas_cv_decl_needed_free=yes
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext conftest.$ac_ext
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
14772 $as_echo "$gas_cv_decl_needed_free" >&6; }
14773 if test $gas_cv_decl_needed_free = yes; then
14775 $as_echo "#define NEED_DECLARATION_FREE 1" >>confdefs.h
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
14781 $as_echo_n "checking whether declaration is required for malloc... " >&6; }
14782 if ${gas_cv_decl_needed_malloc+:} false; then :
14783 $as_echo_n "(cached) " >&6
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14792 typedef char *(*f)();
14800 if ac_fn_c_try_link "$LINENO"; then :
14801 gas_cv_decl_needed_malloc=no
14803 gas_cv_decl_needed_malloc=yes
14805 rm -f core conftest.err conftest.$ac_objext \
14806 conftest$ac_exeext conftest.$ac_ext
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
14809 $as_echo "$gas_cv_decl_needed_malloc" >&6; }
14810 if test $gas_cv_decl_needed_malloc = yes; then
14812 $as_echo "#define NEED_DECLARATION_MALLOC 1" >>confdefs.h
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
14818 $as_echo_n "checking whether declaration is required for sbrk... " >&6; }
14819 if ${gas_cv_decl_needed_sbrk+:} false; then :
14820 $as_echo_n "(cached) " >&6
14822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14829 typedef char *(*f)();
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 gas_cv_decl_needed_sbrk=no
14840 gas_cv_decl_needed_sbrk=yes
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
14846 $as_echo "$gas_cv_decl_needed_sbrk" >&6; }
14847 if test $gas_cv_decl_needed_sbrk = yes; then
14849 $as_echo "#define NEED_DECLARATION_SBRK 1" >>confdefs.h
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
14855 $as_echo_n "checking whether declaration is required for strstr... " >&6; }
14856 if ${gas_cv_decl_needed_strstr+:} false; then :
14857 $as_echo_n "(cached) " >&6
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14866 typedef char *(*f)();
14874 if ac_fn_c_try_link "$LINENO"; then :
14875 gas_cv_decl_needed_strstr=no
14877 gas_cv_decl_needed_strstr=yes
14879 rm -f core conftest.err conftest.$ac_objext \
14880 conftest$ac_exeext conftest.$ac_ext
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
14883 $as_echo "$gas_cv_decl_needed_strstr" >&6; }
14884 if test $gas_cv_decl_needed_strstr = yes; then
14886 $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
14891 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
14892 if test "x$ac_cv_have_decl_free" = xyes; then :
14898 cat >>confdefs.h <<_ACEOF
14899 #define HAVE_DECL_FREE $ac_have_decl
14901 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14902 if test "x$ac_cv_have_decl_getenv" = xyes; then :
14908 cat >>confdefs.h <<_ACEOF
14909 #define HAVE_DECL_GETENV $ac_have_decl
14911 ac_fn_c_check_decl "$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
14912 if test "x$ac_cv_have_decl_malloc" = xyes; then :
14918 cat >>confdefs.h <<_ACEOF
14919 #define HAVE_DECL_MALLOC $ac_have_decl
14921 ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
14922 if test "x$ac_cv_have_decl_mempcpy" = xyes; then :
14928 cat >>confdefs.h <<_ACEOF
14929 #define HAVE_DECL_MEMPCPY $ac_have_decl
14931 ac_fn_c_check_decl "$LINENO" "realloc" "ac_cv_have_decl_realloc" "$ac_includes_default"
14932 if test "x$ac_cv_have_decl_realloc" = xyes; then :
14938 cat >>confdefs.h <<_ACEOF
14939 #define HAVE_DECL_REALLOC $ac_have_decl
14941 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
14942 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
14948 cat >>confdefs.h <<_ACEOF
14949 #define HAVE_DECL_STPCPY $ac_have_decl
14951 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
14952 if test "x$ac_cv_have_decl_strstr" = xyes; then :
14958 cat >>confdefs.h <<_ACEOF
14959 #define HAVE_DECL_STRSTR $ac_have_decl
14961 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
14962 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
14968 cat >>confdefs.h <<_ACEOF
14969 #define HAVE_DECL_VSNPRINTF $ac_have_decl
14971 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
14972 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
14978 cat >>confdefs.h <<_ACEOF
14979 #define HAVE_DECL_ASPRINTF $ac_have_decl
14985 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
14987 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
14991 # Link in zlib if we can. This allows us to write compressed debug sections.
14993 # Use the system's zlib library.
14994 zlibdir="-L\$(top_builddir)/../zlib"
14995 zlibinc="-I\$(top_srcdir)/../zlib"
14997 # Check whether --with-system-zlib was given.
14998 if test "${with_system_zlib+set}" = set; then :
14999 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
15010 # Support for VMS timestamps via cross compile
15012 if test "$ac_cv_header_time_h" = yes; then
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
15014 $as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
15015 if ${gas_cv_have_time_type_member_tm_gmtoff+:} false; then :
15016 $as_echo_n "(cached) " >&6
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 #define _BSD_SOURCE 1
15026 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
15031 if ac_fn_c_try_compile "$LINENO"; then :
15032 gas_cv_have_time_type_member_tm_gmtoff=yes
15034 gas_cv_have_time_type_member_tm_gmtoff=no
15037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15040 if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
15042 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
15046 $as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
15050 if test "$ac_cv_header_sys_stat_h" = yes; then
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
15052 $as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
15053 if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+:} false; then :
15054 $as_echo_n "(cached) " >&6
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15059 #define _BSD_SOURCE 1
15060 #include <sys/stat.h>
15064 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
15069 if ac_fn_c_try_compile "$LINENO"; then :
15070 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=yes
15072 gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=no
15075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
15080 $as_echo "#define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
15084 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
15087 $as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
15088 if ${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+:} false; then :
15089 $as_echo_n "(cached) " >&6
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15094 #define _BSD_SOURCE 1
15095 #include <sys/stat.h>
15099 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
15104 if ac_fn_c_try_compile "$LINENO"; then :
15105 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=yes
15107 gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=no
15110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15113 if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
15115 $as_echo "#define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
15119 $as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
15131 ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
15133 ac_config_commands="$ac_config_commands default"
15136 cat >confcache <<\_ACEOF
15137 # This file is a shell script that caches the results of configure
15138 # tests run on this system so they can be shared between configure
15139 # scripts and configure runs, see configure's option --config-cache.
15140 # It is not useful on other systems. If it contains results you don't
15141 # want to keep, you may remove or edit it.
15143 # config.status only pays attention to the cache file if you give it
15144 # the --recheck option to rerun configure.
15146 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15147 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15148 # following values.
15152 # The following way of writing the cache mishandles newlines in values,
15153 # but we know of no workaround that is simple, portable, and efficient.
15154 # So, we kill variables containing newlines.
15155 # Ultrix sh set writes to stderr and can't be redirected directly,
15156 # and sets the high bit in the cache file unless we assign to the vars.
15158 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15159 eval ac_val=\$$ac_var
15163 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15164 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15167 _ | IFS | as_nl) ;; #(
15168 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15169 *) { eval $ac_var=; unset $ac_var;} ;;
15175 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15176 *${as_nl}ac_space=\ *)
15177 # `set' does not quote correctly, so add quotes: double-quote
15178 # substitution turns \\\\ into \\, and sed turns \\ into \.
15181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15184 # `set' quotes correctly as required by POSIX, so do not add quotes.
15185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15194 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15196 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15198 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15199 if test -w "$cache_file"; then
15200 if test "x$cache_file" != "x/dev/null"; then
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15202 $as_echo "$as_me: updating cache $cache_file" >&6;}
15203 if test ! -f "$cache_file" || test -h "$cache_file"; then
15204 cat confcache >"$cache_file"
15206 case $cache_file in #(
15208 mv -f confcache "$cache_file"$$ &&
15209 mv -f "$cache_file"$$ "$cache_file" ;; #(
15211 mv -f confcache "$cache_file" ;;
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15217 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15222 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15223 # Let make expand exec_prefix.
15224 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15226 DEFS=-DHAVE_CONFIG_H
15231 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15232 # 1. Remove the extension, and $U if already installed.
15233 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15234 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15235 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15236 # will be set to the directory where LIBOBJS objects are built.
15237 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15238 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15240 LIBOBJS=$ac_libobjs
15242 LTLIBOBJS=$ac_ltlibobjs
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15246 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15247 if test -n "$am_sleep_pid"; then
15248 # Hide warnings about reused PIDs.
15249 wait $am_sleep_pid 2>/dev/null
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15252 $as_echo "done" >&6; }
15253 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15254 as_fn_error $? "conditional \"AMDEP\" was never defined.
15255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15257 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15258 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15261 if test -n "$EXEEXT"; then
15263 am__EXEEXT_FALSE='#'
15265 am__EXEEXT_TRUE='#'
15270 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15271 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15274 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15275 as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
15276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15279 : "${CONFIG_STATUS=./config.status}"
15281 ac_clean_files_save=$ac_clean_files
15282 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15284 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15286 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15288 # Generated by $as_me.
15289 # Run this file to recreate the current configuration.
15290 # Compiler output produced by configure, useful for debugging
15291 # configure, is in config.log if it exists.
15294 ac_cs_recheck=false
15297 SHELL=\${CONFIG_SHELL-$SHELL}
15300 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15301 ## -------------------- ##
15302 ## M4sh Initialization. ##
15303 ## -------------------- ##
15305 # Be more Bourne compatible
15306 DUALCASE=1; export DUALCASE # for MKS sh
15307 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15310 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15311 # is contrary to our usage. Disable this feature.
15312 alias -g '${1+"$@"}'='"$@"'
15313 setopt NO_GLOB_SUBST
15315 case `(set -o) 2>/dev/null` in #(
15327 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15328 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15329 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15330 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15331 # Prefer a ksh shell builtin over an external printf program on Solaris,
15332 # but without wasting forks for bash or zsh.
15333 if test -z "$BASH_VERSION$ZSH_VERSION" \
15334 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15335 as_echo='print -r --'
15336 as_echo_n='print -rn --'
15337 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15338 as_echo='printf %s\n'
15339 as_echo_n='printf %s'
15341 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15342 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15343 as_echo_n='/usr/ucb/echo -n'
15345 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15346 as_echo_n_body='eval
15350 expr "X$arg" : "X\\(.*\\)$as_nl";
15351 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15353 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15355 export as_echo_n_body
15356 as_echo_n='sh -c $as_echo_n_body as_echo'
15358 export as_echo_body
15359 as_echo='sh -c $as_echo_body as_echo'
15362 # The user is always right.
15363 if test "${PATH_SEPARATOR+set}" != set; then
15365 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15366 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15373 # We need space, tab and new line, in precisely that order. Quoting is
15374 # there to prevent editors from complaining about space-tab.
15375 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15376 # splitting by setting IFS to empty value.)
15379 # Find who we are. Look in the path if we contain no directory separator.
15382 *[\\/]* ) as_myself=$0 ;;
15383 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15384 for as_dir in $PATH
15387 test -z "$as_dir" && as_dir=.
15388 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15394 # We did not find ourselves, most probably we were run as `sh COMMAND'
15395 # in which case we are not to be found in the path.
15396 if test "x$as_myself" = x; then
15399 if test ! -f "$as_myself"; then
15400 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15404 # Unset variables that we do not need and which cause bugs (e.g. in
15405 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15406 # suppresses any "Segmentation fault" message there. '((' could
15407 # trigger a bug in pdksh 5.2.14.
15408 for as_var in BASH_ENV ENV MAIL MAILPATH
15409 do eval test x\${$as_var+set} = xset \
15410 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15423 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15427 # ----------------------------------------
15428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15430 # script with STATUS, using 1 if that was 0.
15433 as_status=$1; test $as_status -eq 0 && as_status=1
15435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15436 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15438 $as_echo "$as_me: error: $2" >&2
15439 as_fn_exit $as_status
15443 # as_fn_set_status STATUS
15444 # -----------------------
15445 # Set $? to STATUS, without forking.
15446 as_fn_set_status ()
15449 } # as_fn_set_status
15451 # as_fn_exit STATUS
15452 # -----------------
15453 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15457 as_fn_set_status $1
15463 # Portably unset VAR.
15466 { eval $1=; unset $1;}
15468 as_unset=as_fn_unset
15469 # as_fn_append VAR VALUE
15470 # ----------------------
15471 # Append the text in VALUE to the end of the definition contained in VAR. Take
15472 # advantage of any shell optimizations that allow amortized linear growth over
15473 # repeated appends, instead of the typical quadratic growth present in naive
15475 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15476 eval 'as_fn_append ()
15487 # as_fn_arith ARG...
15488 # ------------------
15489 # Perform arithmetic evaluation on the ARGs, and store the result in the
15490 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15491 # must be portable across $(()) and expr.
15492 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15493 eval 'as_fn_arith ()
15500 as_val=`expr "$@" || test $? -eq 1`
15505 if expr a : '\(a\)' >/dev/null 2>&1 &&
15506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15512 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15513 as_basename=basename
15518 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15524 as_me=`$as_basename -- "$0" ||
15525 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15526 X"$0" : 'X\(//\)$' \| \
15527 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15529 sed '/^.*\/\([^/][^/]*\)\/*$/{
15543 # Avoid depending upon Character Ranges.
15544 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15545 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15546 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15547 as_cr_digits='0123456789'
15548 as_cr_alnum=$as_cr_Letters$as_cr_digits
15550 ECHO_C= ECHO_N= ECHO_T=
15551 case `echo -n x` in #(((((
15553 case `echo 'xy\c'` in
15554 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15556 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15563 rm -f conf$$ conf$$.exe conf$$.file
15564 if test -d conf$$.dir; then
15565 rm -f conf$$.dir/conf$$.file
15568 mkdir conf$$.dir 2>/dev/null
15570 if (echo >conf$$.file) 2>/dev/null; then
15571 if ln -s conf$$.file conf$$ 2>/dev/null; then
15573 # ... but there are two gotchas:
15574 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15575 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15576 # In both cases, we have to default to `cp -pR'.
15577 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15579 elif ln conf$$.file conf$$ 2>/dev/null; then
15587 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15588 rmdir conf$$.dir 2>/dev/null
15593 # Create "$as_dir" as a directory, including parents if necessary.
15598 -*) as_dir=./$as_dir;;
15600 test -d "$as_dir" || eval $as_mkdir_p || {
15604 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15605 *) as_qdir=$as_dir;;
15607 as_dirs="'$as_qdir' $as_dirs"
15608 as_dir=`$as_dirname -- "$as_dir" ||
15609 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15610 X"$as_dir" : 'X\(//\)[^/]' \| \
15611 X"$as_dir" : 'X\(//\)$' \| \
15612 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15613 $as_echo X"$as_dir" |
15614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15618 /^X\(\/\/\)[^/].*/{
15631 test -d "$as_dir" && break
15633 test -z "$as_dirs" || eval "mkdir $as_dirs"
15634 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15638 if mkdir -p . 2>/dev/null; then
15639 as_mkdir_p='mkdir -p "$as_dir"'
15641 test -d ./-p && rmdir ./-p
15646 # as_fn_executable_p FILE
15647 # -----------------------
15648 # Test if FILE is an executable regular file.
15649 as_fn_executable_p ()
15651 test -f "$1" && test -x "$1"
15652 } # as_fn_executable_p
15653 as_test_x='test -x'
15654 as_executable_p=as_fn_executable_p
15656 # Sed expression to map a string onto a valid CPP name.
15657 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15659 # Sed expression to map a string onto a valid variable name.
15660 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15664 ## ----------------------------------- ##
15665 ## Main body of $CONFIG_STATUS script. ##
15666 ## ----------------------------------- ##
15668 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15671 # Save the log message, to keep $0 and so on meaningful, and to
15672 # report actual input values of CONFIG_FILES etc. instead of their
15673 # values after options handling.
15675 This file was extended by gas $as_me 2.32.51, which was
15676 generated by GNU Autoconf 2.69. Invocation command line was
15678 CONFIG_FILES = $CONFIG_FILES
15679 CONFIG_HEADERS = $CONFIG_HEADERS
15680 CONFIG_LINKS = $CONFIG_LINKS
15681 CONFIG_COMMANDS = $CONFIG_COMMANDS
15684 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15689 case $ac_config_files in *"
15690 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15693 case $ac_config_headers in *"
15694 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15699 # Files that config.status was made for.
15700 config_files="$ac_config_files"
15701 config_headers="$ac_config_headers"
15702 config_commands="$ac_config_commands"
15706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15708 \`$as_me' instantiates files and other configuration actions
15709 from templates according to the current configuration. Unless the files
15710 and actions are specified as TAGs, all are instantiated by default.
15712 Usage: $0 [OPTION]... [TAG]...
15714 -h, --help print this help, then exit
15715 -V, --version print version number and configuration settings, then exit
15716 --config print configuration, then exit
15717 -q, --quiet, --silent
15718 do not print progress messages
15719 -d, --debug don't remove temporary files
15720 --recheck update $as_me by reconfiguring in the same conditions
15721 --file=FILE[:TEMPLATE]
15722 instantiate the configuration file FILE
15723 --header=FILE[:TEMPLATE]
15724 instantiate the configuration header FILE
15726 Configuration files:
15729 Configuration headers:
15732 Configuration commands:
15735 Report bugs to the package provider."
15738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15739 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15741 gas config.status 2.32.51
15742 configured by $0, generated by GNU Autoconf 2.69,
15743 with options \\"\$ac_cs_config\\"
15745 Copyright (C) 2012 Free Software Foundation, Inc.
15746 This config.status script is free software; the Free Software Foundation
15747 gives unlimited permission to copy, distribute and modify it."
15754 test -n "\$AWK" || AWK=awk
15757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15758 # The default lists apply if the user does not specify any file.
15764 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15765 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15781 # Handling of the options.
15782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15784 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15785 $as_echo "$ac_cs_version"; exit ;;
15786 --config | --confi | --conf | --con | --co | --c )
15787 $as_echo "$ac_cs_config"; exit ;;
15788 --debug | --debu | --deb | --de | --d | -d )
15790 --file | --fil | --fi | --f )
15793 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15794 '') as_fn_error $? "missing file argument" ;;
15796 as_fn_append CONFIG_FILES " '$ac_optarg'"
15797 ac_need_defaults=false;;
15798 --header | --heade | --head | --hea )
15801 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15803 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15804 ac_need_defaults=false;;
15806 # Conflict between --help and --header
15807 as_fn_error $? "ambiguous option: \`$1'
15808 Try \`$0 --help' for more information.";;
15809 --help | --hel | -h )
15810 $as_echo "$ac_cs_usage"; exit ;;
15811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15812 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15815 # This is an error.
15816 -*) as_fn_error $? "unrecognized option: \`$1'
15817 Try \`$0 --help' for more information." ;;
15819 *) as_fn_append ac_config_targets " $1"
15820 ac_need_defaults=false ;;
15826 ac_configure_extra_args=
15828 if $ac_cs_silent; then
15830 ac_configure_extra_args="$ac_configure_extra_args --silent"
15834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15835 if \$ac_cs_recheck; then
15836 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15838 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15839 CONFIG_SHELL='$SHELL'
15840 export CONFIG_SHELL
15845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15849 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15850 ## Running $as_me. ##
15856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15860 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15863 # The HP-UX ksh and POSIX shell print the target directory to stdout
15864 # if CDPATH is set.
15865 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15867 sed_quote_subst='$sed_quote_subst'
15868 double_quote_subst='$double_quote_subst'
15869 delay_variable_subst='$delay_variable_subst'
15870 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15871 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15872 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15873 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15874 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15875 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15876 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15877 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15878 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15879 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15880 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15881 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15882 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15883 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15884 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15885 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15886 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15887 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15888 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15889 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15890 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15891 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15892 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15893 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15894 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15895 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15896 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15897 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15898 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15899 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15900 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15901 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15902 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15903 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15904 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15905 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15906 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15907 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15908 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15909 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15910 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15911 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15912 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15913 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15914 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15915 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15916 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15917 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15918 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"`'
15919 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15920 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15921 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15922 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15923 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15924 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15925 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15926 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15927 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15928 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15929 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15930 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15931 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15932 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15933 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15934 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15935 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15936 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15937 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15938 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15939 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15940 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15941 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15942 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15943 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15944 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15945 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15946 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15947 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15948 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15949 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15950 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15951 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15952 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15953 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15954 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15955 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15956 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15957 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15958 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15959 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15960 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15961 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15962 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15963 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15964 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15965 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15966 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15967 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15968 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15969 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15970 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15971 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15972 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15973 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15974 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15975 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15976 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15977 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15978 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15979 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15980 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15981 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15982 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15983 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15984 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15985 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15986 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15987 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15988 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15989 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15992 LTCFLAGS='$LTCFLAGS'
15993 compiler='$compiler_DEFAULT'
15995 # A function that is used when there is no print builtin or printf.
15996 func_fallback_echo ()
15998 eval 'cat <<_LTECHO_EOF
16003 # Quote evaled strings.
16017 deplibs_check_method \
16026 lt_cv_sys_global_symbol_pipe \
16027 lt_cv_sys_global_symbol_to_cdecl \
16028 lt_cv_sys_global_symbol_to_c_name_address \
16029 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16030 lt_prog_compiler_no_builtin_flag \
16031 lt_prog_compiler_wl \
16032 lt_prog_compiler_pic \
16033 lt_prog_compiler_static \
16034 lt_cv_prog_compiler_c_o \
16042 export_dynamic_flag_spec \
16043 whole_archive_flag_spec \
16044 compiler_needs_object \
16046 allow_undefined_flag \
16047 no_undefined_flag \
16048 hardcode_libdir_flag_spec \
16049 hardcode_libdir_flag_spec_ld \
16050 hardcode_libdir_separator \
16055 variables_saved_for_relink \
16057 library_names_spec \
16059 install_override_mode \
16063 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16064 *[\\\\\\\`\\"\\\$]*)
16065 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16068 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16073 # Double-quote double-evaled strings.
16074 for var in reload_cmds \
16075 old_postinstall_cmds \
16076 old_postuninstall_cmds \
16078 extract_expsyms_cmds \
16079 old_archive_from_new_cmds \
16080 old_archive_from_expsyms_cmds \
16082 archive_expsym_cmds \
16084 module_expsym_cmds \
16085 export_symbols_cmds \
16088 postuninstall_cmds \
16090 sys_lib_search_path_spec \
16091 sys_lib_dlsearch_path_spec; do
16092 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16093 *[\\\\\\\`\\"\\\$]*)
16094 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16097 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16102 ac_aux_dir='$ac_aux_dir'
16103 xsi_shell='$xsi_shell'
16104 lt_shell_append='$lt_shell_append'
16106 # See if we are running on zsh, and set the options which allow our
16107 # commands through without removal of \ escapes INIT.
16108 if test -n "\${ZSH_VERSION+set}" ; then
16109 setopt NO_GLOB_SUBST
16115 TIMESTAMP='$TIMESTAMP'
16121 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16122 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16124 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16125 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16126 LINGUAS="${LINGUAS-%UNSET%}"
16128 target_cpu_type=${target_cpu_type}
16129 cgen_cpu_prefix=${cgen_cpu_prefix}
16130 obj_format=${obj_format}
16135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16137 # Handling of arguments.
16138 for ac_config_target in $ac_config_targets
16140 case $ac_config_target in
16141 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16142 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16143 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
16144 "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
16145 ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
16146 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16147 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16148 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16149 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
16150 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
16152 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16157 # If the user did not use the arguments to specify the items to instantiate,
16158 # then the envvar interface is used. Set only those that are not.
16159 # We use the long form for the default assignment because of an extremely
16160 # bizarre bug on SunOS 4.1.3.
16161 if $ac_need_defaults; then
16162 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16163 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16164 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16167 # Have a temporary directory for convenience. Make it in the build tree
16168 # simply because there is no reason against having it here, and in addition,
16169 # creating and moving files from /tmp can sometimes cause problems.
16170 # Hook for its removal unless debugging.
16171 # Note that there is a small window in which the directory will not be cleaned:
16172 # after its creation but before its name has been assigned to `$tmp'.
16176 trap 'exit_status=$?
16177 : "${ac_tmp:=$tmp}"
16178 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16180 trap 'as_fn_exit 1' 1 2 13 15
16182 # Create a (secure) tmp directory for tmp files.
16185 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16189 tmp=./conf$$-$RANDOM
16190 (umask 077 && mkdir "$tmp")
16191 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16194 # Set up the scripts for CONFIG_FILES section.
16195 # No need to generate them if there are no CONFIG_FILES.
16196 # This happens for instance with `./config.status config.h'.
16197 if test -n "$CONFIG_FILES"; then
16200 ac_cr=`echo X | tr X '\015'`
16201 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16202 # But we know of no other shell where ac_cr would be empty at this
16203 # point, so we can use a bashism as a fallback.
16204 if test "x$ac_cr" = x; then
16205 eval ac_cr=\$\'\\r\'
16207 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16208 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16211 ac_cs_awk_cr=$ac_cr
16214 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16219 echo "cat >conf$$subs.awk <<_ACEOF" &&
16220 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16222 } >conf$$subs.sh ||
16223 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16224 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16226 for ac_last_try in false false false false false :; do
16227 . ./conf$$subs.sh ||
16228 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16230 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16231 if test $ac_delim_n = $ac_delim_num; then
16233 elif $ac_last_try; then
16234 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16236 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16239 rm -f conf$$subs.sh
16241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16242 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16246 s/^/S["/; s/!.*/"]=/
16256 s/\(.\{148\}\)..*/\1/
16258 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16263 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16270 s/\(.\{148\}\)..*/\1/
16272 s/["\\]/\\&/g; s/^/"/; s/$/"/
16276 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16281 ' <conf$$subs.awk | sed '
16286 ' >>$CONFIG_STATUS || ac_write_fail=1
16287 rm -f conf$$subs.awk
16288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16290 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16291 for (key in S) S_is_set[key] = 1
16297 nfields = split(line, field, "@")
16299 len = length(field[1])
16300 for (i = 2; i < nfields; i++) {
16302 keylen = length(key)
16303 if (S_is_set[key]) {
16305 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16306 len += length(value) + length(field[++i])
16317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16318 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16319 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16322 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16323 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16326 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16327 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16328 # trailing colons and then remove the whole line if VPATH becomes empty
16329 # (actually we leave an empty line to preserve line numbers).
16330 if test "x$srcdir" = x.; then
16331 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16350 fi # test -n "$CONFIG_FILES"
16352 # Set up the scripts for CONFIG_HEADERS section.
16353 # No need to generate them if there are no CONFIG_HEADERS.
16354 # This happens for instance with `./config.status Makefile'.
16355 if test -n "$CONFIG_HEADERS"; then
16356 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16360 # Transform confdefs.h into an awk script `defines.awk', embedded as
16361 # here-document in config.status, that substitutes the proper values into
16362 # config.h.in to produce config.h.
16364 # Create a delimiter string that does not exist in confdefs.h, to ease
16365 # handling of long lines.
16367 for ac_last_try in false false :; do
16368 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16369 if test -z "$ac_tt"; then
16371 elif $ac_last_try; then
16372 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16374 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16378 # For the awk script, D is an array of macro values keyed by name,
16379 # likewise P contains macro parameters if any. Preserve backslash
16380 # newline sequences.
16382 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16384 s/.\{148\}/&'"$ac_delim"'/g
16387 s/^[ ]*#[ ]*define[ ][ ]*/ /
16394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16396 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16400 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16401 D["\1"]=" \3\\\\\\n"\\/p
16403 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16408 s/.\{148\}/&'"$ac_delim"'/g
16413 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16416 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16418 ' <confdefs.h | sed '
16419 s/'"$ac_delim"'/"\\\
16420 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16423 for (key in D) D_is_set[key] = 1
16426 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16428 split(line, arg, " ")
16429 if (arg[1] == "#") {
16433 defundef = substr(arg[1], 2)
16436 split(mac1, mac2, "(") #)
16438 prefix = substr(line, 1, index(line, defundef) - 1)
16439 if (D_is_set[macro]) {
16440 # Preserve the white space surrounding the "#".
16441 print prefix "define", macro P[macro] D[macro]
16444 # Replace #undef with comments. This is necessary, for example,
16445 # in the case of _POSIX_SOURCE, which is predefined and required
16446 # on some systems where configure will not decide to define it.
16447 if (defundef == "undef") {
16448 print "/*", prefix defundef, macro, "*/"
16456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16457 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16458 fi # test -n "$CONFIG_HEADERS"
16461 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16466 :[FHLC]) ac_mode=$ac_tag; continue;;
16468 case $ac_mode$ac_tag in
16470 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16471 :[FH]-) ac_tag=-:-;;
16472 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16489 -) ac_f="$ac_tmp/stdin";;
16490 *) # Look for the file first in the build tree, then in the source tree
16491 # (if the path is not absolute). The absolute path cannot be DOS-style,
16492 # because $ac_f cannot contain `:'.
16496 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16498 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16500 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16501 as_fn_append ac_file_inputs " '$ac_f'"
16504 # Let's still pretend it is `configure' which instantiates (i.e., don't
16505 # use $as_me), people would be surprised to read:
16506 # /* config.h. Generated by config.status. */
16507 configure_input='Generated from '`
16508 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16510 if test x"$ac_file" != x-; then
16511 configure_input="$ac_file. $configure_input"
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16513 $as_echo "$as_me: creating $ac_file" >&6;}
16515 # Neutralize special characters interpreted by sed in replacement strings.
16516 case $configure_input in #(
16517 *\&* | *\|* | *\\* )
16518 ac_sed_conf_input=`$as_echo "$configure_input" |
16519 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16520 *) ac_sed_conf_input=$configure_input;;
16524 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16525 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16530 ac_dir=`$as_dirname -- "$ac_file" ||
16531 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16532 X"$ac_file" : 'X\(//\)[^/]' \| \
16533 X"$ac_file" : 'X\(//\)$' \| \
16534 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16535 $as_echo X"$ac_file" |
16536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16540 /^X\(\/\/\)[^/].*/{
16553 as_dir="$ac_dir"; as_fn_mkdir_p
16557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16559 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16560 # A ".." for each directory in $ac_dir_suffix.
16561 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16562 case $ac_top_builddir_sub in
16563 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16564 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16567 ac_abs_top_builddir=$ac_pwd
16568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16569 # for backward compatibility:
16570 ac_top_builddir=$ac_top_build_prefix
16573 .) # We are building in place.
16575 ac_top_srcdir=$ac_top_builddir_sub
16576 ac_abs_top_srcdir=$ac_pwd ;;
16577 [\\/]* | ?:[\\/]* ) # Absolute name.
16578 ac_srcdir=$srcdir$ac_dir_suffix;
16579 ac_top_srcdir=$srcdir
16580 ac_abs_top_srcdir=$srcdir ;;
16581 *) # Relative name.
16582 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16583 ac_top_srcdir=$ac_top_build_prefix$srcdir
16584 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16596 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16597 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16599 ac_MKDIR_P=$MKDIR_P
16601 [\\/$]* | ?:[\\/]* ) ;;
16602 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16607 # If the template does not know about datarootdir, expand it.
16608 # FIXME: This hack should be removed a few years after 2.60.
16609 ac_datarootdir_hack=; ac_datarootdir_seen=
16620 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16621 *datarootdir*) ac_datarootdir_seen=yes;;
16622 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16624 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16627 ac_datarootdir_hack='
16628 s&@datadir@&$datadir&g
16629 s&@docdir@&$docdir&g
16630 s&@infodir@&$infodir&g
16631 s&@localedir@&$localedir&g
16632 s&@mandir@&$mandir&g
16633 s&\\\${datarootdir}&$datarootdir&g' ;;
16637 # Neutralize VPATH when `$srcdir' = `.'.
16638 # Shell code in configure.ac might set extrasub.
16639 # FIXME: do we really want to maintain this feature?
16640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16641 ac_sed_extra="$ac_vpsub
16644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16646 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16647 s|@configure_input@|$ac_sed_conf_input|;t t
16648 s&@top_builddir@&$ac_top_builddir_sub&;t t
16649 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16650 s&@srcdir@&$ac_srcdir&;t t
16651 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16652 s&@top_srcdir@&$ac_top_srcdir&;t t
16653 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16654 s&@builddir@&$ac_builddir&;t t
16655 s&@abs_builddir@&$ac_abs_builddir&;t t
16656 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16657 s&@INSTALL@&$ac_INSTALL&;t t
16658 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16659 $ac_datarootdir_hack
16661 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16662 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16664 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16665 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16666 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16667 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16669 which seems to be undefined. Please make sure it is defined" >&5
16670 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16671 which seems to be undefined. Please make sure it is defined" >&2;}
16673 rm -f "$ac_tmp/stdin"
16675 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16676 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16684 if test x"$ac_file" != x-; then
16686 $as_echo "/* $configure_input */" \
16687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16688 } >"$ac_tmp/config.h" \
16689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16690 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16692 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16695 mv "$ac_tmp/config.h" "$ac_file" \
16696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16699 $as_echo "/* $configure_input */" \
16700 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16701 || as_fn_error $? "could not create -" "$LINENO" 5
16703 # Compute "$ac_file"'s index in $config_headers.
16706 for _am_header in $config_headers :; do
16707 case $_am_header in
16708 $_am_arg | $_am_arg:* )
16711 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16714 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16715 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16716 X"$_am_arg" : 'X\(//\)[^/]' \| \
16717 X"$_am_arg" : 'X\(//\)$' \| \
16718 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16719 $as_echo X"$_am_arg" |
16720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16724 /^X\(\/\/\)[^/].*/{
16736 s/.*/./; q'`/stamp-h$_am_stamp_count
16739 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16740 $as_echo "$as_me: executing $ac_file commands" >&6;}
16745 case $ac_file$ac_mode in
16746 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16747 # Older Autoconf quotes --file arguments for eval, but not when files
16748 # are listed without --file. Let's play safe and only enable the eval
16749 # if we detect the quoting.
16750 case $CONFIG_FILES in
16751 *\'*) eval set x "$CONFIG_FILES" ;;
16752 *) set x $CONFIG_FILES ;;
16757 # Strip MF so we end up with the name of the file.
16758 mf=`echo "$mf" | sed -e 's/:.*$//'`
16759 # Check whether this is an Automake generated Makefile or not.
16760 # We used to match only the files named 'Makefile.in', but
16761 # some people rename them; so instead we look at the file content.
16762 # Grep'ing the first line is not enough: some people post-process
16763 # each Makefile.in and add a new line on top of each file to say so.
16764 # Grep'ing the whole file is not good either: AIX grep has a line
16765 # limit of 2048, but all sed's we know have understand at least 4000.
16766 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16767 dirpart=`$as_dirname -- "$mf" ||
16768 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16769 X"$mf" : 'X\(//\)[^/]' \| \
16770 X"$mf" : 'X\(//\)$' \| \
16771 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16777 /^X\(\/\/\)[^/].*/{
16793 # Extract the definition of DEPDIR, am__include, and am__quote
16794 # from the Makefile without running 'make'.
16795 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16796 test -z "$DEPDIR" && continue
16797 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16798 test -z "$am__include" && continue
16799 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16800 # Find all dependency output files, they are included files with
16801 # $(DEPDIR) in their names. We invoke sed twice because it is the
16802 # simplest approach to changing $(DEPDIR) to its actual value in the
16804 for file in `sed -n "
16805 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16806 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16807 # Make sure the directory exists.
16808 test -f "$dirpart/$file" && continue
16809 fdir=`$as_dirname -- "$file" ||
16810 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16811 X"$file" : 'X\(//\)[^/]' \| \
16812 X"$file" : 'X\(//\)$' \| \
16813 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16814 $as_echo X"$file" |
16815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16819 /^X\(\/\/\)[^/].*/{
16832 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16833 # echo "creating $dirpart/$file"
16834 echo '# dummy' > "$dirpart/$file"
16841 # See if we are running on zsh, and set the options which allow our
16842 # commands through without removal of \ escapes.
16843 if test -n "${ZSH_VERSION+set}" ; then
16844 setopt NO_GLOB_SUBST
16847 cfgfile="${ofile}T"
16848 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16851 cat <<_LT_EOF >> "$cfgfile"
16854 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16855 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16856 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16857 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16859 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16860 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16861 # Written by Gordon Matzigkeit, 1996
16863 # This file is part of GNU Libtool.
16865 # GNU Libtool is free software; you can redistribute it and/or
16866 # modify it under the terms of the GNU General Public License as
16867 # published by the Free Software Foundation; either version 2 of
16868 # the License, or (at your option) any later version.
16870 # As a special exception to the GNU General Public License,
16871 # if you distribute this file as part of a program or library that
16872 # is built using GNU Libtool, you may include this file under the
16873 # same distribution terms that you use for the rest of that program.
16875 # GNU Libtool is distributed in the hope that it will be useful,
16876 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16877 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16878 # GNU General Public License for more details.
16880 # You should have received a copy of the GNU General Public License
16881 # along with GNU Libtool; see the file COPYING. If not, a copy
16882 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16883 # obtained by writing to the Free Software Foundation, Inc.,
16884 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16887 # The names of the tagged configurations supported by this script.
16890 # ### BEGIN LIBTOOL CONFIG
16892 # Which release of libtool.m4 was used?
16893 macro_version=$macro_version
16894 macro_revision=$macro_revision
16896 # Whether or not to build shared libraries.
16897 build_libtool_libs=$enable_shared
16899 # Whether or not to build static libraries.
16900 build_old_libs=$enable_static
16902 # What type of objects to build.
16905 # Whether or not to optimize for fast installation.
16906 fast_install=$enable_fast_install
16908 # Shell to use when invoking shell scripts.
16911 # An echo program that protects backslashes.
16915 host_alias=$host_alias
16919 # The build system.
16920 build_alias=$build_alias
16924 # A sed program that does not truncate output.
16927 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16928 Xsed="\$SED -e 1s/^X//"
16930 # A grep program that handles long lines.
16936 # A literal string matcher.
16939 # A BSD- or MS-compatible name lister.
16942 # Whether we need soft or hard links.
16945 # What is the maximum length of a command?
16946 max_cmd_len=$max_cmd_len
16948 # Object file suffix (normally "o").
16951 # Executable file suffix (normally "").
16954 # whether the shell understands "unset".
16957 # turn spaces into newlines.
16960 # turn newlines into spaces.
16963 # An object symbol dumper.
16964 OBJDUMP=$lt_OBJDUMP
16966 # Method to check whether dependent libraries are shared objects.
16967 deplibs_check_method=$lt_deplibs_check_method
16969 # Command to use when deplibs_check_method == "file_magic".
16970 file_magic_cmd=$lt_file_magic_cmd
16974 AR_FLAGS=$lt_AR_FLAGS
16976 # A symbol stripping program.
16979 # Commands used to install an old-style archive.
16981 old_postinstall_cmds=$lt_old_postinstall_cmds
16982 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16984 # Whether to use a lock for old archive extraction.
16985 lock_old_archive_extraction=$lock_old_archive_extraction
16990 # LTCC compiler flags.
16991 LTCFLAGS=$lt_CFLAGS
16993 # Take the output of nm and produce a listing of raw symbols and C names.
16994 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16996 # Transform the output of nm in a proper C declaration.
16997 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16999 # Transform the output of nm in a C name address pair.
17000 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17002 # Transform the output of nm in a C name address pair when lib prefix is needed.
17003 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17005 # The name of the directory that contains temporary libtool files.
17008 # Used to examine libraries when file_magic_cmd begins with "file".
17009 MAGIC_CMD=$MAGIC_CMD
17011 # Must we lock files when doing compilation?
17012 need_locks=$lt_need_locks
17014 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17015 DSYMUTIL=$lt_DSYMUTIL
17017 # Tool to change global to local symbols on Mac OS X.
17020 # Tool to manipulate fat objects and archives on Mac OS X.
17023 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17026 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17027 OTOOL64=$lt_OTOOL64
17029 # Old archive suffix (normally "a").
17032 # Shared library suffix (normally ".so").
17033 shrext_cmds=$lt_shrext_cmds
17035 # The commands to extract the exported symbol list from a shared archive.
17036 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17038 # Variables whose values should be saved in libtool wrapper scripts and
17039 # restored at link time.
17040 variables_saved_for_relink=$lt_variables_saved_for_relink
17042 # Do we need the "lib" prefix for modules?
17043 need_lib_prefix=$need_lib_prefix
17045 # Do we need a version for libraries?
17046 need_version=$need_version
17048 # Library versioning type.
17049 version_type=$version_type
17051 # Shared library runtime path variable.
17052 runpath_var=$runpath_var
17054 # Shared library path variable.
17055 shlibpath_var=$shlibpath_var
17057 # Is shlibpath searched before the hard-coded library search path?
17058 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17060 # Format of library name prefix.
17061 libname_spec=$lt_libname_spec
17063 # List of archive names. First name is the real one, the rest are links.
17064 # The last name is the one that the linker finds with -lNAME
17065 library_names_spec=$lt_library_names_spec
17067 # The coded name of the library, if different from the real name.
17068 soname_spec=$lt_soname_spec
17070 # Permission mode override for installation of shared libraries.
17071 install_override_mode=$lt_install_override_mode
17073 # Command to use after installation of a shared archive.
17074 postinstall_cmds=$lt_postinstall_cmds
17076 # Command to use after uninstallation of a shared archive.
17077 postuninstall_cmds=$lt_postuninstall_cmds
17079 # Commands used to finish a libtool library installation in a directory.
17080 finish_cmds=$lt_finish_cmds
17082 # As "finish_cmds", except a single script fragment to be evaled but
17084 finish_eval=$lt_finish_eval
17086 # Whether we should hardcode library paths into libraries.
17087 hardcode_into_libs=$hardcode_into_libs
17089 # Compile-time system search path for libraries.
17090 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17092 # Run-time system search path for libraries.
17093 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17095 # Whether dlopen is supported.
17096 dlopen_support=$enable_dlopen
17098 # Whether dlopen of programs is supported.
17099 dlopen_self=$enable_dlopen_self
17101 # Whether dlopen of statically linked programs is supported.
17102 dlopen_self_static=$enable_dlopen_self_static
17104 # Commands to strip libraries.
17105 old_striplib=$lt_old_striplib
17106 striplib=$lt_striplib
17109 # The linker used to build libraries.
17112 # How to create reloadable object files.
17113 reload_flag=$lt_reload_flag
17114 reload_cmds=$lt_reload_cmds
17116 # Commands used to build an old-style archive.
17117 old_archive_cmds=$lt_old_archive_cmds
17119 # A language specific compiler.
17122 # Is the compiler the GNU compiler?
17125 # Compiler flag to turn off builtin functions.
17126 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17128 # How to pass a linker flag through the compiler.
17129 wl=$lt_lt_prog_compiler_wl
17131 # Additional compiler flags for building library objects.
17132 pic_flag=$lt_lt_prog_compiler_pic
17134 # Compiler flag to prevent dynamic linking.
17135 link_static_flag=$lt_lt_prog_compiler_static
17137 # Does compiler simultaneously support -c and -o options?
17138 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17140 # Whether or not to add -lc for building shared libraries.
17141 build_libtool_need_lc=$archive_cmds_need_lc
17143 # Whether or not to disallow shared libs when runtime libs are static.
17144 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17146 # Compiler flag to allow reflexive dlopens.
17147 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17149 # Compiler flag to generate shared objects directly from archives.
17150 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17152 # Whether the compiler copes with passing no objects directly.
17153 compiler_needs_object=$lt_compiler_needs_object
17155 # Create an old-style archive from a shared archive.
17156 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17158 # Create a temporary old-style archive to link instead of a shared archive.
17159 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17161 # Commands used to build a shared archive.
17162 archive_cmds=$lt_archive_cmds
17163 archive_expsym_cmds=$lt_archive_expsym_cmds
17165 # Commands used to build a loadable module if different from building
17166 # a shared archive.
17167 module_cmds=$lt_module_cmds
17168 module_expsym_cmds=$lt_module_expsym_cmds
17170 # Whether we are building with GNU ld or not.
17171 with_gnu_ld=$lt_with_gnu_ld
17173 # Flag that allows shared libraries with undefined symbols to be built.
17174 allow_undefined_flag=$lt_allow_undefined_flag
17176 # Flag that enforces no undefined symbols.
17177 no_undefined_flag=$lt_no_undefined_flag
17179 # Flag to hardcode \$libdir into a binary during linking.
17180 # This must work even if \$libdir does not exist
17181 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17183 # If ld is used when linking, flag to hardcode \$libdir into a binary
17184 # during linking. This must work even if \$libdir does not exist.
17185 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17187 # Whether we need a single "-rpath" flag with a separated argument.
17188 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17190 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17191 # DIR into the resulting binary.
17192 hardcode_direct=$hardcode_direct
17194 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17195 # DIR into the resulting binary and the resulting library dependency is
17196 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17197 # library is relocated.
17198 hardcode_direct_absolute=$hardcode_direct_absolute
17200 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17201 # into the resulting binary.
17202 hardcode_minus_L=$hardcode_minus_L
17204 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17205 # into the resulting binary.
17206 hardcode_shlibpath_var=$hardcode_shlibpath_var
17208 # Set to "yes" if building a shared library automatically hardcodes DIR
17209 # into the library and all subsequent libraries and executables linked
17211 hardcode_automatic=$hardcode_automatic
17213 # Set to yes if linker adds runtime paths of dependent libraries
17214 # to runtime path list.
17215 inherit_rpath=$inherit_rpath
17217 # Whether libtool must link a program against all its dependency libraries.
17218 link_all_deplibs=$link_all_deplibs
17220 # Fix the shell variable \$srcfile for the compiler.
17221 fix_srcfile_path=$lt_fix_srcfile_path
17223 # Set to "yes" if exported symbols are required.
17224 always_export_symbols=$always_export_symbols
17226 # The commands to list exported symbols.
17227 export_symbols_cmds=$lt_export_symbols_cmds
17229 # Symbols that should not be listed in the preloaded symbols.
17230 exclude_expsyms=$lt_exclude_expsyms
17232 # Symbols that must always be exported.
17233 include_expsyms=$lt_include_expsyms
17235 # Commands necessary for linking programs (against libraries) with templates.
17236 prelink_cmds=$lt_prelink_cmds
17238 # Specify filename containing input files.
17239 file_list_spec=$lt_file_list_spec
17241 # How to hardcode a shared library path into an executable.
17242 hardcode_action=$hardcode_action
17244 # ### END LIBTOOL CONFIG
17250 cat <<\_LT_EOF >> "$cfgfile"
17251 # AIX sometimes has problems with the GCC collect2 program. For some
17252 # reason, if we set the COLLECT_NAMES environment variable, the problems
17253 # vanish in a puff of smoke.
17254 if test "X${COLLECT_NAMES+set}" != Xset; then
17256 export COLLECT_NAMES
17263 ltmain="$ac_aux_dir/ltmain.sh"
17266 # We use sed instead of cat because bash on DJGPP gets confused if
17267 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17268 # text mode, it properly converts lines to CR/LF. This bash problem
17269 # is reportedly fixed, but why not run on old versions too?
17270 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17271 || (rm -f "$cfgfile"; exit 1)
17275 cat << \_LT_EOF >> "$cfgfile"
17277 # func_dirname file append nondir_replacement
17278 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17279 # otherwise set result to NONDIR_REPLACEMENT.
17283 */*) func_dirname_result="${1%/*}${2}" ;;
17284 * ) func_dirname_result="${3}" ;;
17288 # func_basename file
17291 func_basename_result="${1##*/}"
17294 # func_dirname_and_basename file append nondir_replacement
17295 # perform func_basename and func_dirname in a single function
17297 # dirname: Compute the dirname of FILE. If nonempty,
17298 # add APPEND to the result, otherwise set result
17299 # to NONDIR_REPLACEMENT.
17300 # value returned in "$func_dirname_result"
17301 # basename: Compute filename of FILE.
17302 # value retuned in "$func_basename_result"
17303 # Implementation must be kept synchronized with func_dirname
17304 # and func_basename. For efficiency, we do not delegate to
17305 # those functions but instead duplicate the functionality here.
17306 func_dirname_and_basename ()
17309 */*) func_dirname_result="${1%/*}${2}" ;;
17310 * ) func_dirname_result="${3}" ;;
17312 func_basename_result="${1##*/}"
17315 # func_stripname prefix suffix name
17316 # strip PREFIX and SUFFIX off of NAME.
17317 # PREFIX and SUFFIX must not contain globbing or regex special
17318 # characters, hashes, percent signs, but SUFFIX may contain a leading
17319 # dot (in which case that matches only a dot).
17322 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17323 # positional parameters, so assign one to ordinary parameter first.
17324 func_stripname_result=${3}
17325 func_stripname_result=${func_stripname_result#"${1}"}
17326 func_stripname_result=${func_stripname_result%"${2}"}
17332 func_opt_split_opt=${1%%=*}
17333 func_opt_split_arg=${1#*=}
17340 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17341 *) func_lo2o_result=${1} ;;
17345 # func_xform libobj-or-source
17348 func_xform_result=${1%.*}.lo
17351 # func_arith arithmetic-term...
17354 func_arith_result=$(( $* ))
17358 # STRING may not start with a hyphen.
17361 func_len_result=${#1}
17366 *) # Bourne compatible functions.
17367 cat << \_LT_EOF >> "$cfgfile"
17369 # func_dirname file append nondir_replacement
17370 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17371 # otherwise set result to NONDIR_REPLACEMENT.
17374 # Extract subdirectory from the argument.
17375 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
17376 if test "X$func_dirname_result" = "X${1}"; then
17377 func_dirname_result="${3}"
17379 func_dirname_result="$func_dirname_result${2}"
17383 # func_basename file
17386 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
17390 # func_stripname prefix suffix name
17391 # strip PREFIX and SUFFIX off of NAME.
17392 # PREFIX and SUFFIX must not contain globbing or regex special
17393 # characters, hashes, percent signs, but SUFFIX may contain a leading
17394 # dot (in which case that matches only a dot).
17395 # func_strip_suffix prefix name
17399 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17400 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17405 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17406 my_sed_long_arg='1s/^-[^=]*=//'
17411 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17412 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17418 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
17421 # func_xform libobj-or-source
17424 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17427 # func_arith arithmetic-term...
17430 func_arith_result=`expr "$@"`
17434 # STRING may not start with a hyphen.
17437 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17443 case $lt_shell_append in
17445 cat << \_LT_EOF >> "$cfgfile"
17447 # func_append var value
17448 # Append VALUE to the end of shell variable VAR.
17456 cat << \_LT_EOF >> "$cfgfile"
17458 # func_append var value
17459 # Append VALUE to the end of shell variable VAR.
17470 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17471 || (rm -f "$cfgfile"; exit 1)
17473 mv -f "$cfgfile" "$ofile" ||
17474 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17479 for ac_file in $CONFIG_FILES; do
17480 # Support "outfile[:infile[:infile...]]"
17482 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17484 # PO directories have a Makefile.in generated from Makefile.in.in.
17485 case "$ac_file" in */Makefile.in)
17486 # Adjust a relative srcdir.
17487 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17488 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
17489 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17490 # In autoconf-2.13 it is called $ac_given_srcdir.
17491 # In autoconf-2.50 it is called $srcdir.
17492 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
17493 case "$ac_given_srcdir" in
17494 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
17495 /*) top_srcdir="$ac_given_srcdir" ;;
17496 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
17498 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17499 rm -f "$ac_dir/POTFILES"
17500 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
17501 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17502 POMAKEFILEDEPS="POTFILES.in"
17503 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17504 # on $ac_dir but don't depend on user-specified configuration
17506 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17507 # The LINGUAS file contains the set of available languages.
17508 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17509 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
17511 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17512 # Hide the ALL_LINGUAS assigment from automake.
17513 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17514 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
17516 # The set of available languages was given in configure.ac.
17517 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17519 case "$ac_given_srcdir" in
17521 *) srcdirpre='$(srcdir)/' ;;
17527 for lang in $ALL_LINGUAS; do
17528 POFILES="$POFILES $srcdirpre$lang.po"
17529 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
17530 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
17531 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
17533 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17534 # environment variable.
17536 if test -n "$ALL_LINGUAS"; then
17537 for presentlang in $ALL_LINGUAS; do
17539 if test "%UNSET%" != "$LINGUAS"; then
17540 desiredlanguages="$LINGUAS"
17542 desiredlanguages="$ALL_LINGUAS"
17544 for desiredlang in $desiredlanguages; do
17545 # Use the presentlang catalog if desiredlang is
17546 # a. equal to presentlang, or
17547 # b. a variant of presentlang (because in this case,
17548 # presentlang can be used as a fallback for messages
17549 # which are not translated in the desiredlang catalog).
17550 case "$desiredlang" in
17551 "$presentlang"*) useit=yes;;
17554 if test $useit = yes; then
17555 INST_LINGUAS="$INST_LINGUAS $presentlang"
17560 if test -n "$INST_LINGUAS"; then
17561 for lang in $INST_LINGUAS; do
17562 CATALOGS="$CATALOGS $lang.gmo"
17565 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
17566 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"
17567 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17568 if test -f "$f"; then
17570 *.orig | *.bak | *~) ;;
17571 *) cat "$f" >> "$ac_dir/Makefile" ;;
17579 "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
17580 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
17581 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
17582 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
17583 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
17584 if test "x$cgen_cpu_prefix" != x ; then
17585 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
17594 ac_clean_files=$ac_clean_files_save
17596 test $ac_write_fail = 0 ||
17597 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17600 # configure is writing to config.log, and then calls config.status.
17601 # config.status does its own redirection, appending to config.log.
17602 # Unfortunately, on DOS this fails, as config.log is still kept open
17603 # by configure, so config.status won't be able to write to it; its
17604 # output is simply discarded. So we exec the FD to /dev/null,
17605 # effectively closing config.log, so it can be properly (re)opened and
17606 # appended to by config.status. When coming back to configure, we
17607 # need to make the FD available again.
17608 if test "$no_create" != yes; then
17610 ac_config_status_args=
17611 test "$silent" = yes &&
17612 ac_config_status_args="$ac_config_status_args --quiet"
17614 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17616 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17617 # would make configure fail if this is the last instruction.
17618 $ac_cs_success || as_fn_exit 1
17620 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17622 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}