2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
564 ac_unique_file
="ldmain.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
660 TARGET_SYSTEM_ROOT_DEFINE
664 MAINTAINER_MODE_FALSE
683 INSTALL_STRIP_PROGRAM
744 program_transform_name
755 ac_subst_files
='TDIRS'
757 enable_option_checking
758 enable_dependency_tracking
759 enable_maintainer_mode
766 enable_build_warnings
777 ac_precious_vars
='build_alias
790 # Initialize some variables set by options.
792 ac_init_version
=false
793 ac_unrecognized_opts
=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 as_fn_error
"invalid feature name: $ac_useropt"
897 ac_useropt_orig
=$ac_useropt
898 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep
=', ';;
906 eval enable_
$ac_useropt=no
;;
908 -docdir |
--docdir |
--docdi |
--doc |
--do)
910 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
913 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
915 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
918 -enable-* |
--enable-*)
919 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
922 as_fn_error
"invalid feature name: $ac_useropt"
923 ac_useropt_orig
=$ac_useropt
924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep
=', ';;
932 eval enable_
$ac_useropt=\
$ac_optarg ;;
934 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
935 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
936 |
--exec |
--exe |
--ex)
937 ac_prev
=exec_prefix
;;
938 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
939 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
940 |
--exec=* |
--exe=* |
--ex=*)
941 exec_prefix
=$ac_optarg ;;
943 -gas |
--gas |
--ga |
--g)
944 # Obsolete; use --with-gas.
947 -help |
--help |
--hel |
--he |
-h)
949 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
950 ac_init_help
=recursive
;;
951 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
952 ac_init_help
=short
;;
954 -host |
--host |
--hos |
--ho)
955 ac_prev
=host_alias
;;
956 -host=* |
--host=* |
--hos=* |
--ho=*)
957 host_alias
=$ac_optarg ;;
959 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
961 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
963 htmldir
=$ac_optarg ;;
965 -includedir |
--includedir |
--includedi |
--included |
--include \
966 |
--includ |
--inclu |
--incl |
--inc)
967 ac_prev
=includedir
;;
968 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
969 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
970 includedir
=$ac_optarg ;;
972 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
974 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
975 infodir
=$ac_optarg ;;
977 -libdir |
--libdir |
--libdi |
--libd)
979 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
982 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
983 |
--libexe |
--libex |
--libe)
984 ac_prev
=libexecdir
;;
985 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
986 |
--libexe=* |
--libex=* |
--libe=*)
987 libexecdir
=$ac_optarg ;;
989 -localedir |
--localedir |
--localedi |
--localed |
--locale)
991 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
992 localedir
=$ac_optarg ;;
994 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
995 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
996 ac_prev
=localstatedir
;;
997 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
998 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
999 localstatedir
=$ac_optarg ;;
1001 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1003 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1004 mandir
=$ac_optarg ;;
1006 -nfp |
--nfp |
--nf)
1007 # Obsolete; use --without-fp.
1010 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1011 |
--no-cr |
--no-c |
-n)
1014 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1015 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1018 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1019 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1020 |
--oldin |
--oldi |
--old |
--ol |
--o)
1021 ac_prev
=oldincludedir
;;
1022 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1023 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1024 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1025 oldincludedir
=$ac_optarg ;;
1027 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1029 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1030 prefix
=$ac_optarg ;;
1032 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1033 |
--program-pre |
--program-pr |
--program-p)
1034 ac_prev
=program_prefix
;;
1035 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1036 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1037 program_prefix
=$ac_optarg ;;
1039 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1040 |
--program-suf |
--program-su |
--program-s)
1041 ac_prev
=program_suffix
;;
1042 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1043 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1044 program_suffix
=$ac_optarg ;;
1046 -program-transform-name |
--program-transform-name \
1047 |
--program-transform-nam |
--program-transform-na \
1048 |
--program-transform-n |
--program-transform- \
1049 |
--program-transform |
--program-transfor \
1050 |
--program-transfo |
--program-transf \
1051 |
--program-trans |
--program-tran \
1052 |
--progr-tra |
--program-tr |
--program-t)
1053 ac_prev
=program_transform_name
;;
1054 -program-transform-name=* |
--program-transform-name=* \
1055 |
--program-transform-nam=* |
--program-transform-na=* \
1056 |
--program-transform-n=* |
--program-transform-=* \
1057 |
--program-transform=* |
--program-transfor=* \
1058 |
--program-transfo=* |
--program-transf=* \
1059 |
--program-trans=* |
--program-tran=* \
1060 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1061 program_transform_name
=$ac_optarg ;;
1063 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1065 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1066 pdfdir
=$ac_optarg ;;
1068 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1070 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1073 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1074 |
-silent |
--silent |
--silen |
--sile |
--sil)
1077 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1079 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1081 sbindir
=$ac_optarg ;;
1083 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1084 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1085 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1087 ac_prev
=sharedstatedir
;;
1088 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1089 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1090 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1092 sharedstatedir
=$ac_optarg ;;
1094 -site |
--site |
--sit)
1096 -site=* |
--site=* |
--sit=*)
1099 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1101 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1102 srcdir
=$ac_optarg ;;
1104 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1105 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1106 ac_prev
=sysconfdir
;;
1107 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1108 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1109 sysconfdir
=$ac_optarg ;;
1111 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1112 ac_prev
=target_alias
;;
1113 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1114 target_alias
=$ac_optarg ;;
1116 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1119 -version |
--version |
--versio |
--versi |
--vers |
-V)
1120 ac_init_version
=: ;;
1123 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=\
$ac_optarg ;;
1138 -without-* |
--without-*)
1139 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=no
;;
1155 # Obsolete; use --with-x.
1158 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1159 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1160 ac_prev
=x_includes
;;
1161 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1162 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1163 x_includes
=$ac_optarg ;;
1165 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1166 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1167 ac_prev
=x_libraries
;;
1168 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1169 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1170 x_libraries
=$ac_optarg ;;
1172 -*) as_fn_error
"unrecognized option: \`$ac_option'
1173 Try \`$0 --help' for more information."
1177 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1178 # Reject names that are not valid shell variable names.
1179 case $ac_envvar in #(
1180 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1181 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1183 eval $ac_envvar=\
$ac_optarg
1184 export $ac_envvar ;;
1187 # FIXME: should be removed in autoconf 3.0.
1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1197 if test -n "$ac_prev"; then
1198 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1199 as_fn_error
"missing argument to $ac_option"
1202 if test -n "$ac_unrecognized_opts"; then
1203 case $enable_option_checking in
1205 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 # Check all directory arguments for consistency.
1211 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214 libdir localedir mandir
1216 eval ac_val
=\$
$ac_var
1217 # Remove trailing slashes.
1220 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221 eval $ac_var=\
$ac_val;;
1223 # Be sure to have absolute directory names.
1225 [\\/$
]* | ?
:[\\/]* ) continue;;
1226 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1228 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target
=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x
; then
1240 if test "x$build_alias" = x
; then
1241 cross_compiling
=maybe
1242 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243 If a cross compiler is detected then cross compile mode will be used." >&2
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1252 test "$silent" = yes && exec 6>/dev
/null
1255 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di
=`ls -di .` &&
1257 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1258 as_fn_error
"working directory cannot be determined"
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 as_fn_error
"pwd does not report name of working directory"
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted
=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir
=`$as_dirname -- "$as_myself" ||
1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$as_myself" : 'X\(//\)[^/]' \| \
1270 X"$as_myself" : 'X\(//\)$' \| \
1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272 $as_echo X"$as_myself" |
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted
=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1299 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1301 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1305 # When building in place, set srcdir=.
1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309 # Remove unnecessary trailing slashes from srcdir.
1310 # Double slashes in file names in object file debugging info
1311 # mess up M-x gdb in Emacs.
1313 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 for ac_var
in $ac_precious_vars; do
1316 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1318 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1323 # Report the --help message.
1325 if test "$ac_init_help" = "long"; then
1326 # Omit some internal or obsolete options to make the list less imposing.
1327 # This message is too long to be a string in the A/UX 3.1 sh.
1329 \`configure' configures this package to adapt to many kinds of systems.
1331 Usage: $0 [OPTION]... [VAR=VALUE]...
1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334 VAR=VALUE. See below for descriptions of some of the useful variables.
1336 Defaults for the options are specified in brackets.
1339 -h, --help display this help and exit
1340 --help=short display options specific to this package
1341 --help=recursive display the short help of all the included packages
1342 -V, --version display version information and exit
1343 -q, --quiet, --silent do not print \`checking...' messages
1344 --cache-file=FILE cache test results in FILE [disabled]
1345 -C, --config-cache alias for \`--cache-file=config.cache'
1346 -n, --no-create do not create output files
1347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1349 Installation directories:
1350 --prefix=PREFIX install architecture-independent files in PREFIX
1351 [$ac_default_prefix]
1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1355 By default, \`make install' will install all the files in
1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358 for instance \`--prefix=\$HOME'.
1360 For better control, use the options below.
1362 Fine tuning of the installation directories:
1363 --bindir=DIR user executables [EPREFIX/bin]
1364 --sbindir=DIR system admin executables [EPREFIX/sbin]
1365 --libexecdir=DIR program executables [EPREFIX/libexec]
1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1369 --libdir=DIR object code libraries [EPREFIX/lib]
1370 --includedir=DIR C header files [PREFIX/include]
1371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1374 --infodir=DIR info documentation [DATAROOTDIR/info]
1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1376 --mandir=DIR man documentation [DATAROOTDIR/man]
1377 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1378 --htmldir=DIR html documentation [DOCDIR]
1379 --dvidir=DIR dvi documentation [DOCDIR]
1380 --pdfdir=DIR pdf documentation [DOCDIR]
1381 --psdir=DIR ps documentation [DOCDIR]
1387 --program-prefix=PREFIX prepend PREFIX to installed program names
1388 --program-suffix=SUFFIX append SUFFIX to installed program names
1389 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1392 --build=BUILD configure
for building on BUILD
[guessed
]
1393 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1394 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1398 if test -n "$ac_init_help"; then
1403 --disable-option-checking ignore unrecognized
--enable/--with options
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --disable-dependency-tracking speeds up one-time build
1407 --enable-dependency-tracking do not reject slow dependency extractors
1408 --enable-maintainer-mode enable make rules and dependencies not useful
1409 (and sometimes confusing
) to the casual installer
1410 --enable-targets alternative target configurations
1411 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1412 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1414 --enable-werror treat compile warnings as errors
1415 --enable-build-warnings enable build-time compiler warnings
1416 --enable-plugins Enable support
for plugins
(defaults no
)
1417 --disable-largefile omit support
for large files
1418 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1419 --enable-static[=PKGS
] build static libraries
[default
=yes]
1420 --enable-fast-install[=PKGS
]
1421 optimize
for fast installation
[default
=yes]
1422 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1423 --disable-nls do not use Native Language Support
1426 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1427 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1428 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1429 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1430 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1432 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1434 Some influential environment variables
:
1435 CC C compiler
command
1436 CFLAGS C compiler flags
1437 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1438 nonstandard directory
<lib dir
>
1439 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1440 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1441 you have headers
in a nonstandard directory
<include dir
>
1443 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1444 the first program found out of: `bison
-y', `byacc', `yacc'.
1445 YFLAGS The list of arguments that will be passed by default to $YACC.
1446 This script will default YFLAGS to the empty string to avoid a
1447 default value of `-d' given by some make applications.
1449 Use these variables to override the choices made by `configure' or to
help
1450 it to
find libraries and programs with nonstandard names
/locations.
1452 Report bugs to the package provider.
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1466 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1468 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1473 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1476 ac_abs_top_builddir
=$ac_pwd
1477 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir
=$ac_top_build_prefix
1482 .
) # We are building in place.
1484 ac_top_srcdir
=$ac_top_builddir_sub
1485 ac_abs_top_srcdir
=$ac_pwd ;;
1486 [\\/]* | ?
:[\\/]* ) # Absolute name.
1487 ac_srcdir
=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir
=$srcdir
1489 ac_abs_top_srcdir
=$srcdir ;;
1491 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1495 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1516 generated by GNU Autoconf
2.64
1518 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1519 This configure
script is free software
; the Free Software Foundation
1520 gives unlimited permission to copy
, distribute and modify it.
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile
()
1534 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1535 rm -f conftest.
$ac_objext
1536 if { { ac_try
="$ac_compile"
1538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_link LINENO
1568 # -----------------------
1569 # Try to link conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 rm -f conftest.$ac_objext conftest$ac_exeext
1574 if { { ac_try="$ac_link"
1576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1577 *) ac_try_echo
=$ac_try;;
1579 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>conftest.err
1583 if test -s conftest.err
; then
1584 grep -v '^ *+' conftest.err
>conftest.er1
1585 cat conftest.er1
>&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1592 } && test -s conftest
$ac_exeext && {
1593 test "$cross_compiling" = yes ||
1594 $as_test_x conftest
$ac_exeext
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.
$ac_ext >&5
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1605 # interfere with the next link command; also delete a directory that is
1606 # left behind by Apple's compiler. We do this before executing the actions.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1611 } # ac_fn_c_try_link
1613 # ac_fn_c_try_cpp LINENO
1614 # ----------------------
1615 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1618 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1619 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;;
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1628 if test -s conftest.err; then
1629 grep -v '^ *+' conftest.err >conftest.er1
1630 cat conftest.er1 >&5
1631 mv -f conftest.er1 conftest.err
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } >/dev/null && {
1635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1636 test ! -s conftest.err
1640 $as_echo "$as_me: failed program was:" >&5
1641 sed 's/^/| /' conftest.$ac_ext >&5
1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1650 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1651 # -------------------------------------------------------
1652 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1653 # the include files in INCLUDES and setting the cache variable VAR
1655 ac_fn_c_check_header_mongrel ()
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660 $as_echo_n "checking for $2... " >&6; }
1661 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1662 $as_echo_n "(cached) " >&6
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1668 # Is the header compilable?
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1670 $as_echo_n "checking $2 usability... " >&6; }
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1676 if ac_fn_c_try_compile "$LINENO"; then :
1677 ac_header_compiler=yes
1679 ac_header_compiler=no
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1683 $as_echo "$ac_header_compiler" >&6; }
1685 # Is the header present?
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1687 $as_echo_n "checking $2 presence... " >&6; }
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1692 if ac_fn_c_try_cpp "$LINENO"; then :
1693 ac_header_preproc=yes
1695 ac_header_preproc=no
1697 rm -f conftest.err conftest.$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1699 $as_echo "$ac_header_preproc" >&6; }
1701 # So? What about this header?
1702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1705 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1707 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1711 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1713 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1715 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1717 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1725 $as_echo_n "(cached) " >&6
1727 eval "$3=\$ac_header_compiler"
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 $as_echo "$ac_res" >&6; }
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 } # ac_fn_c_check_header_mongrel
1737 # ac_fn_c_try_run LINENO
1738 # ----------------------
1739 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1740 # that executables *can* be run.
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 if { { ac_try="$ac_link"
1746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1747 *) ac_try_echo
=$ac_try;;
1749 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_link") 2>&5
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1755 { { case "(($ac_try" in
1756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_try") 2>&5
1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 test $ac_status = 0; }; }; then :
1767 $as_echo "$as_me: program exited with status $ac_status" >&5
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.$ac_ext >&5
1771 ac_retval=$ac_status
1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1779 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1780 # -------------------------------------------------------
1781 # Tests whether HEADER exists and can be compiled using the include files in
1782 # INCLUDES, setting the cache variable VAR accordingly.
1783 ac_fn_c_check_header_compile ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1789 $as_echo_n "(cached) " >&6
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1796 if ac_fn_c_try_compile "$LINENO"; then :
1801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1808 } # ac_fn_c_check_header_compile
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1819 $as_echo_n "(cached) " >&6
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1825 #define $2 innocuous_$2
1827 /* System header to define __stub macros and hopefully few prototypes,
1828 which can conflict with char $2 (); below.
1829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830 <limits.h> exists even on freestanding compilers. */
1833 # include <limits.h>
1835 # include <assert.h>
1840 /* Override any GCC internal prototype to avoid an error.
1841 Use char because int might match the return type of a GCC
1842 builtin and then its argument prototype would still apply. */
1847 /* The GNU C library defines this for functions which it implements
1848 to always fail with ENOSYS. Some functions are actually named
1849 something starting with __ and the normal name is an alias. */
1850 #if defined __stub_$2 || defined __stub___$2
1862 if ac_fn_c_try_link "$LINENO"; then :
1867 rm -f core conftest.err conftest.$ac_objext \
1868 conftest$ac_exeext conftest.$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 } # ac_fn_c_check_func
1877 # ac_fn_c_check_decl LINENO SYMBOL VAR
1878 # ------------------------------------
1879 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1880 ac_fn_c_check_decl ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1884 $as_echo_n "checking whether $2 is declared... " >&6; }
1885 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1886 $as_echo_n "(cached) " >&6
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1902 if ac_fn_c_try_compile "$LINENO"; then :
1907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 } # ac_fn_c_check_decl
1916 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1917 # --------------------------------------------
1918 # Tries to find the compile-time value of EXPR in a program that includes
1919 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1921 ac_fn_c_compute_int ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 if test "$cross_compiling" = yes; then
1925 # Depending upon the size, compute the lo and hi bounds.
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1932 static int test_array [1 - 2 * !(($2) >= 0)];
1939 if ac_fn_c_try_compile "$LINENO"; then :
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1948 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1955 if ac_fn_c_try_compile "$LINENO"; then :
1956 ac_hi=$ac_mid; break
1958 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1959 if test $ac_lo -le $ac_mid; then
1963 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1974 static int test_array [1 - 2 * !(($2) < 0)];
1981 if ac_fn_c_try_compile "$LINENO"; then :
1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1990 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1997 if ac_fn_c_try_compile "$LINENO"; then :
1998 ac_lo=$ac_mid; break
2000 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2001 if test $ac_mid -le $ac_hi; then
2005 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2015 # Binary search between lo and hi bounds.
2016 while test "x$ac_lo" != "x$ac_hi"; do
2017 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2024 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2031 if ac_fn_c_try_compile "$LINENO"; then :
2034 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2046 static long int longval () { return $2; }
2047 static unsigned long int ulongval () { return $2; }
2054 FILE *f = fopen ("conftest.val", "w");
2059 long int i = longval ();
2062 fprintf (f, "%ld", i);
2066 unsigned long int i = ulongval ();
2069 fprintf (f, "%lu", i);
2071 /* Do not output a trailing newline, as this causes \r\n confusion
2072 on some platforms. */
2073 return ferror (f) || fclose (f) != 0;
2079 if ac_fn_c_try_run "$LINENO"; then :
2080 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2085 conftest.$ac_objext conftest.beam conftest.$ac_ext
2089 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 } # ac_fn_c_compute_int
2093 cat >config.log <<_ACEOF
2094 This file contains any messages produced by compilers while
2095 running configure, to aid debugging if configure makes a mistake.
2097 It was created by $as_me, which was
2098 generated by GNU Autoconf 2.64. Invocation command line was
2110 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2111 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2112 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2113 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2114 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2116 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2117 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2119 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2120 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2121 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2122 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2123 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2124 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2125 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir=.
2134 $as_echo "PATH: $as_dir"
2150 # Keep a trace of the command line.
2151 # Strip out --no-create and --no-recursion so they do not pile up.
2152 # Strip out --silent because we don't want to record it for future runs.
2153 # Also quote any args containing shell meta-characters.
2154 # Make two passes to allow for proper duplicate-argument suppression.
2158 ac_must_keep_next=false
2164 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2165 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2166 | -silent | --silent | --silen | --sile | --sil)
2169 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2172 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2174 as_fn_append ac_configure_args1 " '$ac_arg'"
2175 if test $ac_must_keep_next = true; then
2176 ac_must_keep_next=false # Got value, back to normal.
2179 *=* | --config-cache | -C | -disable-* | --disable-* \
2180 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2181 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2182 | -with-* | --with-* | -without-* | --without-* | --x)
2183 case "$ac_configure_args0 " in
2184 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2187 -* ) ac_must_keep_next=true ;;
2190 as_fn_append ac_configure_args " '$ac_arg'"
2195 { ac_configure_args0=; unset ac_configure_args0;}
2196 { ac_configure_args1=; unset ac_configure_args1;}
2198 # When interrupted or exit'd, cleanup temporary files, and complete
2199 # config.log. We remove comments because anyway the quotes in there
2200 # would cause problems or look ugly.
2201 # WARNING: Use '\'' to represent an apostrophe within the trap.
2202 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2203 trap 'exit_status=$?
2204 # Save into config.log some information that might help in debugging.
2209 ## ---------------- ##
2210 ## Cache variables. ##
2211 ## ---------------- ##
2214 # The following way of writing the cache mishandles newlines in values,
2216 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2217 eval ac_val=\$$ac_var
2221 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2225 _ | IFS | as_nl) ;; #(
2226 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2227 *) { eval $ac_var=; unset $ac_var;} ;;
2232 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2233 *${as_nl}ac_space=\ *)
2235 "s/'\''/'\''\\\\'\'''\''/g;
2236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2247 ## ----------------- ##
2248 ## Output variables. ##
2249 ## ----------------- ##
2252 for ac_var in $ac_subst_vars
2254 eval ac_val=\$$ac_var
2256 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 $as_echo "$ac_var='\''$ac_val'\''"
2262 if test -n "$ac_subst_files"; then
2264 ## ------------------- ##
2265 ## File substitutions. ##
2266 ## ------------------- ##
2269 for ac_var in $ac_subst_files
2271 eval ac_val=\$$ac_var
2273 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2275 $as_echo "$ac_var='\''$ac_val'\''"
2280 if test -s confdefs.h; then
2290 test "$ac_signal" != 0 &&
2291 $as_echo "$as_me: caught signal $ac_signal"
2292 $as_echo "$as_me: exit $exit_status"
2294 rm -f core *.core core.conftest.* &&
2295 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2298 for ac_signal in 1 2 13 15; do
2299 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2303 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2304 rm -f -r conftest* confdefs.h
2306 $as_echo "/* confdefs.h */" > confdefs.h
2308 # Predefined preprocessor variables.
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_NAME "$PACKAGE_NAME"
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_STRING "$PACKAGE_STRING"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_URL "$PACKAGE_URL"
2335 # Let the site file select an alternate cache file if it wants to.
2336 # Prefer an explicitly selected file to automatically selected ones.
2339 if test -n "$CONFIG_SITE"; then
2340 ac_site_file1=$CONFIG_SITE
2341 elif test "x$prefix" != xNONE; then
2342 ac_site_file1=$prefix/share/config.site
2343 ac_site_file2=$prefix/etc/config.site
2345 ac_site_file1=$ac_default_prefix/share/config.site
2346 ac_site_file2=$ac_default_prefix/etc/config.site
2348 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2350 test "x$ac_site_file" = xNONE && continue
2351 if test -r "$ac_site_file"; then
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2353 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2354 sed 's/^/| /' "$ac_site_file" >&5
2359 if test -r "$cache_file"; then
2360 # Some versions of bash will fail to source /dev/null (special
2361 # files actually), so we avoid doing that.
2362 if test -f "$cache_file"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2364 $as_echo "$as_me: loading cache $cache_file" >&6;}
2366 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2367 *) . "./$cache_file";;
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2372 $as_echo "$as_me: creating cache $cache_file" >&6;}
2376 # Check that the precious variables saved in the cache have kept the same
2378 ac_cache_corrupted=false
2379 for ac_var in $ac_precious_vars; do
2380 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2381 eval ac_new_set=\$ac_env_${ac_var}_set
2382 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2383 eval ac_new_val=\$ac_env_${ac_var}_value
2384 case $ac_old_set,$ac_new_set in
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2387 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2388 ac_cache_corrupted=: ;;
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2391 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2392 ac_cache_corrupted=: ;;
2395 if test "x$ac_old_val" != "x$ac_new_val"; then
2396 # differences in whitespace do not lead to failure.
2397 ac_old_val_w=`echo x
$ac_old_val`
2398 ac_new_val_w=`echo x
$ac_new_val`
2399 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2401 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2402 ac_cache_corrupted=:
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2405 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2406 eval $ac_var=\$ac_old_val
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2409 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2411 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2414 # Pass precious variables to config.status.
2415 if test "$ac_new_set" = set; then
2417 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2418 *) ac_arg=$ac_var=$ac_new_val ;;
2420 case " $ac_configure_args " in
2421 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2422 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2426 if $ac_cache_corrupted; then
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2430 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2431 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2433 ## -------------------- ##
2434 ## Main body of script. ##
2435 ## -------------------- ##
2438 ac_cpp='$CPP $CPPFLAGS'
2439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2451 for ac_t in install-sh install.sh shtool; do
2452 if test -f "$ac_dir/$ac_t"; then
2454 ac_install_sh="$ac_aux_dir/$ac_t -c"
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2472 # Make sure we can run config.sub.
2473 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2474 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2477 $as_echo_n "checking build system type... " >&6; }
2478 if test "${ac_cv_build+set}" = set; then :
2479 $as_echo_n "(cached) " >&6
2481 ac_build_alias=$build_alias
2482 test "x$ac_build_alias" = x &&
2483 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2484 test "x$ac_build_alias" = x &&
2485 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2486 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2487 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2491 $as_echo "$ac_cv_build" >&6; }
2492 case $ac_cv_build in
2494 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2497 ac_save_IFS=$IFS; IFS='-'
2503 # Remember, the first character of IFS is used to create $*,
2504 # except with old shells:
2507 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2511 $as_echo_n "checking host system type... " >&6; }
2512 if test "${ac_cv_host+set}" = set; then :
2513 $as_echo_n "(cached) " >&6
2515 if test "x$host_alias" = x; then
2516 ac_cv_host=$ac_cv_build
2518 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2519 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2524 $as_echo "$ac_cv_host" >&6; }
2527 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2530 ac_save_IFS=$IFS; IFS='-'
2536 # Remember, the first character of IFS is used to create $*,
2537 # except with old shells:
2540 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2544 $as_echo_n "checking target system type... " >&6; }
2545 if test "${ac_cv_target+set}" = set; then :
2546 $as_echo_n "(cached) " >&6
2548 if test "x$target_alias" = x; then
2549 ac_cv_target=$ac_cv_host
2551 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2552 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2557 $as_echo "$ac_cv_target" >&6; }
2558 case $ac_cv_target in
2560 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2562 target=$ac_cv_target
2563 ac_save_IFS=$IFS; IFS='-'
2569 # Remember, the first character of IFS is used to create $*,
2570 # except with old shells:
2573 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2576 # The aliases save the names the user supplied, while $host etc.
2577 # will get canonicalized.
2578 test -n "$target_alias" &&
2579 test "$program_prefix$program_suffix$program_transform_name" = \
2581 program_prefix=${target_alias}-
2583 ac_cpp='$CPP $CPPFLAGS'
2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2587 if test -n "$ac_tool_prefix"; then
2588 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2589 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if test "${ac_cv_prog_CC+set}" = set; then :
2593 $as_echo_n "(cached) " >&6
2595 if test -n "$CC"; then
2596 ac_cv_prog_CC="$CC" # Let the user override the test.
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test -n "$CC"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2618 $as_echo "$CC" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621 $as_echo "no" >&6; }
2626 if test -z "$ac_cv_prog_CC"; then
2628 # Extract the first word of "gcc", so it can be a program name with args.
2629 set dummy gcc; ac_word=$2
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631 $as_echo_n "checking for $ac_word... " >&6; }
2632 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2633 $as_echo_n "(cached) " >&6
2635 if test -n "$ac_ct_CC"; then
2636 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir=.
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645 ac_cv_prog_ac_ct_CC="gcc"
2646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2658 $as_echo "$ac_ct_CC" >&6; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2664 if test "x$ac_ct_CC" = x; then
2667 case $cross_compiling:$ac_tool_warned in
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2671 ac_tool_warned=yes ;;
2679 if test -z "$CC"; then
2680 if test -n "$ac_tool_prefix"; then
2681 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2682 set dummy ${ac_tool_prefix}cc; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if test "${ac_cv_prog_CC+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$CC"; then
2689 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_CC="${ac_tool_prefix}cc"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$CC"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711 $as_echo "$CC" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 # Extract the first word of "cc", so it can be a program name with args.
2722 set dummy cc; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2740 ac_prog_rejected=yes
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 if test $ac_prog_rejected = yes; then
2752 # We found a bogon in the path, so make sure we never use it.
2753 set dummy $ac_cv_prog_CC
2755 if test $# != 0; then
2756 # We chose a different compiler from the bogus one.
2757 # However, it has the same basename, so the bogon will be chosen
2758 # first if we set CC to just the basename; use the full file name.
2760 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2766 if test -n "$CC"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2776 if test -z "$CC"; then
2777 if test -n "$ac_tool_prefix"; then
2778 for ac_prog in cl.exe
2780 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2781 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if test "${ac_cv_prog_CC+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC="$CC" # Let the user override the test.
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir=.
2795 for ac_exec_ext in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 if test -n "$CC"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2817 test -n "$CC" && break
2820 if test -z "$CC"; then
2822 for ac_prog in cl.exe
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy $ac_prog; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$ac_ct_CC"; then
2832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841 ac_cv_prog_ac_ct_CC="$ac_prog"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2852 if test -n "$ac_ct_CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2854 $as_echo "$ac_ct_CC" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2861 test -n "$ac_ct_CC" && break
2864 if test "x$ac_ct_CC" = x; then
2867 case $cross_compiling:$ac_tool_warned in
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2880 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 as_fn_error "no acceptable C compiler found
in \
$PATH
2883 See \
`config.log' for more details." "$LINENO" 5; }
2885 # Provide some information about the compiler.
2886 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2889 for ac_option in --version -v -V -qversion; do
2890 { { ac_try="$ac_compiler $ac_option >&5"
2892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2893 *) ac_try_echo
=$ac_try;;
2895 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2899 if test -s conftest.err
; then
2901 ... rest of stderr output deleted ...
2902 10q' conftest.err
>conftest.er1
2903 cat conftest.er1
>&5
2904 rm -f conftest.er1 conftest.err
2906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; }
2910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2921 ac_clean_files_save
=$ac_clean_files
2922 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2923 # Try to create an executable without -o first, disregard a.out.
2924 # It will help us diagnose broken compilers, and finding out an intuition
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2927 $as_echo_n "checking for C compiler default output file name... " >&6; }
2928 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2930 # The possible output files:
2931 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2934 for ac_file
in $ac_files
2937 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2938 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2943 if { { ac_try
="$ac_link_default"
2945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_link_default") 2>&5
2952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; }; then :
2954 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2955 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2956 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2957 # so that the user can short-circuit this test for compilers unknown to
2959 for ac_file in $ac_files ''
2961 test -f "$ac_file" || continue
2963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2966 # We found the default executable, but exeext='' is most
2970 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2972 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2974 # We set ac_cv_exeext here because the later test for it is not
2975 # safe: cross compilers may not add the suffix if given an `-o'
2976 # argument, so we may need to know it at that point already.
2977 # Even if this section looks crufty: it has the advantage of
2984 test "$ac_cv_exeext" = no && ac_cv_exeext=
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2990 $as_echo "$ac_file" >&6; }
2991 if test -z "$ac_file"; then :
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's
/^
/|
/' conftest.$ac_ext >&5
2995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2996 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2997 { as_fn_set_status 77
2998 as_fn_error "C compiler cannot create executables
2999 See \`config.log
' for more details." "$LINENO" 5; }; }
3001 ac_exeext=$ac_cv_exeext
3003 # Check that the compiler produces executables we can run. If not, either
3004 # the compiler is broken, or we cross compile.
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3006 $as_echo_n "checking whether the C compiler works... " >&6; }
3007 # If not cross compiling, check that we can run a simple program.
3008 if test "$cross_compiling" != yes; then
3009 if { ac_try='.
/$ac_file'
3010 { { case "(($ac_try" in
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3015 $as_echo "$ac_try_echo"; } >&5
3016 (eval "$ac_try") 2>&5
3018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019 test $ac_status = 0; }; }; then
3022 if test "$cross_compiling" = maybe; then
3025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3027 as_fn_error "cannot run C compiled programs.
3028 If you meant to cross compile, use \`--host'.
3029 See \`config.log' for more details.
" "$LINENO" 5; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3034 $as_echo "yes" >&6; }
3036 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3037 ac_clean_files=$ac_clean_files_save
3038 # Check that the compiler produces executables we can run. If not, either
3039 # the compiler is broken, or we cross compile.
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3041 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3043 $as_echo "$cross_compiling" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3046 $as_echo_n "checking
for suffix of executables...
" >&6; }
3047 if { { ac_try="$ac_link"
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_link") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3057 test $ac_status = 0; }; then :
3058 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3059 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3060 # work properly (i.e., refer to `conftest.exe'), while it won't with
3062 for ac_file in conftest.exe conftest conftest.*; do
3063 test -f "$ac_file" || continue
3065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3066 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3074 as_fn_error "cannot compute suffix of executables: cannot compile and link
3075 See \`config.log' for more details.
" "$LINENO" 5; }
3077 rm -f conftest$ac_cv_exeext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3079 $as_echo "$ac_cv_exeext" >&6; }
3081 rm -f conftest.$ac_ext
3082 EXEEXT=$ac_cv_exeext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3085 $as_echo_n "checking
for suffix of object files...
" >&6; }
3086 if test "${ac_cv_objext+set}" = set; then :
3087 $as_echo_n "(cached
) " >&6
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3100 rm -f conftest.o conftest.obj
3101 if { { ac_try="$ac_compile"
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_compile") 2>&5
3110 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3111 test $ac_status = 0; }; then :
3112 for ac_file in conftest.o conftest.obj conftest.*; do
3113 test -f "$ac_file" || continue;
3115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3116 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3121 $as_echo "$as_me: failed program was
:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error "cannot compute suffix of object files: cannot compile
3127 See \`config.log' for more details.
" "$LINENO" 5; }
3129 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3132 $as_echo "$ac_cv_objext" >&6; }
3133 OBJEXT=$ac_cv_objext
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3136 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3137 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3138 $as_echo_n "(cached
) " >&6
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3154 if ac_fn_c_try_compile "$LINENO"; then :
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3164 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3165 if test $ac_compiler_gnu = yes; then
3170 ac_test_CFLAGS=${CFLAGS+set}
3171 ac_save_CFLAGS=$CFLAGS
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3173 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3174 if test "${ac_cv_prog_cc_g+set}" = set; then :
3175 $as_echo_n "(cached
) " >&6
3177 ac_save_c_werror_flag=$ac_c_werror_flag
3178 ac_c_werror_flag=yes
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3192 if ac_fn_c_try_compile "$LINENO"; then :
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3207 if ac_fn_c_try_compile "$LINENO"; then :
3210 ac_c_werror_flag=$ac_save_c_werror_flag
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3223 if ac_fn_c_try_compile "$LINENO"; then :
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231 ac_c_werror_flag=$ac_save_c_werror_flag
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3234 $as_echo "$ac_cv_prog_cc_g" >&6; }
3235 if test "$ac_test_CFLAGS" = set; then
3236 CFLAGS=$ac_save_CFLAGS
3237 elif test $ac_cv_prog_cc_g = yes; then
3238 if test "$GCC" = yes; then
3244 if test "$GCC" = yes; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3251 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3252 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3253 $as_echo_n "(cached
) " >&6
3255 ac_cv_prog_cc_c89=no
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3261 #include <sys/types.h>
3262 #include <sys/stat.h>
3263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3264 struct buf { int x; };
3265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3266 static char *e (p, i)
3272 static char *f (char * (*g) (char **, int), char **p, ...)
3277 s = g (p, va_arg (v,int));
3282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3283 function prototypes and stuff, but not '\xHH' hex character constants.
3284 These don't provoke an error unfortunately, instead are silently treated
3285 as 'x'. The following induces an error, until -std is added to get
3286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3287 array size at least. It's necessary to write '\x00'==0 to get something
3288 that's true only with -std. */
3289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3292 inside strings and character constants. */
3294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3296 int test (int i, double x);
3297 struct s1 {int (*f) (int a);};
3298 struct s2 {int (*f) (double a);};
3299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3313 CC="$ac_save_CC $ac_arg"
3314 if ac_fn_c_try_compile "$LINENO"; then :
3315 ac_cv_prog_cc_c89=$ac_arg
3317 rm -f core conftest.err conftest.$ac_objext
3318 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3320 rm -f conftest.$ac_ext
3325 case "x
$ac_cv_prog_cc_c89" in
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3328 $as_echo "none needed
" >&6; } ;;
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3331 $as_echo "unsupported
" >&6; } ;;
3333 CC="$CC $ac_cv_prog_cc_c89"
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3337 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3342 ac_cpp='$CPP $CPPFLAGS'
3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing strerror
" >&5
3349 $as_echo_n "checking
for library containing strerror...
" >&6; }
3350 if test "${ac_cv_search_strerror+set}" = set; then :
3351 $as_echo_n "(cached
) " >&6
3353 ac_func_search_save_LIBS=$LIBS
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3357 /* Override any GCC internal prototype to avoid an error.
3358 Use char because int might match the return type of a GCC
3359 builtin and then its argument prototype would still apply. */
3372 for ac_lib in '' cposix; do
3373 if test -z "$ac_lib"; then
3374 ac_res="none required
"
3377 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3379 if ac_fn_c_try_link "$LINENO"; then :
3380 ac_cv_search_strerror=$ac_res
3382 rm -f core conftest.err conftest.$ac_objext \
3384 if test "${ac_cv_search_strerror+set}" = set; then :
3388 if test "${ac_cv_search_strerror+set}" = set; then :
3391 ac_cv_search_strerror=no
3394 LIBS=$ac_func_search_save_LIBS
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_strerror" >&5
3397 $as_echo "$ac_cv_search_strerror" >&6; }
3398 ac_res=$ac_cv_search_strerror
3399 if test "$ac_res" != no; then :
3400 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3405 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3406 am__api_version='1.11'
3408 # Find a good install program. We prefer a C program (faster),
3409 # so one script is as good as another. But avoid the broken or
3410 # incompatible versions:
3411 # SysV /etc/install, /usr/sbin/install
3412 # SunOS /usr/etc/install
3413 # IRIX /sbin/install
3415 # AmigaOS /C/install, which installs bootblocks on floppy discs
3416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3419 # OS/2's system install, which has a completely different semantic
3420 # ./install, which can be erroneously created by make from ./install.sh.
3421 # Reject install programs that cannot install multiple files.
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3423 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3424 if test -z "$INSTALL"; then
3425 if test "${ac_cv_path_install+set}" = set; then :
3426 $as_echo_n "(cached
) " >&6
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir=.
3433 # Account for people who put trailing slashes in PATH elements.
3434 case $as_dir/ in #((
3435 ./ | .// | /[cC]/* | \
3436 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3437 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3440 # OSF1 and SCO ODT 3.0 have their own names for install.
3441 # Don't use installbsd from OSF since it installs stuff as root
3443 for ac_prog in ginstall scoinst install; do
3444 for ac_exec_ext in '' $ac_executable_extensions; do
3445 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3446 if test $ac_prog = install &&
3447 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3448 # AIX install. It has an incompatible calling convention.
3450 elif test $ac_prog = install &&
3451 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3452 # program-specific install script used by HP pwplus--don't use.
3455 rm -rf conftest.one conftest.two conftest.dir
3456 echo one > conftest.one
3457 echo two > conftest.two
3459 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3460 test -s conftest.one && test -s conftest.two &&
3461 test -s conftest.dir/conftest.one &&
3462 test -s conftest.dir/conftest.two
3464 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3477 rm -rf conftest.one conftest.two conftest.dir
3480 if test "${ac_cv_path_install+set}" = set; then
3481 INSTALL=$ac_cv_path_install
3483 # As a last resort, use the slow shell script. Don't cache a
3484 # value for INSTALL within a source directory, because that will
3485 # break other packages using the cache if that directory is
3486 # removed, or if the value is a relative name.
3487 INSTALL=$ac_install_sh
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3491 $as_echo "$INSTALL" >&6; }
3493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3494 # It thinks the first close brace ends the variable substitution.
3495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3502 $as_echo_n "checking whether build environment is sane...
" >&6; }
3505 echo timestamp > conftest.file
3506 # Reject unsafe characters in $srcdir or the absolute working directory
3507 # name. Accept space and tab only in the latter.
3511 *[\\\"\#\$\&\'\`$am_lf]*)
3512 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3515 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3516 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3519 # Do `set' in a subshell so we don't clobber the current shell
's
3520 # arguments. Must try -L first in case configure is actually a
3521 # symlink; some systems play weird games with the mod time of symlinks
3522 # (eg FreeBSD returns the mod time of the symlink's containing
3525 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3526 if test "$*" = "X"; then
3528 set X
`ls -t "$srcdir/configure" conftest.file`
3531 if test "$*" != "X $srcdir/configure conftest.file" \
3532 && test "$*" != "X conftest.file $srcdir/configure"; then
3534 # If neither matched, then we have a broken ls. This can happen
3535 # if, for instance, CONFIG_SHELL is bash and it inherits a
3536 # broken ls alias from the environment. This has actually
3537 # happened. Such a system could not be considered "sane".
3538 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3539 alias in your environment" "$LINENO" 5
3542 test "$2" = conftest.
file
3548 as_fn_error
"newly created file is older than distributed files!
3549 Check your system clock" "$LINENO" 5
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3552 $as_echo "yes" >&6; }
3553 test "$program_prefix" != NONE
&&
3554 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3555 # Use a double $ so make ignores it.
3556 test "$program_suffix" != NONE
&&
3557 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3558 # Double any \ or $.
3559 # By default was `s,x,x', remove it if useless.
3560 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3561 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3563 # expand $ac_aux_dir to an absolute path
3564 am_aux_dir
=`cd $ac_aux_dir && pwd`
3566 if test x
"${MISSING+set}" != xset
; then
3569 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3571 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3574 # Use eval to expand $SHELL
3575 if eval "$MISSING --run true"; then
3576 am_missing_run
="$MISSING --run "
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3580 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3583 if test x
"${install_sh}" != xset
; then
3586 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3588 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3592 # Installed binaries are usually stripped using `strip' when the user
3593 # run `make install-strip'. However `strip' might not be the right
3594 # tool to use in cross-compilation environments, therefore Automake
3595 # will honor the `STRIP' environment variable to overrule this program.
3596 if test "$cross_compiling" != no
; then
3597 if test -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3599 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if test "${ac_cv_prog_STRIP+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$STRIP"; then
3606 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3615 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 STRIP
=$ac_cv_prog_STRIP
3626 if test -n "$STRIP"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3628 $as_echo "$STRIP" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3636 if test -z "$ac_cv_prog_STRIP"; then
3638 # Extract the first word of "strip", so it can be a program name with args.
3639 set dummy strip
; ac_word
=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$ac_ct_STRIP"; then
3646 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_ac_ct_STRIP
="strip"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3666 if test -n "$ac_ct_STRIP"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3668 $as_echo "$ac_ct_STRIP" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3674 if test "x$ac_ct_STRIP" = x
; then
3677 case $cross_compiling:$ac_tool_warned in
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3681 ac_tool_warned
=yes ;;
3686 STRIP
="$ac_cv_prog_STRIP"
3690 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3693 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3694 if test -z "$MKDIR_P"; then
3695 if test "${ac_cv_path_mkdir+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3699 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3702 test -z "$as_dir" && as_dir
=.
3703 for ac_prog
in mkdir gmkdir
; do
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3706 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3707 'mkdir (GNU coreutils) '* | \
3708 'mkdir (coreutils) '* | \
3709 'mkdir (fileutils) '4.1*)
3710 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3720 if test "${ac_cv_path_mkdir+set}" = set; then
3721 MKDIR_P
="$ac_cv_path_mkdir -p"
3723 # As a last resort, use the slow shell script. Don't cache a
3724 # value for MKDIR_P within a source directory, because that will
3725 # break other packages using the cache if that directory is
3726 # removed, or if the value is a relative name.
3727 test -d .
/--version && rmdir .
/--version
3728 MKDIR_P
="$ac_install_sh -d"
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3732 $as_echo "$MKDIR_P" >&6; }
3736 [\\/$
]* | ?
:[\\/]*) ;;
3737 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3740 for ac_prog
in gawk mawk nawk
awk
3742 # Extract the first word of "$ac_prog", so it can be a program name with args.
3743 set dummy
$ac_prog; ac_word
=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_AWK+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$AWK"; then
3750 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_AWK
="$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 if test -n "$AWK"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3772 $as_echo "$AWK" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$AWK" && break
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3783 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3785 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3786 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3787 $as_echo_n "(cached) " >&6
3789 cat >conftest.
make <<\_ACEOF
3792 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3794 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3795 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3797 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3799 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3803 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3805 $as_echo "yes" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3810 SET_MAKE
="MAKE=${MAKE-make}"
3813 rm -rf .tst
2>/dev
/null
3814 mkdir .tst
2>/dev
/null
3815 if test -d .tst
; then
3820 rmdir .tst
2>/dev
/null
3822 DEPDIR
="${am__leading_dot}deps"
3824 ac_config_commands
="$ac_config_commands depfiles"
3827 am_make
=${MAKE-make}
3828 cat > confinc
<< 'END'
3830 @
echo this is the am__doit target
3833 # If we don't find an include directive, just comment out the code.
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3835 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3839 # First try GNU make style include.
3840 echo "include confinc" > confmf
3841 # Ignore all kinds of additional output from `make'.
3842 case `$am_make -s -f confmf 2> /dev/null` in #(
3843 *the\ am__doit\ target
*)
3849 # Now try BSD make style include.
3850 if test "$am__include" = "#"; then
3851 echo '.include "confinc"' > confmf
3852 case `$am_make -s -f confmf 2> /dev/null` in #(
3853 *the\ am__doit\ target
*)
3854 am__include
=.include
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3863 $as_echo "$_am_result" >&6; }
3864 rm -f confinc confmf
3866 # Check whether --enable-dependency-tracking was given.
3867 if test "${enable_dependency_tracking+set}" = set; then :
3868 enableval
=$enable_dependency_tracking;
3871 if test "x$enable_dependency_tracking" != xno
; then
3872 am_depcomp
="$ac_aux_dir/depcomp"
3875 if test "x$enable_dependency_tracking" != xno; then
3884 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3885 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3886 # is not polluted with repeated "-I."
3887 am__isrc
=' -I$(srcdir)'
3888 # test to see if srcdir already configured
3889 if test -f $srcdir/config.status
; then
3890 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3894 # test whether we have cygpath
3895 if test -z "$CYGPATH_W"; then
3896 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3897 CYGPATH_W
='cygpath -w'
3904 # Define the identity of the package.
3906 VERSION
=${BFD_VERSION}
3909 cat >>confdefs.h
<<_ACEOF
3910 #define PACKAGE "$PACKAGE"
3914 cat >>confdefs.h
<<_ACEOF
3915 #define VERSION "$VERSION"
3918 # Some tools Automake needs.
3920 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3923 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3926 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3929 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3932 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3934 # We need awk for the "check" target. The system "awk" is bad on
3936 # Always define AMTAR for backward compatibility.
3938 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3940 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3945 depcc
="$CC" am_compiler_list
=
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3948 $as_echo_n "checking dependency style of $depcc... " >&6; }
3949 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3953 # We make a subdir and do the tests there. Otherwise we can end up
3954 # making bogus files that we don't know about and never remove. For
3955 # instance it was reported that on HP-UX the gcc test will end up
3956 # making a dummy file named `D' -- because `-MD' means `put the output
3959 # Copy depcomp to subdir because otherwise we won't find it if we're
3960 # using a relative directory.
3961 cp "$am_depcomp" conftest.dir
3963 # We will build objects and dependencies in a subdirectory because
3964 # it helps to detect inapplicable dependency modes. For instance
3965 # both Tru64's cc and ICC support -MD to output dependencies as a
3966 # side effect of compilation, but ICC will put the dependencies in
3967 # the current directory while Tru64 will put them in the object
3971 am_cv_CC_dependencies_compiler_type
=none
3972 if test "$am_compiler_list" = ""; then
3973 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3976 case " $depcc " in #(
3977 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3980 for depmode
in $am_compiler_list; do
3981 # Setup a source with many dependencies, because some compilers
3982 # like to wrap large dependency lists on column 80 (with \), and
3983 # we should not choose a depcomp mode which is confused by this.
3985 # We need to recreate these files for each test, as the compiler may
3986 # overwrite some of them when testing with obscure command lines.
3987 # This happens at least with the AIX C compiler.
3989 for i
in 1 2 3 4 5 6; do
3990 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3991 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3992 # Solaris 8's {/usr,}/bin/sh.
3993 touch sub
/conftst
$i.h
3995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3997 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3998 # mode. It turns out that the SunPro C++ compiler does not properly
3999 # handle `-M -o', and we need to detect this. Also, some Intel
4000 # versions had trouble with output in subdirs
4001 am__obj
=sub
/conftest.
${OBJEXT-o}
4002 am__minus_obj
="-o $am__obj"
4005 # This depmode causes a compiler race in universal mode.
4006 test "$am__universal" = false ||
continue
4009 # after this tag, mechanisms are not by side-effect, so they'll
4010 # only be used when explicitly requested
4011 if test "x$enable_dependency_tracking" = xyes
; then
4017 msvisualcpp | msvcmsys
)
4018 # This compiler won't grok `-c -o', but also, the minuso test has
4019 # not run yet. These depmodes are late enough in the game, and
4020 # so weak that their functioning should not be impacted.
4021 am__obj
=conftest.
${OBJEXT-o}
4026 if depmode
=$depmode \
4027 source=sub
/conftest.c object
=$am__obj \
4028 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4029 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4030 >/dev
/null
2>conftest.err
&&
4031 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4032 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4033 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4034 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4035 # icc doesn't choke on unknown options, it will just issue warnings
4036 # or remarks (even with -Werror). So we grep stderr for any message
4037 # that says an option was ignored or not supported.
4038 # When given -MP, icc 7.0 and 7.1 complain thusly:
4039 # icc: Command line warning: ignoring option '-M'; no argument required
4040 # The diagnosis changed in icc 8.0:
4041 # icc: Command line remark: option '-MP' not supported
4042 if (grep 'ignoring option' conftest.err ||
4043 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4044 am_cv_CC_dependencies_compiler_type
=$depmode
4053 am_cv_CC_dependencies_compiler_type
=none
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4058 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4059 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4062 test "x$enable_dependency_tracking" != xno \
4063 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4065 am__fastdepCC_FALSE
='#'
4067 am__fastdepCC_TRUE
='#'
4068 am__fastdepCC_FALSE
=
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4075 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4076 # Check whether --enable-maintainer-mode was given.
4077 if test "${enable_maintainer_mode+set}" = set; then :
4078 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4080 USE_MAINTAINER_MODE
=no
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4084 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4085 if test $USE_MAINTAINER_MODE = yes; then
4086 MAINTAINER_MODE_TRUE
=
4087 MAINTAINER_MODE_FALSE
='#'
4089 MAINTAINER_MODE_TRUE
='#'
4090 MAINTAINER_MODE_FALSE
=
4093 MAINT
=$MAINTAINER_MODE_TRUE
4098 # Check whether --with-lib-path was given.
4099 if test "${with_lib_path+set}" = set; then :
4100 withval
=$with_lib_path; LIB_PATH
=$withval
4103 # Check whether --enable-targets was given.
4104 if test "${enable_targets+set}" = set; then :
4105 enableval
=$enable_targets; case "${enableval}" in
4106 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
4108 no
) enable_targets
= ;;
4109 *) enable_targets
=$enableval ;;
4112 # Check whether --enable-64-bit-bfd was given.
4113 if test "${enable_64_bit_bfd+set}" = set; then :
4114 enableval
=$enable_64_bit_bfd; case "${enableval}" in
4117 *) as_fn_error
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
4124 # Check whether --with-sysroot was given.
4125 if test "${with_sysroot+set}" = set; then :
4126 withval
=$with_sysroot;
4127 case ${with_sysroot} in
4128 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
4129 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
4132 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
4135 if test "x$prefix" = xNONE
; then
4136 test_prefix
=/usr
/local
4140 if test "x$exec_prefix" = xNONE
; then
4141 test_exec_prefix
=$test_prefix
4143 test_exec_prefix
=$exec_prefix
4145 case ${TARGET_SYSTEM_ROOT} in
4146 "${test_prefix}"|
"${test_prefix}/"*|\
4147 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
4148 '${prefix}'|
'${prefix}/'*|\
4149 '${exec_prefix}'|
'${exec_prefix}/'*)
4150 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
4151 TARGET_SYSTEM_ROOT_DEFINE
="$t"
4159 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
4167 # Check whether --enable-got was given.
4168 if test "${enable_got+set}" = set; then :
4169 enableval
=$enable_got; case "${enableval}" in
4170 target | single | negative | multigot
) got_handling
=$enableval ;;
4171 *) as_fn_error
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
4178 case "${got_handling}" in
4181 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
4185 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
4189 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
4193 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
4195 *) as_fn_error
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
4199 ac_cpp
='$CPP $CPPFLAGS'
4200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4204 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4205 # On Suns, sometimes $CPP names a directory.
4206 if test -n "$CPP" && test -d "$CPP"; then
4209 if test -z "$CPP"; then
4210 if test "${ac_cv_prog_CPP+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4213 # Double quotes because CPP needs to be expanded
4214 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4217 for ac_c_preproc_warn_flag
in '' yes
4219 # Use a header file that comes with gcc, so configuring glibc
4220 # with a fresh cross-compiler works.
4221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4222 # <limits.h> exists even on freestanding compilers.
4223 # On the NeXT, cc -E runs the code through the compiler's parser,
4224 # not just through cpp. "Syntax error" is here to catch this case.
4225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4228 # include <limits.h>
4230 # include <assert.h>
4234 if ac_fn_c_try_cpp
"$LINENO"; then :
4237 # Broken: fails on valid input.
4240 rm -f conftest.err conftest.
$ac_ext
4242 # OK, works on sane cases. Now check whether nonexistent headers
4243 # can be detected and how.
4244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #include <ac_nonexistent.h>
4248 if ac_fn_c_try_cpp
"$LINENO"; then :
4249 # Broken: success on invalid input.
4252 # Passes both tests.
4256 rm -f conftest.err conftest.
$ac_ext
4259 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4260 rm -f conftest.err conftest.
$ac_ext
4261 if $ac_preproc_ok; then :
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4274 $as_echo "$CPP" >&6; }
4276 for ac_c_preproc_warn_flag
in '' yes
4278 # Use a header file that comes with gcc, so configuring glibc
4279 # with a fresh cross-compiler works.
4280 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4281 # <limits.h> exists even on freestanding compilers.
4282 # On the NeXT, cc -E runs the code through the compiler's parser,
4283 # not just through cpp. "Syntax error" is here to catch this case.
4284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4287 # include <limits.h>
4289 # include <assert.h>
4293 if ac_fn_c_try_cpp
"$LINENO"; then :
4296 # Broken: fails on valid input.
4299 rm -f conftest.err conftest.
$ac_ext
4301 # OK, works on sane cases. Now check whether nonexistent headers
4302 # can be detected and how.
4303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4305 #include <ac_nonexistent.h>
4307 if ac_fn_c_try_cpp
"$LINENO"; then :
4308 # Broken: success on invalid input.
4311 # Passes both tests.
4315 rm -f conftest.err conftest.
$ac_ext
4318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4319 rm -f conftest.err conftest.
$ac_ext
4320 if $ac_preproc_ok; then :
4323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4326 See \`config.log' for more details." "$LINENO" 5; }
4330 ac_cpp
='$CPP $CPPFLAGS'
4331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4337 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4338 if test "${ac_cv_path_GREP+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -z "$GREP"; then
4342 ac_path_GREP_found
=false
4343 # Loop through the user's path and test for each of PROGNAME-LIST
4344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4345 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4348 test -z "$as_dir" && as_dir
=.
4349 for ac_prog
in grep ggrep
; do
4350 for ac_exec_ext
in '' $ac_executable_extensions; do
4351 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4352 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4353 # Check for GNU ac_path_GREP and select it if it is found.
4354 # Check for GNU $ac_path_GREP
4355 case `"$ac_path_GREP" --version 2>&1` in
4357 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4360 $as_echo_n 0123456789 >"conftest.in"
4363 cat "conftest.in" "conftest.in" >"conftest.tmp"
4364 mv "conftest.tmp" "conftest.in"
4365 cp "conftest.in" "conftest.nl"
4366 $as_echo 'GREP' >> "conftest.nl"
4367 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4368 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4369 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4370 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4371 # Best one so far, save it but keep looking for a better one
4372 ac_cv_path_GREP
="$ac_path_GREP"
4373 ac_path_GREP_max
=$ac_count
4375 # 10*(2^10) chars as input seems more than enough
4376 test $ac_count -gt 10 && break
4378 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4381 $ac_path_GREP_found && break 3
4386 if test -z "$ac_cv_path_GREP"; then
4387 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4390 ac_cv_path_GREP
=$GREP
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4395 $as_echo "$ac_cv_path_GREP" >&6; }
4396 GREP
="$ac_cv_path_GREP"
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4400 $as_echo_n "checking for egrep... " >&6; }
4401 if test "${ac_cv_path_EGREP+set}" = set; then :
4402 $as_echo_n "(cached) " >&6
4404 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4405 then ac_cv_path_EGREP
="$GREP -E"
4407 if test -z "$EGREP"; then
4408 ac_path_EGREP_found
=false
4409 # Loop through the user's path and test for each of PROGNAME-LIST
4410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4411 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4414 test -z "$as_dir" && as_dir
=.
4415 for ac_prog
in egrep; do
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4418 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4419 # Check for GNU ac_path_EGREP and select it if it is found.
4420 # Check for GNU $ac_path_EGREP
4421 case `"$ac_path_EGREP" --version 2>&1` in
4423 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4426 $as_echo_n 0123456789 >"conftest.in"
4429 cat "conftest.in" "conftest.in" >"conftest.tmp"
4430 mv "conftest.tmp" "conftest.in"
4431 cp "conftest.in" "conftest.nl"
4432 $as_echo 'EGREP' >> "conftest.nl"
4433 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4434 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4435 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4436 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4437 # Best one so far, save it but keep looking for a better one
4438 ac_cv_path_EGREP
="$ac_path_EGREP"
4439 ac_path_EGREP_max
=$ac_count
4441 # 10*(2^10) chars as input seems more than enough
4442 test $ac_count -gt 10 && break
4444 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4447 $ac_path_EGREP_found && break 3
4452 if test -z "$ac_cv_path_EGREP"; then
4453 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4456 ac_cv_path_EGREP
=$EGREP
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4462 $as_echo "$ac_cv_path_EGREP" >&6; }
4463 EGREP
="$ac_cv_path_EGREP"
4467 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4473 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
4476 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
4481 # Check whether --enable-werror was given.
4482 if test "${enable_werror+set}" = set; then :
4483 enableval
=$enable_werror; case "${enableval}" in
4484 yes | y
) ERROR_ON_WARNING
="yes" ;;
4485 no | n
) ERROR_ON_WARNING
="no" ;;
4486 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4491 # Disable -Wformat by default when using gcc on mingw
4494 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4495 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
4501 # Enable -Werror by default when using gcc
4502 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4503 ERROR_ON_WARNING
=yes
4507 if test "${ERROR_ON_WARNING}" = yes ; then
4508 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4509 NO_WERROR
="-Wno-error"
4512 if test "${GCC}" = yes ; then
4513 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4516 # Check whether --enable-build-warnings was given.
4517 if test "${enable_build_warnings+set}" = set; then :
4518 enableval
=$enable_build_warnings; case "${enableval}" in
4519 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4520 no
) if test "${GCC}" = yes ; then
4523 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4524 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4525 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4526 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4527 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4532 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4533 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4540 ac_config_headers
="$ac_config_headers config.h:config.in"
4543 if test -z "$target" ; then
4544 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
4546 if test -z "$host" ; then
4547 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
4550 # host-specific stuff:
4553 ac_cpp
='$CPP $CPPFLAGS'
4554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4557 if test -n "$ac_tool_prefix"; then
4558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4559 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if test "${ac_cv_prog_CC+set}" = set; then :
4563 $as_echo_n "(cached) " >&6
4565 if test -n "$CC"; then
4566 ac_cv_prog_CC
="$CC" # Let the user override the test.
4568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir
=.
4573 for ac_exec_ext
in '' $ac_executable_extensions; do
4574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 if test -n "$CC"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4588 $as_echo "$CC" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4596 if test -z "$ac_cv_prog_CC"; then
4598 # Extract the first word of "gcc", so it can be a program name with args.
4599 set dummy gcc
; ac_word
=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$ac_ct_CC"; then
4606 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615 ac_cv_prog_ac_ct_CC
="gcc"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4626 if test -n "$ac_ct_CC"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4628 $as_echo "$ac_ct_CC" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4634 if test "x$ac_ct_CC" = x
; then
4637 case $cross_compiling:$ac_tool_warned in
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4641 ac_tool_warned
=yes ;;
4649 if test -z "$CC"; then
4650 if test -n "$ac_tool_prefix"; then
4651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4652 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_CC+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$CC"; then
4659 ac_cv_prog_CC
="$CC" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 if test -n "$CC"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4681 $as_echo "$CC" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4690 if test -z "$CC"; then
4691 # Extract the first word of "cc", so it can be a program name with args.
4692 set dummy cc
; ac_word
=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if test "${ac_cv_prog_CC+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4698 if test -n "$CC"; then
4699 ac_cv_prog_CC
="$CC" # Let the user override the test.
4702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir
=.
4707 for ac_exec_ext
in '' $ac_executable_extensions; do
4708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4710 ac_prog_rejected
=yes
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 if test $ac_prog_rejected = yes; then
4722 # We found a bogon in the path, so make sure we never use it.
4723 set dummy
$ac_cv_prog_CC
4725 if test $# != 0; then
4726 # We chose a different compiler from the bogus one.
4727 # However, it has the same basename, so the bogon will be chosen
4728 # first if we set CC to just the basename; use the full file name.
4730 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4736 if test -n "$CC"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4738 $as_echo "$CC" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$CC"; then
4747 if test -n "$ac_tool_prefix"; then
4748 for ac_prog
in cl.exe
4750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4751 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if test "${ac_cv_prog_CC+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4757 if test -n "$CC"; then
4758 ac_cv_prog_CC
="$CC" # Let the user override the test.
4760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir
=.
4765 for ac_exec_ext
in '' $ac_executable_extensions; do
4766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 if test -n "$CC"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4780 $as_echo "$CC" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4787 test -n "$CC" && break
4790 if test -z "$CC"; then
4792 for ac_prog
in cl.exe
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy
$ac_prog; ac_word
=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$ac_ct_CC"; then
4802 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_ac_ct_CC
="$ac_prog"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4822 if test -n "$ac_ct_CC"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4824 $as_echo "$ac_ct_CC" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$ac_ct_CC" && break
4834 if test "x$ac_ct_CC" = x
; then
4837 case $cross_compiling:$ac_tool_warned in
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned
=yes ;;
4850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error
"no acceptable C compiler found in \$PATH
4853 See \`config.log' for more details." "$LINENO" 5; }
4855 # Provide some information about the compiler.
4856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4859 for ac_option
in --version -v -V -qversion; do
4860 { { ac_try
="$ac_compiler $ac_option >&5"
4862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4869 if test -s conftest.err; then
4871 ... rest of stderr output deleted ...
4872 10q' conftest.err >conftest.er1
4873 cat conftest.er1 >&5
4874 rm -f conftest.er1 conftest.err
4876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4881 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4882 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4899 if ac_fn_c_try_compile "$LINENO"; then :
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4910 if test $ac_compiler_gnu = yes; then
4915 ac_test_CFLAGS=${CFLAGS+set}
4916 ac_save_CFLAGS=$CFLAGS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4919 if test "${ac_cv_prog_cc_g+set}" = set; then :
4920 $as_echo_n "(cached) " >&6
4922 ac_save_c_werror_flag=$ac_c_werror_flag
4923 ac_c_werror_flag=yes
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4937 if ac_fn_c_try_compile "$LINENO"; then :
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4952 if ac_fn_c_try_compile "$LINENO"; then :
4955 ac_c_werror_flag=$ac_save_c_werror_flag
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4968 if ac_fn_c_try_compile "$LINENO"; then :
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_c_werror_flag=$ac_save_c_werror_flag
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4979 $as_echo "$ac_cv_prog_cc_g" >&6; }
4980 if test "$ac_test_CFLAGS" = set; then
4981 CFLAGS=$ac_save_CFLAGS
4982 elif test $ac_cv_prog_cc_g = yes; then
4983 if test "$GCC" = yes; then
4989 if test "$GCC" = yes; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4997 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4998 $as_echo_n "(cached) " >&6
5000 ac_cv_prog_cc_c89=no
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5006 #include <sys/types.h>
5007 #include <sys/stat.h>
5008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5009 struct buf { int x; };
5010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5011 static char *e (p, i)
5017 static char *f (char * (*g) (char **, int), char **p, ...)
5022 s = g (p, va_arg (v,int));
5027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5028 function prototypes and stuff, but not '\xHH' hex character constants.
5029 These don't provoke an error unfortunately, instead are silently treated
5030 as 'x'. The following induces an error, until -std is added to get
5031 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5032 array size at least. It's necessary to write '\x00'==0 to get something
5033 that's true only with -std. */
5034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5037 inside strings and character constants. */
5039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5041 int test (int i, double x);
5042 struct s1 {int (*f) (int a);};
5043 struct s2 {int (*f) (double a);};
5044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5055 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5056 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5058 CC="$ac_save_CC $ac_arg"
5059 if ac_fn_c_try_compile "$LINENO"; then :
5060 ac_cv_prog_cc_c89=$ac_arg
5062 rm -f core conftest.err conftest.$ac_objext
5063 test "x$ac_cv_prog_cc_c89" != "xno" && break
5065 rm -f conftest.$ac_ext
5070 case "x$ac_cv_prog_cc_c89" in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5073 $as_echo "none needed" >&6; } ;;
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5076 $as_echo "unsupported" >&6; } ;;
5078 CC="$CC $ac_cv_prog_cc_c89"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5080 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5082 if test "x$ac_cv_prog_cc_c89" != xno; then :
5087 ac_cpp='$CPP $CPPFLAGS'
5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5093 $as_echo_n "checking for ANSI C header files... " >&6; }
5094 if test "${ac_cv_header_stdc+set}" = set; then :
5095 $as_echo_n "(cached) " >&6
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5112 if ac_fn_c_try_compile "$LINENO"; then :
5113 ac_cv_header_stdc=yes
5115 ac_cv_header_stdc=no
5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5119 if test $ac_cv_header_stdc = yes; then
5120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5127 $EGREP "memchr" >/dev/null 2>&1; then :
5130 ac_cv_header_stdc=no
5136 if test $ac_cv_header_stdc = yes; then
5137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h. */
5143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5144 $EGREP "free" >/dev/null 2>&1; then :
5147 ac_cv_header_stdc=no
5153 if test $ac_cv_header_stdc = yes; then
5154 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5155 if test "$cross_compiling" = yes; then :
5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5159 /* end confdefs.h. */
5162 #if ((' ' & 0x0FF) == 0x020)
5163 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5164 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5166 # define ISLOWER(c) \
5167 (('a' <= (c) && (c) <= 'i') \
5168 || ('j' <= (c) && (c) <= 'r') \
5169 || ('s' <= (c) && (c) <= 'z'))
5170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5178 for (i = 0; i < 256; i++)
5179 if (XOR (islower (i), ISLOWER (i))
5180 || toupper (i) != TOUPPER (i))
5185 if ac_fn_c_try_run "$LINENO"; then :
5188 ac_cv_header_stdc=no
5190 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5191 conftest.$ac_objext conftest.beam conftest.$ac_ext
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5197 $as_echo "$ac_cv_header_stdc" >&6; }
5198 if test $ac_cv_header_stdc = yes; then
5200 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5204 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5205 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5206 inttypes.h stdint.h unistd.h
5208 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5209 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5211 eval as_val=\$$as_ac_Header
5212 if test "x$as_val" = x""yes; then :
5213 cat >>confdefs.h <<_ACEOF
5214 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5223 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5224 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5231 if test "$MINIX" = yes; then
5233 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5236 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5239 $as_echo "#define _MINIX 1" >>confdefs.h
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5245 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5246 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5247 $as_echo_n "(cached) " >&6
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5252 # define __EXTENSIONS__ 1
5253 $ac_includes_default
5262 if ac_fn_c_try_compile "$LINENO"; then :
5263 ac_cv_safe_to_define___extensions__=yes
5265 ac_cv_safe_to_define___extensions__=no
5267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5270 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5271 test $ac_cv_safe_to_define___extensions__ = yes &&
5272 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5274 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5276 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5278 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5280 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5286 # The tests for host and target for $enable_largefile require
5291 # As the $enable_largefile decision depends on --enable-plugins we must set it
5292 # even in directories otherwise not depending on the $plugins option.
5295 # Check whether --enable-plugins was given.
5296 if test "${enable_plugins+set}" = set; then :
5297 enableval=$enable_plugins; case "${enableval}" in
5298 yes | "") plugins=yes ;;
5309 sparc-*-solaris*|i[3-7]86-*-solaris*)
5310 # On native 32bit sparc and ia32 solaris, large-file and procfs support
5311 # are mutually exclusive; and without procfs support, the bfd/ elf module
5312 # cannot provide certain routines such as elfcore_write_prpsinfo
5313 # or elfcore_write_prstatus. So unless the user explicitly requested
5314 # large-file support through the --enable-largefile switch, disable
5315 # large-file support in favor of procfs support.
5316 test "${target}" = "${host}" -a "x$plugins" = xno \
5317 && : ${enable_largefile="no"}
5321 # Check whether --enable-largefile was given.
5322 if test "${enable_largefile+set}" = set; then :
5323 enableval=$enable_largefile;
5326 if test "$enable_largefile" != no; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5329 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5330 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5331 $as_echo_n "(cached) " >&6
5333 ac_cv_sys_largefile_CC=no
5334 if test "$GCC" != yes; then
5337 # IRIX 6.2 and later do not support large files by default,
5338 # so use the C compiler's -n32 option if that helps.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #include <sys/types.h>
5342 /* Check that off_t can represent 2**63 - 1 correctly.
5343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5344 since some C++ compilers masquerading as C compilers
5345 incorrectly reject 9223372036854775807. */
5346 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5348 && LARGE_OFF_T % 2147483647 == 1)
5358 if ac_fn_c_try_compile "$LINENO"; then :
5361 rm -f core conftest.err conftest.$ac_objext
5363 if ac_fn_c_try_compile "$LINENO"; then :
5364 ac_cv_sys_largefile_CC=' -n32'; break
5366 rm -f core conftest.err conftest.$ac_objext
5370 rm -f conftest.$ac_ext
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5374 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5375 if test "$ac_cv_sys_largefile_CC" != no; then
5376 CC=$CC$ac_cv_sys_largefile_CC
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5380 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5381 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5382 $as_echo_n "(cached) " >&6
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5387 #include <sys/types.h>
5388 /* Check that off_t can represent 2**63 - 1 correctly.
5389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5390 since some C++ compilers masquerading as C compilers
5391 incorrectly reject 9223372036854775807. */
5392 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5394 && LARGE_OFF_T % 2147483647 == 1)
5404 if ac_fn_c_try_compile "$LINENO"; then :
5405 ac_cv_sys_file_offset_bits=no; break
5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5410 #define _FILE_OFFSET_BITS 64
5411 #include <sys/types.h>
5412 /* Check that off_t can represent 2**63 - 1 correctly.
5413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5414 since some C++ compilers masquerading as C compilers
5415 incorrectly reject 9223372036854775807. */
5416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5418 && LARGE_OFF_T % 2147483647 == 1)
5428 if ac_fn_c_try_compile "$LINENO"; then :
5429 ac_cv_sys_file_offset_bits=64; break
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 ac_cv_sys_file_offset_bits=unknown
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5437 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5438 case $ac_cv_sys_file_offset_bits in #(
5441 cat >>confdefs.h <<_ACEOF
5442 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5447 if test $ac_cv_sys_file_offset_bits = unknown; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5449 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5450 if test "${ac_cv_sys_large_files+set}" = set; then :
5451 $as_echo_n "(cached) " >&6
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5456 #include <sys/types.h>
5457 /* Check that off_t can represent 2**63 - 1 correctly.
5458 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5459 since some C++ compilers masquerading as C compilers
5460 incorrectly reject 9223372036854775807. */
5461 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5462 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5463 && LARGE_OFF_T % 2147483647 == 1)
5473 if ac_fn_c_try_compile "$LINENO"; then :
5474 ac_cv_sys_large_files=no; break
5476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5479 #define _LARGE_FILES 1
5480 #include <sys/types.h>
5481 /* Check that off_t can represent 2**63 - 1 correctly.
5482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5483 since some C++ compilers masquerading as C compilers
5484 incorrectly reject 9223372036854775807. */
5485 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5487 && LARGE_OFF_T % 2147483647 == 1)
5497 if ac_fn_c_try_compile "$LINENO"; then :
5498 ac_cv_sys_large_files=1; break
5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 ac_cv_sys_large_files=unknown
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5506 $as_echo "$ac_cv_sys_large_files" >&6; }
5507 case $ac_cv_sys_large_files in #(
5510 cat >>confdefs.h <<_ACEOF
5511 #define _LARGE_FILES $ac_cv_sys_large_files
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5525 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5530 macro_version='2.2.7a'
5531 macro_revision='1.3134'
5545 ltmain="$ac_aux_dir/ltmain.sh"
5547 # Backslashify metacharacters that are still active within
5548 # double-quoted strings.
5549 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5551 # Same as above, but do not quote variable references.
5552 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5554 # Sed substitution to delay expansion of an escaped shell variable in a
5555 # double_quote_subst'ed string.
5556 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5558 # Sed substitution to delay expansion of an escaped single quote.
5559 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5561 # Sed substitution to avoid accidental globbing in evaled expressions
5562 no_glob_subst='s/\*/\\\*/g'
5564 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5565 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5566 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5569 $as_echo_n "checking how to print
strings...
" >&6; }
5570 # Test print first, because it will be a builtin if present.
5571 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5572 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5574 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5577 # Use this function as a fallback that always works.
5578 func_fallback_echo ()
5580 eval 'cat <<_LTECHO_EOF
5584 ECHO='func_fallback_echo'
5587 # func_echo_all arg...
5588 # Invoke $ECHO with all args, space-separated.
5595 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5596 $as_echo "printf" >&6; } ;;
5597 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5598 $as_echo "print
-r" >&6; } ;;
5599 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5600 $as_echo "cat" >&6; } ;;
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5617 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5618 if test "${ac_cv_path_SED+set}" = set; then :
5619 $as_echo_n "(cached
) " >&6
5621 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5622 for ac_i in 1 2 3 4 5 6 7; do
5623 ac_script="$ac_script$as_nl$ac_script"
5625 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5626 { ac_script=; unset ac_script;}
5627 if test -z "$SED"; then
5628 ac_path_SED_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in sed gsed; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5638 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5639 # Check for GNU ac_path_SED and select it if it is found.
5640 # Check for GNU $ac_path_SED
5641 case `"$ac_path_SED" --version 2>&1` in
5643 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5646 $as_echo_n 0123456789 >"conftest.
in"
5649 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5650 mv "conftest.tmp
" "conftest.
in"
5651 cp "conftest.
in" "conftest.
nl"
5652 $as_echo '' >> "conftest.
nl"
5653 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5654 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_SED_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_SED="$ac_path_SED"
5659 ac_path_SED_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5667 $ac_path_SED_found && break 3
5672 if test -z "$ac_cv_path_SED"; then
5673 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5681 $as_echo "$ac_cv_path_SED" >&6; }
5682 SED="$ac_cv_path_SED"
5685 test -z "$SED" && SED=sed
5686 Xsed="$SED -e 1s
/^X
//"
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5699 $as_echo_n "checking
for fgrep...
" >&6; }
5700 if test "${ac_cv_path_FGREP+set}" = set; then :
5701 $as_echo_n "(cached
) " >&6
5703 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5704 then ac_cv_path_FGREP="$GREP -F"
5706 if test -z "$FGREP"; then
5707 ac_path_FGREP_found=false
5708 # Loop through the user's path and test for each of PROGNAME-LIST
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5713 test -z "$as_dir" && as_dir=.
5714 for ac_prog in fgrep; do
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5717 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5718 # Check for GNU ac_path_FGREP and select it if it is found.
5719 # Check for GNU $ac_path_FGREP
5720 case `"$ac_path_FGREP" --version 2>&1` in
5722 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5725 $as_echo_n 0123456789 >"conftest.
in"
5728 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5729 mv "conftest.tmp
" "conftest.
in"
5730 cp "conftest.
in" "conftest.
nl"
5731 $as_echo 'FGREP' >> "conftest.
nl"
5732 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5733 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5734 as_fn_arith $ac_count + 1 && ac_count=$as_val
5735 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5736 # Best one so far, save it but keep looking for a better one
5737 ac_cv_path_FGREP="$ac_path_FGREP"
5738 ac_path_FGREP_max=$ac_count
5740 # 10*(2^10) chars as input seems more than enough
5741 test $ac_count -gt 10 && break
5743 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5746 $ac_path_FGREP_found && break 3
5751 if test -z "$ac_cv_path_FGREP"; then
5752 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5755 ac_cv_path_FGREP=$FGREP
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5761 $as_echo "$ac_cv_path_FGREP" >&6; }
5762 FGREP="$ac_cv_path_FGREP"
5765 test -z "$GREP" && GREP=grep
5785 # Check whether --with-gnu-ld was given.
5786 if test "${with_gnu_ld+set}" = set; then :
5787 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5793 if test "$GCC" = yes; then
5794 # Check if gcc -print-prog-name=ld gives a path.
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5796 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5799 # gcc leaves a trailing carriage return which upsets mingw
5800 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5802 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5805 # Accept absolute paths.
5807 re_direlt='/[^/][^/]*/\.\./'
5808 # Canonicalize the pathname of ld
5809 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5810 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5811 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5813 test -z "$LD" && LD="$ac_prog"
5816 # If it fails, then pretend we aren't using GCC.
5820 # If it is relative, then search for the first ld in PATH.
5824 elif test "$with_gnu_ld" = yes; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5826 $as_echo_n "checking
for GNU ld...
" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5829 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5831 if test "${lt_cv_path_LD+set}" = set; then :
5832 $as_echo_n "(cached
) " >&6
5834 if test -z "$LD"; then
5835 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5836 for ac_dir in $PATH; do
5838 test -z "$ac_dir" && ac_dir=.
5839 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5840 lt_cv_path_LD="$ac_dir/$ac_prog"
5841 # Check to see if the program is GNU ld. I'd rather use --version,
5842 # but apparently some variants of GNU ld only accept -v.
5843 # Break only if it was the GNU/non-GNU ld that we prefer.
5844 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5845 *GNU* | *'with BFD'*)
5846 test "$with_gnu_ld" != no && break
5849 test "$with_gnu_ld" != yes && break
5856 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5861 if test -n "$LD"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5863 $as_echo "$LD" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5866 $as_echo "no
" >&6; }
5868 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5870 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5871 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5872 $as_echo_n "(cached
) " >&6
5874 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5875 case `$LD -v 2>&1 </dev/null` in
5876 *GNU* | *'with BFD'*)
5877 lt_cv_prog_gnu_ld=yes
5880 lt_cv_prog_gnu_ld=no
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5885 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5886 with_gnu_ld=$lt_cv_prog_gnu_ld
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5897 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5898 if test "${lt_cv_path_NM+set}" = set; then :
5899 $as_echo_n "(cached
) " >&6
5901 if test -n "$NM"; then
5902 # Let the user override the test.
5905 lt_nm_to_check="${ac_tool_prefix}nm
"
5906 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5907 lt_nm_to_check="$lt_nm_to_check nm
"
5909 for lt_tmp_nm in $lt_nm_to_check; do
5910 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5911 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5913 test -z "$ac_dir" && ac_dir=.
5914 tmp_nm="$ac_dir/$lt_tmp_nm"
5915 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5916 # Check to see if the nm accepts a BSD-compat flag.
5917 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5918 # nm: unknown option "B
" ignored
5919 # Tru64's nm complains that /dev/null is an invalid object file
5920 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5921 */dev/null* | *'Invalid file or object type'*)
5922 lt_cv_path_NM="$tmp_nm -B"
5926 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5928 lt_cv_path_NM="$tmp_nm -p"
5932 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5933 continue # so that we can try to find one that supports BSD flags
5942 : ${lt_cv_path_NM=no}
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5946 $as_echo "$lt_cv_path_NM" >&6; }
5947 if test "$lt_cv_path_NM" != "no
"; then
5950 # Didn't find any BSD compatible name lister, look for dumpbin.
5951 if test -n "$DUMPBIN"; then :
5952 # Let the user override the test.
5954 if test -n "$ac_tool_prefix"; then
5955 for ac_prog in dumpbin "link
-dump"
5957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5960 $as_echo_n "checking
for $ac_word...
" >&6; }
5961 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5962 $as_echo_n "(cached
) " >&6
5964 if test -n "$DUMPBIN"; then
5965 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5974 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5984 DUMPBIN=$ac_cv_prog_DUMPBIN
5985 if test -n "$DUMPBIN"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5987 $as_echo "$DUMPBIN" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5990 $as_echo "no
" >&6; }
5994 test -n "$DUMPBIN" && break
5997 if test -z "$DUMPBIN"; then
5998 ac_ct_DUMPBIN=$DUMPBIN
5999 for ac_prog in dumpbin "link
-dump"
6001 # Extract the first word of "$ac_prog", so it can be a program name with args.
6002 set dummy $ac_prog; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6004 $as_echo_n "checking
for $ac_word...
" >&6; }
6005 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6006 $as_echo_n "(cached
) " >&6
6008 if test -n "$ac_ct_DUMPBIN"; then
6009 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6018 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6028 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6029 if test -n "$ac_ct_DUMPBIN"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6031 $as_echo "$ac_ct_DUMPBIN" >&6; }
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6034 $as_echo "no
" >&6; }
6038 test -n "$ac_ct_DUMPBIN" && break
6041 if test "x
$ac_ct_DUMPBIN" = x; then
6044 case $cross_compiling:$ac_tool_warned in
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6047 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6048 ac_tool_warned=yes ;;
6050 DUMPBIN=$ac_ct_DUMPBIN
6054 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6056 DUMPBIN="$DUMPBIN -symbols"
6064 if test "$DUMPBIN" != ":"; then
6068 test -z "$NM" && NM=nm
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6076 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6077 if test "${lt_cv_nm_interface+set}" = set; then :
6078 $as_echo_n "(cached
) " >&6
6080 lt_cv_nm_interface="BSD nm
"
6081 echo "int some_variable
= 0;" > conftest.$ac_ext
6082 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6083 (eval "$ac_compile" 2>conftest.err)
6084 cat conftest.err >&5
6085 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6086 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6087 cat conftest.err >&5
6088 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6089 cat conftest.out >&5
6090 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6091 lt_cv_nm_interface="MS dumpbin
"
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6096 $as_echo "$lt_cv_nm_interface" >&6; }
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6099 $as_echo_n "checking whether
ln -s works...
" >&6; }
6101 if test "$LN_S" = "ln -s"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6103 $as_echo "yes" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6106 $as_echo "no
, using
$LN_S" >&6; }
6109 # find the maximum length of command line arguments
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6111 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6112 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6113 $as_echo_n "(cached
) " >&6
6120 # On DJGPP, this test can blow up pretty badly due to problems in libc
6121 # (any single argument exceeding 2000 bytes causes a buffer overrun
6122 # during glob expansion). Even if it were fixed, the result of this
6123 # check would be larger than it should be.
6124 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6128 # Under GNU Hurd, this test is not required because there is
6129 # no limit to the length of command line arguments.
6130 # Libtool will interpret -1 as no limit whatsoever
6131 lt_cv_sys_max_cmd_len=-1;
6134 cygwin* | mingw* | cegcc*)
6135 # On Win9x/ME, this test blows up -- it succeeds, but takes
6136 # about 5 minutes as the teststring grows exponentially.
6137 # Worse, since 9x/ME are not pre-emptively multitasking,
6138 # you end up with a "frozen
" computer, even though with patience
6139 # the test eventually succeeds (with a max line length of 256k).
6140 # Instead, let's just punt: use the minimum linelength reported by
6141 # all of the supported platforms: 8192 (on NT/2K/XP).
6142 lt_cv_sys_max_cmd_len=8192;
6146 # On MiNT this can take a long time and run out of memory.
6147 lt_cv_sys_max_cmd_len=8192;
6151 # On AmigaOS with pdksh, this test takes hours, literally.
6152 # So we just punt and use a minimum line length of 8192.
6153 lt_cv_sys_max_cmd_len=8192;
6156 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6157 # This has been around since 386BSD, at least. Likely further.
6158 if test -x /sbin/sysctl; then
6159 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6160 elif test -x /usr/sbin/sysctl; then
6161 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6163 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6165 # And add a safety zone
6166 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6167 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6171 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6172 lt_cv_sys_max_cmd_len=196608
6176 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6177 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6178 # nice to cause kernel panics so lets avoid the loop below.
6179 # First set a reasonable default.
6180 lt_cv_sys_max_cmd_len=16384
6182 if test -x /sbin/sysconfig; then
6183 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6184 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6189 lt_cv_sys_max_cmd_len=102400
6191 sysv5* | sco5v6* | sysv4.2uw2*)
6192 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6193 if test -n "$kargmax"; then
6194 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6196 lt_cv_sys_max_cmd_len=32768
6200 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6201 if test -n "$lt_cv_sys_max_cmd_len"; then
6202 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6203 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6205 # Make teststring a little bigger before we do anything with it.
6206 # a 1K string should be a reasonable start.
6207 for i in 1 2 3 4 5 6 7 8 ; do
6208 teststring=$teststring$teststring
6210 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6211 # If test is not a shell built-in, we'll probably end up computing a
6212 # maximum length that is only half of the actual maximum length, but
6214 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6215 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6216 test $i != 17 # 1/2 MB should be enough
6219 teststring=$teststring$teststring
6221 # Only check the string length outside the loop.
6222 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6224 # Add a significant safety factor because C++ compilers can tack on
6225 # massive amounts of additional arguments before passing them to the
6226 # linker. It appears as though 1/2 is a usable value.
6227 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6234 if test -n $lt_cv_sys_max_cmd_len ; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6236 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6239 $as_echo "none
" >&6; }
6241 max_cmd_len=$lt_cv_sys_max_cmd_len
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6253 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6254 # Try some XSI features
6257 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6259 && eval 'test $(( 1 + 1 )) -eq 2 \
6260 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6263 $as_echo "$xsi_shell" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6267 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6269 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6271 && lt_shell_append
=yes
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6273 $as_echo "$lt_shell_append" >&6; }
6276 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6286 # test EBCDIC or ASCII
6287 case `echo X|tr X '\101'` in
6288 A
) # ASCII based system
6289 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6290 lt_SP2NL
='tr \040 \012'
6291 lt_NL2SP
='tr \015\012 \040\040'
6293 *) # EBCDIC based system
6294 lt_SP2NL
='tr \100 \n'
6295 lt_NL2SP
='tr \r\n \100\100'
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6308 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6309 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6310 $as_echo_n "(cached) " >&6
6312 lt_cv_ld_reload_flag
='-r'
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6315 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6316 reload_flag
=$lt_cv_ld_reload_flag
6317 case $reload_flag in
6319 *) reload_flag
=" $reload_flag" ;;
6321 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6324 if test "$GCC" = yes; then
6325 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6327 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6340 if test -n "$ac_tool_prefix"; then
6341 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6342 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6346 $as_echo_n "(cached) " >&6
6348 if test -n "$OBJDUMP"; then
6349 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6355 test -z "$as_dir" && as_dir
=.
6356 for ac_exec_ext
in '' $ac_executable_extensions; do
6357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6358 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 OBJDUMP
=$ac_cv_prog_OBJDUMP
6369 if test -n "$OBJDUMP"; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6371 $as_echo "$OBJDUMP" >&6; }
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6379 if test -z "$ac_cv_prog_OBJDUMP"; then
6380 ac_ct_OBJDUMP
=$OBJDUMP
6381 # Extract the first word of "objdump", so it can be a program name with args.
6382 set dummy objdump
; ac_word
=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6384 $as_echo_n "checking for $ac_word... " >&6; }
6385 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6386 $as_echo_n "(cached) " >&6
6388 if test -n "$ac_ct_OBJDUMP"; then
6389 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6395 test -z "$as_dir" && as_dir
=.
6396 for ac_exec_ext
in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6408 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6409 if test -n "$ac_ct_OBJDUMP"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6411 $as_echo "$ac_ct_OBJDUMP" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6417 if test "x$ac_ct_OBJDUMP" = x
; then
6420 case $cross_compiling:$ac_tool_warned in
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6424 ac_tool_warned
=yes ;;
6426 OBJDUMP
=$ac_ct_OBJDUMP
6429 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6432 test -z "$OBJDUMP" && OBJDUMP
=objdump
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6443 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6444 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6445 $as_echo_n "(cached) " >&6
6447 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6448 lt_cv_file_magic_test_file
=
6449 lt_cv_deplibs_check_method
='unknown'
6450 # Need to set the preceding variable on all platforms that support
6451 # interlibrary dependencies.
6452 # 'none' -- dependencies not supported.
6453 # `unknown' -- same as none, but documents that we really don't know.
6454 # 'pass_all' -- all dependencies passed with no checks.
6455 # 'test_compile' -- check by making test program.
6456 # 'file_magic [[regex]]' -- check by looking for files in library path
6457 # which responds to the $file_magic_cmd with a given extended regex.
6458 # If you have `file' or equivalent on your system and you're not sure
6459 # whether `pass_all' will *always* work, you probably want this one.
6463 lt_cv_deplibs_check_method
=pass_all
6467 lt_cv_deplibs_check_method
=pass_all
6471 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6472 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6473 lt_cv_file_magic_test_file
=/shlib
/libc.so
6477 # func_win32_libid is a shell function defined in ltmain.sh
6478 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6479 lt_cv_file_magic_cmd
='func_win32_libid'
6483 # Base MSYS/MinGW do not provide the 'file' command needed by
6484 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6485 # unless we find 'file', for example because we are cross-compiling.
6486 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6487 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6488 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6489 lt_cv_file_magic_cmd
='func_win32_libid'
6491 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6492 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6497 # use the weaker test based on 'objdump'. See mingw*.
6498 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6499 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6502 darwin
* | rhapsody
*)
6503 lt_cv_deplibs_check_method
=pass_all
6506 freebsd
* | dragonfly
*)
6507 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6510 # Not sure whether the presence of OpenBSD here was a mistake.
6511 # Let's accept both of them until this is cleared up.
6512 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6513 lt_cv_file_magic_cmd
=/usr
/bin
/file
6514 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6518 lt_cv_deplibs_check_method
=pass_all
6523 lt_cv_deplibs_check_method
=pass_all
6527 lt_cv_deplibs_check_method
=pass_all
6530 hpux10.20
* | hpux11
*)
6531 lt_cv_file_magic_cmd
=/usr
/bin
/file
6534 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6535 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6538 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]'
6539 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6542 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6543 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6549 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6550 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6553 irix5
* | irix6
* | nonstopux
*)
6555 *-32|
*"-32 ") libmagic
=32-bit;;
6556 *-n32|
*"-n32 ") libmagic
=N32
;;
6557 *-64|
*"-64 ") libmagic
=64-bit;;
6558 *) libmagic
=never-match
;;
6560 lt_cv_deplibs_check_method
=pass_all
6563 # This must be Linux ELF.
6564 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6565 lt_cv_deplibs_check_method
=pass_all
6569 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6570 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6572 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6577 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6578 lt_cv_file_magic_cmd
=/usr
/bin
/file
6579 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6583 lt_cv_deplibs_check_method
=pass_all
6587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6588 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6590 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6594 osf3
* | osf4
* | osf5
*)
6595 lt_cv_deplibs_check_method
=pass_all
6599 lt_cv_deplibs_check_method
=pass_all
6603 lt_cv_deplibs_check_method
=pass_all
6606 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6607 lt_cv_deplibs_check_method
=pass_all
6611 case $host_vendor in
6613 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]'
6614 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6617 lt_cv_deplibs_check_method
=pass_all
6620 lt_cv_file_magic_cmd
='/bin/file'
6621 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6624 lt_cv_file_magic_cmd
='/bin/file'
6625 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6626 lt_cv_file_magic_test_file
=/lib
/libc.so
6629 lt_cv_deplibs_check_method
=pass_all
6632 lt_cv_deplibs_check_method
=pass_all
6638 lt_cv_deplibs_check_method
=pass_all
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6644 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6645 file_magic_cmd
=$lt_cv_file_magic_cmd
6646 deplibs_check_method
=$lt_cv_deplibs_check_method
6647 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6660 if test -n "$ac_tool_prefix"; then
6661 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6662 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_AR+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6668 if test -n "$AR"; then
6669 ac_cv_prog_AR
="$AR" # Let the user override the test.
6671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6675 test -z "$as_dir" && as_dir
=.
6676 for ac_exec_ext
in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 if test -n "$AR"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6691 $as_echo "$AR" >&6; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6699 if test -z "$ac_cv_prog_AR"; then
6701 # Extract the first word of "ar", so it can be a program name with args.
6702 set dummy
ar; ac_word
=$2
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704 $as_echo_n "checking for $ac_word... " >&6; }
6705 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6706 $as_echo_n "(cached) " >&6
6708 if test -n "$ac_ct_AR"; then
6709 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6715 test -z "$as_dir" && as_dir
=.
6716 for ac_exec_ext
in '' $ac_executable_extensions; do
6717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6718 ac_cv_prog_ac_ct_AR
="ar"
6719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6729 if test -n "$ac_ct_AR"; then
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6731 $as_echo "$ac_ct_AR" >&6; }
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734 $as_echo "no" >&6; }
6737 if test "x$ac_ct_AR" = x
; then
6740 case $cross_compiling:$ac_tool_warned in
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6744 ac_tool_warned
=yes ;;
6752 test -z "$AR" && AR
=ar
6753 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6767 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if test "${ac_cv_prog_STRIP+set}" = set; then :
6771 $as_echo_n "(cached) " >&6
6773 if test -n "$STRIP"; then
6774 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir
=.
6781 for ac_exec_ext
in '' $ac_executable_extensions; do
6782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793 STRIP
=$ac_cv_prog_STRIP
6794 if test -n "$STRIP"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6796 $as_echo "$STRIP" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6804 if test -z "$ac_cv_prog_STRIP"; then
6806 # Extract the first word of "strip", so it can be a program name with args.
6807 set dummy strip
; ac_word
=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6811 $as_echo_n "(cached) " >&6
6813 if test -n "$ac_ct_STRIP"; then
6814 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir
=.
6821 for ac_exec_ext
in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_ac_ct_STRIP
="strip"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6834 if test -n "$ac_ct_STRIP"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6836 $as_echo "$ac_ct_STRIP" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6842 if test "x$ac_ct_STRIP" = x
; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned
=yes ;;
6854 STRIP
="$ac_cv_prog_STRIP"
6857 test -z "$STRIP" && STRIP
=:
6864 if test -n "$ac_tool_prefix"; then
6865 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6866 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 $as_echo_n "checking for $ac_word... " >&6; }
6869 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6870 $as_echo_n "(cached) " >&6
6872 if test -n "$RANLIB"; then
6873 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6879 test -z "$as_dir" && as_dir
=.
6880 for ac_exec_ext
in '' $ac_executable_extensions; do
6881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6882 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6892 RANLIB
=$ac_cv_prog_RANLIB
6893 if test -n "$RANLIB"; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6895 $as_echo "$RANLIB" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; }
6903 if test -z "$ac_cv_prog_RANLIB"; then
6904 ac_ct_RANLIB
=$RANLIB
6905 # Extract the first word of "ranlib", so it can be a program name with args.
6906 set dummy ranlib
; ac_word
=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6910 $as_echo_n "(cached) " >&6
6912 if test -n "$ac_ct_RANLIB"; then
6913 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir
=.
6920 for ac_exec_ext
in '' $ac_executable_extensions; do
6921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6922 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6932 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6933 if test -n "$ac_ct_RANLIB"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6935 $as_echo "$ac_ct_RANLIB" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6941 if test "x$ac_ct_RANLIB" = x
; then
6944 case $cross_compiling:$ac_tool_warned in
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6948 ac_tool_warned
=yes ;;
6950 RANLIB
=$ac_ct_RANLIB
6953 RANLIB
="$ac_cv_prog_RANLIB"
6956 test -z "$RANLIB" && RANLIB
=:
6963 # Determine commands to create old-style static archives.
6964 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6965 old_postinstall_cmds
='chmod 644 $oldlib'
6966 old_postuninstall_cmds
=
6968 if test -n "$RANLIB"; then
6971 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6974 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6977 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6982 lock_old_archive_extraction
=yes ;;
6984 lock_old_archive_extraction
=no
;;
7025 # If no C compiler was specified, use CC.
7028 # If no C compiler flags were specified, use CFLAGS.
7029 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7031 # Allow CC to be a program name with arguments.
7035 # Check for command to grab the raw symbol name followed by C symbol from nm.
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7037 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7038 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7039 $as_echo_n "(cached) " >&6
7042 # These are sane defaults that work on at least a few old systems.
7043 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7045 # Character class describing NM global symbol codes.
7046 symcode
='[BCDEGRST]'
7048 # Regexp to match symbols that can be accessed directly from C.
7049 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7051 # Define system-specific variables.
7056 cygwin
* | mingw
* | pw32
* | cegcc
*)
7057 symcode
='[ABCDGISTW]'
7060 if test "$host_cpu" = ia64
; then
7061 symcode
='[ABCDEGRST]'
7065 symcode
='[BCDEGRST]'
7068 symcode
='[BCDEGQRST]'
7079 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7087 # If we're using GNU nm, then use its standard symbol codes.
7088 case `$NM -V 2>&1` in
7089 *GNU
* |
*'with BFD'*)
7090 symcode
='[ABCDGIRSTW]' ;;
7093 # Transform an extracted symbol line into a proper C declaration.
7094 # Some systems (esp. on ia64) link data and code symbols differently,
7095 # so use this general approach.
7096 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7098 # Transform an extracted symbol line into symbol name and symbol address
7099 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7100 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'"
7102 # Handle CRLF in mingw tool chain
7106 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7110 # Try without a prefix underscore, then with it.
7111 for ac_symprfx
in "" "_"; do
7113 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7114 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7116 # Write the raw and C identifiers.
7117 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7118 # Fake it for dumpbin and say T for any non-static function
7119 # and D for any global variable.
7120 # Also find C++ and __fastcall symbols from MSVC++,
7121 # which start with @ or ?.
7122 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7123 " {last_section=section; section=\$ 3};"\
7124 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7125 " \$ 0!~/External *\|/{next};"\
7126 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7127 " {if(hide[section]) next};"\
7128 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7129 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7130 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7131 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7132 " ' prfx=^$ac_symprfx"
7134 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7137 # Check to see that the pipe works correctly.
7141 cat > conftest.
$ac_ext <<_LT_EOF
7146 void nm_test_func(void);
7147 void nm_test_func(void){}
7151 int main(){nm_test_var='a';nm_test_func();return(0);}
7154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7155 (eval $ac_compile) 2>&5
7157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7158 test $ac_status = 0; }; then
7159 # Now try to grab the symbols.
7161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7162 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7165 test $ac_status = 0; } && test -s "$nlist"; then
7166 # Try sorting and uniquifying the output.
7167 if sort "$nlist" |
uniq > "$nlist"T
; then
7168 mv -f "$nlist"T
"$nlist"
7173 # Make sure that we snagged all the symbols we need.
7174 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7175 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7176 cat <<_LT_EOF > conftest.$ac_ext
7182 # Now generate the symbol file.
7183 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7185 cat <<_LT_EOF >> conftest.$ac_ext
7187 /* The mapping between symbol names and symbols. */
7192 lt__PROGRAM__LTX_preloaded_symbols[] =
7194 { "@PROGRAM@", (void *) 0 },
7196 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7197 cat <<\_LT_EOF
>> conftest.
$ac_ext
7201 /* This works around a problem
in FreeBSD linker
*/
7202 #ifdef FREEBSD_WORKAROUND
7203 static const void
*lt_preloaded_setup
() {
7204 return lt__PROGRAM__LTX_preloaded_symbols
;
7212 # Now try linking the two files.
7213 mv conftest.
$ac_objext conftstm.
$ac_objext
7214 lt_save_LIBS
="$LIBS"
7215 lt_save_CFLAGS
="$CFLAGS"
7216 LIBS
="conftstm.$ac_objext"
7217 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7219 (eval $ac_link) 2>&5
7221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7222 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7225 LIBS
="$lt_save_LIBS"
7226 CFLAGS
="$lt_save_CFLAGS"
7228 echo "cannot find nm_test_func in $nlist" >&5
7231 echo "cannot find nm_test_var in $nlist" >&5
7234 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7237 echo "$progname: failed program was:" >&5
7238 cat conftest.
$ac_ext >&5
7240 rm -rf conftest
* conftst
*
7242 # Do not use the global_symbol_pipe unless it works.
7243 if test "$pipe_works" = yes; then
7246 lt_cv_sys_global_symbol_pipe
=
7252 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7253 lt_cv_sys_global_symbol_to_cdecl
=
7255 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7257 $as_echo "failed" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7260 $as_echo "ok" >&6; }
7284 # Check whether --enable-libtool-lock was given.
7285 if test "${enable_libtool_lock+set}" = set; then :
7286 enableval
=$enable_libtool_lock;
7289 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7291 # Some flags need to be propagated to the compiler or linker for good
7295 # Find out which ABI we are using.
7296 echo 'int i;' > conftest.
$ac_ext
7297 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7298 (eval $ac_compile) 2>&5
7300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7301 test $ac_status = 0; }; then
7302 case `/usr/bin/file conftest.$ac_objext` in
7314 # Find out which ABI we are using.
7315 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7317 (eval $ac_compile) 2>&5
7319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7320 test $ac_status = 0; }; then
7321 if test "$lt_cv_prog_gnu_ld" = yes; then
7322 case `/usr/bin/file conftest.$ac_objext` in
7324 LD
="${LD-ld} -melf32bsmip"
7327 LD
="${LD-ld} -melf32bmipn32"
7330 LD
="${LD-ld} -melf64bmip"
7334 case `/usr/bin/file conftest.$ac_objext` in
7350 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7351 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7352 # Find out which ABI we are using.
7353 echo 'int i;' > conftest.
$ac_ext
7354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7355 (eval $ac_compile) 2>&5
7357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7358 test $ac_status = 0; }; then
7359 case `/usr/bin/file conftest.o` in
7362 x86_64-
*kfreebsd
*-gnu)
7363 LD
="${LD-ld} -m elf_i386_fbsd"
7366 LD
="${LD-ld} -m elf_i386"
7368 ppc64-
*linux
*|powerpc64-
*linux
*)
7369 LD
="${LD-ld} -m elf32ppclinux"
7372 LD
="${LD-ld} -m elf_s390"
7375 LD
="${LD-ld} -m elf32_sparc"
7381 x86_64-
*kfreebsd
*-gnu)
7382 LD
="${LD-ld} -m elf_x86_64_fbsd"
7385 LD
="${LD-ld} -m elf_x86_64"
7387 ppc
*-*linux
*|powerpc
*-*linux
*)
7388 LD
="${LD-ld} -m elf64ppc"
7390 s390
*-*linux
*|s390
*-*tpf
*)
7391 LD
="${LD-ld} -m elf64_s390"
7394 LD
="${LD-ld} -m elf64_sparc"
7404 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7405 SAVE_CFLAGS
="$CFLAGS"
7406 CFLAGS
="$CFLAGS -belf"
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7408 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7409 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7413 ac_cpp
='$CPP $CPPFLAGS'
7414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7429 if ac_fn_c_try_link
"$LINENO"; then :
7430 lt_cv_cc_needs_belf
=yes
7432 lt_cv_cc_needs_belf
=no
7434 rm -f core conftest.err conftest.
$ac_objext \
7435 conftest
$ac_exeext conftest.
$ac_ext
7437 ac_cpp
='$CPP $CPPFLAGS'
7438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7444 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7445 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7446 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7447 CFLAGS
="$SAVE_CFLAGS"
7451 # Find out which ABI we are using.
7452 echo 'int i;' > conftest.
$ac_ext
7453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7454 (eval $ac_compile) 2>&5
7456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7457 test $ac_status = 0; }; then
7458 case `/usr/bin/file conftest.o` in
7460 case $lt_cv_prog_gnu_ld in
7461 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7463 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7475 need_locks
="$enable_libtool_lock"
7479 rhapsody
* | darwin
*)
7480 if test -n "$ac_tool_prefix"; then
7481 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7482 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7488 if test -n "$DSYMUTIL"; then
7489 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir
=.
7496 for ac_exec_ext
in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7509 if test -n "$DSYMUTIL"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7511 $as_echo "$DSYMUTIL" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7519 if test -z "$ac_cv_prog_DSYMUTIL"; then
7520 ac_ct_DSYMUTIL
=$DSYMUTIL
7521 # Extract the first word of "dsymutil", so it can be a program name with args.
7522 set dummy dsymutil
; ac_word
=$2
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524 $as_echo_n "checking for $ac_word... " >&6; }
7525 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7526 $as_echo_n "(cached) " >&6
7528 if test -n "$ac_ct_DSYMUTIL"; then
7529 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7535 test -z "$as_dir" && as_dir
=.
7536 for ac_exec_ext
in '' $ac_executable_extensions; do
7537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7549 if test -n "$ac_ct_DSYMUTIL"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7551 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554 $as_echo "no" >&6; }
7557 if test "x$ac_ct_DSYMUTIL" = x
; then
7560 case $cross_compiling:$ac_tool_warned in
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7564 ac_tool_warned
=yes ;;
7566 DSYMUTIL
=$ac_ct_DSYMUTIL
7569 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7572 if test -n "$ac_tool_prefix"; then
7573 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7574 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7580 if test -n "$NMEDIT"; then
7581 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7587 test -z "$as_dir" && as_dir
=.
7588 for ac_exec_ext
in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 NMEDIT
=$ac_cv_prog_NMEDIT
7601 if test -n "$NMEDIT"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7603 $as_echo "$NMEDIT" >&6; }
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7611 if test -z "$ac_cv_prog_NMEDIT"; then
7612 ac_ct_NMEDIT
=$NMEDIT
7613 # Extract the first word of "nmedit", so it can be a program name with args.
7614 set dummy nmedit
; ac_word
=$2
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616 $as_echo_n "checking for $ac_word... " >&6; }
7617 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7618 $as_echo_n "(cached) " >&6
7620 if test -n "$ac_ct_NMEDIT"; then
7621 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7627 test -z "$as_dir" && as_dir
=.
7628 for ac_exec_ext
in '' $ac_executable_extensions; do
7629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7630 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7641 if test -n "$ac_ct_NMEDIT"; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7643 $as_echo "$ac_ct_NMEDIT" >&6; }
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7649 if test "x$ac_ct_NMEDIT" = x
; then
7652 case $cross_compiling:$ac_tool_warned in
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7656 ac_tool_warned
=yes ;;
7658 NMEDIT
=$ac_ct_NMEDIT
7661 NMEDIT
="$ac_cv_prog_NMEDIT"
7664 if test -n "$ac_tool_prefix"; then
7665 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7666 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if test "${ac_cv_prog_LIPO+set}" = set; then :
7670 $as_echo_n "(cached) " >&6
7672 if test -n "$LIPO"; then
7673 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7679 test -z "$as_dir" && as_dir
=.
7680 for ac_exec_ext
in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 LIPO
=$ac_cv_prog_LIPO
7693 if test -n "$LIPO"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7695 $as_echo "$LIPO" >&6; }
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7703 if test -z "$ac_cv_prog_LIPO"; then
7705 # Extract the first word of "lipo", so it can be a program name with args.
7706 set dummy lipo
; ac_word
=$2
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708 $as_echo_n "checking for $ac_word... " >&6; }
7709 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7710 $as_echo_n "(cached) " >&6
7712 if test -n "$ac_ct_LIPO"; then
7713 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir
=.
7720 for ac_exec_ext
in '' $ac_executable_extensions; do
7721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7722 ac_cv_prog_ac_ct_LIPO
="lipo"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7733 if test -n "$ac_ct_LIPO"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7735 $as_echo "$ac_ct_LIPO" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 $as_echo "no" >&6; }
7741 if test "x$ac_ct_LIPO" = x
; then
7744 case $cross_compiling:$ac_tool_warned in
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7748 ac_tool_warned
=yes ;;
7753 LIPO
="$ac_cv_prog_LIPO"
7756 if test -n "$ac_tool_prefix"; then
7757 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7758 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7764 if test -n "$OTOOL"; then
7765 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir
=.
7772 for ac_exec_ext
in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 OTOOL
=$ac_cv_prog_OTOOL
7785 if test -n "$OTOOL"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7787 $as_echo "$OTOOL" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7795 if test -z "$ac_cv_prog_OTOOL"; then
7797 # Extract the first word of "otool", so it can be a program name with args.
7798 set dummy otool
; ac_word
=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800 $as_echo_n "checking for $ac_word... " >&6; }
7801 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7802 $as_echo_n "(cached) " >&6
7804 if test -n "$ac_ct_OTOOL"; then
7805 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir
=.
7812 for ac_exec_ext
in '' $ac_executable_extensions; do
7813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7814 ac_cv_prog_ac_ct_OTOOL
="otool"
7815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7825 if test -n "$ac_ct_OTOOL"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7827 $as_echo "$ac_ct_OTOOL" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830 $as_echo "no" >&6; }
7833 if test "x$ac_ct_OTOOL" = x
; then
7836 case $cross_compiling:$ac_tool_warned in
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7840 ac_tool_warned
=yes ;;
7845 OTOOL
="$ac_cv_prog_OTOOL"
7848 if test -n "$ac_tool_prefix"; then
7849 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7850 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7854 $as_echo_n "(cached) " >&6
7856 if test -n "$OTOOL64"; then
7857 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir
=.
7864 for ac_exec_ext
in '' $ac_executable_extensions; do
7865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7866 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 OTOOL64
=$ac_cv_prog_OTOOL64
7877 if test -n "$OTOOL64"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7879 $as_echo "$OTOOL64" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7887 if test -z "$ac_cv_prog_OTOOL64"; then
7888 ac_ct_OTOOL64
=$OTOOL64
7889 # Extract the first word of "otool64", so it can be a program name with args.
7890 set dummy otool64
; ac_word
=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892 $as_echo_n "checking for $ac_word... " >&6; }
7893 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7894 $as_echo_n "(cached) " >&6
7896 if test -n "$ac_ct_OTOOL64"; then
7897 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7903 test -z "$as_dir" && as_dir
=.
7904 for ac_exec_ext
in '' $ac_executable_extensions; do
7905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7906 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7917 if test -n "$ac_ct_OTOOL64"; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7919 $as_echo "$ac_ct_OTOOL64" >&6; }
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 $as_echo "no" >&6; }
7925 if test "x$ac_ct_OTOOL64" = x
; then
7928 case $cross_compiling:$ac_tool_warned in
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7932 ac_tool_warned
=yes ;;
7934 OTOOL64
=$ac_ct_OTOOL64
7937 OTOOL64
="$ac_cv_prog_OTOOL64"
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7967 $as_echo_n "checking for -single_module linker flag... " >&6; }
7968 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7969 $as_echo_n "(cached) " >&6
7971 lt_cv_apple_cc_single_mod
=no
7972 if test -z "${LT_MULTI_MODULE}"; then
7973 # By default we will add the -single_module flag. You can override
7974 # by either setting the environment variable LT_MULTI_MODULE
7975 # non-empty at configure time, or by adding -multi_module to the
7977 rm -rf libconftest.dylib
*
7978 echo "int foo(void){return 1;}" > conftest.c
7979 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7980 -dynamiclib -Wl,-single_module conftest.c" >&5
7981 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7982 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7984 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7985 lt_cv_apple_cc_single_mod
=yes
7987 cat conftest.err
>&5
7989 rm -rf libconftest.dylib
*
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7994 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7996 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7997 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7998 $as_echo_n "(cached) " >&6
8000 lt_cv_ld_exported_symbols_list
=no
8001 save_LDFLAGS
=$LDFLAGS
8002 echo "_main" > conftest.sym
8003 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8005 /* end confdefs.h. */
8015 if ac_fn_c_try_link
"$LINENO"; then :
8016 lt_cv_ld_exported_symbols_list
=yes
8018 lt_cv_ld_exported_symbols_list
=no
8020 rm -f core conftest.err conftest.
$ac_objext \
8021 conftest
$ac_exeext conftest.
$ac_ext
8022 LDFLAGS
="$save_LDFLAGS"
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8026 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8028 $as_echo_n "checking for -force_load linker flag... " >&6; }
8029 if test "${lt_cv_ld_force_load+set}" = set; then :
8030 $as_echo_n "(cached) " >&6
8032 lt_cv_ld_force_load
=no
8033 cat > conftest.c
<< _LT_EOF
8034 int forced_loaded() { return 2;}
8036 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8037 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8038 echo "$AR cru libconftest.a conftest.o" >&5
8039 $AR cru libconftest.a conftest.o
2>&5
8040 cat > conftest.c
<< _LT_EOF
8041 int main() { return 0;}
8043 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8044 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8046 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8047 lt_cv_ld_force_load
=yes
8049 cat conftest.err
>&5
8051 rm -f conftest.err libconftest.a conftest conftest.c
8052 rm -rf conftest.dSYM
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8056 $as_echo "$lt_cv_ld_force_load" >&6; }
8058 rhapsody
* | darwin1.
[012])
8059 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8061 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8062 darwin
*) # darwin 5.x on
8063 # if running on 10.5 or later, the deployment target defaults
8064 # to the OS version, if on x86, and 10.4, the deployment
8065 # target defaults to 10.4. Don't you love it?
8066 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8067 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8068 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8070 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8072 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8076 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8077 _lt_dar_single_mod
='$single_module'
8079 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8080 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8082 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8084 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8085 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8092 for ac_header
in dlfcn.h
8094 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8096 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8097 cat >>confdefs.h
<<_ACEOF
8098 #define HAVE_DLFCN_H 1
8119 # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121 enableval
=$enable_shared; p
=${PACKAGE-default}
8123 yes) enable_shared
=yes ;;
8124 no
) enable_shared
=no
;;
8127 # Look at the argument we got. We use all the common list separators.
8128 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8129 for pkg
in $enableval; do
8131 if test "X$pkg" = "X$p"; then
8150 # Check whether --enable-static was given.
8151 if test "${enable_static+set}" = set; then :
8152 enableval
=$enable_static; p
=${PACKAGE-default}
8154 yes) enable_static
=yes ;;
8155 no
) enable_static
=no
;;
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8160 for pkg
in $enableval; do
8162 if test "X$pkg" = "X$p"; then
8182 # Check whether --with-pic was given.
8183 if test "${with_pic+set}" = set; then :
8184 withval
=$with_pic; pic_mode
="$withval"
8190 test -z "$pic_mode" && pic_mode
=default
8198 # Check whether --enable-fast-install was given.
8199 if test "${enable_fast_install+set}" = set; then :
8200 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8202 yes) enable_fast_install
=yes ;;
8203 no
) enable_fast_install
=no
;;
8205 enable_fast_install
=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8208 for pkg
in $enableval; do
8210 if test "X$pkg" = "X$p"; then
8211 enable_fast_install
=yes
8218 enable_fast_install
=yes
8231 # This can be used to rebuild libtool when needed
8232 LIBTOOL_DEPS
="$ltmain"
8234 # Always use our own libtool.
8235 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8262 test -z "$LN_S" && LN_S
="ln -s"
8277 if test -n "${ZSH_VERSION+set}" ; then
8278 setopt NO_GLOB_SUBST
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if test "${lt_cv_objdir+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8286 rm -f .libs
2>/dev
/null
8287 mkdir .libs
2>/dev
/null
8288 if test -d .libs
; then
8291 # MS-DOS does not allow filenames that begin with a dot.
8294 rmdir .libs
2>/dev
/null
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir
=$lt_cv_objdir
8304 cat >>confdefs.h
<<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8313 # AIX sometimes has problems with the GCC collect2 program. For some
8314 # reason, if we set the COLLECT_NAMES environment variable, the problems
8315 # vanish in a puff of smoke.
8316 if test "X${COLLECT_NAMES+set}" != Xset
; then
8318 export COLLECT_NAMES
8325 can_build_shared
=yes
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8331 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8334 old_CFLAGS
="$CFLAGS"
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC
=cc
8338 test -z "$LTCC" && LTCC
=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8340 test -z "$LD" && LD
=ld
8341 test -z "$ac_objext" && ac_objext
=o
8343 for cc_temp
in $compiler""; do
8345 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8346 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8351 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8356 case $deplibs_check_method in
8358 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8362 $as_echo_n "(cached) " >&6
8366 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8369 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8370 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8371 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8372 for ac_dir
in $ac_dummy; do
8374 test -z "$ac_dir" && ac_dir
=.
8375 if test -f $ac_dir/${ac_tool_prefix}file; then
8376 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8377 if test -n "$file_magic_test_file"; then
8378 case $deplibs_check_method in
8380 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8382 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8383 $EGREP "$file_magic_regex" > /dev
/null
; then
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such. This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem. Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8405 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8410 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424 if test -n "$ac_tool_prefix"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8428 $as_echo_n "(cached) " >&6
8432 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8435 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8436 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8437 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8438 for ac_dir
in $ac_dummy; do
8440 test -z "$ac_dir" && ac_dir
=.
8441 if test -f $ac_dir/file; then
8442 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8443 if test -n "$file_magic_test_file"; then
8444 case $deplibs_check_method in
8446 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8448 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8449 $EGREP "$file_magic_regex" > /dev
/null
; then
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such. This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem. Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8471 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8476 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8495 # Use C for the default configuration in the libtool script
8499 ac_cpp
='$CPP $CPPFLAGS'
8500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8505 # Source file extension for C test sources.
8508 # Object file extension for compiled C test sources.
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code
="int some_variable = 0;"
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code
='int main(){return(0);}'
8524 # If no C compiler was specified, use CC.
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8530 # Allow CC to be a program name with arguments.
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT
=$CC
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile
=conftest.
$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate
=`cat conftest.err`
8544 ac_outfile
=conftest.
$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8546 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate
=`cat conftest.err`
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8557 lt_prog_compiler_no_builtin_flag
=
8559 if test "$GCC" = yes; then
8560 case $cc_basename in
8562 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8564 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8570 $as_echo_n "(cached) " >&6
8572 lt_cv_prog_compiler_rtti_exceptions
=no
8573 ac_outfile
=conftest.
$ac_objext
8574 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8575 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 # The option is referenced via a variable to avoid confusing sed.
8581 lt_compile
=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>conftest.err
)
8588 cat conftest.err
>&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s "$ac_outfile"; then
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings other than the usual output.
8593 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8595 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8596 lt_cv_prog_compiler_rtti_exceptions
=yes
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8605 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8606 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8618 lt_prog_compiler_wl
=
8619 lt_prog_compiler_pic
=
8620 lt_prog_compiler_static
=
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625 if test "$GCC" = yes; then
8626 lt_prog_compiler_wl
='-Wl,'
8627 lt_prog_compiler_static
='-static'
8631 # All AIX code is PIC.
8632 if test "$host_cpu" = ia64
; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static
='-Bstatic'
8641 # see comment about AmigaOS4 .so support
8642 lt_prog_compiler_pic
='-fPIC'
8645 # FIXME: we need at least 68020 code to build shared libraries, but
8646 # adding the `-m68020' flag to GCC prevents building anything better,
8648 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8653 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8654 # PIC is the default for these OSes.
8657 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8658 # This hack is so that the source file can tell whether it is being
8659 # built for inclusion in a dll (and should export symbols for example).
8660 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8661 # (--disable-auto-import) libraries
8662 lt_prog_compiler_pic
='-DDLL_EXPORT'
8665 darwin
* | rhapsody
*)
8666 # PIC is the default on this platform
8667 # Common symbols not allowed in MH_DYLIB files
8668 lt_prog_compiler_pic
='-fno-common'
8672 # PIC is the default for Haiku.
8673 # The "-static" flag exists, but is broken.
8674 lt_prog_compiler_static
=
8678 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8679 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8680 # sets the default TLS model and affects inlining.
8686 lt_prog_compiler_pic
='-fPIC'
8692 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8693 # Instead, we relocate shared libraries at runtime.
8697 # Just because we use GCC doesn't mean we suddenly get shared libraries
8698 # on systems that don't support them.
8699 lt_prog_compiler_can_build_shared
=no
8704 # QNX uses GNU C++, but need to define -shared option too, otherwise
8706 lt_prog_compiler_pic
='-fPIC -shared'
8710 if test -d /usr
/nec
; then
8711 lt_prog_compiler_pic
=-Kconform_pic
8716 lt_prog_compiler_pic
='-fPIC'
8720 case $cc_basename in
8721 nvcc
*) # Cuda Compiler Driver 2.2
8722 lt_prog_compiler_wl
='-Xlinker '
8723 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8727 # PORTME Check for flag to pass linker flags through the system compiler.
8730 lt_prog_compiler_wl
='-Wl,'
8731 if test "$host_cpu" = ia64
; then
8732 # AIX 5 now supports IA64 processor
8733 lt_prog_compiler_static
='-Bstatic'
8735 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8739 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8740 # This hack is so that the source file can tell whether it is being
8741 # built for inclusion in a dll (and should export symbols for example).
8742 lt_prog_compiler_pic
='-DDLL_EXPORT'
8745 hpux9
* | hpux10
* | hpux11
*)
8746 lt_prog_compiler_wl
='-Wl,'
8747 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8754 lt_prog_compiler_pic
='+Z'
8757 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8758 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8761 irix5
* | irix6
* | nonstopux
*)
8762 lt_prog_compiler_wl
='-Wl,'
8763 # PIC (with -KPIC) is the default.
8764 lt_prog_compiler_static
='-non_shared'
8767 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8768 case $cc_basename in
8769 # old Intel for x86_64 which still supported -KPIC.
8771 lt_prog_compiler_wl
='-Wl,'
8772 lt_prog_compiler_pic
='-KPIC'
8773 lt_prog_compiler_static
='-static'
8775 # icc used to be incompatible with GCC.
8776 # ICC 10 doesn't accept -KPIC any more.
8778 lt_prog_compiler_wl
='-Wl,'
8779 lt_prog_compiler_pic
='-fPIC'
8780 lt_prog_compiler_static
='-static'
8782 # Lahey Fortran 8.1.
8784 lt_prog_compiler_wl
='-Wl,'
8785 lt_prog_compiler_pic
='--shared'
8786 lt_prog_compiler_static
='--static'
8788 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8789 # Portland Group compilers (*not* the Pentium gcc compiler,
8790 # which looks to be a dead project)
8791 lt_prog_compiler_wl
='-Wl,'
8792 lt_prog_compiler_pic
='-fpic'
8793 lt_prog_compiler_static
='-Bstatic'
8796 lt_prog_compiler_wl
='-Wl,'
8797 # All Alpha code is PIC.
8798 lt_prog_compiler_static
='-non_shared'
8800 xl
* | bgxl
* | bgf
* | mpixl
*)
8801 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8802 lt_prog_compiler_wl
='-Wl,'
8803 lt_prog_compiler_pic
='-qpic'
8804 lt_prog_compiler_static
='-qstaticlink'
8807 case `$CC -V 2>&1 | sed 5q` in
8808 *Sun\ F
* |
*Sun
*Fortran
*)
8809 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8810 lt_prog_compiler_pic
='-KPIC'
8811 lt_prog_compiler_static
='-Bstatic'
8812 lt_prog_compiler_wl
=''
8816 lt_prog_compiler_pic
='-KPIC'
8817 lt_prog_compiler_static
='-Bstatic'
8818 lt_prog_compiler_wl
='-Wl,'
8826 lt_prog_compiler_pic
='-KPIC'
8827 lt_prog_compiler_static
='-Bstatic'
8831 # QNX uses GNU C++, but need to define -shared option too, otherwise
8833 lt_prog_compiler_pic
='-fPIC -shared'
8836 osf3
* | osf4
* | osf5
*)
8837 lt_prog_compiler_wl
='-Wl,'
8838 # All OSF/1 code is PIC.
8839 lt_prog_compiler_static
='-non_shared'
8843 lt_prog_compiler_static
='-non_shared'
8847 lt_prog_compiler_pic
='-KPIC'
8848 lt_prog_compiler_static
='-Bstatic'
8849 case $cc_basename in
8851 lt_prog_compiler_wl
='-Qoption ld ';;
8853 lt_prog_compiler_wl
='-Wl,';;
8858 lt_prog_compiler_wl
='-Qoption ld '
8859 lt_prog_compiler_pic
='-PIC'
8860 lt_prog_compiler_static
='-Bstatic'
8863 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8864 lt_prog_compiler_wl
='-Wl,'
8865 lt_prog_compiler_pic
='-KPIC'
8866 lt_prog_compiler_static
='-Bstatic'
8870 if test -d /usr
/nec
;then
8871 lt_prog_compiler_pic
='-Kconform_pic'
8872 lt_prog_compiler_static
='-Bstatic'
8876 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8877 lt_prog_compiler_wl
='-Wl,'
8878 lt_prog_compiler_pic
='-KPIC'
8879 lt_prog_compiler_static
='-Bstatic'
8883 lt_prog_compiler_wl
='-Wl,'
8884 lt_prog_compiler_can_build_shared
=no
8888 lt_prog_compiler_pic
='-pic'
8889 lt_prog_compiler_static
='-Bstatic'
8893 lt_prog_compiler_can_build_shared
=no
8899 # For platforms which do not support PIC, -DPIC is meaningless:
8901 lt_prog_compiler_pic
=
8904 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8908 $as_echo "$lt_prog_compiler_pic" >&6; }
8916 # Check to make sure the PIC flag actually works.
8918 if test -n "$lt_prog_compiler_pic"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8920 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8921 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8922 $as_echo_n "(cached) " >&6
8924 lt_cv_prog_compiler_pic_works
=no
8925 ac_outfile
=conftest.
$ac_objext
8926 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8927 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8928 # Insert the option either (1) after the last *FLAGS variable, or
8929 # (2) before a word containing "conftest.", or (3) at the end.
8930 # Note that $ac_compile itself does not contain backslashes and begins
8931 # with a dollar sign (not a hyphen), so the echo should work correctly.
8932 # The option is referenced via a variable to avoid confusing sed.
8933 lt_compile
=`echo "$ac_compile" | $SED \
8934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936 -e 's:$: $lt_compiler_flag:'`
8937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8938 (eval "$lt_compile" 2>conftest.err
)
8940 cat conftest.err
>&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 if (exit $ac_status) && test -s "$ac_outfile"; then
8943 # The compiler can only warn and ignore the option if not recognized
8944 # So say no if there are warnings other than the usual output.
8945 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8946 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8947 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8948 lt_cv_prog_compiler_pic_works
=yes
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8955 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8957 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8958 case $lt_prog_compiler_pic in
8960 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8963 lt_prog_compiler_pic
=
8964 lt_prog_compiler_can_build_shared
=no
8975 # Check to make sure the static flag actually works.
8977 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8979 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8980 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8981 $as_echo_n "(cached) " >&6
8983 lt_cv_prog_compiler_static_works
=no
8984 save_LDFLAGS
="$LDFLAGS"
8985 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8986 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8987 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8988 # The linker can only warn and ignore the option if not recognized
8989 # So say no if there are warnings
8990 if test -s conftest.err
; then
8991 # Append any errors to the config.log.
8992 cat conftest.err
1>&5
8993 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8994 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8995 if diff conftest.exp conftest.er2
>/dev
/null
; then
8996 lt_cv_prog_compiler_static_works
=yes
8999 lt_cv_prog_compiler_static_works
=yes
9003 LDFLAGS
="$save_LDFLAGS"
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9007 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9009 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9012 lt_prog_compiler_static
=
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9022 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9023 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9024 $as_echo_n "(cached) " >&6
9026 lt_cv_prog_compiler_c_o
=no
9027 $RM -r conftest
2>/dev
/null
9031 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9033 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9034 # Insert the option either (1) after the last *FLAGS variable, or
9035 # (2) before a word containing "conftest.", or (3) at the end.
9036 # Note that $ac_compile itself does not contain backslashes and begins
9037 # with a dollar sign (not a hyphen), so the echo should work correctly.
9038 lt_compile
=`echo "$ac_compile" | $SED \
9039 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9041 -e 's:$: $lt_compiler_flag:'`
9042 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9043 (eval "$lt_compile" 2>out
/conftest.err
)
9045 cat out
/conftest.err
>&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9049 # The compiler can only warn and ignore the option if not recognized
9050 # So say no if there are warnings
9051 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9052 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9053 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9054 lt_cv_prog_compiler_c_o
=yes
9059 # SGI C++ compiler will create directory out/ii_files/ for
9060 # template instantiation
9061 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9062 $RM out
/* && rmdir out
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9069 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9077 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9078 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9079 $as_echo_n "(cached) " >&6
9081 lt_cv_prog_compiler_c_o
=no
9082 $RM -r conftest
2>/dev
/null
9086 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9088 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9089 # Insert the option either (1) after the last *FLAGS variable, or
9090 # (2) before a word containing "conftest.", or (3) at the end.
9091 # Note that $ac_compile itself does not contain backslashes and begins
9092 # with a dollar sign (not a hyphen), so the echo should work correctly.
9093 lt_compile
=`echo "$ac_compile" | $SED \
9094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9096 -e 's:$: $lt_compiler_flag:'`
9097 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9098 (eval "$lt_compile" 2>out
/conftest.err
)
9100 cat out
/conftest.err
>&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9104 # The compiler can only warn and ignore the option if not recognized
9105 # So say no if there are warnings
9106 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9107 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9108 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9109 lt_cv_prog_compiler_c_o
=yes
9114 # SGI C++ compiler will create directory out/ii_files/ for
9115 # template instantiation
9116 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9117 $RM out
/* && rmdir out
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9124 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9129 hard_links
="nottested"
9130 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9131 # do not overwrite the value of need_locks provided by the user
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9133 $as_echo_n "checking if we can lock with hard links... " >&6; }
9136 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9138 ln conftest.a conftest.b
2>&5 || hard_links
=no
9139 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9141 $as_echo "$hard_links" >&6; }
9142 if test "$hard_links" = no
; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9144 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9157 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9160 allow_undefined_flag
=
9161 always_export_symbols
=no
9163 archive_expsym_cmds
=
9164 compiler_needs_object
=no
9165 enable_shared_with_static_runtimes
=no
9166 export_dynamic_flag_spec
=
9167 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9168 hardcode_automatic
=no
9170 hardcode_direct_absolute
=no
9171 hardcode_libdir_flag_spec
=
9172 hardcode_libdir_flag_spec_ld
=
9173 hardcode_libdir_separator
=
9175 hardcode_shlibpath_var
=unsupported
9177 link_all_deplibs
=unknown
9180 old_archive_from_new_cmds
=
9181 old_archive_from_expsyms_cmds
=
9182 thread_safe_flag_spec
=
9183 whole_archive_flag_spec
=
9184 # include_expsyms should be a list of space-separated symbols to be *always*
9185 # included in the symbol list
9187 # exclude_expsyms can be an extended regexp of symbols to exclude
9188 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9189 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9190 # as well as any symbol that contains `d'.
9191 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9192 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9193 # platforms (ab)use it in PIC code, but their linkers get confused if
9194 # the symbol is explicitly referenced. Since portable code cannot
9195 # rely on this symbol name, it's probably fine to never include it in
9196 # preloaded symbol tables.
9197 # Exclude shared library initialization/finalization symbols.
9198 extract_expsyms_cmds
=
9201 cygwin
* | mingw
* | pw32
* | cegcc
*)
9202 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9203 # When not using gcc, we currently assume that we are using
9204 # Microsoft Visual C++.
9205 if test "$GCC" != yes; then
9210 # we just hope/assume this is gcc and not c89 (= MSVC++)
9220 # On some targets, GNU ld is compatible enough with the native linker
9221 # that we're better off using the native interface for both.
9222 lt_use_gnu_ld_interface
=no
9223 if test "$with_gnu_ld" = yes; then
9226 # The AIX port of GNU ld has always aspired to compatibility
9227 # with the native linker. However, as the warning in the GNU ld
9228 # block says, versions before 2.19.5* couldn't really create working
9229 # shared libraries, regardless of the interface used.
9230 case `$LD -v 2>&1` in
9231 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9232 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9233 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9235 lt_use_gnu_ld_interface
=yes
9240 lt_use_gnu_ld_interface
=yes
9245 if test "$lt_use_gnu_ld_interface" = yes; then
9246 # If archive_cmds runs LD, not CC, wlarc should be empty
9249 # Set some defaults for GNU ld with shared library support. These
9250 # are reset later if shared libraries are not supported. Putting them
9251 # here allows them to be overridden if necessary.
9252 runpath_var
=LD_RUN_PATH
9253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9254 export_dynamic_flag_spec
='${wl}--export-dynamic'
9255 # ancient GNU ld didn't support --whole-archive et. al.
9256 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9257 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259 whole_archive_flag_spec
=
9261 supports_anon_versioning
=no
9262 case `$LD -v 2>&1` in
9263 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9264 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9265 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9266 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9267 *\
2.11.
*) ;; # other 2.11 versions
9268 *) supports_anon_versioning
=yes ;;
9271 # See if GNU ld supports shared libraries.
9274 # On AIX/PPC, the GNU linker is very broken
9275 if test "$host_cpu" != ia64
; then
9279 *** Warning: the GNU linker, at least up to release 2.19, is reported
9280 *** to be unable to reliably create shared libraries on AIX.
9281 *** Therefore, libtool is disabling shared libraries support. If you
9282 *** really care for shared libraries, you may want to install binutils
9283 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9284 *** You will then need to restart the configuration process.
9293 # see comment about AmigaOS4 .so support
9294 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295 archive_expsym_cmds
=''
9298 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)'
9299 hardcode_libdir_flag_spec
='-L$libdir'
9300 hardcode_minus_L
=yes
9306 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9307 allow_undefined_flag
=unsupported
9308 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9309 # support --undefined. This deserves some investigation. FIXME
9310 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316 cygwin
* | mingw
* | pw32
* | cegcc
*)
9317 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9318 # as there is no search path for DLLs.
9319 hardcode_libdir_flag_spec
='-L$libdir'
9320 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9321 allow_undefined_flag
=unsupported
9322 always_export_symbols
=no
9323 enable_shared_with_static_runtimes
=yes
9324 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9326 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9327 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9328 # If the export-symbols file already is a .def file (1st line
9329 # is EXPORTS), use it as is; otherwise, prepend...
9330 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9331 cp $export_symbols $output_objdir/$soname.def;
9333 echo EXPORTS > $output_objdir/$soname.def;
9334 cat $export_symbols >> $output_objdir/$soname.def;
9336 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9343 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 link_all_deplibs
=yes
9349 hardcode_shlibpath_var
=no
9350 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9351 export_dynamic_flag_spec
='${wl}-E'
9352 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9353 # Instead, shared libraries are loaded at an image base (0x10000000 by
9354 # default) and relocated if they conflict, which is a slow very memory
9355 # consuming and fragmenting process. To avoid this, we pick a random,
9356 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9357 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9358 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9359 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'
9362 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9364 if test "$host_os" = linux-dietlibc
; then
9365 case $cc_basename in
9366 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9369 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9370 && test "$tmp_diet" = no
9373 tmp_sharedflag
='-shared'
9374 case $cc_basename,$host_cpu in
9375 pgcc
*) # Portland Group C compiler
9376 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'
9377 tmp_addflag
=' $pic_flag'
9379 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9380 # Portland Group f77 and f90 compilers
9381 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'
9382 tmp_addflag
=' $pic_flag -Mnomain' ;;
9383 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9384 tmp_addflag
=' -i_dynamic' ;;
9385 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9386 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9387 ifc
* | ifort
*) # Intel Fortran compiler
9388 tmp_addflag
=' -nofor_main' ;;
9389 lf95
*) # Lahey Fortran 8.1
9390 whole_archive_flag_spec
=
9391 tmp_sharedflag
='--shared' ;;
9392 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9393 tmp_sharedflag
='-qmkshrobj'
9395 nvcc
*) # Cuda Compiler Driver 2.2
9396 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'
9397 compiler_needs_object
=yes
9400 case `$CC -V 2>&1 | sed 5q` in
9401 *Sun\ C
*) # Sun C 5.9
9402 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'
9403 compiler_needs_object
=yes
9404 tmp_sharedflag
='-G' ;;
9405 *Sun\ F
*) # Sun Fortran 8.3
9406 tmp_sharedflag
='-G' ;;
9408 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410 if test "x$supports_anon_versioning" = xyes
; then
9411 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9412 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9413 echo "local: *; };" >> $output_objdir/$libname.ver~
9414 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9417 case $cc_basename in
9418 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9419 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9420 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9421 hardcode_libdir_flag_spec
=
9422 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9423 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9424 if test "x$supports_anon_versioning" = xyes
; then
9425 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9426 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9427 echo "local: *; };" >> $output_objdir/$libname.ver~
9428 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9438 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9439 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9442 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9443 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9448 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9452 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9453 *** create shared libraries on Solaris systems. Therefore, libtool
9454 *** is disabling shared libraries support. We urge you to upgrade GNU
9455 *** binutils to release 2.9.1 or newer. Another option is to modify
9456 *** your PATH or compiler configuration so that the native linker is
9457 *** used, and then restart.
9460 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9461 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9462 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9468 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9469 case `$LD -v 2>&1` in
9470 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9474 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9475 *** reliably create shared libraries on SCO systems. Therefore, libtool
9476 *** is disabling shared libraries support. We urge you to upgrade GNU
9477 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9478 *** your PATH or compiler configuration so that the native linker is
9479 *** used, and then restart.
9484 # For security reasons, it is highly recommended that you always
9485 # use absolute paths for naming shared libraries, and exclude the
9486 # DT_RUNPATH tag from executables and libraries. But doing so
9487 # requires that you compile everything twice, which is a pain.
9488 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9489 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9490 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9491 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_shlibpath_var
=no
9507 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9508 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9509 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9516 if test "$ld_shlibs" = no
; then
9518 hardcode_libdir_flag_spec
=
9519 export_dynamic_flag_spec
=
9520 whole_archive_flag_spec
=
9523 # PORTME fill in a description of your system's linker (not GNU ld)
9526 allow_undefined_flag
=unsupported
9527 always_export_symbols
=yes
9528 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'
9529 # Note: this linker hardcodes the directories in LIBPATH if there
9530 # are no directories specified by -L.
9531 hardcode_minus_L
=yes
9532 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9533 # Neither direct hardcoding nor static linking is supported with a
9535 hardcode_direct
=unsupported
9540 if test "$host_cpu" = ia64
; then
9541 # On IA64, the linker does run time linking by default, so we don't
9542 # have to do anything special.
9543 aix_use_runtimelinking
=no
9544 exp_sym_flag
='-Bexport'
9547 # If we're using GNU nm, then we don't want the "-C" option.
9548 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9549 # Also, AIX nm treats weak defined symbols like other global
9550 # defined symbols, whereas GNU nm marks them as "W".
9551 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9552 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'
9554 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9556 aix_use_runtimelinking
=no
9558 # Test if we are trying to use run time linking or normal
9559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9560 # need to do runtime linking.
9561 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9562 for ld_flag
in $LDFLAGS; do
9563 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9564 aix_use_runtimelinking
=yes
9571 exp_sym_flag
='-bexport'
9572 no_entry_flag
='-bnoentry'
9575 # When large executables or shared objects are built, AIX ld can
9576 # have problems creating the table of contents. If linking a library
9577 # or program results in "error TOC overflow" add -mminimal-toc to
9578 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9579 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9583 hardcode_direct_absolute
=yes
9584 hardcode_libdir_separator
=':'
9585 link_all_deplibs
=yes
9586 file_list_spec
='${wl}-f,'
9588 if test "$GCC" = yes; then
9589 case $host_os in aix4.
[012]|aix4.
[012].
*)
9590 # We only want to do this on AIX 4.2 and lower, the check
9591 # below for broken collect2 doesn't work under 4.3+
9592 collect2name
=`${CC} -print-prog-name=collect2`
9593 if test -f "$collect2name" &&
9594 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9596 # We have reworked collect2
9599 # We have old collect2
9600 hardcode_direct
=unsupported
9601 # It fails to find uninstalled libraries when the uninstalled
9602 # path is not listed in the libpath. Setting hardcode_minus_L
9603 # to unsupported forces relinking
9604 hardcode_minus_L
=yes
9605 hardcode_libdir_flag_spec
='-L$libdir'
9606 hardcode_libdir_separator
=
9610 shared_flag
='-shared'
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag
="$shared_flag "'${wl}-G'
9616 if test "$host_cpu" = ia64
; then
9617 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9618 # chokes on -Wl,-G. The following line is correct:
9621 if test "$aix_use_runtimelinking" = yes; then
9622 shared_flag
='${wl}-G'
9624 shared_flag
='${wl}-bM:SRE'
9629 export_dynamic_flag_spec
='${wl}-bexpall'
9630 # It seems that -bexpall does not export symbols beginning with
9631 # underscore (_), so it is better to generate a list of symbols to export.
9632 always_export_symbols
=yes
9633 if test "$aix_use_runtimelinking" = yes; then
9634 # Warning - without using the other runtime loading flags (-brtl),
9635 # -berok will link without error, but may produce a broken library.
9636 allow_undefined_flag
='-berok'
9637 # Determine the default libpath from the value encoded in an
9639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9650 if ac_fn_c_try_link
"$LINENO"; then :
9652 lt_aix_libpath_sed
='
9653 /Import File Strings/,/^$/ {
9659 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9660 # Check for a 64-bit object if we didn't find anything.
9661 if test -z "$aix_libpath"; then
9662 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9665 rm -f core conftest.err conftest.
$ac_objext \
9666 conftest
$ac_exeext conftest.
$ac_ext
9667 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9669 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9670 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"
9672 if test "$host_cpu" = ia64
; then
9673 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9674 allow_undefined_flag
="-z nodefs"
9675 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"
9677 # Determine the default libpath from the value encoded in an
9679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9690 if ac_fn_c_try_link
"$LINENO"; then :
9692 lt_aix_libpath_sed
='
9693 /Import File Strings/,/^$/ {
9699 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9700 # Check for a 64-bit object if we didn't find anything.
9701 if test -z "$aix_libpath"; then
9702 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 rm -f core conftest.err conftest.
$ac_objext \
9706 conftest
$ac_exeext conftest.
$ac_ext
9707 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9709 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9710 # Warning - without using the other run time loading flags,
9711 # -berok will link without error, but may produce a broken library.
9712 no_undefined_flag
=' ${wl}-bernotok'
9713 allow_undefined_flag
=' ${wl}-berok'
9714 if test "$with_gnu_ld" = yes; then
9715 # We only use this code for GNU lds that support --whole-archive.
9716 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9718 # Exported symbols can be pulled into shared objects from archives
9719 whole_archive_flag_spec
='$convenience'
9721 archive_cmds_need_lc
=yes
9722 # This is similar to how AIX traditionally builds its shared libraries.
9723 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'
9731 # see comment about AmigaOS4 .so support
9732 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9733 archive_expsym_cmds
=''
9736 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)'
9737 hardcode_libdir_flag_spec
='-L$libdir'
9738 hardcode_minus_L
=yes
9744 export_dynamic_flag_spec
=-rdynamic
9747 cygwin
* | mingw
* | pw32
* | cegcc
*)
9748 # When not using gcc, we currently assume that we are using
9749 # Microsoft Visual C++.
9750 # hardcode_libdir_flag_spec is actually meaningless, as there is
9751 # no search path for DLLs.
9752 hardcode_libdir_flag_spec
=' '
9753 allow_undefined_flag
=unsupported
9754 # Tell ltmain to make .lib files, not .a files.
9756 # Tell ltmain to make .dll files, not .so files.
9758 # FIXME: Setting linknames here is a bad hack.
9759 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9760 # The linker will automatically build a .lib file if we build a DLL.
9761 old_archive_from_new_cmds
='true'
9762 # FIXME: Should let the user specify the lib program.
9763 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9764 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9765 enable_shared_with_static_runtimes
=yes
9768 darwin
* | rhapsody
*)
9771 archive_cmds_need_lc
=no
9773 hardcode_automatic
=yes
9774 hardcode_shlibpath_var
=unsupported
9775 if test "$lt_cv_ld_force_load" = "yes"; then
9776 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\"`'
9778 whole_archive_flag_spec
=''
9780 link_all_deplibs
=yes
9781 allow_undefined_flag
="$_lt_dar_allow_undefined"
9782 case $cc_basename in
9783 ifort
*) _lt_dar_can_shared
=yes ;;
9784 *) _lt_dar_can_shared
=$GCC ;;
9786 if test "$_lt_dar_can_shared" = "yes"; then
9787 output_verbose_link_cmd
=func_echo_all
9788 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9789 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9790 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}"
9791 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}"
9800 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9801 hardcode_libdir_flag_spec
='-L$libdir'
9802 hardcode_shlibpath_var
=no
9809 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9810 # support. Future versions do this automatically, but an explicit c++rt0.o
9811 # does not break anything, and helps significantly (at the cost of a little
9814 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9815 hardcode_libdir_flag_spec
='-R$libdir'
9817 hardcode_shlibpath_var
=no
9820 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9822 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9824 hardcode_minus_L
=yes
9825 hardcode_shlibpath_var
=no
9828 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9829 freebsd
* | dragonfly
*)
9830 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9831 hardcode_libdir_flag_spec
='-R$libdir'
9833 hardcode_shlibpath_var
=no
9837 if test "$GCC" = yes; then
9838 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'
9840 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'
9842 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9843 hardcode_libdir_separator
=:
9846 # hardcode_minus_L: Not really in the search PATH,
9847 # but as the default location of the library.
9848 hardcode_minus_L
=yes
9849 export_dynamic_flag_spec
='${wl}-E'
9853 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9854 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9858 if test "$with_gnu_ld" = no
; then
9859 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_flag_spec_ld
='+b $libdir'
9861 hardcode_libdir_separator
=:
9863 hardcode_direct_absolute
=yes
9864 export_dynamic_flag_spec
='${wl}-E'
9865 # hardcode_minus_L: Not really in the search PATH,
9866 # but as the default location of the library.
9867 hardcode_minus_L
=yes
9872 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9875 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9894 # Older versions of the 11.00 compiler do not understand -b yet
9895 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9897 $as_echo_n "checking if $CC understands -b... " >&6; }
9898 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9899 $as_echo_n "(cached) " >&6
9901 lt_cv_prog_compiler__b
=no
9902 save_LDFLAGS
="$LDFLAGS"
9903 LDFLAGS
="$LDFLAGS -b"
9904 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9905 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9906 # The linker can only warn and ignore the option if not recognized
9907 # So say no if there are warnings
9908 if test -s conftest.err
; then
9909 # Append any errors to the config.log.
9910 cat conftest.err
1>&5
9911 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9912 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9913 if diff conftest.exp conftest.er2
>/dev
/null
; then
9914 lt_cv_prog_compiler__b
=yes
9917 lt_cv_prog_compiler__b
=yes
9921 LDFLAGS
="$save_LDFLAGS"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9925 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9927 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9928 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9936 if test "$with_gnu_ld" = no
; then
9937 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9938 hardcode_libdir_separator
=:
9943 hardcode_shlibpath_var
=no
9947 hardcode_direct_absolute
=yes
9948 export_dynamic_flag_spec
='${wl}-E'
9950 # hardcode_minus_L: Not really in the search PATH,
9951 # but as the default location of the library.
9952 hardcode_minus_L
=yes
9958 irix5
* | irix6
* | nonstopux
*)
9959 if test "$GCC" = yes; then
9960 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'
9961 # Try to use the -exported_symbol ld option, if it does not
9962 # work, assume that -exports_file does not work either and
9963 # implicitly export all symbols.
9964 save_LDFLAGS
="$LDFLAGS"
9965 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9970 if ac_fn_c_try_link
"$LINENO"; then :
9971 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'
9974 rm -f core conftest.err conftest.
$ac_objext \
9975 conftest
$ac_exeext conftest.
$ac_ext
9976 LDFLAGS
="$save_LDFLAGS"
9978 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'
9979 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'
9981 archive_cmds_need_lc
='no'
9982 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9983 hardcode_libdir_separator
=:
9985 link_all_deplibs
=yes
9989 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9990 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9992 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9994 hardcode_libdir_flag_spec
='-R$libdir'
9996 hardcode_shlibpath_var
=no
10000 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_direct
=yes
10002 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10003 hardcode_libdir_separator
=:
10004 hardcode_shlibpath_var
=no
10011 if test -f /usr
/libexec
/ld.so
; then
10012 hardcode_direct
=yes
10013 hardcode_shlibpath_var
=no
10014 hardcode_direct_absolute
=yes
10015 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10016 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10018 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10019 export_dynamic_flag_spec
='${wl}-E'
10022 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10023 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_libdir_flag_spec
='-R$libdir'
10027 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10028 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10038 hardcode_libdir_flag_spec
='-L$libdir'
10039 hardcode_minus_L
=yes
10040 allow_undefined_flag
=unsupported
10041 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'
10042 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10046 if test "$GCC" = yes; then
10047 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10048 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'
10050 allow_undefined_flag
=' -expect_unresolved \*'
10051 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'
10053 archive_cmds_need_lc
='no'
10054 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10055 hardcode_libdir_separator
=:
10058 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10059 if test "$GCC" = yes; then
10060 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10061 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'
10062 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10064 allow_undefined_flag
=' -expect_unresolved \*'
10065 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'
10066 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~
10067 $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'
10069 # Both c and cxx compiler support -rpath directly
10070 hardcode_libdir_flag_spec
='-rpath $libdir'
10072 archive_cmds_need_lc
='no'
10073 hardcode_libdir_separator
=:
10077 no_undefined_flag
=' -z defs'
10078 if test "$GCC" = yes; then
10080 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10084 case `$CC -V 2>&1` in
10087 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10093 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10099 hardcode_libdir_flag_spec
='-R$libdir'
10100 hardcode_shlibpath_var
=no
10102 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10104 # The compiler driver will combine and reorder linker options,
10105 # but understands `-z linker_flag'. GCC discards it without `$wl',
10106 # but is careful enough not to reorder.
10107 # Supported since Solaris 2.6 (maybe 2.5.1?)
10108 if test "$GCC" = yes; then
10109 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10111 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10115 link_all_deplibs
=yes
10119 if test "x$host_vendor" = xsequent
; then
10120 # Use $CC to link under sequent, because it throws in some extra .o
10121 # files that make .init and .fini sections work.
10122 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10126 hardcode_libdir_flag_spec
='-L$libdir'
10127 hardcode_direct
=yes
10128 hardcode_minus_L
=yes
10129 hardcode_shlibpath_var
=no
10133 case $host_vendor in
10135 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136 hardcode_direct
=yes # is this really true???
10139 ## LD is ld it makes a PLAMLIB
10140 ## CC just makes a GrossModule.
10141 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10142 reload_cmds
='$CC -r -o $output$reload_objs'
10146 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10147 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10150 runpath_var
='LD_RUN_PATH'
10151 hardcode_shlibpath_var
=no
10155 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var
=no
10157 export_dynamic_flag_spec
='-Bexport'
10161 if test -d /usr
/nec
; then
10162 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_shlibpath_var
=no
10164 runpath_var
=LD_RUN_PATH
10165 hardcode_runpath_var
=yes
10170 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10171 no_undefined_flag
='${wl}-z,text'
10172 archive_cmds_need_lc
=no
10173 hardcode_shlibpath_var
=no
10174 runpath_var
='LD_RUN_PATH'
10176 if test "$GCC" = yes; then
10177 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 sysv5
* | sco3.2v5
* | sco5v6
*)
10186 # Note: We can NOT use -z defs as we might desire, because we do not
10187 # link with -lc, and that would cause any symbols used from libc to
10188 # always be unresolved, which means just about no library would
10189 # ever link correctly. If we're not using GNU ld we use -z text
10190 # though, which does catch some bad symbols but isn't as heavy-handed
10192 no_undefined_flag
='${wl}-z,text'
10193 allow_undefined_flag
='${wl}-z,nodefs'
10194 archive_cmds_need_lc
=no
10195 hardcode_shlibpath_var
=no
10196 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10197 hardcode_libdir_separator
=':'
10198 link_all_deplibs
=yes
10199 export_dynamic_flag_spec
='${wl}-Bexport'
10200 runpath_var
='LD_RUN_PATH'
10202 if test "$GCC" = yes; then
10203 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10213 hardcode_libdir_flag_spec
='-L$libdir'
10214 hardcode_shlibpath_var
=no
10222 if test x
$host_vendor = xsni
; then
10224 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10225 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10232 $as_echo "$ld_shlibs" >&6; }
10233 test "$ld_shlibs" = no
&& can_build_shared
=no
10235 with_gnu_ld
=$with_gnu_ld
10252 # Do we need to explicitly link libc?
10254 case "x$archive_cmds_need_lc" in
10256 # Assume -lc should be added
10257 archive_cmds_need_lc
=yes
10259 if test "$enable_shared" = yes && test "$GCC" = yes; then
10260 case $archive_cmds in
10262 # FIXME: we may have to deal with multi-command sequences.
10265 # Test whether the compiler implicitly links with -lc since on some
10266 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10267 # to ld, don't add -lc before -lgcc.
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10269 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10270 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10271 $as_echo_n "(cached) " >&6
10274 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10277 (eval $ac_compile) 2>&5
10279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10280 test $ac_status = 0; } 2>conftest.err
; then
10283 libobjs
=conftest.
$ac_objext
10285 wl
=$lt_prog_compiler_wl
10286 pic_flag
=$lt_prog_compiler_pic
10292 lt_save_allow_undefined_flag
=$allow_undefined_flag
10293 allow_undefined_flag
=
10294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10295 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10298 test $ac_status = 0; }
10300 lt_cv_archive_cmds_need_lc
=no
10302 lt_cv_archive_cmds_need_lc
=yes
10304 allow_undefined_flag
=$lt_save_allow_undefined_flag
10306 cat conftest.err
1>&5
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10312 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10313 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10477 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10479 if test "$GCC" = yes; then
10481 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10482 *) lt_awk_arg
="/^libraries:/" ;;
10485 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10486 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10488 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10489 case $lt_search_path_spec in
10491 # if the path contains ";" then we assume it to be the separator
10492 # otherwise default to the standard path separator (i.e. ":") - it is
10493 # assumed that no part of a normal pathname contains ";" but that should
10494 # okay in the real world where ";" in dirpaths is itself problematic.
10495 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10498 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10501 # Ok, now we have the path, separated by spaces, we can step through it
10502 # and add multilib dir if necessary.
10503 lt_tmp_lt_search_path_spec
=
10504 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10505 for lt_sys_path
in $lt_search_path_spec; do
10506 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10507 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10509 test -d "$lt_sys_path" && \
10510 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10513 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10514 BEGIN {RS=" "; FS="/|\n";} {
10517 for (lt_i = NF; lt_i > 0; lt_i--) {
10518 if ($lt_i != "" && $lt_i != ".") {
10519 if ($lt_i == "..") {
10522 if (lt_count == 0) {
10523 lt_foo="/" $lt_i lt_foo;
10530 if (lt_foo != "") { lt_freq[lt_foo]++; }
10531 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10533 # AWK program above erroneously prepends '/' to C:/dos/paths
10536 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10537 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10539 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10541 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10543 library_names_spec
=
10544 libname_spec
='lib$name'
10548 postuninstall_cmds
=
10552 shlibpath_overrides_runpath
=unknown
10554 dynamic_linker
="$host_os ld.so"
10555 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10556 need_lib_prefix
=unknown
10557 hardcode_into_libs
=no
10559 # when you set need_version to no, make sure it does not cause -set_version
10560 # flags to be left without arguments
10561 need_version
=unknown
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10567 shlibpath_var
=LIBPATH
10569 # AIX 3 has no versioning support, so we append a major version to the name.
10570 soname_spec
='${libname}${release}${shared_ext}$major'
10577 hardcode_into_libs
=yes
10578 if test "$host_cpu" = ia64
; then
10579 # AIX 5 supports IA64
10580 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10581 shlibpath_var
=LD_LIBRARY_PATH
10583 # With GCC up to 2.95.x, collect2 would create an import file
10584 # for dependence libraries. The import file would start with
10585 # the line `#! .'. This would cause the generated library to
10586 # depend on `.', always an invalid library. This was fixed in
10587 # development snapshots of GCC prior to 3.0.
10589 aix4 | aix4.
[01] | aix4.
[01].
*)
10590 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10592 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10595 can_build_shared
=no
10599 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10600 # soname into executable. Probably we can add versioning support to
10601 # collect2, so additional links can be useful in future.
10602 if test "$aix_use_runtimelinking" = yes; then
10603 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10604 # instead of lib<name>.a to let people know that these are not
10605 # typical AIX shared libraries.
10606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 # We preserve .a as extension for shared libraries through AIX4.2
10609 # and later when we are not doing run time linking.
10610 library_names_spec
='${libname}${release}.a $libname.a'
10611 soname_spec
='${libname}${release}${shared_ext}$major'
10613 shlibpath_var
=LIBPATH
10620 # Since July 2007 AmigaOS4 officially supports .so libraries.
10621 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 library_names_spec
='$libname.ixlibrary $libname.a'
10626 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10627 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'
10633 library_names_spec
='${libname}${shared_ext}'
10634 dynamic_linker
="$host_os ld.so"
10635 shlibpath_var
=LIBRARY_PATH
10641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10642 soname_spec
='${libname}${release}${shared_ext}$major'
10643 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10644 shlibpath_var
=LD_LIBRARY_PATH
10645 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10646 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10647 # the default ld.so.conf also contains /usr/contrib/lib and
10648 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10649 # libtool to hard-code these into programs
10652 cygwin
* | mingw
* | pw32
* | cegcc
*)
10653 version_type
=windows
10658 case $GCC,$host_os in
10659 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10660 library_names_spec
='$libname.dll.a'
10661 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10662 postinstall_cmds
='base_file=`basename \${file}`~
10663 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10664 dldir=$destdir/`dirname \$dlpath`~
10665 test -d \$dldir || mkdir -p \$dldir~
10666 $install_prog $dir/$dlname \$dldir/$dlname~
10667 chmod a+x \$dldir/$dlname~
10668 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10669 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10671 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10672 dlpath=$dir/\$dldll~
10674 shlibpath_overrides_runpath
=yes
10678 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10679 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10681 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10684 # MinGW DLLs use traditional 'lib' prefix
10685 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688 # pw32 DLLs use 'pw' prefix rather than 'lib'
10689 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10695 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10698 dynamic_linker
='Win32 ld.exe'
10699 # FIXME: first we should search . and the directory the executable is in
10703 darwin
* | rhapsody
*)
10704 dynamic_linker
="$host_os dyld"
10705 version_type
=darwin
10708 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10709 soname_spec
='${libname}${release}${major}$shared_ext'
10710 shlibpath_overrides_runpath
=yes
10711 shlibpath_var
=DYLD_LIBRARY_PATH
10712 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10714 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10715 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10723 soname_spec
='${libname}${release}${shared_ext}$major'
10724 shlibpath_var
=LD_LIBRARY_PATH
10731 freebsd
* | dragonfly
*)
10732 # DragonFly does not have aout. When/if they implement a new
10733 # versioning mechanism, adjust this.
10734 if test -x /usr
/bin
/objformat
; then
10735 objformat
=`/usr/bin/objformat`
10738 freebsd
[123]*) objformat
=aout
;;
10739 *) objformat
=elf
;;
10742 version_type
=freebsd-
$objformat
10743 case $version_type in
10745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10750 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10754 shlibpath_var
=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath
=yes
10759 freebsd3.
[01]* | freebsdelf3.
[01]*)
10760 shlibpath_overrides_runpath
=yes
10761 hardcode_into_libs
=yes
10763 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10764 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10765 shlibpath_overrides_runpath
=no
10766 hardcode_into_libs
=yes
10768 *) # from 4.6 on, and DragonFly
10769 shlibpath_overrides_runpath
=yes
10770 hardcode_into_libs
=yes
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec
='${libname}${release}${shared_ext}$major'
10781 shlibpath_var
=LD_LIBRARY_PATH
10782 hardcode_into_libs
=yes
10789 dynamic_linker
="$host_os runtime_loader"
10790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10791 soname_spec
='${libname}${release}${shared_ext}$major'
10792 shlibpath_var
=LIBRARY_PATH
10793 shlibpath_overrides_runpath
=yes
10794 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10795 hardcode_into_libs
=yes
10798 hpux9
* | hpux10
* | hpux11
*)
10799 # Give a soname corresponding to the major version so that dld.sl refuses to
10800 # link against other versions.
10807 hardcode_into_libs
=yes
10808 dynamic_linker
="$host_os dld.so"
10809 shlibpath_var
=LD_LIBRARY_PATH
10810 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812 soname_spec
='${libname}${release}${shared_ext}$major'
10813 if test "X$HPUX_IA64_MODE" = X32
; then
10814 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10816 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10818 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10822 hardcode_into_libs
=yes
10823 dynamic_linker
="$host_os dld.sl"
10824 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10825 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec
='${libname}${release}${shared_ext}$major'
10828 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10829 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10833 dynamic_linker
="$host_os dld.sl"
10834 shlibpath_var
=SHLIB_PATH
10835 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 soname_spec
='${libname}${release}${shared_ext}$major'
10840 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10841 postinstall_cmds
='chmod 555 $lib'
10842 # or fails outright, so override atomically:
10843 install_override_mode
=555
10850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10851 soname_spec
='${libname}${release}${shared_ext}$major'
10852 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10853 shlibpath_var
=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath
=no
10855 hardcode_into_libs
=yes
10858 irix5
* | irix6
* | nonstopux
*)
10860 nonstopux
*) version_type
=nonstopux
;;
10862 if test "$lt_cv_prog_gnu_ld" = yes; then
10870 soname_spec
='${libname}${release}${shared_ext}$major'
10871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10873 irix5
* | nonstopux
*)
10874 libsuff
= shlibsuff
=
10877 case $LD in # libtool.m4 will add one of these switches to LD
10878 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10879 libsuff
= shlibsuff
= libmagic
=32-bit;;
10880 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10881 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10882 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10883 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10884 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10888 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10889 shlibpath_overrides_runpath
=no
10890 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10891 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10892 hardcode_into_libs
=yes
10895 # No shared lib support for Linux oldld, aout, or coff.
10896 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10900 # This must be Linux ELF.
10901 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec
='${libname}${release}${shared_ext}$major'
10907 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10908 shlibpath_var
=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath
=no
10911 # Some binutils ld are patched to set DT_RUNPATH
10912 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10913 $as_echo_n "(cached) " >&6
10915 lt_cv_shlibpath_overrides_runpath
=no
10916 save_LDFLAGS
=$LDFLAGS
10917 save_libdir
=$libdir
10918 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10919 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10931 if ac_fn_c_try_link
"$LINENO"; then :
10932 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10933 lt_cv_shlibpath_overrides_runpath
=yes
10936 rm -f core conftest.err conftest.
$ac_objext \
10937 conftest
$ac_exeext conftest.
$ac_ext
10938 LDFLAGS
=$save_LDFLAGS
10939 libdir
=$save_libdir
10943 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10945 # This implies no fast_install, which is unacceptable.
10946 # Some rework will be needed to allow for fast_install
10947 # before this can be enabled.
10948 hardcode_into_libs
=yes
10950 # Append ld.so.conf contents to the search path
10951 if test -f /etc
/ld.so.conf
; then
10952 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' ' '`
10953 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10956 # We used to test for /lib/ld.so.1 and disable shared libraries on
10957 # powerpc, because MkLinux only supported shared libraries with the
10958 # GNU dynamic linker. Since this was broken with cross compilers,
10959 # most powerpc-linux boxes support dynamic linking these days and
10960 # people can always --disable-shared, the test was removed, and we
10961 # assume the GNU/Linux dynamic linker is in use.
10962 dynamic_linker
='GNU/Linux ld.so'
10969 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10971 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10972 dynamic_linker
='NetBSD (a.out) ld.so'
10974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10975 soname_spec
='${libname}${release}${shared_ext}$major'
10976 dynamic_linker
='NetBSD ld.elf_so'
10978 shlibpath_var
=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath
=yes
10980 hardcode_into_libs
=yes
10985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 shlibpath_var
=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath
=yes
10994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 soname_spec
='${libname}${release}${shared_ext}$major'
10996 shlibpath_var
=LD_LIBRARY_PATH
10997 shlibpath_overrides_runpath
=no
10998 hardcode_into_libs
=yes
10999 dynamic_linker
='ldqnx.so'
11004 sys_lib_dlsearch_path_spec
="/usr/lib"
11006 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11008 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11009 *) need_version
=no
;;
11011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11013 shlibpath_var
=LD_LIBRARY_PATH
11014 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11016 openbsd2.
[89] | openbsd2.
[89].
*)
11017 shlibpath_overrides_runpath
=no
11020 shlibpath_overrides_runpath
=yes
11024 shlibpath_overrides_runpath
=yes
11029 libname_spec
='$name'
11032 library_names_spec
='$libname${shared_ext} $libname.a'
11033 dynamic_linker
='OS/2 ld.exe'
11034 shlibpath_var
=LIBPATH
11037 osf3
* | osf4
* | osf5
*)
11041 soname_spec
='${libname}${release}${shared_ext}$major'
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11043 shlibpath_var
=LD_LIBRARY_PATH
11044 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11045 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057 soname_spec
='${libname}${release}${shared_ext}$major'
11058 shlibpath_var
=LD_LIBRARY_PATH
11059 shlibpath_overrides_runpath
=yes
11060 hardcode_into_libs
=yes
11061 # ldd complains unless libraries are executable
11062 postinstall_cmds
='chmod +x $lib'
11067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11068 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11069 shlibpath_var
=LD_LIBRARY_PATH
11070 shlibpath_overrides_runpath
=yes
11071 if test "$with_gnu_ld" = yes; then
11079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 soname_spec
='${libname}${release}${shared_ext}$major'
11081 shlibpath_var
=LD_LIBRARY_PATH
11082 case $host_vendor in
11084 shlibpath_overrides_runpath
=no
11086 runpath_var
=LD_RUN_PATH
11094 shlibpath_overrides_runpath
=no
11095 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11101 if test -d /usr
/nec
;then
11103 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11104 soname_spec
='$libname${shared_ext}.$major'
11105 shlibpath_var
=LD_LIBRARY_PATH
11109 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11110 version_type
=freebsd-elf
11113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11114 soname_spec
='${libname}${release}${shared_ext}$major'
11115 shlibpath_var
=LD_LIBRARY_PATH
11116 shlibpath_overrides_runpath
=yes
11117 hardcode_into_libs
=yes
11118 if test "$with_gnu_ld" = yes; then
11119 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11121 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11124 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11128 sys_lib_dlsearch_path_spec
='/usr/lib'
11132 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 shlibpath_var
=LD_LIBRARY_PATH
11138 shlibpath_overrides_runpath
=no
11139 hardcode_into_libs
=yes
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 soname_spec
='${libname}${release}${shared_ext}$major'
11146 shlibpath_var
=LD_LIBRARY_PATH
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11154 $as_echo "$dynamic_linker" >&6; }
11155 test "$dynamic_linker" = no
&& can_build_shared
=no
11157 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11158 if test "$GCC" = yes; then
11159 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11162 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11163 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11165 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11166 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11261 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11263 if test -n "$hardcode_libdir_flag_spec" ||
11264 test -n "$runpath_var" ||
11265 test "X$hardcode_automatic" = "Xyes" ; then
11267 # We can hardcode non-existent directories.
11268 if test "$hardcode_direct" != no
&&
11269 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11270 # have to relink, otherwise we might link with an installed library
11271 # when we should be linking with a yet-to-be-installed one
11272 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11273 test "$hardcode_minus_L" != no
; then
11274 # Linking always hardcodes the temporary library directory.
11275 hardcode_action
=relink
11277 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11278 hardcode_action
=immediate
11281 # We cannot hardcode anything, or else we can only hardcode existing
11283 hardcode_action
=unsupported
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11286 $as_echo "$hardcode_action" >&6; }
11288 if test "$hardcode_action" = relink ||
11289 test "$inherit_rpath" = yes; then
11290 # Fast installation is not supported
11291 enable_fast_install
=no
11292 elif test "$shlibpath_overrides_runpath" = yes ||
11293 test "$enable_shared" = no
; then
11294 # Fast installation is not necessary
11295 enable_fast_install
=needless
11303 if test "x$enable_dlopen" != xyes
; then
11304 enable_dlopen
=unknown
11305 enable_dlopen_self
=unknown
11306 enable_dlopen_self_static
=unknown
11313 lt_cv_dlopen
="load_add_on"
11315 lt_cv_dlopen_self
=yes
11318 mingw
* | pw32
* | cegcc
*)
11319 lt_cv_dlopen
="LoadLibrary"
11324 lt_cv_dlopen
="dlopen"
11329 # if libdl is installed we need to link against it
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11331 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11332 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11333 $as_echo_n "(cached) " >&6
11335 ac_check_lib_save_LIBS
=$LIBS
11337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11355 if ac_fn_c_try_link
"$LINENO"; then :
11356 ac_cv_lib_dl_dlopen
=yes
11358 ac_cv_lib_dl_dlopen
=no
11360 rm -f core conftest.err conftest.
$ac_objext \
11361 conftest
$ac_exeext conftest.
$ac_ext
11362 LIBS
=$ac_check_lib_save_LIBS
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11366 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11367 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11370 lt_cv_dlopen
="dyld"
11372 lt_cv_dlopen_self
=yes
11379 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11380 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11381 lt_cv_dlopen
="shl_load"
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11384 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11385 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11386 $as_echo_n "(cached) " >&6
11388 ac_check_lib_save_LIBS
=$LIBS
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11403 return shl_load ();
11408 if ac_fn_c_try_link
"$LINENO"; then :
11409 ac_cv_lib_dld_shl_load
=yes
11411 ac_cv_lib_dld_shl_load
=no
11413 rm -f core conftest.err conftest.
$ac_objext \
11414 conftest
$ac_exeext conftest.
$ac_ext
11415 LIBS
=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11418 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11419 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11420 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11422 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11423 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11424 lt_cv_dlopen
="dlopen"
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11431 ac_check_lib_save_LIBS
=$LIBS
11433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11451 if ac_fn_c_try_link
"$LINENO"; then :
11452 ac_cv_lib_dl_dlopen
=yes
11454 ac_cv_lib_dl_dlopen
=no
11456 rm -f core conftest.err conftest.
$ac_objext \
11457 conftest
$ac_exeext conftest.
$ac_ext
11458 LIBS
=$ac_check_lib_save_LIBS
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11461 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11462 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11463 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11466 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11467 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11468 $as_echo_n "(cached) " >&6
11470 ac_check_lib_save_LIBS
=$LIBS
11471 LIBS
="-lsvld $LIBS"
11472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11475 /* Override any GCC internal prototype to avoid an error.
11476 Use char because int might match the return type of a GCC
11477 builtin and then its argument prototype would still apply. */
11490 if ac_fn_c_try_link
"$LINENO"; then :
11491 ac_cv_lib_svld_dlopen
=yes
11493 ac_cv_lib_svld_dlopen
=no
11495 rm -f core conftest.err conftest.
$ac_objext \
11496 conftest
$ac_exeext conftest.
$ac_ext
11497 LIBS
=$ac_check_lib_save_LIBS
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11500 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11501 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11502 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11505 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11506 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11507 $as_echo_n "(cached) " >&6
11509 ac_check_lib_save_LIBS
=$LIBS
11511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11524 return dld_link ();
11529 if ac_fn_c_try_link
"$LINENO"; then :
11530 ac_cv_lib_dld_dld_link
=yes
11532 ac_cv_lib_dld_dld_link
=no
11534 rm -f core conftest.err conftest.
$ac_objext \
11535 conftest
$ac_exeext conftest.
$ac_ext
11536 LIBS
=$ac_check_lib_save_LIBS
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11539 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11540 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11541 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11562 if test "x$lt_cv_dlopen" != xno
; then
11568 case $lt_cv_dlopen in
11570 save_CPPFLAGS
="$CPPFLAGS"
11571 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11573 save_LDFLAGS
="$LDFLAGS"
11574 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11577 LIBS
="$lt_cv_dlopen_libs $LIBS"
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11580 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11581 if test "${lt_cv_dlopen_self+set}" = set; then :
11582 $as_echo_n "(cached) " >&6
11584 if test "$cross_compiling" = yes; then :
11585 lt_cv_dlopen_self
=cross
11587 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11588 lt_status
=$lt_dlunknown
11589 cat > conftest.
$ac_ext <<_LT_EOF
11590 #line 11590 "configure"
11591 #include "confdefs.h"
11600 # define LT_DLGLOBAL RTLD_GLOBAL
11603 # define LT_DLGLOBAL DL_GLOBAL
11605 # define LT_DLGLOBAL 0
11609 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11610 find out it does not work in some platform. */
11611 #ifndef LT_DLLAZY_OR_NOW
11613 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11616 # define LT_DLLAZY_OR_NOW DL_LAZY
11619 # define LT_DLLAZY_OR_NOW RTLD_NOW
11622 # define LT_DLLAZY_OR_NOW DL_NOW
11624 # define LT_DLLAZY_OR_NOW 0
11631 /* When -fvisbility=hidden is used, assume the code has been annotated
11632 correspondingly for the symbols needed. */
11633 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11634 void fnord () __attribute__((visibility("default")));
11637 void fnord () { int i=42; }
11640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11641 int status = $lt_dlunknown;
11645 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11648 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11649 else puts (dlerror ());
11651 /* dlclose (self); */
11659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11660 (eval $ac_link) 2>&5
11662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11663 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11664 (.
/conftest
; exit; ) >&5 2>/dev
/null
11666 case x
$lt_status in
11667 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11668 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11669 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11672 # compilation failed
11673 lt_cv_dlopen_self
=no
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11681 $as_echo "$lt_cv_dlopen_self" >&6; }
11683 if test "x$lt_cv_dlopen_self" = xyes
; then
11684 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11686 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11687 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11688 $as_echo_n "(cached) " >&6
11690 if test "$cross_compiling" = yes; then :
11691 lt_cv_dlopen_self_static
=cross
11693 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11694 lt_status
=$lt_dlunknown
11695 cat > conftest.
$ac_ext <<_LT_EOF
11696 #line 11696 "configure"
11697 #include "confdefs.h"
11706 # define LT_DLGLOBAL RTLD_GLOBAL
11709 # define LT_DLGLOBAL DL_GLOBAL
11711 # define LT_DLGLOBAL 0
11715 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11716 find out it does not work in some platform. */
11717 #ifndef LT_DLLAZY_OR_NOW
11719 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11722 # define LT_DLLAZY_OR_NOW DL_LAZY
11725 # define LT_DLLAZY_OR_NOW RTLD_NOW
11728 # define LT_DLLAZY_OR_NOW DL_NOW
11730 # define LT_DLLAZY_OR_NOW 0
11737 /* When -fvisbility=hidden is used, assume the code has been annotated
11738 correspondingly for the symbols needed. */
11739 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11740 void fnord () __attribute__((visibility("default")));
11743 void fnord () { int i=42; }
11746 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11747 int status = $lt_dlunknown;
11751 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11754 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11755 else puts (dlerror ());
11757 /* dlclose (self); */
11765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11766 (eval $ac_link) 2>&5
11768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11769 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11770 (.
/conftest
; exit; ) >&5 2>/dev
/null
11772 case x
$lt_status in
11773 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11774 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11775 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11778 # compilation failed
11779 lt_cv_dlopen_self_static
=no
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11787 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11790 CPPFLAGS
="$save_CPPFLAGS"
11791 LDFLAGS
="$save_LDFLAGS"
11796 case $lt_cv_dlopen_self in
11797 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11798 *) enable_dlopen_self
=unknown
;;
11801 case $lt_cv_dlopen_self_static in
11802 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11803 *) enable_dlopen_self_static
=unknown
;;
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11826 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11827 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11828 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11829 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11831 $as_echo "yes" >&6; }
11833 # FIXME - insert some real tests, host_os isn't really good enough
11836 if test -n "$STRIP" ; then
11837 striplib
="$STRIP -x"
11838 old_striplib
="$STRIP -S"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11840 $as_echo "yes" >&6; }
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11843 $as_echo "no" >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11864 # Report which library types will actually be built
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11866 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11868 $as_echo "$can_build_shared" >&6; }
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11871 $as_echo_n "checking whether to build shared libraries... " >&6; }
11872 test "$can_build_shared" = "no" && enable_shared
=no
11874 # On AIX, shared libraries and static libraries use the same namespace, and
11875 # are all built from PIC.
11878 test "$enable_shared" = yes && enable_static
=no
11879 if test -n "$RANLIB"; then
11880 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11881 postinstall_cmds
='$RANLIB $lib'
11886 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11887 test "$enable_shared" = yes && enable_static
=no
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11892 $as_echo "$enable_shared" >&6; }
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11895 $as_echo_n "checking whether to build static libraries... " >&6; }
11896 # Make sure either enable_shared or enable_static is yes.
11897 test "$enable_shared" = yes || enable_static
=yes
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11899 $as_echo "$enable_static" >&6; }
11906 ac_cpp
='$CPP $CPPFLAGS'
11907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11925 ac_config_commands
="$ac_config_commands libtool"
11930 # Only expand once:
11934 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga fi id bg"
11935 # If we haven't got the data from the intl directory,
11936 # assume NLS is disabled.
11945 if test -f ..
/intl
/config.intl
; then
11946 . ..
/intl
/config.intl
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11949 $as_echo_n "checking whether NLS is requested... " >&6; }
11950 if test x
"$USE_NLS" != xyes
; then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11952 $as_echo "no" >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11955 $as_echo "yes" >&6; }
11957 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11961 $as_echo_n "checking for catalogs to be installed... " >&6; }
11962 # Look for .po and .gmo files in the source directory.
11965 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11966 # If there aren't any .gmo files the shell will give us the
11967 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11969 case "$cat" in *\
**)
11972 # The quadruple backslash is collapsed to a double backslash
11973 # by the backticks, then collapsed again by the double quotes,
11974 # leaving us with one backslash in the sed expression (right
11975 # before the dot that mustn't act as a wildcard).
11976 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11977 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11978 # The user is allowed to set LINGUAS to a list of languages to
11979 # install catalogs for. If it's empty that means "all of them."
11980 if test "x$LINGUAS" = x
; then
11981 CATALOGS
="$CATALOGS $cat"
11982 XLINGUAS
="$XLINGUAS $lang"
11984 case "$LINGUAS" in *$lang*)
11985 CATALOGS
="$CATALOGS $cat"
11986 XLINGUAS
="$XLINGUAS $lang"
11991 LINGUAS
="$XLINGUAS"
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11993 $as_echo "$LINGUAS" >&6; }
12007 if test -n "$ac_aux_dir"; then
12008 case "$ac_aux_dir" in
12009 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
12010 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12013 if test -z "$MKINSTALLDIRS"; then
12014 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12020 $as_echo_n "checking whether NLS is requested... " >&6; }
12021 # Check whether --enable-nls was given.
12022 if test "${enable_nls+set}" = set; then :
12023 enableval
=$enable_nls; USE_NLS
=$enableval
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12029 $as_echo "$USE_NLS" >&6; }
12036 # Prepare PATH_SEPARATOR.
12037 # The user is always right.
12038 if test "${PATH_SEPARATOR+set}" != set; then
12039 echo "#! /bin/sh" >conf$$.sh
12040 echo "exit 0" >>conf$$.sh
12042 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12050 # Find out how to test for executable files. Don't use a zero-byte file,
12051 # as systems may use methods other than mode bits to determine executability.
12052 cat >conf$$.
file <<_ASEOF
12056 chmod +x conf$$.
file
12057 if test -x conf$$.
file >/dev
/null
2>&1; then
12058 ac_executable_p
="test -x"
12060 ac_executable_p
="test -f"
12064 # Extract the first word of "msgfmt", so it can be a program name with args.
12065 set dummy msgfmt
; ac_word
=$2
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12067 $as_echo_n "checking for $ac_word... " >&6; }
12068 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12069 $as_echo_n "(cached) " >&6
12073 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12076 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12077 for ac_dir
in $PATH; do
12079 test -z "$ac_dir" && ac_dir
=.
12080 for ac_exec_ext
in '' $ac_executable_extensions; do
12081 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12082 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
12083 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12084 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
12091 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12095 MSGFMT
="$ac_cv_path_MSGFMT"
12096 if test "$MSGFMT" != ":"; then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12098 $as_echo "$MSGFMT" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12104 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12105 set dummy gmsgfmt
; ac_word
=$2
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12107 $as_echo_n "checking for $ac_word... " >&6; }
12108 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12109 $as_echo_n "(cached) " >&6
12113 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12117 for as_dir
in $PATH
12120 test -z "$as_dir" && as_dir
=.
12121 for ac_exec_ext
in '' $ac_executable_extensions; do
12122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12131 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12135 GMSGFMT
=$ac_cv_path_GMSGFMT
12136 if test -n "$GMSGFMT"; then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12138 $as_echo "$GMSGFMT" >&6; }
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12141 $as_echo "no" >&6; }
12147 # Prepare PATH_SEPARATOR.
12148 # The user is always right.
12149 if test "${PATH_SEPARATOR+set}" != set; then
12150 echo "#! /bin/sh" >conf$$.sh
12151 echo "exit 0" >>conf$$.sh
12153 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12161 # Find out how to test for executable files. Don't use a zero-byte file,
12162 # as systems may use methods other than mode bits to determine executability.
12163 cat >conf$$.
file <<_ASEOF
12167 chmod +x conf$$.
file
12168 if test -x conf$$.
file >/dev
/null
2>&1; then
12169 ac_executable_p
="test -x"
12171 ac_executable_p
="test -f"
12175 # Extract the first word of "xgettext", so it can be a program name with args.
12176 set dummy xgettext
; ac_word
=$2
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12178 $as_echo_n "checking for $ac_word... " >&6; }
12179 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12180 $as_echo_n "(cached) " >&6
12182 case "$XGETTEXT" in
12184 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12187 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12188 for ac_dir
in $PATH; do
12190 test -z "$ac_dir" && ac_dir
=.
12191 for ac_exec_ext
in '' $ac_executable_extensions; do
12192 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12193 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12194 (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
12195 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12202 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12206 XGETTEXT
="$ac_cv_path_XGETTEXT"
12207 if test "$XGETTEXT" != ":"; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12209 $as_echo "$XGETTEXT" >&6; }
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12212 $as_echo "no" >&6; }
12218 # Prepare PATH_SEPARATOR.
12219 # The user is always right.
12220 if test "${PATH_SEPARATOR+set}" != set; then
12221 echo "#! /bin/sh" >conf$$.sh
12222 echo "exit 0" >>conf$$.sh
12224 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12232 # Find out how to test for executable files. Don't use a zero-byte file,
12233 # as systems may use methods other than mode bits to determine executability.
12234 cat >conf$$.
file <<_ASEOF
12238 chmod +x conf$$.
file
12239 if test -x conf$$.
file >/dev
/null
2>&1; then
12240 ac_executable_p
="test -x"
12242 ac_executable_p
="test -f"
12246 # Extract the first word of "msgmerge", so it can be a program name with args.
12247 set dummy msgmerge
; ac_word
=$2
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12249 $as_echo_n "checking for $ac_word... " >&6; }
12250 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12251 $as_echo_n "(cached) " >&6
12253 case "$MSGMERGE" in
12255 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12258 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12259 for ac_dir
in $PATH; do
12261 test -z "$ac_dir" && ac_dir
=.
12262 for ac_exec_ext
in '' $ac_executable_extensions; do
12263 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12264 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12265 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12272 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12276 MSGMERGE
="$ac_cv_path_MSGMERGE"
12277 if test "$MSGMERGE" != ":"; then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12279 $as_echo "$MSGMERGE" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12286 if test "$GMSGFMT" != ":"; then
12287 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12288 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12291 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12293 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12298 if test "$XGETTEXT" != ":"; then
12299 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12300 (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
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12304 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12310 ac_config_commands
="$ac_config_commands default-1"
12316 for ac_prog
in 'bison -y' byacc
12318 # Extract the first word of "$ac_prog", so it can be a program name with args.
12319 set dummy
$ac_prog; ac_word
=$2
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12321 $as_echo_n "checking for $ac_word... " >&6; }
12322 if test "${ac_cv_prog_YACC+set}" = set; then :
12323 $as_echo_n "(cached) " >&6
12325 if test -n "$YACC"; then
12326 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12329 for as_dir
in $PATH
12332 test -z "$as_dir" && as_dir
=.
12333 for ac_exec_ext
in '' $ac_executable_extensions; do
12334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12335 ac_cv_prog_YACC
="$ac_prog"
12336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12345 YACC
=$ac_cv_prog_YACC
12346 if test -n "$YACC"; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12348 $as_echo "$YACC" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12351 $as_echo "no" >&6; }
12355 test -n "$YACC" && break
12357 test -n "$YACC" || YACC
="yacc"
12359 for ac_prog
in flex
lex
12361 # Extract the first word of "$ac_prog", so it can be a program name with args.
12362 set dummy
$ac_prog; ac_word
=$2
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12364 $as_echo_n "checking for $ac_word... " >&6; }
12365 if test "${ac_cv_prog_LEX+set}" = set; then :
12366 $as_echo_n "(cached) " >&6
12368 if test -n "$LEX"; then
12369 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12372 for as_dir
in $PATH
12375 test -z "$as_dir" && as_dir
=.
12376 for ac_exec_ext
in '' $ac_executable_extensions; do
12377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12378 ac_cv_prog_LEX
="$ac_prog"
12379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 LEX
=$ac_cv_prog_LEX
12389 if test -n "$LEX"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12391 $as_echo "$LEX" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12398 test -n "$LEX" && break
12400 test -n "$LEX" || LEX
=":"
12402 if test "x$LEX" != "x:"; then
12403 cat >conftest.l
<<_ACEOF
12409 e { yyless (input () != 0); }
12410 f { unput (yytext[0]); }
12411 . { BEGIN INITIAL; }
12413 #ifdef YYTEXT_POINTER
12414 extern char *yytext;
12419 return ! yylex () + ! yywrap ();
12422 { { ac_try
="$LEX conftest.l"
12423 case "(($ac_try" in
12424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12425 *) ac_try_echo=$ac_try;;
12427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12428 $as_echo "$ac_try_echo"; } >&5
12429 (eval "$LEX conftest.l") 2>&5
12431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12432 test $ac_status = 0; }
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12434 $as_echo_n "checking lex output file root... " >&6; }
12435 if test "${ac_cv_prog_lex_root+set}" = set; then :
12436 $as_echo_n "(cached) " >&6
12439 if test -f lex.yy.c; then
12440 ac_cv_prog_lex_root=lex.yy
12441 elif test -f lexyy.c; then
12442 ac_cv_prog_lex_root=lexyy
12444 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12448 $as_echo "$ac_cv_prog_lex_root" >&6; }
12449 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12451 if test -z "${LEXLIB+set}"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12453 $as_echo_n "checking lex library... " >&6; }
12454 if test "${ac_cv_lib_lex+set}" = set; then :
12455 $as_echo_n "(cached) " >&6
12459 ac_cv_lib_lex='none needed'
12460 for ac_lib in '' -lfl -ll; do
12461 LIBS="$ac_lib $ac_save_LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12464 `cat $LEX_OUTPUT_ROOT.c
`
12466 if ac_fn_c_try_link "$LINENO"; then :
12467 ac_cv_lib_lex=$ac_lib
12469 rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471 test "$ac_cv_lib_lex" != 'none needed' && break
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12477 $as_echo "$ac_cv_lib_lex" >&6; }
12478 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12483 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12484 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
12485 $as_echo_n "(cached) " >&6
12487 # POSIX says lex can declare yytext either as a pointer or an array; the
12488 # default is implementation-dependent. Figure out which it is, since
12489 # not all implementations provide the %pointer and %array declarations.
12490 ac_cv_prog_lex_yytext_pointer=no
12492 LIBS="$LEXLIB $ac_save_LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12495 #define YYTEXT_POINTER 1
12496 `cat $LEX_OUTPUT_ROOT.c
`
12498 if ac_fn_c_try_link "$LINENO"; then :
12499 ac_cv_prog_lex_yytext_pointer=yes
12501 rm -f core conftest.err conftest.$ac_objext \
12502 conftest$ac_exeext conftest.$ac_ext
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12507 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12508 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12510 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12513 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12516 if test "$LEX" = :; then
12517 LEX=${am_missing_run}flex
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12522 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12523 # Check whether --enable-maintainer-mode was given.
12524 if test "${enable_maintainer_mode+set}" = set; then :
12525 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12527 USE_MAINTAINER_MODE=no
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12531 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12532 if test $USE_MAINTAINER_MODE = yes; then
12533 MAINTAINER_MODE_TRUE=
12534 MAINTAINER_MODE_FALSE='#'
12536 MAINTAINER_MODE_TRUE='#'
12537 MAINTAINER_MODE_FALSE=
12540 MAINT=$MAINTAINER_MODE_TRUE
12544 GENINSRC_NEVER_TRUE=
12545 GENINSRC_NEVER_FALSE='#'
12547 GENINSRC_NEVER_TRUE='#'
12548 GENINSRC_NEVER_FALSE=
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
12552 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
12553 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
12554 $as_echo_n "(cached) " >&6
12558 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
12559 if cmp t1 t2 2 2 > /dev/null 2>&1; then
12560 if cmp t1 t2 1 1 > /dev/null 2>&1; then
12563 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
12566 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
12567 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
12570 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
12577 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
12578 do_compare="$gcc_cv_prog_cmp_skip"
12582 . ${srcdir}/configure.host
12589 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h
12591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12592 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12593 eval as_val=\$$as_ac_Header
12594 if test "x$as_val" = x""yes; then :
12595 cat >>confdefs.h <<_ACEOF
12596 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12603 for ac_func in glob mkstemp realpath sbrk waitpid
12605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12606 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12607 eval as_val=\$$as_ac_var
12608 if test "x$as_val" = x""yes; then :
12609 cat >>confdefs.h <<_ACEOF
12610 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12616 ac_header_dirent=no
12617 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12618 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12620 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
12622 $as_echo_n "(cached) " >&6
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12626 #include <sys/types.h>
12638 if ac_fn_c_try_compile "$LINENO"; then :
12639 eval "$as_ac_Header=yes"
12641 eval "$as_ac_Header=no"
12643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12645 eval ac_res=\$$as_ac_Header
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12647 $as_echo "$ac_res" >&6; }
12648 eval as_val=\$$as_ac_Header
12649 if test "x$as_val" = x""yes; then :
12650 cat >>confdefs.h <<_ACEOF
12651 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
12654 ac_header_dirent=$ac_hdr; break
12658 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12659 if test $ac_header_dirent = dirent.h; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12661 $as_echo_n "checking for library containing opendir... " >&6; }
12662 if test "${ac_cv_search_opendir+set}" = set; then :
12663 $as_echo_n "(cached) " >&6
12665 ac_func_search_save_LIBS=$LIBS
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12684 for ac_lib in '' dir; do
12685 if test -z "$ac_lib"; then
12686 ac_res="none required"
12689 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12691 if ac_fn_c_try_link "$LINENO"; then :
12692 ac_cv_search_opendir=$ac_res
12694 rm -f core conftest.err conftest.$ac_objext \
12696 if test "${ac_cv_search_opendir+set}" = set; then :
12700 if test "${ac_cv_search_opendir+set}" = set; then :
12703 ac_cv_search_opendir=no
12705 rm conftest.$ac_ext
12706 LIBS=$ac_func_search_save_LIBS
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12709 $as_echo "$ac_cv_search_opendir" >&6; }
12710 ac_res=$ac_cv_search_opendir
12711 if test "$ac_res" != no; then :
12712 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12718 $as_echo_n "checking for library containing opendir... " >&6; }
12719 if test "${ac_cv_search_opendir+set}" = set; then :
12720 $as_echo_n "(cached) " >&6
12722 ac_func_search_save_LIBS=$LIBS
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12741 for ac_lib in '' x; do
12742 if test -z "$ac_lib"; then
12743 ac_res="none required"
12746 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12748 if ac_fn_c_try_link "$LINENO"; then :
12749 ac_cv_search_opendir=$ac_res
12751 rm -f core conftest.err conftest.$ac_objext \
12753 if test "${ac_cv_search_opendir+set}" = set; then :
12757 if test "${ac_cv_search_opendir+set}" = set; then :
12760 ac_cv_search_opendir=no
12762 rm conftest.$ac_ext
12763 LIBS=$ac_func_search_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12766 $as_echo "$ac_cv_search_opendir" >&6; }
12767 ac_res=$ac_cv_search_opendir
12768 if test "$ac_res" != no; then :
12769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
12777 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
12778 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
12779 $as_echo_n "(cached) " >&6
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12783 #include <unistd.h>
12787 extern int getopt (int, char *const*, const char *);
12792 if ac_fn_c_try_compile "$LINENO"; then :
12793 ld_cv_decl_getopt_unistd_h=yes
12795 ld_cv_decl_getopt_unistd_h=no
12797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
12801 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
12802 if test $ld_cv_decl_getopt_unistd_h = yes; then
12804 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
12810 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
12812 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
12816 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
12817 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
12823 cat >>confdefs.h <<_ACEOF
12824 #define HAVE_DECL_STRSTR $ac_have_decl
12826 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
12827 if test "x$ac_cv_have_decl_free" = x""yes; then :
12833 cat >>confdefs.h <<_ACEOF
12834 #define HAVE_DECL_FREE $ac_have_decl
12836 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
12837 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
12843 cat >>confdefs.h <<_ACEOF
12844 #define HAVE_DECL_SBRK $ac_have_decl
12846 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
12847 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
12853 cat >>confdefs.h <<_ACEOF
12854 #define HAVE_DECL_GETENV $ac_have_decl
12856 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
12857 if test "x$ac_cv_have_decl_environ" = x""yes; then :
12863 cat >>confdefs.h <<_ACEOF
12864 #define HAVE_DECL_ENVIRON $ac_have_decl
12868 # Link in zlib if we can. This is needed only for the bootstrap tests
12869 # right now, since those tests use libbfd, which depends on zlib.
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
12871 $as_echo_n "checking for library containing zlibVersion... " >&6; }
12872 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12873 $as_echo_n "(cached) " >&6
12875 ac_func_search_save_LIBS=$LIBS
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12885 char zlibVersion ();
12889 return zlibVersion ();
12894 for ac_lib in '' z; do
12895 if test -z "$ac_lib"; then
12896 ac_res="none required"
12899 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 ac_cv_search_zlibVersion=$ac_res
12904 rm -f core conftest.err conftest.$ac_objext \
12906 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12910 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12913 ac_cv_search_zlibVersion=no
12915 rm conftest.$ac_ext
12916 LIBS=$ac_func_search_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
12919 $as_echo "$ac_cv_search_zlibVersion" >&6; }
12920 ac_res=$ac_cv_search_zlibVersion
12921 if test "$ac_res" != no; then :
12922 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12923 for ac_header in zlib.h
12925 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12926 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12927 cat >>confdefs.h <<_ACEOF
12928 #define HAVE_ZLIB_H 1
12938 # When converting linker scripts into strings for use in emulation
12939 # files, use astring.sed if the compiler supports ANSI string
12940 # concatenation, or ostring.sed otherwise. This is to support the
12941 # broken Microsoft MSVC compiler, which limits the length of string
12942 # constants, while still supporting pre-ANSI compilers which do not
12943 # support string concatenation.
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
12945 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
12946 if test "${ld_cv_string_concatenation+set}" = set; then :
12947 $as_echo_n "(cached) " >&6
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12960 if ac_fn_c_try_compile "$LINENO"; then :
12961 ld_cv_string_concatenation=yes
12963 ld_cv_string_concatenation=no
12965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
12969 $as_echo "$ld_cv_string_concatenation" >&6; }
12970 if test "$ld_cv_string_concatenation" = "yes"; then
12971 STRINGIFY=astring.sed
12973 STRINGIFY=ostring.sed
12977 # target-specific stuff:
12987 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
12989 if test "$targ_alias" = "all"; then
12992 # Canonicalize the secondary target names.
12993 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
12994 if test -n "$result"; then
13000 . ${srcdir}/configure.tgt
13002 if test "$targ" = "$target"; then
13006 if test x${want64} = xfalse; then
13007 . ${srcdir}/../bfd/config.bfd
13010 if test x${want64} = xtrue; then
13011 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
13012 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
13015 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
13016 case " $all_emuls " in
13019 all_emuls="$all_emuls e${i}.o"
13020 eval result=\$tdir_$i
13021 test -z "$result" && result=$targ_alias
13022 echo tdir_$i=$result >> tdirs
13027 for i in $targ_emul $targ_extra_libpath; do
13028 case " $all_libpath " in
13031 if test -z "$all_libpath"; then
13034 all_libpath="$all_libpath ${i}"
13040 for i in $targ_extra_ofiles; do
13041 case " $all_emul_extras " in
13044 all_emul_extras="$all_emul_extras ${i}"
13056 if test x${all_targets} = xtrue; then
13057 if test x${want64} = xfalse; then
13058 # The cast to long int works around a bug in the HP C Compiler
13059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13060 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
13061 # This bug is HP SR number 8606223364.
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13063 $as_echo_n "checking size of long... " >&6; }
13064 if test "${ac_cv_sizeof_long+set}" = set; then :
13065 $as_echo_n "(cached) " >&6
13067 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13070 if test "$ac_cv_type_long" = yes; then
13071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13072 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
13073 { as_fn_set_status 77
13074 as_fn_error "cannot compute sizeof (long)
13075 See \`config.log
' for more details." "$LINENO" 5; }; }
13077 ac_cv_sizeof_long=0
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13083 $as_echo "$ac_cv_sizeof_long" >&6; }
13087 cat >>confdefs.h <<_ACEOF
13088 #define SIZEOF_LONG $ac_cv_sizeof_long
13092 if test "x${ac_cv_sizeof_long}" = "x8"; then
13096 if test x${want64} = xtrue; then
13097 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
13099 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
13101 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
13103 EMULATION_OFILES=$all_emuls
13104 EMUL_EXTRA_OFILES=$all_emul_extras
13110 EMULATION_LIBPATH=$all_libpath
13113 if test x${enable_static} = xno; then
13114 TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
13116 TESTBFDLIB="../bfd/.libs/libbfd.a"
13120 target_vendor=${target_vendor=$host_vendor}
13121 case "$target_vendor" in
13122 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
13123 *) EXTRA_SHLIB_EXTENSION= ;;
13126 case "$target_os" in
13127 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
13130 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
13132 cat >>confdefs.h <<_ACEOF
13133 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
13143 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
13145 cat >confcache <<\_ACEOF
13146 # This file is a shell script that caches the results of configure
13147 # tests run on this system so they can be shared between configure
13148 # scripts and configure runs, see configure's option
--config-cache.
13149 # It is not useful on other systems. If it contains results you don't
13150 # want to keep, you may remove or edit it.
13152 # config.status only pays attention to the cache file if you give it
13153 # the --recheck option to rerun configure.
13155 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13156 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13157 # following values.
13161 # The following way of writing the cache mishandles newlines in values,
13162 # but we know of no workaround that is simple, portable, and efficient.
13163 # So, we kill variables containing newlines.
13164 # Ultrix sh set writes to stderr and can't be redirected directly,
13165 # and sets the high bit in the cache file unless we assign to the vars.
13167 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13168 eval ac_val
=\$
$ac_var
13172 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13173 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13176 _ | IFS | as_nl
) ;; #(
13177 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13178 *) { eval $ac_var=; unset $ac_var;} ;;
13184 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13185 *${as_nl}ac_space
=\
*)
13186 # `set' does not quote correctly, so add quotes: double-quote
13187 # substitution turns \\\\ into \\, and sed turns \\ into \.
13190 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13193 # `set' quotes correctly as required by POSIX, so do not add quotes.
13194 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13203 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13205 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13207 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13208 if test -w "$cache_file"; then
13209 test "x$cache_file" != "x/dev/null" &&
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13211 $as_echo "$as_me: updating cache $cache_file" >&6;}
13212 cat confcache
>$cache_file
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13215 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13220 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13221 # Let make expand exec_prefix.
13222 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13224 DEFS
=-DHAVE_CONFIG_H
13228 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13229 # 1. Remove the extension, and $U if already installed.
13230 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13231 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13232 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13233 # will be set to the directory where LIBOBJS objects are built.
13234 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13235 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13237 LIBOBJS
=$ac_libobjs
13239 LTLIBOBJS
=$ac_ltlibobjs
13242 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13243 as_fn_error
"conditional \"AMDEP\" was never defined.
13244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13246 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13247 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13250 if test -n "$EXEEXT"; then
13252 am__EXEEXT_FALSE
='#'
13254 am__EXEEXT_TRUE
='#'
13258 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13259 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13262 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13263 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13266 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
13267 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
13268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13271 : ${CONFIG_STATUS=./config.status}
13273 ac_clean_files_save
=$ac_clean_files
13274 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13276 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13278 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13280 # Generated by $as_me.
13281 # Run this file to recreate the current configuration.
13282 # Compiler output produced by configure, useful for debugging
13283 # configure, is in config.log if it exists.
13286 ac_cs_recheck=false
13289 SHELL=\${CONFIG_SHELL-$SHELL}
13292 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13293 ## -------------------- ##
13294 ## M4sh Initialization. ##
13295 ## -------------------- ##
13297 # Be more Bourne compatible
13298 DUALCASE
=1; export DUALCASE
# for MKS sh
13299 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13302 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13303 # is contrary to our usage. Disable this feature.
13304 alias -g '${1+"$@"}'='"$@"'
13305 setopt NO_GLOB_SUBST
13307 case `(set -o) 2>/dev/null` in #(
13319 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13320 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13321 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13322 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13323 # Prefer a ksh shell builtin over an external printf program on Solaris,
13324 # but without wasting forks for bash or zsh.
13325 if test -z "$BASH_VERSION$ZSH_VERSION" \
13326 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13327 as_echo='print
-r --'
13328 as_echo_n='print
-rn --'
13329 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13330 as_echo='printf %s
\n'
13331 as_echo_n='printf %s
'
13333 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13334 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13335 as_echo_n='/usr
/ucb
/echo -n'
13337 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13338 as_echo_n_body='eval
13342 expr "X$arg" : "X\\(.*\\)$as_nl";
13343 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13345 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13347 export as_echo_n_body
13348 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13350 export as_echo_body
13351 as_echo='sh
-c $as_echo_body as_echo
'
13354 # The user is always right.
13355 if test "${PATH_SEPARATOR+set}" != set; then
13357 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13358 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13365 # We need space, tab and new line, in precisely that order. Quoting is
13366 # there to prevent editors from complaining about space-tab.
13367 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13368 # splitting by setting IFS to empty value.)
13371 # Find who we are. Look in the path if we contain no directory separator.
13373 *[\\/]* ) as_myself=$0 ;;
13374 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13375 for as_dir in $PATH
13378 test -z "$as_dir" && as_dir=.
13379 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13385 # We did not find ourselves, most probably we were run as `sh COMMAND'
13386 # in which case we are not to be found in the path.
13387 if test "x$as_myself" = x
; then
13390 if test ! -f "$as_myself"; then
13391 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13395 # Unset variables that we do not need and which cause bugs (e.g. in
13396 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13397 # suppresses any "Segmentation fault" message there. '((' could
13398 # trigger a bug in pdksh 5.2.14.
13399 for as_var
in BASH_ENV ENV MAIL MAILPATH
13400 do eval test x\
${$as_var+set} = xset \
13401 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13414 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13417 # as_fn_error ERROR [LINENO LOG_FD]
13418 # ---------------------------------
13419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13421 # script with status $?, using 1 if that was 0.
13424 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13426 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13427 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13429 $as_echo "$as_me: error: $1" >&2
13430 as_fn_exit
$as_status
13434 # as_fn_set_status STATUS
13435 # -----------------------
13436 # Set $? to STATUS, without forking.
13437 as_fn_set_status
()
13440 } # as_fn_set_status
13442 # as_fn_exit STATUS
13443 # -----------------
13444 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13448 as_fn_set_status
$1
13454 # Portably unset VAR.
13457 { eval $1=; unset $1;}
13459 as_unset
=as_fn_unset
13460 # as_fn_append VAR VALUE
13461 # ----------------------
13462 # Append the text in VALUE to the end of the definition contained in VAR. Take
13463 # advantage of any shell optimizations that allow amortized linear growth over
13464 # repeated appends, instead of the typical quadratic growth present in naive
13466 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13467 eval 'as_fn_append ()
13478 # as_fn_arith ARG...
13479 # ------------------
13480 # Perform arithmetic evaluation on the ARGs, and store the result in the
13481 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13482 # must be portable across $(()) and expr.
13483 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13484 eval 'as_fn_arith ()
13491 as_val
=`expr "$@" || test $? -eq 1`
13496 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13497 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13503 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13504 as_basename
=basename
13509 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13515 as_me
=`$as_basename -- "$0" ||
13516 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13517 X"$0" : 'X\(//\)$' \| \
13518 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13520 sed '/^.*\/\([^/][^/]*\)\/*$/{
13534 # Avoid depending upon Character Ranges.
13535 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13536 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13537 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13538 as_cr_digits
='0123456789'
13539 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13541 ECHO_C
= ECHO_N
= ECHO_T
=
13542 case `echo -n x` in #(((((
13544 case `echo 'xy\c'` in
13545 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13547 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13554 rm -f conf$$ conf$$.exe conf$$.
file
13555 if test -d conf$$.dir
; then
13556 rm -f conf$$.dir
/conf$$.
file
13559 mkdir conf$$.dir
2>/dev
/null
13561 if (echo >conf$$.
file) 2>/dev
/null
; then
13562 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13564 # ... but there are two gotchas:
13565 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13566 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13567 # In both cases, we have to default to `cp -p'.
13568 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13570 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13578 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13579 rmdir conf$$.dir
2>/dev
/null
13584 # Create "$as_dir" as a directory, including parents if necessary.
13589 -*) as_dir
=.
/$as_dir;;
13591 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13595 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13596 *) as_qdir
=$as_dir;;
13598 as_dirs
="'$as_qdir' $as_dirs"
13599 as_dir
=`$as_dirname -- "$as_dir" ||
13600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13601 X"$as_dir" : 'X\(//\)[^/]' \| \
13602 X"$as_dir" : 'X\(//\)$' \| \
13603 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13604 $as_echo X"$as_dir" |
13605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13609 /^X\(\/\/\)[^/].*/{
13622 test -d "$as_dir" && break
13624 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13625 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13629 if mkdir
-p .
2>/dev
/null
; then
13630 as_mkdir_p
='mkdir -p "$as_dir"'
13632 test -d .
/-p && rmdir .
/-p
13636 if test -x / >/dev
/null
2>&1; then
13637 as_test_x
='test -x'
13639 if ls -dL / >/dev
/null
2>&1; then
13646 if test -d "$1"; then
13652 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13653 ???[sx]*):;;*)false;;esac;fi
13657 as_executable_p
=$as_test_x
13659 # Sed expression to map a string onto a valid CPP name.
13660 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13662 # Sed expression to map a string onto a valid variable name.
13663 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13667 ## ----------------------------------- ##
13668 ## Main body of $CONFIG_STATUS script. ##
13669 ## ----------------------------------- ##
13671 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13674 # Save the log message, to keep $0 and so on meaningful, and to
13675 # report actual input values of CONFIG_FILES etc. instead of their
13676 # values after options handling.
13678 This file was extended by $as_me, which was
13679 generated by GNU Autoconf 2.64. Invocation command line was
13681 CONFIG_FILES = $CONFIG_FILES
13682 CONFIG_HEADERS = $CONFIG_HEADERS
13683 CONFIG_LINKS = $CONFIG_LINKS
13684 CONFIG_COMMANDS = $CONFIG_COMMANDS
13687 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13692 case $ac_config_files in *"
13693 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13696 case $ac_config_headers in *"
13697 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13702 # Files that config.status was made for.
13703 config_files="$ac_config_files"
13704 config_headers="$ac_config_headers"
13705 config_commands="$ac_config_commands"
13709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13711 \`$as_me' instantiates files and other configuration actions
13712 from templates according to the current configuration. Unless the files
13713 and actions are specified as TAGs, all are instantiated by default.
13715 Usage: $0 [OPTION]... [TAG]...
13717 -h, --help print this help, then exit
13718 -V, --version print version number and configuration settings, then exit
13719 -q, --quiet, --silent
13720 do not print progress messages
13721 -d, --debug don't remove temporary files
13722 --recheck update $as_me by reconfiguring in the same conditions
13723 --file=FILE[:TEMPLATE]
13724 instantiate the configuration file FILE
13725 --header=FILE[:TEMPLATE]
13726 instantiate the configuration header FILE
13728 Configuration files:
13731 Configuration headers:
13734 Configuration commands:
13737 Report bugs to the package provider."
13740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13743 configured by $0, generated by GNU Autoconf 2.64,
13744 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13746 Copyright (C) 2009 Free Software Foundation, Inc.
13747 This config.status script is free software; the Free Software Foundation
13748 gives unlimited permission to copy, distribute and modify it."
13755 test -n "\$AWK" || AWK=awk
13758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13759 # The default lists apply if the user does not specify any file.
13765 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13766 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13777 # Handling of the options.
13778 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13780 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13781 $as_echo "$ac_cs_version"; exit ;;
13782 --debug |
--debu |
--deb |
--de |
--d |
-d )
13784 --file |
--fil |
--fi |
--f )
13787 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13789 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13790 ac_need_defaults
=false
;;
13791 --header |
--heade |
--head |
--hea )
13794 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13796 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13797 ac_need_defaults
=false
;;
13799 # Conflict between --help and --header
13800 as_fn_error
"ambiguous option: \`$1'
13801 Try \`$0 --help' for more information.";;
13802 --help |
--hel |
-h )
13803 $as_echo "$ac_cs_usage"; exit ;;
13804 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13805 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13808 # This is an error.
13809 -*) as_fn_error
"unrecognized option: \`$1'
13810 Try \`$0 --help' for more information." ;;
13812 *) as_fn_append ac_config_targets
" $1"
13813 ac_need_defaults
=false
;;
13819 ac_configure_extra_args
=
13821 if $ac_cs_silent; then
13823 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13828 if \$ac_cs_recheck; then
13829 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13831 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13832 CONFIG_SHELL='$SHELL'
13833 export CONFIG_SHELL
13838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13842 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13843 ## Running $as_me. ##
13849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13853 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13856 # The HP-UX ksh and POSIX shell print the target directory to stdout
13857 # if CDPATH is set.
13858 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13860 sed_quote_subst='$sed_quote_subst'
13861 double_quote_subst='$double_quote_subst'
13862 delay_variable_subst='$delay_variable_subst'
13863 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13864 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13865 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13866 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13867 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13868 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13869 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13870 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13871 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13872 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13873 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13874 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13875 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13876 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13877 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13878 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13879 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13880 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13881 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13882 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13883 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13884 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13885 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13886 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13887 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13888 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13889 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13890 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13891 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13892 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13893 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13894 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13895 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13896 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13897 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13898 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13899 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13900 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13901 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13902 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13903 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13904 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13905 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13906 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13907 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13908 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13909 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13910 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13911 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"`'
13912 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13913 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13914 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13915 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13916 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13917 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13918 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13919 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13920 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13921 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13922 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13923 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13924 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13925 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13926 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13927 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13928 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13929 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13930 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13931 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13932 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13933 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13934 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13935 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13936 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13937 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13938 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13939 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13940 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13941 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13942 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13943 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13944 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13945 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13946 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13947 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13948 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13949 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13950 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13951 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13952 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13953 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13954 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13955 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13956 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13957 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13958 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13959 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13960 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13961 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13962 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13963 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13964 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13965 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13966 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13967 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13968 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13969 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13970 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13971 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13972 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13973 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13974 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13975 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13976 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13977 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13978 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13979 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13980 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13981 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13982 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13985 LTCFLAGS='$LTCFLAGS'
13986 compiler='$compiler_DEFAULT'
13988 # A function that is used when there is no print builtin or printf.
13989 func_fallback_echo ()
13991 eval 'cat <<_LTECHO_EOF
13996 # Quote evaled strings.
14010 deplibs_check_method \
14019 lt_cv_sys_global_symbol_pipe \
14020 lt_cv_sys_global_symbol_to_cdecl \
14021 lt_cv_sys_global_symbol_to_c_name_address \
14022 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14023 lt_prog_compiler_no_builtin_flag \
14024 lt_prog_compiler_wl \
14025 lt_prog_compiler_pic \
14026 lt_prog_compiler_static \
14027 lt_cv_prog_compiler_c_o \
14035 export_dynamic_flag_spec \
14036 whole_archive_flag_spec \
14037 compiler_needs_object \
14039 allow_undefined_flag \
14040 no_undefined_flag \
14041 hardcode_libdir_flag_spec \
14042 hardcode_libdir_flag_spec_ld \
14043 hardcode_libdir_separator \
14048 variables_saved_for_relink \
14050 library_names_spec \
14052 install_override_mode \
14056 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14057 *[\\\\\\\`\\"\\\$]*)
14058 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14061 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14066 # Double-quote double-evaled strings.
14067 for var in reload_cmds \
14068 old_postinstall_cmds \
14069 old_postuninstall_cmds \
14071 extract_expsyms_cmds \
14072 old_archive_from_new_cmds \
14073 old_archive_from_expsyms_cmds \
14075 archive_expsym_cmds \
14077 module_expsym_cmds \
14078 export_symbols_cmds \
14081 postuninstall_cmds \
14083 sys_lib_search_path_spec \
14084 sys_lib_dlsearch_path_spec; do
14085 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14086 *[\\\\\\\`\\"\\\$]*)
14087 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14090 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14095 ac_aux_dir='$ac_aux_dir'
14096 xsi_shell='$xsi_shell'
14097 lt_shell_append='$lt_shell_append'
14099 # See if we are running on zsh, and set the options which allow our
14100 # commands through without removal of \ escapes INIT.
14101 if test -n "\${ZSH_VERSION+set}" ; then
14102 setopt NO_GLOB_SUBST
14108 TIMESTAMP='$TIMESTAMP'
14114 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14115 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
14117 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14118 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14119 LINGUAS="${LINGUAS-%UNSET%}"
14124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14126 # Handling of arguments.
14127 for ac_config_target
in $ac_config_targets
14129 case $ac_config_target in
14130 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14131 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14132 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14133 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14134 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14135 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14137 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14142 # If the user did not use the arguments to specify the items to instantiate,
14143 # then the envvar interface is used. Set only those that are not.
14144 # We use the long form for the default assignment because of an extremely
14145 # bizarre bug on SunOS 4.1.3.
14146 if $ac_need_defaults; then
14147 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14148 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14149 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14152 # Have a temporary directory for convenience. Make it in the build tree
14153 # simply because there is no reason against having it here, and in addition,
14154 # creating and moving files from /tmp can sometimes cause problems.
14155 # Hook for its removal unless debugging.
14156 # Note that there is a small window in which the directory will not be cleaned:
14157 # after its creation but before its name has been assigned to `$tmp'.
14161 trap 'exit_status=$?
14162 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14164 trap 'as_fn_exit 1' 1 2 13 15
14166 # Create a (secure) tmp directory for tmp files.
14169 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14170 test -n "$tmp" && test -d "$tmp"
14173 tmp
=.
/conf$$
-$RANDOM
14174 (umask 077 && mkdir
"$tmp")
14175 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14177 # Set up the scripts for CONFIG_FILES section.
14178 # No need to generate them if there are no CONFIG_FILES.
14179 # This happens for instance with `./config.status config.h'.
14180 if test -n "$CONFIG_FILES"; then
14182 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14183 ac_cs_awk_getline
=:
14184 ac_cs_awk_pipe_init
=
14185 ac_cs_awk_read_file
='
14186 while ((getline aline < (F[key])) > 0)
14189 ac_cs_awk_pipe_fini
=
14191 ac_cs_awk_getline
=false
14192 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14193 ac_cs_awk_read_file
='
14195 print "cat " F[key] " &&"
14196 '$ac_cs_awk_pipe_init
14197 # The final `:' finishes the AND list.
14198 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14200 ac_cr
=`echo X | tr X '\015'`
14201 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14202 # But we know of no other shell where ac_cr would be empty at this
14203 # point, so we can use a bashism as a fallback.
14204 if test "x$ac_cr" = x
; then
14205 eval ac_cr
=\$
\'\\r
\'
14207 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14208 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14211 ac_cs_awk_cr
=$ac_cr
14214 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14217 # Create commands to substitute file output variables.
14219 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14220 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14221 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14224 } >conf$
$files.sh
&&
14225 . .
/conf$
$files.sh ||
14226 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14227 rm -f conf$
$files.sh
14230 echo "cat >conf$$subs.awk <<_ACEOF" &&
14231 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14233 } >conf$$subs.sh ||
14234 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14235 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14237 for ac_last_try in false false false false false :; do
14238 . ./conf$$subs.sh ||
14239 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14241 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14242 if test $ac_delim_n = $ac_delim_num; then
14244 elif $ac_last_try; then
14245 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14247 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14250 rm -f conf$$subs.sh
14252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14253 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14257 s/^/S["/; s
/!.
*/"]=/
14267 s/\(.\{148\}\).*/\1/
14269 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14274 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14281 s/\(.\{148\}\).*/\1/
14283 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14287 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14292 ' <conf$$subs.awk | sed '
14297 ' >>$CONFIG_STATUS || ac_write_fail=1
14298 rm -f conf$$subs.awk
14299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14301 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14302 for (key in S) S_is_set[key] = 1
14304 \$ac_cs_awk_pipe_init
14308 nfields = split(line, field, "@
")
14310 len = length(field[1])
14311 for (i = 2; i < nfields; i++) {
14313 keylen = length(key)
14314 if (S_is_set[key]) {
14316 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14317 len += length(value) + length(field[++i])
14322 if (nfields == 3 && !substed) {
14324 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14325 \$ac_cs_awk_read_file
14331 \$ac_cs_awk_pipe_fini
14334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14335 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14336 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14339 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14340 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14343 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14344 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14345 # trailing colons and then remove the whole line if VPATH becomes empty
14346 # (actually we leave an empty line to preserve line numbers).
14347 if test "x
$srcdir" = x.; then
14348 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14349 s/:*\$(srcdir):*/:/
14350 s/:*\${srcdir}:*/:/
14352 s/^\([^=]*=[ ]*\):*/\1/
14358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14359 fi # test -n "$CONFIG_FILES"
14361 # Set up the scripts for CONFIG_HEADERS section.
14362 # No need to generate them if there are no CONFIG_HEADERS.
14363 # This happens for instance with `./config.status Makefile'.
14364 if test -n "$CONFIG_HEADERS"; then
14365 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14369 # Transform confdefs.h into an awk script `defines.awk', embedded as
14370 # here-document in config.status, that substitutes the proper values into
14371 # config.h.in to produce config.h.
14373 # Create a delimiter string that does not exist in confdefs.h, to ease
14374 # handling of long lines.
14376 for ac_last_try in false false :; do
14377 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14378 if test -z "$ac_t"; then
14380 elif $ac_last_try; then
14381 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14383 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14387 # For the awk script, D is an array of macro values keyed by name,
14388 # likewise P contains macro parameters if any. Preserve backslash
14389 # newline sequences.
14391 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14393 s/.\{148\}/&'"$ac_delim"'/g
14396 s/^[ ]*#[ ]*define[ ][ ]*/ /
14403 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14405 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14409 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14410 D["\
1"]=" \
3\\\\\\n
"\\/p
14412 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14417 s/.\{148\}/&'"$ac_delim"'/g
14422 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14425 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14427 ' <confdefs.h | sed '
14428 s/'"$ac_delim"'/"\\\
14429 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14432 for (key in D) D_is_set[key] = 1
14435 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14437 split(line, arg, " ")
14438 if (arg[1] == "#") {
14442 defundef
= substr
(arg
[1], 2)
14445 split(mac1
, mac2
, "(") #)
14447 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14448 if (D_is_set
[macro
]) {
14449 # Preserve the white space surrounding the "#".
14450 print prefix
"define", macro P
[macro
] D
[macro
]
14453 # Replace #undef with comments. This is necessary, for example,
14454 # in the case of _POSIX_SOURCE, which is predefined and required
14455 # on some systems where configure will not decide to define it.
14456 if (defundef
== "undef") {
14457 print
"/*", prefix defundef
, macro
, "*/"
14465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14466 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14467 fi # test -n "$CONFIG_HEADERS"
14470 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14475 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14477 case $ac_mode$ac_tag in
14479 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14480 :[FH
]-) ac_tag
=-:-;;
14481 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14498 -) ac_f
="$tmp/stdin";;
14499 *) # Look for the file first in the build tree, then in the source tree
14500 # (if the path is not absolute). The absolute path cannot be DOS-style,
14501 # because $ac_f cannot contain `:'.
14505 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14507 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14509 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14510 as_fn_append ac_file_inputs
" '$ac_f'"
14513 # Let's still pretend it is `configure' which instantiates (i.e., don't
14514 # use $as_me), people would be surprised to read:
14515 # /* config.h. Generated by config.status. */
14516 configure_input
='Generated from '`
14517 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14519 if test x
"$ac_file" != x-
; then
14520 configure_input
="$ac_file. $configure_input"
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14522 $as_echo "$as_me: creating $ac_file" >&6;}
14524 # Neutralize special characters interpreted by sed in replacement strings.
14525 case $configure_input in #(
14526 *\
&* |
*\|
* |
*\\* )
14527 ac_sed_conf_input
=`$as_echo "$configure_input" |
14528 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14529 *) ac_sed_conf_input
=$configure_input;;
14533 *:-:* |
*:-) cat >"$tmp/stdin" \
14534 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14539 ac_dir
=`$as_dirname -- "$ac_file" ||
14540 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14541 X"$ac_file" : 'X\(//\)[^/]' \| \
14542 X"$ac_file" : 'X\(//\)$' \| \
14543 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14544 $as_echo X"$ac_file" |
14545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14549 /^X\(\/\/\)[^/].*/{
14562 as_dir
="$ac_dir"; as_fn_mkdir_p
14566 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14568 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14569 # A ".." for each directory in $ac_dir_suffix.
14570 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14571 case $ac_top_builddir_sub in
14572 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14573 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14576 ac_abs_top_builddir
=$ac_pwd
14577 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14578 # for backward compatibility:
14579 ac_top_builddir
=$ac_top_build_prefix
14582 .
) # We are building in place.
14584 ac_top_srcdir
=$ac_top_builddir_sub
14585 ac_abs_top_srcdir
=$ac_pwd ;;
14586 [\\/]* | ?
:[\\/]* ) # Absolute name.
14587 ac_srcdir
=$srcdir$ac_dir_suffix;
14588 ac_top_srcdir
=$srcdir
14589 ac_abs_top_srcdir
=$srcdir ;;
14590 *) # Relative name.
14591 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14592 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14593 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14595 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14605 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14606 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14608 ac_MKDIR_P
=$MKDIR_P
14610 [\\/$
]* | ?
:[\\/]* ) ;;
14611 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14616 # If the template does not know about datarootdir, expand it.
14617 # FIXME: This hack should be removed a few years after 2.60.
14618 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14629 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14630 *datarootdir
*) ac_datarootdir_seen
=yes;;
14631 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14633 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14636 ac_datarootdir_hack='
14637 s&@datadir@&$datadir&g
14638 s&@docdir@&$docdir&g
14639 s&@infodir@&$infodir&g
14640 s&@localedir@&$localedir&g
14641 s&@mandir@&$mandir&g
14642 s&\\\${datarootdir}&$datarootdir&g' ;;
14646 # Neutralize VPATH when `$srcdir' = `.'.
14647 # Shell code in configure.ac might set extrasub.
14648 # FIXME: do we really want to maintain this feature?
14649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14650 ac_sed_extra="$ac_vpsub
14653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14655 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14656 s|@configure_input@|
$ac_sed_conf_input|
;t t
14657 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14658 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14659 s
&@srcdir@
&$ac_srcdir&;t t
14660 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14661 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14662 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14663 s
&@builddir@
&$ac_builddir&;t t
14664 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14665 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14666 s
&@INSTALL@
&$ac_INSTALL&;t t
14667 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14668 $ac_datarootdir_hack
14670 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14671 if $ac_cs_awk_getline; then
14672 $AWK -f "$tmp/subs.
awk"
14674 $AWK -f "$tmp/subs.
awk" | $SHELL
14676 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14679 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14680 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14682 which seems to be undefined. Please make sure it is defined." >&5
14683 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14684 which seems to be undefined. Please make sure it is defined." >&2;}
14688 -) cat "$tmp/out" && rm -f "$tmp/out";;
14689 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14691 || as_fn_error "could not create $ac_file" "$LINENO" 5
14697 if test x"$ac_file" != x-; then
14699 $as_echo "/* $configure_input */" \
14700 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14701 } >"$tmp/config.h" \
14702 || as_fn_error "could not create $ac_file" "$LINENO" 5
14703 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14705 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14708 mv "$tmp/config.h" "$ac_file" \
14709 || as_fn_error "could not create $ac_file" "$LINENO" 5
14712 $as_echo "/* $configure_input */" \
14713 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14714 || as_fn_error "could not create -" "$LINENO" 5
14716 # Compute "$ac_file"'s index
in $config_headers.
14719 for _am_header
in $config_headers :; do
14720 case $_am_header in
14721 $_am_arg |
$_am_arg:* )
14724 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14727 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14728 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14729 X"$_am_arg" : 'X\(//\)[^/]' \| \
14730 X"$_am_arg" : 'X\(//\)$' \| \
14731 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14732 $as_echo X"$_am_arg" |
14733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14737 /^X\(\/\/\)[^/].*/{
14749 s/.*/./; q'`/stamp-h
$_am_stamp_count
14752 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14753 $as_echo "$as_me: executing $ac_file commands" >&6;}
14758 case $ac_file$ac_mode in
14759 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14760 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14761 # are listed without --file. Let's play safe and only enable the eval
14762 # if we detect the quoting.
14763 case $CONFIG_FILES in
14764 *\'*) eval set x
"$CONFIG_FILES" ;;
14765 *) set x
$CONFIG_FILES ;;
14770 # Strip MF so we end up with the name of the file.
14771 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14772 # Check whether this is an Automake generated Makefile or not.
14773 # We used to match only the files named `Makefile.in', but
14774 # some people rename them; so instead we look at the file content.
14775 # Grep'ing the first line is not enough: some people post-process
14776 # each Makefile.in and add a new line on top of each file to say so.
14777 # Grep'ing the whole file is not good either: AIX grep has a line
14778 # limit of 2048, but all sed's we know have understand at least 4000.
14779 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14780 dirpart
=`$as_dirname -- "$mf" ||
14781 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14782 X"$mf" : 'X\(//\)[^/]' \| \
14783 X"$mf" : 'X\(//\)$' \| \
14784 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14790 /^X\(\/\/\)[^/].*/{
14806 # Extract the definition of DEPDIR, am__include, and am__quote
14807 # from the Makefile without running `make'.
14808 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14809 test -z "$DEPDIR" && continue
14810 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14811 test -z "am__include" && continue
14812 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14813 # When using ansi2knr, U may be empty or an underscore; expand it
14814 U
=`sed -n 's/^U = //p' < "$mf"`
14815 # Find all dependency output files, they are included files with
14816 # $(DEPDIR) in their names. We invoke sed twice because it is the
14817 # simplest approach to changing $(DEPDIR) to its actual value in the
14819 for file in `sed -n "
14820 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14821 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14822 # Make sure the directory exists.
14823 test -f "$dirpart/$file" && continue
14824 fdir
=`$as_dirname -- "$file" ||
14825 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14826 X"$file" : 'X\(//\)[^/]' \| \
14827 X"$file" : 'X\(//\)$' \| \
14828 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14829 $as_echo X"$file" |
14830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14834 /^X\(\/\/\)[^/].*/{
14847 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14848 # echo "creating $dirpart/$file"
14849 echo '# dummy' > "$dirpart/$file"
14856 # See if we are running on zsh, and set the options which allow our
14857 # commands through without removal of \ escapes.
14858 if test -n "${ZSH_VERSION+set}" ; then
14859 setopt NO_GLOB_SUBST
14862 cfgfile
="${ofile}T"
14863 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14866 cat <<_LT_EOF >> "$cfgfile"
14869 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14870 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14871 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14872 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14874 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14875 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14876 # Written by Gordon Matzigkeit, 1996
14878 # This file is part of GNU Libtool.
14880 # GNU Libtool is free software; you can redistribute it and/or
14881 # modify it under the terms of the GNU General Public License as
14882 # published by the Free Software Foundation; either version 2 of
14883 # the License, or (at your option) any later version.
14885 # As a special exception to the GNU General Public License,
14886 # if you distribute this file as part of a program or library that
14887 # is built using GNU Libtool, you may include this file under the
14888 # same distribution terms that you use for the rest of that program.
14890 # GNU Libtool is distributed in the hope that it will be useful,
14891 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14892 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14893 # GNU General Public License for more details.
14895 # You should have received a copy of the GNU General Public License
14896 # along with GNU Libtool; see the file COPYING. If not, a copy
14897 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14898 # obtained by writing to the Free Software Foundation, Inc.,
14899 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14902 # The names of the tagged configurations supported by this script.
14905 # ### BEGIN LIBTOOL CONFIG
14907 # Which release of libtool.m4 was used?
14908 macro_version=$macro_version
14909 macro_revision=$macro_revision
14911 # Whether or not to build shared libraries.
14912 build_libtool_libs=$enable_shared
14914 # Whether or not to build static libraries.
14915 build_old_libs=$enable_static
14917 # What type of objects to build.
14920 # Whether or not to optimize for fast installation.
14921 fast_install=$enable_fast_install
14923 # Shell to use when invoking shell scripts.
14926 # An echo program that protects backslashes.
14930 host_alias=$host_alias
14934 # The build system.
14935 build_alias=$build_alias
14939 # A sed program that does not truncate output.
14942 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14943 Xsed="\$SED -e 1s/^X//"
14945 # A grep program that handles long lines.
14951 # A literal string matcher.
14954 # A BSD- or MS-compatible name lister.
14957 # Whether we need soft or hard links.
14960 # What is the maximum length of a command?
14961 max_cmd_len=$max_cmd_len
14963 # Object file suffix (normally "o").
14966 # Executable file suffix (normally "").
14969 # whether the shell understands "unset".
14972 # turn spaces into newlines.
14975 # turn newlines into spaces.
14978 # An object symbol dumper.
14979 OBJDUMP=$lt_OBJDUMP
14981 # Method to check whether dependent libraries are shared objects.
14982 deplibs_check_method=$lt_deplibs_check_method
14984 # Command to use when deplibs_check_method == "file_magic".
14985 file_magic_cmd=$lt_file_magic_cmd
14989 AR_FLAGS=$lt_AR_FLAGS
14991 # A symbol stripping program.
14994 # Commands used to install an old-style archive.
14996 old_postinstall_cmds=$lt_old_postinstall_cmds
14997 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14999 # Whether to use a lock for old archive extraction.
15000 lock_old_archive_extraction=$lock_old_archive_extraction
15005 # LTCC compiler flags.
15006 LTCFLAGS=$lt_CFLAGS
15008 # Take the output of nm and produce a listing of raw symbols and C names.
15009 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15011 # Transform the output of nm in a proper C declaration.
15012 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15014 # Transform the output of nm in a C name address pair.
15015 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15017 # Transform the output of nm in a C name address pair when lib prefix is needed.
15018 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15020 # The name of the directory that contains temporary libtool files.
15023 # Used to examine libraries when file_magic_cmd begins with "file".
15024 MAGIC_CMD=$MAGIC_CMD
15026 # Must we lock files when doing compilation?
15027 need_locks=$lt_need_locks
15029 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15030 DSYMUTIL=$lt_DSYMUTIL
15032 # Tool to change global to local symbols on Mac OS X.
15035 # Tool to manipulate fat objects and archives on Mac OS X.
15038 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15041 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15042 OTOOL64=$lt_OTOOL64
15044 # Old archive suffix (normally "a").
15047 # Shared library suffix (normally ".so").
15048 shrext_cmds=$lt_shrext_cmds
15050 # The commands to extract the exported symbol list from a shared archive.
15051 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15053 # Variables whose values should be saved in libtool wrapper scripts and
15054 # restored at link time.
15055 variables_saved_for_relink=$lt_variables_saved_for_relink
15057 # Do we need the "lib" prefix for modules?
15058 need_lib_prefix=$need_lib_prefix
15060 # Do we need a version for libraries?
15061 need_version=$need_version
15063 # Library versioning type.
15064 version_type=$version_type
15066 # Shared library runtime path variable.
15067 runpath_var=$runpath_var
15069 # Shared library path variable.
15070 shlibpath_var=$shlibpath_var
15072 # Is shlibpath searched before the hard-coded library search path?
15073 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15075 # Format of library name prefix.
15076 libname_spec=$lt_libname_spec
15078 # List of archive names. First name is the real one, the rest are links.
15079 # The last name is the one that the linker finds with -lNAME
15080 library_names_spec=$lt_library_names_spec
15082 # The coded name of the library, if different from the real name.
15083 soname_spec=$lt_soname_spec
15085 # Permission mode override for installation of shared libraries.
15086 install_override_mode=$lt_install_override_mode
15088 # Command to use after installation of a shared archive.
15089 postinstall_cmds=$lt_postinstall_cmds
15091 # Command to use after uninstallation of a shared archive.
15092 postuninstall_cmds=$lt_postuninstall_cmds
15094 # Commands used to finish a libtool library installation in a directory.
15095 finish_cmds=$lt_finish_cmds
15097 # As "finish_cmds", except a single script fragment to be evaled but
15099 finish_eval=$lt_finish_eval
15101 # Whether we should hardcode library paths into libraries.
15102 hardcode_into_libs=$hardcode_into_libs
15104 # Compile-time system search path for libraries.
15105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15107 # Run-time system search path for libraries.
15108 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15110 # Whether dlopen is supported.
15111 dlopen_support=$enable_dlopen
15113 # Whether dlopen of programs is supported.
15114 dlopen_self=$enable_dlopen_self
15116 # Whether dlopen of statically linked programs is supported.
15117 dlopen_self_static=$enable_dlopen_self_static
15119 # Commands to strip libraries.
15120 old_striplib=$lt_old_striplib
15121 striplib=$lt_striplib
15124 # The linker used to build libraries.
15127 # How to create reloadable object files.
15128 reload_flag=$lt_reload_flag
15129 reload_cmds=$lt_reload_cmds
15131 # Commands used to build an old-style archive.
15132 old_archive_cmds=$lt_old_archive_cmds
15134 # A language specific compiler.
15137 # Is the compiler the GNU compiler?
15140 # Compiler flag to turn off builtin functions.
15141 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15143 # How to pass a linker flag through the compiler.
15144 wl=$lt_lt_prog_compiler_wl
15146 # Additional compiler flags for building library objects.
15147 pic_flag=$lt_lt_prog_compiler_pic
15149 # Compiler flag to prevent dynamic linking.
15150 link_static_flag=$lt_lt_prog_compiler_static
15152 # Does compiler simultaneously support -c and -o options?
15153 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15155 # Whether or not to add -lc for building shared libraries.
15156 build_libtool_need_lc=$archive_cmds_need_lc
15158 # Whether or not to disallow shared libs when runtime libs are static.
15159 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15161 # Compiler flag to allow reflexive dlopens.
15162 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15164 # Compiler flag to generate shared objects directly from archives.
15165 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15167 # Whether the compiler copes with passing no objects directly.
15168 compiler_needs_object=$lt_compiler_needs_object
15170 # Create an old-style archive from a shared archive.
15171 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15173 # Create a temporary old-style archive to link instead of a shared archive.
15174 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15176 # Commands used to build a shared archive.
15177 archive_cmds=$lt_archive_cmds
15178 archive_expsym_cmds=$lt_archive_expsym_cmds
15180 # Commands used to build a loadable module if different from building
15181 # a shared archive.
15182 module_cmds=$lt_module_cmds
15183 module_expsym_cmds=$lt_module_expsym_cmds
15185 # Whether we are building with GNU ld or not.
15186 with_gnu_ld=$lt_with_gnu_ld
15188 # Flag that allows shared libraries with undefined symbols to be built.
15189 allow_undefined_flag=$lt_allow_undefined_flag
15191 # Flag that enforces no undefined symbols.
15192 no_undefined_flag=$lt_no_undefined_flag
15194 # Flag to hardcode \$libdir into a binary during linking.
15195 # This must work even if \$libdir does not exist
15196 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15198 # If ld is used when linking, flag to hardcode \$libdir into a binary
15199 # during linking. This must work even if \$libdir does not exist.
15200 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15202 # Whether we need a single "-rpath" flag with a separated argument.
15203 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15205 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15206 # DIR into the resulting binary.
15207 hardcode_direct=$hardcode_direct
15209 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15210 # DIR into the resulting binary and the resulting library dependency is
15211 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15212 # library is relocated.
15213 hardcode_direct_absolute=$hardcode_direct_absolute
15215 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15216 # into the resulting binary.
15217 hardcode_minus_L=$hardcode_minus_L
15219 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15220 # into the resulting binary.
15221 hardcode_shlibpath_var=$hardcode_shlibpath_var
15223 # Set to "yes" if building a shared library automatically hardcodes DIR
15224 # into the library and all subsequent libraries and executables linked
15226 hardcode_automatic=$hardcode_automatic
15228 # Set to yes if linker adds runtime paths of dependent libraries
15229 # to runtime path list.
15230 inherit_rpath=$inherit_rpath
15232 # Whether libtool must link a program against all its dependency libraries.
15233 link_all_deplibs=$link_all_deplibs
15235 # Fix the shell variable \$srcfile for the compiler.
15236 fix_srcfile_path=$lt_fix_srcfile_path
15238 # Set to "yes" if exported symbols are required.
15239 always_export_symbols=$always_export_symbols
15241 # The commands to list exported symbols.
15242 export_symbols_cmds=$lt_export_symbols_cmds
15244 # Symbols that should not be listed in the preloaded symbols.
15245 exclude_expsyms=$lt_exclude_expsyms
15247 # Symbols that must always be exported.
15248 include_expsyms=$lt_include_expsyms
15250 # Commands necessary for linking programs (against libraries) with templates.
15251 prelink_cmds=$lt_prelink_cmds
15253 # Specify filename containing input files.
15254 file_list_spec=$lt_file_list_spec
15256 # How to hardcode a shared library path into an executable.
15257 hardcode_action=$hardcode_action
15259 # ### END LIBTOOL CONFIG
15265 cat <<\_LT_EOF
>> "$cfgfile"
15266 # AIX sometimes has problems with the GCC collect2 program. For some
15267 # reason, if we set the COLLECT_NAMES environment variable, the problems
15268 # vanish in a puff of smoke.
15269 if test "X${COLLECT_NAMES+set}" != Xset
; then
15271 export COLLECT_NAMES
15278 ltmain
="$ac_aux_dir/ltmain.sh"
15281 # We use sed instead of cat because bash on DJGPP gets confused if
15282 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15283 # text mode, it properly converts lines to CR/LF. This bash problem
15284 # is reportedly fixed, but why not run on old versions too?
15285 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15286 ||
(rm -f "$cfgfile"; exit 1)
15290 cat << \_LT_EOF
>> "$cfgfile"
15292 # func_dirname file append nondir_replacement
15293 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15294 # otherwise set result to NONDIR_REPLACEMENT.
15298 */*) func_dirname_result
="${1%/*}${2}" ;;
15299 * ) func_dirname_result
="${3}" ;;
15303 # func_basename file
15306 func_basename_result
="${1##*/}"
15309 # func_dirname_and_basename file append nondir_replacement
15310 # perform func_basename and func_dirname in a single function
15312 # dirname: Compute the dirname of FILE. If nonempty,
15313 # add APPEND to the result, otherwise set result
15314 # to NONDIR_REPLACEMENT.
15315 # value returned in "$func_dirname_result"
15316 # basename: Compute filename of FILE.
15317 # value retuned in "$func_basename_result"
15318 # Implementation must be kept synchronized with func_dirname
15319 # and func_basename. For efficiency, we do not delegate to
15320 # those functions but instead duplicate the functionality here.
15321 func_dirname_and_basename
()
15324 */*) func_dirname_result
="${1%/*}${2}" ;;
15325 * ) func_dirname_result
="${3}" ;;
15327 func_basename_result
="${1##*/}"
15330 # func_stripname prefix suffix name
15331 # strip PREFIX and SUFFIX off of NAME.
15332 # PREFIX and SUFFIX must not contain globbing or regex special
15333 # characters, hashes, percent signs, but SUFFIX may contain a leading
15334 # dot (in which case that matches only a dot).
15337 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15338 # positional parameters, so assign one to ordinary parameter first.
15339 func_stripname_result
=${3}
15340 func_stripname_result
=${func_stripname_result#"${1}"}
15341 func_stripname_result
=${func_stripname_result%"${2}"}
15347 func_opt_split_opt
=${1%%=*}
15348 func_opt_split_arg
=${1#*=}
15355 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15356 *) func_lo2o_result
=${1} ;;
15360 # func_xform libobj-or-source
15363 func_xform_result
=${1%.*}.lo
15366 # func_arith arithmetic-term...
15369 func_arith_result
=$
(( $
* ))
15373 # STRING may not start with a hyphen.
15376 func_len_result
=${#1}
15381 *) # Bourne compatible functions.
15382 cat << \_LT_EOF
>> "$cfgfile"
15384 # func_dirname file append nondir_replacement
15385 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15386 # otherwise set result to NONDIR_REPLACEMENT.
15389 # Extract subdirectory from the argument.
15390 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15391 if test "X$func_dirname_result" = "X${1}"; then
15392 func_dirname_result
="${3}"
15394 func_dirname_result
="$func_dirname_result${2}"
15398 # func_basename file
15401 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15405 # func_stripname prefix suffix name
15406 # strip PREFIX and SUFFIX off of NAME.
15407 # PREFIX and SUFFIX must not contain globbing or regex special
15408 # characters, hashes, percent signs, but SUFFIX may contain a leading
15409 # dot (in which case that matches only a dot).
15410 # func_strip_suffix prefix name
15414 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15415 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15420 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15421 my_sed_long_arg
='1s/^-[^=]*=//'
15426 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15427 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15433 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15436 # func_xform libobj-or-source
15439 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15442 # func_arith arithmetic-term...
15445 func_arith_result
=`expr "$@"`
15449 # STRING may not start with a hyphen.
15452 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15458 case $lt_shell_append in
15460 cat << \_LT_EOF
>> "$cfgfile"
15462 # func_append var value
15463 # Append VALUE to the end of shell variable VAR.
15471 cat << \_LT_EOF
>> "$cfgfile"
15473 # func_append var value
15474 # Append VALUE to the end of shell variable VAR.
15485 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15486 ||
(rm -f "$cfgfile"; exit 1)
15488 mv -f "$cfgfile" "$ofile" ||
15489 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15494 for ac_file
in $CONFIG_FILES; do
15495 # Support "outfile[:infile[:infile...]]"
15497 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15499 # PO directories have a Makefile.in generated from Makefile.in.in.
15500 case "$ac_file" in */Makefile.
in)
15501 # Adjust a relative srcdir.
15502 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15503 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
15504 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15505 # In autoconf-2.13 it is called $ac_given_srcdir.
15506 # In autoconf-2.50 it is called $srcdir.
15507 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15508 case "$ac_given_srcdir" in
15509 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15510 /*) top_srcdir
="$ac_given_srcdir" ;;
15511 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15513 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15514 rm -f "$ac_dir/POTFILES"
15515 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15516 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15517 POMAKEFILEDEPS
="POTFILES.in"
15518 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15519 # on $ac_dir but don't depend on user-specified configuration
15521 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15522 # The LINGUAS file contains the set of available languages.
15523 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15524 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15526 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15527 # Hide the ALL_LINGUAS assigment from automake.
15528 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15529 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15531 # The set of available languages was given in configure.in.
15532 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15534 case "$ac_given_srcdir" in
15536 *) srcdirpre
='$(srcdir)/' ;;
15542 for lang
in $ALL_LINGUAS; do
15543 POFILES
="$POFILES $srcdirpre$lang.po"
15544 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15545 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15546 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15548 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15549 # environment variable.
15551 if test -n "$ALL_LINGUAS"; then
15552 for presentlang
in $ALL_LINGUAS; do
15554 if test "%UNSET%" != "$LINGUAS"; then
15555 desiredlanguages
="$LINGUAS"
15557 desiredlanguages
="$ALL_LINGUAS"
15559 for desiredlang
in $desiredlanguages; do
15560 # Use the presentlang catalog if desiredlang is
15561 # a. equal to presentlang, or
15562 # b. a variant of presentlang (because in this case,
15563 # presentlang can be used as a fallback for messages
15564 # which are not translated in the desiredlang catalog).
15565 case "$desiredlang" in
15566 "$presentlang"*) useit
=yes;;
15569 if test $useit = yes; then
15570 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15575 if test -n "$INST_LINGUAS"; then
15576 for lang
in $INST_LINGUAS; do
15577 CATALOGS
="$CATALOGS $lang.gmo"
15580 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15581 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"
15582 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15583 if test -f "$f"; then
15585 *.orig |
*.bak |
*~
) ;;
15586 *) cat "$f" >> "$ac_dir/Makefile" ;;
15601 ac_clean_files
=$ac_clean_files_save
15603 test $ac_write_fail = 0 ||
15604 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15607 # configure is writing to config.log, and then calls config.status.
15608 # config.status does its own redirection, appending to config.log.
15609 # Unfortunately, on DOS this fails, as config.log is still kept open
15610 # by configure, so config.status won't be able to write to it; its
15611 # output is simply discarded. So we exec the FD to /dev/null,
15612 # effectively closing config.log, so it can be properly (re)opened and
15613 # appended to by config.status. When coming back to configure, we
15614 # need to make the FD available again.
15615 if test "$no_create" != yes; then
15617 ac_config_status_args
=
15618 test "$silent" = yes &&
15619 ac_config_status_args
="$ac_config_status_args --quiet"
15621 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15623 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15624 # would make configure fail if this is the last instruction.
15625 $ac_cs_success || as_fn_exit $?
15627 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15629 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}