2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for opcodes 2.26.51.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='opcodes'
558 PACKAGE_TARNAME
='opcodes'
559 PACKAGE_VERSION
='2.26.51'
560 PACKAGE_STRING
='opcodes 2.26.51'
564 ac_unique_file
="z8k-dis.c"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
641 MAINTAINER_MODE_FALSE
643 NO_WMISSING_FIELD_INITIALIZERS
683 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
758 enable_dependency_tracking
767 enable_build_warnings
768 enable_maintainer_mode
769 enable_install_libbfd
773 ac_precious_vars
='build_alias
784 # Initialize some variables set by options.
786 ac_init_version
=false
787 ac_unrecognized_opts
=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name
=s
,x
,x
,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir
='${exec_prefix}/bin'
813 sbindir
='${exec_prefix}/sbin'
814 libexecdir
='${exec_prefix}/libexec'
815 datarootdir
='${prefix}/share'
816 datadir
='${datarootdir}'
817 sysconfdir
='${prefix}/etc'
818 sharedstatedir
='${prefix}/com'
819 localstatedir
='${prefix}/var'
820 includedir
='${prefix}/include'
821 oldincludedir
='/usr/include'
822 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir
='${datarootdir}/info'
828 libdir
='${exec_prefix}/lib'
829 localedir
='${datarootdir}/locale'
830 mandir
='${datarootdir}/man'
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\
$ac_option
844 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848 # Accept the important Cygnus configure options, so we can diagnose typos.
850 case $ac_dashdash$ac_option in
854 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
856 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
859 -build |
--build |
--buil |
--bui |
--bu)
860 ac_prev
=build_alias
;;
861 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
862 build_alias
=$ac_optarg ;;
864 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
865 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
866 ac_prev
=cache_file
;;
867 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
868 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
869 cache_file
=$ac_optarg ;;
872 cache_file
=config.cache
;;
874 -datadir |
--datadir |
--datadi |
--datad)
876 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
877 datadir
=$ac_optarg ;;
879 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
880 |
--dataroo |
--dataro |
--datar)
881 ac_prev
=datarootdir
;;
882 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
883 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
884 datarootdir
=$ac_optarg ;;
886 -disable-* |
--disable-*)
887 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
890 as_fn_error
"invalid feature name: $ac_useropt"
891 ac_useropt_orig
=$ac_useropt
892 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898 ac_unrecognized_sep
=', ';;
900 eval enable_
$ac_useropt=no
;;
902 -docdir |
--docdir |
--docdi |
--doc |
--do)
904 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
907 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
909 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
912 -enable-* |
--enable-*)
913 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
916 as_fn_error
"invalid feature name: $ac_useropt"
917 ac_useropt_orig
=$ac_useropt
918 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
924 ac_unrecognized_sep
=', ';;
926 eval enable_
$ac_useropt=\
$ac_optarg ;;
928 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
929 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
930 |
--exec |
--exe |
--ex)
931 ac_prev
=exec_prefix
;;
932 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
933 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
934 |
--exec=* |
--exe=* |
--ex=*)
935 exec_prefix
=$ac_optarg ;;
937 -gas |
--gas |
--ga |
--g)
938 # Obsolete; use --with-gas.
941 -help |
--help |
--hel |
--he |
-h)
943 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
944 ac_init_help
=recursive
;;
945 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
946 ac_init_help
=short
;;
948 -host |
--host |
--hos |
--ho)
949 ac_prev
=host_alias
;;
950 -host=* |
--host=* |
--hos=* |
--ho=*)
951 host_alias
=$ac_optarg ;;
953 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
955 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
957 htmldir
=$ac_optarg ;;
959 -includedir |
--includedir |
--includedi |
--included |
--include \
960 |
--includ |
--inclu |
--incl |
--inc)
961 ac_prev
=includedir
;;
962 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
963 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
964 includedir
=$ac_optarg ;;
966 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
968 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
969 infodir
=$ac_optarg ;;
971 -libdir |
--libdir |
--libdi |
--libd)
973 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
976 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
977 |
--libexe |
--libex |
--libe)
978 ac_prev
=libexecdir
;;
979 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
980 |
--libexe=* |
--libex=* |
--libe=*)
981 libexecdir
=$ac_optarg ;;
983 -localedir |
--localedir |
--localedi |
--localed |
--locale)
985 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
986 localedir
=$ac_optarg ;;
988 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
989 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
990 ac_prev
=localstatedir
;;
991 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
992 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
993 localstatedir
=$ac_optarg ;;
995 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
997 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 -nfp |
--nfp |
--nf)
1001 # Obsolete; use --without-fp.
1004 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1005 |
--no-cr |
--no-c |
-n)
1008 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1009 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1012 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1013 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1014 |
--oldin |
--oldi |
--old |
--ol |
--o)
1015 ac_prev
=oldincludedir
;;
1016 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1017 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1018 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1019 oldincludedir
=$ac_optarg ;;
1021 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1023 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1024 prefix
=$ac_optarg ;;
1026 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1027 |
--program-pre |
--program-pr |
--program-p)
1028 ac_prev
=program_prefix
;;
1029 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1030 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1031 program_prefix
=$ac_optarg ;;
1033 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1034 |
--program-suf |
--program-su |
--program-s)
1035 ac_prev
=program_suffix
;;
1036 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1037 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1038 program_suffix
=$ac_optarg ;;
1040 -program-transform-name |
--program-transform-name \
1041 |
--program-transform-nam |
--program-transform-na \
1042 |
--program-transform-n |
--program-transform- \
1043 |
--program-transform |
--program-transfor \
1044 |
--program-transfo |
--program-transf \
1045 |
--program-trans |
--program-tran \
1046 |
--progr-tra |
--program-tr |
--program-t)
1047 ac_prev
=program_transform_name
;;
1048 -program-transform-name=* |
--program-transform-name=* \
1049 |
--program-transform-nam=* |
--program-transform-na=* \
1050 |
--program-transform-n=* |
--program-transform-=* \
1051 |
--program-transform=* |
--program-transfor=* \
1052 |
--program-transfo=* |
--program-transf=* \
1053 |
--program-trans=* |
--program-tran=* \
1054 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1055 program_transform_name
=$ac_optarg ;;
1057 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1059 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1060 pdfdir
=$ac_optarg ;;
1062 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1064 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1067 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1068 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1073 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1075 sbindir
=$ac_optarg ;;
1077 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1078 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1079 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1081 ac_prev
=sharedstatedir
;;
1082 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1083 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1084 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1086 sharedstatedir
=$ac_optarg ;;
1088 -site |
--site |
--sit)
1090 -site=* |
--site=* |
--sit=*)
1093 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1095 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1096 srcdir
=$ac_optarg ;;
1098 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1099 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1100 ac_prev
=sysconfdir
;;
1101 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1102 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1103 sysconfdir
=$ac_optarg ;;
1105 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1106 ac_prev
=target_alias
;;
1107 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1108 target_alias
=$ac_optarg ;;
1110 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1113 -version |
--version |
--versio |
--versi |
--vers |
-V)
1114 ac_init_version
=: ;;
1117 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1120 as_fn_error
"invalid package name: $ac_useropt"
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=\
$ac_optarg ;;
1132 -without-* |
--without-*)
1133 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1136 as_fn_error
"invalid package name: $ac_useropt"
1137 ac_useropt_orig
=$ac_useropt
1138 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1143 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144 ac_unrecognized_sep
=', ';;
1146 eval with_
$ac_useropt=no
;;
1149 # Obsolete; use --with-x.
1152 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1153 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1154 ac_prev
=x_includes
;;
1155 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1156 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1157 x_includes
=$ac_optarg ;;
1159 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1160 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1161 ac_prev
=x_libraries
;;
1162 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1163 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1164 x_libraries
=$ac_optarg ;;
1166 -*) as_fn_error
"unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information."
1171 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1172 # Reject names that are not valid shell variable names.
1173 case $ac_envvar in #(
1174 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1175 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1177 eval $ac_envvar=\
$ac_optarg
1178 export $ac_envvar ;;
1181 # FIXME: should be removed in autoconf 3.0.
1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1191 if test -n "$ac_prev"; then
1192 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1193 as_fn_error
"missing argument to $ac_option"
1196 if test -n "$ac_unrecognized_opts"; then
1197 case $enable_option_checking in
1199 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204 # Check all directory arguments for consistency.
1205 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir
1210 eval ac_val
=\$
$ac_var
1211 # Remove trailing slashes.
1214 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215 eval $ac_var=\
$ac_val;;
1217 # Be sure to have absolute directory names.
1219 [\\/$
]* | ?
:[\\/]* ) continue;;
1220 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1222 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1230 target
=$target_alias
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x
; then
1234 if test "x$build_alias" = x
; then
1235 cross_compiling
=maybe
1236 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1237 If a cross compiler is detected then cross compile mode will be used." >&2
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1246 test "$silent" = yes && exec 6>/dev
/null
1249 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di
=`ls -di .` &&
1251 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error
"working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error
"pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted
=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir
=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted
=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1293 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var
in $ac_precious_vars; do
1310 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1312 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures opcodes 2.26.51 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/opcodes]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1386 --build=BUILD configure
for building on BUILD
[guessed
]
1387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1388 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1392 if test -n "$ac_init_help"; then
1393 case $ac_init_help in
1394 short | recursive
) echo "Configuration of opcodes 2.26.51:";;
1399 --disable-option-checking ignore unrecognized
--enable/--with options
1400 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1401 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1402 --disable-dependency-tracking speeds up one-time build
1403 --enable-dependency-tracking do not reject slow dependency extractors
1404 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1405 --enable-static[=PKGS
] build static libraries
[default
=yes]
1406 --enable-fast-install[=PKGS
]
1407 optimize
for fast installation
[default
=yes]
1408 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1409 --enable-targets alternative target configurations
1410 --enable-werror treat compile warnings as errors
1411 --enable-build-warnings enable build-time compiler warnings
1412 --enable-maintainer-mode enable make rules and dependencies not useful
1413 (and sometimes confusing
) to the casual installer
1414 --enable-install-libbfd controls installation of libbfd and related headers
1415 --disable-nls do not use Native Language Support
1416 --enable-cgen-maint=dir build cgen generated files
1419 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1420 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1421 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1423 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1425 Some influential environment variables
:
1426 CC C compiler
command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1429 nonstandard directory
<lib dir
>
1430 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1431 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1432 you have headers
in a nonstandard directory
<include dir
>
1435 Use these variables to override the choices made by
`configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1438 Report bugs to the package provider.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1468 .) # We are building in place.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1501 opcodes configure 2.26.51
1502 generated by GNU Autoconf 2.64
1504 Copyright (C) 2009 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1531 if test -s conftest.err
; then
1532 grep -v '^ *+' conftest.err
>conftest.er1
1533 cat conftest.er1
>&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.
$ac_objext; then :
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.
$ac_ext >&5
1548 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1551 } # ac_fn_c_try_compile
1553 # ac_fn_c_try_link LINENO
1554 # -----------------------
1555 # Try to link conftest.$ac_ext, and return whether this succeeded.
1558 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1559 rm -f conftest.
$ac_objext conftest
$ac_exeext
1560 if { { ac_try
="$ac_link"
1562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_link") 2>conftest.err
1569 if test -s conftest.err; then
1570 grep -v '^ *+' conftest.err >conftest.er1
1571 cat conftest.er1 >&5
1572 mv -f conftest.er1 conftest.err
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } && {
1576 test -z "$ac_c_werror_flag" ||
1577 test ! -s conftest.err
1578 } && test -s conftest$ac_exeext && {
1579 test "$cross_compiling" = yes ||
1580 $as_test_x conftest$ac_exeext
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1589 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1590 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1591 # interfere with the next link command; also delete a directory that is
1592 # left behind by Apple's compiler. We do this before executing the actions.
1593 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1594 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1597 } # ac_fn_c_try_link
1599 # ac_fn_c_try_cpp LINENO
1600 # ----------------------
1601 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 if { { ac_try="$ac_cpp conftest.$ac_ext"
1607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1608 *) ac_try_echo
=$ac_try;;
1610 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1614 if test -s conftest.err
; then
1615 grep -v '^ *+' conftest.err
>conftest.er1
1616 cat conftest.er1
>&5
1617 mv -f conftest.er1 conftest.err
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; } >/dev
/null
&& {
1621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1622 test ! -s conftest.err
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.
$ac_ext >&5
1631 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1636 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1637 # -------------------------------------------------------
1638 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1639 # the include files in INCLUDES and setting the cache variable VAR
1641 ac_fn_c_check_header_mongrel
()
1643 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1644 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646 $as_echo_n "checking for $2... " >&6; }
1647 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1648 $as_echo_n "(cached) " >&6
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1654 # Is the header compilable?
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1656 $as_echo_n "checking $2 usability... " >&6; }
1657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1662 if ac_fn_c_try_compile
"$LINENO"; then :
1663 ac_header_compiler
=yes
1665 ac_header_compiler
=no
1667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1669 $as_echo "$ac_header_compiler" >&6; }
1671 # Is the header present?
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1673 $as_echo_n "checking $2 presence... " >&6; }
1674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1678 if ac_fn_c_try_cpp
"$LINENO"; then :
1679 ac_header_preproc
=yes
1681 ac_header_preproc
=no
1683 rm -f conftest.err conftest.
$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1685 $as_echo "$ac_header_preproc" >&6; }
1687 # So? What about this header?
1688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1691 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1693 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1697 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1699 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1701 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1703 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1705 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1711 $as_echo_n "(cached) " >&6
1713 eval "$3=\$ac_header_compiler"
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1721 } # ac_fn_c_check_header_mongrel
1723 # ac_fn_c_try_run LINENO
1724 # ----------------------
1725 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1726 # that executables *can* be run.
1729 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1730 if { { ac_try
="$ac_link"
1732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_link") 2>&5
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1741 { { case "(($ac_try" in
1742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1743 *) ac_try_echo
=$ac_try;;
1745 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_try") 2>&5
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; }; }; then :
1753 $as_echo "$as_me: program exited with status $ac_status" >&5
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.
$ac_ext >&5
1757 ac_retval
=$ac_status
1759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1766 # -------------------------------------------------------
1767 # Tests whether HEADER exists and can be compiled using the include files in
1768 # INCLUDES, setting the cache variable VAR accordingly.
1769 ac_fn_c_check_header_compile
()
1771 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1775 $as_echo_n "(cached) " >&6
1777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1782 if ac_fn_c_try_compile
"$LINENO"; then :
1787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1794 } # ac_fn_c_check_header_compile
1796 # ac_fn_c_check_func LINENO FUNC VAR
1797 # ----------------------------------
1798 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1799 ac_fn_c_check_func
()
1801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1805 $as_echo_n "(cached) " >&6
1807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1809 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1811 #define $2 innocuous_$2
1813 /* System header to define __stub macros and hopefully few prototypes,
1814 which can conflict with char $2 (); below.
1815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1816 <limits.h> exists even on freestanding compilers. */
1819 # include <limits.h>
1821 # include <assert.h>
1826 /* Override any GCC internal prototype to avoid an error.
1827 Use char because int might match the return type of a GCC
1828 builtin and then its argument prototype would still apply. */
1833 /* The GNU C library defines this for functions which it implements
1834 to always fail with ENOSYS. Some functions are actually named
1835 something starting with __ and the normal name is an alias. */
1836 #if defined __stub_$2 || defined __stub___$2
1848 if ac_fn_c_try_link
"$LINENO"; then :
1853 rm -f core conftest.err conftest.
$ac_objext \
1854 conftest
$ac_exeext conftest.
$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1861 } # ac_fn_c_check_func
1863 # ac_fn_c_check_decl LINENO SYMBOL VAR
1864 # ------------------------------------
1865 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1866 ac_fn_c_check_decl
()
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1870 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1872 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1873 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1874 $as_echo_n "(cached) " >&6
1876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1882 #ifndef $as_decl_name
1884 (void) $as_decl_use;
1886 (void) $as_decl_name;
1894 if ac_fn_c_try_compile
"$LINENO"; then :
1899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1906 } # ac_fn_c_check_decl
1907 cat >config.log
<<_ACEOF
1908 This file contains any messages produced by compilers while
1909 running configure, to aid debugging if configure makes a mistake.
1911 It was created by opcodes $as_me 2.26.51, which was
1912 generated by GNU Autoconf 2.64. Invocation command line was
1924 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1925 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1926 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1927 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1928 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1930 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1931 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1933 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1934 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1935 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1936 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1937 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1938 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1939 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir
=.
1948 $as_echo "PATH: $as_dir"
1964 # Keep a trace of the command line.
1965 # Strip out --no-create and --no-recursion so they do not pile up.
1966 # Strip out --silent because we don't want to record it for future runs.
1967 # Also quote any args containing shell meta-characters.
1968 # Make two passes to allow for proper duplicate-argument suppression.
1972 ac_must_keep_next
=false
1978 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1979 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1980 |
-silent |
--silent |
--silen |
--sile |
--sil)
1983 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1986 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1988 as_fn_append ac_configure_args1
" '$ac_arg'"
1989 if test $ac_must_keep_next = true
; then
1990 ac_must_keep_next
=false
# Got value, back to normal.
1993 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1994 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1995 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1996 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1997 case "$ac_configure_args0 " in
1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2001 -* ) ac_must_keep_next
=true
;;
2004 as_fn_append ac_configure_args
" '$ac_arg'"
2009 { ac_configure_args0
=; unset ac_configure_args0
;}
2010 { ac_configure_args1
=; unset ac_configure_args1
;}
2012 # When interrupted or exit'd, cleanup temporary files, and complete
2013 # config.log. We remove comments because anyway the quotes in there
2014 # would cause problems or look ugly.
2015 # WARNING: Use '\'' to represent an apostrophe within the trap.
2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2017 trap 'exit_status=$?
2018 # Save into config.log some information that might help in debugging.
2023 ## ---------------- ##
2024 ## Cache variables. ##
2025 ## ---------------- ##
2028 # The following way of writing the cache mishandles newlines in values,
2030 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2031 eval ac_val=\$$ac_var
2035 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2036 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2039 _ | IFS | as_nl) ;; #(
2040 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2041 *) { eval $ac_var=; unset $ac_var;} ;;
2046 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2047 *${as_nl}ac_space=\ *)
2049 "s/'\''/'\''\\\\'\'''\''/g;
2050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2053 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2061 ## ----------------- ##
2062 ## Output variables. ##
2063 ## ----------------- ##
2066 for ac_var in $ac_subst_vars
2068 eval ac_val=\$$ac_var
2070 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2072 $as_echo "$ac_var='\''$ac_val'\''"
2076 if test -n "$ac_subst_files"; then
2078 ## ------------------- ##
2079 ## File substitutions. ##
2080 ## ------------------- ##
2083 for ac_var
in $ac_subst_files
2085 eval ac_val
=\$
$ac_var
2087 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2089 $as_echo "$ac_var='\''$ac_val'\''"
2094 if test -s confdefs.h; then
2104 test "$ac_signal" != 0 &&
2105 $as_echo "$as_me: caught signal $ac_signal"
2106 $as_echo "$as_me: exit $exit_status"
2108 rm -f core *.core core.conftest.* &&
2109 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2112 for ac_signal
in 1 2 13 15; do
2113 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2117 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2118 rm -f -r conftest
* confdefs.h
2120 $as_echo "/* confdefs.h */" > confdefs.h
2122 # Predefined preprocessor variables.
2124 cat >>confdefs.h
<<_ACEOF
2125 #define PACKAGE_NAME "$PACKAGE_NAME"
2128 cat >>confdefs.h
<<_ACEOF
2129 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2132 cat >>confdefs.h
<<_ACEOF
2133 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2136 cat >>confdefs.h
<<_ACEOF
2137 #define PACKAGE_STRING "$PACKAGE_STRING"
2140 cat >>confdefs.h
<<_ACEOF
2141 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2144 cat >>confdefs.h
<<_ACEOF
2145 #define PACKAGE_URL "$PACKAGE_URL"
2149 # Let the site file select an alternate cache file if it wants to.
2150 # Prefer an explicitly selected file to automatically selected ones.
2153 if test -n "$CONFIG_SITE"; then
2154 ac_site_file1
=$CONFIG_SITE
2155 elif test "x$prefix" != xNONE
; then
2156 ac_site_file1
=$prefix/share
/config.site
2157 ac_site_file2
=$prefix/etc
/config.site
2159 ac_site_file1
=$ac_default_prefix/share
/config.site
2160 ac_site_file2
=$ac_default_prefix/etc
/config.site
2162 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2164 test "x$ac_site_file" = xNONE
&& continue
2165 if test -r "$ac_site_file"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2167 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2168 sed 's/^/| /' "$ac_site_file" >&5
2173 if test -r "$cache_file"; then
2174 # Some versions of bash will fail to source /dev/null (special
2175 # files actually), so we avoid doing that.
2176 if test -f "$cache_file"; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2178 $as_echo "$as_me: loading cache $cache_file" >&6;}
2180 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2181 *) .
"./$cache_file";;
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2186 $as_echo "$as_me: creating cache $cache_file" >&6;}
2190 # Check that the precious variables saved in the cache have kept the same
2192 ac_cache_corrupted
=false
2193 for ac_var
in $ac_precious_vars; do
2194 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2195 eval ac_new_set
=\
$ac_env_${ac_var}_set
2196 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2197 eval ac_new_val
=\
$ac_env_${ac_var}_value
2198 case $ac_old_set,$ac_new_set in
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2201 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2202 ac_cache_corrupted
=: ;;
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2205 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2206 ac_cache_corrupted
=: ;;
2209 if test "x$ac_old_val" != "x$ac_new_val"; then
2210 # differences in whitespace do not lead to failure.
2211 ac_old_val_w
=`echo x $ac_old_val`
2212 ac_new_val_w
=`echo x $ac_new_val`
2213 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2215 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2216 ac_cache_corrupted
=:
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2219 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2220 eval $ac_var=\
$ac_old_val
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2223 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2225 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2228 # Pass precious variables to config.status.
2229 if test "$ac_new_set" = set; then
2231 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2232 *) ac_arg
=$ac_var=$ac_new_val ;;
2234 case " $ac_configure_args " in
2235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2236 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2240 if $ac_cache_corrupted; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2244 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2245 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2247 ## -------------------- ##
2248 ## Main body of script. ##
2249 ## -------------------- ##
2252 ac_cpp
='$CPP $CPPFLAGS'
2253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2264 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2265 for ac_t
in install-sh
install.sh shtool
; do
2266 if test -f "$ac_dir/$ac_t"; then
2268 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2273 if test -z "$ac_aux_dir"; then
2274 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2277 # These three variables are undocumented and unsupported,
2278 # and are intended to be withdrawn in a future Autoconf release.
2279 # They can cause serious problems if a builder's source tree is in a directory
2280 # whose full name contains unusual characters.
2281 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2282 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2283 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2286 # Make sure we can run config.sub.
2287 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2288 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2291 $as_echo_n "checking build system type... " >&6; }
2292 if test "${ac_cv_build+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 ac_build_alias
=$build_alias
2296 test "x$ac_build_alias" = x
&&
2297 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2298 test "x$ac_build_alias" = x
&&
2299 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2300 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2301 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2305 $as_echo "$ac_cv_build" >&6; }
2306 case $ac_cv_build in
2308 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2311 ac_save_IFS
=$IFS; IFS
='-'
2317 # Remember, the first character of IFS is used to create $*,
2318 # except with old shells:
2321 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2325 $as_echo_n "checking host system type... " >&6; }
2326 if test "${ac_cv_host+set}" = set; then :
2327 $as_echo_n "(cached) " >&6
2329 if test "x$host_alias" = x
; then
2330 ac_cv_host
=$ac_cv_build
2332 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2333 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2338 $as_echo "$ac_cv_host" >&6; }
2341 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2344 ac_save_IFS
=$IFS; IFS
='-'
2350 # Remember, the first character of IFS is used to create $*,
2351 # except with old shells:
2354 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2358 $as_echo_n "checking target system type... " >&6; }
2359 if test "${ac_cv_target+set}" = set; then :
2360 $as_echo_n "(cached) " >&6
2362 if test "x$target_alias" = x
; then
2363 ac_cv_target
=$ac_cv_host
2365 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2366 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2371 $as_echo "$ac_cv_target" >&6; }
2372 case $ac_cv_target in
2374 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2376 target
=$ac_cv_target
2377 ac_save_IFS
=$IFS; IFS
='-'
2383 # Remember, the first character of IFS is used to create $*,
2384 # except with old shells:
2387 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2390 # The aliases save the names the user supplied, while $host etc.
2391 # will get canonicalized.
2392 test -n "$target_alias" &&
2393 test "$program_prefix$program_suffix$program_transform_name" = \
2395 program_prefix
=${target_alias}-
2397 ac_cpp
='$CPP $CPPFLAGS'
2398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2401 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2403 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2405 $as_echo_n "checking for $ac_word... " >&6; }
2406 if test "${ac_cv_prog_CC+set}" = set; then :
2407 $as_echo_n "(cached) " >&6
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC
="$CC" # Let the user override the test.
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2419 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 if test -n "$CC"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2432 $as_echo "$CC" >&6; }
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2440 if test -z "$ac_cv_prog_CC"; then
2442 # Extract the first word of "gcc", so it can be a program name with args.
2443 set dummy gcc
; ac_word
=$2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445 $as_echo_n "checking for $ac_word... " >&6; }
2446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2447 $as_echo_n "(cached) " >&6
2449 if test -n "$ac_ct_CC"; then
2450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459 ac_cv_prog_ac_ct_CC
="gcc"
2460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2470 if test -n "$ac_ct_CC"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2472 $as_echo "$ac_ct_CC" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2478 if test "x$ac_ct_CC" = x
; then
2481 case $cross_compiling:$ac_tool_warned in
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2485 ac_tool_warned
=yes ;;
2493 if test -z "$CC"; then
2494 if test -n "$ac_tool_prefix"; then
2495 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2496 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2498 $as_echo_n "checking for $ac_word... " >&6; }
2499 if test "${ac_cv_prog_CC+set}" = set; then :
2500 $as_echo_n "(cached) " >&6
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC
="$CC" # Let the user override the test.
2505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir
=.
2510 for ac_exec_ext
in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 if test -n "$CC"; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2525 $as_echo "$CC" >&6; }
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2534 if test -z "$CC"; then
2535 # Extract the first word of "cc", so it can be a program name with args.
2536 set dummy cc
; ac_word
=$2
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2538 $as_echo_n "checking for $ac_word... " >&6; }
2539 if test "${ac_cv_prog_CC+set}" = set; then :
2540 $as_echo_n "(cached) " >&6
2542 if test -n "$CC"; then
2543 ac_cv_prog_CC
="$CC" # Let the user override the test.
2546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir
=.
2551 for ac_exec_ext
in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2554 ac_prog_rejected
=yes
2558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 if test $ac_prog_rejected = yes; then
2566 # We found a bogon in the path, so make sure we never use it.
2567 set dummy
$ac_cv_prog_CC
2569 if test $# != 0; then
2570 # We chose a different compiler from the bogus one.
2571 # However, it has the same basename, so the bogon will be chosen
2572 # first if we set CC to just the basename; use the full file name.
2574 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2580 if test -n "$CC"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2582 $as_echo "$CC" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2590 if test -z "$CC"; then
2591 if test -n "$ac_tool_prefix"; then
2592 for ac_prog
in cl.exe
2594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2595 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if test "${ac_cv_prog_CC+set}" = set; then :
2599 $as_echo_n "(cached) " >&6
2601 if test -n "$CC"; then
2602 ac_cv_prog_CC
="$CC" # Let the user override the test.
2604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir
=.
2609 for ac_exec_ext
in '' $ac_executable_extensions; do
2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 if test -n "$CC"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2624 $as_echo "$CC" >&6; }
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2631 test -n "$CC" && break
2634 if test -z "$CC"; then
2636 for ac_prog
in cl.exe
2638 # Extract the first word of "$ac_prog", so it can be a program name with args.
2639 set dummy
$ac_prog; ac_word
=$2
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2643 $as_echo_n "(cached) " >&6
2645 if test -n "$ac_ct_CC"; then
2646 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir
=.
2653 for ac_exec_ext
in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_ac_ct_CC
="$ac_prog"
2656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2666 if test -n "$ac_ct_CC"; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2668 $as_echo "$ac_ct_CC" >&6; }
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671 $as_echo "no" >&6; }
2675 test -n "$ac_ct_CC" && break
2678 if test "x$ac_ct_CC" = x
; then
2681 case $cross_compiling:$ac_tool_warned in
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2685 ac_tool_warned
=yes ;;
2694 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2696 as_fn_error
"no acceptable C compiler found in \$PATH
2697 See \`config.log' for more details." "$LINENO" 5; }
2699 # Provide some information about the compiler.
2700 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2703 for ac_option
in --version -v -V -qversion; do
2704 { { ac_try
="$ac_compiler $ac_option >&5"
2706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710 $as_echo "$ac_try_echo"; } >&5
2711 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2713 if test -s conftest.err; then
2715 ... rest of stderr output deleted ...
2716 10q' conftest.err >conftest.er1
2717 cat conftest.er1 >&5
2718 rm -f conftest.er1 conftest.err
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; }
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2735 ac_clean_files_save=$ac_clean_files
2736 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2737 # Try to create an executable without -o first, disregard a.out.
2738 # It will help us diagnose broken compilers, and finding out an intuition
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2741 $as_echo_n "checking for C compiler default output file name... " >&6; }
2742 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2744 # The possible output files:
2745 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2748 for ac_file in $ac_files
2751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2752 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2757 if { { ac_try="$ac_link_default"
2759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2760 *) ac_try_echo
=$ac_try;;
2762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_link_default") 2>&5
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; then :
2768 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2769 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2770 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2771 # so that the user can short-circuit this test for compilers unknown to
2773 for ac_file
in $ac_files ''
2775 test -f "$ac_file" ||
continue
2777 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2780 # We found the default executable, but exeext='' is most
2784 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2786 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2788 # We set ac_cv_exeext here because the later test for it is not
2789 # safe: cross compilers may not add the suffix if given an `-o'
2790 # argument, so we may need to know it at that point already.
2791 # Even if this section looks crufty: it has the advantage of
2798 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2804 $as_echo "$ac_file" >&6; }
2805 if test -z "$ac_file"; then :
2806 $as_echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.
$ac_ext >&5
2809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2811 { as_fn_set_status
77
2812 as_fn_error
"C compiler cannot create executables
2813 See \`config.log' for more details." "$LINENO" 5; }; }
2815 ac_exeext
=$ac_cv_exeext
2817 # Check that the compiler produces executables we can run. If not, either
2818 # the compiler is broken, or we cross compile.
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2820 $as_echo_n "checking whether the C compiler works... " >&6; }
2821 # If not cross compiling, check that we can run a simple program.
2822 if test "$cross_compiling" != yes; then
2823 if { ac_try
='./$ac_file'
2824 { { case "(($ac_try" in
2825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2829 $as_echo "$ac_try_echo"; } >&5
2830 (eval "$ac_try") 2>&5
2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833 test $ac_status = 0; }; }; then
2836 if test "$cross_compiling" = maybe; then
2839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2841 as_fn_error "cannot run C compiled programs.
2842 If you meant to cross compile
, use \
`--host'.
2843 See \`config.log
' for more details." "$LINENO" 5; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2848 $as_echo "yes" >&6; }
2850 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2851 ac_clean_files=$ac_clean_files_save
2852 # Check that the compiler produces executables we can run. If not, either
2853 # the compiler is broken, or we cross compile.
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2855 $as_echo_n "checking whether we are cross compiling... " >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2857 $as_echo "$cross_compiling" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2860 $as_echo_n "checking for suffix of executables... " >&6; }
2861 if { { ac_try="$ac_link"
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 $as_echo "$ac_try_echo"; } >&5
2868 (eval "$ac_link") 2>&5
2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2871 test $ac_status = 0; }; then :
2872 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2873 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2874 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2876 for ac_file
in conftest.exe conftest conftest.
*; do
2877 test -f "$ac_file" ||
continue
2879 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2880 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2888 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2889 See \`config.log' for more details." "$LINENO" 5; }
2891 rm -f conftest
$ac_cv_exeext
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2893 $as_echo "$ac_cv_exeext" >&6; }
2895 rm -f conftest.
$ac_ext
2896 EXEEXT
=$ac_cv_exeext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2899 $as_echo_n "checking for suffix of object files... " >&6; }
2900 if test "${ac_cv_objext+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2914 rm -f conftest.o conftest.obj
2915 if { { ac_try
="$ac_compile"
2917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_compile") 2>&5
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; }; then :
2926 for ac_file in conftest.o conftest.obj conftest.*; do
2927 test -f "$ac_file" || continue;
2929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2930 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940 as_fn_error "cannot compute suffix of object files
: cannot compile
2941 See \
`config.log' for more details." "$LINENO" 5; }
2943 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2946 $as_echo "$ac_cv_objext" >&6; }
2947 OBJEXT=$ac_cv_objext
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2950 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2951 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2952 $as_echo_n "(cached) " >&6
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2968 if ac_fn_c_try_compile "$LINENO"; then :
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2978 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2979 if test $ac_compiler_gnu = yes; then
2984 ac_test_CFLAGS=${CFLAGS+set}
2985 ac_save_CFLAGS=$CFLAGS
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2987 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2988 if test "${ac_cv_prog_cc_g+set}" = set; then :
2989 $as_echo_n "(cached) " >&6
2991 ac_save_c_werror_flag=$ac_c_werror_flag
2992 ac_c_werror_flag=yes
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
3006 if ac_fn_c_try_compile "$LINENO"; then :
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3021 if ac_fn_c_try_compile "$LINENO"; then :
3024 ac_c_werror_flag=$ac_save_c_werror_flag
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3037 if ac_fn_c_try_compile "$LINENO"; then :
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 ac_c_werror_flag=$ac_save_c_werror_flag
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3048 $as_echo "$ac_cv_prog_cc_g" >&6; }
3049 if test "$ac_test_CFLAGS" = set; then
3050 CFLAGS=$ac_save_CFLAGS
3051 elif test $ac_cv_prog_cc_g = yes; then
3052 if test "$GCC" = yes; then
3058 if test "$GCC" = yes; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3065 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3066 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3067 $as_echo_n "(cached) " >&6
3069 ac_cv_prog_cc_c89=no
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3075 #include <sys/types.h>
3076 #include <sys/stat.h>
3077 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3078 struct buf { int x; };
3079 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3080 static char *e (p, i)
3086 static char *f (char * (*g) (char **, int), char **p, ...)
3091 s = g (p, va_arg (v,int));
3096 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3097 function prototypes and stuff, but not '\xHH' hex character constants.
3098 These don't provoke an error unfortunately, instead are silently treated
3099 as 'x'. The following induces an error, until -std is added to get
3100 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3101 array size at least. It's necessary to write '\x00'==0 to get something
3102 that's true only with -std. */
3103 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3105 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3106 inside strings and character constants. */
3108 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3110 int test (int i, double x);
3111 struct s1 {int (*f) (int a);};
3112 struct s2 {int (*f) (double a);};
3113 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3119 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3124 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3125 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3127 CC="$ac_save_CC $ac_arg"
3128 if ac_fn_c_try_compile "$LINENO"; then :
3129 ac_cv_prog_cc_c89=$ac_arg
3131 rm -f core conftest.err conftest.$ac_objext
3132 test "x$ac_cv_prog_cc_c89" != "xno" && break
3134 rm -f conftest.$ac_ext
3139 case "x$ac_cv_prog_cc_c89" in
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3142 $as_echo "none needed" >&6; } ;;
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3145 $as_echo "unsupported" >&6; } ;;
3147 CC="$CC $ac_cv_prog_cc_c89"
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3149 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3151 if test "x$ac_cv_prog_cc_c89" != xno; then :
3156 ac_cpp='$CPP $CPPFLAGS'
3157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3163 $as_echo_n "checking for library containing strerror... " >&6; }
3164 if test "${ac_cv_search_strerror+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 ac_func_search_save_LIBS=$LIBS
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3171 /* Override any GCC internal prototype to avoid an error.
3172 Use char because int might match the return type of a GCC
3173 builtin and then its argument prototype would still apply. */
3186 for ac_lib in '' cposix; do
3187 if test -z "$ac_lib"; then
3188 ac_res="none required"
3191 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3193 if ac_fn_c_try_link "$LINENO"; then :
3194 ac_cv_search_strerror=$ac_res
3196 rm -f core conftest.err conftest.$ac_objext \
3198 if test "${ac_cv_search_strerror+set}" = set; then :
3202 if test "${ac_cv_search_strerror+set}" = set; then :
3205 ac_cv_search_strerror=no
3208 LIBS=$ac_func_search_save_LIBS
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3211 $as_echo "$ac_cv_search_strerror" >&6; }
3212 ac_res=$ac_cv_search_strerror
3213 if test "$ac_res" != no; then :
3214 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3219 am__api_version='1.11'
3221 # Find a good install program. We prefer a C program (faster),
3222 # so one script is as good as another. But avoid the broken or
3223 # incompatible versions:
3224 # SysV /etc/install, /usr/sbin/install
3225 # SunOS /usr/etc/install
3226 # IRIX /sbin/install
3228 # AmigaOS /C/install, which installs bootblocks on floppy discs
3229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3232 # OS/2's system install, which has a completely different semantic
3233 # ./install, which can be erroneously created by make from ./install.sh.
3234 # Reject install programs that cannot install multiple files.
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3236 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3237 if test -z "$INSTALL"; then
3238 if test "${ac_cv_path_install+set}" = set; then :
3239 $as_echo_n "(cached) " >&6
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir=.
3246 # Account for people who put trailing slashes in PATH elements.
3247 case $as_dir/ in #((
3248 ./ | .// | /[cC]/* | \
3249 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3250 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3253 # OSF1 and SCO ODT 3.0 have their own names for install.
3254 # Don't use installbsd from OSF since it installs stuff as root
3256 for ac_prog in ginstall scoinst install; do
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3259 if test $ac_prog = install &&
3260 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3261 # AIX install. It has an incompatible calling convention.
3263 elif test $ac_prog = install &&
3264 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3265 # program-specific install script used by HP pwplus--don't use.
3268 rm -rf conftest.one conftest.two conftest.dir
3269 echo one > conftest.one
3270 echo two > conftest.two
3272 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3273 test -s conftest.one && test -s conftest.two &&
3274 test -s conftest.dir/conftest.one &&
3275 test -s conftest.dir/conftest.two
3277 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3290 rm -rf conftest.one conftest.two conftest.dir
3293 if test "${ac_cv_path_install+set}" = set; then
3294 INSTALL=$ac_cv_path_install
3296 # As a last resort, use the slow shell script. Don't cache a
3297 # value for INSTALL within a source directory, because that will
3298 # break other packages using the cache if that directory is
3299 # removed, or if the value is a relative name.
3300 INSTALL=$ac_install_sh
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3304 $as_echo "$INSTALL" >&6; }
3306 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3307 # It thinks the first close brace ends the variable substitution.
3308 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3315 $as_echo_n "checking whether build environment is sane... " >&6; }
3318 echo timestamp > conftest.file
3319 # Reject unsafe characters in $srcdir or the absolute working directory
3320 # name. Accept space and tab only in the latter.
3324 *[\\\"\#\$\&\'\`$am_lf]*)
3325 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3328 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3329 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3332 # Do `set' in a subshell so we don't clobber the current shell's
3333 # arguments. Must try -L first in case configure is actually a
3334 # symlink; some systems play weird games with the mod time of symlinks
3335 # (eg FreeBSD returns the mod time of the symlink's containing
3338 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3339 if test "$*" = "X"; then
3341 set X
`ls -t "$srcdir/configure" conftest.file`
3344 if test "$*" != "X $srcdir/configure conftest.file" \
3345 && test "$*" != "X conftest.file $srcdir/configure"; then
3347 # If neither matched, then we have a broken ls. This can happen
3348 # if, for instance, CONFIG_SHELL is bash and it inherits a
3349 # broken ls alias from the environment. This has actually
3350 # happened. Such a system could not be considered "sane".
3351 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3352 alias in your environment" "$LINENO" 5
3355 test "$2" = conftest.
file
3361 as_fn_error
"newly created file is older than distributed files!
3362 Check your system clock" "$LINENO" 5
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3365 $as_echo "yes" >&6; }
3366 test "$program_prefix" != NONE
&&
3367 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3368 # Use a double $ so make ignores it.
3369 test "$program_suffix" != NONE
&&
3370 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3371 # Double any \ or $.
3372 # By default was `s,x,x', remove it if useless.
3373 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3374 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3376 # expand $ac_aux_dir to an absolute path
3377 am_aux_dir
=`cd $ac_aux_dir && pwd`
3379 if test x
"${MISSING+set}" != xset
; then
3382 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3384 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3387 # Use eval to expand $SHELL
3388 if eval "$MISSING --run true"; then
3389 am_missing_run
="$MISSING --run "
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3393 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3396 if test x
"${install_sh}" != xset
; then
3399 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3401 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3405 # Installed binaries are usually stripped using `strip' when the user
3406 # run `make install-strip'. However `strip' might not be the right
3407 # tool to use in cross-compilation environments, therefore Automake
3408 # will honor the `STRIP' environment variable to overrule this program.
3409 if test "$cross_compiling" != no
; then
3410 if test -n "$ac_tool_prefix"; then
3411 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3412 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if test "${ac_cv_prog_STRIP+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$STRIP"; then
3419 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir
=.
3426 for ac_exec_ext
in '' $ac_executable_extensions; do
3427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3428 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 STRIP
=$ac_cv_prog_STRIP
3439 if test -n "$STRIP"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3441 $as_echo "$STRIP" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3449 if test -z "$ac_cv_prog_STRIP"; then
3451 # Extract the first word of "strip", so it can be a program name with args.
3452 set dummy strip
; ac_word
=$2
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3454 $as_echo_n "checking for $ac_word... " >&6; }
3455 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3456 $as_echo_n "(cached) " >&6
3458 if test -n "$ac_ct_STRIP"; then
3459 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir
=.
3466 for ac_exec_ext
in '' $ac_executable_extensions; do
3467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3468 ac_cv_prog_ac_ct_STRIP
="strip"
3469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3479 if test -n "$ac_ct_STRIP"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3481 $as_echo "$ac_ct_STRIP" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3487 if test "x$ac_ct_STRIP" = x
; then
3490 case $cross_compiling:$ac_tool_warned in
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3494 ac_tool_warned
=yes ;;
3499 STRIP
="$ac_cv_prog_STRIP"
3503 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3506 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3507 if test -z "$MKDIR_P"; then
3508 if test "${ac_cv_path_mkdir+set}" = set; then :
3509 $as_echo_n "(cached) " >&6
3511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3512 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3515 test -z "$as_dir" && as_dir
=.
3516 for ac_prog
in mkdir gmkdir
; do
3517 for ac_exec_ext
in '' $ac_executable_extensions; do
3518 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3519 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3520 'mkdir (GNU coreutils) '* | \
3521 'mkdir (coreutils) '* | \
3522 'mkdir (fileutils) '4.1*)
3523 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3533 if test "${ac_cv_path_mkdir+set}" = set; then
3534 MKDIR_P
="$ac_cv_path_mkdir -p"
3536 # As a last resort, use the slow shell script. Don't cache a
3537 # value for MKDIR_P within a source directory, because that will
3538 # break other packages using the cache if that directory is
3539 # removed, or if the value is a relative name.
3540 test -d .
/--version && rmdir .
/--version
3541 MKDIR_P
="$ac_install_sh -d"
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3545 $as_echo "$MKDIR_P" >&6; }
3549 [\\/$
]* | ?
:[\\/]*) ;;
3550 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3553 for ac_prog
in gawk mawk nawk
awk
3555 # Extract the first word of "$ac_prog", so it can be a program name with args.
3556 set dummy
$ac_prog; ac_word
=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if test "${ac_cv_prog_AWK+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$AWK"; then
3563 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_exec_ext
in '' $ac_executable_extensions; do
3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572 ac_cv_prog_AWK
="$ac_prog"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 if test -n "$AWK"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3585 $as_echo "$AWK" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3592 test -n "$AWK" && break
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3596 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3598 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3599 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3600 $as_echo_n "(cached) " >&6
3602 cat >conftest.
make <<\_ACEOF
3605 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3607 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3610 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3612 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3616 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3618 $as_echo "yes" >&6; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622 $as_echo "no" >&6; }
3623 SET_MAKE
="MAKE=${MAKE-make}"
3626 rm -rf .tst
2>/dev
/null
3627 mkdir .tst
2>/dev
/null
3628 if test -d .tst
; then
3633 rmdir .tst
2>/dev
/null
3635 DEPDIR
="${am__leading_dot}deps"
3637 ac_config_commands
="$ac_config_commands depfiles"
3640 am_make
=${MAKE-make}
3641 cat > confinc
<< 'END'
3643 @
echo this is the am__doit target
3646 # If we don't find an include directive, just comment out the code.
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3648 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3652 # First try GNU make style include.
3653 echo "include confinc" > confmf
3654 # Ignore all kinds of additional output from `make'.
3655 case `$am_make -s -f confmf 2> /dev/null` in #(
3656 *the\ am__doit\ target
*)
3662 # Now try BSD make style include.
3663 if test "$am__include" = "#"; then
3664 echo '.include "confinc"' > confmf
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target
*)
3667 am__include
=.include
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3676 $as_echo "$_am_result" >&6; }
3677 rm -f confinc confmf
3679 # Check whether --enable-dependency-tracking was given.
3680 if test "${enable_dependency_tracking+set}" = set; then :
3681 enableval
=$enable_dependency_tracking;
3684 if test "x$enable_dependency_tracking" != xno
; then
3685 am_depcomp
="$ac_aux_dir/depcomp"
3688 if test "x$enable_dependency_tracking" != xno; then
3697 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3698 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3699 # is not polluted with repeated "-I."
3700 am__isrc
=' -I$(srcdir)'
3701 # test to see if srcdir already configured
3702 if test -f $srcdir/config.status
; then
3703 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3707 # test whether we have cygpath
3708 if test -z "$CYGPATH_W"; then
3709 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3710 CYGPATH_W
='cygpath -w'
3717 # Define the identity of the package.
3722 cat >>confdefs.h
<<_ACEOF
3723 #define PACKAGE "$PACKAGE"
3727 cat >>confdefs.h
<<_ACEOF
3728 #define VERSION "$VERSION"
3731 # Some tools Automake needs.
3733 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3736 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3739 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3742 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3745 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3747 # We need awk for the "check" target. The system "awk" is bad on
3749 # Always define AMTAR for backward compatibility.
3751 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3753 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3758 depcc
="$CC" am_compiler_list
=
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3761 $as_echo_n "checking dependency style of $depcc... " >&6; }
3762 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3763 $as_echo_n "(cached) " >&6
3765 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3766 # We make a subdir and do the tests there. Otherwise we can end up
3767 # making bogus files that we don't know about and never remove. For
3768 # instance it was reported that on HP-UX the gcc test will end up
3769 # making a dummy file named `D' -- because `-MD' means `put the output
3772 # Copy depcomp to subdir because otherwise we won't find it if we're
3773 # using a relative directory.
3774 cp "$am_depcomp" conftest.dir
3776 # We will build objects and dependencies in a subdirectory because
3777 # it helps to detect inapplicable dependency modes. For instance
3778 # both Tru64's cc and ICC support -MD to output dependencies as a
3779 # side effect of compilation, but ICC will put the dependencies in
3780 # the current directory while Tru64 will put them in the object
3784 am_cv_CC_dependencies_compiler_type
=none
3785 if test "$am_compiler_list" = ""; then
3786 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3789 case " $depcc " in #(
3790 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3793 for depmode
in $am_compiler_list; do
3794 # Setup a source with many dependencies, because some compilers
3795 # like to wrap large dependency lists on column 80 (with \), and
3796 # we should not choose a depcomp mode which is confused by this.
3798 # We need to recreate these files for each test, as the compiler may
3799 # overwrite some of them when testing with obscure command lines.
3800 # This happens at least with the AIX C compiler.
3802 for i
in 1 2 3 4 5 6; do
3803 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3804 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3805 # Solaris 8's {/usr,}/bin/sh.
3806 touch sub
/conftst
$i.h
3808 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3810 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3811 # mode. It turns out that the SunPro C++ compiler does not properly
3812 # handle `-M -o', and we need to detect this. Also, some Intel
3813 # versions had trouble with output in subdirs
3814 am__obj
=sub
/conftest.
${OBJEXT-o}
3815 am__minus_obj
="-o $am__obj"
3818 # This depmode causes a compiler race in universal mode.
3819 test "$am__universal" = false ||
continue
3822 # after this tag, mechanisms are not by side-effect, so they'll
3823 # only be used when explicitly requested
3824 if test "x$enable_dependency_tracking" = xyes
; then
3830 msvisualcpp | msvcmsys
)
3831 # This compiler won't grok `-c -o', but also, the minuso test has
3832 # not run yet. These depmodes are late enough in the game, and
3833 # so weak that their functioning should not be impacted.
3834 am__obj
=conftest.
${OBJEXT-o}
3839 if depmode
=$depmode \
3840 source=sub
/conftest.c object
=$am__obj \
3841 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3842 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3843 >/dev
/null
2>conftest.err
&&
3844 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3845 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3846 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3847 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3848 # icc doesn't choke on unknown options, it will just issue warnings
3849 # or remarks (even with -Werror). So we grep stderr for any message
3850 # that says an option was ignored or not supported.
3851 # When given -MP, icc 7.0 and 7.1 complain thusly:
3852 # icc: Command line warning: ignoring option '-M'; no argument required
3853 # The diagnosis changed in icc 8.0:
3854 # icc: Command line remark: option '-MP' not supported
3855 if (grep 'ignoring option' conftest.err ||
3856 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3857 am_cv_CC_dependencies_compiler_type
=$depmode
3866 am_cv_CC_dependencies_compiler_type
=none
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3871 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3872 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3875 test "x$enable_dependency_tracking" != xno \
3876 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3878 am__fastdepCC_FALSE
='#'
3880 am__fastdepCC_TRUE
='#'
3881 am__fastdepCC_FALSE
=
3888 ac_cpp
='$CPP $CPPFLAGS'
3889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3892 if test -n "$ac_tool_prefix"; then
3893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3894 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if test "${ac_cv_prog_CC+set}" = set; then :
3898 $as_echo_n "(cached) " >&6
3900 if test -n "$CC"; then
3901 ac_cv_prog_CC
="$CC" # Let the user override the test.
3903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 test -z "$as_dir" && as_dir
=.
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3910 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 if test -n "$CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3923 $as_echo "$CC" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3931 if test -z "$ac_cv_prog_CC"; then
3933 # Extract the first word of "gcc", so it can be a program name with args.
3934 set dummy gcc
; ac_word
=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -n "$ac_ct_CC"; then
3941 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir
=.
3948 for ac_exec_ext
in '' $ac_executable_extensions; do
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950 ac_cv_prog_ac_ct_CC
="gcc"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3961 if test -n "$ac_ct_CC"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3963 $as_echo "$ac_ct_CC" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3969 if test "x$ac_ct_CC" = x
; then
3972 case $cross_compiling:$ac_tool_warned in
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3976 ac_tool_warned
=yes ;;
3984 if test -z "$CC"; then
3985 if test -n "$ac_tool_prefix"; then
3986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3987 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if test "${ac_cv_prog_CC+set}" = set; then :
3991 $as_echo_n "(cached) " >&6
3993 if test -n "$CC"; then
3994 ac_cv_prog_CC
="$CC" # Let the user override the test.
3996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir
=.
4001 for ac_exec_ext
in '' $ac_executable_extensions; do
4002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4003 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 if test -n "$CC"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4016 $as_echo "$CC" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4025 if test -z "$CC"; then
4026 # Extract the first word of "cc", so it can be a program name with args.
4027 set dummy cc
; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if test "${ac_cv_prog_CC+set}" = set; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC
="$CC" # Let the user override the test.
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_exec_ext
in '' $ac_executable_extensions; do
4043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4045 ac_prog_rejected
=yes
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 if test $ac_prog_rejected = yes; then
4057 # We found a bogon in the path, so make sure we never use it.
4058 set dummy
$ac_cv_prog_CC
4060 if test $# != 0; then
4061 # We chose a different compiler from the bogus one.
4062 # However, it has the same basename, so the bogon will be chosen
4063 # first if we set CC to just the basename; use the full file name.
4065 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4071 if test -n "$CC"; then
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4073 $as_echo "$CC" >&6; }
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4076 $as_echo "no" >&6; }
4081 if test -z "$CC"; then
4082 if test -n "$ac_tool_prefix"; then
4083 for ac_prog
in cl.exe
4085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4086 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if test "${ac_cv_prog_CC+set}" = set; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -n "$CC"; then
4093 ac_cv_prog_CC
="$CC" # Let the user override the test.
4095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4099 test -z "$as_dir" && as_dir
=.
4100 for ac_exec_ext
in '' $ac_executable_extensions; do
4101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4102 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113 if test -n "$CC"; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4115 $as_echo "$CC" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4122 test -n "$CC" && break
4125 if test -z "$CC"; then
4127 for ac_prog
in cl.exe
4129 # Extract the first word of "$ac_prog", so it can be a program name with args.
4130 set dummy
$ac_prog; ac_word
=$2
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4134 $as_echo_n "(cached) " >&6
4136 if test -n "$ac_ct_CC"; then
4137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4146 ac_cv_prog_ac_ct_CC
="$ac_prog"
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4157 if test -n "$ac_ct_CC"; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4159 $as_echo "$ac_ct_CC" >&6; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 $as_echo "no" >&6; }
4166 test -n "$ac_ct_CC" && break
4169 if test "x$ac_ct_CC" = x
; then
4172 case $cross_compiling:$ac_tool_warned in
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4176 ac_tool_warned
=yes ;;
4185 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4187 as_fn_error
"no acceptable C compiler found in \$PATH
4188 See \`config.log' for more details." "$LINENO" 5; }
4190 # Provide some information about the compiler.
4191 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4194 for ac_option
in --version -v -V -qversion; do
4195 { { ac_try
="$ac_compiler $ac_option >&5"
4197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4201 $as_echo "$ac_try_echo"; } >&5
4202 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4204 if test -s conftest.err; then
4206 ... rest of stderr output deleted ...
4207 10q' conftest.err >conftest.er1
4208 cat conftest.er1 >&5
4209 rm -f conftest.er1 conftest.err
4211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4212 test $ac_status = 0; }
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4217 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4234 if ac_fn_c_try_compile "$LINENO"; then :
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4245 if test $ac_compiler_gnu = yes; then
4250 ac_test_CFLAGS=${CFLAGS+set}
4251 ac_save_CFLAGS=$CFLAGS
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4254 if test "${ac_cv_prog_cc_g+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4257 ac_save_c_werror_flag=$ac_c_werror_flag
4258 ac_c_werror_flag=yes
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4272 if ac_fn_c_try_compile "$LINENO"; then :
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4287 if ac_fn_c_try_compile "$LINENO"; then :
4290 ac_c_werror_flag=$ac_save_c_werror_flag
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4303 if ac_fn_c_try_compile "$LINENO"; then :
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4311 ac_c_werror_flag=$ac_save_c_werror_flag
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4314 $as_echo "$ac_cv_prog_cc_g" >&6; }
4315 if test "$ac_test_CFLAGS" = set; then
4316 CFLAGS=$ac_save_CFLAGS
4317 elif test $ac_cv_prog_cc_g = yes; then
4318 if test "$GCC" = yes; then
4324 if test "$GCC" = yes; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4332 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4335 ac_cv_prog_cc_c89=no
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 #include <sys/types.h>
4342 #include <sys/stat.h>
4343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4344 struct buf { int x; };
4345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4346 static char *e (p, i)
4352 static char *f (char * (*g) (char **, int), char **p, ...)
4357 s = g (p, va_arg (v,int));
4362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4363 function prototypes and stuff, but not '\xHH' hex character constants.
4364 These don't provoke an error unfortunately, instead are silently treated
4365 as 'x'. The following induces an error, until -std is added to get
4366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4367 array size at least. It's necessary to write '\x00'==0 to get something
4368 that's true only with -std. */
4369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4372 inside strings and character constants. */
4374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4376 int test (int i, double x);
4377 struct s1 {int (*f) (int a);};
4378 struct s2 {int (*f) (double a);};
4379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4393 CC="$ac_save_CC $ac_arg"
4394 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_cv_prog_cc_c89=$ac_arg
4397 rm -f core conftest.err conftest.$ac_objext
4398 test "x$ac_cv_prog_cc_c89" != "xno" && break
4400 rm -f conftest.$ac_ext
4405 case "x$ac_cv_prog_cc_c89" in
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4408 $as_echo "none needed" >&6; } ;;
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4411 $as_echo "unsupported" >&6; } ;;
4413 CC="$CC $ac_cv_prog_cc_c89"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4417 if test "x$ac_cv_prog_cc_c89" != xno; then :
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4433 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4434 # On Suns, sometimes $CPP names a directory.
4435 if test -n "$CPP" && test -d "$CPP"; then
4438 if test -z "$CPP"; then
4439 if test "${ac_cv_prog_CPP+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4442 # Double quotes because CPP needs to be expanded
4443 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4446 for ac_c_preproc_warn_flag in '' yes
4448 # Use a header file that comes with gcc, so configuring glibc
4449 # with a fresh cross-compiler works.
4450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4451 # <limits.h> exists even on freestanding compilers.
4452 # On the NeXT, cc -E runs the code through the compiler's parser,
4453 # not just through cpp. "Syntax error" is here to catch this case.
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4457 # include <limits.h>
4459 # include <assert.h>
4463 if ac_fn_c_try_cpp "$LINENO"; then :
4466 # Broken: fails on valid input.
4469 rm -f conftest.err conftest.$ac_ext
4471 # OK, works on sane cases. Now check whether nonexistent headers
4472 # can be detected and how.
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475 #include <ac_nonexistent.h>
4477 if ac_fn_c_try_cpp "$LINENO"; then :
4478 # Broken: success on invalid input.
4481 # Passes both tests.
4485 rm -f conftest.err conftest.$ac_ext
4488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4489 rm -f conftest.err conftest.
$ac_ext
4490 if $ac_preproc_ok; then :
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4503 $as_echo "$CPP" >&6; }
4505 for ac_c_preproc_warn_flag
in '' yes
4507 # Use a header file that comes with gcc, so configuring glibc
4508 # with a fresh cross-compiler works.
4509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4510 # <limits.h> exists even on freestanding compilers.
4511 # On the NeXT, cc -E runs the code through the compiler's parser,
4512 # not just through cpp. "Syntax error" is here to catch this case.
4513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4516 # include <limits.h>
4518 # include <assert.h>
4522 if ac_fn_c_try_cpp
"$LINENO"; then :
4525 # Broken: fails on valid input.
4528 rm -f conftest.err conftest.
$ac_ext
4530 # OK, works on sane cases. Now check whether nonexistent headers
4531 # can be detected and how.
4532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4534 #include <ac_nonexistent.h>
4536 if ac_fn_c_try_cpp
"$LINENO"; then :
4537 # Broken: success on invalid input.
4540 # Passes both tests.
4544 rm -f conftest.err conftest.
$ac_ext
4547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4548 rm -f conftest.err conftest.
$ac_ext
4549 if $ac_preproc_ok; then :
4552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4554 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4555 See \`config.log' for more details." "$LINENO" 5; }
4559 ac_cpp
='$CPP $CPPFLAGS'
4560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4566 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4567 if test "${ac_cv_path_GREP+set}" = set; then :
4568 $as_echo_n "(cached) " >&6
4570 if test -z "$GREP"; then
4571 ac_path_GREP_found
=false
4572 # Loop through the user's path and test for each of PROGNAME-LIST
4573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4574 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4577 test -z "$as_dir" && as_dir
=.
4578 for ac_prog
in grep ggrep
; do
4579 for ac_exec_ext
in '' $ac_executable_extensions; do
4580 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4581 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4582 # Check for GNU ac_path_GREP and select it if it is found.
4583 # Check for GNU $ac_path_GREP
4584 case `"$ac_path_GREP" --version 2>&1` in
4586 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4589 $as_echo_n 0123456789 >"conftest.in"
4592 cat "conftest.in" "conftest.in" >"conftest.tmp"
4593 mv "conftest.tmp" "conftest.in"
4594 cp "conftest.in" "conftest.nl"
4595 $as_echo 'GREP' >> "conftest.nl"
4596 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4597 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4598 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4599 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4600 # Best one so far, save it but keep looking for a better one
4601 ac_cv_path_GREP
="$ac_path_GREP"
4602 ac_path_GREP_max
=$ac_count
4604 # 10*(2^10) chars as input seems more than enough
4605 test $ac_count -gt 10 && break
4607 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4610 $ac_path_GREP_found && break 3
4615 if test -z "$ac_cv_path_GREP"; then
4616 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4619 ac_cv_path_GREP
=$GREP
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4624 $as_echo "$ac_cv_path_GREP" >&6; }
4625 GREP
="$ac_cv_path_GREP"
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4629 $as_echo_n "checking for egrep... " >&6; }
4630 if test "${ac_cv_path_EGREP+set}" = set; then :
4631 $as_echo_n "(cached) " >&6
4633 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4634 then ac_cv_path_EGREP
="$GREP -E"
4636 if test -z "$EGREP"; then
4637 ac_path_EGREP_found
=false
4638 # Loop through the user's path and test for each of PROGNAME-LIST
4639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4640 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4643 test -z "$as_dir" && as_dir
=.
4644 for ac_prog
in egrep; do
4645 for ac_exec_ext
in '' $ac_executable_extensions; do
4646 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4647 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4648 # Check for GNU ac_path_EGREP and select it if it is found.
4649 # Check for GNU $ac_path_EGREP
4650 case `"$ac_path_EGREP" --version 2>&1` in
4652 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4655 $as_echo_n 0123456789 >"conftest.in"
4658 cat "conftest.in" "conftest.in" >"conftest.tmp"
4659 mv "conftest.tmp" "conftest.in"
4660 cp "conftest.in" "conftest.nl"
4661 $as_echo 'EGREP' >> "conftest.nl"
4662 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4663 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4664 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4665 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4666 # Best one so far, save it but keep looking for a better one
4667 ac_cv_path_EGREP
="$ac_path_EGREP"
4668 ac_path_EGREP_max
=$ac_count
4670 # 10*(2^10) chars as input seems more than enough
4671 test $ac_count -gt 10 && break
4673 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4676 $ac_path_EGREP_found && break 3
4681 if test -z "$ac_cv_path_EGREP"; then
4682 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4685 ac_cv_path_EGREP
=$EGREP
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4691 $as_echo "$ac_cv_path_EGREP" >&6; }
4692 EGREP
="$ac_cv_path_EGREP"
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4696 $as_echo_n "checking for ANSI C header files... " >&6; }
4697 if test "${ac_cv_header_stdc+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4715 if ac_fn_c_try_compile
"$LINENO"; then :
4716 ac_cv_header_stdc
=yes
4718 ac_cv_header_stdc
=no
4720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4722 if test $ac_cv_header_stdc = yes; then
4723 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4730 $EGREP "memchr" >/dev
/null
2>&1; then :
4733 ac_cv_header_stdc
=no
4739 if test $ac_cv_header_stdc = yes; then
4740 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4747 $EGREP "free" >/dev
/null
2>&1; then :
4750 ac_cv_header_stdc
=no
4756 if test $ac_cv_header_stdc = yes; then
4757 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4758 if test "$cross_compiling" = yes; then :
4761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4765 #if ((' ' & 0x0FF) == 0x020)
4766 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4767 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4769 # define ISLOWER(c) \
4770 (('a' <= (c) && (c) <= 'i') \
4771 || ('j' <= (c) && (c) <= 'r') \
4772 || ('s' <= (c) && (c) <= 'z'))
4773 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4776 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4781 for (i = 0; i < 256; i++)
4782 if (XOR (islower (i), ISLOWER (i))
4783 || toupper (i) != TOUPPER (i))
4788 if ac_fn_c_try_run
"$LINENO"; then :
4791 ac_cv_header_stdc
=no
4793 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4794 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4800 $as_echo "$ac_cv_header_stdc" >&6; }
4801 if test $ac_cv_header_stdc = yes; then
4803 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4807 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4808 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4809 inttypes.h stdint.h unistd.h
4811 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4812 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4814 eval as_val
=\$
$as_ac_Header
4815 if test "x$as_val" = x
""yes; then :
4816 cat >>confdefs.h
<<_ACEOF
4817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4826 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4827 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4834 if test "$MINIX" = yes; then
4836 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4839 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4842 $as_echo "#define _MINIX 1" >>confdefs.h
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4848 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4849 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4855 # define __EXTENSIONS__ 1
4856 $ac_includes_default
4865 if ac_fn_c_try_compile
"$LINENO"; then :
4866 ac_cv_safe_to_define___extensions__
=yes
4868 ac_cv_safe_to_define___extensions__
=no
4870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4873 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4874 test $ac_cv_safe_to_define___extensions__ = yes &&
4875 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4877 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4879 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4881 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4883 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4889 if test -n "$ac_tool_prefix"; then
4890 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4891 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if test "${ac_cv_prog_AR+set}" = set; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$AR"; then
4898 ac_cv_prog_AR
="$AR" # Let the user override the test.
4900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir
=.
4905 for ac_exec_ext
in '' $ac_executable_extensions; do
4906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4907 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 if test -n "$AR"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4920 $as_echo "$AR" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4928 if test -z "$ac_cv_prog_AR"; then
4930 # Extract the first word of "ar", so it can be a program name with args.
4931 set dummy
ar; ac_word
=$2
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 $as_echo_n "checking for $ac_word... " >&6; }
4934 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4935 $as_echo_n "(cached) " >&6
4937 if test -n "$ac_ct_AR"; then
4938 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4944 test -z "$as_dir" && as_dir
=.
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4947 ac_cv_prog_ac_ct_AR
="ar"
4948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4958 if test -n "$ac_ct_AR"; then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4960 $as_echo "$ac_ct_AR" >&6; }
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4966 if test "x$ac_ct_AR" = x
; then
4969 case $cross_compiling:$ac_tool_warned in
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4973 ac_tool_warned
=yes ;;
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$RANLIB"; then
4990 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 RANLIB
=$ac_cv_prog_RANLIB
5010 if test -n "$RANLIB"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5012 $as_echo "$RANLIB" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_RANLIB"; then
5021 ac_ct_RANLIB
=$RANLIB
5022 # Extract the first word of "ranlib", so it can be a program name with args.
5023 set dummy ranlib
; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_RANLIB"; then
5030 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5050 if test -n "$ac_ct_RANLIB"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5052 $as_echo "$ac_ct_RANLIB" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_RANLIB" = x
; then
5061 case $cross_compiling:$ac_tool_warned in
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned
=yes ;;
5067 RANLIB
=$ac_ct_RANLIB
5070 RANLIB
="$ac_cv_prog_RANLIB"
5074 # Check whether --enable-shared was given.
5075 if test "${enable_shared+set}" = set; then :
5076 enableval
=$enable_shared; p
=${PACKAGE-default}
5078 yes) enable_shared
=yes ;;
5079 no
) enable_shared
=no
;;
5082 # Look at the argument we got. We use all the common list separators.
5083 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5084 for pkg
in $enableval; do
5086 if test "X$pkg" = "X$p"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5109 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5114 macro_version
='2.2.7a'
5115 macro_revision
='1.3134'
5129 ltmain
="$ac_aux_dir/ltmain.sh"
5131 # Backslashify metacharacters that are still active within
5132 # double-quoted strings.
5133 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5135 # Same as above, but do not quote variable references.
5136 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5138 # Sed substitution to delay expansion of an escaped shell variable in a
5139 # double_quote_subst'ed string.
5140 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5142 # Sed substitution to delay expansion of an escaped single quote.
5143 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5145 # Sed substitution to avoid accidental globbing in evaled expressions
5146 no_glob_subst
='s/\*/\\\*/g'
5148 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5149 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5150 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5153 $as_echo_n "checking how to print strings... " >&6; }
5154 # Test print first, because it will be a builtin if present.
5155 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5156 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5158 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5161 # Use this function as a fallback that always works.
5162 func_fallback_echo ()
5164 eval 'cat <<_LTECHO_EOF
5168 ECHO='func_fallback_echo
'
5171 # func_echo_all arg...
5172 # Invoke $ECHO with all args, space-separated.
5179 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5180 $as_echo "printf" >&6; } ;;
5181 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5182 $as_echo "print -r" >&6; } ;;
5183 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5184 $as_echo "cat" >&6; } ;;
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5201 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5202 if test "${ac_cv_path_SED+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5205 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5206 for ac_i in 1 2 3 4 5 6 7; do
5207 ac_script="$ac_script$as_nl$ac_script"
5209 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5210 { ac_script=; unset ac_script;}
5211 if test -z "$SED"; then
5212 ac_path_SED_found=false
5213 # Loop through the user's path and
test for each of PROGNAME-LIST
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_prog
in sed gsed
; do
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5222 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5223 # Check for GNU ac_path_SED and select it if it is found.
5224 # Check for GNU $ac_path_SED
5225 case `"$ac_path_SED" --version 2>&1` in
5227 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5230 $as_echo_n 0123456789 >"conftest.in"
5233 cat "conftest.in" "conftest.in" >"conftest.tmp"
5234 mv "conftest.tmp" "conftest.in"
5235 cp "conftest.in" "conftest.nl"
5236 $as_echo '' >> "conftest.nl"
5237 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5238 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5239 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5240 if test $ac_count -gt ${ac_path_SED_max-0}; then
5241 # Best one so far, save it but keep looking for a better one
5242 ac_cv_path_SED
="$ac_path_SED"
5243 ac_path_SED_max
=$ac_count
5245 # 10*(2^10) chars as input seems more than enough
5246 test $ac_count -gt 10 && break
5248 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5251 $ac_path_SED_found && break 3
5256 if test -z "$ac_cv_path_SED"; then
5257 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5265 $as_echo "$ac_cv_path_SED" >&6; }
5266 SED
="$ac_cv_path_SED"
5269 test -z "$SED" && SED
=sed
5270 Xsed
="$SED -e 1s/^X//"
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5283 $as_echo_n "checking for fgrep... " >&6; }
5284 if test "${ac_cv_path_FGREP+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5287 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5288 then ac_cv_path_FGREP
="$GREP -F"
5290 if test -z "$FGREP"; then
5291 ac_path_FGREP_found
=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5294 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_prog
in fgrep
; do
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5301 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5302 # Check for GNU ac_path_FGREP and select it if it is found.
5303 # Check for GNU $ac_path_FGREP
5304 case `"$ac_path_FGREP" --version 2>&1` in
5306 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5309 $as_echo_n 0123456789 >"conftest.in"
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 $as_echo 'FGREP' >> "conftest.nl"
5316 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5318 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5319 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_FGREP
="$ac_path_FGREP"
5322 ac_path_FGREP_max
=$ac_count
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5330 $ac_path_FGREP_found && break 3
5335 if test -z "$ac_cv_path_FGREP"; then
5336 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5339 ac_cv_path_FGREP
=$FGREP
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5345 $as_echo "$ac_cv_path_FGREP" >&6; }
5346 FGREP
="$ac_cv_path_FGREP"
5349 test -z "$GREP" && GREP
=grep
5369 # Check whether --with-gnu-ld was given.
5370 if test "${with_gnu_ld+set}" = set; then :
5371 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5377 if test "$GCC" = yes; then
5378 # Check if gcc -print-prog-name=ld gives a path.
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5380 $as_echo_n "checking for ld used by $CC... " >&6; }
5383 # gcc leaves a trailing carriage return which upsets mingw
5384 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5386 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5389 # Accept absolute paths.
5391 re_direlt
='/[^/][^/]*/\.\./'
5392 # Canonicalize the pathname of ld
5393 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5394 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5395 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5397 test -z "$LD" && LD
="$ac_prog"
5400 # If it fails, then pretend we aren't using GCC.
5404 # If it is relative, then search for the first ld in PATH.
5408 elif test "$with_gnu_ld" = yes; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5410 $as_echo_n "checking for GNU ld... " >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5413 $as_echo_n "checking for non-GNU ld... " >&6; }
5415 if test "${lt_cv_path_LD+set}" = set; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -z "$LD"; then
5419 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5420 for ac_dir
in $PATH; do
5422 test -z "$ac_dir" && ac_dir
=.
5423 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5424 lt_cv_path_LD
="$ac_dir/$ac_prog"
5425 # Check to see if the program is GNU ld. I'd rather use --version,
5426 # but apparently some variants of GNU ld only accept -v.
5427 # Break only if it was the GNU/non-GNU ld that we prefer.
5428 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5429 *GNU
* |
*'with BFD'*)
5430 test "$with_gnu_ld" != no
&& break
5433 test "$with_gnu_ld" != yes && break
5440 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5445 if test -n "$LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5447 $as_echo "$LD" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5452 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5455 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5459 case `$LD -v 2>&1 </dev/null` in
5460 *GNU
* |
*'with BFD'*)
5461 lt_cv_prog_gnu_ld
=yes
5464 lt_cv_prog_gnu_ld
=no
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5470 with_gnu_ld
=$lt_cv_prog_gnu_ld
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5481 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5482 if test "${lt_cv_path_NM+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$NM"; then
5486 # Let the user override the test.
5489 lt_nm_to_check
="${ac_tool_prefix}nm"
5490 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5491 lt_nm_to_check
="$lt_nm_to_check nm"
5493 for lt_tmp_nm
in $lt_nm_to_check; do
5494 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5495 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5497 test -z "$ac_dir" && ac_dir
=.
5498 tmp_nm
="$ac_dir/$lt_tmp_nm"
5499 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5500 # Check to see if the nm accepts a BSD-compat flag.
5501 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5502 # nm: unknown option "B" ignored
5503 # Tru64's nm complains that /dev/null is an invalid object file
5504 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5505 */dev
/null
* |
*'Invalid file or object type'*)
5506 lt_cv_path_NM
="$tmp_nm -B"
5510 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5512 lt_cv_path_NM
="$tmp_nm -p"
5516 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5517 continue # so that we can try to find one that supports BSD flags
5526 : ${lt_cv_path_NM=no}
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5530 $as_echo "$lt_cv_path_NM" >&6; }
5531 if test "$lt_cv_path_NM" != "no"; then
5534 # Didn't find any BSD compatible name lister, look for dumpbin.
5535 if test -n "$DUMPBIN"; then :
5536 # Let the user override the test.
5538 if test -n "$ac_tool_prefix"; then
5539 for ac_prog
in dumpbin
"link -dump"
5541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5542 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5546 $as_echo_n "(cached) " >&6
5548 if test -n "$DUMPBIN"; then
5549 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir
=.
5556 for ac_exec_ext
in '' $ac_executable_extensions; do
5557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5558 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 DUMPBIN
=$ac_cv_prog_DUMPBIN
5569 if test -n "$DUMPBIN"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5571 $as_echo "$DUMPBIN" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5578 test -n "$DUMPBIN" && break
5581 if test -z "$DUMPBIN"; then
5582 ac_ct_DUMPBIN
=$DUMPBIN
5583 for ac_prog
in dumpbin
"link -dump"
5585 # Extract the first word of "$ac_prog", so it can be a program name with args.
5586 set dummy
$ac_prog; ac_word
=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5592 if test -n "$ac_ct_DUMPBIN"; then
5593 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_exec_ext
in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5613 if test -n "$ac_ct_DUMPBIN"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5615 $as_echo "$ac_ct_DUMPBIN" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5622 test -n "$ac_ct_DUMPBIN" && break
5625 if test "x$ac_ct_DUMPBIN" = x
; then
5628 case $cross_compiling:$ac_tool_warned in
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632 ac_tool_warned
=yes ;;
5634 DUMPBIN
=$ac_ct_DUMPBIN
5638 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5640 DUMPBIN
="$DUMPBIN -symbols"
5648 if test "$DUMPBIN" != ":"; then
5652 test -z "$NM" && NM
=nm
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5660 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5661 if test "${lt_cv_nm_interface+set}" = set; then :
5662 $as_echo_n "(cached) " >&6
5664 lt_cv_nm_interface
="BSD nm"
5665 echo "int some_variable = 0;" > conftest.
$ac_ext
5666 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5667 (eval "$ac_compile" 2>conftest.err
)
5668 cat conftest.err
>&5
5669 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5670 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5671 cat conftest.err
>&5
5672 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5673 cat conftest.out
>&5
5674 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5675 lt_cv_nm_interface
="MS dumpbin"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5680 $as_echo "$lt_cv_nm_interface" >&6; }
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5683 $as_echo_n "checking whether ln -s works... " >&6; }
5685 if test "$LN_S" = "ln -s"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5687 $as_echo "yes" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5690 $as_echo "no, using $LN_S" >&6; }
5693 # find the maximum length of command line arguments
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5695 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5696 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5697 $as_echo_n "(cached) " >&6
5704 # On DJGPP, this test can blow up pretty badly due to problems in libc
5705 # (any single argument exceeding 2000 bytes causes a buffer overrun
5706 # during glob expansion). Even if it were fixed, the result of this
5707 # check would be larger than it should be.
5708 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5712 # Under GNU Hurd, this test is not required because there is
5713 # no limit to the length of command line arguments.
5714 # Libtool will interpret -1 as no limit whatsoever
5715 lt_cv_sys_max_cmd_len
=-1;
5718 cygwin
* | mingw
* | cegcc
*)
5719 # On Win9x/ME, this test blows up -- it succeeds, but takes
5720 # about 5 minutes as the teststring grows exponentially.
5721 # Worse, since 9x/ME are not pre-emptively multitasking,
5722 # you end up with a "frozen" computer, even though with patience
5723 # the test eventually succeeds (with a max line length of 256k).
5724 # Instead, let's just punt: use the minimum linelength reported by
5725 # all of the supported platforms: 8192 (on NT/2K/XP).
5726 lt_cv_sys_max_cmd_len
=8192;
5730 # On MiNT this can take a long time and run out of memory.
5731 lt_cv_sys_max_cmd_len
=8192;
5735 # On AmigaOS with pdksh, this test takes hours, literally.
5736 # So we just punt and use a minimum line length of 8192.
5737 lt_cv_sys_max_cmd_len
=8192;
5740 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5741 # This has been around since 386BSD, at least. Likely further.
5742 if test -x /sbin
/sysctl
; then
5743 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5744 elif test -x /usr
/sbin
/sysctl
; then
5745 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5747 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5749 # And add a safety zone
5750 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5751 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5755 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5756 lt_cv_sys_max_cmd_len
=196608
5760 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5761 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5762 # nice to cause kernel panics so lets avoid the loop below.
5763 # First set a reasonable default.
5764 lt_cv_sys_max_cmd_len
=16384
5766 if test -x /sbin
/sysconfig
; then
5767 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5768 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5773 lt_cv_sys_max_cmd_len
=102400
5775 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5776 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5777 if test -n "$kargmax"; then
5778 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5780 lt_cv_sys_max_cmd_len
=32768
5784 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5785 if test -n "$lt_cv_sys_max_cmd_len"; then
5786 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5787 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5789 # Make teststring a little bigger before we do anything with it.
5790 # a 1K string should be a reasonable start.
5791 for i
in 1 2 3 4 5 6 7 8 ; do
5792 teststring
=$teststring$teststring
5794 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5795 # If test is not a shell built-in, we'll probably end up computing a
5796 # maximum length that is only half of the actual maximum length, but
5798 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5799 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5800 test $i != 17 # 1/2 MB should be enough
5803 teststring
=$teststring$teststring
5805 # Only check the string length outside the loop.
5806 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5808 # Add a significant safety factor because C++ compilers can tack on
5809 # massive amounts of additional arguments before passing them to the
5810 # linker. It appears as though 1/2 is a usable value.
5811 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5818 if test -n $lt_cv_sys_max_cmd_len ; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5820 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5823 $as_echo "none" >&6; }
5825 max_cmd_len
=$lt_cv_sys_max_cmd_len
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5837 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5838 # Try some XSI features
5841 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5843 && eval 'test $(( 1 + 1 )) -eq 2 \
5844 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5847 $as_echo "$xsi_shell" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5851 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5853 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5855 && lt_shell_append=yes
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5857 $as_echo "$lt_shell_append" >&6; }
5860 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5870 # test EBCDIC or ASCII
5871 case `echo X|tr X '\101'` in
5872 A) # ASCII based system
5873 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5874 lt_SP2NL='tr \040 \012'
5875 lt_NL2SP='tr \015\012 \040\040'
5877 *) # EBCDIC based system
5878 lt_SP2NL='tr \100 \n'
5879 lt_NL2SP='tr \r\n \100\100'
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5892 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5893 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5894 $as_echo_n "(cached
) " >&6
5896 lt_cv_ld_reload_flag='-r'
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5899 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5900 reload_flag=$lt_cv_ld_reload_flag
5901 case $reload_flag in
5903 *) reload_flag=" $reload_flag" ;;
5905 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5908 if test "$GCC" = yes; then
5909 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5911 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5924 if test -n "$ac_tool_prefix"; then
5925 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5926 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5928 $as_echo_n "checking
for $ac_word...
" >&6; }
5929 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5930 $as_echo_n "(cached
) " >&6
5932 if test -n "$OBJDUMP"; then
5933 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5952 OBJDUMP=$ac_cv_prog_OBJDUMP
5953 if test -n "$OBJDUMP"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5955 $as_echo "$OBJDUMP" >&6; }
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5958 $as_echo "no
" >&6; }
5963 if test -z "$ac_cv_prog_OBJDUMP"; then
5964 ac_ct_OBJDUMP=$OBJDUMP
5965 # Extract the first word of "objdump
", so it can be a program name with args.
5966 set dummy objdump; ac_word=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5968 $as_echo_n "checking
for $ac_word...
" >&6; }
5969 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5970 $as_echo_n "(cached
) " >&6
5972 if test -n "$ac_ct_OBJDUMP"; then
5973 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5992 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5993 if test -n "$ac_ct_OBJDUMP"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5995 $as_echo "$ac_ct_OBJDUMP" >&6; }
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5998 $as_echo "no
" >&6; }
6001 if test "x
$ac_ct_OBJDUMP" = x; then
6004 case $cross_compiling:$ac_tool_warned in
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6007 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6008 ac_tool_warned=yes ;;
6010 OBJDUMP=$ac_ct_OBJDUMP
6013 OBJDUMP="$ac_cv_prog_OBJDUMP"
6016 test -z "$OBJDUMP" && OBJDUMP=objdump
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6027 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6028 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6029 $as_echo_n "(cached
) " >&6
6031 lt_cv_file_magic_cmd='$MAGIC_CMD'
6032 lt_cv_file_magic_test_file=
6033 lt_cv_deplibs_check_method='unknown'
6034 # Need to set the preceding variable on all platforms that support
6035 # interlibrary dependencies.
6036 # 'none' -- dependencies not supported.
6037 # `unknown' -- same as none, but documents that we really don't know.
6038 # 'pass_all' -- all dependencies passed with no checks.
6039 # 'test_compile' -- check by making test program.
6040 # 'file_magic [[regex]]' -- check by looking for files in library path
6041 # which responds to the $file_magic_cmd with a given extended regex.
6042 # If you have `file' or equivalent on your system and you're not sure
6043 # whether `pass_all' will *always* work, you probably want this one.
6047 lt_cv_deplibs_check_method=pass_all
6051 lt_cv_deplibs_check_method=pass_all
6055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6056 lt_cv_file_magic_cmd='/usr/bin/file -L'
6057 lt_cv_file_magic_test_file=/shlib/libc.so
6061 # func_win32_libid is a shell function defined in ltmain.sh
6062 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6063 lt_cv_file_magic_cmd='func_win32_libid'
6067 # Base MSYS/MinGW do not provide the 'file' command needed by
6068 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6069 # unless we find 'file', for example because we are cross-compiling.
6070 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6071 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6072 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6073 lt_cv_file_magic_cmd='func_win32_libid'
6075 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6076 lt_cv_file_magic_cmd='$OBJDUMP -f'
6081 # use the weaker test based on 'objdump'. See mingw*.
6082 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6083 lt_cv_file_magic_cmd='$OBJDUMP -f'
6086 darwin* | rhapsody*)
6087 lt_cv_deplibs_check_method=pass_all
6090 freebsd* | dragonfly*)
6091 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6094 # Not sure whether the presence of OpenBSD here was a mistake.
6095 # Let's accept both of them until this is cleared up.
6096 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6097 lt_cv_file_magic_cmd=/usr/bin/file
6098 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6102 lt_cv_deplibs_check_method=pass_all
6107 lt_cv_deplibs_check_method=pass_all
6111 lt_cv_deplibs_check_method=pass_all
6114 hpux10.20* | hpux11*)
6115 lt_cv_file_magic_cmd=/usr/bin/file
6118 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6119 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6122 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]'
6123 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6126 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6127 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6133 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6134 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6137 irix5* | irix6* | nonstopux*)
6139 *-32|*"-32 ") libmagic=32-bit;;
6140 *-n32|*"-n32 ") libmagic=N32;;
6141 *-64|*"-64 ") libmagic=64-bit;;
6142 *) libmagic=never-match;;
6144 lt_cv_deplibs_check_method=pass_all
6147 # This must be Linux ELF.
6148 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6149 lt_cv_deplibs_check_method=pass_all
6153 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6154 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6156 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6161 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6162 lt_cv_file_magic_cmd=/usr/bin/file
6163 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6167 lt_cv_deplibs_check_method=pass_all
6171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6172 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6174 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6178 osf3* | osf4* | osf5*)
6179 lt_cv_deplibs_check_method=pass_all
6183 lt_cv_deplibs_check_method=pass_all
6187 lt_cv_deplibs_check_method=pass_all
6190 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6191 lt_cv_deplibs_check_method=pass_all
6195 case $host_vendor in
6197 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]'
6198 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6201 lt_cv_deplibs_check_method=pass_all
6204 lt_cv_file_magic_cmd='/bin/file'
6205 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6208 lt_cv_file_magic_cmd='/bin/file'
6209 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6210 lt_cv_file_magic_test_file=/lib/libc.so
6213 lt_cv_deplibs_check_method=pass_all
6216 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_deplibs_check_method=pass_all
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6228 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6229 file_magic_cmd=$lt_cv_file_magic_cmd
6230 deplibs_check_method=$lt_cv_deplibs_check_method
6231 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6244 if test -n "$ac_tool_prefix"; then
6245 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6246 set dummy ${ac_tool_prefix}ar; ac_word=$2
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6248 $as_echo_n "checking
for $ac_word...
" >&6; }
6249 if test "${ac_cv_prog_AR+set}" = set; then :
6250 $as_echo_n "(cached
) " >&6
6252 if test -n "$AR"; then
6253 ac_cv_prog_AR="$AR" # Let the user override the test.
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_AR="${ac_tool_prefix}ar"
6263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6273 if test -n "$AR"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6275 $as_echo "$AR" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6278 $as_echo "no
" >&6; }
6283 if test -z "$ac_cv_prog_AR"; then
6285 # Extract the first word of "ar", so it can be a program name with args.
6286 set dummy ar; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6288 $as_echo_n "checking
for $ac_word...
" >&6; }
6289 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6290 $as_echo_n "(cached
) " >&6
6292 if test -n "$ac_ct_AR"; then
6293 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_prog_ac_ct_AR="ar"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6312 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6313 if test -n "$ac_ct_AR"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6315 $as_echo "$ac_ct_AR" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6318 $as_echo "no
" >&6; }
6321 if test "x
$ac_ct_AR" = x; then
6324 case $cross_compiling:$ac_tool_warned in
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6327 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6328 ac_tool_warned=yes ;;
6336 test -z "$AR" && AR=ar
6337 test -z "$AR_FLAGS" && AR_FLAGS=cru
6349 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6351 set dummy ${ac_tool_prefix}strip; ac_word=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6353 $as_echo_n "checking
for $ac_word...
" >&6; }
6354 if test "${ac_cv_prog_STRIP+set}" = set; then :
6355 $as_echo_n "(cached
) " >&6
6357 if test -n "$STRIP"; then
6358 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir=.
6365 for ac_exec_ext in '' $ac_executable_extensions; do
6366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6367 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6377 STRIP=$ac_cv_prog_STRIP
6378 if test -n "$STRIP"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6380 $as_echo "$STRIP" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6383 $as_echo "no
" >&6; }
6388 if test -z "$ac_cv_prog_STRIP"; then
6390 # Extract the first word of "strip
", so it can be a program name with args.
6391 set dummy strip; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6393 $as_echo_n "checking
for $ac_word...
" >&6; }
6394 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6395 $as_echo_n "(cached
) " >&6
6397 if test -n "$ac_ct_STRIP"; then
6398 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir=.
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6407 ac_cv_prog_ac_ct_STRIP="strip
"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6417 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6418 if test -n "$ac_ct_STRIP"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6420 $as_echo "$ac_ct_STRIP" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6423 $as_echo "no
" >&6; }
6426 if test "x
$ac_ct_STRIP" = x; then
6429 case $cross_compiling:$ac_tool_warned in
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6432 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6433 ac_tool_warned=yes ;;
6438 STRIP="$ac_cv_prog_STRIP"
6441 test -z "$STRIP" && STRIP=:
6448 if test -n "$ac_tool_prefix"; then
6449 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6450 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6452 $as_echo_n "checking
for $ac_word...
" >&6; }
6453 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6454 $as_echo_n "(cached
) " >&6
6456 if test -n "$RANLIB"; then
6457 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6466 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6476 RANLIB=$ac_cv_prog_RANLIB
6477 if test -n "$RANLIB"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6479 $as_echo "$RANLIB" >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6482 $as_echo "no
" >&6; }
6487 if test -z "$ac_cv_prog_RANLIB"; then
6488 ac_ct_RANLIB=$RANLIB
6489 # Extract the first word of "ranlib
", so it can be a program name with args.
6490 set dummy ranlib; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6492 $as_echo_n "checking
for $ac_word...
" >&6; }
6493 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6494 $as_echo_n "(cached
) " >&6
6496 if test -n "$ac_ct_RANLIB"; then
6497 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6506 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6516 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6517 if test -n "$ac_ct_RANLIB"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6519 $as_echo "$ac_ct_RANLIB" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6522 $as_echo "no
" >&6; }
6525 if test "x
$ac_ct_RANLIB" = x; then
6528 case $cross_compiling:$ac_tool_warned in
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6532 ac_tool_warned=yes ;;
6534 RANLIB=$ac_ct_RANLIB
6537 RANLIB="$ac_cv_prog_RANLIB"
6540 test -z "$RANLIB" && RANLIB=:
6547 # Determine commands to create old-style static archives.
6548 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6549 old_postinstall_cmds='chmod 644 $oldlib'
6550 old_postuninstall_cmds=
6552 if test -n "$RANLIB"; then
6555 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6558 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6561 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6566 lock_old_archive_extraction=yes ;;
6568 lock_old_archive_extraction=no ;;
6609 # If no C compiler was specified, use CC.
6612 # If no C compiler flags were specified, use CFLAGS.
6613 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6615 # Allow CC to be a program name with arguments.
6619 # Check for command to grab the raw symbol name followed by C symbol from nm.
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6621 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6622 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6623 $as_echo_n "(cached
) " >&6
6626 # These are sane defaults that work on at least a few old systems.
6627 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6629 # Character class describing NM global symbol codes.
6630 symcode='[BCDEGRST]'
6632 # Regexp to match symbols that can be accessed directly from C.
6633 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6635 # Define system-specific variables.
6640 cygwin* | mingw* | pw32* | cegcc*)
6641 symcode='[ABCDGISTW]'
6644 if test "$host_cpu" = ia64; then
6645 symcode='[ABCDEGRST]'
6649 symcode='[BCDEGRST]'
6652 symcode='[BCDEGQRST]'
6663 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6671 # If we're using GNU nm, then use its standard symbol codes.
6672 case `$NM -V 2>&1` in
6673 *GNU* | *'with BFD'*)
6674 symcode='[ABCDGIRSTW]' ;;
6677 # Transform an extracted symbol line into a proper C declaration.
6678 # Some systems (esp. on ia64) link data and code symbols differently,
6679 # so use this general approach.
6680 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6682 # Transform an extracted symbol line into symbol name and symbol address
6683 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6684 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'"
6686 # Handle CRLF in mingw tool chain
6690 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6694 # Try without a prefix underscore, then with it.
6695 for ac_symprfx in "" "_
"; do
6697 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6698 symxfrm="\\1 $ac_symprfx\\2 \\2"
6700 # Write the raw and C identifiers.
6701 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6702 # Fake it for dumpbin and say T for any non-static function
6703 # and D for any global variable.
6704 # Also find C++ and __fastcall symbols from MSVC++,
6705 # which start with @ or ?.
6706 lt_cv_sys_global_symbol_pipe="$AWK '"\
6707 " {last_section=section; section=\$ 3};"\
6708 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6709 " \$ 0!~/External *\|/{next};"\
6710 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6711 " {if(hide[section]) next};"\
6712 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6713 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6714 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6715 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6716 " ' prfx
=^
$ac_symprfx"
6718 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6721 # Check to see that the pipe works correctly.
6725 cat > conftest.$ac_ext <<_LT_EOF
6730 void nm_test_func(void);
6731 void nm_test_func(void){}
6735 int main(){nm_test_var='a';nm_test_func();return(0);}
6738 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6739 (eval $ac_compile) 2>&5
6741 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6742 test $ac_status = 0; }; then
6743 # Now try to grab the symbols.
6745 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6746 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6748 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6749 test $ac_status = 0; } && test -s "$nlist"; then
6750 # Try sorting and uniquifying the output.
6751 if sort "$nlist" | uniq > "$nlist"T; then
6752 mv -f "$nlist"T "$nlist"
6757 # Make sure that we snagged all the symbols we need.
6758 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6759 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6760 cat <<_LT_EOF > conftest.$ac_ext
6766 # Now generate the symbol file.
6767 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6769 cat <<_LT_EOF >> conftest.$ac_ext
6771 /* The mapping between symbol names and symbols. */
6776 lt__PROGRAM__LTX_preloaded_symbols[] =
6778 { "@PROGRAM@
", (void *) 0 },
6780 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6781 cat <<\_LT_EOF >> conftest.$ac_ext
6785 /* This works around a problem in FreeBSD linker */
6786 #ifdef FREEBSD_WORKAROUND
6787 static const void *lt_preloaded_setup() {
6788 return lt__PROGRAM__LTX_preloaded_symbols;
6796 # Now try linking the two files.
6797 mv conftest.$ac_objext conftstm.$ac_objext
6798 lt_save_LIBS="$LIBS"
6799 lt_save_CFLAGS="$CFLAGS"
6800 LIBS="conftstm.
$ac_objext"
6801 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6802 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6803 (eval $ac_link) 2>&5
6805 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6806 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6809 LIBS="$lt_save_LIBS"
6810 CFLAGS="$lt_save_CFLAGS"
6812 echo "cannot
find nm_test_func
in $nlist" >&5
6815 echo "cannot
find nm_test_var
in $nlist" >&5
6818 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6821 echo "$progname: failed program was
:" >&5
6822 cat conftest.$ac_ext >&5
6824 rm -rf conftest* conftst*
6826 # Do not use the global_symbol_pipe unless it works.
6827 if test "$pipe_works" = yes; then
6830 lt_cv_sys_global_symbol_pipe=
6836 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6837 lt_cv_sys_global_symbol_to_cdecl=
6839 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6841 $as_echo "failed
" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6844 $as_echo "ok
" >&6; }
6868 # Check whether --enable-libtool-lock was given.
6869 if test "${enable_libtool_lock+set}" = set; then :
6870 enableval=$enable_libtool_lock;
6873 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6875 # Some flags need to be propagated to the compiler or linker for good
6879 # Find out which ABI we are using.
6880 echo 'int i;' > conftest.$ac_ext
6881 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6882 (eval $ac_compile) 2>&5
6884 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6885 test $ac_status = 0; }; then
6886 case `/usr/bin/file conftest.$ac_objext` in
6898 # Find out which ABI we are using.
6899 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6900 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6901 (eval $ac_compile) 2>&5
6903 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6904 test $ac_status = 0; }; then
6905 if test "$lt_cv_prog_gnu_ld" = yes; then
6906 case `/usr/bin/file conftest.$ac_objext` in
6908 LD="${LD-ld} -melf32bsmip"
6911 LD="${LD-ld} -melf32bmipn32"
6914 LD="${LD-ld} -melf64bmip"
6918 case `/usr/bin/file conftest.$ac_objext` in
6934 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6935 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6936 # Find out which ABI we are using.
6937 echo 'int i;' > conftest.$ac_ext
6938 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 case `/usr/bin/file conftest.o` in
6946 x86_64-*kfreebsd*-gnu)
6947 LD="${LD-ld} -m elf_i386_fbsd
"
6950 case `/usr/bin/file conftest.o` in
6952 LD="${LD-ld} -m elf32_x86_64
"
6955 LD="${LD-ld} -m elf_i386
"
6959 powerpc64le-*linux*)
6960 LD="${LD-ld} -m elf32lppclinux
"
6963 LD="${LD-ld} -m elf32ppclinux
"
6966 LD="${LD-ld} -m elf_s390
"
6969 LD="${LD-ld} -m elf32_sparc
"
6975 x86_64-*kfreebsd*-gnu)
6976 LD="${LD-ld} -m elf_x86_64_fbsd
"
6979 LD="${LD-ld} -m elf_x86_64
"
6982 LD="${LD-ld} -m elf64lppc
"
6985 LD="${LD-ld} -m elf64ppc
"
6987 s390*-*linux*|s390*-*tpf*)
6988 LD="${LD-ld} -m elf64_s390
"
6991 LD="${LD-ld} -m elf64_sparc
"
7001 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7002 SAVE_CFLAGS="$CFLAGS"
7003 CFLAGS="$CFLAGS -belf"
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7005 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7006 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7007 $as_echo_n "(cached
) " >&6
7010 ac_cpp='$CPP $CPPFLAGS'
7011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7026 if ac_fn_c_try_link "$LINENO"; then :
7027 lt_cv_cc_needs_belf=yes
7029 lt_cv_cc_needs_belf=no
7031 rm -f core conftest.err conftest.$ac_objext \
7032 conftest$ac_exeext conftest.$ac_ext
7034 ac_cpp='$CPP $CPPFLAGS'
7035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7041 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7042 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7043 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7044 CFLAGS="$SAVE_CFLAGS"
7048 # Find out which ABI we are using.
7049 echo 'int i;' > conftest.$ac_ext
7050 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7051 (eval $ac_compile) 2>&5
7053 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7054 test $ac_status = 0; }; then
7055 case `/usr/bin/file conftest.o` in
7057 case $lt_cv_prog_gnu_ld in
7058 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7060 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7072 need_locks="$enable_libtool_lock"
7076 rhapsody* | darwin*)
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7081 $as_echo_n "checking
for $ac_word...
" >&6; }
7082 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7083 $as_echo_n "(cached
) " >&6
7085 if test -n "$DSYMUTIL"; then
7086 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7105 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7106 if test -n "$DSYMUTIL"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7108 $as_echo "$DSYMUTIL" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7111 $as_echo "no
" >&6; }
7116 if test -z "$ac_cv_prog_DSYMUTIL"; then
7117 ac_ct_DSYMUTIL=$DSYMUTIL
7118 # Extract the first word of "dsymutil
", so it can be a program name with args.
7119 set dummy dsymutil; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7121 $as_echo_n "checking
for $ac_word...
" >&6; }
7122 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7123 $as_echo_n "(cached
) " >&6
7125 if test -n "$ac_ct_DSYMUTIL"; then
7126 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7145 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7146 if test -n "$ac_ct_DSYMUTIL"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7148 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7151 $as_echo "no
" >&6; }
7154 if test "x
$ac_ct_DSYMUTIL" = x; then
7157 case $cross_compiling:$ac_tool_warned in
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7160 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7161 ac_tool_warned=yes ;;
7163 DSYMUTIL=$ac_ct_DSYMUTIL
7166 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7169 if test -n "$ac_tool_prefix"; then
7170 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7173 $as_echo_n "checking
for $ac_word...
" >&6; }
7174 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7175 $as_echo_n "(cached
) " >&6
7177 if test -n "$NMEDIT"; then
7178 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7187 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7197 NMEDIT=$ac_cv_prog_NMEDIT
7198 if test -n "$NMEDIT"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7200 $as_echo "$NMEDIT" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7203 $as_echo "no
" >&6; }
7208 if test -z "$ac_cv_prog_NMEDIT"; then
7209 ac_ct_NMEDIT=$NMEDIT
7210 # Extract the first word of "nmedit
", so it can be a program name with args.
7211 set dummy nmedit; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7213 $as_echo_n "checking
for $ac_word...
" >&6; }
7214 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7215 $as_echo_n "(cached
) " >&6
7217 if test -n "$ac_ct_NMEDIT"; then
7218 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 test -z "$as_dir" && as_dir=.
7225 for ac_exec_ext in '' $ac_executable_extensions; do
7226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7227 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7237 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7238 if test -n "$ac_ct_NMEDIT"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7240 $as_echo "$ac_ct_NMEDIT" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7243 $as_echo "no
" >&6; }
7246 if test "x
$ac_ct_NMEDIT" = x; then
7249 case $cross_compiling:$ac_tool_warned in
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7252 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7253 ac_tool_warned=yes ;;
7255 NMEDIT=$ac_ct_NMEDIT
7258 NMEDIT="$ac_cv_prog_NMEDIT"
7261 if test -n "$ac_tool_prefix"; then
7262 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7263 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7265 $as_echo_n "checking
for $ac_word...
" >&6; }
7266 if test "${ac_cv_prog_LIPO+set}" = set; then :
7267 $as_echo_n "(cached
) " >&6
7269 if test -n "$LIPO"; then
7270 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7279 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7289 LIPO=$ac_cv_prog_LIPO
7290 if test -n "$LIPO"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7292 $as_echo "$LIPO" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7295 $as_echo "no
" >&6; }
7300 if test -z "$ac_cv_prog_LIPO"; then
7302 # Extract the first word of "lipo
", so it can be a program name with args.
7303 set dummy lipo; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7305 $as_echo_n "checking
for $ac_word...
" >&6; }
7306 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7307 $as_echo_n "(cached
) " >&6
7309 if test -n "$ac_ct_LIPO"; then
7310 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 test -z "$as_dir" && as_dir=.
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7319 ac_cv_prog_ac_ct_LIPO="lipo
"
7320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7329 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7330 if test -n "$ac_ct_LIPO"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7332 $as_echo "$ac_ct_LIPO" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7335 $as_echo "no
" >&6; }
7338 if test "x
$ac_ct_LIPO" = x; then
7341 case $cross_compiling:$ac_tool_warned in
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7344 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7345 ac_tool_warned=yes ;;
7350 LIPO="$ac_cv_prog_LIPO"
7353 if test -n "$ac_tool_prefix"; then
7354 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7355 set dummy ${ac_tool_prefix}otool; ac_word=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7357 $as_echo_n "checking
for $ac_word...
" >&6; }
7358 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7359 $as_echo_n "(cached
) " >&6
7361 if test -n "$OTOOL"; then
7362 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 test -z "$as_dir" && as_dir=.
7369 for ac_exec_ext in '' $ac_executable_extensions; do
7370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7371 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7381 OTOOL=$ac_cv_prog_OTOOL
7382 if test -n "$OTOOL"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7384 $as_echo "$OTOOL" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7387 $as_echo "no
" >&6; }
7392 if test -z "$ac_cv_prog_OTOOL"; then
7394 # Extract the first word of "otool
", so it can be a program name with args.
7395 set dummy otool; ac_word=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7397 $as_echo_n "checking
for $ac_word...
" >&6; }
7398 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7399 $as_echo_n "(cached
) " >&6
7401 if test -n "$ac_ct_OTOOL"; then
7402 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7411 ac_cv_prog_ac_ct_OTOOL="otool
"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7421 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7422 if test -n "$ac_ct_OTOOL"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7424 $as_echo "$ac_ct_OTOOL" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7427 $as_echo "no
" >&6; }
7430 if test "x
$ac_ct_OTOOL" = x; then
7433 case $cross_compiling:$ac_tool_warned in
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7436 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7437 ac_tool_warned=yes ;;
7442 OTOOL="$ac_cv_prog_OTOOL"
7445 if test -n "$ac_tool_prefix"; then
7446 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7447 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7449 $as_echo_n "checking
for $ac_word...
" >&6; }
7450 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7451 $as_echo_n "(cached
) " >&6
7453 if test -n "$OTOOL64"; then
7454 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir=.
7461 for ac_exec_ext in '' $ac_executable_extensions; do
7462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7463 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7473 OTOOL64=$ac_cv_prog_OTOOL64
7474 if test -n "$OTOOL64"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7476 $as_echo "$OTOOL64" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7479 $as_echo "no
" >&6; }
7484 if test -z "$ac_cv_prog_OTOOL64"; then
7485 ac_ct_OTOOL64=$OTOOL64
7486 # Extract the first word of "otool64
", so it can be a program name with args.
7487 set dummy otool64; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7489 $as_echo_n "checking
for $ac_word...
" >&6; }
7490 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7491 $as_echo_n "(cached
) " >&6
7493 if test -n "$ac_ct_OTOOL64"; then
7494 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7513 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7514 if test -n "$ac_ct_OTOOL64"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7516 $as_echo "$ac_ct_OTOOL64" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7519 $as_echo "no
" >&6; }
7522 if test "x
$ac_ct_OTOOL64" = x; then
7525 case $cross_compiling:$ac_tool_warned in
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7528 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7529 ac_tool_warned=yes ;;
7531 OTOOL64=$ac_ct_OTOOL64
7534 OTOOL64="$ac_cv_prog_OTOOL64"
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7564 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7565 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7566 $as_echo_n "(cached
) " >&6
7568 lt_cv_apple_cc_single_mod=no
7569 if test -z "${LT_MULTI_MODULE}"; then
7570 # By default we will add the -single_module flag. You can override
7571 # by either setting the environment variable LT_MULTI_MODULE
7572 # non-empty at configure time, or by adding -multi_module to the
7574 rm -rf libconftest.dylib*
7575 echo "int foo
(void
){return 1;}" > conftest.c
7576 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7577 -dynamiclib -Wl,-single_module conftest.c
" >&5
7578 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7579 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7581 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7582 lt_cv_apple_cc_single_mod=yes
7584 cat conftest.err >&5
7586 rm -rf libconftest.dylib*
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7591 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7593 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7594 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7595 $as_echo_n "(cached
) " >&6
7597 lt_cv_ld_exported_symbols_list=no
7598 save_LDFLAGS=$LDFLAGS
7599 echo "_main
" > conftest.sym
7600 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7612 if ac_fn_c_try_link "$LINENO"; then :
7613 lt_cv_ld_exported_symbols_list=yes
7615 lt_cv_ld_exported_symbols_list=no
7617 rm -f core conftest.err conftest.$ac_objext \
7618 conftest$ac_exeext conftest.$ac_ext
7619 LDFLAGS="$save_LDFLAGS"
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7623 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7625 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7626 if test "${lt_cv_ld_force_load+set}" = set; then :
7627 $as_echo_n "(cached
) " >&6
7629 lt_cv_ld_force_load=no
7630 cat > conftest.c << _LT_EOF
7631 int forced_loaded() { return 2;}
7633 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7634 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7635 echo "$AR cru libconftest.a conftest.o
" >&5
7636 $AR cru libconftest.a conftest.o 2>&5
7637 cat > conftest.c << _LT_EOF
7638 int main() { return 0;}
7640 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7641 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7643 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7644 lt_cv_ld_force_load=yes
7646 cat conftest.err >&5
7648 rm -f conftest.err libconftest.a conftest conftest.c
7649 rm -rf conftest.dSYM
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7653 $as_echo "$lt_cv_ld_force_load" >&6; }
7655 rhapsody* | darwin1.[012])
7656 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7658 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7659 darwin*) # darwin 5.x on
7660 # if running on 10.5 or later, the deployment target defaults
7661 # to the OS version, if on x86, and 10.4, the deployment
7662 # target defaults to 10.4. Don't you love it?
7663 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7664 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7665 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7667 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7669 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7673 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7674 _lt_dar_single_mod='$single_module'
7676 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7677 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7679 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7681 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7682 _lt_dsymutil='~$DSYMUTIL $lib || :'
7689 for ac_header in dlfcn.h
7691 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7693 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7694 cat >>confdefs.h <<_ACEOF
7695 #define HAVE_DLFCN_H 1
7717 # Check whether --enable-static was given.
7718 if test "${enable_static+set}" = set; then :
7719 enableval=$enable_static; p=${PACKAGE-default}
7721 yes) enable_static=yes ;;
7722 no) enable_static=no ;;
7725 # Look at the argument we got. We use all the common list separators.
7726 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7727 for pkg in $enableval; do
7729 if test "X
$pkg" = "X
$p"; then
7749 # Check whether --with-pic was given.
7750 if test "${with_pic+set}" = set; then :
7751 withval=$with_pic; pic_mode="$withval"
7757 test -z "$pic_mode" && pic_mode=default
7765 # Check whether --enable-fast-install was given.
7766 if test "${enable_fast_install+set}" = set; then :
7767 enableval=$enable_fast_install; p=${PACKAGE-default}
7769 yes) enable_fast_install=yes ;;
7770 no) enable_fast_install=no ;;
7772 enable_fast_install=no
7773 # Look at the argument we got. We use all the common list separators.
7774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7775 for pkg in $enableval; do
7777 if test "X
$pkg" = "X
$p"; then
7778 enable_fast_install=yes
7785 enable_fast_install=yes
7798 # This can be used to rebuild libtool when needed
7799 LIBTOOL_DEPS="$ltmain"
7801 # Always use our own libtool.
7802 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7829 test -z "$LN_S" && LN_S="ln -s"
7844 if test -n "${ZSH_VERSION+set}" ; then
7845 setopt NO_GLOB_SUBST
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7849 $as_echo_n "checking
for objdir...
" >&6; }
7850 if test "${lt_cv_objdir+set}" = set; then :
7851 $as_echo_n "(cached
) " >&6
7853 rm -f .libs 2>/dev/null
7854 mkdir .libs 2>/dev/null
7855 if test -d .libs; then
7858 # MS-DOS does not allow filenames that begin with a dot.
7861 rmdir .libs 2>/dev/null
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7864 $as_echo "$lt_cv_objdir" >&6; }
7865 objdir=$lt_cv_objdir
7871 cat >>confdefs.h <<_ACEOF
7872 #define LT_OBJDIR "$lt_cv_objdir/"
7880 # AIX sometimes has problems with the GCC collect2 program. For some
7881 # reason, if we set the COLLECT_NAMES environment variable, the problems
7882 # vanish in a puff of smoke.
7883 if test "X
${COLLECT_NAMES+set}" != Xset; then
7885 export COLLECT_NAMES
7892 can_build_shared=yes
7894 # All known linkers require a `.a' archive for static linking (except MSVC,
7895 # which needs '.lib').
7898 with_gnu_ld="$lt_cv_prog_gnu_ld"
7901 old_CFLAGS="$CFLAGS"
7903 # Set sane defaults for various variables
7904 test -z "$CC" && CC=cc
7905 test -z "$LTCC" && LTCC=$CC
7906 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7907 test -z "$LD" && LD=ld
7908 test -z "$ac_objext" && ac_objext=o
7910 for cc_temp in $compiler""; do
7912 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7913 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7918 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7921 # Only perform the check for file, if the check method requires it
7922 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7923 case $deplibs_check_method in
7925 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7927 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7928 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7929 $as_echo_n "(cached
) " >&6
7933 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7936 lt_save_MAGIC_CMD="$MAGIC_CMD"
7937 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7938 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7939 for ac_dir in $ac_dummy; do
7941 test -z "$ac_dir" && ac_dir=.
7942 if test -f $ac_dir/${ac_tool_prefix}file; then
7943 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7944 if test -n "$file_magic_test_file"; then
7945 case $deplibs_check_method in
7947 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7948 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7949 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7950 $EGREP "$file_magic_regex" > /dev/null; then
7955 *** Warning: the command libtool uses to detect shared libraries,
7956 *** $file_magic_cmd, produces output that libtool cannot recognize.
7957 *** The result is that libtool may fail to recognize shared libraries
7958 *** as such. This will affect the creation of libtool libraries that
7959 *** depend on shared libraries, but programs linked with such libtool
7960 *** libraries will work regardless of this problem. Nevertheless, you
7961 *** may want to report the problem to your system manager and/or to
7962 *** bug-libtool@gnu.org
7972 MAGIC_CMD="$lt_save_MAGIC_CMD"
7977 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7978 if test -n "$MAGIC_CMD"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7980 $as_echo "$MAGIC_CMD" >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7983 $as_echo "no
" >&6; }
7990 if test -z "$lt_cv_path_MAGIC_CMD"; then
7991 if test -n "$ac_tool_prefix"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7993 $as_echo_n "checking
for file...
" >&6; }
7994 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7995 $as_echo_n "(cached
) " >&6
7999 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8002 lt_save_MAGIC_CMD="$MAGIC_CMD"
8003 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8004 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8005 for ac_dir in $ac_dummy; do
8007 test -z "$ac_dir" && ac_dir=.
8008 if test -f $ac_dir/file; then
8009 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8010 if test -n "$file_magic_test_file"; then
8011 case $deplibs_check_method in
8013 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8014 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8015 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8016 $EGREP "$file_magic_regex" > /dev/null; then
8021 *** Warning: the command libtool uses to detect shared libraries,
8022 *** $file_magic_cmd, produces output that libtool cannot recognize.
8023 *** The result is that libtool may fail to recognize shared libraries
8024 *** as such. This will affect the creation of libtool libraries that
8025 *** depend on shared libraries, but programs linked with such libtool
8026 *** libraries will work regardless of this problem. Nevertheless, you
8027 *** may want to report the problem to your system manager and/or to
8028 *** bug-libtool@gnu.org
8038 MAGIC_CMD="$lt_save_MAGIC_CMD"
8043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8044 if test -n "$MAGIC_CMD"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8046 $as_echo "$MAGIC_CMD" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 $as_echo "no
" >&6; }
8062 # Use C for the default configuration in the libtool script
8066 ac_cpp='$CPP $CPPFLAGS'
8067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8072 # Source file extension for C test sources.
8075 # Object file extension for compiled C test sources.
8079 # Code to be used in simple compile tests
8080 lt_simple_compile_test_code="int some_variable
= 0;"
8082 # Code to be used in simple link tests
8083 lt_simple_link_test_code='int main(){return(0);}'
8091 # If no C compiler was specified, use CC.
8094 # If no C compiler flags were specified, use CFLAGS.
8095 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8097 # Allow CC to be a program name with arguments.
8100 # Save the default compiler, since it gets overwritten when the other
8101 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8102 compiler_DEFAULT=$CC
8104 # save warnings/boilerplate of simple test code
8105 ac_outfile=conftest.$ac_objext
8106 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8107 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8108 _lt_compiler_boilerplate=`cat conftest.err`
8111 ac_outfile=conftest.$ac_objext
8112 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8113 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8114 _lt_linker_boilerplate=`cat conftest.err`
8119 ## There is no encapsulation within the following macros, do not change
8120 ## the running order or otherwise move them around unless you know exactly
8121 ## what you are doing...
8122 if test -n "$compiler"; then
8124 lt_prog_compiler_no_builtin_flag=
8126 if test "$GCC" = yes; then
8127 case $cc_basename in
8129 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8131 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8135 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8136 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8137 $as_echo_n "(cached
) " >&6
8139 lt_cv_prog_compiler_rtti_exceptions=no
8140 ac_outfile=conftest.$ac_objext
8141 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8142 lt_compiler_flag="-fno-rtti -fno-exceptions"
8143 # Insert the option either (1) after the last *FLAGS variable, or
8144 # (2) before a word containing "conftest.
", or (3) at the end.
8145 # Note that $ac_compile itself does not contain backslashes and begins
8146 # with a dollar sign (not a hyphen), so the echo should work correctly.
8147 # The option is referenced via a variable to avoid confusing sed.
8148 lt_compile=`echo "$ac_compile" | $SED \
8149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8151 -e 's:$: $lt_compiler_flag:'`
8152 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8153 (eval "$lt_compile" 2>conftest.err)
8155 cat conftest.err >&5
8156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8157 if (exit $ac_status) && test -s "$ac_outfile"; then
8158 # The compiler can only warn and ignore the option if not recognized
8159 # So say no if there are warnings other than the usual output.
8160 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8161 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8162 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8163 lt_cv_prog_compiler_rtti_exceptions=yes
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8170 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8172 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8173 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8185 lt_prog_compiler_wl=
8186 lt_prog_compiler_pic=
8187 lt_prog_compiler_static=
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8190 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8192 if test "$GCC" = yes; then
8193 lt_prog_compiler_wl='-Wl,'
8194 lt_prog_compiler_static='-static'
8198 # All AIX code is PIC.
8199 if test "$host_cpu" = ia64; then
8200 # AIX 5 now supports IA64 processor
8201 lt_prog_compiler_static='-Bstatic'
8203 lt_prog_compiler_pic='-fPIC'
8209 # see comment about AmigaOS4 .so support
8210 lt_prog_compiler_pic='-fPIC'
8213 # FIXME: we need at least 68020 code to build shared libraries, but
8214 # adding the `-m68020' flag to GCC prevents building anything better,
8216 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8221 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8222 # PIC is the default for these OSes.
8225 mingw* | cygwin* | pw32* | os2* | cegcc*)
8226 # This hack is so that the source file can tell whether it is being
8227 # built for inclusion in a dll (and should export symbols for example).
8228 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8229 # (--disable-auto-import) libraries
8230 lt_prog_compiler_pic='-DDLL_EXPORT'
8233 darwin* | rhapsody*)
8234 # PIC is the default on this platform
8235 # Common symbols not allowed in MH_DYLIB files
8236 lt_prog_compiler_pic='-fno-common'
8240 # PIC is the default for Haiku.
8241 # The "-static" flag exists, but is broken.
8242 lt_prog_compiler_static=
8246 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8247 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8248 # sets the default TLS model and affects inlining.
8254 lt_prog_compiler_pic='-fPIC'
8260 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8261 # Instead, we relocate shared libraries at runtime.
8265 # Just because we use GCC doesn't mean we suddenly get shared libraries
8266 # on systems that don't support them.
8267 lt_prog_compiler_can_build_shared=no
8272 # QNX uses GNU C++, but need to define -shared option too, otherwise
8274 lt_prog_compiler_pic='-fPIC -shared'
8278 if test -d /usr/nec; then
8279 lt_prog_compiler_pic=-Kconform_pic
8284 lt_prog_compiler_pic='-fPIC'
8288 case $cc_basename in
8289 nvcc*) # Cuda Compiler Driver 2.2
8290 lt_prog_compiler_wl='-Xlinker '
8291 lt_prog_compiler_pic='-Xcompiler -fPIC'
8295 # PORTME Check for flag to pass linker flags through the system compiler.
8298 lt_prog_compiler_wl='-Wl,'
8299 if test "$host_cpu" = ia64; then
8300 # AIX 5 now supports IA64 processor
8301 lt_prog_compiler_static='-Bstatic'
8303 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8307 mingw* | cygwin* | pw32* | os2* | cegcc*)
8308 # This hack is so that the source file can tell whether it is being
8309 # built for inclusion in a dll (and should export symbols for example).
8310 lt_prog_compiler_pic='-DDLL_EXPORT'
8313 hpux9* | hpux10* | hpux11*)
8314 lt_prog_compiler_wl='-Wl,'
8315 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8322 lt_prog_compiler_pic='+Z'
8325 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8326 lt_prog_compiler_static='${wl}-a ${wl}archive'
8329 irix5* | irix6* | nonstopux*)
8330 lt_prog_compiler_wl='-Wl,'
8331 # PIC (with -KPIC) is the default.
8332 lt_prog_compiler_static='-non_shared'
8335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8336 case $cc_basename in
8337 # old Intel for x86_64 which still supported -KPIC.
8339 lt_prog_compiler_wl='-Wl,'
8340 lt_prog_compiler_pic='-KPIC'
8341 lt_prog_compiler_static='-static'
8343 # icc used to be incompatible with GCC.
8344 # ICC 10 doesn't accept -KPIC any more.
8346 lt_prog_compiler_wl='-Wl,'
8347 lt_prog_compiler_pic='-fPIC'
8348 lt_prog_compiler_static='-static'
8350 # Lahey Fortran 8.1.
8352 lt_prog_compiler_wl='-Wl,'
8353 lt_prog_compiler_pic='--shared'
8354 lt_prog_compiler_static='--static'
8356 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8357 # Portland Group compilers (*not* the Pentium gcc compiler,
8358 # which looks to be a dead project)
8359 lt_prog_compiler_wl='-Wl,'
8360 lt_prog_compiler_pic='-fpic'
8361 lt_prog_compiler_static='-Bstatic'
8364 lt_prog_compiler_wl='-Wl,'
8365 # All Alpha code is PIC.
8366 lt_prog_compiler_static='-non_shared'
8368 xl* | bgxl* | bgf* | mpixl*)
8369 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8370 lt_prog_compiler_wl='-Wl,'
8371 lt_prog_compiler_pic='-qpic'
8372 lt_prog_compiler_static='-qstaticlink'
8375 case `$CC -V 2>&1 | sed 5q` in
8376 *Sun\ F* | *Sun*Fortran*)
8377 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8378 lt_prog_compiler_pic='-KPIC'
8379 lt_prog_compiler_static='-Bstatic'
8380 lt_prog_compiler_wl=''
8384 lt_prog_compiler_pic='-KPIC'
8385 lt_prog_compiler_static='-Bstatic'
8386 lt_prog_compiler_wl='-Wl,'
8394 lt_prog_compiler_pic='-KPIC'
8395 lt_prog_compiler_static='-Bstatic'
8399 # QNX uses GNU C++, but need to define -shared option too, otherwise
8401 lt_prog_compiler_pic='-fPIC -shared'
8404 osf3* | osf4* | osf5*)
8405 lt_prog_compiler_wl='-Wl,'
8406 # All OSF/1 code is PIC.
8407 lt_prog_compiler_static='-non_shared'
8411 lt_prog_compiler_static='-non_shared'
8415 lt_prog_compiler_pic='-KPIC'
8416 lt_prog_compiler_static='-Bstatic'
8417 case $cc_basename in
8419 lt_prog_compiler_wl='-Qoption ld ';;
8421 lt_prog_compiler_wl='-Wl,';;
8426 lt_prog_compiler_wl='-Qoption ld '
8427 lt_prog_compiler_pic='-PIC'
8428 lt_prog_compiler_static='-Bstatic'
8431 sysv4 | sysv4.2uw2* | sysv4.3*)
8432 lt_prog_compiler_wl='-Wl,'
8433 lt_prog_compiler_pic='-KPIC'
8434 lt_prog_compiler_static='-Bstatic'
8438 if test -d /usr/nec ;then
8439 lt_prog_compiler_pic='-Kconform_pic'
8440 lt_prog_compiler_static='-Bstatic'
8444 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8445 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_pic='-KPIC'
8447 lt_prog_compiler_static='-Bstatic'
8451 lt_prog_compiler_wl='-Wl,'
8452 lt_prog_compiler_can_build_shared=no
8456 lt_prog_compiler_pic='-pic'
8457 lt_prog_compiler_static='-Bstatic'
8461 lt_prog_compiler_can_build_shared=no
8467 # For platforms which do not support PIC, -DPIC is meaningless:
8469 lt_prog_compiler_pic=
8472 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8476 $as_echo "$lt_prog_compiler_pic" >&6; }
8484 # Check to make sure the PIC flag actually works.
8486 if test -n "$lt_prog_compiler_pic"; then
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8488 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8489 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8490 $as_echo_n "(cached
) " >&6
8492 lt_cv_prog_compiler_pic_works=no
8493 ac_outfile=conftest.$ac_objext
8494 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8495 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8496 # Insert the option either (1) after the last *FLAGS variable, or
8497 # (2) before a word containing "conftest.
", or (3) at the end.
8498 # Note that $ac_compile itself does not contain backslashes and begins
8499 # with a dollar sign (not a hyphen), so the echo should work correctly.
8500 # The option is referenced via a variable to avoid confusing sed.
8501 lt_compile=`echo "$ac_compile" | $SED \
8502 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8504 -e 's:$: $lt_compiler_flag:'`
8505 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8506 (eval "$lt_compile" 2>conftest.err)
8508 cat conftest.err >&5
8509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8510 if (exit $ac_status) && test -s "$ac_outfile"; then
8511 # The compiler can only warn and ignore the option if not recognized
8512 # So say no if there are warnings other than the usual output.
8513 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8514 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8515 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8516 lt_cv_prog_compiler_pic_works=yes
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8523 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8525 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8526 case $lt_prog_compiler_pic in
8528 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8531 lt_prog_compiler_pic=
8532 lt_prog_compiler_can_build_shared=no
8543 # Check to make sure the static flag actually works.
8545 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8547 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8548 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8549 $as_echo_n "(cached
) " >&6
8551 lt_cv_prog_compiler_static_works=no
8552 save_LDFLAGS="$LDFLAGS"
8553 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8554 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8555 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8556 # The linker can only warn and ignore the option if not recognized
8557 # So say no if there are warnings
8558 if test -s conftest.err; then
8559 # Append any errors to the config.log.
8560 cat conftest.err 1>&5
8561 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8562 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8563 if diff conftest.exp conftest.er2 >/dev/null; then
8564 lt_cv_prog_compiler_static_works=yes
8567 lt_cv_prog_compiler_static_works=yes
8571 LDFLAGS="$save_LDFLAGS"
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8575 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8577 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8580 lt_prog_compiler_static=
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8590 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8591 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8592 $as_echo_n "(cached
) " >&6
8594 lt_cv_prog_compiler_c_o=no
8595 $RM -r conftest 2>/dev/null
8599 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8601 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8602 # Insert the option either (1) after the last *FLAGS variable, or
8603 # (2) before a word containing "conftest.
", or (3) at the end.
8604 # Note that $ac_compile itself does not contain backslashes and begins
8605 # with a dollar sign (not a hyphen), so the echo should work correctly.
8606 lt_compile=`echo "$ac_compile" | $SED \
8607 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8608 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8609 -e 's:$: $lt_compiler_flag:'`
8610 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8611 (eval "$lt_compile" 2>out/conftest.err)
8613 cat out/conftest.err >&5
8614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8615 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8617 # The compiler can only warn and ignore the option if not recognized
8618 # So say no if there are warnings
8619 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8620 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8621 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8622 lt_cv_prog_compiler_c_o=yes
8627 # SGI C++ compiler will create directory out/ii_files/ for
8628 # template instantiation
8629 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8630 $RM out/* && rmdir out
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8637 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8645 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8646 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8647 $as_echo_n "(cached
) " >&6
8649 lt_cv_prog_compiler_c_o=no
8650 $RM -r conftest 2>/dev/null
8654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8656 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8657 # Insert the option either (1) after the last *FLAGS variable, or
8658 # (2) before a word containing "conftest.
", or (3) at the end.
8659 # Note that $ac_compile itself does not contain backslashes and begins
8660 # with a dollar sign (not a hyphen), so the echo should work correctly.
8661 lt_compile=`echo "$ac_compile" | $SED \
8662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8664 -e 's:$: $lt_compiler_flag:'`
8665 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8666 (eval "$lt_compile" 2>out/conftest.err)
8668 cat out/conftest.err >&5
8669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8670 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8672 # The compiler can only warn and ignore the option if not recognized
8673 # So say no if there are warnings
8674 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8675 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8676 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8677 lt_cv_prog_compiler_c_o=yes
8682 # SGI C++ compiler will create directory out/ii_files/ for
8683 # template instantiation
8684 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8685 $RM out/* && rmdir out
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8692 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8697 hard_links="nottested
"
8698 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8699 # do not overwrite the value of need_locks provided by the user
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8701 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8704 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8706 ln conftest.a conftest.b 2>&5 || hard_links=no
8707 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8709 $as_echo "$hard_links" >&6; }
8710 if test "$hard_links" = no; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8712 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8725 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8728 allow_undefined_flag=
8729 always_export_symbols=no
8731 archive_expsym_cmds=
8732 compiler_needs_object=no
8733 enable_shared_with_static_runtimes=no
8734 export_dynamic_flag_spec=
8735 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8736 hardcode_automatic=no
8738 hardcode_direct_absolute=no
8739 hardcode_libdir_flag_spec=
8740 hardcode_libdir_flag_spec_ld=
8741 hardcode_libdir_separator=
8743 hardcode_shlibpath_var=unsupported
8745 link_all_deplibs=unknown
8748 old_archive_from_new_cmds=
8749 old_archive_from_expsyms_cmds=
8750 thread_safe_flag_spec=
8751 whole_archive_flag_spec=
8752 # include_expsyms should be a list of space-separated symbols to be *always*
8753 # included in the symbol list
8755 # exclude_expsyms can be an extended regexp of symbols to exclude
8756 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8757 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8758 # as well as any symbol that contains `d'.
8759 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8760 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8761 # platforms (ab)use it in PIC code, but their linkers get confused if
8762 # the symbol is explicitly referenced. Since portable code cannot
8763 # rely on this symbol name, it's probably fine to never include it in
8764 # preloaded symbol tables.
8765 # Exclude shared library initialization/finalization symbols.
8766 extract_expsyms_cmds=
8769 cygwin* | mingw* | pw32* | cegcc*)
8770 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8771 # When not using gcc, we currently assume that we are using
8772 # Microsoft Visual C++.
8773 if test "$GCC" != yes; then
8778 # we just hope/assume this is gcc and not c89 (= MSVC++)
8788 # On some targets, GNU ld is compatible enough with the native linker
8789 # that we're better off using the native interface for both.
8790 lt_use_gnu_ld_interface=no
8791 if test "$with_gnu_ld" = yes; then
8794 # The AIX port of GNU ld has always aspired to compatibility
8795 # with the native linker. However, as the warning in the GNU ld
8796 # block says, versions before 2.19.5* couldn't really create working
8797 # shared libraries, regardless of the interface used.
8798 case `$LD -v 2>&1` in
8799 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8800 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8801 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8803 lt_use_gnu_ld_interface=yes
8808 lt_use_gnu_ld_interface=yes
8813 if test "$lt_use_gnu_ld_interface" = yes; then
8814 # If archive_cmds runs LD, not CC, wlarc should be empty
8817 # Set some defaults for GNU ld with shared library support. These
8818 # are reset later if shared libraries are not supported. Putting them
8819 # here allows them to be overridden if necessary.
8820 runpath_var=LD_RUN_PATH
8821 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8822 export_dynamic_flag_spec='${wl}--export-dynamic'
8823 # ancient GNU ld didn't support --whole-archive et. al.
8824 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8825 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8827 whole_archive_flag_spec=
8829 supports_anon_versioning=no
8830 case `$LD -v 2>&1` in
8831 *GNU\ gold*) supports_anon_versioning=yes ;;
8832 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8833 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8834 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8835 *\ 2.11.*) ;; # other 2.11 versions
8836 *) supports_anon_versioning=yes ;;
8839 # See if GNU ld supports shared libraries.
8842 # On AIX/PPC, the GNU linker is very broken
8843 if test "$host_cpu" != ia64; then
8847 *** Warning: the GNU linker, at least up to release 2.19, is reported
8848 *** to be unable to reliably create shared libraries on AIX.
8849 *** Therefore, libtool is disabling shared libraries support. If you
8850 *** really care for shared libraries, you may want to install binutils
8851 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8852 *** You will then need to restart the configuration process.
8861 # see comment about AmigaOS4 .so support
8862 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8863 archive_expsym_cmds=''
8866 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)'
8867 hardcode_libdir_flag_spec
='-L$libdir'
8868 hardcode_minus_L
=yes
8874 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8875 allow_undefined_flag
=unsupported
8876 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8877 # support --undefined. This deserves some investigation. FIXME
8878 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8884 cygwin
* | mingw
* | pw32
* | cegcc
*)
8885 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8886 # as there is no search path for DLLs.
8887 hardcode_libdir_flag_spec
='-L$libdir'
8888 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8889 allow_undefined_flag
=unsupported
8890 always_export_symbols
=no
8891 enable_shared_with_static_runtimes
=yes
8892 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8894 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8895 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8896 # If the export-symbols file already is a .def file (1st line
8897 # is EXPORTS), use it as is; otherwise, prepend...
8898 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8899 cp $export_symbols $output_objdir/$soname.def;
8901 echo EXPORTS > $output_objdir/$soname.def;
8902 cat $export_symbols >> $output_objdir/$soname.def;
8904 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8911 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8912 link_all_deplibs
=yes
8917 hardcode_shlibpath_var
=no
8918 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8919 export_dynamic_flag_spec
='${wl}-E'
8920 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8921 # Instead, shared libraries are loaded at an image base (0x10000000 by
8922 # default) and relocated if they conflict, which is a slow very memory
8923 # consuming and fragmenting process. To avoid this, we pick a random,
8924 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8925 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8926 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8927 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'
8930 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8932 if test "$host_os" = linux-dietlibc
; then
8933 case $cc_basename in
8934 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8937 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8938 && test "$tmp_diet" = no
8940 tmp_addflag
=' $pic_flag'
8941 tmp_sharedflag
='-shared'
8942 case $cc_basename,$host_cpu in
8943 pgcc
*) # Portland Group C compiler
8944 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'
8945 tmp_addflag
=' $pic_flag'
8947 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8948 # Portland Group f77 and f90 compilers
8949 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'
8950 tmp_addflag
=' $pic_flag -Mnomain' ;;
8951 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8952 tmp_addflag
=' -i_dynamic' ;;
8953 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8954 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8955 ifc
* | ifort
*) # Intel Fortran compiler
8956 tmp_addflag
=' -nofor_main' ;;
8957 lf95
*) # Lahey Fortran 8.1
8958 whole_archive_flag_spec
=
8959 tmp_sharedflag
='--shared' ;;
8960 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8961 tmp_sharedflag
='-qmkshrobj'
8963 nvcc
*) # Cuda Compiler Driver 2.2
8964 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'
8965 compiler_needs_object
=yes
8968 case `$CC -V 2>&1 | sed 5q` in
8969 *Sun\ C
*) # Sun C 5.9
8970 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'
8971 compiler_needs_object
=yes
8972 tmp_sharedflag
='-G' ;;
8973 *Sun\ F
*) # Sun Fortran 8.3
8974 tmp_sharedflag
='-G' ;;
8976 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8978 if test "x$supports_anon_versioning" = xyes
; then
8979 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8980 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8981 echo "local: *; };" >> $output_objdir/$libname.ver~
8982 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8985 case $cc_basename in
8986 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8987 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8988 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8989 hardcode_libdir_flag_spec
=
8990 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8991 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8992 if test "x$supports_anon_versioning" = xyes
; then
8993 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8994 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8995 echo "local: *; };" >> $output_objdir/$libname.ver~
8996 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9006 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9007 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9016 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9020 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9021 *** create shared libraries on Solaris systems. Therefore, libtool
9022 *** is disabling shared libraries support. We urge you to upgrade GNU
9023 *** binutils to release 2.9.1 or newer. Another option is to modify
9024 *** your PATH or compiler configuration so that the native linker is
9025 *** used, and then restart.
9028 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9029 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9030 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9036 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9037 case `$LD -v 2>&1` in
9038 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9042 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9043 *** reliably create shared libraries on SCO systems. Therefore, libtool
9044 *** is disabling shared libraries support. We urge you to upgrade GNU
9045 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9046 *** your PATH or compiler configuration so that the native linker is
9047 *** used, and then restart.
9052 # For security reasons, it is highly recommended that you always
9053 # use absolute paths for naming shared libraries, and exclude the
9054 # DT_RUNPATH tag from executables and libraries. But doing so
9055 # requires that you compile everything twice, which is a pain.
9056 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9057 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9058 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9059 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9068 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9071 hardcode_shlibpath_var
=no
9075 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9076 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9077 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9084 if test "$ld_shlibs" = no
; then
9086 hardcode_libdir_flag_spec
=
9087 export_dynamic_flag_spec
=
9088 whole_archive_flag_spec
=
9091 # PORTME fill in a description of your system's linker (not GNU ld)
9094 allow_undefined_flag
=unsupported
9095 always_export_symbols
=yes
9096 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'
9097 # Note: this linker hardcodes the directories in LIBPATH if there
9098 # are no directories specified by -L.
9099 hardcode_minus_L
=yes
9100 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9101 # Neither direct hardcoding nor static linking is supported with a
9103 hardcode_direct
=unsupported
9108 if test "$host_cpu" = ia64
; then
9109 # On IA64, the linker does run time linking by default, so we don't
9110 # have to do anything special.
9111 aix_use_runtimelinking
=no
9112 exp_sym_flag
='-Bexport'
9115 # If we're using GNU nm, then we don't want the "-C" option.
9116 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9117 # Also, AIX nm treats weak defined symbols like other global
9118 # defined symbols, whereas GNU nm marks them as "W".
9119 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9120 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'
9122 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'
9124 aix_use_runtimelinking
=no
9126 # Test if we are trying to use run time linking or normal
9127 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9128 # need to do runtime linking.
9129 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9130 for ld_flag
in $LDFLAGS; do
9131 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9132 aix_use_runtimelinking
=yes
9139 exp_sym_flag
='-bexport'
9140 no_entry_flag
='-bnoentry'
9143 # When large executables or shared objects are built, AIX ld can
9144 # have problems creating the table of contents. If linking a library
9145 # or program results in "error TOC overflow" add -mminimal-toc to
9146 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9147 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9151 hardcode_direct_absolute
=yes
9152 hardcode_libdir_separator
=':'
9153 link_all_deplibs
=yes
9154 file_list_spec
='${wl}-f,'
9156 if test "$GCC" = yes; then
9157 case $host_os in aix4.
[012]|aix4.
[012].
*)
9158 # We only want to do this on AIX 4.2 and lower, the check
9159 # below for broken collect2 doesn't work under 4.3+
9160 collect2name
=`${CC} -print-prog-name=collect2`
9161 if test -f "$collect2name" &&
9162 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9164 # We have reworked collect2
9167 # We have old collect2
9168 hardcode_direct
=unsupported
9169 # It fails to find uninstalled libraries when the uninstalled
9170 # path is not listed in the libpath. Setting hardcode_minus_L
9171 # to unsupported forces relinking
9172 hardcode_minus_L
=yes
9173 hardcode_libdir_flag_spec
='-L$libdir'
9174 hardcode_libdir_separator
=
9178 shared_flag
='-shared'
9179 if test "$aix_use_runtimelinking" = yes; then
9180 shared_flag
="$shared_flag "'${wl}-G'
9184 if test "$host_cpu" = ia64
; then
9185 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9186 # chokes on -Wl,-G. The following line is correct:
9189 if test "$aix_use_runtimelinking" = yes; then
9190 shared_flag
='${wl}-G'
9192 shared_flag
='${wl}-bM:SRE'
9197 export_dynamic_flag_spec
='${wl}-bexpall'
9198 # It seems that -bexpall does not export symbols beginning with
9199 # underscore (_), so it is better to generate a list of symbols to export.
9200 always_export_symbols
=yes
9201 if test "$aix_use_runtimelinking" = yes; then
9202 # Warning - without using the other runtime loading flags (-brtl),
9203 # -berok will link without error, but may produce a broken library.
9204 allow_undefined_flag
='-berok'
9205 # Determine the default libpath from the value encoded in an
9207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9208 /* end confdefs.h. */
9218 if ac_fn_c_try_link
"$LINENO"; then :
9220 lt_aix_libpath_sed
='
9221 /Import File Strings/,/^$/ {
9227 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9228 # Check for a 64-bit object if we didn't find anything.
9229 if test -z "$aix_libpath"; then
9230 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9233 rm -f core conftest.err conftest.
$ac_objext \
9234 conftest
$ac_exeext conftest.
$ac_ext
9235 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9237 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9238 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"
9240 if test "$host_cpu" = ia64
; then
9241 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9242 allow_undefined_flag
="-z nodefs"
9243 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"
9245 # Determine the default libpath from the value encoded in an
9247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9258 if ac_fn_c_try_link
"$LINENO"; then :
9260 lt_aix_libpath_sed
='
9261 /Import File Strings/,/^$/ {
9267 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9268 # Check for a 64-bit object if we didn't find anything.
9269 if test -z "$aix_libpath"; then
9270 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9273 rm -f core conftest.err conftest.
$ac_objext \
9274 conftest
$ac_exeext conftest.
$ac_ext
9275 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9277 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9278 # Warning - without using the other run time loading flags,
9279 # -berok will link without error, but may produce a broken library.
9280 no_undefined_flag
=' ${wl}-bernotok'
9281 allow_undefined_flag
=' ${wl}-berok'
9282 if test "$with_gnu_ld" = yes; then
9283 # We only use this code for GNU lds that support --whole-archive.
9284 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9286 # Exported symbols can be pulled into shared objects from archives
9287 whole_archive_flag_spec
='$convenience'
9289 archive_cmds_need_lc
=yes
9290 # This is similar to how AIX traditionally builds its shared libraries.
9291 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'
9299 # see comment about AmigaOS4 .so support
9300 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 archive_expsym_cmds
=''
9304 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)'
9305 hardcode_libdir_flag_spec
='-L$libdir'
9306 hardcode_minus_L
=yes
9312 export_dynamic_flag_spec
=-rdynamic
9315 cygwin
* | mingw
* | pw32
* | cegcc
*)
9316 # When not using gcc, we currently assume that we are using
9317 # Microsoft Visual C++.
9318 # hardcode_libdir_flag_spec is actually meaningless, as there is
9319 # no search path for DLLs.
9320 hardcode_libdir_flag_spec
=' '
9321 allow_undefined_flag
=unsupported
9322 # Tell ltmain to make .lib files, not .a files.
9324 # Tell ltmain to make .dll files, not .so files.
9326 # FIXME: Setting linknames here is a bad hack.
9327 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9328 # The linker will automatically build a .lib file if we build a DLL.
9329 old_archive_from_new_cmds
='true'
9330 # FIXME: Should let the user specify the lib program.
9331 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9332 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9333 enable_shared_with_static_runtimes
=yes
9336 darwin
* | rhapsody
*)
9339 archive_cmds_need_lc
=no
9341 hardcode_automatic
=yes
9342 hardcode_shlibpath_var
=unsupported
9343 if test "$lt_cv_ld_force_load" = "yes"; then
9344 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\"`'
9346 whole_archive_flag_spec
=''
9348 link_all_deplibs
=yes
9349 allow_undefined_flag
="$_lt_dar_allow_undefined"
9350 case $cc_basename in
9351 ifort
*) _lt_dar_can_shared
=yes ;;
9352 *) _lt_dar_can_shared
=$GCC ;;
9354 if test "$_lt_dar_can_shared" = "yes"; then
9355 output_verbose_link_cmd
=func_echo_all
9356 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9357 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9358 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}"
9359 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}"
9368 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9369 hardcode_libdir_flag_spec
='-L$libdir'
9370 hardcode_shlibpath_var
=no
9373 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9374 # support. Future versions do this automatically, but an explicit c++rt0.o
9375 # does not break anything, and helps significantly (at the cost of a little
9378 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9379 hardcode_libdir_flag_spec
='-R$libdir'
9381 hardcode_shlibpath_var
=no
9384 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9386 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9388 hardcode_minus_L
=yes
9389 hardcode_shlibpath_var
=no
9392 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9393 freebsd
* | dragonfly
*)
9394 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9395 hardcode_libdir_flag_spec
='-R$libdir'
9397 hardcode_shlibpath_var
=no
9401 if test "$GCC" = yes; then
9402 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'
9404 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'
9406 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9407 hardcode_libdir_separator
=:
9410 # hardcode_minus_L: Not really in the search PATH,
9411 # but as the default location of the library.
9412 hardcode_minus_L
=yes
9413 export_dynamic_flag_spec
='${wl}-E'
9417 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9418 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9420 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9422 if test "$with_gnu_ld" = no
; then
9423 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9424 hardcode_libdir_flag_spec_ld
='+b $libdir'
9425 hardcode_libdir_separator
=:
9427 hardcode_direct_absolute
=yes
9428 export_dynamic_flag_spec
='${wl}-E'
9429 # hardcode_minus_L: Not really in the search PATH,
9430 # but as the default location of the library.
9431 hardcode_minus_L
=yes
9436 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9439 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9442 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9445 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9451 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9454 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9458 # Older versions of the 11.00 compiler do not understand -b yet
9459 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9461 $as_echo_n "checking if $CC understands -b... " >&6; }
9462 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9463 $as_echo_n "(cached) " >&6
9465 lt_cv_prog_compiler__b
=no
9466 save_LDFLAGS
="$LDFLAGS"
9467 LDFLAGS
="$LDFLAGS -b"
9468 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9469 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9470 # The linker can only warn and ignore the option if not recognized
9471 # So say no if there are warnings
9472 if test -s conftest.err
; then
9473 # Append any errors to the config.log.
9474 cat conftest.err
1>&5
9475 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9476 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9477 if diff conftest.exp conftest.er2
>/dev
/null
; then
9478 lt_cv_prog_compiler__b
=yes
9481 lt_cv_prog_compiler__b
=yes
9485 LDFLAGS
="$save_LDFLAGS"
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9489 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9491 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9492 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9494 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9500 if test "$with_gnu_ld" = no
; then
9501 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9502 hardcode_libdir_separator
=:
9507 hardcode_shlibpath_var
=no
9511 hardcode_direct_absolute
=yes
9512 export_dynamic_flag_spec
='${wl}-E'
9514 # hardcode_minus_L: Not really in the search PATH,
9515 # but as the default location of the library.
9516 hardcode_minus_L
=yes
9522 irix5
* | irix6
* | nonstopux
*)
9523 if test "$GCC" = yes; then
9524 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'
9525 # Try to use the -exported_symbol ld option, if it does not
9526 # work, assume that -exports_file does not work either and
9527 # implicitly export all symbols.
9528 save_LDFLAGS
="$LDFLAGS"
9529 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9534 if ac_fn_c_try_link
"$LINENO"; then :
9535 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'
9538 rm -f core conftest.err conftest.
$ac_objext \
9539 conftest
$ac_exeext conftest.
$ac_ext
9540 LDFLAGS
="$save_LDFLAGS"
9542 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'
9543 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'
9545 archive_cmds_need_lc
='no'
9546 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9547 hardcode_libdir_separator
=:
9549 link_all_deplibs
=yes
9553 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9554 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9556 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9558 hardcode_libdir_flag_spec
='-R$libdir'
9560 hardcode_shlibpath_var
=no
9564 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9566 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9567 hardcode_libdir_separator
=:
9568 hardcode_shlibpath_var
=no
9575 if test -f /usr
/libexec
/ld.so
; then
9577 hardcode_shlibpath_var
=no
9578 hardcode_direct_absolute
=yes
9579 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9580 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9582 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9583 export_dynamic_flag_spec
='${wl}-E'
9586 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9587 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_libdir_flag_spec
='-R$libdir'
9591 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9592 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9602 hardcode_libdir_flag_spec
='-L$libdir'
9603 hardcode_minus_L
=yes
9604 allow_undefined_flag
=unsupported
9605 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'
9606 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9610 if test "$GCC" = yes; then
9611 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9612 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'
9614 allow_undefined_flag
=' -expect_unresolved \*'
9615 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'
9617 archive_cmds_need_lc
='no'
9618 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9619 hardcode_libdir_separator
=:
9622 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9623 if test "$GCC" = yes; then
9624 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9625 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'
9626 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9628 allow_undefined_flag
=' -expect_unresolved \*'
9629 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'
9630 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~
9631 $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'
9633 # Both c and cxx compiler support -rpath directly
9634 hardcode_libdir_flag_spec
='-rpath $libdir'
9636 archive_cmds_need_lc
='no'
9637 hardcode_libdir_separator
=:
9641 no_undefined_flag
=' -z defs'
9642 if test "$GCC" = yes; then
9644 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9646 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9648 case `$CC -V 2>&1` in
9651 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9652 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9653 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9657 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9658 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9659 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9663 hardcode_libdir_flag_spec
='-R$libdir'
9664 hardcode_shlibpath_var
=no
9666 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9668 # The compiler driver will combine and reorder linker options,
9669 # but understands `-z linker_flag'. GCC discards it without `$wl',
9670 # but is careful enough not to reorder.
9671 # Supported since Solaris 2.6 (maybe 2.5.1?)
9672 if test "$GCC" = yes; then
9673 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9675 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9679 link_all_deplibs
=yes
9683 if test "x$host_vendor" = xsequent
; then
9684 # Use $CC to link under sequent, because it throws in some extra .o
9685 # files that make .init and .fini sections work.
9686 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9690 hardcode_libdir_flag_spec
='-L$libdir'
9692 hardcode_minus_L
=yes
9693 hardcode_shlibpath_var
=no
9697 case $host_vendor in
9699 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9700 hardcode_direct
=yes # is this really true???
9703 ## LD is ld it makes a PLAMLIB
9704 ## CC just makes a GrossModule.
9705 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9706 reload_cmds
='$CC -r -o $output$reload_objs'
9710 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9711 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9714 runpath_var
='LD_RUN_PATH'
9715 hardcode_shlibpath_var
=no
9719 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720 hardcode_shlibpath_var
=no
9721 export_dynamic_flag_spec
='-Bexport'
9725 if test -d /usr
/nec
; then
9726 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_shlibpath_var
=no
9728 runpath_var
=LD_RUN_PATH
9729 hardcode_runpath_var
=yes
9734 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9735 no_undefined_flag
='${wl}-z,text'
9736 archive_cmds_need_lc
=no
9737 hardcode_shlibpath_var
=no
9738 runpath_var
='LD_RUN_PATH'
9740 if test "$GCC" = yes; then
9741 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9749 sysv5
* | sco3.2v5
* | sco5v6
*)
9750 # Note: We can NOT use -z defs as we might desire, because we do not
9751 # link with -lc, and that would cause any symbols used from libc to
9752 # always be unresolved, which means just about no library would
9753 # ever link correctly. If we're not using GNU ld we use -z text
9754 # though, which does catch some bad symbols but isn't as heavy-handed
9756 no_undefined_flag
='${wl}-z,text'
9757 allow_undefined_flag
='${wl}-z,nodefs'
9758 archive_cmds_need_lc
=no
9759 hardcode_shlibpath_var
=no
9760 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9761 hardcode_libdir_separator
=':'
9762 link_all_deplibs
=yes
9763 export_dynamic_flag_spec
='${wl}-Bexport'
9764 runpath_var
='LD_RUN_PATH'
9766 if test "$GCC" = yes; then
9767 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9770 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9776 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9777 hardcode_libdir_flag_spec
='-L$libdir'
9778 hardcode_shlibpath_var
=no
9786 if test x
$host_vendor = xsni
; then
9788 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9789 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9796 $as_echo "$ld_shlibs" >&6; }
9797 test "$ld_shlibs" = no
&& can_build_shared
=no
9799 with_gnu_ld
=$with_gnu_ld
9816 # Do we need to explicitly link libc?
9818 case "x$archive_cmds_need_lc" in
9820 # Assume -lc should be added
9821 archive_cmds_need_lc
=yes
9823 if test "$enable_shared" = yes && test "$GCC" = yes; then
9824 case $archive_cmds in
9826 # FIXME: we may have to deal with multi-command sequences.
9829 # Test whether the compiler implicitly links with -lc since on some
9830 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9831 # to ld, don't add -lc before -lgcc.
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9833 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9834 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9835 $as_echo_n "(cached) " >&6
9838 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9841 (eval $ac_compile) 2>&5
9843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9844 test $ac_status = 0; } 2>conftest.err
; then
9847 libobjs
=conftest.
$ac_objext
9849 wl
=$lt_prog_compiler_wl
9850 pic_flag
=$lt_prog_compiler_pic
9856 lt_save_allow_undefined_flag
=$allow_undefined_flag
9857 allow_undefined_flag
=
9858 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9859 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9862 test $ac_status = 0; }
9864 lt_cv_archive_cmds_need_lc
=no
9866 lt_cv_archive_cmds_need_lc
=yes
9868 allow_undefined_flag
=$lt_save_allow_undefined_flag
9870 cat conftest.err
1>&5
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9876 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9877 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10041 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10043 if test "$GCC" = yes; then
10045 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10046 *) lt_awk_arg
="/^libraries:/" ;;
10049 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10050 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10052 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10053 case $lt_search_path_spec in
10055 # if the path contains ";" then we assume it to be the separator
10056 # otherwise default to the standard path separator (i.e. ":") - it is
10057 # assumed that no part of a normal pathname contains ";" but that should
10058 # okay in the real world where ";" in dirpaths is itself problematic.
10059 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10062 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10065 # Ok, now we have the path, separated by spaces, we can step through it
10066 # and add multilib dir if necessary.
10067 lt_tmp_lt_search_path_spec
=
10068 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10069 for lt_sys_path
in $lt_search_path_spec; do
10070 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10071 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10073 test -d "$lt_sys_path" && \
10074 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10077 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10078 BEGIN {RS=" "; FS="/|\n";} {
10081 for (lt_i = NF; lt_i > 0; lt_i--) {
10082 if ($lt_i != "" && $lt_i != ".") {
10083 if ($lt_i == "..") {
10086 if (lt_count == 0) {
10087 lt_foo="/" $lt_i lt_foo;
10094 if (lt_foo != "") { lt_freq[lt_foo]++; }
10095 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10097 # AWK program above erroneously prepends '/' to C:/dos/paths
10100 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10101 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10103 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10105 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10107 library_names_spec
=
10108 libname_spec
='lib$name'
10112 postuninstall_cmds
=
10116 shlibpath_overrides_runpath
=unknown
10118 dynamic_linker
="$host_os ld.so"
10119 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10120 need_lib_prefix
=unknown
10121 hardcode_into_libs
=no
10123 # when you set need_version to no, make sure it does not cause -set_version
10124 # flags to be left without arguments
10125 need_version
=unknown
10130 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10131 shlibpath_var
=LIBPATH
10133 # AIX 3 has no versioning support, so we append a major version to the name.
10134 soname_spec
='${libname}${release}${shared_ext}$major'
10141 hardcode_into_libs
=yes
10142 if test "$host_cpu" = ia64
; then
10143 # AIX 5 supports IA64
10144 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10145 shlibpath_var
=LD_LIBRARY_PATH
10147 # With GCC up to 2.95.x, collect2 would create an import file
10148 # for dependence libraries. The import file would start with
10149 # the line `#! .'. This would cause the generated library to
10150 # depend on `.', always an invalid library. This was fixed in
10151 # development snapshots of GCC prior to 3.0.
10153 aix4 | aix4.
[01] | aix4.
[01].
*)
10154 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10156 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10159 can_build_shared
=no
10163 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10164 # soname into executable. Probably we can add versioning support to
10165 # collect2, so additional links can be useful in future.
10166 if test "$aix_use_runtimelinking" = yes; then
10167 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10168 # instead of lib<name>.a to let people know that these are not
10169 # typical AIX shared libraries.
10170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10172 # We preserve .a as extension for shared libraries through AIX4.2
10173 # and later when we are not doing run time linking.
10174 library_names_spec
='${libname}${release}.a $libname.a'
10175 soname_spec
='${libname}${release}${shared_ext}$major'
10177 shlibpath_var
=LIBPATH
10184 # Since July 2007 AmigaOS4 officially supports .so libraries.
10185 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10189 library_names_spec
='$libname.ixlibrary $libname.a'
10190 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10191 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'
10197 library_names_spec
='${libname}${shared_ext}'
10198 dynamic_linker
="$host_os ld.so"
10199 shlibpath_var
=LIBRARY_PATH
10205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10206 soname_spec
='${libname}${release}${shared_ext}$major'
10207 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10208 shlibpath_var
=LD_LIBRARY_PATH
10209 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10210 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10211 # the default ld.so.conf also contains /usr/contrib/lib and
10212 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10213 # libtool to hard-code these into programs
10216 cygwin
* | mingw
* | pw32
* | cegcc
*)
10217 version_type
=windows
10222 case $GCC,$host_os in
10223 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10224 library_names_spec
='$libname.dll.a'
10225 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10226 postinstall_cmds
='base_file=`basename \${file}`~
10227 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10228 dldir=$destdir/`dirname \$dlpath`~
10229 test -d \$dldir || mkdir -p \$dldir~
10230 $install_prog $dir/$dlname \$dldir/$dlname~
10231 chmod a+x \$dldir/$dlname~
10232 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10233 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10235 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10236 dlpath=$dir/\$dldll~
10238 shlibpath_overrides_runpath
=yes
10242 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10243 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10245 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10248 # MinGW DLLs use traditional 'lib' prefix
10249 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10252 # pw32 DLLs use 'pw' prefix rather than 'lib'
10253 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10259 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10262 dynamic_linker
='Win32 ld.exe'
10263 # FIXME: first we should search . and the directory the executable is in
10267 darwin
* | rhapsody
*)
10268 dynamic_linker
="$host_os dyld"
10269 version_type
=darwin
10272 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10273 soname_spec
='${libname}${release}${major}$shared_ext'
10274 shlibpath_overrides_runpath
=yes
10275 shlibpath_var
=DYLD_LIBRARY_PATH
10276 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10278 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10279 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10287 soname_spec
='${libname}${release}${shared_ext}$major'
10288 shlibpath_var
=LD_LIBRARY_PATH
10291 freebsd
* | dragonfly
*)
10292 # DragonFly does not have aout. When/if they implement a new
10293 # versioning mechanism, adjust this.
10294 if test -x /usr
/bin
/objformat
; then
10295 objformat
=`/usr/bin/objformat`
10298 freebsd
[23].
*) objformat
=aout
;;
10299 *) objformat
=elf
;;
10302 version_type
=freebsd-
$objformat
10303 case $version_type in
10305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10310 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10314 shlibpath_var
=LD_LIBRARY_PATH
10317 shlibpath_overrides_runpath
=yes
10319 freebsd3.
[01]* | freebsdelf3.
[01]*)
10320 shlibpath_overrides_runpath
=yes
10321 hardcode_into_libs
=yes
10323 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10324 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10325 shlibpath_overrides_runpath
=no
10326 hardcode_into_libs
=yes
10328 *) # from 4.6 on, and DragonFly
10329 shlibpath_overrides_runpath
=yes
10330 hardcode_into_libs
=yes
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 shlibpath_var
=LD_LIBRARY_PATH
10342 hardcode_into_libs
=yes
10349 dynamic_linker
="$host_os runtime_loader"
10350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10351 soname_spec
='${libname}${release}${shared_ext}$major'
10352 shlibpath_var
=LIBRARY_PATH
10353 shlibpath_overrides_runpath
=yes
10354 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10355 hardcode_into_libs
=yes
10358 hpux9
* | hpux10
* | hpux11
*)
10359 # Give a soname corresponding to the major version so that dld.sl refuses to
10360 # link against other versions.
10367 hardcode_into_libs
=yes
10368 dynamic_linker
="$host_os dld.so"
10369 shlibpath_var
=LD_LIBRARY_PATH
10370 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10372 soname_spec
='${libname}${release}${shared_ext}$major'
10373 if test "X$HPUX_IA64_MODE" = X32
; then
10374 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10376 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10378 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10382 hardcode_into_libs
=yes
10383 dynamic_linker
="$host_os dld.sl"
10384 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10385 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10387 soname_spec
='${libname}${release}${shared_ext}$major'
10388 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10389 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10393 dynamic_linker
="$host_os dld.sl"
10394 shlibpath_var
=SHLIB_PATH
10395 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397 soname_spec
='${libname}${release}${shared_ext}$major'
10400 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10401 postinstall_cmds
='chmod 555 $lib'
10402 # or fails outright, so override atomically:
10403 install_override_mode
=555
10410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10411 soname_spec
='${libname}${release}${shared_ext}$major'
10412 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10413 shlibpath_var
=LD_LIBRARY_PATH
10414 shlibpath_overrides_runpath
=no
10415 hardcode_into_libs
=yes
10418 irix5
* | irix6
* | nonstopux
*)
10420 nonstopux
*) version_type
=nonstopux
;;
10422 if test "$lt_cv_prog_gnu_ld" = yes; then
10430 soname_spec
='${libname}${release}${shared_ext}$major'
10431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10433 irix5
* | nonstopux
*)
10434 libsuff
= shlibsuff
=
10437 case $LD in # libtool.m4 will add one of these switches to LD
10438 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10439 libsuff
= shlibsuff
= libmagic
=32-bit;;
10440 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10441 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10442 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10443 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10444 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10448 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10449 shlibpath_overrides_runpath
=no
10450 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10451 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10452 hardcode_into_libs
=yes
10455 # No shared lib support for Linux oldld, aout, or coff.
10456 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10460 # This must be Linux ELF.
10461 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466 soname_spec
='${libname}${release}${shared_ext}$major'
10467 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10468 shlibpath_var
=LD_LIBRARY_PATH
10469 shlibpath_overrides_runpath
=no
10471 # Some binutils ld are patched to set DT_RUNPATH
10472 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10473 $as_echo_n "(cached) " >&6
10475 lt_cv_shlibpath_overrides_runpath
=no
10476 save_LDFLAGS
=$LDFLAGS
10477 save_libdir
=$libdir
10478 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10479 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10491 if ac_fn_c_try_link
"$LINENO"; then :
10492 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10493 lt_cv_shlibpath_overrides_runpath
=yes
10496 rm -f core conftest.err conftest.
$ac_objext \
10497 conftest
$ac_exeext conftest.
$ac_ext
10498 LDFLAGS
=$save_LDFLAGS
10499 libdir
=$save_libdir
10503 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10505 # This implies no fast_install, which is unacceptable.
10506 # Some rework will be needed to allow for fast_install
10507 # before this can be enabled.
10508 hardcode_into_libs
=yes
10510 # Append ld.so.conf contents to the search path
10511 if test -f /etc
/ld.so.conf
; then
10512 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' ' '`
10513 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10516 # We used to test for /lib/ld.so.1 and disable shared libraries on
10517 # powerpc, because MkLinux only supported shared libraries with the
10518 # GNU dynamic linker. Since this was broken with cross compilers,
10519 # most powerpc-linux boxes support dynamic linking these days and
10520 # people can always --disable-shared, the test was removed, and we
10521 # assume the GNU/Linux dynamic linker is in use.
10522 dynamic_linker
='GNU/Linux ld.so'
10529 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10531 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10532 dynamic_linker
='NetBSD (a.out) ld.so'
10534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10535 soname_spec
='${libname}${release}${shared_ext}$major'
10536 dynamic_linker
='NetBSD ld.elf_so'
10538 shlibpath_var
=LD_LIBRARY_PATH
10539 shlibpath_overrides_runpath
=yes
10540 hardcode_into_libs
=yes
10545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10546 shlibpath_var
=LD_LIBRARY_PATH
10547 shlibpath_overrides_runpath
=yes
10554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 soname_spec
='${libname}${release}${shared_ext}$major'
10556 shlibpath_var
=LD_LIBRARY_PATH
10557 shlibpath_overrides_runpath
=no
10558 hardcode_into_libs
=yes
10559 dynamic_linker
='ldqnx.so'
10564 sys_lib_dlsearch_path_spec
="/usr/lib"
10566 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10568 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10569 *) need_version
=no
;;
10571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10572 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10573 shlibpath_var
=LD_LIBRARY_PATH
10574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10576 openbsd2.
[89] | openbsd2.
[89].
*)
10577 shlibpath_overrides_runpath
=no
10580 shlibpath_overrides_runpath
=yes
10584 shlibpath_overrides_runpath
=yes
10589 libname_spec
='$name'
10592 library_names_spec
='$libname${shared_ext} $libname.a'
10593 dynamic_linker
='OS/2 ld.exe'
10594 shlibpath_var
=LIBPATH
10597 osf3
* | osf4
* | osf5
*)
10601 soname_spec
='${libname}${release}${shared_ext}$major'
10602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 shlibpath_var
=LD_LIBRARY_PATH
10604 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10605 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 soname_spec
='${libname}${release}${shared_ext}$major'
10618 shlibpath_var
=LD_LIBRARY_PATH
10619 shlibpath_overrides_runpath
=yes
10620 hardcode_into_libs
=yes
10621 # ldd complains unless libraries are executable
10622 postinstall_cmds
='chmod +x $lib'
10627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10628 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10629 shlibpath_var
=LD_LIBRARY_PATH
10630 shlibpath_overrides_runpath
=yes
10631 if test "$with_gnu_ld" = yes; then
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 soname_spec
='${libname}${release}${shared_ext}$major'
10641 shlibpath_var
=LD_LIBRARY_PATH
10642 case $host_vendor in
10644 shlibpath_overrides_runpath
=no
10646 runpath_var
=LD_RUN_PATH
10654 shlibpath_overrides_runpath
=no
10655 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10661 if test -d /usr
/nec
;then
10663 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10664 soname_spec
='$libname${shared_ext}.$major'
10665 shlibpath_var
=LD_LIBRARY_PATH
10669 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10670 version_type
=freebsd-elf
10673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10674 soname_spec
='${libname}${release}${shared_ext}$major'
10675 shlibpath_var
=LD_LIBRARY_PATH
10676 shlibpath_overrides_runpath
=yes
10677 hardcode_into_libs
=yes
10678 if test "$with_gnu_ld" = yes; then
10679 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10681 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10684 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10688 sys_lib_dlsearch_path_spec
='/usr/lib'
10692 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10697 shlibpath_var
=LD_LIBRARY_PATH
10698 shlibpath_overrides_runpath
=no
10699 hardcode_into_libs
=yes
10704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10705 soname_spec
='${libname}${release}${shared_ext}$major'
10706 shlibpath_var
=LD_LIBRARY_PATH
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10714 $as_echo "$dynamic_linker" >&6; }
10715 test "$dynamic_linker" = no
&& can_build_shared
=no
10717 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10718 if test "$GCC" = yes; then
10719 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10722 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10723 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10725 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10726 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10821 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10823 if test -n "$hardcode_libdir_flag_spec" ||
10824 test -n "$runpath_var" ||
10825 test "X$hardcode_automatic" = "Xyes" ; then
10827 # We can hardcode non-existent directories.
10828 if test "$hardcode_direct" != no
&&
10829 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10830 # have to relink, otherwise we might link with an installed library
10831 # when we should be linking with a yet-to-be-installed one
10832 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10833 test "$hardcode_minus_L" != no
; then
10834 # Linking always hardcodes the temporary library directory.
10835 hardcode_action
=relink
10837 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10838 hardcode_action
=immediate
10841 # We cannot hardcode anything, or else we can only hardcode existing
10843 hardcode_action
=unsupported
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10846 $as_echo "$hardcode_action" >&6; }
10848 if test "$hardcode_action" = relink ||
10849 test "$inherit_rpath" = yes; then
10850 # Fast installation is not supported
10851 enable_fast_install
=no
10852 elif test "$shlibpath_overrides_runpath" = yes ||
10853 test "$enable_shared" = no
; then
10854 # Fast installation is not necessary
10855 enable_fast_install
=needless
10863 if test "x$enable_dlopen" != xyes
; then
10864 enable_dlopen
=unknown
10865 enable_dlopen_self
=unknown
10866 enable_dlopen_self_static
=unknown
10873 lt_cv_dlopen
="load_add_on"
10875 lt_cv_dlopen_self
=yes
10878 mingw
* | pw32
* | cegcc
*)
10879 lt_cv_dlopen
="LoadLibrary"
10884 lt_cv_dlopen
="dlopen"
10889 # if libdl is installed we need to link against it
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10891 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10892 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10893 $as_echo_n "(cached) " >&6
10895 ac_check_lib_save_LIBS
=$LIBS
10897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10915 if ac_fn_c_try_link
"$LINENO"; then :
10916 ac_cv_lib_dl_dlopen
=yes
10918 ac_cv_lib_dl_dlopen
=no
10920 rm -f core conftest.err conftest.
$ac_objext \
10921 conftest
$ac_exeext conftest.
$ac_ext
10922 LIBS
=$ac_check_lib_save_LIBS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10925 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10926 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10927 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10930 lt_cv_dlopen
="dyld"
10932 lt_cv_dlopen_self
=yes
10939 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10940 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10941 lt_cv_dlopen
="shl_load"
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10944 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10945 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10946 $as_echo_n "(cached) " >&6
10948 ac_check_lib_save_LIBS
=$LIBS
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10963 return shl_load ();
10968 if ac_fn_c_try_link
"$LINENO"; then :
10969 ac_cv_lib_dld_shl_load
=yes
10971 ac_cv_lib_dld_shl_load
=no
10973 rm -f core conftest.err conftest.
$ac_objext \
10974 conftest
$ac_exeext conftest.
$ac_ext
10975 LIBS
=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10978 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10979 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10980 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10982 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10983 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10984 lt_cv_dlopen
="dlopen"
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10987 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10988 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10989 $as_echo_n "(cached) " >&6
10991 ac_check_lib_save_LIBS
=$LIBS
10993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10996 /* Override any GCC internal prototype to avoid an error.
10997 Use char because int might match the return type of a GCC
10998 builtin and then its argument prototype would still apply. */
11011 if ac_fn_c_try_link
"$LINENO"; then :
11012 ac_cv_lib_dl_dlopen
=yes
11014 ac_cv_lib_dl_dlopen
=no
11016 rm -f core conftest.err conftest.
$ac_objext \
11017 conftest
$ac_exeext conftest.
$ac_ext
11018 LIBS
=$ac_check_lib_save_LIBS
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11021 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11022 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11023 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11026 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11027 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11028 $as_echo_n "(cached) " >&6
11030 ac_check_lib_save_LIBS
=$LIBS
11031 LIBS
="-lsvld $LIBS"
11032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11035 /* Override any GCC internal prototype to avoid an error.
11036 Use char because int might match the return type of a GCC
11037 builtin and then its argument prototype would still apply. */
11050 if ac_fn_c_try_link
"$LINENO"; then :
11051 ac_cv_lib_svld_dlopen
=yes
11053 ac_cv_lib_svld_dlopen
=no
11055 rm -f core conftest.err conftest.
$ac_objext \
11056 conftest
$ac_exeext conftest.
$ac_ext
11057 LIBS
=$ac_check_lib_save_LIBS
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11060 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11061 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11062 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11065 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11066 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11067 $as_echo_n "(cached) " >&6
11069 ac_check_lib_save_LIBS
=$LIBS
11071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11084 return dld_link ();
11089 if ac_fn_c_try_link
"$LINENO"; then :
11090 ac_cv_lib_dld_dld_link
=yes
11092 ac_cv_lib_dld_dld_link
=no
11094 rm -f core conftest.err conftest.
$ac_objext \
11095 conftest
$ac_exeext conftest.
$ac_ext
11096 LIBS
=$ac_check_lib_save_LIBS
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11099 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11100 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11101 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11122 if test "x$lt_cv_dlopen" != xno
; then
11128 case $lt_cv_dlopen in
11130 save_CPPFLAGS
="$CPPFLAGS"
11131 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11133 save_LDFLAGS
="$LDFLAGS"
11134 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11137 LIBS
="$lt_cv_dlopen_libs $LIBS"
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11140 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11141 if test "${lt_cv_dlopen_self+set}" = set; then :
11142 $as_echo_n "(cached) " >&6
11144 if test "$cross_compiling" = yes; then :
11145 lt_cv_dlopen_self
=cross
11147 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11148 lt_status
=$lt_dlunknown
11149 cat > conftest.
$ac_ext <<_LT_EOF
11150 #line 11150 "configure"
11151 #include "confdefs.h"
11160 # define LT_DLGLOBAL RTLD_GLOBAL
11163 # define LT_DLGLOBAL DL_GLOBAL
11165 # define LT_DLGLOBAL 0
11169 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11170 find out it does not work in some platform. */
11171 #ifndef LT_DLLAZY_OR_NOW
11173 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11176 # define LT_DLLAZY_OR_NOW DL_LAZY
11179 # define LT_DLLAZY_OR_NOW RTLD_NOW
11182 # define LT_DLLAZY_OR_NOW DL_NOW
11184 # define LT_DLLAZY_OR_NOW 0
11191 /* When -fvisbility=hidden is used, assume the code has been annotated
11192 correspondingly for the symbols needed. */
11193 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11194 void fnord () __attribute__((visibility("default")));
11197 void fnord () { int i=42; }
11200 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11201 int status = $lt_dlunknown;
11205 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11208 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11209 else puts (dlerror ());
11211 /* dlclose (self); */
11219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11220 (eval $ac_link) 2>&5
11222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11223 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11224 (.
/conftest
; exit; ) >&5 2>/dev
/null
11226 case x
$lt_status in
11227 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11228 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11229 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11232 # compilation failed
11233 lt_cv_dlopen_self
=no
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11241 $as_echo "$lt_cv_dlopen_self" >&6; }
11243 if test "x$lt_cv_dlopen_self" = xyes
; then
11244 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11246 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11247 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11248 $as_echo_n "(cached) " >&6
11250 if test "$cross_compiling" = yes; then :
11251 lt_cv_dlopen_self_static
=cross
11253 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11254 lt_status
=$lt_dlunknown
11255 cat > conftest.
$ac_ext <<_LT_EOF
11256 #line 11256 "configure"
11257 #include "confdefs.h"
11266 # define LT_DLGLOBAL RTLD_GLOBAL
11269 # define LT_DLGLOBAL DL_GLOBAL
11271 # define LT_DLGLOBAL 0
11275 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11276 find out it does not work in some platform. */
11277 #ifndef LT_DLLAZY_OR_NOW
11279 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11282 # define LT_DLLAZY_OR_NOW DL_LAZY
11285 # define LT_DLLAZY_OR_NOW RTLD_NOW
11288 # define LT_DLLAZY_OR_NOW DL_NOW
11290 # define LT_DLLAZY_OR_NOW 0
11297 /* When -fvisbility=hidden is used, assume the code has been annotated
11298 correspondingly for the symbols needed. */
11299 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11300 void fnord () __attribute__((visibility("default")));
11303 void fnord () { int i=42; }
11306 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11307 int status = $lt_dlunknown;
11311 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11314 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11315 else puts (dlerror ());
11317 /* dlclose (self); */
11325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11326 (eval $ac_link) 2>&5
11328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11329 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11330 (.
/conftest
; exit; ) >&5 2>/dev
/null
11332 case x
$lt_status in
11333 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11334 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11335 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11338 # compilation failed
11339 lt_cv_dlopen_self_static
=no
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11347 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11350 CPPFLAGS
="$save_CPPFLAGS"
11351 LDFLAGS
="$save_LDFLAGS"
11356 case $lt_cv_dlopen_self in
11357 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11358 *) enable_dlopen_self
=unknown
;;
11361 case $lt_cv_dlopen_self_static in
11362 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11363 *) enable_dlopen_self_static
=unknown
;;
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11386 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11387 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11388 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11389 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11391 $as_echo "yes" >&6; }
11393 # FIXME - insert some real tests, host_os isn't really good enough
11396 if test -n "$STRIP" ; then
11397 striplib
="$STRIP -x"
11398 old_striplib
="$STRIP -S"
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11400 $as_echo "yes" >&6; }
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11403 $as_echo "no" >&6; }
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11408 $as_echo "no" >&6; }
11424 # Report which library types will actually be built
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11426 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11428 $as_echo "$can_build_shared" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11431 $as_echo_n "checking whether to build shared libraries... " >&6; }
11432 test "$can_build_shared" = "no" && enable_shared
=no
11434 # On AIX, shared libraries and static libraries use the same namespace, and
11435 # are all built from PIC.
11438 test "$enable_shared" = yes && enable_static
=no
11439 if test -n "$RANLIB"; then
11440 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11441 postinstall_cmds
='$RANLIB $lib'
11446 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11447 test "$enable_shared" = yes && enable_static
=no
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11452 $as_echo "$enable_shared" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11455 $as_echo_n "checking whether to build static libraries... " >&6; }
11456 # Make sure either enable_shared or enable_static is yes.
11457 test "$enable_shared" = yes || enable_static
=yes
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11459 $as_echo "$enable_static" >&6; }
11466 ac_cpp
='$CPP $CPPFLAGS'
11467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11485 ac_config_commands
="$ac_config_commands libtool"
11490 # Only expand once:
11494 # Check whether --enable-targets was given.
11495 if test "${enable_targets+set}" = set; then :
11496 enableval
=$enable_targets; case "${enableval}" in
11497 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11499 no
) enable_targets
= ;;
11500 *) enable_targets
=$enableval ;;
11505 # Set the 'development' global.
11506 .
$srcdir/..
/bfd
/development.sh
11508 # Default set of GCC warnings to enable.
11509 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11511 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11517 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
11520 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11525 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11531 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
11534 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
11539 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
11540 WARN_WRITE_STRINGS
=""
11541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11546 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
11549 WARN_WRITE_STRINGS
="-Wwrite-strings"
11554 # Check whether --enable-werror was given.
11555 if test "${enable_werror+set}" = set; then :
11556 enableval
=$enable_werror; case "${enableval}" in
11557 yes | y
) ERROR_ON_WARNING
="yes" ;;
11558 no | n
) ERROR_ON_WARNING
="no" ;;
11559 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11564 # Disable -Wformat by default when using gcc on mingw
11567 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11568 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11574 # Enable -Werror by default when using gcc. Turn it off for releases.
11575 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
11576 ERROR_ON_WARNING
=yes
11580 if test "${ERROR_ON_WARNING}" = yes ; then
11581 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11582 NO_WERROR
="-Wno-error"
11585 if test "${GCC}" = yes ; then
11586 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11589 # Check whether --enable-build-warnings was given.
11590 if test "${enable_build_warnings+set}" = set; then :
11591 enableval
=$enable_build_warnings; case "${enableval}" in
11592 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11593 no
) if test "${GCC}" = yes ; then
11596 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11597 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11598 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11599 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11600 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11605 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11606 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11614 ac_cpp
='$CPP $CPPFLAGS'
11615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11619 NO_WMISSING_FIELD_INITIALIZERS
=
11620 save_CFLAGS
="$CFLAGS"
11621 for real_option
in -Wno-missing-field-initializers; do
11622 # Do the check with the no- prefix removed since gcc silently
11623 # accepts any -Wno-* option on purpose
11624 case $real_option in
11625 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
11626 *) option
=$real_option ;;
11628 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
11631 $as_echo_n "checking whether $CC supports $option... " >&6; }
11632 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
11633 $as_echo_n "(cached) " >&6
11636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11647 if ac_fn_c_try_compile
"$LINENO"; then :
11648 eval "$as_acx_Woption=yes"
11650 eval "$as_acx_Woption=no"
11652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11655 eval ac_res
=\$
$as_acx_Woption
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11657 $as_echo "$ac_res" >&6; }
11658 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
11659 NO_WMISSING_FIELD_INITIALIZERS
="$NO_WMISSING_FIELD_INITIALIZERS${NO_WMISSING_FIELD_INITIALIZERS:+ }$real_option"
11662 CFLAGS
="$save_CFLAGS"
11664 ac_cpp
='$CPP $CPPFLAGS'
11665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11671 ac_config_headers
="$ac_config_headers config.h:config.in"
11677 if test -z "$target" ; then
11678 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11683 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11684 # Check whether --enable-maintainer-mode was given.
11685 if test "${enable_maintainer_mode+set}" = set; then :
11686 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11688 USE_MAINTAINER_MODE
=no
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11692 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11693 if test $USE_MAINTAINER_MODE = yes; then
11694 MAINTAINER_MODE_TRUE
=
11695 MAINTAINER_MODE_FALSE
='#'
11697 MAINTAINER_MODE_TRUE
='#'
11698 MAINTAINER_MODE_FALSE
=
11701 MAINT
=$MAINTAINER_MODE_TRUE
11704 case ${build_alias} in
11705 "") build_noncanonical
=${build} ;;
11706 *) build_noncanonical
=${build_alias} ;;
11709 case ${host_alias} in
11710 "") host_noncanonical
=${build_noncanonical} ;;
11711 *) host_noncanonical
=${host_alias} ;;
11714 case ${target_alias} in
11715 "") target_noncanonical
=${host_noncanonical} ;;
11716 *) target_noncanonical
=${target_alias} ;;
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
11720 $as_echo_n "checking whether to install libbfd... " >&6; }
11721 # Check whether --enable-install-libbfd was given.
11722 if test "${enable_install_libbfd+set}" = set; then :
11723 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
11725 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
11726 install_libbfd_p
=yes
11728 install_libbfd_p
=no
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
11733 $as_echo "$install_libbfd_p" >&6; }
11734 if test $install_libbfd_p = yes; then
11735 INSTALL_LIBBFD_TRUE
=
11736 INSTALL_LIBBFD_FALSE
='#'
11738 INSTALL_LIBBFD_TRUE
='#'
11739 INSTALL_LIBBFD_FALSE
=
11742 # Need _noncanonical variables for this.
11747 # libbfd.a is a host library containing target dependent code
11748 bfdlibdir
='$(libdir)'
11749 bfdincludedir
='$(includedir)'
11750 if test "${host}" != "${target}"; then
11751 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11752 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11762 # host-specific stuff:
11764 ALL_LINGUAS
="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN it uk"
11765 # If we haven't got the data from the intl directory,
11766 # assume NLS is disabled.
11775 if test -f ..
/intl
/config.intl
; then
11776 . ..
/intl
/config.intl
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11779 $as_echo_n "checking whether NLS is requested... " >&6; }
11780 if test x
"$USE_NLS" != xyes
; then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11785 $as_echo "yes" >&6; }
11787 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11791 $as_echo_n "checking for catalogs to be installed... " >&6; }
11792 # Look for .po and .gmo files in the source directory.
11795 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11796 # If there aren't any .gmo files the shell will give us the
11797 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11799 case "$cat" in *\
**)
11802 # The quadruple backslash is collapsed to a double backslash
11803 # by the backticks, then collapsed again by the double quotes,
11804 # leaving us with one backslash in the sed expression (right
11805 # before the dot that mustn't act as a wildcard).
11806 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11807 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11808 # The user is allowed to set LINGUAS to a list of languages to
11809 # install catalogs for. If it's empty that means "all of them."
11810 if test "x$LINGUAS" = x
; then
11811 CATALOGS
="$CATALOGS $cat"
11812 XLINGUAS
="$XLINGUAS $lang"
11814 case "$LINGUAS" in *$lang*)
11815 CATALOGS
="$CATALOGS $cat"
11816 XLINGUAS
="$XLINGUAS $lang"
11821 LINGUAS
="$XLINGUAS"
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11823 $as_echo "$LINGUAS" >&6; }
11837 if test -n "$ac_aux_dir"; then
11838 case "$ac_aux_dir" in
11839 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11840 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11843 if test -z "$MKINSTALLDIRS"; then
11844 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11850 $as_echo_n "checking whether NLS is requested... " >&6; }
11851 # Check whether --enable-nls was given.
11852 if test "${enable_nls+set}" = set; then :
11853 enableval
=$enable_nls; USE_NLS
=$enableval
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11859 $as_echo "$USE_NLS" >&6; }
11866 # Prepare PATH_SEPARATOR.
11867 # The user is always right.
11868 if test "${PATH_SEPARATOR+set}" != set; then
11869 echo "#! /bin/sh" >conf$$.sh
11870 echo "exit 0" >>conf$$.sh
11872 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11880 # Find out how to test for executable files. Don't use a zero-byte file,
11881 # as systems may use methods other than mode bits to determine executability.
11882 cat >conf$$.
file <<_ASEOF
11886 chmod +x conf$$.
file
11887 if test -x conf$$.
file >/dev
/null
2>&1; then
11888 ac_executable_p
="test -x"
11890 ac_executable_p
="test -f"
11894 # Extract the first word of "msgfmt", so it can be a program name with args.
11895 set dummy msgfmt
; ac_word
=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11897 $as_echo_n "checking for $ac_word... " >&6; }
11898 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11899 $as_echo_n "(cached) " >&6
11903 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11906 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11907 for ac_dir
in $PATH; do
11909 test -z "$ac_dir" && ac_dir
=.
11910 for ac_exec_ext
in '' $ac_executable_extensions; do
11911 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11912 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11913 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11914 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11921 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11925 MSGFMT
="$ac_cv_path_MSGFMT"
11926 if test "$MSGFMT" != ":"; then
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11928 $as_echo "$MSGFMT" >&6; }
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931 $as_echo "no" >&6; }
11934 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11935 set dummy gmsgfmt
; ac_word
=$2
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11937 $as_echo_n "checking for $ac_word... " >&6; }
11938 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11939 $as_echo_n "(cached) " >&6
11943 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11947 for as_dir
in $PATH
11950 test -z "$as_dir" && as_dir
=.
11951 for ac_exec_ext
in '' $ac_executable_extensions; do
11952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11953 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11961 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11965 GMSGFMT
=$ac_cv_path_GMSGFMT
11966 if test -n "$GMSGFMT"; then
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11968 $as_echo "$GMSGFMT" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11971 $as_echo "no" >&6; }
11977 # Prepare PATH_SEPARATOR.
11978 # The user is always right.
11979 if test "${PATH_SEPARATOR+set}" != set; then
11980 echo "#! /bin/sh" >conf$$.sh
11981 echo "exit 0" >>conf$$.sh
11983 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11991 # Find out how to test for executable files. Don't use a zero-byte file,
11992 # as systems may use methods other than mode bits to determine executability.
11993 cat >conf$$.
file <<_ASEOF
11997 chmod +x conf$$.
file
11998 if test -x conf$$.
file >/dev
/null
2>&1; then
11999 ac_executable_p
="test -x"
12001 ac_executable_p
="test -f"
12005 # Extract the first word of "xgettext", so it can be a program name with args.
12006 set dummy xgettext
; ac_word
=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 $as_echo_n "checking for $ac_word... " >&6; }
12009 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12010 $as_echo_n "(cached) " >&6
12012 case "$XGETTEXT" in
12014 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12017 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12018 for ac_dir
in $PATH; do
12020 test -z "$ac_dir" && ac_dir
=.
12021 for ac_exec_ext
in '' $ac_executable_extensions; do
12022 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12023 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12024 (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
12025 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12032 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12036 XGETTEXT
="$ac_cv_path_XGETTEXT"
12037 if test "$XGETTEXT" != ":"; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12039 $as_echo "$XGETTEXT" >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12042 $as_echo "no" >&6; }
12048 # Prepare PATH_SEPARATOR.
12049 # The user is always right.
12050 if test "${PATH_SEPARATOR+set}" != set; then
12051 echo "#! /bin/sh" >conf$$.sh
12052 echo "exit 0" >>conf$$.sh
12054 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12062 # Find out how to test for executable files. Don't use a zero-byte file,
12063 # as systems may use methods other than mode bits to determine executability.
12064 cat >conf$$.
file <<_ASEOF
12068 chmod +x conf$$.
file
12069 if test -x conf$$.
file >/dev
/null
2>&1; then
12070 ac_executable_p
="test -x"
12072 ac_executable_p
="test -f"
12076 # Extract the first word of "msgmerge", so it can be a program name with args.
12077 set dummy msgmerge
; ac_word
=$2
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12079 $as_echo_n "checking for $ac_word... " >&6; }
12080 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12083 case "$MSGMERGE" in
12085 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12088 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12089 for ac_dir
in $PATH; do
12091 test -z "$ac_dir" && ac_dir
=.
12092 for ac_exec_ext
in '' $ac_executable_extensions; do
12093 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12094 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12095 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12102 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12106 MSGMERGE
="$ac_cv_path_MSGMERGE"
12107 if test "$MSGMERGE" != ":"; then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12109 $as_echo "$MSGMERGE" >&6; }
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12112 $as_echo "no" >&6; }
12116 if test "$GMSGFMT" != ":"; then
12117 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12118 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12121 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12123 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12128 if test "$XGETTEXT" != ":"; then
12129 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12130 (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
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12134 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12140 ac_config_commands
="$ac_config_commands default-1"
12144 .
${srcdir}/..
/bfd
/configure.
host
12146 # Put a plausible default for CC_FOR_BUILD in Makefile.
12147 if test -z "$CC_FOR_BUILD"; then
12148 if test "x$cross_compiling" = "xno"; then
12149 CC_FOR_BUILD
='$(CC)'
12155 # Also set EXEEXT_FOR_BUILD.
12156 if test "x$cross_compiling" = "xno"; then
12157 EXEEXT_FOR_BUILD
='$(EXEEXT)'
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
12160 $as_echo_n "checking for build system executable suffix... " >&6; }
12161 if test "${bfd_cv_build_exeext+set}" = set; then :
12162 $as_echo_n "(cached) " >&6
12165 echo 'int main () { return 0; }' > conftest.c
12166 bfd_cv_build_exeext
=
12167 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
12168 for file in conftest.
*; do
12170 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
12171 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
12175 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
12178 $as_echo "$bfd_cv_build_exeext" >&6; }
12179 EXEEXT_FOR_BUILD
=""
12180 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12187 for ac_header
in string.h
strings.h stdlib.h limits.h
12189 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12190 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12191 eval as_val
=\$
$as_ac_Header
12192 if test "x$as_val" = x
""yes; then :
12193 cat >>confdefs.h
<<_ACEOF
12194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
12202 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
12203 if test "${gcc_cv_header_string+set}" = set; then :
12204 $as_echo_n "(cached) " >&6
12206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12208 #include <string.h>
12209 #include <strings.h>
12218 if ac_fn_c_try_compile
"$LINENO"; then :
12219 gcc_cv_header_string
=yes
12221 gcc_cv_header_string
=no
12223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
12226 $as_echo "$gcc_cv_header_string" >&6; }
12227 if test $gcc_cv_header_string = yes; then
12229 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
12234 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
12235 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
12241 cat >>confdefs.h
<<_ACEOF
12242 #define HAVE_DECL_BASENAME $ac_have_decl
12244 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
12245 if test "x$ac_cv_have_decl_stpcpy" = x
""yes; then :
12251 cat >>confdefs.h
<<_ACEOF
12252 #define HAVE_DECL_STPCPY $ac_have_decl
12256 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
12257 # since sigsetjmp might only be defined as a macro.
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
12259 $as_echo_n "checking for sigsetjmp... " >&6; }
12260 if test "${gdb_cv_func_sigsetjmp+set}" = set; then :
12261 $as_echo_n "(cached) " >&6
12263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 #include <setjmp.h>
12271 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
12276 if ac_fn_c_try_compile
"$LINENO"; then :
12277 bfd_cv_func_sigsetjmp
=yes
12279 bfd_cv_func_sigsetjmp
=no
12281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
12284 $as_echo "$gdb_cv_func_sigsetjmp" >&6; }
12285 if test $bfd_cv_func_sigsetjmp = yes; then
12287 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
12292 cgendir
='$(srcdir)/../cgen'
12294 # Check whether --enable-cgen-maint was given.
12295 if test "${enable_cgen_maint+set}" = set; then :
12296 enableval
=$enable_cgen_maint; case "${enableval}" in
12297 yes) cgen_maint
=yes ;;
12298 no
) cgen_maint
=no
;;
12300 # argument is cgen install directory (not implemented yet).
12301 # Having a `share' directory might be more appropriate for the .scm,
12302 # .cpu, etc. files.
12304 cgendir
=${cgen_maint}/lib
/cgen
12308 if test x
${cgen_maint} = xyes
; then
12310 CGEN_MAINT_FALSE
='#'
12312 CGEN_MAINT_TRUE
='#'
12320 # Check if linker supports --as-needed and --no-as-needed options
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
12322 $as_echo_n "checking linker --as-needed support... " >&6; }
12323 if test "${bfd_cv_ld_as_needed+set}" = set; then :
12324 $as_echo_n "(cached) " >&6
12326 bfd_cv_ld_as_needed
=no
12327 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
12328 bfd_cv_ld_as_needed
=yes
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
12333 $as_echo "$bfd_cv_ld_as_needed" >&6; }
12337 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
12338 # These system don't have libm, or don't need it
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12342 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12343 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12346 ac_check_lib_save_LIBS
=$LIBS
12348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12357 char _mwvalidcheckl ();
12361 return _mwvalidcheckl ();
12366 if ac_fn_c_try_link
"$LINENO"; then :
12367 ac_cv_lib_mw__mwvalidcheckl
=yes
12369 ac_cv_lib_mw__mwvalidcheckl
=no
12371 rm -f core conftest.err conftest.
$ac_objext \
12372 conftest
$ac_exeext conftest.
$ac_ext
12373 LIBS
=$ac_check_lib_save_LIBS
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12376 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12377 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x
""yes; then :
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12382 $as_echo_n "checking for cos in -lm... " >&6; }
12383 if test "${ac_cv_lib_m_cos+set}" = set; then :
12384 $as_echo_n "(cached) " >&6
12386 ac_check_lib_save_LIBS
=$LIBS
12388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12406 if ac_fn_c_try_link
"$LINENO"; then :
12407 ac_cv_lib_m_cos
=yes
12411 rm -f core conftest.err conftest.
$ac_objext \
12412 conftest
$ac_exeext conftest.
$ac_ext
12413 LIBS
=$ac_check_lib_save_LIBS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12416 $as_echo "$ac_cv_lib_m_cos" >&6; }
12417 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12424 $as_echo_n "checking for cos in -lm... " >&6; }
12425 if test "${ac_cv_lib_m_cos+set}" = set; then :
12426 $as_echo_n "(cached) " >&6
12428 ac_check_lib_save_LIBS
=$LIBS
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12448 if ac_fn_c_try_link
"$LINENO"; then :
12449 ac_cv_lib_m_cos
=yes
12453 rm -f core conftest.err conftest.
$ac_objext \
12454 conftest
$ac_exeext conftest.
$ac_ext
12455 LIBS
=$ac_check_lib_save_LIBS
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12458 $as_echo "$ac_cv_lib_m_cos" >&6; }
12459 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
12468 #Libs for generator progs
12469 if test "x$cross_compiling" = "xno"; then
12470 BUILD_LIBS
=..
/libiberty
/libiberty.a
12471 BUILD_LIB_DEPS
=$BUILD_LIBS
12473 # if cross-compiling, assume that the system provides -liberty
12474 # and that the version is compatible with new headers.
12475 BUILD_LIBS
=-liberty
12478 BUILD_LIBS
="$BUILD_LIBS $LIBINTL"
12479 BUILD_LIB_DEPS
="$BUILD_LIB_DEPS $LIBINTL_DEP"
12484 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
12487 SHARED_DEPENDENCIES
=
12488 if test "$enable_shared" = "yes"; then
12489 # When building a shared libopcodes, link against the pic version of libiberty
12490 # so that apps that use libopcodes won't need libiberty just to satisfy any
12491 # libopcodes references.
12492 # We can't do that if a pic libiberty is unavailable since including non-pic
12493 # code would insert text relocations into libopcodes.
12494 # Note that linking against libbfd as we do here, which is itself linked
12495 # against libiberty, may not satisfy all the libopcodes libiberty references
12496 # since libbfd may not pull in the entirety of libiberty.
12497 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12498 if test -n "$x"; then
12499 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
12504 SHARED_LDFLAGS
="-no-undefined"
12505 SHARED_LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
12508 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.dylib ${SHARED_LIBADD}"
12509 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
12512 case "$host_vendor" in
12514 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.sl ${SHARED_LIBADD}"
12517 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.so ${SHARED_LIBADD}"
12520 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
12524 if test -n "$SHARED_LIBADD"; then
12525 if test -n "$LIBM"; then
12526 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
12527 # Link against libm only when needed. Put -lc, -lm inside -Wl
12528 # to stop libtool reordering these options.
12529 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
12531 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
12540 # target-specific stuff:
12542 # Canonicalize the secondary target names.
12543 if test -n "$enable_targets" ; then
12544 for targ
in `echo $enable_targets | sed 's/,/ /g'`
12546 result
=`$ac_config_sub $targ 2>/dev/null`
12547 if test -n "$result" ; then
12548 canon_targets
="$canon_targets $result"
12550 # Allow targets that config.sub doesn't recognize, like "all".
12551 canon_targets
="$canon_targets $targ"
12558 for targ
in $target $canon_targets
12560 if test "x$targ" = "xall" ; then
12563 .
$srcdir/..
/bfd
/config.bfd
12564 selarchs
="$selarchs $targ_archs"
12568 # Utility var, documents generic cgen support files.
12570 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
12572 # We don't do any links based on the target system, just makefile config.
12574 if test x
${all_targets} = xfalse
; then
12576 # Target architecture .o files.
12579 for arch
in $selarchs
12581 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
12582 archdefs
="$archdefs -DARCH_$ad"
12584 bfd_aarch64_arch
) ta
="$ta aarch64-asm.lo aarch64-dis.lo aarch64-opc.lo aarch64-asm-2.lo aarch64-dis-2.lo aarch64-opc-2.lo" ;;
12585 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
12586 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
12587 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
12588 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
12589 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
12590 bfd_cr16_arch
) ta
="$ta cr16-dis.lo cr16-opc.lo" ;;
12591 bfd_cris_arch
) ta
="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
12592 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
12593 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
12594 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
12595 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
12596 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
12597 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
12598 bfd_ft32_arch
) ta
="$ta ft32-opc.lo ft32-dis.lo" ;;
12599 bfd_moxie_arch
) ta
="$ta moxie-dis.lo moxie-opc.lo" ;;
12600 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
12601 bfd_h8500_arch
) ta
="$ta h8500-dis.lo" ;;
12602 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
12603 bfd_i370_arch
) ta
="$ta i370-dis.lo i370-opc.lo" ;;
12604 bfd_i386_arch|bfd_iamcu_arch|bfd_l1om_arch|bfd_k1om_arch
)
12605 ta
="$ta i386-dis.lo i386-opc.lo" ;;
12606 bfd_i860_arch
) ta
="$ta i860-dis.lo" ;;
12607 bfd_i960_arch
) ta
="$ta i960-dis.lo" ;;
12608 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
12609 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
12610 bfd_epiphany_arch
) ta
="$ta epiphany-asm.lo epiphany-desc.lo epiphany-dis.lo epiphany-ibld.lo epiphany-opc.lo" using_cgen
=yes ;;
12611 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
12612 bfd_lm32_arch
) ta
="$ta lm32-asm.lo lm32-desc.lo lm32-dis.lo lm32-ibld.lo lm32-opc.lo lm32-opinst.lo" using_cgen
=yes ;;
12613 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
12614 bfd_m32r_arch
) ta
="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen
=yes ;;
12615 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12616 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12617 bfd_m9s12x_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12618 bfd_m9s12xg_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12619 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
12620 bfd_m88k_arch
) ta
="$ta m88k-dis.lo" ;;
12621 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
12622 bfd_mep_arch
) ta
="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen
=yes ;;
12623 bfd_metag_arch
) ta
="$ta metag-dis.lo" ;;
12624 bfd_microblaze_arch
) ta
="$ta microblaze-dis.lo" ;;
12625 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo micromips-opc.lo" ;;
12626 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
12627 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
12628 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
12629 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
12630 bfd_msp430_arch
) ta
="$ta msp430-dis.lo msp430-decode.lo" ;;
12631 bfd_nds32_arch
) ta
="$ta nds32-asm.lo nds32-dis.lo" ;;
12632 bfd_nios2_arch
) ta
="$ta nios2-dis.lo nios2-opc.lo" ;;
12633 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
12634 bfd_or1k_arch
) ta
="$ta or1k-asm.lo or1k-desc.lo or1k-dis.lo or1k-ibld.lo or1k-opc.lo" using_cgen
=yes ;;
12635 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
12636 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
12637 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12638 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12639 bfd_pyramid_arch
) ;;
12641 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12642 bfd_rl78_arch
) ta
="$ta rl78-dis.lo rl78-decode.lo";;
12643 bfd_rx_arch
) ta
="$ta rx-dis.lo rx-decode.lo";;
12644 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
12645 bfd_score_arch
) ta
="$ta score-dis.lo score7-dis.lo" ;;
12647 # We can't decide what we want just from the CPU family.
12648 # We want SH5 support unless a specific version of sh is
12649 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
12650 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
12651 for t
in $target $canon_targets; do
12653 all | sh5
*-* | sh64
*-* | sh-
*-*elf
* | shl
*-*-*elf
* | \
12654 sh-
*-linux* | shl-
*-linux*)
12655 ta
="$ta sh64-dis.lo sh64-opc.lo"
12656 archdefs
="$archdefs -DINCLUDE_SHMEDIA"
12660 ta
="$ta sh-dis.lo cgen-bitset.lo" ;;
12661 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
12662 bfd_spu_arch
) ta
="$ta spu-dis.lo spu-opc.lo" ;;
12664 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
12665 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
12666 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
12667 bfd_tic6x_arch
) ta
="$ta tic6x-dis.lo" ;;
12668 bfd_tic80_arch
) ta
="$ta tic80-dis.lo tic80-opc.lo" ;;
12669 bfd_tilegx_arch
) ta
="$ta tilegx-dis.lo tilegx-opc.lo" ;;
12670 bfd_tilepro_arch
) ta
="$ta tilepro-dis.lo tilepro-opc.lo" ;;
12671 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12672 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12673 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12674 bfd_v850_rh850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12675 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
12676 bfd_visium_arch
) ta
="$ta visium-dis.lo visium-opc.lo" ;;
12677 bfd_w65_arch
) ta
="$ta w65-dis.lo" ;;
12679 bfd_xc16x_arch
) ta
="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen
=yes ;;
12680 bfd_xgate_arch
) ta
="$ta xgate-dis.lo xgate-opc.lo" ;;
12681 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
12682 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
12683 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
12684 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
12687 *) as_fn_error
"*** unknown target architecture $arch" "$LINENO" 5 ;;
12691 if test $using_cgen = yes ; then
12692 ta
="$ta $cgen_files"
12695 # Weed out duplicate .o files.
12705 # And duplicate -D flags.
12707 for i
in $archdefs ; do
12717 else # all_targets is true
12718 archdefs
=-DARCH_all
12719 BFD_MACHINES
='$(ALL_MACHINES)'
12725 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12727 cat >confcache
<<\_ACEOF
12728 # This file is a shell script that caches the results of configure
12729 # tests run on this system so they can be shared between configure
12730 # scripts and configure runs, see configure's option --config-cache.
12731 # It is not useful on other systems. If it contains results you don't
12732 # want to keep, you may remove or edit it.
12734 # config.status only pays attention to the cache file if you give it
12735 # the --recheck option to rerun configure.
12737 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12738 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12739 # following values.
12743 # The following way of writing the cache mishandles newlines in values,
12744 # but we know of no workaround that is simple, portable, and efficient.
12745 # So, we kill variables containing newlines.
12746 # Ultrix sh set writes to stderr and can't be redirected directly,
12747 # and sets the high bit in the cache file unless we assign to the vars.
12749 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12750 eval ac_val
=\$
$ac_var
12754 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12755 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12758 _ | IFS | as_nl
) ;; #(
12759 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12760 *) { eval $ac_var=; unset $ac_var;} ;;
12766 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12767 *${as_nl}ac_space
=\
*)
12768 # `set' does not quote correctly, so add quotes: double-quote
12769 # substitution turns \\\\ into \\, and sed turns \\ into \.
12772 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12775 # `set' quotes correctly as required by POSIX, so do not add quotes.
12776 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12787 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12789 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12790 if test -w "$cache_file"; then
12791 test "x$cache_file" != "x/dev/null" &&
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12793 $as_echo "$as_me: updating cache $cache_file" >&6;}
12794 cat confcache
>$cache_file
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12797 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12802 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12803 # Let make expand exec_prefix.
12804 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12806 DEFS
=-DHAVE_CONFIG_H
12810 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12811 # 1. Remove the extension, and $U if already installed.
12812 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12813 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12814 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12815 # will be set to the directory where LIBOBJS objects are built.
12816 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12817 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12819 LIBOBJS
=$ac_libobjs
12821 LTLIBOBJS
=$ac_ltlibobjs
12824 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12825 as_fn_error
"conditional \"AMDEP\" was never defined.
12826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12828 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12829 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12832 if test -n "$EXEEXT"; then
12834 am__EXEEXT_FALSE
='#'
12836 am__EXEEXT_TRUE
='#'
12840 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12841 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12844 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12845 as_fn_error
"conditional \"INSTALL_LIBBFD\" was never defined.
12846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12848 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
12849 as_fn_error
"conditional \"CGEN_MAINT\" was never defined.
12850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12853 : ${CONFIG_STATUS=./config.status}
12855 ac_clean_files_save
=$ac_clean_files
12856 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12858 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12860 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12862 # Generated by $as_me.
12863 # Run this file to recreate the current configuration.
12864 # Compiler output produced by configure, useful for debugging
12865 # configure, is in config.log if it exists.
12868 ac_cs_recheck=false
12871 SHELL=\${CONFIG_SHELL-$SHELL}
12874 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12875 ## -------------------- ##
12876 ## M4sh Initialization. ##
12877 ## -------------------- ##
12879 # Be more Bourne compatible
12880 DUALCASE
=1; export DUALCASE
# for MKS sh
12881 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12884 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12885 # is contrary to our usage. Disable this feature.
12886 alias -g '${1+"$@"}'='"$@"'
12887 setopt NO_GLOB_SUBST
12889 case `(set -o) 2>/dev/null` in #(
12901 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12902 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12904 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12905 # Prefer a ksh shell builtin over an external printf program on Solaris,
12906 # but without wasting forks for bash or zsh.
12907 if test -z "$BASH_VERSION$ZSH_VERSION" \
12908 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12909 as_echo='print
-r --'
12910 as_echo_n='print
-rn --'
12911 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12912 as_echo='printf %s
\n'
12913 as_echo_n='printf %s
'
12915 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12916 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12917 as_echo_n='/usr
/ucb
/echo -n'
12919 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12920 as_echo_n_body='eval
12924 expr "X$arg" : "X\\(.*\\)$as_nl";
12925 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12927 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12929 export as_echo_n_body
12930 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12932 export as_echo_body
12933 as_echo='sh
-c $as_echo_body as_echo
'
12936 # The user is always right.
12937 if test "${PATH_SEPARATOR+set}" != set; then
12939 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12940 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12947 # We need space, tab and new line, in precisely that order. Quoting is
12948 # there to prevent editors from complaining about space-tab.
12949 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12950 # splitting by setting IFS to empty value.)
12953 # Find who we are. Look in the path if we contain no directory separator.
12955 *[\\/]* ) as_myself=$0 ;;
12956 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12957 for as_dir in $PATH
12960 test -z "$as_dir" && as_dir=.
12961 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12967 # We did not find ourselves, most probably we were run as `sh COMMAND'
12968 # in which case we are not to be found in the path.
12969 if test "x$as_myself" = x
; then
12972 if test ! -f "$as_myself"; then
12973 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12977 # Unset variables that we do not need and which cause bugs (e.g. in
12978 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12979 # suppresses any "Segmentation fault" message there. '((' could
12980 # trigger a bug in pdksh 5.2.14.
12981 for as_var
in BASH_ENV ENV MAIL MAILPATH
12982 do eval test x\
${$as_var+set} = xset \
12983 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12996 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12999 # as_fn_error ERROR [LINENO LOG_FD]
13000 # ---------------------------------
13001 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13002 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13003 # script with status $?, using 1 if that was 0.
13006 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13008 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13009 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13011 $as_echo "$as_me: error: $1" >&2
13012 as_fn_exit
$as_status
13016 # as_fn_set_status STATUS
13017 # -----------------------
13018 # Set $? to STATUS, without forking.
13019 as_fn_set_status
()
13022 } # as_fn_set_status
13024 # as_fn_exit STATUS
13025 # -----------------
13026 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13030 as_fn_set_status
$1
13036 # Portably unset VAR.
13039 { eval $1=; unset $1;}
13041 as_unset
=as_fn_unset
13042 # as_fn_append VAR VALUE
13043 # ----------------------
13044 # Append the text in VALUE to the end of the definition contained in VAR. Take
13045 # advantage of any shell optimizations that allow amortized linear growth over
13046 # repeated appends, instead of the typical quadratic growth present in naive
13048 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13049 eval 'as_fn_append ()
13060 # as_fn_arith ARG...
13061 # ------------------
13062 # Perform arithmetic evaluation on the ARGs, and store the result in the
13063 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13064 # must be portable across $(()) and expr.
13065 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13066 eval 'as_fn_arith ()
13073 as_val
=`expr "$@" || test $? -eq 1`
13078 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13079 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13085 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13086 as_basename
=basename
13091 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13097 as_me
=`$as_basename -- "$0" ||
13098 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13099 X"$0" : 'X\(//\)$' \| \
13100 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13102 sed '/^.*\/\([^/][^/]*\)\/*$/{
13116 # Avoid depending upon Character Ranges.
13117 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13118 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13119 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13120 as_cr_digits
='0123456789'
13121 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13123 ECHO_C
= ECHO_N
= ECHO_T
=
13124 case `echo -n x` in #(((((
13126 case `echo 'xy\c'` in
13127 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13129 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13136 rm -f conf$$ conf$$.exe conf$$.
file
13137 if test -d conf$$.dir
; then
13138 rm -f conf$$.dir
/conf$$.
file
13141 mkdir conf$$.dir
2>/dev
/null
13143 if (echo >conf$$.
file) 2>/dev
/null
; then
13144 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13146 # ... but there are two gotchas:
13147 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13148 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13149 # In both cases, we have to default to `cp -p'.
13150 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13152 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13160 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13161 rmdir conf$$.dir
2>/dev
/null
13166 # Create "$as_dir" as a directory, including parents if necessary.
13171 -*) as_dir
=.
/$as_dir;;
13173 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13177 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13178 *) as_qdir
=$as_dir;;
13180 as_dirs
="'$as_qdir' $as_dirs"
13181 as_dir
=`$as_dirname -- "$as_dir" ||
13182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13183 X"$as_dir" : 'X\(//\)[^/]' \| \
13184 X"$as_dir" : 'X\(//\)$' \| \
13185 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13186 $as_echo X"$as_dir" |
13187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13191 /^X\(\/\/\)[^/].*/{
13204 test -d "$as_dir" && break
13206 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13207 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13211 if mkdir
-p .
2>/dev
/null
; then
13212 as_mkdir_p
='mkdir -p "$as_dir"'
13214 test -d .
/-p && rmdir .
/-p
13218 if test -x / >/dev
/null
2>&1; then
13219 as_test_x
='test -x'
13221 if ls -dL / >/dev
/null
2>&1; then
13228 if test -d "$1"; then
13234 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13235 ???[sx]*):;;*)false;;esac;fi
13239 as_executable_p
=$as_test_x
13241 # Sed expression to map a string onto a valid CPP name.
13242 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13244 # Sed expression to map a string onto a valid variable name.
13245 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13249 ## ----------------------------------- ##
13250 ## Main body of $CONFIG_STATUS script. ##
13251 ## ----------------------------------- ##
13253 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13256 # Save the log message, to keep $0 and so on meaningful, and to
13257 # report actual input values of CONFIG_FILES etc. instead of their
13258 # values after options handling.
13260 This file was extended by opcodes $as_me 2.26.51, which was
13261 generated by GNU Autoconf 2.64. Invocation command line was
13263 CONFIG_FILES = $CONFIG_FILES
13264 CONFIG_HEADERS = $CONFIG_HEADERS
13265 CONFIG_LINKS = $CONFIG_LINKS
13266 CONFIG_COMMANDS = $CONFIG_COMMANDS
13269 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13274 case $ac_config_files in *"
13275 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13278 case $ac_config_headers in *"
13279 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13284 # Files that config.status was made for.
13285 config_files="$ac_config_files"
13286 config_headers="$ac_config_headers"
13287 config_commands="$ac_config_commands"
13291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13293 \`$as_me' instantiates files and other configuration actions
13294 from templates according to the current configuration. Unless the files
13295 and actions are specified as TAGs, all are instantiated by default.
13297 Usage: $0 [OPTION]... [TAG]...
13299 -h, --help print this help, then exit
13300 -V, --version print version number and configuration settings, then exit
13301 -q, --quiet, --silent
13302 do not print progress messages
13303 -d, --debug don't remove temporary files
13304 --recheck update $as_me by reconfiguring in the same conditions
13305 --file=FILE[:TEMPLATE]
13306 instantiate the configuration file FILE
13307 --header=FILE[:TEMPLATE]
13308 instantiate the configuration header FILE
13310 Configuration files:
13313 Configuration headers:
13316 Configuration commands:
13319 Report bugs to the package provider."
13322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13324 opcodes config.status 2.26.51
13325 configured by $0, generated by GNU Autoconf 2.64,
13326 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13328 Copyright (C) 2009 Free Software Foundation, Inc.
13329 This config.status script is free software; the Free Software Foundation
13330 gives unlimited permission to copy, distribute and modify it."
13337 test -n "\$AWK" || AWK=awk
13340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13341 # The default lists apply if the user does not specify any file.
13347 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13348 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13359 # Handling of the options.
13360 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13362 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13363 $as_echo "$ac_cs_version"; exit ;;
13364 --debug |
--debu |
--deb |
--de |
--d |
-d )
13366 --file |
--fil |
--fi |
--f )
13369 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13371 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13372 ac_need_defaults
=false
;;
13373 --header |
--heade |
--head |
--hea )
13376 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13378 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13379 ac_need_defaults
=false
;;
13381 # Conflict between --help and --header
13382 as_fn_error
"ambiguous option: \`$1'
13383 Try \`$0 --help' for more information.";;
13384 --help |
--hel |
-h )
13385 $as_echo "$ac_cs_usage"; exit ;;
13386 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13387 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13390 # This is an error.
13391 -*) as_fn_error
"unrecognized option: \`$1'
13392 Try \`$0 --help' for more information." ;;
13394 *) as_fn_append ac_config_targets
" $1"
13395 ac_need_defaults
=false
;;
13401 ac_configure_extra_args
=
13403 if $ac_cs_silent; then
13405 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13410 if \$ac_cs_recheck; then
13411 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13413 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13414 CONFIG_SHELL='$SHELL'
13415 export CONFIG_SHELL
13420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13424 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13425 ## Running $as_me. ##
13431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13435 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13438 # The HP-UX ksh and POSIX shell print the target directory to stdout
13439 # if CDPATH is set.
13440 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13442 sed_quote_subst='$sed_quote_subst'
13443 double_quote_subst='$double_quote_subst'
13444 delay_variable_subst='$delay_variable_subst'
13445 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13446 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13447 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13448 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13449 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13450 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13451 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13452 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13453 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13454 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13455 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13456 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13457 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13458 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13459 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13460 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13461 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13462 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13463 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13464 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13465 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13466 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13467 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13468 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13469 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13470 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13471 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13472 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13473 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13474 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13475 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13476 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13477 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13478 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13479 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13480 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13481 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13482 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13483 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13484 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13485 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13486 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13487 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13488 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13489 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13490 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13491 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13492 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13493 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"`'
13494 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13495 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13496 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13497 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13498 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13499 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13500 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13501 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13502 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13503 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13504 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13505 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13506 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13507 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13508 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13509 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13510 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13511 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13512 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13513 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13514 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13515 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13516 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13517 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13518 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13519 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13520 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13521 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13522 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13523 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13524 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13525 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13526 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13527 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13528 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13529 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13530 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13531 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13532 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13533 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13534 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13535 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13536 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13537 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13538 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13539 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13540 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13541 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13542 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13543 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13544 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13545 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13546 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13547 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13548 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13549 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13550 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13551 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13552 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13553 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13554 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13555 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13556 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13557 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13558 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13559 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13560 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13561 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13562 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13563 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13564 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13567 LTCFLAGS='$LTCFLAGS'
13568 compiler='$compiler_DEFAULT'
13570 # A function that is used when there is no print builtin or printf.
13571 func_fallback_echo ()
13573 eval 'cat <<_LTECHO_EOF
13578 # Quote evaled strings.
13592 deplibs_check_method \
13601 lt_cv_sys_global_symbol_pipe \
13602 lt_cv_sys_global_symbol_to_cdecl \
13603 lt_cv_sys_global_symbol_to_c_name_address \
13604 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13605 lt_prog_compiler_no_builtin_flag \
13606 lt_prog_compiler_wl \
13607 lt_prog_compiler_pic \
13608 lt_prog_compiler_static \
13609 lt_cv_prog_compiler_c_o \
13617 export_dynamic_flag_spec \
13618 whole_archive_flag_spec \
13619 compiler_needs_object \
13621 allow_undefined_flag \
13622 no_undefined_flag \
13623 hardcode_libdir_flag_spec \
13624 hardcode_libdir_flag_spec_ld \
13625 hardcode_libdir_separator \
13630 variables_saved_for_relink \
13632 library_names_spec \
13634 install_override_mode \
13638 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13639 *[\\\\\\\`\\"\\\$]*)
13640 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13643 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13648 # Double-quote double-evaled strings.
13649 for var in reload_cmds \
13650 old_postinstall_cmds \
13651 old_postuninstall_cmds \
13653 extract_expsyms_cmds \
13654 old_archive_from_new_cmds \
13655 old_archive_from_expsyms_cmds \
13657 archive_expsym_cmds \
13659 module_expsym_cmds \
13660 export_symbols_cmds \
13663 postuninstall_cmds \
13665 sys_lib_search_path_spec \
13666 sys_lib_dlsearch_path_spec; do
13667 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13668 *[\\\\\\\`\\"\\\$]*)
13669 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13672 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13677 ac_aux_dir='$ac_aux_dir'
13678 xsi_shell='$xsi_shell'
13679 lt_shell_append='$lt_shell_append'
13681 # See if we are running on zsh, and set the options which allow our
13682 # commands through without removal of \ escapes INIT.
13683 if test -n "\${ZSH_VERSION+set}" ; then
13684 setopt NO_GLOB_SUBST
13690 TIMESTAMP='$TIMESTAMP'
13696 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13697 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13699 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13700 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13701 LINGUAS="${LINGUAS-%UNSET%}"
13706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13708 # Handling of arguments.
13709 for ac_config_target
in $ac_config_targets
13711 case $ac_config_target in
13712 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13713 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13714 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13715 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13716 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13717 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13719 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13724 # If the user did not use the arguments to specify the items to instantiate,
13725 # then the envvar interface is used. Set only those that are not.
13726 # We use the long form for the default assignment because of an extremely
13727 # bizarre bug on SunOS 4.1.3.
13728 if $ac_need_defaults; then
13729 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13730 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13731 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13734 # Have a temporary directory for convenience. Make it in the build tree
13735 # simply because there is no reason against having it here, and in addition,
13736 # creating and moving files from /tmp can sometimes cause problems.
13737 # Hook for its removal unless debugging.
13738 # Note that there is a small window in which the directory will not be cleaned:
13739 # after its creation but before its name has been assigned to `$tmp'.
13743 trap 'exit_status=$?
13744 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13746 trap 'as_fn_exit 1' 1 2 13 15
13748 # Create a (secure) tmp directory for tmp files.
13751 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13752 test -n "$tmp" && test -d "$tmp"
13755 tmp
=.
/conf$$
-$RANDOM
13756 (umask 077 && mkdir
"$tmp")
13757 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13759 # Set up the scripts for CONFIG_FILES section.
13760 # No need to generate them if there are no CONFIG_FILES.
13761 # This happens for instance with `./config.status config.h'.
13762 if test -n "$CONFIG_FILES"; then
13765 ac_cr
=`echo X | tr X '\015'`
13766 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13767 # But we know of no other shell where ac_cr would be empty at this
13768 # point, so we can use a bashism as a fallback.
13769 if test "x$ac_cr" = x
; then
13770 eval ac_cr
=\$
\'\\r
\'
13772 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13773 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13776 ac_cs_awk_cr
=$ac_cr
13779 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13784 echo "cat >conf$$subs.awk <<_ACEOF" &&
13785 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13787 } >conf$$subs.sh ||
13788 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13789 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13791 for ac_last_try in false false false false false :; do
13792 . ./conf$$subs.sh ||
13793 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13795 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13796 if test $ac_delim_n = $ac_delim_num; then
13798 elif $ac_last_try; then
13799 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13801 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13804 rm -f conf$$subs.sh
13806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13807 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13811 s/^/S["/; s
/!.
*/"]=/
13821 s/\(.\{148\}\).*/\1/
13823 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13828 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13835 s/\(.\{148\}\).*/\1/
13837 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13841 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13846 ' <conf$$subs.awk | sed '
13851 ' >>$CONFIG_STATUS || ac_write_fail=1
13852 rm -f conf$$subs.awk
13853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13855 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13856 for (key in S) S_is_set[key] = 1
13862 nfields = split(line, field, "@
")
13864 len = length(field[1])
13865 for (i = 2; i < nfields; i++) {
13867 keylen = length(key)
13868 if (S_is_set[key]) {
13870 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13871 len += length(value) + length(field[++i])
13882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13883 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13884 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13887 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13888 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13891 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13892 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13893 # trailing colons and then remove the whole line if VPATH becomes empty
13894 # (actually we leave an empty line to preserve line numbers).
13895 if test "x
$srcdir" = x.; then
13896 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13897 s/:*\$(srcdir):*/:/
13898 s/:*\${srcdir}:*/:/
13900 s/^\([^=]*=[ ]*\):*/\1/
13906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13907 fi # test -n "$CONFIG_FILES"
13909 # Set up the scripts for CONFIG_HEADERS section.
13910 # No need to generate them if there are no CONFIG_HEADERS.
13911 # This happens for instance with `./config.status Makefile'.
13912 if test -n "$CONFIG_HEADERS"; then
13913 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13917 # Transform confdefs.h into an awk script `defines.awk', embedded as
13918 # here-document in config.status, that substitutes the proper values into
13919 # config.h.in to produce config.h.
13921 # Create a delimiter string that does not exist in confdefs.h, to ease
13922 # handling of long lines.
13924 for ac_last_try in false false :; do
13925 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13926 if test -z "$ac_t"; then
13928 elif $ac_last_try; then
13929 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13931 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13935 # For the awk script, D is an array of macro values keyed by name,
13936 # likewise P contains macro parameters if any. Preserve backslash
13937 # newline sequences.
13939 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13941 s/.\{148\}/&'"$ac_delim"'/g
13944 s/^[ ]*#[ ]*define[ ][ ]*/ /
13951 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13953 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13958 D["\
1"]=" \
3\\\\\\n
"\\/p
13960 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13965 s/.\{148\}/&'"$ac_delim"'/g
13970 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13973 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13975 ' <confdefs.h | sed '
13976 s/'"$ac_delim"'/"\\\
13977 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13980 for (key in D) D_is_set[key] = 1
13983 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13985 split(line, arg, " ")
13986 if (arg[1] == "#") {
13990 defundef
= substr
(arg
[1], 2)
13993 split(mac1
, mac2
, "(") #)
13995 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13996 if (D_is_set
[macro
]) {
13997 # Preserve the white space surrounding the "#".
13998 print prefix
"define", macro P
[macro
] D
[macro
]
14001 # Replace #undef with comments. This is necessary, for example,
14002 # in the case of _POSIX_SOURCE, which is predefined and required
14003 # on some systems where configure will not decide to define it.
14004 if (defundef
== "undef") {
14005 print
"/*", prefix defundef
, macro
, "*/"
14013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14014 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14015 fi # test -n "$CONFIG_HEADERS"
14018 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14023 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14025 case $ac_mode$ac_tag in
14027 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14028 :[FH
]-) ac_tag
=-:-;;
14029 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14046 -) ac_f
="$tmp/stdin";;
14047 *) # Look for the file first in the build tree, then in the source tree
14048 # (if the path is not absolute). The absolute path cannot be DOS-style,
14049 # because $ac_f cannot contain `:'.
14053 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14055 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14057 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14058 as_fn_append ac_file_inputs
" '$ac_f'"
14061 # Let's still pretend it is `configure' which instantiates (i.e., don't
14062 # use $as_me), people would be surprised to read:
14063 # /* config.h. Generated by config.status. */
14064 configure_input
='Generated from '`
14065 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14067 if test x
"$ac_file" != x-
; then
14068 configure_input
="$ac_file. $configure_input"
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14070 $as_echo "$as_me: creating $ac_file" >&6;}
14072 # Neutralize special characters interpreted by sed in replacement strings.
14073 case $configure_input in #(
14074 *\
&* |
*\|
* |
*\\* )
14075 ac_sed_conf_input
=`$as_echo "$configure_input" |
14076 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14077 *) ac_sed_conf_input
=$configure_input;;
14081 *:-:* |
*:-) cat >"$tmp/stdin" \
14082 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14087 ac_dir
=`$as_dirname -- "$ac_file" ||
14088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14089 X"$ac_file" : 'X\(//\)[^/]' \| \
14090 X"$ac_file" : 'X\(//\)$' \| \
14091 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14092 $as_echo X"$ac_file" |
14093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14097 /^X\(\/\/\)[^/].*/{
14110 as_dir
="$ac_dir"; as_fn_mkdir_p
14114 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14116 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14117 # A ".." for each directory in $ac_dir_suffix.
14118 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14119 case $ac_top_builddir_sub in
14120 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14121 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14124 ac_abs_top_builddir
=$ac_pwd
14125 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14126 # for backward compatibility:
14127 ac_top_builddir
=$ac_top_build_prefix
14130 .
) # We are building in place.
14132 ac_top_srcdir
=$ac_top_builddir_sub
14133 ac_abs_top_srcdir
=$ac_pwd ;;
14134 [\\/]* | ?
:[\\/]* ) # Absolute name.
14135 ac_srcdir
=$srcdir$ac_dir_suffix;
14136 ac_top_srcdir
=$srcdir
14137 ac_abs_top_srcdir
=$srcdir ;;
14138 *) # Relative name.
14139 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14140 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14141 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14143 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14153 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14154 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14156 ac_MKDIR_P
=$MKDIR_P
14158 [\\/$
]* | ?
:[\\/]* ) ;;
14159 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14164 # If the template does not know about datarootdir, expand it.
14165 # FIXME: This hack should be removed a few years after 2.60.
14166 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14177 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14178 *datarootdir
*) ac_datarootdir_seen
=yes;;
14179 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14181 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14184 ac_datarootdir_hack='
14185 s&@datadir@&$datadir&g
14186 s&@docdir@&$docdir&g
14187 s&@infodir@&$infodir&g
14188 s&@localedir@&$localedir&g
14189 s&@mandir@&$mandir&g
14190 s&\\\${datarootdir}&$datarootdir&g' ;;
14194 # Neutralize VPATH when `$srcdir' = `.'.
14195 # Shell code in configure.ac might set extrasub.
14196 # FIXME: do we really want to maintain this feature?
14197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14198 ac_sed_extra="$ac_vpsub
14201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14203 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14204 s|@configure_input@|
$ac_sed_conf_input|
;t t
14205 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14206 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14207 s
&@srcdir@
&$ac_srcdir&;t t
14208 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14209 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14210 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14211 s
&@builddir@
&$ac_builddir&;t t
14212 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14213 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14214 s
&@INSTALL@
&$ac_INSTALL&;t t
14215 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14216 $ac_datarootdir_hack
14218 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14219 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14221 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14222 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14223 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14225 which seems to be undefined. Please make sure it is defined." >&5
14226 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14227 which seems to be undefined. Please make sure it is defined." >&2;}
14231 -) cat "$tmp/out" && rm -f "$tmp/out";;
14232 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14234 || as_fn_error "could not create $ac_file" "$LINENO" 5
14240 if test x"$ac_file" != x-; then
14242 $as_echo "/* $configure_input */" \
14243 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14244 } >"$tmp/config.h" \
14245 || as_fn_error "could not create $ac_file" "$LINENO" 5
14246 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14248 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14251 mv "$tmp/config.h" "$ac_file" \
14252 || as_fn_error "could not create $ac_file" "$LINENO" 5
14255 $as_echo "/* $configure_input */" \
14256 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14257 || as_fn_error "could not create -" "$LINENO" 5
14259 # Compute "$ac_file"'s index
in $config_headers.
14262 for _am_header
in $config_headers :; do
14263 case $_am_header in
14264 $_am_arg |
$_am_arg:* )
14267 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14270 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14271 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14272 X"$_am_arg" : 'X\(//\)[^/]' \| \
14273 X"$_am_arg" : 'X\(//\)$' \| \
14274 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14275 $as_echo X"$_am_arg" |
14276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14280 /^X\(\/\/\)[^/].*/{
14292 s/.*/./; q'`/stamp-h
$_am_stamp_count
14295 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14296 $as_echo "$as_me: executing $ac_file commands" >&6;}
14301 case $ac_file$ac_mode in
14302 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14303 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14304 # are listed without --file. Let's play safe and only enable the eval
14305 # if we detect the quoting.
14306 case $CONFIG_FILES in
14307 *\'*) eval set x
"$CONFIG_FILES" ;;
14308 *) set x
$CONFIG_FILES ;;
14313 # Strip MF so we end up with the name of the file.
14314 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14315 # Check whether this is an Automake generated Makefile or not.
14316 # We used to match only the files named `Makefile.in', but
14317 # some people rename them; so instead we look at the file content.
14318 # Grep'ing the first line is not enough: some people post-process
14319 # each Makefile.in and add a new line on top of each file to say so.
14320 # Grep'ing the whole file is not good either: AIX grep has a line
14321 # limit of 2048, but all sed's we know have understand at least 4000.
14322 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14323 dirpart
=`$as_dirname -- "$mf" ||
14324 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14325 X"$mf" : 'X\(//\)[^/]' \| \
14326 X"$mf" : 'X\(//\)$' \| \
14327 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14333 /^X\(\/\/\)[^/].*/{
14349 # Extract the definition of DEPDIR, am__include, and am__quote
14350 # from the Makefile without running `make'.
14351 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14352 test -z "$DEPDIR" && continue
14353 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14354 test -z "am__include" && continue
14355 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14356 # When using ansi2knr, U may be empty or an underscore; expand it
14357 U
=`sed -n 's/^U = //p' < "$mf"`
14358 # Find all dependency output files, they are included files with
14359 # $(DEPDIR) in their names. We invoke sed twice because it is the
14360 # simplest approach to changing $(DEPDIR) to its actual value in the
14362 for file in `sed -n "
14363 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14364 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14365 # Make sure the directory exists.
14366 test -f "$dirpart/$file" && continue
14367 fdir
=`$as_dirname -- "$file" ||
14368 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14369 X"$file" : 'X\(//\)[^/]' \| \
14370 X"$file" : 'X\(//\)$' \| \
14371 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14372 $as_echo X"$file" |
14373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14377 /^X\(\/\/\)[^/].*/{
14390 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14391 # echo "creating $dirpart/$file"
14392 echo '# dummy' > "$dirpart/$file"
14399 # See if we are running on zsh, and set the options which allow our
14400 # commands through without removal of \ escapes.
14401 if test -n "${ZSH_VERSION+set}" ; then
14402 setopt NO_GLOB_SUBST
14405 cfgfile
="${ofile}T"
14406 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14409 cat <<_LT_EOF >> "$cfgfile"
14412 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14413 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14414 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14415 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14417 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14418 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14419 # Written by Gordon Matzigkeit, 1996
14421 # This file is part of GNU Libtool.
14423 # GNU Libtool is free software; you can redistribute it and/or
14424 # modify it under the terms of the GNU General Public License as
14425 # published by the Free Software Foundation; either version 2 of
14426 # the License, or (at your option) any later version.
14428 # As a special exception to the GNU General Public License,
14429 # if you distribute this file as part of a program or library that
14430 # is built using GNU Libtool, you may include this file under the
14431 # same distribution terms that you use for the rest of that program.
14433 # GNU Libtool is distributed in the hope that it will be useful,
14434 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14435 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14436 # GNU General Public License for more details.
14438 # You should have received a copy of the GNU General Public License
14439 # along with GNU Libtool; see the file COPYING. If not, a copy
14440 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14441 # obtained by writing to the Free Software Foundation, Inc.,
14442 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14445 # The names of the tagged configurations supported by this script.
14448 # ### BEGIN LIBTOOL CONFIG
14450 # Whether or not to build shared libraries.
14451 build_libtool_libs=$enable_shared
14453 # Which release of libtool.m4 was used?
14454 macro_version=$macro_version
14455 macro_revision=$macro_revision
14457 # Whether or not to build static libraries.
14458 build_old_libs=$enable_static
14460 # What type of objects to build.
14463 # Whether or not to optimize for fast installation.
14464 fast_install=$enable_fast_install
14466 # Shell to use when invoking shell scripts.
14469 # An echo program that protects backslashes.
14473 host_alias=$host_alias
14477 # The build system.
14478 build_alias=$build_alias
14482 # A sed program that does not truncate output.
14485 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14486 Xsed="\$SED -e 1s/^X//"
14488 # A grep program that handles long lines.
14494 # A literal string matcher.
14497 # A BSD- or MS-compatible name lister.
14500 # Whether we need soft or hard links.
14503 # What is the maximum length of a command?
14504 max_cmd_len=$max_cmd_len
14506 # Object file suffix (normally "o").
14509 # Executable file suffix (normally "").
14512 # whether the shell understands "unset".
14515 # turn spaces into newlines.
14518 # turn newlines into spaces.
14521 # An object symbol dumper.
14522 OBJDUMP=$lt_OBJDUMP
14524 # Method to check whether dependent libraries are shared objects.
14525 deplibs_check_method=$lt_deplibs_check_method
14527 # Command to use when deplibs_check_method == "file_magic".
14528 file_magic_cmd=$lt_file_magic_cmd
14532 AR_FLAGS=$lt_AR_FLAGS
14534 # A symbol stripping program.
14537 # Commands used to install an old-style archive.
14539 old_postinstall_cmds=$lt_old_postinstall_cmds
14540 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14542 # Whether to use a lock for old archive extraction.
14543 lock_old_archive_extraction=$lock_old_archive_extraction
14548 # LTCC compiler flags.
14549 LTCFLAGS=$lt_CFLAGS
14551 # Take the output of nm and produce a listing of raw symbols and C names.
14552 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14554 # Transform the output of nm in a proper C declaration.
14555 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14557 # Transform the output of nm in a C name address pair.
14558 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14560 # Transform the output of nm in a C name address pair when lib prefix is needed.
14561 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14563 # The name of the directory that contains temporary libtool files.
14566 # Used to examine libraries when file_magic_cmd begins with "file".
14567 MAGIC_CMD=$MAGIC_CMD
14569 # Must we lock files when doing compilation?
14570 need_locks=$lt_need_locks
14572 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14573 DSYMUTIL=$lt_DSYMUTIL
14575 # Tool to change global to local symbols on Mac OS X.
14578 # Tool to manipulate fat objects and archives on Mac OS X.
14581 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14584 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14585 OTOOL64=$lt_OTOOL64
14587 # Old archive suffix (normally "a").
14590 # Shared library suffix (normally ".so").
14591 shrext_cmds=$lt_shrext_cmds
14593 # The commands to extract the exported symbol list from a shared archive.
14594 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14596 # Variables whose values should be saved in libtool wrapper scripts and
14597 # restored at link time.
14598 variables_saved_for_relink=$lt_variables_saved_for_relink
14600 # Do we need the "lib" prefix for modules?
14601 need_lib_prefix=$need_lib_prefix
14603 # Do we need a version for libraries?
14604 need_version=$need_version
14606 # Library versioning type.
14607 version_type=$version_type
14609 # Shared library runtime path variable.
14610 runpath_var=$runpath_var
14612 # Shared library path variable.
14613 shlibpath_var=$shlibpath_var
14615 # Is shlibpath searched before the hard-coded library search path?
14616 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14618 # Format of library name prefix.
14619 libname_spec=$lt_libname_spec
14621 # List of archive names. First name is the real one, the rest are links.
14622 # The last name is the one that the linker finds with -lNAME
14623 library_names_spec=$lt_library_names_spec
14625 # The coded name of the library, if different from the real name.
14626 soname_spec=$lt_soname_spec
14628 # Permission mode override for installation of shared libraries.
14629 install_override_mode=$lt_install_override_mode
14631 # Command to use after installation of a shared archive.
14632 postinstall_cmds=$lt_postinstall_cmds
14634 # Command to use after uninstallation of a shared archive.
14635 postuninstall_cmds=$lt_postuninstall_cmds
14637 # Commands used to finish a libtool library installation in a directory.
14638 finish_cmds=$lt_finish_cmds
14640 # As "finish_cmds", except a single script fragment to be evaled but
14642 finish_eval=$lt_finish_eval
14644 # Whether we should hardcode library paths into libraries.
14645 hardcode_into_libs=$hardcode_into_libs
14647 # Compile-time system search path for libraries.
14648 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14650 # Run-time system search path for libraries.
14651 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14653 # Whether dlopen is supported.
14654 dlopen_support=$enable_dlopen
14656 # Whether dlopen of programs is supported.
14657 dlopen_self=$enable_dlopen_self
14659 # Whether dlopen of statically linked programs is supported.
14660 dlopen_self_static=$enable_dlopen_self_static
14662 # Commands to strip libraries.
14663 old_striplib=$lt_old_striplib
14664 striplib=$lt_striplib
14667 # The linker used to build libraries.
14670 # How to create reloadable object files.
14671 reload_flag=$lt_reload_flag
14672 reload_cmds=$lt_reload_cmds
14674 # Commands used to build an old-style archive.
14675 old_archive_cmds=$lt_old_archive_cmds
14677 # A language specific compiler.
14680 # Is the compiler the GNU compiler?
14683 # Compiler flag to turn off builtin functions.
14684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14686 # How to pass a linker flag through the compiler.
14687 wl=$lt_lt_prog_compiler_wl
14689 # Additional compiler flags for building library objects.
14690 pic_flag=$lt_lt_prog_compiler_pic
14692 # Compiler flag to prevent dynamic linking.
14693 link_static_flag=$lt_lt_prog_compiler_static
14695 # Does compiler simultaneously support -c and -o options?
14696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14698 # Whether or not to add -lc for building shared libraries.
14699 build_libtool_need_lc=$archive_cmds_need_lc
14701 # Whether or not to disallow shared libs when runtime libs are static.
14702 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14704 # Compiler flag to allow reflexive dlopens.
14705 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14707 # Compiler flag to generate shared objects directly from archives.
14708 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14710 # Whether the compiler copes with passing no objects directly.
14711 compiler_needs_object=$lt_compiler_needs_object
14713 # Create an old-style archive from a shared archive.
14714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14716 # Create a temporary old-style archive to link instead of a shared archive.
14717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14719 # Commands used to build a shared archive.
14720 archive_cmds=$lt_archive_cmds
14721 archive_expsym_cmds=$lt_archive_expsym_cmds
14723 # Commands used to build a loadable module if different from building
14724 # a shared archive.
14725 module_cmds=$lt_module_cmds
14726 module_expsym_cmds=$lt_module_expsym_cmds
14728 # Whether we are building with GNU ld or not.
14729 with_gnu_ld=$lt_with_gnu_ld
14731 # Flag that allows shared libraries with undefined symbols to be built.
14732 allow_undefined_flag=$lt_allow_undefined_flag
14734 # Flag that enforces no undefined symbols.
14735 no_undefined_flag=$lt_no_undefined_flag
14737 # Flag to hardcode \$libdir into a binary during linking.
14738 # This must work even if \$libdir does not exist
14739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14741 # If ld is used when linking, flag to hardcode \$libdir into a binary
14742 # during linking. This must work even if \$libdir does not exist.
14743 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14745 # Whether we need a single "-rpath" flag with a separated argument.
14746 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14748 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14749 # DIR into the resulting binary.
14750 hardcode_direct=$hardcode_direct
14752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14753 # DIR into the resulting binary and the resulting library dependency is
14754 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14755 # library is relocated.
14756 hardcode_direct_absolute=$hardcode_direct_absolute
14758 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14759 # into the resulting binary.
14760 hardcode_minus_L=$hardcode_minus_L
14762 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14763 # into the resulting binary.
14764 hardcode_shlibpath_var=$hardcode_shlibpath_var
14766 # Set to "yes" if building a shared library automatically hardcodes DIR
14767 # into the library and all subsequent libraries and executables linked
14769 hardcode_automatic=$hardcode_automatic
14771 # Set to yes if linker adds runtime paths of dependent libraries
14772 # to runtime path list.
14773 inherit_rpath=$inherit_rpath
14775 # Whether libtool must link a program against all its dependency libraries.
14776 link_all_deplibs=$link_all_deplibs
14778 # Fix the shell variable \$srcfile for the compiler.
14779 fix_srcfile_path=$lt_fix_srcfile_path
14781 # Set to "yes" if exported symbols are required.
14782 always_export_symbols=$always_export_symbols
14784 # The commands to list exported symbols.
14785 export_symbols_cmds=$lt_export_symbols_cmds
14787 # Symbols that should not be listed in the preloaded symbols.
14788 exclude_expsyms=$lt_exclude_expsyms
14790 # Symbols that must always be exported.
14791 include_expsyms=$lt_include_expsyms
14793 # Commands necessary for linking programs (against libraries) with templates.
14794 prelink_cmds=$lt_prelink_cmds
14796 # Specify filename containing input files.
14797 file_list_spec=$lt_file_list_spec
14799 # How to hardcode a shared library path into an executable.
14800 hardcode_action=$hardcode_action
14802 # ### END LIBTOOL CONFIG
14808 cat <<\_LT_EOF
>> "$cfgfile"
14809 # AIX sometimes has problems with the GCC collect2 program. For some
14810 # reason, if we set the COLLECT_NAMES environment variable, the problems
14811 # vanish in a puff of smoke.
14812 if test "X${COLLECT_NAMES+set}" != Xset
; then
14814 export COLLECT_NAMES
14821 ltmain
="$ac_aux_dir/ltmain.sh"
14824 # We use sed instead of cat because bash on DJGPP gets confused if
14825 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14826 # text mode, it properly converts lines to CR/LF. This bash problem
14827 # is reportedly fixed, but why not run on old versions too?
14828 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14829 ||
(rm -f "$cfgfile"; exit 1)
14833 cat << \_LT_EOF
>> "$cfgfile"
14835 # func_dirname file append nondir_replacement
14836 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14837 # otherwise set result to NONDIR_REPLACEMENT.
14841 */*) func_dirname_result
="${1%/*}${2}" ;;
14842 * ) func_dirname_result
="${3}" ;;
14846 # func_basename file
14849 func_basename_result
="${1##*/}"
14852 # func_dirname_and_basename file append nondir_replacement
14853 # perform func_basename and func_dirname in a single function
14855 # dirname: Compute the dirname of FILE. If nonempty,
14856 # add APPEND to the result, otherwise set result
14857 # to NONDIR_REPLACEMENT.
14858 # value returned in "$func_dirname_result"
14859 # basename: Compute filename of FILE.
14860 # value retuned in "$func_basename_result"
14861 # Implementation must be kept synchronized with func_dirname
14862 # and func_basename. For efficiency, we do not delegate to
14863 # those functions but instead duplicate the functionality here.
14864 func_dirname_and_basename
()
14867 */*) func_dirname_result
="${1%/*}${2}" ;;
14868 * ) func_dirname_result
="${3}" ;;
14870 func_basename_result
="${1##*/}"
14873 # func_stripname prefix suffix name
14874 # strip PREFIX and SUFFIX off of NAME.
14875 # PREFIX and SUFFIX must not contain globbing or regex special
14876 # characters, hashes, percent signs, but SUFFIX may contain a leading
14877 # dot (in which case that matches only a dot).
14880 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14881 # positional parameters, so assign one to ordinary parameter first.
14882 func_stripname_result
=${3}
14883 func_stripname_result
=${func_stripname_result#"${1}"}
14884 func_stripname_result
=${func_stripname_result%"${2}"}
14890 func_opt_split_opt
=${1%%=*}
14891 func_opt_split_arg
=${1#*=}
14898 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14899 *) func_lo2o_result
=${1} ;;
14903 # func_xform libobj-or-source
14906 func_xform_result
=${1%.*}.lo
14909 # func_arith arithmetic-term...
14912 func_arith_result
=$
(( $
* ))
14916 # STRING may not start with a hyphen.
14919 func_len_result
=${#1}
14924 *) # Bourne compatible functions.
14925 cat << \_LT_EOF
>> "$cfgfile"
14927 # func_dirname file append nondir_replacement
14928 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14929 # otherwise set result to NONDIR_REPLACEMENT.
14932 # Extract subdirectory from the argument.
14933 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14934 if test "X$func_dirname_result" = "X${1}"; then
14935 func_dirname_result
="${3}"
14937 func_dirname_result
="$func_dirname_result${2}"
14941 # func_basename file
14944 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14948 # func_stripname prefix suffix name
14949 # strip PREFIX and SUFFIX off of NAME.
14950 # PREFIX and SUFFIX must not contain globbing or regex special
14951 # characters, hashes, percent signs, but SUFFIX may contain a leading
14952 # dot (in which case that matches only a dot).
14953 # func_strip_suffix prefix name
14957 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14958 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14963 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14964 my_sed_long_arg
='1s/^-[^=]*=//'
14969 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14970 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14976 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14979 # func_xform libobj-or-source
14982 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14985 # func_arith arithmetic-term...
14988 func_arith_result
=`expr "$@"`
14992 # STRING may not start with a hyphen.
14995 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15001 case $lt_shell_append in
15003 cat << \_LT_EOF
>> "$cfgfile"
15005 # func_append var value
15006 # Append VALUE to the end of shell variable VAR.
15014 cat << \_LT_EOF
>> "$cfgfile"
15016 # func_append var value
15017 # Append VALUE to the end of shell variable VAR.
15028 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15029 ||
(rm -f "$cfgfile"; exit 1)
15031 mv -f "$cfgfile" "$ofile" ||
15032 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15037 for ac_file
in $CONFIG_FILES; do
15038 # Support "outfile[:infile[:infile...]]"
15040 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15042 # PO directories have a Makefile.in generated from Makefile.in.in.
15043 case "$ac_file" in */Makefile.
in)
15044 # Adjust a relative srcdir.
15045 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15046 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
15047 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15048 # In autoconf-2.13 it is called $ac_given_srcdir.
15049 # In autoconf-2.50 it is called $srcdir.
15050 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15051 case "$ac_given_srcdir" in
15052 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15053 /*) top_srcdir
="$ac_given_srcdir" ;;
15054 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15056 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15057 rm -f "$ac_dir/POTFILES"
15058 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15059 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15060 POMAKEFILEDEPS
="POTFILES.in"
15061 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15062 # on $ac_dir but don't depend on user-specified configuration
15064 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15065 # The LINGUAS file contains the set of available languages.
15066 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15067 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
15069 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15070 # Hide the ALL_LINGUAS assigment from automake.
15071 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15072 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15074 # The set of available languages was given in configure.ac.
15075 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15077 case "$ac_given_srcdir" in
15079 *) srcdirpre
='$(srcdir)/' ;;
15085 for lang
in $ALL_LINGUAS; do
15086 POFILES
="$POFILES $srcdirpre$lang.po"
15087 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15088 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15089 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15091 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15092 # environment variable.
15094 if test -n "$ALL_LINGUAS"; then
15095 for presentlang
in $ALL_LINGUAS; do
15097 if test "%UNSET%" != "$LINGUAS"; then
15098 desiredlanguages
="$LINGUAS"
15100 desiredlanguages
="$ALL_LINGUAS"
15102 for desiredlang
in $desiredlanguages; do
15103 # Use the presentlang catalog if desiredlang is
15104 # a. equal to presentlang, or
15105 # b. a variant of presentlang (because in this case,
15106 # presentlang can be used as a fallback for messages
15107 # which are not translated in the desiredlang catalog).
15108 case "$desiredlang" in
15109 "$presentlang"*) useit
=yes;;
15112 if test $useit = yes; then
15113 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15118 if test -n "$INST_LINGUAS"; then
15119 for lang
in $INST_LINGUAS; do
15120 CATALOGS
="$CATALOGS $lang.gmo"
15123 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15124 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"
15125 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15126 if test -f "$f"; then
15128 *.orig |
*.bak |
*~
) ;;
15129 *) cat "$f" >> "$ac_dir/Makefile" ;;
15144 ac_clean_files
=$ac_clean_files_save
15146 test $ac_write_fail = 0 ||
15147 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15150 # configure is writing to config.log, and then calls config.status.
15151 # config.status does its own redirection, appending to config.log.
15152 # Unfortunately, on DOS this fails, as config.log is still kept open
15153 # by configure, so config.status won't be able to write to it; its
15154 # output is simply discarded. So we exec the FD to /dev/null,
15155 # effectively closing config.log, so it can be properly (re)opened and
15156 # appended to by config.status. When coming back to configure, we
15157 # need to make the FD available again.
15158 if test "$no_create" != yes; then
15160 ac_config_status_args
=
15161 test "$silent" = yes &&
15162 ac_config_status_args
="$ac_config_status_args --quiet"
15164 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15166 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15167 # would make configure fail if this is the last instruction.
15168 $ac_cs_success || as_fn_exit $?
15170 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15172 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}