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
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || 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
="zlib.h"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
649 MAINTAINER_MODE_FALSE
659 INSTALL_STRIP_PROGRAM
715 program_transform_name
728 enable_option_checking
730 enable_maintainer_mode
734 enable_dependency_tracking
743 ac_precious_vars
='build_alias
750 # Initialize some variables set by options.
752 ac_init_version
=false
753 ac_unrecognized_opts
=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name
=s
,x
,x
,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir
='${exec_prefix}/bin'
779 sbindir
='${exec_prefix}/sbin'
780 libexecdir
='${exec_prefix}/libexec'
781 datarootdir
='${prefix}/share'
782 datadir
='${datarootdir}'
783 sysconfdir
='${prefix}/etc'
784 sharedstatedir
='${prefix}/com'
785 localstatedir
='${prefix}/var'
786 includedir
='${prefix}/include'
787 oldincludedir
='/usr/include'
788 docdir
='${datarootdir}/doc/${PACKAGE}'
789 infodir
='${datarootdir}/info'
794 libdir
='${exec_prefix}/lib'
795 localedir
='${datarootdir}/locale'
796 mandir
='${datarootdir}/man'
802 # If the previous option needs an argument, assign it.
803 if test -n "$ac_prev"; then
804 eval $ac_prev=\
$ac_option
810 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
822 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
825 -build |
--build |
--buil |
--bui |
--bu)
826 ac_prev
=build_alias
;;
827 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
828 build_alias
=$ac_optarg ;;
830 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
831 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
832 ac_prev
=cache_file
;;
833 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
834 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
835 cache_file
=$ac_optarg ;;
838 cache_file
=config.cache
;;
840 -datadir |
--datadir |
--datadi |
--datad)
842 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
843 datadir
=$ac_optarg ;;
845 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
846 |
--dataroo |
--dataro |
--datar)
847 ac_prev
=datarootdir
;;
848 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
849 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
850 datarootdir
=$ac_optarg ;;
852 -disable-* |
--disable-*)
853 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
856 as_fn_error
"invalid feature name: $ac_useropt"
857 ac_useropt_orig
=$ac_useropt
858 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864 ac_unrecognized_sep
=', ';;
866 eval enable_
$ac_useropt=no
;;
868 -docdir |
--docdir |
--docdi |
--doc |
--do)
870 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
873 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
875 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
878 -enable-* |
--enable-*)
879 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
882 as_fn_error
"invalid feature name: $ac_useropt"
883 ac_useropt_orig
=$ac_useropt
884 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890 ac_unrecognized_sep
=', ';;
892 eval enable_
$ac_useropt=\
$ac_optarg ;;
894 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
895 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
896 |
--exec |
--exe |
--ex)
897 ac_prev
=exec_prefix
;;
898 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
899 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
900 |
--exec=* |
--exe=* |
--ex=*)
901 exec_prefix
=$ac_optarg ;;
903 -gas |
--gas |
--ga |
--g)
904 # Obsolete; use --with-gas.
907 -help |
--help |
--hel |
--he |
-h)
909 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
910 ac_init_help
=recursive
;;
911 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
912 ac_init_help
=short
;;
914 -host |
--host |
--hos |
--ho)
915 ac_prev
=host_alias
;;
916 -host=* |
--host=* |
--hos=* |
--ho=*)
917 host_alias
=$ac_optarg ;;
919 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
921 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
923 htmldir
=$ac_optarg ;;
925 -includedir |
--includedir |
--includedi |
--included |
--include \
926 |
--includ |
--inclu |
--incl |
--inc)
927 ac_prev
=includedir
;;
928 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
929 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
930 includedir
=$ac_optarg ;;
932 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
934 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
935 infodir
=$ac_optarg ;;
937 -libdir |
--libdir |
--libdi |
--libd)
939 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
942 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
943 |
--libexe |
--libex |
--libe)
944 ac_prev
=libexecdir
;;
945 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
946 |
--libexe=* |
--libex=* |
--libe=*)
947 libexecdir
=$ac_optarg ;;
949 -localedir |
--localedir |
--localedi |
--localed |
--locale)
951 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
952 localedir
=$ac_optarg ;;
954 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
955 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
956 ac_prev
=localstatedir
;;
957 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
958 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
959 localstatedir
=$ac_optarg ;;
961 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
963 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
967 # Obsolete; use --without-fp.
970 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
971 |
--no-cr |
--no-c |
-n)
974 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
975 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
978 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
979 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
980 |
--oldin |
--oldi |
--old |
--ol |
--o)
981 ac_prev
=oldincludedir
;;
982 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
983 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
984 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
985 oldincludedir
=$ac_optarg ;;
987 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
989 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
992 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
993 |
--program-pre |
--program-pr |
--program-p)
994 ac_prev
=program_prefix
;;
995 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
996 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
997 program_prefix
=$ac_optarg ;;
999 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1000 |
--program-suf |
--program-su |
--program-s)
1001 ac_prev
=program_suffix
;;
1002 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1003 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1004 program_suffix
=$ac_optarg ;;
1006 -program-transform-name |
--program-transform-name \
1007 |
--program-transform-nam |
--program-transform-na \
1008 |
--program-transform-n |
--program-transform- \
1009 |
--program-transform |
--program-transfor \
1010 |
--program-transfo |
--program-transf \
1011 |
--program-trans |
--program-tran \
1012 |
--progr-tra |
--program-tr |
--program-t)
1013 ac_prev
=program_transform_name
;;
1014 -program-transform-name=* |
--program-transform-name=* \
1015 |
--program-transform-nam=* |
--program-transform-na=* \
1016 |
--program-transform-n=* |
--program-transform-=* \
1017 |
--program-transform=* |
--program-transfor=* \
1018 |
--program-transfo=* |
--program-transf=* \
1019 |
--program-trans=* |
--program-tran=* \
1020 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1021 program_transform_name
=$ac_optarg ;;
1023 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1025 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1026 pdfdir
=$ac_optarg ;;
1028 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1030 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1033 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1034 |
-silent |
--silent |
--silen |
--sile |
--sil)
1037 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1039 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1041 sbindir
=$ac_optarg ;;
1043 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1044 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1045 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1047 ac_prev
=sharedstatedir
;;
1048 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1049 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1050 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1052 sharedstatedir
=$ac_optarg ;;
1054 -site |
--site |
--sit)
1056 -site=* |
--site=* |
--sit=*)
1059 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1061 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1062 srcdir
=$ac_optarg ;;
1064 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1065 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1066 ac_prev
=sysconfdir
;;
1067 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1068 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1069 sysconfdir
=$ac_optarg ;;
1071 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1072 ac_prev
=target_alias
;;
1073 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1074 target_alias
=$ac_optarg ;;
1076 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1079 -version |
--version |
--versio |
--versi |
--vers |
-V)
1080 ac_init_version
=: ;;
1083 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error
"invalid package name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval with_
$ac_useropt=\
$ac_optarg ;;
1098 -without-* |
--without-*)
1099 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1102 as_fn_error
"invalid package name: $ac_useropt"
1103 ac_useropt_orig
=$ac_useropt
1104 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep
=', ';;
1112 eval with_
$ac_useropt=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) as_fn_error
"unrecognized option: \`$ac_option'
1133 Try \`$0 --help' for more information."
1137 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 case $ac_envvar in #(
1140 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1141 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 as_fn_error
"missing argument to $ac_option"
1162 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1165 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 # Check all directory arguments for consistency.
1171 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1174 libdir localedir mandir
1176 eval ac_val
=\$
$ac_var
1177 # Remove trailing slashes.
1180 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\
$ac_val;;
1183 # Be sure to have absolute directory names.
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 as_fn_error
"working directory cannot be determined"
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 as_fn_error
"pwd does not report name of working directory"
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted
=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir
=`$as_dirname -- "$as_myself" ||
1228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$as_myself" : 'X\(//\)[^/]' \| \
1230 X"$as_myself" : 'X\(//\)$' \| \
1231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1232 $as_echo X"$as_myself" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1255 ac_srcdir_defaulted
=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1259 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1261 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1265 # When building in place, set srcdir=.
1266 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 # Remove unnecessary trailing slashes from srcdir.
1270 # Double slashes in file names in object file debugging info
1271 # mess up M-x gdb in Emacs.
1273 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275 for ac_var
in $ac_precious_vars; do
1276 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1277 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1278 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1279 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1283 # Report the --help message.
1285 if test "$ac_init_help" = "long"; then
1286 # Omit some internal or obsolete options to make the list less imposing.
1287 # This message is too long to be a string in the A/UX 3.1 sh.
1289 \`configure' configures this package to adapt to many kinds of systems.
1291 Usage: $0 [OPTION]... [VAR=VALUE]...
1293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294 VAR=VALUE. See below for descriptions of some of the useful variables.
1296 Defaults for the options are specified in brackets.
1299 -h, --help display this help and exit
1300 --help=short display options specific to this package
1301 --help=recursive display the short help of all the included packages
1302 -V, --version display version information and exit
1303 -q, --quiet, --silent do not print \`checking...' messages
1304 --cache-file=FILE cache test results in FILE [disabled]
1305 -C, --config-cache alias for \`--cache-file=config.cache'
1306 -n, --no-create do not create output files
1307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1309 Installation directories:
1310 --prefix=PREFIX install architecture-independent files in PREFIX
1311 [$ac_default_prefix]
1312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 By default, \`make install' will install all the files in
1316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318 for instance \`--prefix=\$HOME'.
1320 For better control, use the options below.
1322 Fine tuning of the installation directories:
1323 --bindir=DIR user executables [EPREFIX/bin]
1324 --sbindir=DIR system admin executables [EPREFIX/sbin]
1325 --libexecdir=DIR program executables [EPREFIX/libexec]
1326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1338 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR]
1347 --program-prefix=PREFIX prepend PREFIX to installed program names
1348 --program-suffix=SUFFIX append SUFFIX to installed program names
1349 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1352 --build=BUILD configure
for building on BUILD
[guessed
]
1353 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1354 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1358 if test -n "$ac_init_help"; then
1363 --disable-option-checking ignore unrecognized
--enable/--with options
1364 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1365 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1366 --enable-multilib build many library versions
(default
)
1367 --enable-maintainer-mode enable make rules and dependencies not useful
1368 (and sometimes confusing
) to the casual installer
1369 --disable-dependency-tracking speeds up one-time build
1370 --enable-dependency-tracking do not reject slow dependency extractors
1371 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1372 --enable-static[=PKGS
] build static libraries
[default
=yes]
1373 --enable-fast-install[=PKGS
]
1374 optimize
for fast installation
[default
=yes]
1375 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1376 --enable-host-shared build
host code as shared libraries
1379 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1380 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1381 --with-target-subdir=SUBDIR
1382 configuring
in a subdirectory
1383 --with-cross-host=HOST configuring with a cross compiler
1384 --with-system-zlib use installed libz
1385 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1387 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1389 Some influential environment variables
:
1390 CC C compiler
command
1391 CFLAGS C compiler flags
1392 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1393 nonstandard directory
<lib dir
>
1394 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1395 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1396 you have headers
in a nonstandard directory
<include dir
>
1399 Use these variables to override the choices made by
`configure' or to help
1400 it to find libraries and programs with nonstandard names/locations.
1402 Report bugs to the package provider.
1407 if test "$ac_init_help" = "recursive"; then
1408 # If there are subdirs, report their specific --help.
1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1410 test -d "$ac_dir" ||
1411 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1419 # A ".." for each directory in $ac_dir_suffix.
1420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1421 case $ac_top_builddir_sub in
1422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426 ac_abs_top_builddir=$ac_pwd
1427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1428 # for backward compatibility:
1429 ac_top_builddir=$ac_top_build_prefix
1432 .) # We are building in place.
1434 ac_top_srcdir=$ac_top_builddir_sub
1435 ac_abs_top_srcdir=$ac_pwd ;;
1436 [\\/]* | ?:[\\/]* ) # Absolute name.
1437 ac_srcdir=$srcdir$ac_dir_suffix;
1438 ac_top_srcdir=$srcdir
1439 ac_abs_top_srcdir=$srcdir ;;
1441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1442 ac_top_srcdir=$ac_top_build_prefix$srcdir
1443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1447 cd "$ac_dir" || { ac_status=$?; continue; }
1448 # Check for guested configure.
1449 if test -f "$ac_srcdir/configure.gnu"; then
1451 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1452 elif test -f "$ac_srcdir/configure"; then
1454 $SHELL "$ac_srcdir/configure" --help=recursive
1456 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 cd "$ac_pwd" || { ac_status=$?; break; }
1462 test -n "$ac_init_help" && exit $ac_status
1463 if $ac_init_version; then
1466 generated by GNU Autoconf 2.64
1468 Copyright (C) 2009 Free Software Foundation, Inc.
1469 This configure script is free software; the Free Software Foundation
1470 gives unlimited permission to copy, distribute and modify it.
1475 ## ------------------------ ##
1476 ## Autoconf initialization. ##
1477 ## ------------------------ ##
1479 # ac_fn_c_try_compile LINENO
1480 # --------------------------
1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1482 ac_fn_c_try_compile ()
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 rm -f conftest.$ac_objext
1486 if { { ac_try="$ac_compile"
1488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1489 *) ac_try_echo
=$ac_try;;
1491 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1492 $as_echo "$ac_try_echo"; } >&5
1493 (eval "$ac_compile") 2>conftest.err
1495 if test -s conftest.err
; then
1496 grep -v '^ *+' conftest.err
>conftest.er1
1497 cat conftest.er1
>&5
1498 mv -f conftest.er1 conftest.err
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1501 test $ac_status = 0; } && {
1502 test -z "$ac_c_werror_flag" ||
1503 test ! -s conftest.err
1504 } && test -s conftest.
$ac_objext; then :
1507 $as_echo "$as_me: failed program was:" >&5
1508 sed 's/^/| /' conftest.
$ac_ext >&5
1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1515 } # ac_fn_c_try_compile
1517 # ac_fn_c_try_link LINENO
1518 # -----------------------
1519 # Try to link conftest.$ac_ext, and return whether this succeeded.
1522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1523 rm -f conftest.
$ac_objext conftest
$ac_exeext
1524 if { { ac_try
="$ac_link"
1526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_link") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && {
1540 test -z "$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1542 } && test -s conftest$ac_exeext && {
1543 test "$cross_compiling" = yes ||
1544 $as_test_x conftest$ac_exeext
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1554 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1555 # interfere with the next link command; also delete a directory that is
1556 # left behind by Apple's compiler. We do this before executing the actions.
1557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 } # ac_fn_c_try_link
1563 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1564 # -------------------------------------------------------
1565 # Tests whether HEADER exists and can be compiled using the include files in
1566 # INCLUDES, setting the cache variable VAR accordingly.
1567 ac_fn_c_check_header_compile ()
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1571 $as_echo_n "checking for $2... " >&6; }
1572 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1573 $as_echo_n "(cached) " >&6
1575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1576 /* end confdefs.h. */
1580 if ac_fn_c_try_compile "$LINENO"; then :
1585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; }
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1592 } # ac_fn_c_check_header_compile
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } >/dev
/null
&& {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1631 # ac_fn_c_try_run LINENO
1632 # ----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1634 # that executables *can* be run.
1637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1638 if { { ac_try
="$ac_link"
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1649 { { case "(($ac_try" in
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_try") 2>&5
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; }; }; then :
1661 $as_echo "$as_me: program exited with status $ac_status" >&5
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.
$ac_ext >&5
1665 ac_retval
=$ac_status
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1673 # ac_fn_c_check_func LINENO FUNC VAR
1674 # ----------------------------------
1675 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1676 ac_fn_c_check_func
()
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 if test x
$gcc_no_link = xyes
; then
1685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1689 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1691 #define $2 innocuous_$2
1693 /* System header to define __stub macros and hopefully few prototypes,
1694 which can conflict with char $2 (); below.
1695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1696 <limits.h> exists even on freestanding compilers. */
1699 # include <limits.h>
1701 # include <assert.h>
1706 /* Override any GCC internal prototype to avoid an error.
1707 Use char because int might match the return type of a GCC
1708 builtin and then its argument prototype would still apply. */
1713 /* The GNU C library defines this for functions which it implements
1714 to always fail with ENOSYS. Some functions are actually named
1715 something starting with __ and the normal name is an alias. */
1716 #if defined __stub_$2 || defined __stub___$2
1728 if ac_fn_c_try_link
"$LINENO"; then :
1733 rm -f core conftest.err conftest.
$ac_objext \
1734 conftest
$ac_exeext conftest.
$ac_ext
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1741 } # ac_fn_c_check_func
1743 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1744 # -------------------------------------------------------
1745 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1746 # the include files in INCLUDES and setting the cache variable VAR
1748 ac_fn_c_check_header_mongrel
()
1750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1751 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1755 $as_echo_n "(cached) " >&6
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1761 # Is the header compilable?
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1763 $as_echo_n "checking $2 usability... " >&6; }
1764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile
"$LINENO"; then :
1770 ac_header_compiler
=yes
1772 ac_header_compiler
=no
1774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1776 $as_echo "$ac_header_compiler" >&6; }
1778 # Is the header present?
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1780 $as_echo_n "checking $2 presence... " >&6; }
1781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1785 if ac_fn_c_try_cpp
"$LINENO"; then :
1786 ac_header_preproc
=yes
1788 ac_header_preproc
=no
1790 rm -f conftest.err conftest.
$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1792 $as_echo "$ac_header_preproc" >&6; }
1794 # So? What about this header?
1795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1798 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1800 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1804 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1806 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1808 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1810 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1812 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1818 $as_echo_n "(cached) " >&6
1820 eval "$3=\$ac_header_compiler"
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1828 } # ac_fn_c_check_header_mongrel
1829 cat >config.log
<<_ACEOF
1830 This file contains any messages produced by compilers while
1831 running configure, to aid debugging if configure makes a mistake.
1833 It was created by $as_me, which was
1834 generated by GNU Autoconf 2.64. Invocation command line was
1846 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1847 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1848 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1849 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1850 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1852 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1853 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1855 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1856 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1857 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1858 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1859 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1860 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1861 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1869 test -z "$as_dir" && as_dir
=.
1870 $as_echo "PATH: $as_dir"
1886 # Keep a trace of the command line.
1887 # Strip out --no-create and --no-recursion so they do not pile up.
1888 # Strip out --silent because we don't want to record it for future runs.
1889 # Also quote any args containing shell meta-characters.
1890 # Make two passes to allow for proper duplicate-argument suppression.
1894 ac_must_keep_next
=false
1900 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1901 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1902 |
-silent |
--silent |
--silen |
--sile |
--sil)
1905 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1908 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1910 as_fn_append ac_configure_args1
" '$ac_arg'"
1911 if test $ac_must_keep_next = true
; then
1912 ac_must_keep_next
=false
# Got value, back to normal.
1915 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1916 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1917 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1918 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1919 case "$ac_configure_args0 " in
1920 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1923 -* ) ac_must_keep_next
=true
;;
1926 as_fn_append ac_configure_args
" '$ac_arg'"
1931 { ac_configure_args0
=; unset ac_configure_args0
;}
1932 { ac_configure_args1
=; unset ac_configure_args1
;}
1934 # When interrupted or exit'd, cleanup temporary files, and complete
1935 # config.log. We remove comments because anyway the quotes in there
1936 # would cause problems or look ugly.
1937 # WARNING: Use '\'' to represent an apostrophe within the trap.
1938 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1939 trap 'exit_status=$?
1940 # Save into config.log some information that might help in debugging.
1945 ## ---------------- ##
1946 ## Cache variables. ##
1947 ## ---------------- ##
1950 # The following way of writing the cache mishandles newlines in values,
1952 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1953 eval ac_val=\$$ac_var
1957 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1958 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1961 _ | IFS | as_nl) ;; #(
1962 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1963 *) { eval $ac_var=; unset $ac_var;} ;;
1968 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1969 *${as_nl}ac_space=\ *)
1971 "s/'\''/'\''\\\\'\'''\''/g;
1972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1975 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1983 ## ----------------- ##
1984 ## Output variables. ##
1985 ## ----------------- ##
1988 for ac_var in $ac_subst_vars
1990 eval ac_val=\$$ac_var
1992 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1994 $as_echo "$ac_var='\''$ac_val'\''"
1998 if test -n "$ac_subst_files"; then
2000 ## ------------------- ##
2001 ## File substitutions. ##
2002 ## ------------------- ##
2005 for ac_var
in $ac_subst_files
2007 eval ac_val
=\$
$ac_var
2009 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2011 $as_echo "$ac_var='\''$ac_val'\''"
2016 if test -s confdefs.h; then
2026 test "$ac_signal" != 0 &&
2027 $as_echo "$as_me: caught signal $ac_signal"
2028 $as_echo "$as_me: exit $exit_status"
2030 rm -f core *.core core.conftest.* &&
2031 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2034 for ac_signal
in 1 2 13 15; do
2035 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2039 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2040 rm -f -r conftest
* confdefs.h
2042 $as_echo "/* confdefs.h */" > confdefs.h
2044 # Predefined preprocessor variables.
2046 cat >>confdefs.h
<<_ACEOF
2047 #define PACKAGE_NAME "$PACKAGE_NAME"
2050 cat >>confdefs.h
<<_ACEOF
2051 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2054 cat >>confdefs.h
<<_ACEOF
2055 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2058 cat >>confdefs.h
<<_ACEOF
2059 #define PACKAGE_STRING "$PACKAGE_STRING"
2062 cat >>confdefs.h
<<_ACEOF
2063 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2066 cat >>confdefs.h
<<_ACEOF
2067 #define PACKAGE_URL "$PACKAGE_URL"
2071 # Let the site file select an alternate cache file if it wants to.
2072 # Prefer an explicitly selected file to automatically selected ones.
2075 if test -n "$CONFIG_SITE"; then
2076 ac_site_file1
=$CONFIG_SITE
2077 elif test "x$prefix" != xNONE
; then
2078 ac_site_file1
=$prefix/share
/config.site
2079 ac_site_file2
=$prefix/etc
/config.site
2081 ac_site_file1
=$ac_default_prefix/share
/config.site
2082 ac_site_file2
=$ac_default_prefix/etc
/config.site
2084 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2086 test "x$ac_site_file" = xNONE
&& continue
2087 if test -r "$ac_site_file"; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2089 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2090 sed 's/^/| /' "$ac_site_file" >&5
2095 if test -r "$cache_file"; then
2096 # Some versions of bash will fail to source /dev/null (special
2097 # files actually), so we avoid doing that.
2098 if test -f "$cache_file"; then
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2100 $as_echo "$as_me: loading cache $cache_file" >&6;}
2102 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2103 *) .
"./$cache_file";;
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2108 $as_echo "$as_me: creating cache $cache_file" >&6;}
2112 # Check that the precious variables saved in the cache have kept the same
2114 ac_cache_corrupted
=false
2115 for ac_var
in $ac_precious_vars; do
2116 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2117 eval ac_new_set
=\
$ac_env_${ac_var}_set
2118 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2119 eval ac_new_val
=\
$ac_env_${ac_var}_value
2120 case $ac_old_set,$ac_new_set in
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2123 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2124 ac_cache_corrupted
=: ;;
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2127 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2128 ac_cache_corrupted
=: ;;
2131 if test "x$ac_old_val" != "x$ac_new_val"; then
2132 # differences in whitespace do not lead to failure.
2133 ac_old_val_w
=`echo x $ac_old_val`
2134 ac_new_val_w
=`echo x $ac_new_val`
2135 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2137 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2138 ac_cache_corrupted
=:
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2141 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2142 eval $ac_var=\
$ac_old_val
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2145 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2147 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2150 # Pass precious variables to config.status.
2151 if test "$ac_new_set" = set; then
2153 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2154 *) ac_arg
=$ac_var=$ac_new_val ;;
2156 case " $ac_configure_args " in
2157 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2158 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2162 if $ac_cache_corrupted; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2166 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2167 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2169 ## -------------------- ##
2170 ## Main body of script. ##
2171 ## -------------------- ##
2174 ac_cpp
='$CPP $CPPFLAGS'
2175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2185 if test -n "${with_target_subdir}"; then
2186 # Default to --enable-multilib
2187 # Check whether --enable-multilib was given.
2188 if test "${enable_multilib+set}" = set; then :
2189 enableval
=$enable_multilib; case "$enableval" in
2190 yes) multilib
=yes ;;
2192 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2199 # We may get other options which we leave undocumented:
2200 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2201 # See config-ml.in if you want the gory details.
2203 if test "$srcdir" = "."; then
2204 if test "$with_target_subdir" != "."; then
2205 multi_basedir
="$srcdir/$with_multisrctop../.."
2207 multi_basedir
="$srcdir/$with_multisrctop.."
2210 multi_basedir
="$srcdir/.."
2214 # Even if the default multilib is not a cross compilation,
2215 # it may be that some of the other multilibs are.
2216 if test $cross_compiling = no
&& test $multilib = yes \
2217 && test "x${with_multisubdir}" != x
; then
2218 cross_compiling
=maybe
2221 ac_config_commands
="$ac_config_commands default-1"
2226 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2227 for ac_t
in install-sh
install.sh shtool
; do
2228 if test -f "$ac_dir/$ac_t"; then
2230 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2235 if test -z "$ac_aux_dir"; then
2236 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2239 # These three variables are undocumented and unsupported,
2240 # and are intended to be withdrawn in a future Autoconf release.
2241 # They can cause serious problems if a builder's source tree is in a directory
2242 # whose full name contains unusual characters.
2243 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2244 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2245 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2248 # Make sure we can run config.sub.
2249 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2250 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2253 $as_echo_n "checking build system type... " >&6; }
2254 if test "${ac_cv_build+set}" = set; then :
2255 $as_echo_n "(cached) " >&6
2257 ac_build_alias
=$build_alias
2258 test "x$ac_build_alias" = x
&&
2259 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2260 test "x$ac_build_alias" = x
&&
2261 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2262 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2263 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2267 $as_echo "$ac_cv_build" >&6; }
2268 case $ac_cv_build in
2270 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2273 ac_save_IFS
=$IFS; IFS
='-'
2279 # Remember, the first character of IFS is used to create $*,
2280 # except with old shells:
2283 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2287 $as_echo_n "checking host system type... " >&6; }
2288 if test "${ac_cv_host+set}" = set; then :
2289 $as_echo_n "(cached) " >&6
2291 if test "x$host_alias" = x
; then
2292 ac_cv_host
=$ac_cv_build
2294 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2295 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2300 $as_echo "$ac_cv_host" >&6; }
2303 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2306 ac_save_IFS
=$IFS; IFS
='-'
2312 # Remember, the first character of IFS is used to create $*,
2313 # except with old shells:
2316 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2320 $as_echo_n "checking target system type... " >&6; }
2321 if test "${ac_cv_target+set}" = set; then :
2322 $as_echo_n "(cached) " >&6
2324 if test "x$target_alias" = x
; then
2325 ac_cv_target
=$ac_cv_host
2327 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2328 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2333 $as_echo "$ac_cv_target" >&6; }
2334 case $ac_cv_target in
2336 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2338 target
=$ac_cv_target
2339 ac_save_IFS
=$IFS; IFS
='-'
2345 # Remember, the first character of IFS is used to create $*,
2346 # except with old shells:
2349 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2352 # The aliases save the names the user supplied, while $host etc.
2353 # will get canonicalized.
2354 test -n "$target_alias" &&
2355 test "$program_prefix$program_suffix$program_transform_name" = \
2357 program_prefix
=${target_alias}-
2360 # This works around an automake problem.
2361 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
2364 am__api_version
='1.11'
2366 # Find a good install program. We prefer a C program (faster),
2367 # so one script is as good as another. But avoid the broken or
2368 # incompatible versions:
2369 # SysV /etc/install, /usr/sbin/install
2370 # SunOS /usr/etc/install
2371 # IRIX /sbin/install
2373 # AmigaOS /C/install, which installs bootblocks on floppy discs
2374 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2375 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2376 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2377 # OS/2's system install, which has a completely different semantic
2378 # ./install, which can be erroneously created by make from ./install.sh.
2379 # Reject install programs that cannot install multiple files.
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2381 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2382 if test -z "$INSTALL"; then
2383 if test "${ac_cv_path_install+set}" = set; then :
2384 $as_echo_n "(cached) " >&6
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 # Account for people who put trailing slashes in PATH elements.
2392 case $as_dir/ in #((
2393 .
/ | .
// |
/[cC
]/* | \
2394 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2395 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2398 # OSF1 and SCO ODT 3.0 have their own names for install.
2399 # Don't use installbsd from OSF since it installs stuff as root
2401 for ac_prog
in ginstall scoinst
install; do
2402 for ac_exec_ext
in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2404 if test $ac_prog = install &&
2405 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2406 # AIX install. It has an incompatible calling convention.
2408 elif test $ac_prog = install &&
2409 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2410 # program-specific install script used by HP pwplus--don't use.
2413 rm -rf conftest.one conftest.two conftest.dir
2414 echo one
> conftest.one
2415 echo two
> conftest.two
2417 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2418 test -s conftest.one
&& test -s conftest.two
&&
2419 test -s conftest.dir
/conftest.one
&&
2420 test -s conftest.dir
/conftest.two
2422 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2435 rm -rf conftest.one conftest.two conftest.dir
2438 if test "${ac_cv_path_install+set}" = set; then
2439 INSTALL
=$ac_cv_path_install
2441 # As a last resort, use the slow shell script. Don't cache a
2442 # value for INSTALL within a source directory, because that will
2443 # break other packages using the cache if that directory is
2444 # removed, or if the value is a relative name.
2445 INSTALL
=$ac_install_sh
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2449 $as_echo "$INSTALL" >&6; }
2451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2452 # It thinks the first close brace ends the variable substitution.
2453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2457 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2460 $as_echo_n "checking whether build environment is sane... " >&6; }
2463 echo timestamp
> conftest.
file
2464 # Reject unsafe characters in $srcdir or the absolute working directory
2465 # name. Accept space and tab only in the latter.
2469 *[\\\"\
#\$\&\'\`$am_lf]*)
2470 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2473 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2474 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2477 # Do `set' in a subshell so we don't clobber the current shell's
2478 # arguments. Must try -L first in case configure is actually a
2479 # symlink; some systems play weird games with the mod time of symlinks
2480 # (eg FreeBSD returns the mod time of the symlink's containing
2483 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2484 if test "$*" = "X"; then
2486 set X
`ls -t "$srcdir/configure" conftest.file`
2489 if test "$*" != "X $srcdir/configure conftest.file" \
2490 && test "$*" != "X conftest.file $srcdir/configure"; then
2492 # If neither matched, then we have a broken ls. This can happen
2493 # if, for instance, CONFIG_SHELL is bash and it inherits a
2494 # broken ls alias from the environment. This has actually
2495 # happened. Such a system could not be considered "sane".
2496 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2497 alias in your environment" "$LINENO" 5
2500 test "$2" = conftest.
file
2506 as_fn_error
"newly created file is older than distributed files!
2507 Check your system clock" "$LINENO" 5
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2510 $as_echo "yes" >&6; }
2511 test "$program_prefix" != NONE
&&
2512 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2513 # Use a double $ so make ignores it.
2514 test "$program_suffix" != NONE
&&
2515 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2516 # Double any \ or $.
2517 # By default was `s,x,x', remove it if useless.
2518 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2519 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2521 # expand $ac_aux_dir to an absolute path
2522 am_aux_dir
=`cd $ac_aux_dir && pwd`
2524 if test x
"${MISSING+set}" != xset
; then
2527 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2529 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2532 # Use eval to expand $SHELL
2533 if eval "$MISSING --run true"; then
2534 am_missing_run
="$MISSING --run "
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2538 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2541 if test x
"${install_sh}" != xset
; then
2544 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2546 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2550 # Installed binaries are usually stripped using `strip' when the user
2551 # run `make install-strip'. However `strip' might not be the right
2552 # tool to use in cross-compilation environments, therefore Automake
2553 # will honor the `STRIP' environment variable to overrule this program.
2554 if test "$cross_compiling" != no
; then
2555 if test -n "$ac_tool_prefix"; then
2556 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2557 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if test "${ac_cv_prog_STRIP+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2563 if test -n "$STRIP"; then
2564 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir
=.
2571 for ac_exec_ext
in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2573 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 STRIP
=$ac_cv_prog_STRIP
2584 if test -n "$STRIP"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2586 $as_echo "$STRIP" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2594 if test -z "$ac_cv_prog_STRIP"; then
2596 # Extract the first word of "strip", so it can be a program name with args.
2597 set dummy strip
; ac_word
=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; }
2600 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2601 $as_echo_n "(cached) " >&6
2603 if test -n "$ac_ct_STRIP"; then
2604 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613 ac_cv_prog_ac_ct_STRIP
="strip"
2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2624 if test -n "$ac_ct_STRIP"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2626 $as_echo "$ac_ct_STRIP" >&6; }
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 $as_echo "no" >&6; }
2632 if test "x$ac_ct_STRIP" = x
; then
2635 case $cross_compiling:$ac_tool_warned in
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2639 ac_tool_warned
=yes ;;
2644 STRIP
="$ac_cv_prog_STRIP"
2648 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2651 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2652 if test -z "$MKDIR_P"; then
2653 if test "${ac_cv_path_mkdir+set}" = set; then :
2654 $as_echo_n "(cached) " >&6
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2657 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_prog
in mkdir gmkdir
; do
2662 for ac_exec_ext
in '' $ac_executable_extensions; do
2663 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2664 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2665 'mkdir (GNU coreutils) '* | \
2666 'mkdir (coreutils) '* | \
2667 'mkdir (fileutils) '4.1*)
2668 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2678 if test "${ac_cv_path_mkdir+set}" = set; then
2679 MKDIR_P
="$ac_cv_path_mkdir -p"
2681 # As a last resort, use the slow shell script. Don't cache a
2682 # value for MKDIR_P within a source directory, because that will
2683 # break other packages using the cache if that directory is
2684 # removed, or if the value is a relative name.
2685 test -d .
/--version && rmdir .
/--version
2686 MKDIR_P
="$ac_install_sh -d"
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2690 $as_echo "$MKDIR_P" >&6; }
2694 [\\/$
]* | ?
:[\\/]*) ;;
2695 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2698 for ac_prog
in gawk mawk nawk
awk
2700 # Extract the first word of "$ac_prog", so it can be a program name with args.
2701 set dummy
$ac_prog; ac_word
=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if test "${ac_cv_prog_AWK+set}" = set; then :
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$AWK"; then
2708 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_AWK
="$ac_prog"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$AWK"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2730 $as_echo "$AWK" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2737 test -n "$AWK" && break
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2741 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2743 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2744 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2745 $as_echo_n "(cached) " >&6
2747 cat >conftest.
make <<\_ACEOF
2750 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2753 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2755 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2757 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2761 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2763 $as_echo "yes" >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 $as_echo "no" >&6; }
2768 SET_MAKE
="MAKE=${MAKE-make}"
2771 rm -rf .tst
2>/dev
/null
2772 mkdir .tst
2>/dev
/null
2773 if test -d .tst
; then
2778 rmdir .tst
2>/dev
/null
2780 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2781 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2782 # is not polluted with repeated "-I."
2783 am__isrc
=' -I$(srcdir)'
2784 # test to see if srcdir already configured
2785 if test -f $srcdir/config.status
; then
2786 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2790 # test whether we have cygpath
2791 if test -z "$CYGPATH_W"; then
2792 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2793 CYGPATH_W
='cygpath -w'
2800 # Define the identity of the package.
2805 cat >>confdefs.h
<<_ACEOF
2806 #define PACKAGE "$PACKAGE"
2810 cat >>confdefs.h
<<_ACEOF
2811 #define VERSION "$VERSION"
2814 # Some tools Automake needs.
2816 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2819 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2822 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2825 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2828 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2830 # We need awk for the "check" target. The system "awk" is bad on
2832 # Always define AMTAR for backward compatibility. Yes, it's still used
2833 # in the wild :-( We should find a proper way to deprecate it ...
2836 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2845 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2846 # Check whether --enable-maintainer-mode was given.
2847 if test "${enable_maintainer_mode+set}" = set; then :
2848 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2850 USE_MAINTAINER_MODE
=no
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2854 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2855 if test $USE_MAINTAINER_MODE = yes; then
2856 MAINTAINER_MODE_TRUE
=
2857 MAINTAINER_MODE_FALSE
='#'
2859 MAINTAINER_MODE_TRUE
='#'
2860 MAINTAINER_MODE_FALSE
=
2863 MAINT
=$MAINTAINER_MODE_TRUE
2868 # Check whether --with-target-subdir was given.
2869 if test "${with_target_subdir+set}" = set; then :
2870 withval
=$with_target_subdir;
2874 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
2882 # Check whether --with-cross-host was given.
2883 if test "${with_cross_host+set}" = set; then :
2884 withval
=$with_cross_host;
2888 # Check whether --enable-multilib was given.
2889 if test "${enable_multilib+set}" = set; then :
2890 enableval
=$enable_multilib; case "${enableval}" in
2891 yes) multilib
=yes ;;
2893 *) as_fn_error
"bad value ${enableval} for multilib option" "$LINENO" 5 ;;
2896 test -z "$with_target_subdir" && multilib
=no || multilib
=yes
2900 # Check whether --with-system-zlib was given.
2901 if test "${with_system_zlib+set}" = set; then :
2902 withval
=$with_system_zlib;
2906 # Make sure we don't test executables when making cross-tools.
2909 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2910 # We must force CC to /not/ be precious variables; otherwise
2911 # the wrong, non-multilib-adjusted value will be used in multilibs.
2912 # As a side effect, we have to subst CFLAGS ourselves.
2917 ac_cpp
='$CPP $CPPFLAGS'
2918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2921 if test -n "$ac_tool_prefix"; then
2922 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2923 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if test "${ac_cv_prog_CC+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$CC"; then
2930 ac_cv_prog_CC
="$CC" # Let the user override the test.
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir
=.
2937 for ac_exec_ext
in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test -n "$CC"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2952 $as_echo "$CC" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2960 if test -z "$ac_cv_prog_CC"; then
2962 # Extract the first word of "gcc", so it can be a program name with args.
2963 set dummy gcc
; ac_word
=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$ac_ct_CC"; then
2970 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir
=.
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979 ac_cv_prog_ac_ct_CC
="gcc"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2990 if test -n "$ac_ct_CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2992 $as_echo "$ac_ct_CC" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
2998 if test "x$ac_ct_CC" = x
; then
3001 case $cross_compiling:$ac_tool_warned in
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3005 ac_tool_warned
=yes ;;
3013 if test -z "$CC"; then
3014 if test -n "$ac_tool_prefix"; then
3015 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3016 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if test "${ac_cv_prog_CC+set}" = set; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$CC"; then
3023 ac_cv_prog_CC
="$CC" # Let the user override the test.
3025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir
=.
3030 for ac_exec_ext
in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 if test -n "$CC"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3045 $as_echo "$CC" >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3054 if test -z "$CC"; then
3055 # Extract the first word of "cc", so it can be a program name with args.
3056 set dummy cc
; ac_word
=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if test "${ac_cv_prog_CC+set}" = set; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$CC"; then
3063 ac_cv_prog_CC
="$CC" # Let the user override the test.
3066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3070 test -z "$as_dir" && as_dir
=.
3071 for ac_exec_ext
in '' $ac_executable_extensions; do
3072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3073 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3074 ac_prog_rejected
=yes
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test $ac_prog_rejected = yes; then
3086 # We found a bogon in the path, so make sure we never use it.
3087 set dummy
$ac_cv_prog_CC
3089 if test $# != 0; then
3090 # We chose a different compiler from the bogus one.
3091 # However, it has the same basename, so the bogon will be chosen
3092 # first if we set CC to just the basename; use the full file name.
3094 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3100 if test -n "$CC"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3102 $as_echo "$CC" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3110 if test -z "$CC"; then
3111 if test -n "$ac_tool_prefix"; then
3112 for ac_prog
in cl.exe
3114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3115 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if test "${ac_cv_prog_CC+set}" = set; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -n "$CC"; then
3122 ac_cv_prog_CC
="$CC" # Let the user override the test.
3124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir
=.
3129 for ac_exec_ext
in '' $ac_executable_extensions; do
3130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 if test -n "$CC"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3144 $as_echo "$CC" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3151 test -n "$CC" && break
3154 if test -z "$CC"; then
3156 for ac_prog
in cl.exe
3158 # Extract the first word of "$ac_prog", so it can be a program name with args.
3159 set dummy
$ac_prog; ac_word
=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; }
3162 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3163 $as_echo_n "(cached) " >&6
3165 if test -n "$ac_ct_CC"; then
3166 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 ac_cv_prog_ac_ct_CC
="$ac_prog"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3186 if test -n "$ac_ct_CC"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3188 $as_echo "$ac_ct_CC" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3195 test -n "$ac_ct_CC" && break
3198 if test "x$ac_ct_CC" = x
; then
3201 case $cross_compiling:$ac_tool_warned in
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3205 ac_tool_warned
=yes ;;
3214 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error
"no acceptable C compiler found in \$PATH
3217 See \`config.log' for more details." "$LINENO" 5; }
3219 # Provide some information about the compiler.
3220 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3223 for ac_option
in --version -v -V -qversion; do
3224 { { ac_try
="$ac_compiler $ac_option >&5"
3226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3233 if test -s conftest.err; then
3235 ... rest of stderr output deleted ...
3236 10q' conftest.err >conftest.er1
3237 cat conftest.er1 >&5
3238 rm -f conftest.er1 conftest.err
3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241 test $ac_status = 0; }
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3257 (eval $ac_link) 2>&5
3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260 test $ac_status = 0; }; then :
3265 if test x$gcc_no_link = xyes; then
3266 # Setting cross_compile will disable run tests; it will
3267 # also disable AC_CHECK_FILE but that's generally
3268 # correct if we can't link.
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 ac_clean_files_save=$ac_clean_files
3284 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3285 # Try to create an executable without -o first, disregard a.out.
3286 # It will help us diagnose broken compilers, and finding out an intuition
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3289 $as_echo_n "checking for C compiler default output file name... " >&6; }
3290 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3292 # The possible output files:
3293 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3296 for ac_file in $ac_files
3299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3300 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3305 if { { ac_try="$ac_link_default"
3307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3308 *) ac_try_echo
=$ac_try;;
3310 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_link_default") 2>&5
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }; then :
3316 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3317 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3318 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3319 # so that the user can short-circuit this test for compilers unknown to
3321 for ac_file
in $ac_files ''
3323 test -f "$ac_file" ||
continue
3325 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3328 # We found the default executable, but exeext='' is most
3332 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3334 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3336 # We set ac_cv_exeext here because the later test for it is not
3337 # safe: cross compilers may not add the suffix if given an `-o'
3338 # argument, so we may need to know it at that point already.
3339 # Even if this section looks crufty: it has the advantage of
3346 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3352 $as_echo "$ac_file" >&6; }
3353 if test -z "$ac_file"; then :
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.
$ac_ext >&5
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 { as_fn_set_status
77
3360 as_fn_error
"C compiler cannot create executables
3361 See \`config.log' for more details." "$LINENO" 5; }; }
3363 ac_exeext
=$ac_cv_exeext
3365 # Check that the compiler produces executables we can run. If not, either
3366 # the compiler is broken, or we cross compile.
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3368 $as_echo_n "checking whether the C compiler works... " >&6; }
3369 # If not cross compiling, check that we can run a simple program.
3370 if test "$cross_compiling" != yes; then
3371 if { ac_try
='./$ac_file'
3372 { { case "(($ac_try" in
3373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377 $as_echo "$ac_try_echo"; } >&5
3378 (eval "$ac_try") 2>&5
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }; }; then
3384 if test "$cross_compiling" = maybe; then
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error "cannot run C compiled programs.
3390 If you meant to cross compile
, use \
`--host'.
3391 See \`config.log
' for more details." "$LINENO" 5; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3396 $as_echo "yes" >&6; }
3398 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3399 ac_clean_files=$ac_clean_files_save
3400 # Check that the compiler produces executables we can run. If not, either
3401 # the compiler is broken, or we cross compile.
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3403 $as_echo_n "checking whether we are cross compiling... " >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3405 $as_echo "$cross_compiling" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3408 $as_echo_n "checking for suffix of executables... " >&6; }
3409 if { { ac_try="$ac_link"
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415 $as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_link") 2>&5
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419 test $ac_status = 0; }; then :
3420 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3421 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3422 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3424 for ac_file
in conftest.exe conftest conftest.
*; do
3425 test -f "$ac_file" ||
continue
3427 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3428 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3437 See \`config.log' for more details." "$LINENO" 5; }
3439 rm -f conftest
$ac_cv_exeext
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3441 $as_echo "$ac_cv_exeext" >&6; }
3443 rm -f conftest.
$ac_ext
3444 EXEEXT
=$ac_cv_exeext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3448 $as_echo_n "checking for suffix of object files... " >&6; }
3449 if test "${ac_cv_objext+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3463 rm -f conftest.o conftest.obj
3464 if { { ac_try
="$ac_compile"
3466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470 $as_echo "$ac_try_echo"; } >&5
3471 (eval "$ac_compile") 2>&5
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }; then :
3475 for ac_file in conftest.o conftest.obj conftest.*; do
3476 test -f "$ac_file" || continue;
3478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3479 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3484 $as_echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489 as_fn_error "cannot compute suffix of object files
: cannot compile
3490 See \
`config.log' for more details." "$LINENO" 5; }
3492 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3495 $as_echo "$ac_cv_objext" >&6; }
3496 OBJEXT=$ac_cv_objext
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3517 if ac_fn_c_try_compile "$LINENO"; then :
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528 if test $ac_compiler_gnu = yes; then
3533 ac_test_CFLAGS=${CFLAGS+set}
3534 ac_save_CFLAGS=$CFLAGS
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3537 if test "${ac_cv_prog_cc_g+set}" = set; then :
3538 $as_echo_n "(cached) " >&6
3540 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3555 if ac_fn_c_try_compile "$LINENO"; then :
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3570 if ac_fn_c_try_compile "$LINENO"; then :
3573 ac_c_werror_flag=$ac_save_c_werror_flag
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 ac_c_werror_flag=$ac_save_c_werror_flag
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597 $as_echo "$ac_cv_prog_cc_g" >&6; }
3598 if test "$ac_test_CFLAGS" = set; then
3599 CFLAGS=$ac_save_CFLAGS
3600 elif test $ac_cv_prog_cc_g = yes; then
3601 if test "$GCC" = yes; then
3607 if test "$GCC" = yes; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3616 $as_echo_n "(cached) " >&6
3618 ac_cv_prog_cc_c89=no
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3624 #include <sys/types.h>
3625 #include <sys/stat.h>
3626 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3627 struct buf { int x; };
3628 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3629 static char *e (p, i)
3635 static char *f (char * (*g) (char **, int), char **p, ...)
3640 s = g (p, va_arg (v,int));
3645 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3646 function prototypes and stuff, but not '\xHH' hex character constants.
3647 These don't provoke an error unfortunately, instead are silently treated
3648 as 'x'. The following induces an error, until -std is added to get
3649 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3650 array size at least. It's necessary to write '\x00'==0 to get something
3651 that's true only with -std. */
3652 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3654 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3655 inside strings and character constants. */
3657 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3659 int test (int i, double x);
3660 struct s1 {int (*f) (int a);};
3661 struct s2 {int (*f) (double a);};
3662 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3668 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3673 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3674 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3676 CC="$ac_save_CC $ac_arg"
3677 if ac_fn_c_try_compile "$LINENO"; then :
3678 ac_cv_prog_cc_c89=$ac_arg
3680 rm -f core conftest.err conftest.$ac_objext
3681 test "x$ac_cv_prog_cc_c89" != "xno" && break
3683 rm -f conftest.$ac_ext
3688 case "x$ac_cv_prog_cc_c89" in
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3691 $as_echo "none needed" >&6; } ;;
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3694 $as_echo "unsupported" >&6; } ;;
3696 CC="$CC $ac_cv_prog_cc_c89"
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3698 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3700 if test "x$ac_cv_prog_cc_c89" != xno; then :
3705 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709 DEPDIR="${am__leading_dot}deps"
3711 ac_config_commands="$ac_config_commands depfiles"
3714 am_make=${MAKE-make}
3715 cat > confinc << 'END'
3717 @echo this is the am__doit target
3720 # If we don't find an include directive, just comment out the code.
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3722 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3726 # First try GNU make style include.
3727 echo "include confinc" > confmf
3728 # Ignore all kinds of additional output from `make'.
3729 case `$am_make -s -f confmf 2> /dev/null` in #(
3730 *the\ am__doit\ target*)
3736 # Now try BSD make style include.
3737 if test "$am__include" = "#"; then
3738 echo '.include
"confinc"' > confmf
3739 case `$am_make -s -f confmf 2> /dev/null` in #(
3740 *the\ am__doit\ target*)
3741 am__include=.include
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3750 $as_echo "$_am_result" >&6; }
3751 rm -f confinc confmf
3753 # Check whether --enable-dependency-tracking was given.
3754 if test "${enable_dependency_tracking+set}" = set; then :
3755 enableval=$enable_dependency_tracking;
3758 if test "x$enable_dependency_tracking" != xno; then
3759 am_depcomp="$ac_aux_dir/depcomp"
3763 if test "x$enable_dependency_tracking" != xno
; then
3773 depcc
="$CC" am_compiler_list
=
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3776 $as_echo_n "checking dependency style of $depcc... " >&6; }
3777 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3781 # We make a subdir and do the tests there. Otherwise we can end up
3782 # making bogus files that we don't know about and never remove. For
3783 # instance it was reported that on HP-UX the gcc test will end up
3784 # making a dummy file named `D' -- because `-MD' means `put the output
3788 # Copy depcomp to subdir because otherwise we won't find it if we're
3789 # using a relative directory.
3790 cp "$am_depcomp" conftest.dir
3792 # We will build objects and dependencies in a subdirectory because
3793 # it helps to detect inapplicable dependency modes. For instance
3794 # both Tru64's cc and ICC support -MD to output dependencies as a
3795 # side effect of compilation, but ICC will put the dependencies in
3796 # the current directory while Tru64 will put them in the object
3800 am_cv_CC_dependencies_compiler_type
=none
3801 if test "$am_compiler_list" = ""; then
3802 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3805 case " $depcc " in #(
3806 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3809 for depmode
in $am_compiler_list; do
3810 # Setup a source with many dependencies, because some compilers
3811 # like to wrap large dependency lists on column 80 (with \), and
3812 # we should not choose a depcomp mode which is confused by this.
3814 # We need to recreate these files for each test, as the compiler may
3815 # overwrite some of them when testing with obscure command lines.
3816 # This happens at least with the AIX C compiler.
3818 for i
in 1 2 3 4 5 6; do
3819 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3820 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3821 # Solaris 8's {/usr,}/bin/sh.
3822 touch sub
/conftst
$i.h
3824 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3826 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3827 # mode. It turns out that the SunPro C++ compiler does not properly
3828 # handle `-M -o', and we need to detect this. Also, some Intel
3829 # versions had trouble with output in subdirs
3830 am__obj
=sub
/conftest.
${OBJEXT-o}
3831 am__minus_obj
="-o $am__obj"
3834 # This depmode causes a compiler race in universal mode.
3835 test "$am__universal" = false ||
continue
3838 # after this tag, mechanisms are not by side-effect, so they'll
3839 # only be used when explicitly requested
3840 if test "x$enable_dependency_tracking" = xyes
; then
3846 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3847 # This compiler won't grok `-c -o', but also, the minuso test has
3848 # not run yet. These depmodes are late enough in the game, and
3849 # so weak that their functioning should not be impacted.
3850 am__obj
=conftest.
${OBJEXT-o}
3855 if depmode
=$depmode \
3856 source=sub
/conftest.c object
=$am__obj \
3857 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3858 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3859 >/dev
/null
2>conftest.err
&&
3860 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3861 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3862 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3863 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3864 # icc doesn't choke on unknown options, it will just issue warnings
3865 # or remarks (even with -Werror). So we grep stderr for any message
3866 # that says an option was ignored or not supported.
3867 # When given -MP, icc 7.0 and 7.1 complain thusly:
3868 # icc: Command line warning: ignoring option '-M'; no argument required
3869 # The diagnosis changed in icc 8.0:
3870 # icc: Command line remark: option '-MP' not supported
3871 if (grep 'ignoring option' conftest.err ||
3872 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3873 am_cv_CC_dependencies_compiler_type
=$depmode
3882 am_cv_CC_dependencies_compiler_type
=none
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3887 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3888 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3891 test "x$enable_dependency_tracking" != xno \
3892 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3894 am__fastdepCC_FALSE
='#'
3896 am__fastdepCC_TRUE
='#'
3897 am__fastdepCC_FALSE
=
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3908 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3913 macro_version
='2.2.7a'
3914 macro_revision
='1.3134'
3928 ltmain
="$ac_aux_dir/ltmain.sh"
3930 # Backslashify metacharacters that are still active within
3931 # double-quoted strings.
3932 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3934 # Same as above, but do not quote variable references.
3935 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3937 # Sed substitution to delay expansion of an escaped shell variable in a
3938 # double_quote_subst'ed string.
3939 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3941 # Sed substitution to delay expansion of an escaped single quote.
3942 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3944 # Sed substitution to avoid accidental globbing in evaled expressions
3945 no_glob_subst
='s/\*/\\\*/g'
3947 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3948 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3949 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3952 $as_echo_n "checking how to print strings... " >&6; }
3953 # Test print first, because it will be a builtin if present.
3954 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
3955 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3957 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3960 # Use this function as a fallback that always works.
3961 func_fallback_echo ()
3963 eval 'cat <<_LTECHO_EOF
3967 ECHO='func_fallback_echo
'
3970 # func_echo_all arg...
3971 # Invoke $ECHO with all args, space-separated.
3978 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3979 $as_echo "printf" >&6; } ;;
3980 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3981 $as_echo "print -r" >&6; } ;;
3982 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3983 $as_echo "cat" >&6; } ;;
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4000 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4001 if test "${ac_cv_path_SED+set}" = set; then :
4002 $as_echo_n "(cached) " >&6
4004 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4005 for ac_i in 1 2 3 4 5 6 7; do
4006 ac_script="$ac_script$as_nl$ac_script"
4008 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4009 { ac_script=; unset ac_script;}
4010 if test -z "$SED"; then
4011 ac_path_SED_found=false
4012 # Loop through the user's path and
test for each of PROGNAME-LIST
4013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4017 test -z "$as_dir" && as_dir
=.
4018 for ac_prog
in sed gsed
; do
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4021 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4022 # Check for GNU ac_path_SED and select it if it is found.
4023 # Check for GNU $ac_path_SED
4024 case `"$ac_path_SED" --version 2>&1` in
4026 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4029 $as_echo_n 0123456789 >"conftest.in"
4032 cat "conftest.in" "conftest.in" >"conftest.tmp"
4033 mv "conftest.tmp" "conftest.in"
4034 cp "conftest.in" "conftest.nl"
4035 $as_echo '' >> "conftest.nl"
4036 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4037 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4038 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4039 if test $ac_count -gt ${ac_path_SED_max-0}; then
4040 # Best one so far, save it but keep looking for a better one
4041 ac_cv_path_SED
="$ac_path_SED"
4042 ac_path_SED_max
=$ac_count
4044 # 10*(2^10) chars as input seems more than enough
4045 test $ac_count -gt 10 && break
4047 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4050 $ac_path_SED_found && break 3
4055 if test -z "$ac_cv_path_SED"; then
4056 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4064 $as_echo "$ac_cv_path_SED" >&6; }
4065 SED
="$ac_cv_path_SED"
4068 test -z "$SED" && SED
=sed
4069 Xsed
="$SED -e 1s/^X//"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4082 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4083 if test "${ac_cv_path_GREP+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4086 if test -z "$GREP"; then
4087 ac_path_GREP_found
=false
4088 # Loop through the user's path and test for each of PROGNAME-LIST
4089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4093 test -z "$as_dir" && as_dir
=.
4094 for ac_prog
in grep ggrep
; do
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4097 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4098 # Check for GNU ac_path_GREP and select it if it is found.
4099 # Check for GNU $ac_path_GREP
4100 case `"$ac_path_GREP" --version 2>&1` in
4102 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4105 $as_echo_n 0123456789 >"conftest.in"
4108 cat "conftest.in" "conftest.in" >"conftest.tmp"
4109 mv "conftest.tmp" "conftest.in"
4110 cp "conftest.in" "conftest.nl"
4111 $as_echo 'GREP' >> "conftest.nl"
4112 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4113 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4114 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4115 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4116 # Best one so far, save it but keep looking for a better one
4117 ac_cv_path_GREP
="$ac_path_GREP"
4118 ac_path_GREP_max
=$ac_count
4120 # 10*(2^10) chars as input seems more than enough
4121 test $ac_count -gt 10 && break
4123 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4126 $ac_path_GREP_found && break 3
4131 if test -z "$ac_cv_path_GREP"; then
4132 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4135 ac_cv_path_GREP
=$GREP
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4140 $as_echo "$ac_cv_path_GREP" >&6; }
4141 GREP
="$ac_cv_path_GREP"
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4145 $as_echo_n "checking for egrep... " >&6; }
4146 if test "${ac_cv_path_EGREP+set}" = set; then :
4147 $as_echo_n "(cached) " >&6
4149 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4150 then ac_cv_path_EGREP
="$GREP -E"
4152 if test -z "$EGREP"; then
4153 ac_path_EGREP_found
=false
4154 # Loop through the user's path and test for each of PROGNAME-LIST
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_prog
in egrep; do
4161 for ac_exec_ext
in '' $ac_executable_extensions; do
4162 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4163 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4164 # Check for GNU ac_path_EGREP and select it if it is found.
4165 # Check for GNU $ac_path_EGREP
4166 case `"$ac_path_EGREP" --version 2>&1` in
4168 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4171 $as_echo_n 0123456789 >"conftest.in"
4174 cat "conftest.in" "conftest.in" >"conftest.tmp"
4175 mv "conftest.tmp" "conftest.in"
4176 cp "conftest.in" "conftest.nl"
4177 $as_echo 'EGREP' >> "conftest.nl"
4178 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4179 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4180 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4181 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4182 # Best one so far, save it but keep looking for a better one
4183 ac_cv_path_EGREP
="$ac_path_EGREP"
4184 ac_path_EGREP_max
=$ac_count
4186 # 10*(2^10) chars as input seems more than enough
4187 test $ac_count -gt 10 && break
4189 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4192 $ac_path_EGREP_found && break 3
4197 if test -z "$ac_cv_path_EGREP"; then
4198 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4201 ac_cv_path_EGREP
=$EGREP
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4207 $as_echo "$ac_cv_path_EGREP" >&6; }
4208 EGREP
="$ac_cv_path_EGREP"
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4212 $as_echo_n "checking for fgrep... " >&6; }
4213 if test "${ac_cv_path_FGREP+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4216 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4217 then ac_cv_path_FGREP
="$GREP -F"
4219 if test -z "$FGREP"; then
4220 ac_path_FGREP_found
=false
4221 # Loop through the user's path and test for each of PROGNAME-LIST
4222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4226 test -z "$as_dir" && as_dir
=.
4227 for ac_prog
in fgrep
; do
4228 for ac_exec_ext
in '' $ac_executable_extensions; do
4229 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4230 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4231 # Check for GNU ac_path_FGREP and select it if it is found.
4232 # Check for GNU $ac_path_FGREP
4233 case `"$ac_path_FGREP" --version 2>&1` in
4235 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4238 $as_echo_n 0123456789 >"conftest.in"
4241 cat "conftest.in" "conftest.in" >"conftest.tmp"
4242 mv "conftest.tmp" "conftest.in"
4243 cp "conftest.in" "conftest.nl"
4244 $as_echo 'FGREP' >> "conftest.nl"
4245 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4246 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4247 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4248 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4249 # Best one so far, save it but keep looking for a better one
4250 ac_cv_path_FGREP
="$ac_path_FGREP"
4251 ac_path_FGREP_max
=$ac_count
4253 # 10*(2^10) chars as input seems more than enough
4254 test $ac_count -gt 10 && break
4256 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4259 $ac_path_FGREP_found && break 3
4264 if test -z "$ac_cv_path_FGREP"; then
4265 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4268 ac_cv_path_FGREP
=$FGREP
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4274 $as_echo "$ac_cv_path_FGREP" >&6; }
4275 FGREP
="$ac_cv_path_FGREP"
4278 test -z "$GREP" && GREP
=grep
4298 # Check whether --with-gnu-ld was given.
4299 if test "${with_gnu_ld+set}" = set; then :
4300 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4306 if test "$GCC" = yes; then
4307 # Check if gcc -print-prog-name=ld gives a path.
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4309 $as_echo_n "checking for ld used by $CC... " >&6; }
4312 # gcc leaves a trailing carriage return which upsets mingw
4313 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4315 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4318 # Accept absolute paths.
4320 re_direlt
='/[^/][^/]*/\.\./'
4321 # Canonicalize the pathname of ld
4322 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4323 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4324 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4326 test -z "$LD" && LD
="$ac_prog"
4329 # If it fails, then pretend we aren't using GCC.
4333 # If it is relative, then search for the first ld in PATH.
4337 elif test "$with_gnu_ld" = yes; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4339 $as_echo_n "checking for GNU ld... " >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4342 $as_echo_n "checking for non-GNU ld... " >&6; }
4344 if test "${lt_cv_path_LD+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -z "$LD"; then
4348 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4349 for ac_dir
in $PATH; do
4351 test -z "$ac_dir" && ac_dir
=.
4352 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4353 lt_cv_path_LD
="$ac_dir/$ac_prog"
4354 # Check to see if the program is GNU ld. I'd rather use --version,
4355 # but apparently some variants of GNU ld only accept -v.
4356 # Break only if it was the GNU/non-GNU ld that we prefer.
4357 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4358 *GNU
* |
*'with BFD'*)
4359 test "$with_gnu_ld" != no
&& break
4362 test "$with_gnu_ld" != yes && break
4369 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4374 if test -n "$LD"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4376 $as_echo "$LD" >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4381 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4383 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4384 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4388 case `$LD -v 2>&1 </dev/null` in
4389 *GNU
* |
*'with BFD'*)
4390 lt_cv_prog_gnu_ld
=yes
4393 lt_cv_prog_gnu_ld
=no
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4398 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4399 with_gnu_ld
=$lt_cv_prog_gnu_ld
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4410 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4411 if test "${lt_cv_path_NM+set}" = set; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$NM"; then
4415 # Let the user override the test.
4418 lt_nm_to_check
="${ac_tool_prefix}nm"
4419 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4420 lt_nm_to_check
="$lt_nm_to_check nm"
4422 for lt_tmp_nm
in $lt_nm_to_check; do
4423 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4424 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4426 test -z "$ac_dir" && ac_dir
=.
4427 tmp_nm
="$ac_dir/$lt_tmp_nm"
4428 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4429 # Check to see if the nm accepts a BSD-compat flag.
4430 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4431 # nm: unknown option "B" ignored
4432 # Tru64's nm complains that /dev/null is an invalid object file
4433 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4434 */dev
/null
* |
*'Invalid file or object type'*)
4435 lt_cv_path_NM
="$tmp_nm -B"
4439 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4441 lt_cv_path_NM
="$tmp_nm -p"
4445 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4446 continue # so that we can try to find one that supports BSD flags
4455 : ${lt_cv_path_NM=no}
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4459 $as_echo "$lt_cv_path_NM" >&6; }
4460 if test "$lt_cv_path_NM" != "no"; then
4463 # Didn't find any BSD compatible name lister, look for dumpbin.
4464 if test -n "$DUMPBIN"; then :
4465 # Let the user override the test.
4467 if test -n "$ac_tool_prefix"; then
4468 for ac_prog
in dumpbin
"link -dump"
4470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4471 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4477 if test -n "$DUMPBIN"; then
4478 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 DUMPBIN
=$ac_cv_prog_DUMPBIN
4498 if test -n "$DUMPBIN"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4500 $as_echo "$DUMPBIN" >&6; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4507 test -n "$DUMPBIN" && break
4510 if test -z "$DUMPBIN"; then
4511 ac_ct_DUMPBIN
=$DUMPBIN
4512 for ac_prog
in dumpbin
"link -dump"
4514 # Extract the first word of "$ac_prog", so it can be a program name with args.
4515 set dummy
$ac_prog; ac_word
=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -n "$ac_ct_DUMPBIN"; then
4522 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir
=.
4529 for ac_exec_ext
in '' $ac_executable_extensions; do
4530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4531 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4542 if test -n "$ac_ct_DUMPBIN"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4544 $as_echo "$ac_ct_DUMPBIN" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4551 test -n "$ac_ct_DUMPBIN" && break
4554 if test "x$ac_ct_DUMPBIN" = x
; then
4557 case $cross_compiling:$ac_tool_warned in
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561 ac_tool_warned
=yes ;;
4563 DUMPBIN
=$ac_ct_DUMPBIN
4567 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4569 DUMPBIN
="$DUMPBIN -symbols"
4577 if test "$DUMPBIN" != ":"; then
4581 test -z "$NM" && NM
=nm
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4589 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4590 if test "${lt_cv_nm_interface+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 lt_cv_nm_interface
="BSD nm"
4594 echo "int some_variable = 0;" > conftest.
$ac_ext
4595 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4596 (eval "$ac_compile" 2>conftest.err
)
4597 cat conftest.err
>&5
4598 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4599 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4600 cat conftest.err
>&5
4601 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4602 cat conftest.out
>&5
4603 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4604 lt_cv_nm_interface
="MS dumpbin"
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4609 $as_echo "$lt_cv_nm_interface" >&6; }
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4612 $as_echo_n "checking whether ln -s works... " >&6; }
4614 if test "$LN_S" = "ln -s"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4616 $as_echo "yes" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4619 $as_echo "no, using $LN_S" >&6; }
4622 # find the maximum length of command line arguments
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4624 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4625 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4626 $as_echo_n "(cached) " >&6
4633 # On DJGPP, this test can blow up pretty badly due to problems in libc
4634 # (any single argument exceeding 2000 bytes causes a buffer overrun
4635 # during glob expansion). Even if it were fixed, the result of this
4636 # check would be larger than it should be.
4637 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4641 # Under GNU Hurd, this test is not required because there is
4642 # no limit to the length of command line arguments.
4643 # Libtool will interpret -1 as no limit whatsoever
4644 lt_cv_sys_max_cmd_len
=-1;
4647 cygwin
* | mingw
* | cegcc
*)
4648 # On Win9x/ME, this test blows up -- it succeeds, but takes
4649 # about 5 minutes as the teststring grows exponentially.
4650 # Worse, since 9x/ME are not pre-emptively multitasking,
4651 # you end up with a "frozen" computer, even though with patience
4652 # the test eventually succeeds (with a max line length of 256k).
4653 # Instead, let's just punt: use the minimum linelength reported by
4654 # all of the supported platforms: 8192 (on NT/2K/XP).
4655 lt_cv_sys_max_cmd_len
=8192;
4659 # On MiNT this can take a long time and run out of memory.
4660 lt_cv_sys_max_cmd_len
=8192;
4664 # On AmigaOS with pdksh, this test takes hours, literally.
4665 # So we just punt and use a minimum line length of 8192.
4666 lt_cv_sys_max_cmd_len
=8192;
4669 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4670 # This has been around since 386BSD, at least. Likely further.
4671 if test -x /sbin
/sysctl
; then
4672 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4673 elif test -x /usr
/sbin
/sysctl
; then
4674 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4676 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4678 # And add a safety zone
4679 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4680 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4684 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4685 lt_cv_sys_max_cmd_len
=196608
4689 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4690 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4691 # nice to cause kernel panics so lets avoid the loop below.
4692 # First set a reasonable default.
4693 lt_cv_sys_max_cmd_len
=16384
4695 if test -x /sbin
/sysconfig
; then
4696 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4697 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4702 lt_cv_sys_max_cmd_len
=102400
4704 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4705 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4706 if test -n "$kargmax"; then
4707 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4709 lt_cv_sys_max_cmd_len
=32768
4713 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4714 if test -n "$lt_cv_sys_max_cmd_len"; then
4715 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4716 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4718 # Make teststring a little bigger before we do anything with it.
4719 # a 1K string should be a reasonable start.
4720 for i
in 1 2 3 4 5 6 7 8 ; do
4721 teststring
=$teststring$teststring
4723 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4724 # If test is not a shell built-in, we'll probably end up computing a
4725 # maximum length that is only half of the actual maximum length, but
4727 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4728 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4729 test $i != 17 # 1/2 MB should be enough
4732 teststring
=$teststring$teststring
4734 # Only check the string length outside the loop.
4735 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4737 # Add a significant safety factor because C++ compilers can tack on
4738 # massive amounts of additional arguments before passing them to the
4739 # linker. It appears as though 1/2 is a usable value.
4740 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4747 if test -n $lt_cv_sys_max_cmd_len ; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4749 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4752 $as_echo "none" >&6; }
4754 max_cmd_len
=$lt_cv_sys_max_cmd_len
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4766 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4767 # Try some XSI features
4770 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4772 && eval 'test $(( 1 + 1 )) -eq 2 \
4773 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4776 $as_echo "$xsi_shell" >&6; }
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4780 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4782 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4784 && lt_shell_append=yes
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4786 $as_echo "$lt_shell_append" >&6; }
4789 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4799 # test EBCDIC or ASCII
4800 case `echo X|tr X '\101'` in
4801 A) # ASCII based system
4802 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4803 lt_SP2NL='tr \040 \012'
4804 lt_NL2SP='tr \015\012 \040\040'
4806 *) # EBCDIC based system
4807 lt_SP2NL='tr \100 \n'
4808 lt_NL2SP='tr \r\n \100\100'
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4821 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4822 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4823 $as_echo_n "(cached
) " >&6
4825 lt_cv_ld_reload_flag='-r'
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4828 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4829 reload_flag=$lt_cv_ld_reload_flag
4830 case $reload_flag in
4832 *) reload_flag=" $reload_flag" ;;
4834 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4837 if test "$GCC" = yes; then
4838 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4840 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4853 if test -n "$ac_tool_prefix"; then
4854 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4855 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4857 $as_echo_n "checking
for $ac_word...
" >&6; }
4858 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4859 $as_echo_n "(cached
) " >&6
4861 if test -n "$OBJDUMP"; then
4862 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 test -z "$as_dir" && as_dir=.
4869 for ac_exec_ext in '' $ac_executable_extensions; do
4870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4871 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4881 OBJDUMP=$ac_cv_prog_OBJDUMP
4882 if test -n "$OBJDUMP"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4884 $as_echo "$OBJDUMP" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4887 $as_echo "no
" >&6; }
4892 if test -z "$ac_cv_prog_OBJDUMP"; then
4893 ac_ct_OBJDUMP=$OBJDUMP
4894 # Extract the first word of "objdump
", so it can be a program name with args.
4895 set dummy objdump; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4897 $as_echo_n "checking
for $ac_word...
" >&6; }
4898 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4899 $as_echo_n "(cached
) " >&6
4901 if test -n "$ac_ct_OBJDUMP"; then
4902 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4921 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4922 if test -n "$ac_ct_OBJDUMP"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4924 $as_echo "$ac_ct_OBJDUMP" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4927 $as_echo "no
" >&6; }
4930 if test "x
$ac_ct_OBJDUMP" = x; then
4933 case $cross_compiling:$ac_tool_warned in
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4936 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4937 ac_tool_warned=yes ;;
4939 OBJDUMP=$ac_ct_OBJDUMP
4942 OBJDUMP="$ac_cv_prog_OBJDUMP"
4945 test -z "$OBJDUMP" && OBJDUMP=objdump
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4956 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4957 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4958 $as_echo_n "(cached
) " >&6
4960 lt_cv_file_magic_cmd='$MAGIC_CMD'
4961 lt_cv_file_magic_test_file=
4962 lt_cv_deplibs_check_method='unknown'
4963 # Need to set the preceding variable on all platforms that support
4964 # interlibrary dependencies.
4965 # 'none' -- dependencies not supported.
4966 # `unknown' -- same as none, but documents that we really don't know.
4967 # 'pass_all' -- all dependencies passed with no checks.
4968 # 'test_compile' -- check by making test program.
4969 # 'file_magic [[regex]]' -- check by looking for files in library path
4970 # which responds to the $file_magic_cmd with a given extended regex.
4971 # If you have `file' or equivalent on your system and you're not sure
4972 # whether `pass_all' will *always* work, you probably want this one.
4976 lt_cv_deplibs_check_method=pass_all
4980 lt_cv_deplibs_check_method=pass_all
4984 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4985 lt_cv_file_magic_cmd='/usr/bin/file -L'
4986 lt_cv_file_magic_test_file=/shlib/libc.so
4990 # func_win32_libid is a shell function defined in ltmain.sh
4991 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4992 lt_cv_file_magic_cmd='func_win32_libid'
4996 # Base MSYS/MinGW do not provide the 'file' command needed by
4997 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4998 # unless we find 'file', for example because we are cross-compiling.
4999 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5000 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5001 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5002 lt_cv_file_magic_cmd='func_win32_libid'
5004 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5005 lt_cv_file_magic_cmd='$OBJDUMP -f'
5010 # use the weaker test based on 'objdump'. See mingw*.
5011 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5012 lt_cv_file_magic_cmd='$OBJDUMP -f'
5015 darwin* | rhapsody*)
5016 lt_cv_deplibs_check_method=pass_all
5019 freebsd* | dragonfly*)
5020 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5023 # Not sure whether the presence of OpenBSD here was a mistake.
5024 # Let's accept both of them until this is cleared up.
5025 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5026 lt_cv_file_magic_cmd=/usr/bin/file
5027 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5031 lt_cv_deplibs_check_method=pass_all
5036 lt_cv_deplibs_check_method=pass_all
5040 lt_cv_deplibs_check_method=pass_all
5043 hpux10.20* | hpux11*)
5044 lt_cv_file_magic_cmd=/usr/bin/file
5047 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5048 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5051 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]'
5052 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5055 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5056 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5062 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5063 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5066 irix5* | irix6* | nonstopux*)
5068 *-32|*"-32 ") libmagic=32-bit;;
5069 *-n32|*"-n32 ") libmagic=N32;;
5070 *-64|*"-64 ") libmagic=64-bit;;
5071 *) libmagic=never-match;;
5073 lt_cv_deplibs_check_method=pass_all
5076 # This must be Linux ELF.
5077 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5078 lt_cv_deplibs_check_method=pass_all
5082 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5083 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5085 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5090 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5091 lt_cv_file_magic_cmd=/usr/bin/file
5092 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5096 lt_cv_deplibs_check_method=pass_all
5100 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5101 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5103 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5107 osf3* | osf4* | osf5*)
5108 lt_cv_deplibs_check_method=pass_all
5112 lt_cv_deplibs_check_method=pass_all
5116 lt_cv_deplibs_check_method=pass_all
5119 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5120 lt_cv_deplibs_check_method=pass_all
5124 case $host_vendor in
5126 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]'
5127 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5130 lt_cv_deplibs_check_method=pass_all
5133 lt_cv_file_magic_cmd='/bin/file'
5134 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5137 lt_cv_file_magic_cmd='/bin/file'
5138 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5139 lt_cv_file_magic_test_file=/lib/libc.so
5142 lt_cv_deplibs_check_method=pass_all
5145 lt_cv_deplibs_check_method=pass_all
5151 lt_cv_deplibs_check_method=pass_all
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5157 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5158 file_magic_cmd=$lt_cv_file_magic_cmd
5159 deplibs_check_method=$lt_cv_deplibs_check_method
5160 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5173 if test -n "$ac_tool_prefix"; then
5174 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5175 set dummy ${ac_tool_prefix}ar; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5177 $as_echo_n "checking
for $ac_word...
" >&6; }
5178 if test "${ac_cv_prog_AR+set}" = set; then :
5179 $as_echo_n "(cached
) " >&6
5181 if test -n "$AR"; then
5182 ac_cv_prog_AR="$AR" # Let the user override the test.
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 ac_cv_prog_AR="${ac_tool_prefix}ar"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5202 if test -n "$AR"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5204 $as_echo "$AR" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5207 $as_echo "no
" >&6; }
5212 if test -z "$ac_cv_prog_AR"; then
5214 # Extract the first word of "ar", so it can be a program name with args.
5215 set dummy ar; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5217 $as_echo_n "checking
for $ac_word...
" >&6; }
5218 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5219 $as_echo_n "(cached
) " >&6
5221 if test -n "$ac_ct_AR"; then
5222 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231 ac_cv_prog_ac_ct_AR="ar"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5241 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5242 if test -n "$ac_ct_AR"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5244 $as_echo "$ac_ct_AR" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5247 $as_echo "no
" >&6; }
5250 if test "x
$ac_ct_AR" = x; then
5253 case $cross_compiling:$ac_tool_warned in
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5256 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5257 ac_tool_warned=yes ;;
5265 test -z "$AR" && AR=ar
5266 test -z "$AR_FLAGS" && AR_FLAGS=cru
5278 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5280 set dummy ${ac_tool_prefix}strip; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5282 $as_echo_n "checking
for $ac_word...
" >&6; }
5283 if test "${ac_cv_prog_STRIP+set}" = set; then :
5284 $as_echo_n "(cached
) " >&6
5286 if test -n "$STRIP"; then
5287 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5296 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5306 STRIP=$ac_cv_prog_STRIP
5307 if test -n "$STRIP"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5309 $as_echo "$STRIP" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5312 $as_echo "no
" >&6; }
5317 if test -z "$ac_cv_prog_STRIP"; then
5319 # Extract the first word of "strip
", so it can be a program name with args.
5320 set dummy strip; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5322 $as_echo_n "checking
for $ac_word...
" >&6; }
5323 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5324 $as_echo_n "(cached
) " >&6
5326 if test -n "$ac_ct_STRIP"; then
5327 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336 ac_cv_prog_ac_ct_STRIP="strip
"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5346 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5347 if test -n "$ac_ct_STRIP"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5349 $as_echo "$ac_ct_STRIP" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5352 $as_echo "no
" >&6; }
5355 if test "x
$ac_ct_STRIP" = x; then
5358 case $cross_compiling:$ac_tool_warned in
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5361 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5362 ac_tool_warned=yes ;;
5367 STRIP="$ac_cv_prog_STRIP"
5370 test -z "$STRIP" && STRIP=:
5377 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5379 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5381 $as_echo_n "checking
for $ac_word...
" >&6; }
5382 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5383 $as_echo_n "(cached
) " >&6
5385 if test -n "$RANLIB"; then
5386 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5405 RANLIB=$ac_cv_prog_RANLIB
5406 if test -n "$RANLIB"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5408 $as_echo "$RANLIB" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5411 $as_echo "no
" >&6; }
5416 if test -z "$ac_cv_prog_RANLIB"; then
5417 ac_ct_RANLIB=$RANLIB
5418 # Extract the first word of "ranlib
", so it can be a program name with args.
5419 set dummy ranlib; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5421 $as_echo_n "checking
for $ac_word...
" >&6; }
5422 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5423 $as_echo_n "(cached
) " >&6
5425 if test -n "$ac_ct_RANLIB"; then
5426 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5435 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5445 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5446 if test -n "$ac_ct_RANLIB"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5448 $as_echo "$ac_ct_RANLIB" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5451 $as_echo "no
" >&6; }
5454 if test "x
$ac_ct_RANLIB" = x; then
5457 case $cross_compiling:$ac_tool_warned in
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5460 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5461 ac_tool_warned=yes ;;
5463 RANLIB=$ac_ct_RANLIB
5466 RANLIB="$ac_cv_prog_RANLIB"
5469 test -z "$RANLIB" && RANLIB=:
5476 # Determine commands to create old-style static archives.
5477 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5478 old_postinstall_cmds='chmod 644 $oldlib'
5479 old_postuninstall_cmds=
5481 if test -n "$RANLIB"; then
5484 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5487 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5490 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5495 lock_old_archive_extraction=yes ;;
5497 lock_old_archive_extraction=no ;;
5538 # If no C compiler was specified, use CC.
5541 # If no C compiler flags were specified, use CFLAGS.
5542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5544 # Allow CC to be a program name with arguments.
5548 # Check for command to grab the raw symbol name followed by C symbol from nm.
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5550 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5551 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5552 $as_echo_n "(cached
) " >&6
5555 # These are sane defaults that work on at least a few old systems.
5556 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5558 # Character class describing NM global symbol codes.
5559 symcode='[BCDEGRST]'
5561 # Regexp to match symbols that can be accessed directly from C.
5562 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5564 # Define system-specific variables.
5569 cygwin* | mingw* | pw32* | cegcc*)
5570 symcode='[ABCDGISTW]'
5573 if test "$host_cpu" = ia64; then
5574 symcode='[ABCDEGRST]'
5578 symcode='[BCDEGRST]'
5581 symcode='[BCDEGQRST]'
5592 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5600 # If we're using GNU nm, then use its standard symbol codes.
5601 case `$NM -V 2>&1` in
5602 *GNU* | *'with BFD'*)
5603 symcode='[ABCDGIRSTW]' ;;
5606 # Transform an extracted symbol line into a proper C declaration.
5607 # Some systems (esp. on ia64) link data and code symbols differently,
5608 # so use this general approach.
5609 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5611 # Transform an extracted symbol line into symbol name and symbol address
5612 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5613 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'"
5615 # Handle CRLF in mingw tool chain
5619 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5623 # Try without a prefix underscore, then with it.
5624 for ac_symprfx in "" "_
"; do
5626 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5627 symxfrm="\\1 $ac_symprfx\\2 \\2"
5629 # Write the raw and C identifiers.
5630 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5631 # Fake it for dumpbin and say T for any non-static function
5632 # and D for any global variable.
5633 # Also find C++ and __fastcall symbols from MSVC++,
5634 # which start with @ or ?.
5635 lt_cv_sys_global_symbol_pipe="$AWK '"\
5636 " {last_section=section; section=\$ 3};"\
5637 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5638 " \$ 0!~/External *\|/{next};"\
5639 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5640 " {if(hide[section]) next};"\
5641 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5642 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5643 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5644 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5645 " ' prfx
=^
$ac_symprfx"
5647 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5650 # Check to see that the pipe works correctly.
5654 cat > conftest.$ac_ext <<_LT_EOF
5659 void nm_test_func(void);
5660 void nm_test_func(void){}
5664 int main(){nm_test_var='a';nm_test_func();return(0);}
5667 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5668 (eval $ac_compile) 2>&5
5670 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5671 test $ac_status = 0; }; then
5672 # Now try to grab the symbols.
5674 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5675 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5678 test $ac_status = 0; } && test -s "$nlist"; then
5679 # Try sorting and uniquifying the output.
5680 if sort "$nlist" | uniq > "$nlist"T; then
5681 mv -f "$nlist"T "$nlist"
5686 # Make sure that we snagged all the symbols we need.
5687 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5688 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5689 cat <<_LT_EOF > conftest.$ac_ext
5695 # Now generate the symbol file.
5696 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5698 cat <<_LT_EOF >> conftest.$ac_ext
5700 /* The mapping between symbol names and symbols. */
5705 lt__PROGRAM__LTX_preloaded_symbols[] =
5707 { "@PROGRAM@
", (void *) 0 },
5709 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5710 cat <<\_LT_EOF >> conftest.$ac_ext
5714 /* This works around a problem in FreeBSD linker */
5715 #ifdef FREEBSD_WORKAROUND
5716 static const void *lt_preloaded_setup() {
5717 return lt__PROGRAM__LTX_preloaded_symbols;
5725 # Now try linking the two files.
5726 mv conftest.$ac_objext conftstm.$ac_objext
5727 lt_save_LIBS="$LIBS"
5728 lt_save_CFLAGS="$CFLAGS"
5729 LIBS="conftstm.
$ac_objext"
5730 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5731 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5732 (eval $ac_link) 2>&5
5734 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5735 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5738 LIBS="$lt_save_LIBS"
5739 CFLAGS="$lt_save_CFLAGS"
5741 echo "cannot
find nm_test_func
in $nlist" >&5
5744 echo "cannot
find nm_test_var
in $nlist" >&5
5747 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5750 echo "$progname: failed program was
:" >&5
5751 cat conftest.$ac_ext >&5
5753 rm -rf conftest* conftst*
5755 # Do not use the global_symbol_pipe unless it works.
5756 if test "$pipe_works" = yes; then
5759 lt_cv_sys_global_symbol_pipe=
5765 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5766 lt_cv_sys_global_symbol_to_cdecl=
5768 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5770 $as_echo "failed
" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5773 $as_echo "ok
" >&6; }
5798 # Check whether --enable-libtool-lock was given.
5799 if test "${enable_libtool_lock+set}" = set; then :
5800 enableval=$enable_libtool_lock;
5803 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5805 # Some flags need to be propagated to the compiler or linker for good
5809 # Find out which ABI we are using.
5810 echo 'int i;' > conftest.$ac_ext
5811 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5812 (eval $ac_compile) 2>&5
5814 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5815 test $ac_status = 0; }; then
5816 case `/usr/bin/file conftest.$ac_objext` in
5828 # Find out which ABI we are using.
5829 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5830 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5831 (eval $ac_compile) 2>&5
5833 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5834 test $ac_status = 0; }; then
5835 if test "$lt_cv_prog_gnu_ld" = yes; then
5836 case `/usr/bin/file conftest.$ac_objext` in
5838 LD="${LD-ld} -melf32bsmip"
5841 LD="${LD-ld} -melf32bmipn32"
5844 LD="${LD-ld} -melf64bmip"
5848 case `/usr/bin/file conftest.$ac_objext` in
5864 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
5865 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5866 # Find out which ABI we are using.
5867 echo 'int i;' > conftest.$ac_ext
5868 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5869 (eval $ac_compile) 2>&5
5871 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5872 test $ac_status = 0; }; then
5873 case `/usr/bin/file conftest.o` in
5876 x86_64-*kfreebsd*-gnu)
5877 LD="${LD-ld} -m elf_i386_fbsd
"
5880 case `/usr/bin/file conftest.o` in
5882 LD="${LD-ld} -m elf32_x86_64
"
5885 LD="${LD-ld} -m elf_i386
"
5889 powerpc64le-*linux*)
5890 LD="${LD-ld} -m elf32lppclinux
"
5893 LD="${LD-ld} -m elf32ppclinux
"
5896 LD="${LD-ld} -m elf_s390
"
5899 LD="${LD-ld} -m elf32_sparc
"
5905 x86_64-*kfreebsd*-gnu)
5906 LD="${LD-ld} -m elf_x86_64_fbsd
"
5909 LD="${LD-ld} -m elf_x86_64
"
5912 LD="${LD-ld} -m elf64lppc
"
5915 LD="${LD-ld} -m elf64ppc
"
5917 s390*-*linux*|s390*-*tpf*)
5918 LD="${LD-ld} -m elf64_s390
"
5921 LD="${LD-ld} -m elf64_sparc
"
5931 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5932 SAVE_CFLAGS="$CFLAGS"
5933 CFLAGS="$CFLAGS -belf"
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5935 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5936 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5937 $as_echo_n "(cached
) " >&6
5940 ac_cpp='$CPP $CPPFLAGS'
5941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5945 if test x$gcc_no_link = xyes; then
5946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
5948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5959 if ac_fn_c_try_link "$LINENO"; then :
5960 lt_cv_cc_needs_belf=yes
5962 lt_cv_cc_needs_belf=no
5964 rm -f core conftest.err conftest.$ac_objext \
5965 conftest$ac_exeext conftest.$ac_ext
5967 ac_cpp='$CPP $CPPFLAGS'
5968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5974 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5975 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5976 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5977 CFLAGS="$SAVE_CFLAGS"
5981 # Find out which ABI we are using.
5982 echo 'int i;' > conftest.$ac_ext
5983 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5984 (eval $ac_compile) 2>&5
5986 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5987 test $ac_status = 0; }; then
5988 case `/usr/bin/file conftest.o` in
5990 case $lt_cv_prog_gnu_ld in
5991 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5993 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6005 need_locks="$enable_libtool_lock"
6009 rhapsody* | darwin*)
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6014 $as_echo_n "checking
for $ac_word...
" >&6; }
6015 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6016 $as_echo_n "(cached
) " >&6
6018 if test -n "$DSYMUTIL"; then
6019 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6038 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6039 if test -n "$DSYMUTIL"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6041 $as_echo "$DSYMUTIL" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6044 $as_echo "no
" >&6; }
6049 if test -z "$ac_cv_prog_DSYMUTIL"; then
6050 ac_ct_DSYMUTIL=$DSYMUTIL
6051 # Extract the first word of "dsymutil
", so it can be a program name with args.
6052 set dummy dsymutil; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6054 $as_echo_n "checking
for $ac_word...
" >&6; }
6055 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6056 $as_echo_n "(cached
) " >&6
6058 if test -n "$ac_ct_DSYMUTIL"; then
6059 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6068 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6078 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6079 if test -n "$ac_ct_DSYMUTIL"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6081 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6084 $as_echo "no
" >&6; }
6087 if test "x
$ac_ct_DSYMUTIL" = x; then
6090 case $cross_compiling:$ac_tool_warned in
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6093 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6094 ac_tool_warned=yes ;;
6096 DSYMUTIL=$ac_ct_DSYMUTIL
6099 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6106 $as_echo_n "checking
for $ac_word...
" >&6; }
6107 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6108 $as_echo_n "(cached
) " >&6
6110 if test -n "$NMEDIT"; then
6111 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6130 NMEDIT=$ac_cv_prog_NMEDIT
6131 if test -n "$NMEDIT"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6133 $as_echo "$NMEDIT" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6136 $as_echo "no
" >&6; }
6141 if test -z "$ac_cv_prog_NMEDIT"; then
6142 ac_ct_NMEDIT=$NMEDIT
6143 # Extract the first word of "nmedit
", so it can be a program name with args.
6144 set dummy nmedit; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6146 $as_echo_n "checking
for $ac_word...
" >&6; }
6147 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6148 $as_echo_n "(cached
) " >&6
6150 if test -n "$ac_ct_NMEDIT"; then
6151 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6171 if test -n "$ac_ct_NMEDIT"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6173 $as_echo "$ac_ct_NMEDIT" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6176 $as_echo "no
" >&6; }
6179 if test "x
$ac_ct_NMEDIT" = x; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6185 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6186 ac_tool_warned=yes ;;
6188 NMEDIT=$ac_ct_NMEDIT
6191 NMEDIT="$ac_cv_prog_NMEDIT"
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6198 $as_echo_n "checking
for $ac_word...
" >&6; }
6199 if test "${ac_cv_prog_LIPO+set}" = set; then :
6200 $as_echo_n "(cached
) " >&6
6202 if test -n "$LIPO"; then
6203 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6222 LIPO=$ac_cv_prog_LIPO
6223 if test -n "$LIPO"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6225 $as_echo "$LIPO" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6228 $as_echo "no
" >&6; }
6233 if test -z "$ac_cv_prog_LIPO"; then
6235 # Extract the first word of "lipo
", so it can be a program name with args.
6236 set dummy lipo; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6238 $as_echo_n "checking
for $ac_word...
" >&6; }
6239 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6240 $as_echo_n "(cached
) " >&6
6242 if test -n "$ac_ct_LIPO"; then
6243 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252 ac_cv_prog_ac_ct_LIPO="lipo
"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6262 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6263 if test -n "$ac_ct_LIPO"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6265 $as_echo "$ac_ct_LIPO" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6268 $as_echo "no
" >&6; }
6271 if test "x
$ac_ct_LIPO" = x; then
6274 case $cross_compiling:$ac_tool_warned in
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6278 ac_tool_warned=yes ;;
6283 LIPO="$ac_cv_prog_LIPO"
6286 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6288 set dummy ${ac_tool_prefix}otool; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6290 $as_echo_n "checking
for $ac_word...
" >&6; }
6291 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6292 $as_echo_n "(cached
) " >&6
6294 if test -n "$OTOOL"; then
6295 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6314 OTOOL=$ac_cv_prog_OTOOL
6315 if test -n "$OTOOL"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6317 $as_echo "$OTOOL" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6320 $as_echo "no
" >&6; }
6325 if test -z "$ac_cv_prog_OTOOL"; then
6327 # Extract the first word of "otool
", so it can be a program name with args.
6328 set dummy otool; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6330 $as_echo_n "checking
for $ac_word...
" >&6; }
6331 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6332 $as_echo_n "(cached
) " >&6
6334 if test -n "$ac_ct_OTOOL"; then
6335 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_ac_ct_OTOOL="otool
"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6354 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6355 if test -n "$ac_ct_OTOOL"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6357 $as_echo "$ac_ct_OTOOL" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6360 $as_echo "no
" >&6; }
6363 if test "x
$ac_ct_OTOOL" = x; then
6366 case $cross_compiling:$ac_tool_warned in
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6369 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6370 ac_tool_warned=yes ;;
6375 OTOOL="$ac_cv_prog_OTOOL"
6378 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6380 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6382 $as_echo_n "checking
for $ac_word...
" >&6; }
6383 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6384 $as_echo_n "(cached
) " >&6
6386 if test -n "$OTOOL64"; then
6387 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6406 OTOOL64=$ac_cv_prog_OTOOL64
6407 if test -n "$OTOOL64"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6409 $as_echo "$OTOOL64" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6412 $as_echo "no
" >&6; }
6417 if test -z "$ac_cv_prog_OTOOL64"; then
6418 ac_ct_OTOOL64=$OTOOL64
6419 # Extract the first word of "otool64
", so it can be a program name with args.
6420 set dummy otool64; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6422 $as_echo_n "checking
for $ac_word...
" >&6; }
6423 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6424 $as_echo_n "(cached
) " >&6
6426 if test -n "$ac_ct_OTOOL64"; then
6427 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6446 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6447 if test -n "$ac_ct_OTOOL64"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6449 $as_echo "$ac_ct_OTOOL64" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6452 $as_echo "no
" >&6; }
6455 if test "x
$ac_ct_OTOOL64" = x; then
6458 case $cross_compiling:$ac_tool_warned in
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6461 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6462 ac_tool_warned=yes ;;
6464 OTOOL64=$ac_ct_OTOOL64
6467 OTOOL64="$ac_cv_prog_OTOOL64"
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6497 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6498 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6499 $as_echo_n "(cached
) " >&6
6501 lt_cv_apple_cc_single_mod=no
6502 if test -z "${LT_MULTI_MODULE}"; then
6503 # By default we will add the -single_module flag. You can override
6504 # by either setting the environment variable LT_MULTI_MODULE
6505 # non-empty at configure time, or by adding -multi_module to the
6507 rm -rf libconftest.dylib*
6508 echo "int foo
(void
){return 1;}" > conftest.c
6509 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6510 -dynamiclib -Wl,-single_module conftest.c
" >&5
6511 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6512 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6514 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6515 lt_cv_apple_cc_single_mod=yes
6517 cat conftest.err >&5
6519 rm -rf libconftest.dylib*
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6524 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6526 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6527 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6528 $as_echo_n "(cached
) " >&6
6530 lt_cv_ld_exported_symbols_list=no
6531 save_LDFLAGS=$LDFLAGS
6532 echo "_main
" > conftest.sym
6533 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6534 if test x$gcc_no_link = xyes; then
6535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6548 if ac_fn_c_try_link "$LINENO"; then :
6549 lt_cv_ld_exported_symbols_list=yes
6551 lt_cv_ld_exported_symbols_list=no
6553 rm -f core conftest.err conftest.$ac_objext \
6554 conftest$ac_exeext conftest.$ac_ext
6555 LDFLAGS="$save_LDFLAGS"
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6559 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6561 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6562 if test "${lt_cv_ld_force_load+set}" = set; then :
6563 $as_echo_n "(cached
) " >&6
6565 lt_cv_ld_force_load=no
6566 cat > conftest.c << _LT_EOF
6567 int forced_loaded() { return 2;}
6569 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6570 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6571 echo "$AR cru libconftest.a conftest.o
" >&5
6572 $AR cru libconftest.a conftest.o 2>&5
6573 cat > conftest.c << _LT_EOF
6574 int main() { return 0;}
6576 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6577 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6579 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6580 lt_cv_ld_force_load=yes
6582 cat conftest.err >&5
6584 rm -f conftest.err libconftest.a conftest conftest.c
6585 rm -rf conftest.dSYM
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6589 $as_echo "$lt_cv_ld_force_load" >&6; }
6591 rhapsody* | darwin1.[012])
6592 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6594 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6595 darwin*) # darwin 5.x on
6596 # if running on 10.5 or later, the deployment target defaults
6597 # to the OS version, if on x86, and 10.4, the deployment
6598 # target defaults to 10.4. Don't you love it?
6599 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6600 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6601 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6603 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6605 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6609 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6610 _lt_dar_single_mod='$single_module'
6612 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6613 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6615 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6617 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6618 _lt_dsymutil='~$DSYMUTIL $lib || :'
6626 ac_cpp='$CPP $CPPFLAGS'
6627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6631 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6632 # On Suns, sometimes $CPP names a directory.
6633 if test -n "$CPP" && test -d "$CPP"; then
6636 if test -z "$CPP"; then
6637 if test "${ac_cv_prog_CPP+set}" = set; then :
6638 $as_echo_n "(cached
) " >&6
6640 # Double quotes because CPP needs to be expanded
6641 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6644 for ac_c_preproc_warn_flag in '' yes
6646 # Use a header file that comes with gcc, so configuring glibc
6647 # with a fresh cross-compiler works.
6648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6649 # <limits.h> exists even on freestanding compilers.
6650 # On the NeXT, cc -E runs the code through the compiler's parser,
6651 # not just through cpp. "Syntax error
" is here to catch this case.
6652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6653 /* end confdefs.h. */
6655 # include <limits.h>
6657 # include <assert.h>
6661 if ac_fn_c_try_cpp "$LINENO"; then :
6664 # Broken: fails on valid input.
6667 rm -f conftest.err conftest.$ac_ext
6669 # OK, works on sane cases. Now check whether nonexistent headers
6670 # can be detected and how.
6671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6673 #include <ac_nonexistent.h>
6675 if ac_fn_c_try_cpp "$LINENO"; then :
6676 # Broken: success on invalid input.
6679 # Passes both tests.
6683 rm -f conftest.err conftest.$ac_ext
6686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6687 rm -f conftest.err conftest.$ac_ext
6688 if $ac_preproc_ok; then :
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6701 $as_echo "$CPP" >&6; }
6703 for ac_c_preproc_warn_flag in '' yes
6705 # Use a header file that comes with gcc, so configuring glibc
6706 # with a fresh cross-compiler works.
6707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6708 # <limits.h> exists even on freestanding compilers.
6709 # On the NeXT, cc -E runs the code through the compiler's parser,
6710 # not just through cpp. "Syntax error
" is here to catch this case.
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6714 # include <limits.h>
6716 # include <assert.h>
6720 if ac_fn_c_try_cpp "$LINENO"; then :
6723 # Broken: fails on valid input.
6726 rm -f conftest.err conftest.$ac_ext
6728 # OK, works on sane cases. Now check whether nonexistent headers
6729 # can be detected and how.
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 #include <ac_nonexistent.h>
6734 if ac_fn_c_try_cpp "$LINENO"; then :
6735 # Broken: success on invalid input.
6738 # Passes both tests.
6742 rm -f conftest.err conftest.$ac_ext
6745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6746 rm -f conftest.err conftest.$ac_ext
6747 if $ac_preproc_ok; then :
6750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6752 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6753 See \`config.log' for more details.
" "$LINENO" 5; }
6757 ac_cpp='$CPP $CPPFLAGS'
6758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6764 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6765 if test "${ac_cv_header_stdc+set}" = set; then :
6766 $as_echo_n "(cached
) " >&6
6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */
6783 if ac_fn_c_try_compile "$LINENO"; then :
6784 ac_cv_header_stdc=yes
6786 ac_cv_header_stdc=no
6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6790 if test $ac_cv_header_stdc = yes; then
6791 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6793 /* end confdefs.h. */
6797 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6798 $EGREP "memchr
" >/dev/null 2>&1; then :
6801 ac_cv_header_stdc=no
6807 if test $ac_cv_header_stdc = yes; then
6808 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6814 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6815 $EGREP "free
" >/dev/null 2>&1; then :
6818 ac_cv_header_stdc=no
6824 if test $ac_cv_header_stdc = yes; then
6825 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6826 if test "$cross_compiling" = yes; then :
6829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6830 /* end confdefs.h. */
6833 #if ((' ' & 0x0FF) == 0x020)
6834 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6835 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6837 # define ISLOWER(c) \
6838 (('a' <= (c) && (c) <= 'i') \
6839 || ('j' <= (c) && (c) <= 'r') \
6840 || ('s' <= (c) && (c) <= 'z'))
6841 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6844 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6849 for (i = 0; i < 256; i++)
6850 if (XOR (islower (i), ISLOWER (i))
6851 || toupper (i) != TOUPPER (i))
6856 if ac_fn_c_try_run "$LINENO"; then :
6859 ac_cv_header_stdc=no
6861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6862 conftest.$ac_objext conftest.beam conftest.$ac_ext
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6868 $as_echo "$ac_cv_header_stdc" >&6; }
6869 if test $ac_cv_header_stdc = yes; then
6871 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6875 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6876 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6877 inttypes.h stdint.h unistd.h
6879 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6882 eval as_val
=\$
$as_ac_Header
6883 if test "x$as_val" = x
""yes; then :
6884 cat >>confdefs.h
<<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 for ac_header
in dlfcn.h
6895 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6897 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6898 cat >>confdefs.h
<<_ACEOF
6899 #define HAVE_DLFCN_H 1
6920 # Check whether --enable-shared was given.
6921 if test "${enable_shared+set}" = set; then :
6922 enableval
=$enable_shared; p
=${PACKAGE-default}
6924 yes) enable_shared
=yes ;;
6925 no
) enable_shared
=no
;;
6928 # Look at the argument we got. We use all the common list separators.
6929 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6930 for pkg
in $enableval; do
6932 if test "X$pkg" = "X$p"; then
6951 # Check whether --enable-static was given.
6952 if test "${enable_static+set}" = set; then :
6953 enableval
=$enable_static; p
=${PACKAGE-default}
6955 yes) enable_static
=yes ;;
6956 no
) enable_static
=no
;;
6959 # Look at the argument we got. We use all the common list separators.
6960 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6961 for pkg
in $enableval; do
6963 if test "X$pkg" = "X$p"; then
6983 # Check whether --with-pic was given.
6984 if test "${with_pic+set}" = set; then :
6985 withval
=$with_pic; pic_mode
="$withval"
6991 test -z "$pic_mode" && pic_mode
=default
6999 # Check whether --enable-fast-install was given.
7000 if test "${enable_fast_install+set}" = set; then :
7001 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7003 yes) enable_fast_install
=yes ;;
7004 no
) enable_fast_install
=no
;;
7006 enable_fast_install
=no
7007 # Look at the argument we got. We use all the common list separators.
7008 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7009 for pkg
in $enableval; do
7011 if test "X$pkg" = "X$p"; then
7012 enable_fast_install
=yes
7019 enable_fast_install
=yes
7032 # This can be used to rebuild libtool when needed
7033 LIBTOOL_DEPS
="$ltmain"
7035 # Always use our own libtool.
7036 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7063 test -z "$LN_S" && LN_S
="ln -s"
7078 if test -n "${ZSH_VERSION+set}" ; then
7079 setopt NO_GLOB_SUBST
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7083 $as_echo_n "checking for objdir... " >&6; }
7084 if test "${lt_cv_objdir+set}" = set; then :
7085 $as_echo_n "(cached) " >&6
7087 rm -f .libs
2>/dev
/null
7088 mkdir .libs
2>/dev
/null
7089 if test -d .libs
; then
7092 # MS-DOS does not allow filenames that begin with a dot.
7095 rmdir .libs
2>/dev
/null
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7098 $as_echo "$lt_cv_objdir" >&6; }
7099 objdir
=$lt_cv_objdir
7105 cat >>confdefs.h
<<_ACEOF
7106 #define LT_OBJDIR "$lt_cv_objdir/"
7114 # AIX sometimes has problems with the GCC collect2 program. For some
7115 # reason, if we set the COLLECT_NAMES environment variable, the problems
7116 # vanish in a puff of smoke.
7117 if test "X${COLLECT_NAMES+set}" != Xset
; then
7119 export COLLECT_NAMES
7126 can_build_shared
=yes
7128 # All known linkers require a `.a' archive for static linking (except MSVC,
7129 # which needs '.lib').
7132 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7135 old_CFLAGS
="$CFLAGS"
7137 # Set sane defaults for various variables
7138 test -z "$CC" && CC
=cc
7139 test -z "$LTCC" && LTCC
=$CC
7140 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7141 test -z "$LD" && LD
=ld
7142 test -z "$ac_objext" && ac_objext
=o
7144 for cc_temp
in $compiler""; do
7146 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7147 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7152 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7155 # Only perform the check for file, if the check method requires it
7156 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7157 case $deplibs_check_method in
7159 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7161 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7162 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7163 $as_echo_n "(cached) " >&6
7167 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7170 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7171 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7172 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7173 for ac_dir
in $ac_dummy; do
7175 test -z "$ac_dir" && ac_dir
=.
7176 if test -f $ac_dir/${ac_tool_prefix}file; then
7177 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7178 if test -n "$file_magic_test_file"; then
7179 case $deplibs_check_method in
7181 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7182 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7183 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7184 $EGREP "$file_magic_regex" > /dev
/null
; then
7189 *** Warning: the command libtool uses to detect shared libraries,
7190 *** $file_magic_cmd, produces output that libtool cannot recognize.
7191 *** The result is that libtool may fail to recognize shared libraries
7192 *** as such. This will affect the creation of libtool libraries that
7193 *** depend on shared libraries, but programs linked with such libtool
7194 *** libraries will work regardless of this problem. Nevertheless, you
7195 *** may want to report the problem to your system manager and/or to
7196 *** bug-libtool@gnu.org
7206 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7211 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7212 if test -n "$MAGIC_CMD"; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7214 $as_echo "$MAGIC_CMD" >&6; }
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7217 $as_echo "no" >&6; }
7224 if test -z "$lt_cv_path_MAGIC_CMD"; then
7225 if test -n "$ac_tool_prefix"; then
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7227 $as_echo_n "checking for file... " >&6; }
7228 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7229 $as_echo_n "(cached) " >&6
7233 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7236 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7237 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7238 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7239 for ac_dir
in $ac_dummy; do
7241 test -z "$ac_dir" && ac_dir
=.
7242 if test -f $ac_dir/file; then
7243 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7244 if test -n "$file_magic_test_file"; then
7245 case $deplibs_check_method in
7247 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7248 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7249 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7250 $EGREP "$file_magic_regex" > /dev
/null
; then
7255 *** Warning: the command libtool uses to detect shared libraries,
7256 *** $file_magic_cmd, produces output that libtool cannot recognize.
7257 *** The result is that libtool may fail to recognize shared libraries
7258 *** as such. This will affect the creation of libtool libraries that
7259 *** depend on shared libraries, but programs linked with such libtool
7260 *** libraries will work regardless of this problem. Nevertheless, you
7261 *** may want to report the problem to your system manager and/or to
7262 *** bug-libtool@gnu.org
7272 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7277 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7278 if test -n "$MAGIC_CMD"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7280 $as_echo "$MAGIC_CMD" >&6; }
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7296 # Use C for the default configuration in the libtool script
7300 ac_cpp
='$CPP $CPPFLAGS'
7301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7306 # Source file extension for C test sources.
7309 # Object file extension for compiled C test sources.
7313 # Code to be used in simple compile tests
7314 lt_simple_compile_test_code
="int some_variable = 0;"
7316 # Code to be used in simple link tests
7317 lt_simple_link_test_code
='int main(){return(0);}'
7325 # If no C compiler was specified, use CC.
7328 # If no C compiler flags were specified, use CFLAGS.
7329 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7331 # Allow CC to be a program name with arguments.
7334 # Save the default compiler, since it gets overwritten when the other
7335 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7336 compiler_DEFAULT
=$CC
7338 # save warnings/boilerplate of simple test code
7339 ac_outfile
=conftest.
$ac_objext
7340 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7341 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7342 _lt_compiler_boilerplate
=`cat conftest.err`
7345 ac_outfile
=conftest.
$ac_objext
7346 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7347 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7348 _lt_linker_boilerplate
=`cat conftest.err`
7353 ## There is no encapsulation within the following macros, do not change
7354 ## the running order or otherwise move them around unless you know exactly
7355 ## what you are doing...
7356 if test -n "$compiler"; then
7358 lt_prog_compiler_no_builtin_flag
=
7360 if test "$GCC" = yes; then
7361 case $cc_basename in
7363 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7365 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7369 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7370 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7371 $as_echo_n "(cached) " >&6
7373 lt_cv_prog_compiler_rtti_exceptions
=no
7374 ac_outfile
=conftest.
$ac_objext
7375 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7376 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7377 # Insert the option either (1) after the last *FLAGS variable, or
7378 # (2) before a word containing "conftest.", or (3) at the end.
7379 # Note that $ac_compile itself does not contain backslashes and begins
7380 # with a dollar sign (not a hyphen), so the echo should work correctly.
7381 # The option is referenced via a variable to avoid confusing sed.
7382 lt_compile
=`echo "$ac_compile" | $SED \
7383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7385 -e 's:$: $lt_compiler_flag:'`
7386 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7387 (eval "$lt_compile" 2>conftest.err
)
7389 cat conftest.err
>&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 if (exit $ac_status) && test -s "$ac_outfile"; then
7392 # The compiler can only warn and ignore the option if not recognized
7393 # So say no if there are warnings other than the usual output.
7394 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7395 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7396 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7397 lt_cv_prog_compiler_rtti_exceptions
=yes
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7404 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7406 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7407 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7419 lt_prog_compiler_wl
=
7420 lt_prog_compiler_pic
=
7421 lt_prog_compiler_static
=
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7426 if test "$GCC" = yes; then
7427 lt_prog_compiler_wl
='-Wl,'
7428 lt_prog_compiler_static
='-static'
7432 # All AIX code is PIC.
7433 if test "$host_cpu" = ia64
; then
7434 # AIX 5 now supports IA64 processor
7435 lt_prog_compiler_static
='-Bstatic'
7437 lt_prog_compiler_pic
='-fPIC'
7443 # see comment about AmigaOS4 .so support
7444 lt_prog_compiler_pic
='-fPIC'
7447 # FIXME: we need at least 68020 code to build shared libraries, but
7448 # adding the `-m68020' flag to GCC prevents building anything better,
7450 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7455 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7456 # PIC is the default for these OSes.
7459 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7460 # This hack is so that the source file can tell whether it is being
7461 # built for inclusion in a dll (and should export symbols for example).
7462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7463 # (--disable-auto-import) libraries
7464 lt_prog_compiler_pic
='-DDLL_EXPORT'
7467 darwin
* | rhapsody
*)
7468 # PIC is the default on this platform
7469 # Common symbols not allowed in MH_DYLIB files
7470 lt_prog_compiler_pic
='-fno-common'
7474 # PIC is the default for Haiku.
7475 # The "-static" flag exists, but is broken.
7476 lt_prog_compiler_static
=
7480 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7481 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7482 # sets the default TLS model and affects inlining.
7488 lt_prog_compiler_pic
='-fPIC'
7494 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7495 # Instead, we relocate shared libraries at runtime.
7499 # Just because we use GCC doesn't mean we suddenly get shared libraries
7500 # on systems that don't support them.
7501 lt_prog_compiler_can_build_shared
=no
7506 # QNX uses GNU C++, but need to define -shared option too, otherwise
7508 lt_prog_compiler_pic
='-fPIC -shared'
7512 if test -d /usr
/nec
; then
7513 lt_prog_compiler_pic
=-Kconform_pic
7518 lt_prog_compiler_pic
='-fPIC'
7522 case $cc_basename in
7523 nvcc
*) # Cuda Compiler Driver 2.2
7524 lt_prog_compiler_wl
='-Xlinker '
7525 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7529 # PORTME Check for flag to pass linker flags through the system compiler.
7532 lt_prog_compiler_wl
='-Wl,'
7533 if test "$host_cpu" = ia64
; then
7534 # AIX 5 now supports IA64 processor
7535 lt_prog_compiler_static
='-Bstatic'
7537 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7541 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7542 # This hack is so that the source file can tell whether it is being
7543 # built for inclusion in a dll (and should export symbols for example).
7544 lt_prog_compiler_pic
='-DDLL_EXPORT'
7547 hpux9
* | hpux10
* | hpux11
*)
7548 lt_prog_compiler_wl
='-Wl,'
7549 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7556 lt_prog_compiler_pic
='+Z'
7559 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7560 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7563 irix5
* | irix6
* | nonstopux
*)
7564 lt_prog_compiler_wl
='-Wl,'
7565 # PIC (with -KPIC) is the default.
7566 lt_prog_compiler_static
='-non_shared'
7569 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7570 case $cc_basename in
7571 # old Intel for x86_64 which still supported -KPIC.
7573 lt_prog_compiler_wl
='-Wl,'
7574 lt_prog_compiler_pic
='-KPIC'
7575 lt_prog_compiler_static
='-static'
7577 # icc used to be incompatible with GCC.
7578 # ICC 10 doesn't accept -KPIC any more.
7580 lt_prog_compiler_wl
='-Wl,'
7581 lt_prog_compiler_pic
='-fPIC'
7582 lt_prog_compiler_static
='-static'
7584 # Lahey Fortran 8.1.
7586 lt_prog_compiler_wl
='-Wl,'
7587 lt_prog_compiler_pic
='--shared'
7588 lt_prog_compiler_static
='--static'
7590 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7591 # Portland Group compilers (*not* the Pentium gcc compiler,
7592 # which looks to be a dead project)
7593 lt_prog_compiler_wl
='-Wl,'
7594 lt_prog_compiler_pic
='-fpic'
7595 lt_prog_compiler_static
='-Bstatic'
7598 lt_prog_compiler_wl
='-Wl,'
7599 # All Alpha code is PIC.
7600 lt_prog_compiler_static
='-non_shared'
7602 xl
* | bgxl
* | bgf
* | mpixl
*)
7603 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7604 lt_prog_compiler_wl
='-Wl,'
7605 lt_prog_compiler_pic
='-qpic'
7606 lt_prog_compiler_static
='-qstaticlink'
7609 case `$CC -V 2>&1 | sed 5q` in
7610 *Sun\ F
* |
*Sun
*Fortran
*)
7611 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7612 lt_prog_compiler_pic
='-KPIC'
7613 lt_prog_compiler_static
='-Bstatic'
7614 lt_prog_compiler_wl
=''
7618 lt_prog_compiler_pic
='-KPIC'
7619 lt_prog_compiler_static
='-Bstatic'
7620 lt_prog_compiler_wl
='-Wl,'
7628 lt_prog_compiler_pic
='-KPIC'
7629 lt_prog_compiler_static
='-Bstatic'
7633 # QNX uses GNU C++, but need to define -shared option too, otherwise
7635 lt_prog_compiler_pic
='-fPIC -shared'
7638 osf3
* | osf4
* | osf5
*)
7639 lt_prog_compiler_wl
='-Wl,'
7640 # All OSF/1 code is PIC.
7641 lt_prog_compiler_static
='-non_shared'
7645 lt_prog_compiler_static
='-non_shared'
7649 lt_prog_compiler_pic
='-KPIC'
7650 lt_prog_compiler_static
='-Bstatic'
7651 case $cc_basename in
7653 lt_prog_compiler_wl
='-Qoption ld ';;
7655 lt_prog_compiler_wl
='-Wl,';;
7660 lt_prog_compiler_wl
='-Qoption ld '
7661 lt_prog_compiler_pic
='-PIC'
7662 lt_prog_compiler_static
='-Bstatic'
7665 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7666 lt_prog_compiler_wl
='-Wl,'
7667 lt_prog_compiler_pic
='-KPIC'
7668 lt_prog_compiler_static
='-Bstatic'
7672 if test -d /usr
/nec
;then
7673 lt_prog_compiler_pic
='-Kconform_pic'
7674 lt_prog_compiler_static
='-Bstatic'
7678 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7679 lt_prog_compiler_wl
='-Wl,'
7680 lt_prog_compiler_pic
='-KPIC'
7681 lt_prog_compiler_static
='-Bstatic'
7685 lt_prog_compiler_wl
='-Wl,'
7686 lt_prog_compiler_can_build_shared
=no
7690 lt_prog_compiler_pic
='-pic'
7691 lt_prog_compiler_static
='-Bstatic'
7695 lt_prog_compiler_can_build_shared
=no
7701 # For platforms which do not support PIC, -DPIC is meaningless:
7703 lt_prog_compiler_pic
=
7706 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7710 $as_echo "$lt_prog_compiler_pic" >&6; }
7718 # Check to make sure the PIC flag actually works.
7720 if test -n "$lt_prog_compiler_pic"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7722 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7723 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7724 $as_echo_n "(cached) " >&6
7726 lt_cv_prog_compiler_pic_works
=no
7727 ac_outfile
=conftest.
$ac_objext
7728 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7729 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7730 # Insert the option either (1) after the last *FLAGS variable, or
7731 # (2) before a word containing "conftest.", or (3) at the end.
7732 # Note that $ac_compile itself does not contain backslashes and begins
7733 # with a dollar sign (not a hyphen), so the echo should work correctly.
7734 # The option is referenced via a variable to avoid confusing sed.
7735 lt_compile
=`echo "$ac_compile" | $SED \
7736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7738 -e 's:$: $lt_compiler_flag:'`
7739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7740 (eval "$lt_compile" 2>conftest.err
)
7742 cat conftest.err
>&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 if (exit $ac_status) && test -s "$ac_outfile"; then
7745 # The compiler can only warn and ignore the option if not recognized
7746 # So say no if there are warnings other than the usual output.
7747 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7748 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7749 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7750 lt_cv_prog_compiler_pic_works
=yes
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7757 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7759 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7760 case $lt_prog_compiler_pic in
7762 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7765 lt_prog_compiler_pic
=
7766 lt_prog_compiler_can_build_shared
=no
7777 # Check to make sure the static flag actually works.
7779 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7781 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7782 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7785 lt_cv_prog_compiler_static_works
=no
7786 save_LDFLAGS
="$LDFLAGS"
7787 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7788 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7789 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7790 # The linker can only warn and ignore the option if not recognized
7791 # So say no if there are warnings
7792 if test -s conftest.err
; then
7793 # Append any errors to the config.log.
7794 cat conftest.err
1>&5
7795 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7796 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7797 if diff conftest.exp conftest.er2
>/dev
/null
; then
7798 lt_cv_prog_compiler_static_works
=yes
7801 lt_cv_prog_compiler_static_works
=yes
7805 LDFLAGS
="$save_LDFLAGS"
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7809 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7811 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7814 lt_prog_compiler_static
=
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7824 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7825 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7828 lt_cv_prog_compiler_c_o
=no
7829 $RM -r conftest
2>/dev
/null
7833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7835 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7836 # Insert the option either (1) after the last *FLAGS variable, or
7837 # (2) before a word containing "conftest.", or (3) at the end.
7838 # Note that $ac_compile itself does not contain backslashes and begins
7839 # with a dollar sign (not a hyphen), so the echo should work correctly.
7840 lt_compile
=`echo "$ac_compile" | $SED \
7841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7843 -e 's:$: $lt_compiler_flag:'`
7844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7845 (eval "$lt_compile" 2>out
/conftest.err
)
7847 cat out
/conftest.err
>&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7851 # The compiler can only warn and ignore the option if not recognized
7852 # So say no if there are warnings
7853 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7854 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7855 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7856 lt_cv_prog_compiler_c_o
=yes
7861 # SGI C++ compiler will create directory out/ii_files/ for
7862 # template instantiation
7863 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7864 $RM out
/* && rmdir out
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7871 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7879 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7880 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7881 $as_echo_n "(cached) " >&6
7883 lt_cv_prog_compiler_c_o
=no
7884 $RM -r conftest
2>/dev
/null
7888 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7890 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7891 # Insert the option either (1) after the last *FLAGS variable, or
7892 # (2) before a word containing "conftest.", or (3) at the end.
7893 # Note that $ac_compile itself does not contain backslashes and begins
7894 # with a dollar sign (not a hyphen), so the echo should work correctly.
7895 lt_compile
=`echo "$ac_compile" | $SED \
7896 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7898 -e 's:$: $lt_compiler_flag:'`
7899 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7900 (eval "$lt_compile" 2>out
/conftest.err
)
7902 cat out
/conftest.err
>&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7906 # The compiler can only warn and ignore the option if not recognized
7907 # So say no if there are warnings
7908 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7909 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7910 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7911 lt_cv_prog_compiler_c_o
=yes
7916 # SGI C++ compiler will create directory out/ii_files/ for
7917 # template instantiation
7918 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7919 $RM out
/* && rmdir out
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7926 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7931 hard_links
="nottested"
7932 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7933 # do not overwrite the value of need_locks provided by the user
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7935 $as_echo_n "checking if we can lock with hard links... " >&6; }
7938 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7940 ln conftest.a conftest.b
2>&5 || hard_links
=no
7941 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7943 $as_echo "$hard_links" >&6; }
7944 if test "$hard_links" = no
; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7946 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7959 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7962 allow_undefined_flag
=
7963 always_export_symbols
=no
7965 archive_expsym_cmds
=
7966 compiler_needs_object
=no
7967 enable_shared_with_static_runtimes
=no
7968 export_dynamic_flag_spec
=
7969 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7970 hardcode_automatic
=no
7972 hardcode_direct_absolute
=no
7973 hardcode_libdir_flag_spec
=
7974 hardcode_libdir_flag_spec_ld
=
7975 hardcode_libdir_separator
=
7977 hardcode_shlibpath_var
=unsupported
7979 link_all_deplibs
=unknown
7982 old_archive_from_new_cmds
=
7983 old_archive_from_expsyms_cmds
=
7984 thread_safe_flag_spec
=
7985 whole_archive_flag_spec
=
7986 # include_expsyms should be a list of space-separated symbols to be *always*
7987 # included in the symbol list
7989 # exclude_expsyms can be an extended regexp of symbols to exclude
7990 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7991 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7992 # as well as any symbol that contains `d'.
7993 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7994 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7995 # platforms (ab)use it in PIC code, but their linkers get confused if
7996 # the symbol is explicitly referenced. Since portable code cannot
7997 # rely on this symbol name, it's probably fine to never include it in
7998 # preloaded symbol tables.
7999 # Exclude shared library initialization/finalization symbols.
8000 extract_expsyms_cmds
=
8003 cygwin
* | mingw
* | pw32
* | cegcc
*)
8004 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8005 # When not using gcc, we currently assume that we are using
8006 # Microsoft Visual C++.
8007 if test "$GCC" != yes; then
8012 # we just hope/assume this is gcc and not c89 (= MSVC++)
8022 # On some targets, GNU ld is compatible enough with the native linker
8023 # that we're better off using the native interface for both.
8024 lt_use_gnu_ld_interface
=no
8025 if test "$with_gnu_ld" = yes; then
8028 # The AIX port of GNU ld has always aspired to compatibility
8029 # with the native linker. However, as the warning in the GNU ld
8030 # block says, versions before 2.19.5* couldn't really create working
8031 # shared libraries, regardless of the interface used.
8032 case `$LD -v 2>&1` in
8033 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8034 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8035 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8037 lt_use_gnu_ld_interface
=yes
8042 lt_use_gnu_ld_interface
=yes
8047 if test "$lt_use_gnu_ld_interface" = yes; then
8048 # If archive_cmds runs LD, not CC, wlarc should be empty
8051 # Set some defaults for GNU ld with shared library support. These
8052 # are reset later if shared libraries are not supported. Putting them
8053 # here allows them to be overridden if necessary.
8054 runpath_var
=LD_RUN_PATH
8055 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8056 export_dynamic_flag_spec
='${wl}--export-dynamic'
8057 # ancient GNU ld didn't support --whole-archive et. al.
8058 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8059 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8061 whole_archive_flag_spec
=
8063 supports_anon_versioning
=no
8064 case `$LD -v 2>&1` in
8065 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8066 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8067 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8068 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8069 *\
2.11.
*) ;; # other 2.11 versions
8070 *) supports_anon_versioning
=yes ;;
8073 # See if GNU ld supports shared libraries.
8076 # On AIX/PPC, the GNU linker is very broken
8077 if test "$host_cpu" != ia64
; then
8081 *** Warning: the GNU linker, at least up to release 2.19, is reported
8082 *** to be unable to reliably create shared libraries on AIX.
8083 *** Therefore, libtool is disabling shared libraries support. If you
8084 *** really care for shared libraries, you may want to install binutils
8085 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8086 *** You will then need to restart the configuration process.
8095 # see comment about AmigaOS4 .so support
8096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8097 archive_expsym_cmds
=''
8100 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)'
8101 hardcode_libdir_flag_spec
='-L$libdir'
8102 hardcode_minus_L
=yes
8108 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8109 allow_undefined_flag
=unsupported
8110 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8111 # support --undefined. This deserves some investigation. FIXME
8112 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8118 cygwin
* | mingw
* | pw32
* | cegcc
*)
8119 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8120 # as there is no search path for DLLs.
8121 hardcode_libdir_flag_spec
='-L$libdir'
8122 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8123 allow_undefined_flag
=unsupported
8124 always_export_symbols
=no
8125 enable_shared_with_static_runtimes
=yes
8126 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8128 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8129 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8130 # If the export-symbols file already is a .def file (1st line
8131 # is EXPORTS), use it as is; otherwise, prepend...
8132 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8133 cp $export_symbols $output_objdir/$soname.def;
8135 echo EXPORTS > $output_objdir/$soname.def;
8136 cat $export_symbols >> $output_objdir/$soname.def;
8138 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8145 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8146 link_all_deplibs
=yes
8151 hardcode_shlibpath_var
=no
8152 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8153 export_dynamic_flag_spec
='${wl}-E'
8154 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8155 # Instead, shared libraries are loaded at an image base (0x10000000 by
8156 # default) and relocated if they conflict, which is a slow very memory
8157 # consuming and fragmenting process. To avoid this, we pick a random,
8158 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8159 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8160 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8161 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'
8164 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8166 if test "$host_os" = linux-dietlibc
; then
8167 case $cc_basename in
8168 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8171 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8172 && test "$tmp_diet" = no
8174 tmp_addflag
=' $pic_flag'
8175 tmp_sharedflag
='-shared'
8176 case $cc_basename,$host_cpu in
8177 pgcc
*) # Portland Group C compiler
8178 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'
8179 tmp_addflag
=' $pic_flag'
8181 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8182 # Portland Group f77 and f90 compilers
8183 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'
8184 tmp_addflag
=' $pic_flag -Mnomain' ;;
8185 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8186 tmp_addflag
=' -i_dynamic' ;;
8187 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8188 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8189 ifc
* | ifort
*) # Intel Fortran compiler
8190 tmp_addflag
=' -nofor_main' ;;
8191 lf95
*) # Lahey Fortran 8.1
8192 whole_archive_flag_spec
=
8193 tmp_sharedflag
='--shared' ;;
8194 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8195 tmp_sharedflag
='-qmkshrobj'
8197 nvcc
*) # Cuda Compiler Driver 2.2
8198 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'
8199 compiler_needs_object
=yes
8202 case `$CC -V 2>&1 | sed 5q` in
8203 *Sun\ C
*) # Sun C 5.9
8204 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'
8205 compiler_needs_object
=yes
8206 tmp_sharedflag
='-G' ;;
8207 *Sun\ F
*) # Sun Fortran 8.3
8208 tmp_sharedflag
='-G' ;;
8210 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8212 if test "x$supports_anon_versioning" = xyes
; then
8213 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8214 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8215 echo "local: *; };" >> $output_objdir/$libname.ver~
8216 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8219 case $cc_basename in
8220 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8221 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8222 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8223 hardcode_libdir_flag_spec
=
8224 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8225 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8226 if test "x$supports_anon_versioning" = xyes
; then
8227 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8228 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8229 echo "local: *; };" >> $output_objdir/$libname.ver~
8230 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8240 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8241 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8244 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8245 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8250 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8254 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8255 *** create shared libraries on Solaris systems. Therefore, libtool
8256 *** is disabling shared libraries support. We urge you to upgrade GNU
8257 *** binutils to release 2.9.1 or newer. Another option is to modify
8258 *** your PATH or compiler configuration so that the native linker is
8259 *** used, and then restart.
8262 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8263 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8264 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8270 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8271 case `$LD -v 2>&1` in
8272 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8276 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8277 *** reliably create shared libraries on SCO systems. Therefore, libtool
8278 *** is disabling shared libraries support. We urge you to upgrade GNU
8279 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8280 *** your PATH or compiler configuration so that the native linker is
8281 *** used, and then restart.
8286 # For security reasons, it is highly recommended that you always
8287 # use absolute paths for naming shared libraries, and exclude the
8288 # DT_RUNPATH tag from executables and libraries. But doing so
8289 # requires that you compile everything twice, which is a pain.
8290 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8291 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8292 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8293 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8302 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8305 hardcode_shlibpath_var
=no
8309 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8310 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8311 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8318 if test "$ld_shlibs" = no
; then
8320 hardcode_libdir_flag_spec
=
8321 export_dynamic_flag_spec
=
8322 whole_archive_flag_spec
=
8325 # PORTME fill in a description of your system's linker (not GNU ld)
8328 allow_undefined_flag
=unsupported
8329 always_export_symbols
=yes
8330 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'
8331 # Note: this linker hardcodes the directories in LIBPATH if there
8332 # are no directories specified by -L.
8333 hardcode_minus_L
=yes
8334 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8335 # Neither direct hardcoding nor static linking is supported with a
8337 hardcode_direct
=unsupported
8342 if test "$host_cpu" = ia64
; then
8343 # On IA64, the linker does run time linking by default, so we don't
8344 # have to do anything special.
8345 aix_use_runtimelinking
=no
8346 exp_sym_flag
='-Bexport'
8349 # If we're using GNU nm, then we don't want the "-C" option.
8350 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8351 # Also, AIX nm treats weak defined symbols like other global
8352 # defined symbols, whereas GNU nm marks them as "W".
8353 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8354 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'
8356 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8358 aix_use_runtimelinking
=no
8360 # Test if we are trying to use run time linking or normal
8361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8362 # need to do runtime linking.
8363 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8364 for ld_flag
in $LDFLAGS; do
8365 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8366 aix_use_runtimelinking
=yes
8373 exp_sym_flag
='-bexport'
8374 no_entry_flag
='-bnoentry'
8377 # When large executables or shared objects are built, AIX ld can
8378 # have problems creating the table of contents. If linking a library
8379 # or program results in "error TOC overflow" add -mminimal-toc to
8380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8385 hardcode_direct_absolute
=yes
8386 hardcode_libdir_separator
=':'
8387 link_all_deplibs
=yes
8388 file_list_spec
='${wl}-f,'
8390 if test "$GCC" = yes; then
8391 case $host_os in aix4.
[012]|aix4.
[012].
*)
8392 # We only want to do this on AIX 4.2 and lower, the check
8393 # below for broken collect2 doesn't work under 4.3+
8394 collect2name
=`${CC} -print-prog-name=collect2`
8395 if test -f "$collect2name" &&
8396 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8398 # We have reworked collect2
8401 # We have old collect2
8402 hardcode_direct
=unsupported
8403 # It fails to find uninstalled libraries when the uninstalled
8404 # path is not listed in the libpath. Setting hardcode_minus_L
8405 # to unsupported forces relinking
8406 hardcode_minus_L
=yes
8407 hardcode_libdir_flag_spec
='-L$libdir'
8408 hardcode_libdir_separator
=
8412 shared_flag
='-shared'
8413 if test "$aix_use_runtimelinking" = yes; then
8414 shared_flag
="$shared_flag "'${wl}-G'
8418 if test "$host_cpu" = ia64
; then
8419 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8420 # chokes on -Wl,-G. The following line is correct:
8423 if test "$aix_use_runtimelinking" = yes; then
8424 shared_flag
='${wl}-G'
8426 shared_flag
='${wl}-bM:SRE'
8431 export_dynamic_flag_spec
='${wl}-bexpall'
8432 # It seems that -bexpall does not export symbols beginning with
8433 # underscore (_), so it is better to generate a list of symbols to export.
8434 always_export_symbols
=yes
8435 if test "$aix_use_runtimelinking" = yes; then
8436 # Warning - without using the other runtime loading flags (-brtl),
8437 # -berok will link without error, but may produce a broken library.
8438 allow_undefined_flag
='-berok'
8439 # Determine the default libpath from the value encoded in an
8441 if test x
$gcc_no_link = xyes
; then
8442 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8455 if ac_fn_c_try_link
"$LINENO"; then :
8457 lt_aix_libpath_sed
='
8458 /Import File Strings/,/^$/ {
8464 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8465 # Check for a 64-bit object if we didn't find anything.
8466 if test -z "$aix_libpath"; then
8467 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8470 rm -f core conftest.err conftest.
$ac_objext \
8471 conftest
$ac_exeext conftest.
$ac_ext
8472 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8474 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8475 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"
8477 if test "$host_cpu" = ia64
; then
8478 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8479 allow_undefined_flag
="-z nodefs"
8480 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"
8482 # Determine the default libpath from the value encoded in an
8484 if test x
$gcc_no_link = xyes
; then
8485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8498 if ac_fn_c_try_link
"$LINENO"; then :
8500 lt_aix_libpath_sed
='
8501 /Import File Strings/,/^$/ {
8507 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8508 # Check for a 64-bit object if we didn't find anything.
8509 if test -z "$aix_libpath"; then
8510 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8513 rm -f core conftest.err conftest.
$ac_objext \
8514 conftest
$ac_exeext conftest.
$ac_ext
8515 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8517 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8518 # Warning - without using the other run time loading flags,
8519 # -berok will link without error, but may produce a broken library.
8520 no_undefined_flag
=' ${wl}-bernotok'
8521 allow_undefined_flag
=' ${wl}-berok'
8522 if test "$with_gnu_ld" = yes; then
8523 # We only use this code for GNU lds that support --whole-archive.
8524 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8526 # Exported symbols can be pulled into shared objects from archives
8527 whole_archive_flag_spec
='$convenience'
8529 archive_cmds_need_lc
=yes
8530 # This is similar to how AIX traditionally builds its shared libraries.
8531 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'
8539 # see comment about AmigaOS4 .so support
8540 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8541 archive_expsym_cmds
=''
8544 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)'
8545 hardcode_libdir_flag_spec
='-L$libdir'
8546 hardcode_minus_L
=yes
8552 export_dynamic_flag_spec
=-rdynamic
8555 cygwin
* | mingw
* | pw32
* | cegcc
*)
8556 # When not using gcc, we currently assume that we are using
8557 # Microsoft Visual C++.
8558 # hardcode_libdir_flag_spec is actually meaningless, as there is
8559 # no search path for DLLs.
8560 hardcode_libdir_flag_spec
=' '
8561 allow_undefined_flag
=unsupported
8562 # Tell ltmain to make .lib files, not .a files.
8564 # Tell ltmain to make .dll files, not .so files.
8566 # FIXME: Setting linknames here is a bad hack.
8567 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8568 # The linker will automatically build a .lib file if we build a DLL.
8569 old_archive_from_new_cmds
='true'
8570 # FIXME: Should let the user specify the lib program.
8571 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8572 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8573 enable_shared_with_static_runtimes
=yes
8576 darwin
* | rhapsody
*)
8579 archive_cmds_need_lc
=no
8581 hardcode_automatic
=yes
8582 hardcode_shlibpath_var
=unsupported
8583 if test "$lt_cv_ld_force_load" = "yes"; then
8584 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\"`'
8586 whole_archive_flag_spec
=''
8588 link_all_deplibs
=yes
8589 allow_undefined_flag
="$_lt_dar_allow_undefined"
8590 case $cc_basename in
8591 ifort
*) _lt_dar_can_shared
=yes ;;
8592 *) _lt_dar_can_shared
=$GCC ;;
8594 if test "$_lt_dar_can_shared" = "yes"; then
8595 output_verbose_link_cmd
=func_echo_all
8596 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8597 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8598 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}"
8599 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}"
8608 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8609 hardcode_libdir_flag_spec
='-L$libdir'
8610 hardcode_shlibpath_var
=no
8613 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8614 # support. Future versions do this automatically, but an explicit c++rt0.o
8615 # does not break anything, and helps significantly (at the cost of a little
8618 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8619 hardcode_libdir_flag_spec
='-R$libdir'
8621 hardcode_shlibpath_var
=no
8624 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8626 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8628 hardcode_minus_L
=yes
8629 hardcode_shlibpath_var
=no
8632 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8633 freebsd
* | dragonfly
*)
8634 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8635 hardcode_libdir_flag_spec
='-R$libdir'
8637 hardcode_shlibpath_var
=no
8641 if test "$GCC" = yes; then
8642 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'
8644 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'
8646 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8647 hardcode_libdir_separator
=:
8650 # hardcode_minus_L: Not really in the search PATH,
8651 # but as the default location of the library.
8652 hardcode_minus_L
=yes
8653 export_dynamic_flag_spec
='${wl}-E'
8657 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8658 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8660 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8662 if test "$with_gnu_ld" = no
; then
8663 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8664 hardcode_libdir_flag_spec_ld
='+b $libdir'
8665 hardcode_libdir_separator
=:
8667 hardcode_direct_absolute
=yes
8668 export_dynamic_flag_spec
='${wl}-E'
8669 # hardcode_minus_L: Not really in the search PATH,
8670 # but as the default location of the library.
8671 hardcode_minus_L
=yes
8676 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8679 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8682 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8685 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8691 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8694 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8698 # Older versions of the 11.00 compiler do not understand -b yet
8699 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8701 $as_echo_n "checking if $CC understands -b... " >&6; }
8702 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8703 $as_echo_n "(cached) " >&6
8705 lt_cv_prog_compiler__b
=no
8706 save_LDFLAGS
="$LDFLAGS"
8707 LDFLAGS
="$LDFLAGS -b"
8708 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8709 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8710 # The linker can only warn and ignore the option if not recognized
8711 # So say no if there are warnings
8712 if test -s conftest.err
; then
8713 # Append any errors to the config.log.
8714 cat conftest.err
1>&5
8715 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8716 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8717 if diff conftest.exp conftest.er2
>/dev
/null
; then
8718 lt_cv_prog_compiler__b
=yes
8721 lt_cv_prog_compiler__b
=yes
8725 LDFLAGS
="$save_LDFLAGS"
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8729 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8731 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8732 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8734 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8740 if test "$with_gnu_ld" = no
; then
8741 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8742 hardcode_libdir_separator
=:
8747 hardcode_shlibpath_var
=no
8751 hardcode_direct_absolute
=yes
8752 export_dynamic_flag_spec
='${wl}-E'
8754 # hardcode_minus_L: Not really in the search PATH,
8755 # but as the default location of the library.
8756 hardcode_minus_L
=yes
8762 irix5
* | irix6
* | nonstopux
*)
8763 if test "$GCC" = yes; then
8764 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'
8765 # Try to use the -exported_symbol ld option, if it does not
8766 # work, assume that -exports_file does not work either and
8767 # implicitly export all symbols.
8768 save_LDFLAGS
="$LDFLAGS"
8769 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8770 if test x
$gcc_no_link = xyes
; then
8771 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8777 if ac_fn_c_try_link
"$LINENO"; then :
8778 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'
8781 rm -f core conftest.err conftest.
$ac_objext \
8782 conftest
$ac_exeext conftest.
$ac_ext
8783 LDFLAGS
="$save_LDFLAGS"
8785 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'
8786 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'
8788 archive_cmds_need_lc
='no'
8789 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8790 hardcode_libdir_separator
=:
8792 link_all_deplibs
=yes
8796 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8797 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8799 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8801 hardcode_libdir_flag_spec
='-R$libdir'
8803 hardcode_shlibpath_var
=no
8807 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8809 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8810 hardcode_libdir_separator
=:
8811 hardcode_shlibpath_var
=no
8818 if test -f /usr
/libexec
/ld.so
; then
8820 hardcode_shlibpath_var
=no
8821 hardcode_direct_absolute
=yes
8822 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8823 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8824 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8825 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8826 export_dynamic_flag_spec
='${wl}-E'
8829 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8830 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8831 hardcode_libdir_flag_spec
='-R$libdir'
8834 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8835 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8845 hardcode_libdir_flag_spec
='-L$libdir'
8846 hardcode_minus_L
=yes
8847 allow_undefined_flag
=unsupported
8848 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'
8849 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8853 if test "$GCC" = yes; then
8854 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8855 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'
8857 allow_undefined_flag
=' -expect_unresolved \*'
8858 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'
8860 archive_cmds_need_lc
='no'
8861 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8862 hardcode_libdir_separator
=:
8865 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8866 if test "$GCC" = yes; then
8867 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8868 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'
8869 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8871 allow_undefined_flag
=' -expect_unresolved \*'
8872 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'
8873 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~
8874 $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'
8876 # Both c and cxx compiler support -rpath directly
8877 hardcode_libdir_flag_spec
='-rpath $libdir'
8879 archive_cmds_need_lc
='no'
8880 hardcode_libdir_separator
=:
8884 no_undefined_flag
=' -z defs'
8885 if test "$GCC" = yes; then
8887 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8888 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8889 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8891 case `$CC -V 2>&1` in
8894 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8895 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8896 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8900 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8901 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8902 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8906 hardcode_libdir_flag_spec
='-R$libdir'
8907 hardcode_shlibpath_var
=no
8909 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8911 # The compiler driver will combine and reorder linker options,
8912 # but understands `-z linker_flag'. GCC discards it without `$wl',
8913 # but is careful enough not to reorder.
8914 # Supported since Solaris 2.6 (maybe 2.5.1?)
8915 if test "$GCC" = yes; then
8916 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8918 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8922 link_all_deplibs
=yes
8926 if test "x$host_vendor" = xsequent
; then
8927 # Use $CC to link under sequent, because it throws in some extra .o
8928 # files that make .init and .fini sections work.
8929 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8931 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8933 hardcode_libdir_flag_spec
='-L$libdir'
8935 hardcode_minus_L
=yes
8936 hardcode_shlibpath_var
=no
8940 case $host_vendor in
8942 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8943 hardcode_direct
=yes # is this really true???
8946 ## LD is ld it makes a PLAMLIB
8947 ## CC just makes a GrossModule.
8948 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8949 reload_cmds
='$CC -r -o $output$reload_objs'
8953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8954 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8957 runpath_var
='LD_RUN_PATH'
8958 hardcode_shlibpath_var
=no
8962 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8963 hardcode_shlibpath_var
=no
8964 export_dynamic_flag_spec
='-Bexport'
8968 if test -d /usr
/nec
; then
8969 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8970 hardcode_shlibpath_var
=no
8971 runpath_var
=LD_RUN_PATH
8972 hardcode_runpath_var
=yes
8977 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8978 no_undefined_flag
='${wl}-z,text'
8979 archive_cmds_need_lc
=no
8980 hardcode_shlibpath_var
=no
8981 runpath_var
='LD_RUN_PATH'
8983 if test "$GCC" = yes; then
8984 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8985 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8987 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8988 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8992 sysv5
* | sco3.2v5
* | sco5v6
*)
8993 # Note: We can NOT use -z defs as we might desire, because we do not
8994 # link with -lc, and that would cause any symbols used from libc to
8995 # always be unresolved, which means just about no library would
8996 # ever link correctly. If we're not using GNU ld we use -z text
8997 # though, which does catch some bad symbols but isn't as heavy-handed
8999 no_undefined_flag
='${wl}-z,text'
9000 allow_undefined_flag
='${wl}-z,nodefs'
9001 archive_cmds_need_lc
=no
9002 hardcode_shlibpath_var
=no
9003 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9004 hardcode_libdir_separator
=':'
9005 link_all_deplibs
=yes
9006 export_dynamic_flag_spec
='${wl}-Bexport'
9007 runpath_var
='LD_RUN_PATH'
9009 if test "$GCC" = yes; then
9010 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9011 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9013 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9014 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9019 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9020 hardcode_libdir_flag_spec
='-L$libdir'
9021 hardcode_shlibpath_var
=no
9029 if test x
$host_vendor = xsni
; then
9031 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9032 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9039 $as_echo "$ld_shlibs" >&6; }
9040 test "$ld_shlibs" = no
&& can_build_shared
=no
9042 with_gnu_ld
=$with_gnu_ld
9059 # Do we need to explicitly link libc?
9061 case "x$archive_cmds_need_lc" in
9063 # Assume -lc should be added
9064 archive_cmds_need_lc
=yes
9066 if test "$enable_shared" = yes && test "$GCC" = yes; then
9067 case $archive_cmds in
9069 # FIXME: we may have to deal with multi-command sequences.
9072 # Test whether the compiler implicitly links with -lc since on some
9073 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9074 # to ld, don't add -lc before -lgcc.
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9076 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9077 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9078 $as_echo_n "(cached) " >&6
9081 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9084 (eval $ac_compile) 2>&5
9086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9087 test $ac_status = 0; } 2>conftest.err
; then
9090 libobjs
=conftest.
$ac_objext
9092 wl
=$lt_prog_compiler_wl
9093 pic_flag
=$lt_prog_compiler_pic
9099 lt_save_allow_undefined_flag
=$allow_undefined_flag
9100 allow_undefined_flag
=
9101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9102 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9105 test $ac_status = 0; }
9107 lt_cv_archive_cmds_need_lc
=no
9109 lt_cv_archive_cmds_need_lc
=yes
9111 allow_undefined_flag
=$lt_save_allow_undefined_flag
9113 cat conftest.err
1>&5
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9119 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9120 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9284 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9286 if test "$GCC" = yes; then
9288 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9289 *) lt_awk_arg
="/^libraries:/" ;;
9292 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9293 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9295 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9296 case $lt_search_path_spec in
9298 # if the path contains ";" then we assume it to be the separator
9299 # otherwise default to the standard path separator (i.e. ":") - it is
9300 # assumed that no part of a normal pathname contains ";" but that should
9301 # okay in the real world where ";" in dirpaths is itself problematic.
9302 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9305 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9308 # Ok, now we have the path, separated by spaces, we can step through it
9309 # and add multilib dir if necessary.
9310 lt_tmp_lt_search_path_spec
=
9311 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9312 for lt_sys_path
in $lt_search_path_spec; do
9313 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9314 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9316 test -d "$lt_sys_path" && \
9317 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9320 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9321 BEGIN {RS=" "; FS="/|\n";} {
9324 for (lt_i = NF; lt_i > 0; lt_i--) {
9325 if ($lt_i != "" && $lt_i != ".") {
9326 if ($lt_i == "..") {
9329 if (lt_count == 0) {
9330 lt_foo="/" $lt_i lt_foo;
9337 if (lt_foo != "") { lt_freq[lt_foo]++; }
9338 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9340 # AWK program above erroneously prepends '/' to C:/dos/paths
9343 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9344 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9346 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9348 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9351 libname_spec
='lib$name'
9359 shlibpath_overrides_runpath
=unknown
9361 dynamic_linker
="$host_os ld.so"
9362 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9363 need_lib_prefix
=unknown
9364 hardcode_into_libs
=no
9366 # when you set need_version to no, make sure it does not cause -set_version
9367 # flags to be left without arguments
9368 need_version
=unknown
9373 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9374 shlibpath_var
=LIBPATH
9376 # AIX 3 has no versioning support, so we append a major version to the name.
9377 soname_spec
='${libname}${release}${shared_ext}$major'
9384 hardcode_into_libs
=yes
9385 if test "$host_cpu" = ia64
; then
9386 # AIX 5 supports IA64
9387 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9388 shlibpath_var
=LD_LIBRARY_PATH
9390 # With GCC up to 2.95.x, collect2 would create an import file
9391 # for dependence libraries. The import file would start with
9392 # the line `#! .'. This would cause the generated library to
9393 # depend on `.', always an invalid library. This was fixed in
9394 # development snapshots of GCC prior to 3.0.
9396 aix4 | aix4.
[01] | aix4.
[01].
*)
9397 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9399 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9406 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9407 # soname into executable. Probably we can add versioning support to
9408 # collect2, so additional links can be useful in future.
9409 if test "$aix_use_runtimelinking" = yes; then
9410 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9411 # instead of lib<name>.a to let people know that these are not
9412 # typical AIX shared libraries.
9413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9415 # We preserve .a as extension for shared libraries through AIX4.2
9416 # and later when we are not doing run time linking.
9417 library_names_spec
='${libname}${release}.a $libname.a'
9418 soname_spec
='${libname}${release}${shared_ext}$major'
9420 shlibpath_var
=LIBPATH
9427 # Since July 2007 AmigaOS4 officially supports .so libraries.
9428 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9432 library_names_spec
='$libname.ixlibrary $libname.a'
9433 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9434 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'
9440 library_names_spec
='${libname}${shared_ext}'
9441 dynamic_linker
="$host_os ld.so"
9442 shlibpath_var
=LIBRARY_PATH
9448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9449 soname_spec
='${libname}${release}${shared_ext}$major'
9450 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9451 shlibpath_var
=LD_LIBRARY_PATH
9452 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9453 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9454 # the default ld.so.conf also contains /usr/contrib/lib and
9455 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9456 # libtool to hard-code these into programs
9459 cygwin
* | mingw
* | pw32
* | cegcc
*)
9460 version_type
=windows
9465 case $GCC,$host_os in
9466 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9467 library_names_spec
='$libname.dll.a'
9468 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9469 postinstall_cmds
='base_file=`basename \${file}`~
9470 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9471 dldir=$destdir/`dirname \$dlpath`~
9472 test -d \$dldir || mkdir -p \$dldir~
9473 $install_prog $dir/$dlname \$dldir/$dlname~
9474 chmod a+x \$dldir/$dlname~
9475 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9476 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9478 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9479 dlpath=$dir/\$dldll~
9481 shlibpath_overrides_runpath
=yes
9485 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9486 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9488 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9491 # MinGW DLLs use traditional 'lib' prefix
9492 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9495 # pw32 DLLs use 'pw' prefix rather than 'lib'
9496 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9502 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9505 dynamic_linker
='Win32 ld.exe'
9506 # FIXME: first we should search . and the directory the executable is in
9510 darwin
* | rhapsody
*)
9511 dynamic_linker
="$host_os dyld"
9515 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9516 soname_spec
='${libname}${release}${major}$shared_ext'
9517 shlibpath_overrides_runpath
=yes
9518 shlibpath_var
=DYLD_LIBRARY_PATH
9519 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9521 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9522 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9530 soname_spec
='${libname}${release}${shared_ext}$major'
9531 shlibpath_var
=LD_LIBRARY_PATH
9534 freebsd
* | dragonfly
*)
9535 # DragonFly does not have aout. When/if they implement a new
9536 # versioning mechanism, adjust this.
9537 if test -x /usr
/bin
/objformat
; then
9538 objformat
=`/usr/bin/objformat`
9541 freebsd
[23].
*) objformat
=aout
;;
9545 version_type
=freebsd-
$objformat
9546 case $version_type in
9548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9553 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9557 shlibpath_var
=LD_LIBRARY_PATH
9560 shlibpath_overrides_runpath
=yes
9562 freebsd3.
[01]* | freebsdelf3.
[01]*)
9563 shlibpath_overrides_runpath
=yes
9564 hardcode_into_libs
=yes
9566 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9567 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9568 shlibpath_overrides_runpath
=no
9569 hardcode_into_libs
=yes
9571 *) # from 4.6 on, and DragonFly
9572 shlibpath_overrides_runpath
=yes
9573 hardcode_into_libs
=yes
9582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9583 soname_spec
='${libname}${release}${shared_ext}$major'
9584 shlibpath_var
=LD_LIBRARY_PATH
9585 hardcode_into_libs
=yes
9592 dynamic_linker
="$host_os runtime_loader"
9593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9594 soname_spec
='${libname}${release}${shared_ext}$major'
9595 shlibpath_var
=LIBRARY_PATH
9596 shlibpath_overrides_runpath
=yes
9597 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9598 hardcode_into_libs
=yes
9601 hpux9
* | hpux10
* | hpux11
*)
9602 # Give a soname corresponding to the major version so that dld.sl refuses to
9603 # link against other versions.
9610 hardcode_into_libs
=yes
9611 dynamic_linker
="$host_os dld.so"
9612 shlibpath_var
=LD_LIBRARY_PATH
9613 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9615 soname_spec
='${libname}${release}${shared_ext}$major'
9616 if test "X$HPUX_IA64_MODE" = X32
; then
9617 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9619 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9621 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9625 hardcode_into_libs
=yes
9626 dynamic_linker
="$host_os dld.sl"
9627 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9628 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9630 soname_spec
='${libname}${release}${shared_ext}$major'
9631 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9632 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9636 dynamic_linker
="$host_os dld.sl"
9637 shlibpath_var
=SHLIB_PATH
9638 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9640 soname_spec
='${libname}${release}${shared_ext}$major'
9643 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9644 postinstall_cmds
='chmod 555 $lib'
9645 # or fails outright, so override atomically:
9646 install_override_mode
=555
9653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9654 soname_spec
='${libname}${release}${shared_ext}$major'
9655 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9656 shlibpath_var
=LD_LIBRARY_PATH
9657 shlibpath_overrides_runpath
=no
9658 hardcode_into_libs
=yes
9661 irix5
* | irix6
* | nonstopux
*)
9663 nonstopux
*) version_type
=nonstopux
;;
9665 if test "$lt_cv_prog_gnu_ld" = yes; then
9673 soname_spec
='${libname}${release}${shared_ext}$major'
9674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9676 irix5
* | nonstopux
*)
9680 case $LD in # libtool.m4 will add one of these switches to LD
9681 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9682 libsuff
= shlibsuff
= libmagic
=32-bit;;
9683 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9684 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9685 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9686 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9687 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9691 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9692 shlibpath_overrides_runpath
=no
9693 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9694 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9695 hardcode_into_libs
=yes
9698 # No shared lib support for Linux oldld, aout, or coff.
9699 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9703 # This must be Linux ELF.
9704 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9709 soname_spec
='${libname}${release}${shared_ext}$major'
9710 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9711 shlibpath_var
=LD_LIBRARY_PATH
9712 shlibpath_overrides_runpath
=no
9714 # Some binutils ld are patched to set DT_RUNPATH
9715 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9716 $as_echo_n "(cached) " >&6
9718 lt_cv_shlibpath_overrides_runpath
=no
9719 save_LDFLAGS
=$LDFLAGS
9721 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9722 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9723 if test x
$gcc_no_link = xyes
; then
9724 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9737 if ac_fn_c_try_link
"$LINENO"; then :
9738 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9739 lt_cv_shlibpath_overrides_runpath
=yes
9742 rm -f core conftest.err conftest.
$ac_objext \
9743 conftest
$ac_exeext conftest.
$ac_ext
9744 LDFLAGS
=$save_LDFLAGS
9749 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9751 # This implies no fast_install, which is unacceptable.
9752 # Some rework will be needed to allow for fast_install
9753 # before this can be enabled.
9754 hardcode_into_libs
=yes
9756 # Append ld.so.conf contents to the search path
9757 if test -f /etc
/ld.so.conf
; then
9758 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' ' '`
9759 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9762 # We used to test for /lib/ld.so.1 and disable shared libraries on
9763 # powerpc, because MkLinux only supported shared libraries with the
9764 # GNU dynamic linker. Since this was broken with cross compilers,
9765 # most powerpc-linux boxes support dynamic linking these days and
9766 # people can always --disable-shared, the test was removed, and we
9767 # assume the GNU/Linux dynamic linker is in use.
9768 dynamic_linker
='GNU/Linux ld.so'
9775 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9777 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9778 dynamic_linker
='NetBSD (a.out) ld.so'
9780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9781 soname_spec
='${libname}${release}${shared_ext}$major'
9782 dynamic_linker
='NetBSD ld.elf_so'
9784 shlibpath_var
=LD_LIBRARY_PATH
9785 shlibpath_overrides_runpath
=yes
9786 hardcode_into_libs
=yes
9791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792 shlibpath_var
=LD_LIBRARY_PATH
9793 shlibpath_overrides_runpath
=yes
9800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9801 soname_spec
='${libname}${release}${shared_ext}$major'
9802 shlibpath_var
=LD_LIBRARY_PATH
9803 shlibpath_overrides_runpath
=no
9804 hardcode_into_libs
=yes
9805 dynamic_linker
='ldqnx.so'
9810 sys_lib_dlsearch_path_spec
="/usr/lib"
9812 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9814 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9815 *) need_version
=no
;;
9817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9819 shlibpath_var
=LD_LIBRARY_PATH
9820 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9822 openbsd2.
[89] | openbsd2.
[89].
*)
9823 shlibpath_overrides_runpath
=no
9826 shlibpath_overrides_runpath
=yes
9830 shlibpath_overrides_runpath
=yes
9835 libname_spec
='$name'
9838 library_names_spec
='$libname${shared_ext} $libname.a'
9839 dynamic_linker
='OS/2 ld.exe'
9840 shlibpath_var
=LIBPATH
9843 osf3
* | osf4
* | osf5
*)
9847 soname_spec
='${libname}${release}${shared_ext}$major'
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9849 shlibpath_var
=LD_LIBRARY_PATH
9850 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9851 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9863 soname_spec
='${libname}${release}${shared_ext}$major'
9864 shlibpath_var
=LD_LIBRARY_PATH
9865 shlibpath_overrides_runpath
=yes
9866 hardcode_into_libs
=yes
9867 # ldd complains unless libraries are executable
9868 postinstall_cmds
='chmod +x $lib'
9873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9874 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9875 shlibpath_var
=LD_LIBRARY_PATH
9876 shlibpath_overrides_runpath
=yes
9877 if test "$with_gnu_ld" = yes; then
9885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9886 soname_spec
='${libname}${release}${shared_ext}$major'
9887 shlibpath_var
=LD_LIBRARY_PATH
9888 case $host_vendor in
9890 shlibpath_overrides_runpath
=no
9892 runpath_var
=LD_RUN_PATH
9900 shlibpath_overrides_runpath
=no
9901 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9907 if test -d /usr
/nec
;then
9909 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9910 soname_spec
='$libname${shared_ext}.$major'
9911 shlibpath_var
=LD_LIBRARY_PATH
9915 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9916 version_type
=freebsd-elf
9919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9920 soname_spec
='${libname}${release}${shared_ext}$major'
9921 shlibpath_var
=LD_LIBRARY_PATH
9922 shlibpath_overrides_runpath
=yes
9923 hardcode_into_libs
=yes
9924 if test "$with_gnu_ld" = yes; then
9925 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9927 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9930 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9934 sys_lib_dlsearch_path_spec
='/usr/lib'
9938 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9943 shlibpath_var
=LD_LIBRARY_PATH
9944 shlibpath_overrides_runpath
=no
9945 hardcode_into_libs
=yes
9950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9951 soname_spec
='${libname}${release}${shared_ext}$major'
9952 shlibpath_var
=LD_LIBRARY_PATH
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9960 $as_echo "$dynamic_linker" >&6; }
9961 test "$dynamic_linker" = no
&& can_build_shared
=no
9963 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9964 if test "$GCC" = yes; then
9965 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9968 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9969 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9971 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9972 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10067 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10069 if test -n "$hardcode_libdir_flag_spec" ||
10070 test -n "$runpath_var" ||
10071 test "X$hardcode_automatic" = "Xyes" ; then
10073 # We can hardcode non-existent directories.
10074 if test "$hardcode_direct" != no
&&
10075 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10076 # have to relink, otherwise we might link with an installed library
10077 # when we should be linking with a yet-to-be-installed one
10078 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10079 test "$hardcode_minus_L" != no
; then
10080 # Linking always hardcodes the temporary library directory.
10081 hardcode_action
=relink
10083 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10084 hardcode_action
=immediate
10087 # We cannot hardcode anything, or else we can only hardcode existing
10089 hardcode_action
=unsupported
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10092 $as_echo "$hardcode_action" >&6; }
10094 if test "$hardcode_action" = relink ||
10095 test "$inherit_rpath" = yes; then
10096 # Fast installation is not supported
10097 enable_fast_install
=no
10098 elif test "$shlibpath_overrides_runpath" = yes ||
10099 test "$enable_shared" = no
; then
10100 # Fast installation is not necessary
10101 enable_fast_install
=needless
10109 if test "x$enable_dlopen" != xyes
; then
10110 enable_dlopen
=unknown
10111 enable_dlopen_self
=unknown
10112 enable_dlopen_self_static
=unknown
10119 lt_cv_dlopen
="load_add_on"
10121 lt_cv_dlopen_self
=yes
10124 mingw
* | pw32
* | cegcc
*)
10125 lt_cv_dlopen
="LoadLibrary"
10130 lt_cv_dlopen
="dlopen"
10135 # if libdl is installed we need to link against it
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10137 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10139 $as_echo_n "(cached) " >&6
10141 ac_check_lib_save_LIBS
=$LIBS
10143 if test x
$gcc_no_link = xyes
; then
10144 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10164 if ac_fn_c_try_link
"$LINENO"; then :
10165 ac_cv_lib_dl_dlopen
=yes
10167 ac_cv_lib_dl_dlopen
=no
10169 rm -f core conftest.err conftest.
$ac_objext \
10170 conftest
$ac_exeext conftest.
$ac_ext
10171 LIBS
=$ac_check_lib_save_LIBS
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10175 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10176 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10179 lt_cv_dlopen
="dyld"
10181 lt_cv_dlopen_self
=yes
10188 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10189 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10190 lt_cv_dlopen
="shl_load"
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10193 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10194 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10195 $as_echo_n "(cached) " >&6
10197 ac_check_lib_save_LIBS
=$LIBS
10199 if test x
$gcc_no_link = xyes
; then
10200 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10215 return shl_load ();
10220 if ac_fn_c_try_link
"$LINENO"; then :
10221 ac_cv_lib_dld_shl_load
=yes
10223 ac_cv_lib_dld_shl_load
=no
10225 rm -f core conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 LIBS
=$ac_check_lib_save_LIBS
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10230 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10231 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10232 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10234 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10235 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10236 lt_cv_dlopen
="dlopen"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10239 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10240 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10241 $as_echo_n "(cached) " >&6
10243 ac_check_lib_save_LIBS
=$LIBS
10245 if test x
$gcc_no_link = xyes
; then
10246 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10266 if ac_fn_c_try_link
"$LINENO"; then :
10267 ac_cv_lib_dl_dlopen
=yes
10269 ac_cv_lib_dl_dlopen
=no
10271 rm -f core conftest.err conftest.
$ac_objext \
10272 conftest
$ac_exeext conftest.
$ac_ext
10273 LIBS
=$ac_check_lib_save_LIBS
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10276 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10277 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10278 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10281 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10282 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10283 $as_echo_n "(cached) " >&6
10285 ac_check_lib_save_LIBS
=$LIBS
10286 LIBS
="-lsvld $LIBS"
10287 if test x
$gcc_no_link = xyes
; then
10288 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10308 if ac_fn_c_try_link
"$LINENO"; then :
10309 ac_cv_lib_svld_dlopen
=yes
10311 ac_cv_lib_svld_dlopen
=no
10313 rm -f core conftest.err conftest.
$ac_objext \
10314 conftest
$ac_exeext conftest.
$ac_ext
10315 LIBS
=$ac_check_lib_save_LIBS
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10318 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10319 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10320 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10323 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10324 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10325 $as_echo_n "(cached) " >&6
10327 ac_check_lib_save_LIBS
=$LIBS
10329 if test x
$gcc_no_link = xyes
; then
10330 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10335 /* Override any GCC internal prototype to avoid an error.
10336 Use char because int might match the return type of a GCC
10337 builtin and then its argument prototype would still apply. */
10345 return dld_link ();
10350 if ac_fn_c_try_link
"$LINENO"; then :
10351 ac_cv_lib_dld_dld_link
=yes
10353 ac_cv_lib_dld_dld_link
=no
10355 rm -f core conftest.err conftest.
$ac_objext \
10356 conftest
$ac_exeext conftest.
$ac_ext
10357 LIBS
=$ac_check_lib_save_LIBS
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10360 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10361 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10362 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10383 if test "x$lt_cv_dlopen" != xno
; then
10389 case $lt_cv_dlopen in
10391 save_CPPFLAGS
="$CPPFLAGS"
10392 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10394 save_LDFLAGS
="$LDFLAGS"
10395 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10398 LIBS
="$lt_cv_dlopen_libs $LIBS"
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10401 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10402 if test "${lt_cv_dlopen_self+set}" = set; then :
10403 $as_echo_n "(cached) " >&6
10405 if test "$cross_compiling" = yes; then :
10406 lt_cv_dlopen_self
=cross
10408 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10409 lt_status
=$lt_dlunknown
10410 cat > conftest.
$ac_ext <<_LT_EOF
10411 #line 10411 "configure"
10412 #include "confdefs.h"
10421 # define LT_DLGLOBAL RTLD_GLOBAL
10424 # define LT_DLGLOBAL DL_GLOBAL
10426 # define LT_DLGLOBAL 0
10430 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10431 find out it does not work in some platform. */
10432 #ifndef LT_DLLAZY_OR_NOW
10434 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10437 # define LT_DLLAZY_OR_NOW DL_LAZY
10440 # define LT_DLLAZY_OR_NOW RTLD_NOW
10443 # define LT_DLLAZY_OR_NOW DL_NOW
10445 # define LT_DLLAZY_OR_NOW 0
10452 /* When -fvisbility=hidden is used, assume the code has been annotated
10453 correspondingly for the symbols needed. */
10454 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10455 void fnord () __attribute__((visibility("default")));
10458 void fnord () { int i=42; }
10461 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10462 int status = $lt_dlunknown;
10466 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10469 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10470 else puts (dlerror ());
10472 /* dlclose (self); */
10480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10481 (eval $ac_link) 2>&5
10483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10484 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10485 (.
/conftest
; exit; ) >&5 2>/dev
/null
10487 case x
$lt_status in
10488 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10489 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10490 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10493 # compilation failed
10494 lt_cv_dlopen_self
=no
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10502 $as_echo "$lt_cv_dlopen_self" >&6; }
10504 if test "x$lt_cv_dlopen_self" = xyes
; then
10505 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10507 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10508 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10509 $as_echo_n "(cached) " >&6
10511 if test "$cross_compiling" = yes; then :
10512 lt_cv_dlopen_self_static
=cross
10514 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10515 lt_status
=$lt_dlunknown
10516 cat > conftest.
$ac_ext <<_LT_EOF
10517 #line 10517 "configure"
10518 #include "confdefs.h"
10527 # define LT_DLGLOBAL RTLD_GLOBAL
10530 # define LT_DLGLOBAL DL_GLOBAL
10532 # define LT_DLGLOBAL 0
10536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10537 find out it does not work in some platform. */
10538 #ifndef LT_DLLAZY_OR_NOW
10540 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10543 # define LT_DLLAZY_OR_NOW DL_LAZY
10546 # define LT_DLLAZY_OR_NOW RTLD_NOW
10549 # define LT_DLLAZY_OR_NOW DL_NOW
10551 # define LT_DLLAZY_OR_NOW 0
10558 /* When -fvisbility=hidden is used, assume the code has been annotated
10559 correspondingly for the symbols needed. */
10560 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10561 void fnord () __attribute__((visibility("default")));
10564 void fnord () { int i=42; }
10567 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10568 int status = $lt_dlunknown;
10572 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10575 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10576 else puts (dlerror ());
10578 /* dlclose (self); */
10586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10587 (eval $ac_link) 2>&5
10589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10590 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10591 (.
/conftest
; exit; ) >&5 2>/dev
/null
10593 case x
$lt_status in
10594 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10595 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10596 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10599 # compilation failed
10600 lt_cv_dlopen_self_static
=no
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10608 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10611 CPPFLAGS
="$save_CPPFLAGS"
10612 LDFLAGS
="$save_LDFLAGS"
10617 case $lt_cv_dlopen_self in
10618 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10619 *) enable_dlopen_self
=unknown
;;
10622 case $lt_cv_dlopen_self_static in
10623 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10624 *) enable_dlopen_self_static
=unknown
;;
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10647 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10648 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10649 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10650 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10652 $as_echo "yes" >&6; }
10654 # FIXME - insert some real tests, host_os isn't really good enough
10657 if test -n "$STRIP" ; then
10658 striplib
="$STRIP -x"
10659 old_striplib
="$STRIP -S"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10661 $as_echo "yes" >&6; }
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10664 $as_echo "no" >&6; }
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10669 $as_echo "no" >&6; }
10685 # Report which library types will actually be built
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10687 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10689 $as_echo "$can_build_shared" >&6; }
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10692 $as_echo_n "checking whether to build shared libraries... " >&6; }
10693 test "$can_build_shared" = "no" && enable_shared
=no
10695 # On AIX, shared libraries and static libraries use the same namespace, and
10696 # are all built from PIC.
10699 test "$enable_shared" = yes && enable_static
=no
10700 if test -n "$RANLIB"; then
10701 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10702 postinstall_cmds
='$RANLIB $lib'
10707 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10708 test "$enable_shared" = yes && enable_static
=no
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10713 $as_echo "$enable_shared" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10716 $as_echo_n "checking whether to build static libraries... " >&6; }
10717 # Make sure either enable_shared or enable_static is yes.
10718 test "$enable_shared" = yes || enable_static
=yes
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10720 $as_echo "$enable_static" >&6; }
10727 ac_cpp
='$CPP $CPPFLAGS'
10728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10746 ac_config_commands
="$ac_config_commands libtool"
10751 # Only expand once:
10755 # Find CPP now so that any conditional tests below won't do it and
10756 # thereby make the resulting definitions conditional.
10758 ac_cpp
='$CPP $CPPFLAGS'
10759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
10763 $as_echo_n "checking how to run the C preprocessor... " >&6; }
10764 # On Suns, sometimes $CPP names a directory.
10765 if test -n "$CPP" && test -d "$CPP"; then
10768 if test -z "$CPP"; then
10769 if test "${ac_cv_prog_CPP+set}" = set; then :
10770 $as_echo_n "(cached) " >&6
10772 # Double quotes because CPP needs to be expanded
10773 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10775 ac_preproc_ok
=false
10776 for ac_c_preproc_warn_flag
in '' yes
10778 # Use a header file that comes with gcc, so configuring glibc
10779 # with a fresh cross-compiler works.
10780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10781 # <limits.h> exists even on freestanding compilers.
10782 # On the NeXT, cc -E runs the code through the compiler's parser,
10783 # not just through cpp. "Syntax error" is here to catch this case.
10784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10787 # include <limits.h>
10789 # include <assert.h>
10793 if ac_fn_c_try_cpp
"$LINENO"; then :
10796 # Broken: fails on valid input.
10799 rm -f conftest.err conftest.
$ac_ext
10801 # OK, works on sane cases. Now check whether nonexistent headers
10802 # can be detected and how.
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10805 #include <ac_nonexistent.h>
10807 if ac_fn_c_try_cpp
"$LINENO"; then :
10808 # Broken: success on invalid input.
10811 # Passes both tests.
10815 rm -f conftest.err conftest.
$ac_ext
10818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10819 rm -f conftest.err conftest.
$ac_ext
10820 if $ac_preproc_ok; then :
10825 ac_cv_prog_CPP
=$CPP
10828 CPP
=$ac_cv_prog_CPP
10830 ac_cv_prog_CPP
=$CPP
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
10833 $as_echo "$CPP" >&6; }
10834 ac_preproc_ok
=false
10835 for ac_c_preproc_warn_flag
in '' yes
10837 # Use a header file that comes with gcc, so configuring glibc
10838 # with a fresh cross-compiler works.
10839 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10840 # <limits.h> exists even on freestanding compilers.
10841 # On the NeXT, cc -E runs the code through the compiler's parser,
10842 # not just through cpp. "Syntax error" is here to catch this case.
10843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 # include <limits.h>
10848 # include <assert.h>
10852 if ac_fn_c_try_cpp
"$LINENO"; then :
10855 # Broken: fails on valid input.
10858 rm -f conftest.err conftest.
$ac_ext
10860 # OK, works on sane cases. Now check whether nonexistent headers
10861 # can be detected and how.
10862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10864 #include <ac_nonexistent.h>
10866 if ac_fn_c_try_cpp
"$LINENO"; then :
10867 # Broken: success on invalid input.
10870 # Passes both tests.
10874 rm -f conftest.err conftest.
$ac_ext
10877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10878 rm -f conftest.err conftest.
$ac_ext
10879 if $ac_preproc_ok; then :
10882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10884 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
10885 See \`config.log' for more details." "$LINENO" 5; }
10889 ac_cpp
='$CPP $CPPFLAGS'
10890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10895 if test -n "$with_cross_host"; then
10896 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
10897 # may not work correctly, because the compiler may not be able to
10898 # link executables.
10900 # We assume newlib. This lets us hard-code the functions we know
10902 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
10904 $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
10907 # We ignore --with-system-zlib in this case.
10908 target_all
=libzgcj.la
10910 if test x
$gcc_no_link = xyes
; then
10911 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
10912 ac_cv_func_mmap_fixed_mapped
=no
10915 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
10916 for ac_header
in stdlib.h unistd.h
10918 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10919 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10920 eval as_val
=\$
$as_ac_Header
10921 if test "x$as_val" = x
""yes; then :
10922 cat >>confdefs.h
<<_ACEOF
10923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10930 for ac_func
in getpagesize
10932 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
10933 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
10934 cat >>confdefs.h
<<_ACEOF
10935 #define HAVE_GETPAGESIZE 1
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
10942 $as_echo_n "checking for working mmap... " >&6; }
10943 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
10944 $as_echo_n "(cached) " >&6
10946 if test "$cross_compiling" = yes; then :
10947 ac_cv_func_mmap_fixed_mapped
=no
10949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10951 $ac_includes_default
10952 /* malloc might have been renamed as rpl_malloc. */
10955 /* Thanks to Mike Haertel and Jim Avera for this test.
10956 Here is a matrix of mmap possibilities:
10957 mmap private not fixed
10958 mmap private fixed at somewhere currently unmapped
10959 mmap private fixed at somewhere already mapped
10960 mmap shared not fixed
10961 mmap shared fixed at somewhere currently unmapped
10962 mmap shared fixed at somewhere already mapped
10963 For private mappings, we should verify that changes cannot be read()
10964 back from the file, nor mmap's back from the file at a different
10965 address. (There have been systems where private was not correctly
10966 implemented like the infamous i386 svr4.0, and systems where the
10967 VM page cache was not coherent with the file system buffer cache
10968 like early versions of FreeBSD and possibly contemporary NetBSD.)
10969 For shared mappings, we should conversely verify that changes get
10970 propagated back to all the places they're supposed to be.
10972 Grep wants private fixed already mapped.
10973 The main things grep needs to know about mmap are:
10974 * does it exist and is it safe to write into the mmap'd area
10975 * how to use it (BSD variants) */
10978 #include <sys/mman.h>
10980 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
10984 /* This mess was copied from the GNU getpagesize.h. */
10985 #ifndef HAVE_GETPAGESIZE
10986 /* Assume that all systems that can run configure have sys/param.h. */
10987 # ifndef HAVE_SYS_PARAM_H
10988 # define HAVE_SYS_PARAM_H 1
10991 # ifdef _SC_PAGESIZE
10992 # define getpagesize() sysconf(_SC_PAGESIZE)
10993 # else /* no _SC_PAGESIZE */
10994 # ifdef HAVE_SYS_PARAM_H
10995 # include <sys/param.h>
10996 # ifdef EXEC_PAGESIZE
10997 # define getpagesize() EXEC_PAGESIZE
10998 # else /* no EXEC_PAGESIZE */
11000 # define getpagesize() NBPG * CLSIZE
11003 # endif /* no CLSIZE */
11004 # else /* no NBPG */
11006 # define getpagesize() NBPC
11007 # else /* no NBPC */
11009 # define getpagesize() PAGESIZE
11010 # endif /* PAGESIZE */
11011 # endif /* no NBPC */
11012 # endif /* no NBPG */
11013 # endif /* no EXEC_PAGESIZE */
11014 # else /* no HAVE_SYS_PARAM_H */
11015 # define getpagesize() 8192 /* punt totally */
11016 # endif /* no HAVE_SYS_PARAM_H */
11017 # endif /* no _SC_PAGESIZE */
11019 #endif /* no HAVE_GETPAGESIZE */
11024 char *data, *data2, *data3;
11028 pagesize = getpagesize ();
11030 /* First, make a file with some known garbage in it. */
11031 data = (char *) malloc (pagesize);
11034 for (i = 0; i < pagesize; ++i)
11035 *(data + i) = rand ();
11037 fd = creat ("conftest.mmap", 0600);
11040 if (write (fd, data, pagesize) != pagesize)
11044 /* Next, try to mmap the file at a fixed address which already has
11045 something else allocated at it. If we can, also make sure that
11046 we see the same garbage. */
11047 fd = open ("conftest.mmap", O_RDWR);
11050 data2 = (char *) malloc (2 * pagesize);
11053 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
11054 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11055 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11057 for (i = 0; i < pagesize; ++i)
11058 if (*(data + i) != *(data2 + i))
11061 /* Finally, make sure that changes to the mapped area do not
11062 percolate back to the file as seen by read(). (This is a bug on
11063 some variants of i386 svr4.0.) */
11064 for (i = 0; i < pagesize; ++i)
11065 *(data2 + i) = *(data2 + i) + 1;
11066 data3 = (char *) malloc (pagesize);
11069 if (read (fd, data3, pagesize) != pagesize)
11071 for (i = 0; i < pagesize; ++i)
11072 if (*(data + i) != *(data3 + i))
11078 if ac_fn_c_try_run
"$LINENO"; then :
11079 ac_cv_func_mmap_fixed_mapped
=yes
11081 ac_cv_func_mmap_fixed_mapped
=no
11083 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11084 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
11089 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
11090 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11092 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11095 rm -f conftest.mmap
11098 for ac_func
in memcpy strerror
11100 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11101 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11102 eval as_val
=\$
$as_ac_var
11103 if test "x$as_val" = x
""yes; then :
11104 cat >>confdefs.h
<<_ACEOF
11105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11112 if test "$with_system_zlib" = yes; then
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
11114 $as_echo_n "checking for deflate in -lz... " >&6; }
11115 if test "${ac_cv_lib_z_deflate+set}" = set; then :
11116 $as_echo_n "(cached) " >&6
11118 ac_check_lib_save_LIBS
=$LIBS
11120 if test x
$gcc_no_link = xyes
; then
11121 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11141 if ac_fn_c_try_link
"$LINENO"; then :
11142 ac_cv_lib_z_deflate
=yes
11144 ac_cv_lib_z_deflate
=no
11146 rm -f core conftest.err conftest.
$ac_objext \
11147 conftest
$ac_exeext conftest.
$ac_ext
11148 LIBS
=$ac_check_lib_save_LIBS
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
11151 $as_echo "$ac_cv_lib_z_deflate" >&6; }
11152 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
11155 target_all
=libzgcj.la
11159 target_all
=libzgcj.la
11165 for ac_header
in unistd.h
11167 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
11168 if test "x$ac_cv_header_unistd_h" = x
""yes; then :
11169 cat >>confdefs.h
<<_ACEOF
11170 #define HAVE_UNISTD_H 1
11178 if test -n "$with_cross_host" &&
11179 test x
"$with_cross_host" != x
"no"; then
11180 toolexecdir
='$(exec_prefix)/$(target_alias)'
11181 toolexeclibdir
='$(toolexecdir)/lib'
11183 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11184 toolexeclibdir
='$(libdir)'
11186 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev
/null
2>&1; then
11187 multiosdir
=/`$CC -print-multi-os-directory`
11188 case $multiosdir in
11189 /.
) multiosdir
= ;; # Avoid trailing /.
11194 toolexeclibdir
=${toolexeclibdir}${multiosdir}
11198 if test -n "$with_target_subdir"; then
11199 TARGET_LIBRARY_TRUE
=
11200 TARGET_LIBRARY_FALSE
='#'
11202 TARGET_LIBRARY_TRUE
='#'
11203 TARGET_LIBRARY_FALSE
=
11207 if test "${multilib}" = "yes"; then
11208 multilib_arg
="--enable-multilib"
11213 # Check whether --enable-host-shared was given.
11214 if test "${enable_host_shared+set}" = set; then :
11215 enableval
=$enable_host_shared; PICFLAG
=-fPIC
11222 ac_config_files
="$ac_config_files Makefile"
11224 cat >confcache
<<\_ACEOF
11225 # This file is a shell script that caches the results of configure
11226 # tests run on this system so they can be shared between configure
11227 # scripts and configure runs, see configure's option --config-cache.
11228 # It is not useful on other systems. If it contains results you don't
11229 # want to keep, you may remove or edit it.
11231 # config.status only pays attention to the cache file if you give it
11232 # the --recheck option to rerun configure.
11234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11236 # following values.
11240 # The following way of writing the cache mishandles newlines in values,
11241 # but we know of no workaround that is simple, portable, and efficient.
11242 # So, we kill variables containing newlines.
11243 # Ultrix sh set writes to stderr and can't be redirected directly,
11244 # and sets the high bit in the cache file unless we assign to the vars.
11246 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11247 eval ac_val
=\$
$ac_var
11251 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11252 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11255 _ | IFS | as_nl
) ;; #(
11256 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11257 *) { eval $ac_var=; unset $ac_var;} ;;
11263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11264 *${as_nl}ac_space
=\
*)
11265 # `set' does not quote correctly, so add quotes: double-quote
11266 # substitution turns \\\\ into \\, and sed turns \\ into \.
11269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11272 # `set' quotes correctly as required by POSIX, so do not add quotes.
11273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11286 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11287 if test -w "$cache_file"; then
11288 test "x$cache_file" != "x/dev/null" &&
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11290 $as_echo "$as_me: updating cache $cache_file" >&6;}
11291 cat confcache
>$cache_file
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11294 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11299 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11300 # Let make expand exec_prefix.
11301 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11303 # Transform confdefs.h into DEFS.
11304 # Protect against shell expansion while executing Makefile rules.
11305 # Protect against Makefile macro expansion.
11307 # If the first sed substitution is executed (which looks for macros that
11308 # take arguments), then branch to the quote section. Otherwise,
11309 # look for a macro that doesn't take arguments.
11319 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11321 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11325 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11338 DEFS
=`sed -n "$ac_script" confdefs.h`
11343 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11344 # 1. Remove the extension, and $U if already installed.
11345 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11346 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11347 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11348 # will be set to the directory where LIBOBJS objects are built.
11349 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11350 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11352 LIBOBJS
=$ac_libobjs
11354 LTLIBOBJS
=$ac_ltlibobjs
11357 if test -n "$EXEEXT"; then
11359 am__EXEEXT_FALSE
='#'
11361 am__EXEEXT_TRUE
='#'
11365 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11366 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11369 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11370 as_fn_error
"conditional \"AMDEP\" was never defined.
11371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11373 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11374 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11377 if test -z "${TARGET_LIBRARY_TRUE}" && test -z "${TARGET_LIBRARY_FALSE}"; then
11378 as_fn_error
"conditional \"TARGET_LIBRARY\" was never defined.
11379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11382 : ${CONFIG_STATUS=./config.status}
11384 ac_clean_files_save
=$ac_clean_files
11385 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11387 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11389 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11391 # Generated by $as_me.
11392 # Run this file to recreate the current configuration.
11393 # Compiler output produced by configure, useful for debugging
11394 # configure, is in config.log if it exists.
11397 ac_cs_recheck=false
11400 SHELL=\${CONFIG_SHELL-$SHELL}
11403 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11404 ## -------------------- ##
11405 ## M4sh Initialization. ##
11406 ## -------------------- ##
11408 # Be more Bourne compatible
11409 DUALCASE
=1; export DUALCASE
# for MKS sh
11410 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11413 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11414 # is contrary to our usage. Disable this feature.
11415 alias -g '${1+"$@"}'='"$@"'
11416 setopt NO_GLOB_SUBST
11418 case `(set -o) 2>/dev/null` in #(
11430 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11431 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11432 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11433 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11434 # Prefer a ksh shell builtin over an external printf program on Solaris,
11435 # but without wasting forks for bash or zsh.
11436 if test -z "$BASH_VERSION$ZSH_VERSION" \
11437 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11438 as_echo='print
-r --'
11439 as_echo_n='print
-rn --'
11440 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11441 as_echo='printf %s
\n'
11442 as_echo_n='printf %s
'
11444 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11445 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11446 as_echo_n='/usr
/ucb
/echo -n'
11448 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11449 as_echo_n_body='eval
11453 expr "X$arg" : "X\\(.*\\)$as_nl";
11454 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11456 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11458 export as_echo_n_body
11459 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11461 export as_echo_body
11462 as_echo='sh
-c $as_echo_body as_echo
'
11465 # The user is always right.
11466 if test "${PATH_SEPARATOR+set}" != set; then
11468 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11469 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11476 # We need space, tab and new line, in precisely that order. Quoting is
11477 # there to prevent editors from complaining about space-tab.
11478 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11479 # splitting by setting IFS to empty value.)
11482 # Find who we are. Look in the path if we contain no directory separator.
11484 *[\\/]* ) as_myself=$0 ;;
11485 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11486 for as_dir in $PATH
11489 test -z "$as_dir" && as_dir=.
11490 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11496 # We did not find ourselves, most probably we were run as `sh COMMAND'
11497 # in which case we are not to be found in the path.
11498 if test "x$as_myself" = x
; then
11501 if test ! -f "$as_myself"; then
11502 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11506 # Unset variables that we do not need and which cause bugs (e.g. in
11507 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11508 # suppresses any "Segmentation fault" message there. '((' could
11509 # trigger a bug in pdksh 5.2.14.
11510 for as_var
in BASH_ENV ENV MAIL MAILPATH
11511 do eval test x\
${$as_var+set} = xset \
11512 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11525 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11528 # as_fn_error ERROR [LINENO LOG_FD]
11529 # ---------------------------------
11530 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11531 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11532 # script with status $?, using 1 if that was 0.
11535 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11537 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11538 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11540 $as_echo "$as_me: error: $1" >&2
11541 as_fn_exit
$as_status
11545 # as_fn_set_status STATUS
11546 # -----------------------
11547 # Set $? to STATUS, without forking.
11548 as_fn_set_status
()
11551 } # as_fn_set_status
11553 # as_fn_exit STATUS
11554 # -----------------
11555 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11559 as_fn_set_status
$1
11565 # Portably unset VAR.
11568 { eval $1=; unset $1;}
11570 as_unset
=as_fn_unset
11571 # as_fn_append VAR VALUE
11572 # ----------------------
11573 # Append the text in VALUE to the end of the definition contained in VAR. Take
11574 # advantage of any shell optimizations that allow amortized linear growth over
11575 # repeated appends, instead of the typical quadratic growth present in naive
11577 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11578 eval 'as_fn_append ()
11589 # as_fn_arith ARG...
11590 # ------------------
11591 # Perform arithmetic evaluation on the ARGs, and store the result in the
11592 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11593 # must be portable across $(()) and expr.
11594 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11595 eval 'as_fn_arith ()
11602 as_val
=`expr "$@" || test $? -eq 1`
11607 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11608 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11614 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11615 as_basename
=basename
11620 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11626 as_me
=`$as_basename -- "$0" ||
11627 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11628 X"$0" : 'X\(//\)$' \| \
11629 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11631 sed '/^.*\/\([^/][^/]*\)\/*$/{
11645 # Avoid depending upon Character Ranges.
11646 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11647 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11648 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11649 as_cr_digits
='0123456789'
11650 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11652 ECHO_C
= ECHO_N
= ECHO_T
=
11653 case `echo -n x` in #(((((
11655 case `echo 'xy\c'` in
11656 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11658 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11665 rm -f conf$$ conf$$.exe conf$$.
file
11666 if test -d conf$$.dir
; then
11667 rm -f conf$$.dir
/conf$$.
file
11670 mkdir conf$$.dir
2>/dev
/null
11672 if (echo >conf$$.
file) 2>/dev
/null
; then
11673 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11675 # ... but there are two gotchas:
11676 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11677 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11678 # In both cases, we have to default to `cp -p'.
11679 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11681 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11689 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11690 rmdir conf$$.dir
2>/dev
/null
11695 # Create "$as_dir" as a directory, including parents if necessary.
11700 -*) as_dir
=.
/$as_dir;;
11702 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11706 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11707 *) as_qdir
=$as_dir;;
11709 as_dirs
="'$as_qdir' $as_dirs"
11710 as_dir
=`$as_dirname -- "$as_dir" ||
11711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11712 X"$as_dir" : 'X\(//\)[^/]' \| \
11713 X"$as_dir" : 'X\(//\)$' \| \
11714 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11715 $as_echo X"$as_dir" |
11716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11720 /^X\(\/\/\)[^/].*/{
11733 test -d "$as_dir" && break
11735 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11736 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11740 if mkdir
-p .
2>/dev
/null
; then
11741 as_mkdir_p
='mkdir -p "$as_dir"'
11743 test -d .
/-p && rmdir .
/-p
11747 if test -x / >/dev
/null
2>&1; then
11748 as_test_x
='test -x'
11750 if ls -dL / >/dev
/null
2>&1; then
11757 if test -d "$1"; then
11763 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11764 ???[sx]*):;;*)false;;esac;fi
11768 as_executable_p
=$as_test_x
11770 # Sed expression to map a string onto a valid CPP name.
11771 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11773 # Sed expression to map a string onto a valid variable name.
11774 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11778 ## ----------------------------------- ##
11779 ## Main body of $CONFIG_STATUS script. ##
11780 ## ----------------------------------- ##
11782 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11785 # Save the log message, to keep $0 and so on meaningful, and to
11786 # report actual input values of CONFIG_FILES etc. instead of their
11787 # values after options handling.
11789 This file was extended by $as_me, which was
11790 generated by GNU Autoconf 2.64. Invocation command line was
11792 CONFIG_FILES = $CONFIG_FILES
11793 CONFIG_HEADERS = $CONFIG_HEADERS
11794 CONFIG_LINKS = $CONFIG_LINKS
11795 CONFIG_COMMANDS = $CONFIG_COMMANDS
11798 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11803 case $ac_config_files in *"
11804 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11810 # Files that config.status was made for.
11811 config_files="$ac_config_files"
11812 config_commands="$ac_config_commands"
11816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11818 \`$as_me' instantiates files and other configuration actions
11819 from templates according to the current configuration. Unless the files
11820 and actions are specified as TAGs, all are instantiated by default.
11822 Usage: $0 [OPTION]... [TAG]...
11824 -h, --help print this help, then exit
11825 -V, --version print version number and configuration settings, then exit
11826 -q, --quiet, --silent
11827 do not print progress messages
11828 -d, --debug don't remove temporary files
11829 --recheck update $as_me by reconfiguring in the same conditions
11830 --file=FILE[:TEMPLATE]
11831 instantiate the configuration file FILE
11833 Configuration files:
11836 Configuration commands:
11839 Report bugs to the package provider."
11842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11845 configured by $0, generated by GNU Autoconf 2.64,
11846 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11848 Copyright (C) 2009 Free Software Foundation, Inc.
11849 This config.status script is free software; the Free Software Foundation
11850 gives unlimited permission to copy, distribute and modify it."
11857 test -n "\$AWK" || AWK=awk
11860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11861 # The default lists apply if the user does not specify any file.
11867 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11868 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11879 # Handling of the options.
11880 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11882 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11883 $as_echo "$ac_cs_version"; exit ;;
11884 --debug |
--debu |
--deb |
--de |
--d |
-d )
11886 --file |
--fil |
--fi |
--f )
11889 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11891 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11892 ac_need_defaults
=false
;;
11893 --he |
--h |
--help |
--hel |
-h )
11894 $as_echo "$ac_cs_usage"; exit ;;
11895 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11896 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11899 # This is an error.
11900 -*) as_fn_error
"unrecognized option: \`$1'
11901 Try \`$0 --help' for more information." ;;
11903 *) as_fn_append ac_config_targets
" $1"
11904 ac_need_defaults
=false
;;
11910 ac_configure_extra_args
=
11912 if $ac_cs_silent; then
11914 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11919 if \$ac_cs_recheck; then
11920 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11922 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11923 CONFIG_SHELL='$SHELL'
11924 export CONFIG_SHELL
11929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11934 ## Running $as_me. ##
11940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11948 with_multisubdir="$with_multisubdir"
11949 with_multisrctop="$with_multisrctop"
11950 with_target_subdir="$with_target_subdir"
11951 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11952 multi_basedir="$multi_basedir"
11953 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11956 GFORTRAN="$GFORTRAN"
11957 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11960 # The HP-UX ksh and POSIX shell print the target directory to stdout
11961 # if CDPATH is set.
11962 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11964 sed_quote_subst='$sed_quote_subst'
11965 double_quote_subst='$double_quote_subst'
11966 delay_variable_subst='$delay_variable_subst'
11967 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
11968 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
11969 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
11970 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
11971 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
11972 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
11973 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
11974 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
11975 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
11976 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
11977 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
11978 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
11979 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
11980 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
11981 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
11982 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
11983 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
11984 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
11985 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
11986 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
11987 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
11988 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
11989 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
11990 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
11991 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
11992 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
11993 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
11994 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
11995 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
11996 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
11997 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
11998 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
11999 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12000 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12001 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12002 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12003 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12004 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12005 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12006 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12007 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12008 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12009 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12010 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12011 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12012 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12013 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12014 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12015 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"`'
12016 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12017 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12018 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12019 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12020 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12021 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12022 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12023 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12024 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12025 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12026 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12027 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12028 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12029 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12030 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12031 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12032 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12033 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12034 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12035 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12036 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12037 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12038 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12039 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12040 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12041 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12042 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12043 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12044 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12045 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12046 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12047 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12048 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12049 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12050 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12051 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12052 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12053 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12054 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12055 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12056 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12057 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12058 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12059 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12060 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12061 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12062 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12063 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12064 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12065 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12066 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12067 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12068 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12069 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12070 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12071 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12072 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12073 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12074 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12075 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12076 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12077 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12078 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12079 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12080 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12081 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12082 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12083 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12084 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12085 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12086 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12089 LTCFLAGS='$LTCFLAGS'
12090 compiler='$compiler_DEFAULT'
12092 # A function that is used when there is no print builtin or printf.
12093 func_fallback_echo ()
12095 eval 'cat <<_LTECHO_EOF
12100 # Quote evaled strings.
12114 deplibs_check_method \
12123 lt_cv_sys_global_symbol_pipe \
12124 lt_cv_sys_global_symbol_to_cdecl \
12125 lt_cv_sys_global_symbol_to_c_name_address \
12126 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12127 lt_prog_compiler_no_builtin_flag \
12128 lt_prog_compiler_wl \
12129 lt_prog_compiler_pic \
12130 lt_prog_compiler_static \
12131 lt_cv_prog_compiler_c_o \
12139 export_dynamic_flag_spec \
12140 whole_archive_flag_spec \
12141 compiler_needs_object \
12143 allow_undefined_flag \
12144 no_undefined_flag \
12145 hardcode_libdir_flag_spec \
12146 hardcode_libdir_flag_spec_ld \
12147 hardcode_libdir_separator \
12152 variables_saved_for_relink \
12154 library_names_spec \
12156 install_override_mode \
12160 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12161 *[\\\\\\\`\\"\\\$]*)
12162 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12165 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12170 # Double-quote double-evaled strings.
12171 for var in reload_cmds \
12172 old_postinstall_cmds \
12173 old_postuninstall_cmds \
12175 extract_expsyms_cmds \
12176 old_archive_from_new_cmds \
12177 old_archive_from_expsyms_cmds \
12179 archive_expsym_cmds \
12181 module_expsym_cmds \
12182 export_symbols_cmds \
12185 postuninstall_cmds \
12187 sys_lib_search_path_spec \
12188 sys_lib_dlsearch_path_spec; do
12189 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12190 *[\\\\\\\`\\"\\\$]*)
12191 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12194 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12199 ac_aux_dir='$ac_aux_dir'
12200 xsi_shell='$xsi_shell'
12201 lt_shell_append='$lt_shell_append'
12203 # See if we are running on zsh, and set the options which allow our
12204 # commands through without removal of \ escapes INIT.
12205 if test -n "\${ZSH_VERSION+set}" ; then
12206 setopt NO_GLOB_SUBST
12212 TIMESTAMP='$TIMESTAMP'
12221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12223 # Handling of arguments.
12224 for ac_config_target
in $ac_config_targets
12226 case $ac_config_target in
12227 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12228 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12229 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12230 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12232 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12237 # If the user did not use the arguments to specify the items to instantiate,
12238 # then the envvar interface is used. Set only those that are not.
12239 # We use the long form for the default assignment because of an extremely
12240 # bizarre bug on SunOS 4.1.3.
12241 if $ac_need_defaults; then
12242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12246 # Have a temporary directory for convenience. Make it in the build tree
12247 # simply because there is no reason against having it here, and in addition,
12248 # creating and moving files from /tmp can sometimes cause problems.
12249 # Hook for its removal unless debugging.
12250 # Note that there is a small window in which the directory will not be cleaned:
12251 # after its creation but before its name has been assigned to `$tmp'.
12255 trap 'exit_status=$?
12256 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12258 trap 'as_fn_exit 1' 1 2 13 15
12260 # Create a (secure) tmp directory for tmp files.
12263 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12264 test -n "$tmp" && test -d "$tmp"
12267 tmp
=.
/conf$$
-$RANDOM
12268 (umask 077 && mkdir
"$tmp")
12269 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12271 # Set up the scripts for CONFIG_FILES section.
12272 # No need to generate them if there are no CONFIG_FILES.
12273 # This happens for instance with `./config.status config.h'.
12274 if test -n "$CONFIG_FILES"; then
12277 ac_cr
=`echo X | tr X '\015'`
12278 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12279 # But we know of no other shell where ac_cr would be empty at this
12280 # point, so we can use a bashism as a fallback.
12281 if test "x$ac_cr" = x
; then
12282 eval ac_cr
=\$
\'\\r
\'
12284 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12285 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12288 ac_cs_awk_cr
=$ac_cr
12291 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12296 echo "cat >conf$$subs.awk <<_ACEOF" &&
12297 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12299 } >conf$$subs.sh ||
12300 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12301 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12303 for ac_last_try in false false false false false :; do
12304 . ./conf$$subs.sh ||
12305 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12307 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12308 if test $ac_delim_n = $ac_delim_num; then
12310 elif $ac_last_try; then
12311 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12313 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12316 rm -f conf$$subs.sh
12318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12319 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12323 s/^/S["/; s
/!.
*/"]=/
12333 s/\(.\{148\}\).*/\1/
12335 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12340 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12347 s/\(.\{148\}\).*/\1/
12349 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12353 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12358 ' <conf$$subs.awk | sed '
12363 ' >>$CONFIG_STATUS || ac_write_fail=1
12364 rm -f conf$$subs.awk
12365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12367 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12368 for (key in S) S_is_set[key] = 1
12374 nfields = split(line, field, "@
")
12376 len = length(field[1])
12377 for (i = 2; i < nfields; i++) {
12379 keylen = length(key)
12380 if (S_is_set[key]) {
12382 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12383 len += length(value) + length(field[++i])
12394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12395 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12396 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12399 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12400 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12403 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12404 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12405 # trailing colons and then remove the whole line if VPATH becomes empty
12406 # (actually we leave an empty line to preserve line numbers).
12407 if test "x
$srcdir" = x.; then
12408 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12409 s/:*\$(srcdir):*/:/
12410 s/:*\${srcdir}:*/:/
12412 s/^\([^=]*=[ ]*\):*/\1/
12418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12419 fi # test -n "$CONFIG_FILES"
12422 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
12427 :[FHLC]) ac_mode=$ac_tag; continue;;
12429 case $ac_mode$ac_tag in
12431 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
12432 :[FH]-) ac_tag=-:-;;
12433 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12450 -) ac_f="$tmp/stdin";;
12451 *) # Look for the file first in the build tree, then in the source tree
12452 # (if the path is not absolute). The absolute path cannot be DOS-style,
12453 # because $ac_f cannot contain `:'.
12457 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12459 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12461 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
12462 as_fn_append ac_file_inputs " '$ac_f'"
12465 # Let's still pretend it is `configure' which instantiates (i.e., don't
12466 # use $as_me), people would be surprised to read:
12467 # /* config.h. Generated by config.status. */
12468 configure_input='Generated from '`
12469 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12471 if test x"$ac_file" != x-; then
12472 configure_input="$ac_file.
$configure_input"
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
12474 $as_echo "$as_me: creating
$ac_file" >&6;}
12476 # Neutralize special characters interpreted by sed in replacement strings.
12477 case $configure_input in #(
12478 *\&* | *\|* | *\\* )
12479 ac_sed_conf_input=`$as_echo "$configure_input" |
12480 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12481 *) ac_sed_conf_input=$configure_input;;
12485 *:-:* | *:-) cat >"$tmp/stdin
" \
12486 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
12491 ac_dir=`$as_dirname -- "$ac_file" ||
12492 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12493 X"$ac_file" : 'X\(//\)[^/]' \| \
12494 X"$ac_file" : 'X\(//\)$' \| \
12495 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12496 $as_echo X"$ac_file" |
12497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12501 /^X\(\/\/\)[^/].*/{
12514 as_dir="$ac_dir"; as_fn_mkdir_p
12518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12520 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12521 # A "..
" for each directory in $ac_dir_suffix.
12522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12523 case $ac_top_builddir_sub in
12524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12528 ac_abs_top_builddir=$ac_pwd
12529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12530 # for backward compatibility:
12531 ac_top_builddir=$ac_top_build_prefix
12534 .) # We are building in place.
12536 ac_top_srcdir=$ac_top_builddir_sub
12537 ac_abs_top_srcdir=$ac_pwd ;;
12538 [\\/]* | ?:[\\/]* ) # Absolute name.
12539 ac_srcdir=$srcdir$ac_dir_suffix;
12540 ac_top_srcdir=$srcdir
12541 ac_abs_top_srcdir=$srcdir ;;
12542 *) # Relative name.
12543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12544 ac_top_srcdir=$ac_top_build_prefix$srcdir
12545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12557 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12558 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12560 ac_MKDIR_P=$MKDIR_P
12562 [\\/$]* | ?:[\\/]* ) ;;
12563 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12568 # If the template does not know about datarootdir, expand it.
12569 # FIXME: This hack should be removed a few years after 2.60.
12570 ac_datarootdir_hack=; ac_datarootdir_seen=
12581 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
12582 *datarootdir*) ac_datarootdir_seen=yes;;
12583 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
12585 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
12587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12588 ac_datarootdir_hack='
12589 s&@datadir@&$datadir&g
12590 s&@docdir@&$docdir&g
12591 s&@infodir@&$infodir&g
12592 s&@localedir@&$localedir&g
12593 s&@mandir@&$mandir&g
12594 s&\\\${datarootdir}&$datarootdir&g' ;;
12598 # Neutralize VPATH when `$srcdir' = `.'.
12599 # Shell code in configure.ac might set extrasub.
12600 # FIXME: do we really want to maintain this feature?
12601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12602 ac_sed_extra="$ac_vpsub
12605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12607 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12608 s|@configure_input@|
$ac_sed_conf_input|
;t t
12609 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12610 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12611 s
&@srcdir@
&$ac_srcdir&;t t
12612 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12613 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12614 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12615 s
&@builddir@
&$ac_builddir&;t t
12616 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12617 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12618 s
&@INSTALL@
&$ac_INSTALL&;t t
12619 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12620 $ac_datarootdir_hack
12622 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12623 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12625 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12626 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12627 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12629 which seems to be undefined. Please make sure it is defined." >&5
12630 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12631 which seems to be undefined. Please make sure it is defined." >&2;}
12635 -) cat "$tmp/out" && rm -f "$tmp/out";;
12636 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12638 || as_fn_error "could not create $ac_file" "$LINENO" 5
12642 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12643 $as_echo "$as_me: executing $ac_file commands" >&6;}
12648 case $ac_file$ac_mode in
12650 # Only add multilib support code if we just rebuilt the top-level
12652 case " $CONFIG_FILES " in
12654 ac_file=Makefile . ${multi_basedir}/config-ml.in
12657 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12658 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12659 # are listed without --file. Let's play safe and only
enable the
eval
12660 # if we detect the quoting.
12661 case $CONFIG_FILES in
12662 *\'*) eval set x
"$CONFIG_FILES" ;;
12663 *) set x
$CONFIG_FILES ;;
12668 # Strip MF so we end up with the name of the file.
12669 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12670 # Check whether this is an Automake generated Makefile or not.
12671 # We used to match only the files named `Makefile.in', but
12672 # some people rename them; so instead we look at the file content.
12673 # Grep'ing the first line is not enough: some people post-process
12674 # each Makefile.in and add a new line on top of each file to say so.
12675 # Grep'ing the whole file is not good either: AIX grep has a line
12676 # limit of 2048, but all sed's we know have understand at least 4000.
12677 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12678 dirpart
=`$as_dirname -- "$mf" ||
12679 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12680 X"$mf" : 'X\(//\)[^/]' \| \
12681 X"$mf" : 'X\(//\)$' \| \
12682 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12688 /^X\(\/\/\)[^/].*/{
12704 # Extract the definition of DEPDIR, am__include, and am__quote
12705 # from the Makefile without running `make'.
12706 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12707 test -z "$DEPDIR" && continue
12708 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12709 test -z "am__include" && continue
12710 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12711 # When using ansi2knr, U may be empty or an underscore; expand it
12712 U
=`sed -n 's/^U = //p' < "$mf"`
12713 # Find all dependency output files, they are included files with
12714 # $(DEPDIR) in their names. We invoke sed twice because it is the
12715 # simplest approach to changing $(DEPDIR) to its actual value in the
12717 for file in `sed -n "
12718 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12719 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12720 # Make sure the directory exists.
12721 test -f "$dirpart/$file" && continue
12722 fdir
=`$as_dirname -- "$file" ||
12723 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12724 X"$file" : 'X\(//\)[^/]' \| \
12725 X"$file" : 'X\(//\)$' \| \
12726 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12727 $as_echo X"$file" |
12728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12732 /^X\(\/\/\)[^/].*/{
12745 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12746 # echo "creating $dirpart/$file"
12747 echo '# dummy' > "$dirpart/$file"
12754 # See if we are running on zsh, and set the options which allow our
12755 # commands through without removal of \ escapes.
12756 if test -n "${ZSH_VERSION+set}" ; then
12757 setopt NO_GLOB_SUBST
12760 cfgfile
="${ofile}T"
12761 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12764 cat <<_LT_EOF >> "$cfgfile"
12767 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12768 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12769 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12770 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12772 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12773 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12774 # Written by Gordon Matzigkeit, 1996
12776 # This file is part of GNU Libtool.
12778 # GNU Libtool is free software; you can redistribute it and/or
12779 # modify it under the terms of the GNU General Public License as
12780 # published by the Free Software Foundation; either version 2 of
12781 # the License, or (at your option) any later version.
12783 # As a special exception to the GNU General Public License,
12784 # if you distribute this file as part of a program or library that
12785 # is built using GNU Libtool, you may include this file under the
12786 # same distribution terms that you use for the rest of that program.
12788 # GNU Libtool is distributed in the hope that it will be useful,
12789 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12790 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12791 # GNU General Public License for more details.
12793 # You should have received a copy of the GNU General Public License
12794 # along with GNU Libtool; see the file COPYING. If not, a copy
12795 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12796 # obtained by writing to the Free Software Foundation, Inc.,
12797 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12800 # The names of the tagged configurations supported by this script.
12803 # ### BEGIN LIBTOOL CONFIG
12805 # Which release of libtool.m4 was used?
12806 macro_version=$macro_version
12807 macro_revision=$macro_revision
12809 # Whether or not to build shared libraries.
12810 build_libtool_libs=$enable_shared
12812 # Whether or not to build static libraries.
12813 build_old_libs=$enable_static
12815 # What type of objects to build.
12818 # Whether or not to optimize for fast installation.
12819 fast_install=$enable_fast_install
12821 # Shell to use when invoking shell scripts.
12824 # An echo program that protects backslashes.
12828 host_alias=$host_alias
12832 # The build system.
12833 build_alias=$build_alias
12837 # A sed program that does not truncate output.
12840 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12841 Xsed="\$SED -e 1s/^X//"
12843 # A grep program that handles long lines.
12849 # A literal string matcher.
12852 # A BSD- or MS-compatible name lister.
12855 # Whether we need soft or hard links.
12858 # What is the maximum length of a command?
12859 max_cmd_len=$max_cmd_len
12861 # Object file suffix (normally "o").
12864 # Executable file suffix (normally "").
12867 # whether the shell understands "unset".
12870 # turn spaces into newlines.
12873 # turn newlines into spaces.
12876 # An object symbol dumper.
12877 OBJDUMP=$lt_OBJDUMP
12879 # Method to check whether dependent libraries are shared objects.
12880 deplibs_check_method=$lt_deplibs_check_method
12882 # Command to use when deplibs_check_method == "file_magic".
12883 file_magic_cmd=$lt_file_magic_cmd
12887 AR_FLAGS=$lt_AR_FLAGS
12889 # A symbol stripping program.
12892 # Commands used to install an old-style archive.
12894 old_postinstall_cmds=$lt_old_postinstall_cmds
12895 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12897 # Whether to use a lock for old archive extraction.
12898 lock_old_archive_extraction=$lock_old_archive_extraction
12903 # LTCC compiler flags.
12904 LTCFLAGS=$lt_CFLAGS
12906 # Take the output of nm and produce a listing of raw symbols and C names.
12907 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12909 # Transform the output of nm in a proper C declaration.
12910 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12912 # Transform the output of nm in a C name address pair.
12913 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12915 # Transform the output of nm in a C name address pair when lib prefix is needed.
12916 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12918 # The name of the directory that contains temporary libtool files.
12921 # Used to examine libraries when file_magic_cmd begins with "file".
12922 MAGIC_CMD=$MAGIC_CMD
12924 # Must we lock files when doing compilation?
12925 need_locks=$lt_need_locks
12927 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12928 DSYMUTIL=$lt_DSYMUTIL
12930 # Tool to change global to local symbols on Mac OS X.
12933 # Tool to manipulate fat objects and archives on Mac OS X.
12936 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12939 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12940 OTOOL64=$lt_OTOOL64
12942 # Old archive suffix (normally "a").
12945 # Shared library suffix (normally ".so").
12946 shrext_cmds=$lt_shrext_cmds
12948 # The commands to extract the exported symbol list from a shared archive.
12949 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12951 # Variables whose values should be saved in libtool wrapper scripts and
12952 # restored at link time.
12953 variables_saved_for_relink=$lt_variables_saved_for_relink
12955 # Do we need the "lib" prefix for modules?
12956 need_lib_prefix=$need_lib_prefix
12958 # Do we need a version for libraries?
12959 need_version=$need_version
12961 # Library versioning type.
12962 version_type=$version_type
12964 # Shared library runtime path variable.
12965 runpath_var=$runpath_var
12967 # Shared library path variable.
12968 shlibpath_var=$shlibpath_var
12970 # Is shlibpath searched before the hard-coded library search path?
12971 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12973 # Format of library name prefix.
12974 libname_spec=$lt_libname_spec
12976 # List of archive names. First name is the real one, the rest are links.
12977 # The last name is the one that the linker finds with -lNAME
12978 library_names_spec=$lt_library_names_spec
12980 # The coded name of the library, if different from the real name.
12981 soname_spec=$lt_soname_spec
12983 # Permission mode override for installation of shared libraries.
12984 install_override_mode=$lt_install_override_mode
12986 # Command to use after installation of a shared archive.
12987 postinstall_cmds=$lt_postinstall_cmds
12989 # Command to use after uninstallation of a shared archive.
12990 postuninstall_cmds=$lt_postuninstall_cmds
12992 # Commands used to finish a libtool library installation in a directory.
12993 finish_cmds=$lt_finish_cmds
12995 # As "finish_cmds", except a single script fragment to be evaled but
12997 finish_eval=$lt_finish_eval
12999 # Whether we should hardcode library paths into libraries.
13000 hardcode_into_libs=$hardcode_into_libs
13002 # Compile-time system search path for libraries.
13003 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13005 # Run-time system search path for libraries.
13006 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13008 # Whether dlopen is supported.
13009 dlopen_support=$enable_dlopen
13011 # Whether dlopen of programs is supported.
13012 dlopen_self=$enable_dlopen_self
13014 # Whether dlopen of statically linked programs is supported.
13015 dlopen_self_static=$enable_dlopen_self_static
13017 # Commands to strip libraries.
13018 old_striplib=$lt_old_striplib
13019 striplib=$lt_striplib
13022 # The linker used to build libraries.
13025 # How to create reloadable object files.
13026 reload_flag=$lt_reload_flag
13027 reload_cmds=$lt_reload_cmds
13029 # Commands used to build an old-style archive.
13030 old_archive_cmds=$lt_old_archive_cmds
13032 # A language specific compiler.
13035 # Is the compiler the GNU compiler?
13038 # Compiler flag to turn off builtin functions.
13039 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13041 # How to pass a linker flag through the compiler.
13042 wl=$lt_lt_prog_compiler_wl
13044 # Additional compiler flags for building library objects.
13045 pic_flag=$lt_lt_prog_compiler_pic
13047 # Compiler flag to prevent dynamic linking.
13048 link_static_flag=$lt_lt_prog_compiler_static
13050 # Does compiler simultaneously support -c and -o options?
13051 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13053 # Whether or not to add -lc for building shared libraries.
13054 build_libtool_need_lc=$archive_cmds_need_lc
13056 # Whether or not to disallow shared libs when runtime libs are static.
13057 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13059 # Compiler flag to allow reflexive dlopens.
13060 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13062 # Compiler flag to generate shared objects directly from archives.
13063 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13065 # Whether the compiler copes with passing no objects directly.
13066 compiler_needs_object=$lt_compiler_needs_object
13068 # Create an old-style archive from a shared archive.
13069 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13071 # Create a temporary old-style archive to link instead of a shared archive.
13072 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13074 # Commands used to build a shared archive.
13075 archive_cmds=$lt_archive_cmds
13076 archive_expsym_cmds=$lt_archive_expsym_cmds
13078 # Commands used to build a loadable module if different from building
13079 # a shared archive.
13080 module_cmds=$lt_module_cmds
13081 module_expsym_cmds=$lt_module_expsym_cmds
13083 # Whether we are building with GNU ld or not.
13084 with_gnu_ld=$lt_with_gnu_ld
13086 # Flag that allows shared libraries with undefined symbols to be built.
13087 allow_undefined_flag=$lt_allow_undefined_flag
13089 # Flag that enforces no undefined symbols.
13090 no_undefined_flag=$lt_no_undefined_flag
13092 # Flag to hardcode \$libdir into a binary during linking.
13093 # This must work even if \$libdir does not exist
13094 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13096 # If ld is used when linking, flag to hardcode \$libdir into a binary
13097 # during linking. This must work even if \$libdir does not exist.
13098 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13100 # Whether we need a single "-rpath" flag with a separated argument.
13101 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13103 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13104 # DIR into the resulting binary.
13105 hardcode_direct=$hardcode_direct
13107 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13108 # DIR into the resulting binary and the resulting library dependency is
13109 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13110 # library is relocated.
13111 hardcode_direct_absolute=$hardcode_direct_absolute
13113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13114 # into the resulting binary.
13115 hardcode_minus_L=$hardcode_minus_L
13117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13118 # into the resulting binary.
13119 hardcode_shlibpath_var=$hardcode_shlibpath_var
13121 # Set to "yes" if building a shared library automatically hardcodes DIR
13122 # into the library and all subsequent libraries and executables linked
13124 hardcode_automatic=$hardcode_automatic
13126 # Set to yes if linker adds runtime paths of dependent libraries
13127 # to runtime path list.
13128 inherit_rpath=$inherit_rpath
13130 # Whether libtool must link a program against all its dependency libraries.
13131 link_all_deplibs=$link_all_deplibs
13133 # Fix the shell variable \$srcfile for the compiler.
13134 fix_srcfile_path=$lt_fix_srcfile_path
13136 # Set to "yes" if exported symbols are required.
13137 always_export_symbols=$always_export_symbols
13139 # The commands to list exported symbols.
13140 export_symbols_cmds=$lt_export_symbols_cmds
13142 # Symbols that should not be listed in the preloaded symbols.
13143 exclude_expsyms=$lt_exclude_expsyms
13145 # Symbols that must always be exported.
13146 include_expsyms=$lt_include_expsyms
13148 # Commands necessary for linking programs (against libraries) with templates.
13149 prelink_cmds=$lt_prelink_cmds
13151 # Specify filename containing input files.
13152 file_list_spec=$lt_file_list_spec
13154 # How to hardcode a shared library path into an executable.
13155 hardcode_action=$hardcode_action
13157 # ### END LIBTOOL CONFIG
13163 cat <<\_LT_EOF
>> "$cfgfile"
13164 # AIX sometimes has problems with the GCC collect2 program. For some
13165 # reason, if we set the COLLECT_NAMES environment variable, the problems
13166 # vanish in a puff of smoke.
13167 if test "X${COLLECT_NAMES+set}" != Xset
; then
13169 export COLLECT_NAMES
13176 ltmain
="$ac_aux_dir/ltmain.sh"
13179 # We use sed instead of cat because bash on DJGPP gets confused if
13180 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13181 # text mode, it properly converts lines to CR/LF. This bash problem
13182 # is reportedly fixed, but why not run on old versions too?
13183 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13184 ||
(rm -f "$cfgfile"; exit 1)
13188 cat << \_LT_EOF
>> "$cfgfile"
13190 # func_dirname file append nondir_replacement
13191 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13192 # otherwise set result to NONDIR_REPLACEMENT.
13196 */*) func_dirname_result
="${1%/*}${2}" ;;
13197 * ) func_dirname_result
="${3}" ;;
13201 # func_basename file
13204 func_basename_result
="${1##*/}"
13207 # func_dirname_and_basename file append nondir_replacement
13208 # perform func_basename and func_dirname in a single function
13210 # dirname: Compute the dirname of FILE. If nonempty,
13211 # add APPEND to the result, otherwise set result
13212 # to NONDIR_REPLACEMENT.
13213 # value returned in "$func_dirname_result"
13214 # basename: Compute filename of FILE.
13215 # value retuned in "$func_basename_result"
13216 # Implementation must be kept synchronized with func_dirname
13217 # and func_basename. For efficiency, we do not delegate to
13218 # those functions but instead duplicate the functionality here.
13219 func_dirname_and_basename
()
13222 */*) func_dirname_result
="${1%/*}${2}" ;;
13223 * ) func_dirname_result
="${3}" ;;
13225 func_basename_result
="${1##*/}"
13228 # func_stripname prefix suffix name
13229 # strip PREFIX and SUFFIX off of NAME.
13230 # PREFIX and SUFFIX must not contain globbing or regex special
13231 # characters, hashes, percent signs, but SUFFIX may contain a leading
13232 # dot (in which case that matches only a dot).
13235 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13236 # positional parameters, so assign one to ordinary parameter first.
13237 func_stripname_result
=${3}
13238 func_stripname_result
=${func_stripname_result#"${1}"}
13239 func_stripname_result
=${func_stripname_result%"${2}"}
13245 func_opt_split_opt
=${1%%=*}
13246 func_opt_split_arg
=${1#*=}
13253 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13254 *) func_lo2o_result
=${1} ;;
13258 # func_xform libobj-or-source
13261 func_xform_result
=${1%.*}.lo
13264 # func_arith arithmetic-term...
13267 func_arith_result
=$
(( $
* ))
13271 # STRING may not start with a hyphen.
13274 func_len_result
=${#1}
13279 *) # Bourne compatible functions.
13280 cat << \_LT_EOF
>> "$cfgfile"
13282 # func_dirname file append nondir_replacement
13283 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13284 # otherwise set result to NONDIR_REPLACEMENT.
13287 # Extract subdirectory from the argument.
13288 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13289 if test "X$func_dirname_result" = "X${1}"; then
13290 func_dirname_result
="${3}"
13292 func_dirname_result
="$func_dirname_result${2}"
13296 # func_basename file
13299 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13303 # func_stripname prefix suffix name
13304 # strip PREFIX and SUFFIX off of NAME.
13305 # PREFIX and SUFFIX must not contain globbing or regex special
13306 # characters, hashes, percent signs, but SUFFIX may contain a leading
13307 # dot (in which case that matches only a dot).
13308 # func_strip_suffix prefix name
13312 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13313 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13318 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13319 my_sed_long_arg
='1s/^-[^=]*=//'
13324 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13325 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13331 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13334 # func_xform libobj-or-source
13337 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13340 # func_arith arithmetic-term...
13343 func_arith_result
=`expr "$@"`
13347 # STRING may not start with a hyphen.
13350 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13356 case $lt_shell_append in
13358 cat << \_LT_EOF
>> "$cfgfile"
13360 # func_append var value
13361 # Append VALUE to the end of shell variable VAR.
13369 cat << \_LT_EOF
>> "$cfgfile"
13371 # func_append var value
13372 # Append VALUE to the end of shell variable VAR.
13383 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13384 ||
(rm -f "$cfgfile"; exit 1)
13386 mv -f "$cfgfile" "$ofile" ||
13387 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13398 ac_clean_files
=$ac_clean_files_save
13400 test $ac_write_fail = 0 ||
13401 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13404 # configure is writing to config.log, and then calls config.status.
13405 # config.status does its own redirection, appending to config.log.
13406 # Unfortunately, on DOS this fails, as config.log is still kept open
13407 # by configure, so config.status won't be able to write to it; its
13408 # output is simply discarded. So we exec the FD to /dev/null,
13409 # effectively closing config.log, so it can be properly (re)opened and
13410 # appended to by config.status. When coming back to configure, we
13411 # need to make the FD available again.
13412 if test "$no_create" != yes; then
13414 ac_config_status_args
=
13415 test "$silent" = yes &&
13416 ac_config_status_args
="$ac_config_status_args --quiet"
13418 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13420 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13421 # would make configure fail if this is the last instruction.
13422 $ac_cs_success || as_fn_exit $?
13424 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13426 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}