2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
564 ac_unique_file
="Makefile.in"
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
='LTLIBOBJS
615 MAINTAINER_MODE_FALSE
713 program_transform_name
746 enable_option_checking
755 enable_maintainer_mode
765 ac_precious_vars
='build_alias
776 # Initialize some variables set by options.
778 ac_init_version
=false
779 ac_unrecognized_opts
=
781 # The variables have the same names as the options, with
782 # dashes changed to underlines.
790 program_transform_name
=s
,x
,x
,
798 # Installation directory options.
799 # These are left unexpanded so users can "make install exec_prefix=/foo"
800 # and all the variables that are supposed to be based on exec_prefix
801 # by default will actually change.
802 # Use braces instead of parens because sh, perl, etc. also accept them.
803 # (The list follows the same order as the GNU Coding Standards.)
804 bindir
='${exec_prefix}/bin'
805 sbindir
='${exec_prefix}/sbin'
806 libexecdir
='${exec_prefix}/libexec'
807 datarootdir
='${prefix}/share'
808 datadir
='${datarootdir}'
809 sysconfdir
='${prefix}/etc'
810 sharedstatedir
='${prefix}/com'
811 localstatedir
='${prefix}/var'
812 includedir
='${prefix}/include'
813 oldincludedir
='/usr/include'
814 docdir
='${datarootdir}/doc/${PACKAGE}'
815 infodir
='${datarootdir}/info'
820 libdir
='${exec_prefix}/lib'
821 localedir
='${datarootdir}/locale'
822 mandir
='${datarootdir}/man'
828 # If the previous option needs an argument, assign it.
829 if test -n "$ac_prev"; then
830 eval $ac_prev=\
$ac_option
836 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840 # Accept the important Cygnus configure options, so we can diagnose typos.
842 case $ac_dashdash$ac_option in
846 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
848 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
851 -build |
--build |
--buil |
--bui |
--bu)
852 ac_prev
=build_alias
;;
853 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
854 build_alias
=$ac_optarg ;;
856 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
857 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
858 ac_prev
=cache_file
;;
859 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
860 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
861 cache_file
=$ac_optarg ;;
864 cache_file
=config.cache
;;
866 -datadir |
--datadir |
--datadi |
--datad)
868 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
869 datadir
=$ac_optarg ;;
871 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
872 |
--dataroo |
--dataro |
--datar)
873 ac_prev
=datarootdir
;;
874 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
875 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
876 datarootdir
=$ac_optarg ;;
878 -disable-* |
--disable-*)
879 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
890 ac_unrecognized_sep
=', ';;
892 eval enable_
$ac_useropt=no
;;
894 -docdir |
--docdir |
--docdi |
--doc |
--do)
896 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
899 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
901 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
904 -enable-* |
--enable-*)
905 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
908 as_fn_error
"invalid feature name: $ac_useropt"
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=\
$ac_optarg ;;
920 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
921 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
922 |
--exec |
--exe |
--ex)
923 ac_prev
=exec_prefix
;;
924 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
925 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
926 |
--exec=* |
--exe=* |
--ex=*)
927 exec_prefix
=$ac_optarg ;;
929 -gas |
--gas |
--ga |
--g)
930 # Obsolete; use --with-gas.
933 -help |
--help |
--hel |
--he |
-h)
935 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
936 ac_init_help
=recursive
;;
937 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
938 ac_init_help
=short
;;
940 -host |
--host |
--hos |
--ho)
941 ac_prev
=host_alias
;;
942 -host=* |
--host=* |
--hos=* |
--ho=*)
943 host_alias
=$ac_optarg ;;
945 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
947 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
949 htmldir
=$ac_optarg ;;
951 -includedir |
--includedir |
--includedi |
--included |
--include \
952 |
--includ |
--inclu |
--incl |
--inc)
953 ac_prev
=includedir
;;
954 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
955 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
956 includedir
=$ac_optarg ;;
958 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
960 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
961 infodir
=$ac_optarg ;;
963 -libdir |
--libdir |
--libdi |
--libd)
965 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
968 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
969 |
--libexe |
--libex |
--libe)
970 ac_prev
=libexecdir
;;
971 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
972 |
--libexe=* |
--libex=* |
--libe=*)
973 libexecdir
=$ac_optarg ;;
975 -localedir |
--localedir |
--localedi |
--localed |
--locale)
977 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
978 localedir
=$ac_optarg ;;
980 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
981 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
982 ac_prev
=localstatedir
;;
983 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
984 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
985 localstatedir
=$ac_optarg ;;
987 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
989 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
993 # Obsolete; use --without-fp.
996 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
997 |
--no-cr |
--no-c |
-n)
1000 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1001 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1004 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1005 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1006 |
--oldin |
--oldi |
--old |
--ol |
--o)
1007 ac_prev
=oldincludedir
;;
1008 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1009 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1010 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1011 oldincludedir
=$ac_optarg ;;
1013 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1015 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1016 prefix
=$ac_optarg ;;
1018 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1019 |
--program-pre |
--program-pr |
--program-p)
1020 ac_prev
=program_prefix
;;
1021 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1022 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1023 program_prefix
=$ac_optarg ;;
1025 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1026 |
--program-suf |
--program-su |
--program-s)
1027 ac_prev
=program_suffix
;;
1028 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1029 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1030 program_suffix
=$ac_optarg ;;
1032 -program-transform-name |
--program-transform-name \
1033 |
--program-transform-nam |
--program-transform-na \
1034 |
--program-transform-n |
--program-transform- \
1035 |
--program-transform |
--program-transfor \
1036 |
--program-transfo |
--program-transf \
1037 |
--program-trans |
--program-tran \
1038 |
--progr-tra |
--program-tr |
--program-t)
1039 ac_prev
=program_transform_name
;;
1040 -program-transform-name=* |
--program-transform-name=* \
1041 |
--program-transform-nam=* |
--program-transform-na=* \
1042 |
--program-transform-n=* |
--program-transform-=* \
1043 |
--program-transform=* |
--program-transfor=* \
1044 |
--program-transfo=* |
--program-transf=* \
1045 |
--program-trans=* |
--program-tran=* \
1046 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1047 program_transform_name
=$ac_optarg ;;
1049 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1051 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1052 pdfdir
=$ac_optarg ;;
1054 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1056 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1060 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1065 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1067 sbindir
=$ac_optarg ;;
1069 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1070 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1071 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1073 ac_prev
=sharedstatedir
;;
1074 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1075 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1076 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1078 sharedstatedir
=$ac_optarg ;;
1080 -site |
--site |
--sit)
1082 -site=* |
--site=* |
--sit=*)
1085 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1087 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1088 srcdir
=$ac_optarg ;;
1090 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1091 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1092 ac_prev
=sysconfdir
;;
1093 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1094 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1095 sysconfdir
=$ac_optarg ;;
1097 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1098 ac_prev
=target_alias
;;
1099 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1100 target_alias
=$ac_optarg ;;
1102 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1105 -version |
--version |
--versio |
--versi |
--vers |
-V)
1106 ac_init_version
=: ;;
1109 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1112 as_fn_error
"invalid package name: $ac_useropt"
1113 ac_useropt_orig
=$ac_useropt
1114 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120 ac_unrecognized_sep
=', ';;
1122 eval with_
$ac_useropt=\
$ac_optarg ;;
1124 -without-* |
--without-*)
1125 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1128 as_fn_error
"invalid package name: $ac_useropt"
1129 ac_useropt_orig
=$ac_useropt
1130 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1136 ac_unrecognized_sep
=', ';;
1138 eval with_
$ac_useropt=no
;;
1141 # Obsolete; use --with-x.
1144 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1145 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1146 ac_prev
=x_includes
;;
1147 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1148 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1149 x_includes
=$ac_optarg ;;
1151 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1152 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1153 ac_prev
=x_libraries
;;
1154 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1155 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1156 x_libraries
=$ac_optarg ;;
1158 -*) as_fn_error
"unrecognized option: \`$ac_option'
1159 Try \`$0 --help' for more information."
1163 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1164 # Reject names that are not valid shell variable names.
1165 case $ac_envvar in #(
1166 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1167 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1169 eval $ac_envvar=\
$ac_optarg
1170 export $ac_envvar ;;
1173 # FIXME: should be removed in autoconf 3.0.
1174 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1175 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1176 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1177 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1183 if test -n "$ac_prev"; then
1184 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1185 as_fn_error
"missing argument to $ac_option"
1188 if test -n "$ac_unrecognized_opts"; then
1189 case $enable_option_checking in
1191 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1192 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196 # Check all directory arguments for consistency.
1197 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1198 datadir sysconfdir sharedstatedir localstatedir includedir \
1199 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1200 libdir localedir mandir
1202 eval ac_val
=\$
$ac_var
1203 # Remove trailing slashes.
1206 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1207 eval $ac_var=\
$ac_val;;
1209 # Be sure to have absolute directory names.
1211 [\\/$
]* | ?
:[\\/]* ) continue;;
1212 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1214 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1217 # There might be people who depend on the old broken behavior: `$host'
1218 # used to hold the argument of --host etc.
1219 # FIXME: To remove some day.
1222 target
=$target_alias
1224 # FIXME: To remove some day.
1225 if test "x$host_alias" != x
; then
1226 if test "x$build_alias" = x
; then
1227 cross_compiling
=maybe
1228 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1229 If a cross compiler is detected then cross compile mode will be used." >&2
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1238 test "$silent" = yes && exec 6>/dev
/null
1241 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di
=`ls -di .` &&
1243 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error
"working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error
"pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted
=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir
=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted
=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1285 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var
in $ac_precious_vars; do
1302 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1304 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures this package to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1378 --build=BUILD configure
for building on BUILD
[guessed
]
1379 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1380 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1384 if test -n "$ac_init_help"; then
1389 --disable-option-checking ignore unrecognized
--enable/--with options
1390 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1391 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1392 --enable-plugins Enable support
for plugins
1393 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1394 --enable-static[=PKGS
] build static libraries
[default
=yes]
1395 --enable-fast-install[=PKGS
]
1396 optimize
for fast installation
[default
=yes]
1397 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1398 --enable-maintainer-mode enable make rules and dependencies not useful
1399 (and sometimes confusing
) to the casual installer
1400 --enable-sim-bswap Use Host specific BSWAP instruction
1401 --enable-sim-cflags=opts
1402 Extra CFLAGS
for use
in building simulator
1403 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1405 --enable-sim-stdio Specify whether to use stdio
for console
1407 --enable-sim-trace=opts Enable tracing of simulated programs
1408 --enable-sim-profile=opts
1409 Enable profiling flags
1412 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1413 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1414 --with-system-zlib use installed libz
1415 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1417 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1418 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1419 --with-bugurl=URL Direct users to URL to report a bug
1421 Some influential environment variables
:
1422 CC C compiler
command
1423 CFLAGS C compiler flags
1424 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1425 nonstandard directory
<lib dir
>
1426 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1427 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1428 you have headers
in a nonstandard directory
<include dir
>
1431 Use these variables to override the choices made by
`configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1434 Report bugs to the package provider.
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442 test -d "$ac_dir" ||
1443 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1451 # A ".." for each directory in $ac_dir_suffix.
1452 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1453 case $ac_top_builddir_sub in
1454 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458 ac_abs_top_builddir=$ac_pwd
1459 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1460 # for backward compatibility:
1461 ac_top_builddir=$ac_top_build_prefix
1464 .) # We are building in place.
1466 ac_top_srcdir=$ac_top_builddir_sub
1467 ac_abs_top_srcdir=$ac_pwd ;;
1468 [\\/]* | ?:[\\/]* ) # Absolute name.
1469 ac_srcdir=$srcdir$ac_dir_suffix;
1470 ac_top_srcdir=$srcdir
1471 ac_abs_top_srcdir=$srcdir ;;
1473 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1474 ac_top_srcdir=$ac_top_build_prefix$srcdir
1475 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1477 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1479 cd "$ac_dir" || { ac_status=$?; continue; }
1480 # Check for guested configure.
1481 if test -f "$ac_srcdir/configure.gnu"; then
1483 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1484 elif test -f "$ac_srcdir/configure"; then
1486 $SHELL "$ac_srcdir/configure" --help=recursive
1488 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490 cd "$ac_pwd" || { ac_status=$?; break; }
1494 test -n "$ac_init_help" && exit $ac_status
1495 if $ac_init_version; then
1498 generated by GNU Autoconf 2.64
1500 Copyright (C) 2009 Free Software Foundation, Inc.
1501 This configure script is free software; the Free Software Foundation
1502 gives unlimited permission to copy, distribute and modify it.
1507 ## ------------------------ ##
1508 ## Autoconf initialization. ##
1509 ## ------------------------ ##
1511 # ac_fn_c_try_compile LINENO
1512 # --------------------------
1513 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1514 ac_fn_c_try_compile ()
1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517 rm -f conftest.$ac_objext
1518 if { { ac_try="$ac_compile"
1520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1521 *) ac_try_echo
=$ac_try;;
1523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524 $as_echo "$ac_try_echo"; } >&5
1525 (eval "$ac_compile") 2>conftest.err
1527 if test -s conftest.err
; then
1528 grep -v '^ *+' conftest.err
>conftest.er1
1529 cat conftest.er1
>&5
1530 mv -f conftest.er1 conftest.err
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && {
1534 test -z "$ac_c_werror_flag" ||
1535 test ! -s conftest.err
1536 } && test -s conftest.
$ac_objext; then :
1539 $as_echo "$as_me: failed program was:" >&5
1540 sed 's/^/| /' conftest.
$ac_ext >&5
1544 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1547 } # ac_fn_c_try_compile
1549 # ac_fn_c_try_cpp LINENO
1550 # ----------------------
1551 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1554 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1555 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } >/dev/null && {
1571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1581 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1586 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1587 # -------------------------------------------------------
1588 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1589 # the include files in INCLUDES and setting the cache variable VAR
1591 ac_fn_c_check_header_mongrel ()
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596 $as_echo_n "checking for $2... " >&6; }
1597 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1598 $as_echo_n "(cached) " >&6
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1602 $as_echo "$ac_res" >&6; }
1604 # Is the header compilable?
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1606 $as_echo_n "checking $2 usability... " >&6; }
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1612 if ac_fn_c_try_compile "$LINENO"; then :
1613 ac_header_compiler=yes
1615 ac_header_compiler=no
1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1619 $as_echo "$ac_header_compiler" >&6; }
1621 # Is the header present?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1623 $as_echo_n "checking $2 presence... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1628 if ac_fn_c_try_cpp "$LINENO"; then :
1629 ac_header_preproc=yes
1631 ac_header_preproc=no
1633 rm -f conftest.err conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1635 $as_echo "$ac_header_preproc" >&6; }
1637 # So? What about this header?
1638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1659 $as_echo_n "checking for $2... " >&6; }
1660 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1661 $as_echo_n "(cached) " >&6
1663 eval "$3=\$ac_header_compiler"
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671 } # ac_fn_c_check_header_mongrel
1673 # ac_fn_c_try_run LINENO
1674 # ----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1676 # that executables *can* be run.
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { { ac_try="$ac_link"
1682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1683 *) ac_try_echo
=$ac_try;;
1685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>&5
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1691 { { case "(($ac_try" in
1692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_try") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; }; }; then :
1703 $as_echo "$as_me: program exited with status $ac_status" >&5
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1707 ac_retval=$ac_status
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1715 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1716 # -------------------------------------------------------
1717 # Tests whether HEADER exists and can be compiled using the include files in
1718 # INCLUDES, setting the cache variable VAR accordingly.
1719 ac_fn_c_check_header_compile ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1725 $as_echo_n "(cached) " >&6
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1732 if ac_fn_c_try_compile "$LINENO"; then :
1737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741 $as_echo "$ac_res" >&6; }
1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1744 } # ac_fn_c_check_header_compile
1746 # ac_fn_c_try_link LINENO
1747 # -----------------------
1748 # Try to link conftest.$ac_ext, and return whether this succeeded.
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 rm -f conftest.$ac_objext conftest$ac_exeext
1753 if { { ac_try="$ac_link"
1755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1756 *) ac_try_echo
=$ac_try;;
1758 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_link") 2>conftest.err
1762 if test -s conftest.err
; then
1763 grep -v '^ *+' conftest.err
>conftest.er1
1764 cat conftest.er1
>&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_c_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest
$ac_exeext && {
1772 test "$cross_compiling" = yes ||
1773 $as_test_x conftest
$ac_exeext
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.
$ac_ext >&5
1782 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1783 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1784 # interfere with the next link command; also delete a directory that is
1785 # left behind by Apple's compiler. We do this before executing the actions.
1786 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1790 } # ac_fn_c_try_link
1792 # ac_fn_c_check_func LINENO FUNC VAR
1793 # ----------------------------------
1794 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1795 ac_fn_c_check_func
()
1797 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1801 $as_echo_n "(cached) " >&6
1803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1805 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1807 #define $2 innocuous_$2
1809 /* System header to define __stub macros and hopefully few prototypes,
1810 which can conflict with char $2 (); below.
1811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1812 <limits.h> exists even on freestanding compilers. */
1815 # include <limits.h>
1817 # include <assert.h>
1822 /* Override any GCC internal prototype to avoid an error.
1823 Use char because int might match the return type of a GCC
1824 builtin and then its argument prototype would still apply. */
1829 /* The GNU C library defines this for functions which it implements
1830 to always fail with ENOSYS. Some functions are actually named
1831 something starting with __ and the normal name is an alias. */
1832 #if defined __stub_$2 || defined __stub___$2
1844 if ac_fn_c_try_link
"$LINENO"; then :
1849 rm -f core conftest.err conftest.
$ac_objext \
1850 conftest
$ac_exeext conftest.
$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1857 } # ac_fn_c_check_func
1859 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1860 # ----------------------------------------------------
1861 # Tries to find if the field MEMBER exists in type AGGR, after including
1862 # INCLUDES, setting cache variable VAR accordingly.
1863 ac_fn_c_check_member
()
1865 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1867 $as_echo_n "checking for $2.$3... " >&6; }
1868 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1869 $as_echo_n "(cached) " >&6
1871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h. */
1884 if ac_fn_c_try_compile
"$LINENO"; then :
1887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1894 if (sizeof ac_aggr.$3)
1900 if ac_fn_c_try_compile
"$LINENO"; then :
1905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1914 } # ac_fn_c_check_member
1916 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1917 # -------------------------------------------
1918 # Tests whether TYPE exists after having included INCLUDES, setting cache
1919 # variable VAR accordingly.
1920 ac_fn_c_check_type
()
1922 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1926 $as_echo_n "(cached) " >&6
1929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1941 if ac_fn_c_try_compile
"$LINENO"; then :
1942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1954 if ac_fn_c_try_compile
"$LINENO"; then :
1959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1968 } # ac_fn_c_check_type
1969 cat >config.log
<<_ACEOF
1970 This file contains any messages produced by compilers while
1971 running configure, to aid debugging if configure makes a mistake.
1973 It was created by $as_me, which was
1974 generated by GNU Autoconf 2.64. Invocation command line was
1986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1993 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1995 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1996 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1998 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1999 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2000 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2001 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2009 test -z "$as_dir" && as_dir
=.
2010 $as_echo "PATH: $as_dir"
2026 # Keep a trace of the command line.
2027 # Strip out --no-create and --no-recursion so they do not pile up.
2028 # Strip out --silent because we don't want to record it for future runs.
2029 # Also quote any args containing shell meta-characters.
2030 # Make two passes to allow for proper duplicate-argument suppression.
2034 ac_must_keep_next
=false
2040 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2041 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2042 |
-silent |
--silent |
--silen |
--sile |
--sil)
2045 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2048 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2050 as_fn_append ac_configure_args1
" '$ac_arg'"
2051 if test $ac_must_keep_next = true
; then
2052 ac_must_keep_next
=false
# Got value, back to normal.
2055 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2056 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2057 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2058 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2059 case "$ac_configure_args0 " in
2060 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2063 -* ) ac_must_keep_next
=true
;;
2066 as_fn_append ac_configure_args
" '$ac_arg'"
2071 { ac_configure_args0
=; unset ac_configure_args0
;}
2072 { ac_configure_args1
=; unset ac_configure_args1
;}
2074 # When interrupted or exit'd, cleanup temporary files, and complete
2075 # config.log. We remove comments because anyway the quotes in there
2076 # would cause problems or look ugly.
2077 # WARNING: Use '\'' to represent an apostrophe within the trap.
2078 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2079 trap 'exit_status=$?
2080 # Save into config.log some information that might help in debugging.
2085 ## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##
2090 # The following way of writing the cache mishandles newlines in values,
2092 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2093 eval ac_val=\$$ac_var
2097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2101 _ | IFS | as_nl) ;; #(
2102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2103 *) { eval $ac_var=; unset $ac_var;} ;;
2108 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2109 *${as_nl}ac_space=\ *)
2111 "s/'\''/'\''\\\\'\'''\''/g;
2112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2123 ## ----------------- ##
2124 ## Output variables. ##
2125 ## ----------------- ##
2128 for ac_var in $ac_subst_vars
2130 eval ac_val=\$$ac_var
2132 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2134 $as_echo "$ac_var='\''$ac_val'\''"
2138 if test -n "$ac_subst_files"; then
2140 ## ------------------- ##
2141 ## File substitutions. ##
2142 ## ------------------- ##
2145 for ac_var
in $ac_subst_files
2147 eval ac_val
=\$
$ac_var
2149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2151 $as_echo "$ac_var='\''$ac_val'\''"
2156 if test -s confdefs.h; then
2166 test "$ac_signal" != 0 &&
2167 $as_echo "$as_me: caught signal $ac_signal"
2168 $as_echo "$as_me: exit $exit_status"
2170 rm -f core *.core core.conftest.* &&
2171 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2174 for ac_signal
in 1 2 13 15; do
2175 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2180 rm -f -r conftest
* confdefs.h
2182 $as_echo "/* confdefs.h */" > confdefs.h
2184 # Predefined preprocessor variables.
2186 cat >>confdefs.h
<<_ACEOF
2187 #define PACKAGE_NAME "$PACKAGE_NAME"
2190 cat >>confdefs.h
<<_ACEOF
2191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2194 cat >>confdefs.h
<<_ACEOF
2195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2198 cat >>confdefs.h
<<_ACEOF
2199 #define PACKAGE_STRING "$PACKAGE_STRING"
2202 cat >>confdefs.h
<<_ACEOF
2203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2206 cat >>confdefs.h
<<_ACEOF
2207 #define PACKAGE_URL "$PACKAGE_URL"
2211 # Let the site file select an alternate cache file if it wants to.
2212 # Prefer an explicitly selected file to automatically selected ones.
2215 if test -n "$CONFIG_SITE"; then
2216 ac_site_file1
=$CONFIG_SITE
2217 elif test "x$prefix" != xNONE
; then
2218 ac_site_file1
=$prefix/share
/config.site
2219 ac_site_file2
=$prefix/etc
/config.site
2221 ac_site_file1
=$ac_default_prefix/share
/config.site
2222 ac_site_file2
=$ac_default_prefix/etc
/config.site
2224 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2226 test "x$ac_site_file" = xNONE
&& continue
2227 if test -r "$ac_site_file"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2229 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2230 sed 's/^/| /' "$ac_site_file" >&5
2235 if test -r "$cache_file"; then
2236 # Some versions of bash will fail to source /dev/null (special
2237 # files actually), so we avoid doing that.
2238 if test -f "$cache_file"; then
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2240 $as_echo "$as_me: loading cache $cache_file" >&6;}
2242 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2243 *) .
"./$cache_file";;
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2248 $as_echo "$as_me: creating cache $cache_file" >&6;}
2252 # Check that the precious variables saved in the cache have kept the same
2254 ac_cache_corrupted
=false
2255 for ac_var
in $ac_precious_vars; do
2256 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2257 eval ac_new_set
=\
$ac_env_${ac_var}_set
2258 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2259 eval ac_new_val
=\
$ac_env_${ac_var}_value
2260 case $ac_old_set,$ac_new_set in
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2263 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2264 ac_cache_corrupted
=: ;;
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2267 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2268 ac_cache_corrupted
=: ;;
2271 if test "x$ac_old_val" != "x$ac_new_val"; then
2272 # differences in whitespace do not lead to failure.
2273 ac_old_val_w
=`echo x $ac_old_val`
2274 ac_new_val_w
=`echo x $ac_new_val`
2275 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2277 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2278 ac_cache_corrupted
=:
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2281 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2282 eval $ac_var=\
$ac_old_val
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2285 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2287 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2290 # Pass precious variables to config.status.
2291 if test "$ac_new_set" = set; then
2293 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2294 *) ac_arg
=$ac_var=$ac_new_val ;;
2296 case " $ac_configure_args " in
2297 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2298 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2302 if $ac_cache_corrupted; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2306 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2307 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2309 ## -------------------- ##
2310 ## Main body of script. ##
2311 ## -------------------- ##
2314 ac_cpp
='$CPP $CPPFLAGS'
2315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2325 ac_cpp
='$CPP $CPPFLAGS'
2326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2329 if test -n "$ac_tool_prefix"; then
2330 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2331 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if test "${ac_cv_prog_CC+set}" = set; then :
2335 $as_echo_n "(cached) " >&6
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC
="$CC" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test -n "$CC"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2360 $as_echo "$CC" >&6; }
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2368 if test -z "$ac_cv_prog_CC"; then
2370 # Extract the first word of "gcc", so it can be a program name with args.
2371 set dummy gcc
; ac_word
=$2
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2373 $as_echo_n "checking for $ac_word... " >&6; }
2374 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2375 $as_echo_n "(cached) " >&6
2377 if test -n "$ac_ct_CC"; then
2378 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir
=.
2385 for ac_exec_ext
in '' $ac_executable_extensions; do
2386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2387 ac_cv_prog_ac_ct_CC
="gcc"
2388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2398 if test -n "$ac_ct_CC"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2400 $as_echo "$ac_ct_CC" >&6; }
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2406 if test "x$ac_ct_CC" = x
; then
2409 case $cross_compiling:$ac_tool_warned in
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2413 ac_tool_warned
=yes ;;
2421 if test -z "$CC"; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2453 $as_echo "$CC" >&6; }
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2462 if test -z "$CC"; then
2463 # Extract the first word of "cc", so it can be a program name with args.
2464 set dummy cc
; ac_word
=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if test "${ac_cv_prog_CC+set}" = set; then :
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$CC"; then
2471 ac_cv_prog_CC
="$CC" # Let the user override the test.
2474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir
=.
2479 for ac_exec_ext
in '' $ac_executable_extensions; do
2480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2482 ac_prog_rejected
=yes
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 if test $ac_prog_rejected = yes; then
2494 # We found a bogon in the path, so make sure we never use it.
2495 set dummy
$ac_cv_prog_CC
2497 if test $# != 0; then
2498 # We chose a different compiler from the bogus one.
2499 # However, it has the same basename, so the bogon will be chosen
2500 # first if we set CC to just the basename; use the full file name.
2502 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2508 if test -n "$CC"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2510 $as_echo "$CC" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 for ac_prog
in cl.exe
2522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2523 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if test "${ac_cv_prog_CC+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC
="$CC" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2539 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$CC"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2552 $as_echo "$CC" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2559 test -n "$CC" && break
2562 if test -z "$CC"; then
2564 for ac_prog
in cl.exe
2566 # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy
$ac_prog; ac_word
=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$ac_ct_CC"; then
2574 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_ac_ct_CC
="$ac_prog"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2594 if test -n "$ac_ct_CC"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2596 $as_echo "$ac_ct_CC" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2603 test -n "$ac_ct_CC" && break
2606 if test "x$ac_ct_CC" = x
; then
2609 case $cross_compiling:$ac_tool_warned in
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2613 ac_tool_warned
=yes ;;
2622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error
"no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details." "$LINENO" 5; }
2627 # Provide some information about the compiler.
2628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2631 for ac_option
in --version -v -V -qversion; do
2632 { { ac_try
="$ac_compiler $ac_option >&5"
2634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2641 if test -s conftest.err; then
2643 ... rest of stderr output deleted ...
2644 10q' conftest.err >conftest.er1
2645 cat conftest.er1 >&5
2646 rm -f conftest.er1 conftest.err
2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649 test $ac_status = 0; }
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2663 ac_clean_files_save=$ac_clean_files
2664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2665 # Try to create an executable without -o first, disregard a.out.
2666 # It will help us diagnose broken compilers, and finding out an intuition
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2669 $as_echo_n "checking for C compiler default output file name... " >&6; }
2670 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2672 # The possible output files:
2673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2676 for ac_file in $ac_files
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2680 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2685 if { { ac_try="$ac_link_default"
2687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2688 *) ac_try_echo
=$ac_try;;
2690 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_link_default") 2>&5
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }; then :
2696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2699 # so that the user can short-circuit this test for compilers unknown to
2701 for ac_file
in $ac_files ''
2703 test -f "$ac_file" ||
continue
2705 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2708 # We found the default executable, but exeext='' is most
2712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2714 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2716 # We set ac_cv_exeext here because the later test for it is not
2717 # safe: cross compilers may not add the suffix if given an `-o'
2718 # argument, so we may need to know it at that point already.
2719 # Even if this section looks crufty: it has the advantage of
2726 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2732 $as_echo "$ac_file" >&6; }
2733 if test -z "$ac_file"; then :
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.
$ac_ext >&5
2737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2739 { as_fn_set_status
77
2740 as_fn_error
"C compiler cannot create executables
2741 See \`config.log' for more details." "$LINENO" 5; }; }
2743 ac_exeext
=$ac_cv_exeext
2745 # Check that the compiler produces executables we can run. If not, either
2746 # the compiler is broken, or we cross compile.
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2748 $as_echo_n "checking whether the C compiler works... " >&6; }
2749 # If not cross compiling, check that we can run a simple program.
2750 if test "$cross_compiling" != yes; then
2751 if { ac_try
='./$ac_file'
2752 { { case "(($ac_try" in
2753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757 $as_echo "$ac_try_echo"; } >&5
2758 (eval "$ac_try") 2>&5
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; }; }; then
2764 if test "$cross_compiling" = maybe; then
2767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769 as_fn_error "cannot run C compiled programs.
2770 If you meant to cross compile
, use \
`--host'.
2771 See \`config.log
' for more details." "$LINENO" 5; }
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2776 $as_echo "yes" >&6; }
2778 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2779 ac_clean_files=$ac_clean_files_save
2780 # Check that the compiler produces executables we can run. If not, either
2781 # the compiler is broken, or we cross compile.
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2783 $as_echo_n "checking whether we are cross compiling... " >&6; }
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2785 $as_echo "$cross_compiling" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2788 $as_echo_n "checking for suffix of executables... " >&6; }
2789 if { { ac_try="$ac_link"
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_link") 2>&5
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; }; then :
2800 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2801 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2802 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2804 for ac_file
in conftest.exe conftest conftest.
*; do
2805 test -f "$ac_file" ||
continue
2807 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2808 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2817 See \`config.log' for more details." "$LINENO" 5; }
2819 rm -f conftest
$ac_cv_exeext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2821 $as_echo "$ac_cv_exeext" >&6; }
2823 rm -f conftest.
$ac_ext
2824 EXEEXT
=$ac_cv_exeext
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2827 $as_echo_n "checking for suffix of object files... " >&6; }
2828 if test "${ac_cv_objext+set}" = set; then :
2829 $as_echo_n "(cached) " >&6
2831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2842 rm -f conftest.o conftest.obj
2843 if { { ac_try
="$ac_compile"
2845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 $as_echo "$ac_try_echo"; } >&5
2850 (eval "$ac_compile") 2>&5
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; }; then :
2854 for ac_file in conftest.o conftest.obj conftest.*; do
2855 test -f "$ac_file" || continue;
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2858 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2868 as_fn_error "cannot compute suffix of object files
: cannot compile
2869 See \
`config.log' for more details." "$LINENO" 5; }
2871 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2874 $as_echo "$ac_cv_objext" >&6; }
2875 OBJEXT=$ac_cv_objext
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2878 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2879 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2896 if ac_fn_c_try_compile "$LINENO"; then :
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2906 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2907 if test $ac_compiler_gnu = yes; then
2912 ac_test_CFLAGS=${CFLAGS+set}
2913 ac_save_CFLAGS=$CFLAGS
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2915 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2916 if test "${ac_cv_prog_cc_g+set}" = set; then :
2917 $as_echo_n "(cached) " >&6
2919 ac_save_c_werror_flag=$ac_c_werror_flag
2920 ac_c_werror_flag=yes
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2934 if ac_fn_c_try_compile "$LINENO"; then :
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2949 if ac_fn_c_try_compile "$LINENO"; then :
2952 ac_c_werror_flag=$ac_save_c_werror_flag
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2965 if ac_fn_c_try_compile "$LINENO"; then :
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 ac_c_werror_flag=$ac_save_c_werror_flag
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2976 $as_echo "$ac_cv_prog_cc_g" >&6; }
2977 if test "$ac_test_CFLAGS" = set; then
2978 CFLAGS=$ac_save_CFLAGS
2979 elif test $ac_cv_prog_cc_g = yes; then
2980 if test "$GCC" = yes; then
2986 if test "$GCC" = yes; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2993 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2994 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2997 ac_cv_prog_cc_c89=no
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3003 #include <sys/types.h>
3004 #include <sys/stat.h>
3005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3006 struct buf { int x; };
3007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3008 static char *e (p, i)
3014 static char *f (char * (*g) (char **, int), char **p, ...)
3019 s = g (p, va_arg (v,int));
3024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3025 function prototypes and stuff, but not '\xHH' hex character constants.
3026 These don't provoke an error unfortunately, instead are silently treated
3027 as 'x'. The following induces an error, until -std is added to get
3028 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3029 array size at least. It's necessary to write '\x00'==0 to get something
3030 that's true only with -std. */
3031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3034 inside strings and character constants. */
3036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3038 int test (int i, double x);
3039 struct s1 {int (*f) (int a);};
3040 struct s2 {int (*f) (double a);};
3041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3047 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3053 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3055 CC="$ac_save_CC $ac_arg"
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 ac_cv_prog_cc_c89=$ac_arg
3059 rm -f core conftest.err conftest.$ac_objext
3060 test "x$ac_cv_prog_cc_c89" != "xno" && break
3062 rm -f conftest.$ac_ext
3067 case "x$ac_cv_prog_cc_c89" in
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3070 $as_echo "none needed" >&6; } ;;
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3073 $as_echo "unsupported" >&6; } ;;
3075 CC="$CC $ac_cv_prog_cc_c89"
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3077 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3079 if test "x$ac_cv_prog_cc_c89" != xno; then :
3084 ac_cpp='$CPP $CPPFLAGS'
3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3090 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3091 for ac_t in install-sh install.sh shtool; do
3092 if test -f "$ac_dir/$ac_t"; then
3094 ac_install_sh="$ac_aux_dir/$ac_t -c"
3099 if test -z "$ac_aux_dir"; then
3100 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3103 # These three variables are undocumented and unsupported,
3104 # and are intended to be withdrawn in a future Autoconf release.
3105 # They can cause serious problems if a builder's source tree is in a directory
3106 # whose full name contains unusual characters.
3107 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3108 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3109 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3112 # Make sure we can run config.sub.
3113 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3114 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3117 $as_echo_n "checking build system type... " >&6; }
3118 if test "${ac_cv_build+set}" = set; then :
3119 $as_echo_n "(cached) " >&6
3121 ac_build_alias=$build_alias
3122 test "x$ac_build_alias" = x &&
3123 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3124 test "x$ac_build_alias" = x &&
3125 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3127 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3131 $as_echo "$ac_cv_build" >&6; }
3132 case $ac_cv_build in
3134 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3137 ac_save_IFS=$IFS; IFS='-'
3143 # Remember, the first character of IFS is used to create $*,
3144 # except with old shells:
3147 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3151 $as_echo_n "checking host system type... " >&6; }
3152 if test "${ac_cv_host+set}" = set; then :
3153 $as_echo_n "(cached) " >&6
3155 if test "x$host_alias" = x; then
3156 ac_cv_host=$ac_cv_build
3158 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3159 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3164 $as_echo "$ac_cv_host" >&6; }
3167 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3170 ac_save_IFS=$IFS; IFS='-'
3176 # Remember, the first character of IFS is used to create $*,
3177 # except with old shells:
3180 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3184 $as_echo_n "checking target system type... " >&6; }
3185 if test "${ac_cv_target+set}" = set; then :
3186 $as_echo_n "(cached) " >&6
3188 if test "x$target_alias" = x; then
3189 ac_cv_target=$ac_cv_host
3191 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3192 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3197 $as_echo "$ac_cv_target" >&6; }
3198 case $ac_cv_target in
3200 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3202 target=$ac_cv_target
3203 ac_save_IFS=$IFS; IFS='-'
3209 # Remember, the first character of IFS is used to create $*,
3210 # except with old shells:
3213 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3216 # The aliases save the names the user supplied, while $host etc.
3217 # will get canonicalized.
3218 test -n "$target_alias" &&
3219 test "$program_prefix$program_suffix$program_transform_name" = \
3221 program_prefix=${target_alias}-
3224 ac_cpp='$CPP $CPPFLAGS'
3225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3229 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3230 # On Suns, sometimes $CPP names a directory.
3231 if test -n "$CPP" && test -d "$CPP"; then
3234 if test -z "$CPP"; then
3235 if test "${ac_cv_prog_CPP+set}" = set; then :
3236 $as_echo_n "(cached) " >&6
3238 # Double quotes because CPP needs to be expanded
3239 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3242 for ac_c_preproc_warn_flag in '' yes
3244 # Use a header file that comes with gcc, so configuring glibc
3245 # with a fresh cross-compiler works.
3246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3247 # <limits.h> exists even on freestanding compilers.
3248 # On the NeXT, cc -E runs the code through the compiler's parser,
3249 # not just through cpp. "Syntax error" is here to catch this case.
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3253 # include <limits.h>
3255 # include <assert.h>
3259 if ac_fn_c_try_cpp "$LINENO"; then :
3262 # Broken: fails on valid input.
3265 rm -f conftest.err conftest.$ac_ext
3267 # OK, works on sane cases. Now check whether nonexistent headers
3268 # can be detected and how.
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3271 #include <ac_nonexistent.h>
3273 if ac_fn_c_try_cpp "$LINENO"; then :
3274 # Broken: success on invalid input.
3277 # Passes both tests.
3281 rm -f conftest.err conftest.$ac_ext
3284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3285 rm -f conftest.err conftest.
$ac_ext
3286 if $ac_preproc_ok; then :
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3299 $as_echo "$CPP" >&6; }
3301 for ac_c_preproc_warn_flag
in '' yes
3303 # Use a header file that comes with gcc, so configuring glibc
3304 # with a fresh cross-compiler works.
3305 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3306 # <limits.h> exists even on freestanding compilers.
3307 # On the NeXT, cc -E runs the code through the compiler's parser,
3308 # not just through cpp. "Syntax error" is here to catch this case.
3309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3312 # include <limits.h>
3314 # include <assert.h>
3318 if ac_fn_c_try_cpp
"$LINENO"; then :
3321 # Broken: fails on valid input.
3324 rm -f conftest.err conftest.
$ac_ext
3326 # OK, works on sane cases. Now check whether nonexistent headers
3327 # can be detected and how.
3328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3330 #include <ac_nonexistent.h>
3332 if ac_fn_c_try_cpp
"$LINENO"; then :
3333 # Broken: success on invalid input.
3336 # Passes both tests.
3340 rm -f conftest.err conftest.
$ac_ext
3343 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3344 rm -f conftest.err conftest.
$ac_ext
3345 if $ac_preproc_ok; then :
3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3351 See \`config.log' for more details." "$LINENO" 5; }
3355 ac_cpp
='$CPP $CPPFLAGS'
3356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3362 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3363 if test "${ac_cv_path_GREP+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3366 if test -z "$GREP"; then
3367 ac_path_GREP_found
=false
3368 # Loop through the user's path and test for each of PROGNAME-LIST
3369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3370 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3373 test -z "$as_dir" && as_dir
=.
3374 for ac_prog
in grep ggrep
; do
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3377 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3378 # Check for GNU ac_path_GREP and select it if it is found.
3379 # Check for GNU $ac_path_GREP
3380 case `"$ac_path_GREP" --version 2>&1` in
3382 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3385 $as_echo_n 0123456789 >"conftest.in"
3388 cat "conftest.in" "conftest.in" >"conftest.tmp"
3389 mv "conftest.tmp" "conftest.in"
3390 cp "conftest.in" "conftest.nl"
3391 $as_echo 'GREP' >> "conftest.nl"
3392 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3393 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3394 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3395 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3396 # Best one so far, save it but keep looking for a better one
3397 ac_cv_path_GREP
="$ac_path_GREP"
3398 ac_path_GREP_max
=$ac_count
3400 # 10*(2^10) chars as input seems more than enough
3401 test $ac_count -gt 10 && break
3403 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3406 $ac_path_GREP_found && break 3
3411 if test -z "$ac_cv_path_GREP"; then
3412 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3415 ac_cv_path_GREP
=$GREP
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3420 $as_echo "$ac_cv_path_GREP" >&6; }
3421 GREP
="$ac_cv_path_GREP"
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3425 $as_echo_n "checking for egrep... " >&6; }
3426 if test "${ac_cv_path_EGREP+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3429 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3430 then ac_cv_path_EGREP
="$GREP -E"
3432 if test -z "$EGREP"; then
3433 ac_path_EGREP_found
=false
3434 # Loop through the user's path and test for each of PROGNAME-LIST
3435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3436 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3439 test -z "$as_dir" && as_dir
=.
3440 for ac_prog
in egrep; do
3441 for ac_exec_ext
in '' $ac_executable_extensions; do
3442 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3443 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3444 # Check for GNU ac_path_EGREP and select it if it is found.
3445 # Check for GNU $ac_path_EGREP
3446 case `"$ac_path_EGREP" --version 2>&1` in
3448 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3451 $as_echo_n 0123456789 >"conftest.in"
3454 cat "conftest.in" "conftest.in" >"conftest.tmp"
3455 mv "conftest.tmp" "conftest.in"
3456 cp "conftest.in" "conftest.nl"
3457 $as_echo 'EGREP' >> "conftest.nl"
3458 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3459 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3460 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3461 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3462 # Best one so far, save it but keep looking for a better one
3463 ac_cv_path_EGREP
="$ac_path_EGREP"
3464 ac_path_EGREP_max
=$ac_count
3466 # 10*(2^10) chars as input seems more than enough
3467 test $ac_count -gt 10 && break
3469 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3472 $ac_path_EGREP_found && break 3
3477 if test -z "$ac_cv_path_EGREP"; then
3478 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3481 ac_cv_path_EGREP
=$EGREP
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3487 $as_echo "$ac_cv_path_EGREP" >&6; }
3488 EGREP
="$ac_cv_path_EGREP"
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3492 $as_echo_n "checking for ANSI C header files... " >&6; }
3493 if test "${ac_cv_header_stdc+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3511 if ac_fn_c_try_compile
"$LINENO"; then :
3512 ac_cv_header_stdc
=yes
3514 ac_cv_header_stdc
=no
3516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3518 if test $ac_cv_header_stdc = yes; then
3519 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3526 $EGREP "memchr" >/dev
/null
2>&1; then :
3529 ac_cv_header_stdc
=no
3535 if test $ac_cv_header_stdc = yes; then
3536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3543 $EGREP "free" >/dev
/null
2>&1; then :
3546 ac_cv_header_stdc
=no
3552 if test $ac_cv_header_stdc = yes; then
3553 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3554 if test "$cross_compiling" = yes; then :
3557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3561 #if ((' ' & 0x0FF) == 0x020)
3562 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3563 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3565 # define ISLOWER(c) \
3566 (('a' <= (c) && (c) <= 'i') \
3567 || ('j' <= (c) && (c) <= 'r') \
3568 || ('s' <= (c) && (c) <= 'z'))
3569 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3572 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3577 for (i = 0; i < 256; i++)
3578 if (XOR (islower (i), ISLOWER (i))
3579 || toupper (i) != TOUPPER (i))
3584 if ac_fn_c_try_run
"$LINENO"; then :
3587 ac_cv_header_stdc
=no
3589 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3590 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3596 $as_echo "$ac_cv_header_stdc" >&6; }
3597 if test $ac_cv_header_stdc = yes; then
3599 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3603 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3604 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3605 inttypes.h stdint.h unistd.h
3607 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3608 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3610 eval as_val
=\$
$as_ac_Header
3611 if test "x$as_val" = x
""yes; then :
3612 cat >>confdefs.h
<<_ACEOF
3613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3622 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3623 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3630 if test "$MINIX" = yes; then
3632 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3635 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3638 $as_echo "#define _MINIX 1" >>confdefs.h
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3644 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3645 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3651 # define __EXTENSIONS__ 1
3652 $ac_includes_default
3661 if ac_fn_c_try_compile
"$LINENO"; then :
3662 ac_cv_safe_to_define___extensions__
=yes
3664 ac_cv_safe_to_define___extensions__
=no
3666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3669 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3670 test $ac_cv_safe_to_define___extensions__ = yes &&
3671 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3673 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3675 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3677 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3679 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3682 test "$program_prefix" != NONE
&&
3683 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3684 # Use a double $ so make ignores it.
3685 test "$program_suffix" != NONE
&&
3686 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3687 # Double any \ or $.
3688 # By default was `s,x,x', remove it if useless.
3689 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3690 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3692 # Find a good install program. We prefer a C program (faster),
3693 # so one script is as good as another. But avoid the broken or
3694 # incompatible versions:
3695 # SysV /etc/install, /usr/sbin/install
3696 # SunOS /usr/etc/install
3697 # IRIX /sbin/install
3699 # AmigaOS /C/install, which installs bootblocks on floppy discs
3700 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3701 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3702 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3703 # OS/2's system install, which has a completely different semantic
3704 # ./install, which can be erroneously created by make from ./install.sh.
3705 # Reject install programs that cannot install multiple files.
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3707 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3708 if test -z "$INSTALL"; then
3709 if test "${ac_cv_path_install+set}" = set; then :
3710 $as_echo_n "(cached) " >&6
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 # Account for people who put trailing slashes in PATH elements.
3718 case $as_dir/ in #((
3719 .
/ | .
// |
/[cC
]/* | \
3720 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3721 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3724 # OSF1 and SCO ODT 3.0 have their own names for install.
3725 # Don't use installbsd from OSF since it installs stuff as root
3727 for ac_prog
in ginstall scoinst
install; do
3728 for ac_exec_ext
in '' $ac_executable_extensions; do
3729 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3730 if test $ac_prog = install &&
3731 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3732 # AIX install. It has an incompatible calling convention.
3734 elif test $ac_prog = install &&
3735 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3736 # program-specific install script used by HP pwplus--don't use.
3739 rm -rf conftest.one conftest.two conftest.dir
3740 echo one
> conftest.one
3741 echo two
> conftest.two
3743 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3744 test -s conftest.one
&& test -s conftest.two
&&
3745 test -s conftest.dir
/conftest.one
&&
3746 test -s conftest.dir
/conftest.two
3748 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3761 rm -rf conftest.one conftest.two conftest.dir
3764 if test "${ac_cv_path_install+set}" = set; then
3765 INSTALL
=$ac_cv_path_install
3767 # As a last resort, use the slow shell script. Don't cache a
3768 # value for INSTALL within a source directory, because that will
3769 # break other packages using the cache if that directory is
3770 # removed, or if the value is a relative name.
3771 INSTALL
=$ac_install_sh
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3775 $as_echo "$INSTALL" >&6; }
3777 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3778 # It thinks the first close brace ends the variable substitution.
3779 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3781 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3783 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3785 rm -rf .tst
2>/dev
/null
3786 mkdir .tst
2>/dev
/null
3787 if test -d .tst
; then
3792 rmdir .tst
2>/dev
/null
3794 DEPDIR
="${am__leading_dot}deps"
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3799 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3804 macro_version
='2.2.7a'
3805 macro_revision
='1.3134'
3819 ltmain
="$ac_aux_dir/ltmain.sh"
3821 # Backslashify metacharacters that are still active within
3822 # double-quoted strings.
3823 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3825 # Same as above, but do not quote variable references.
3826 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3828 # Sed substitution to delay expansion of an escaped shell variable in a
3829 # double_quote_subst'ed string.
3830 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3832 # Sed substitution to delay expansion of an escaped single quote.
3833 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3835 # Sed substitution to avoid accidental globbing in evaled expressions
3836 no_glob_subst
='s/\*/\\\*/g'
3838 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3839 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3840 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3843 $as_echo_n "checking how to print strings... " >&6; }
3844 # Test print first, because it will be a builtin if present.
3845 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
3846 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3848 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3851 # Use this function as a fallback that always works.
3852 func_fallback_echo ()
3854 eval 'cat <<_LTECHO_EOF
3858 ECHO='func_fallback_echo
'
3861 # func_echo_all arg...
3862 # Invoke $ECHO with all args, space-separated.
3869 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3870 $as_echo "printf" >&6; } ;;
3871 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3872 $as_echo "print -r" >&6; } ;;
3873 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3874 $as_echo "cat" >&6; } ;;
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3891 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3892 if test "${ac_cv_path_SED+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3895 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3896 for ac_i in 1 2 3 4 5 6 7; do
3897 ac_script="$ac_script$as_nl$ac_script"
3899 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3900 { ac_script=; unset ac_script;}
3901 if test -z "$SED"; then
3902 ac_path_SED_found=false
3903 # Loop through the user's path and
test for each of PROGNAME-LIST
3904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir
=.
3909 for ac_prog
in sed gsed
; do
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3912 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3913 # Check for GNU ac_path_SED and select it if it is found.
3914 # Check for GNU $ac_path_SED
3915 case `"$ac_path_SED" --version 2>&1` in
3917 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3920 $as_echo_n 0123456789 >"conftest.in"
3923 cat "conftest.in" "conftest.in" >"conftest.tmp"
3924 mv "conftest.tmp" "conftest.in"
3925 cp "conftest.in" "conftest.nl"
3926 $as_echo '' >> "conftest.nl"
3927 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3928 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3929 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3930 if test $ac_count -gt ${ac_path_SED_max-0}; then
3931 # Best one so far, save it but keep looking for a better one
3932 ac_cv_path_SED
="$ac_path_SED"
3933 ac_path_SED_max
=$ac_count
3935 # 10*(2^10) chars as input seems more than enough
3936 test $ac_count -gt 10 && break
3938 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3941 $ac_path_SED_found && break 3
3946 if test -z "$ac_cv_path_SED"; then
3947 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3955 $as_echo "$ac_cv_path_SED" >&6; }
3956 SED
="$ac_cv_path_SED"
3959 test -z "$SED" && SED
=sed
3960 Xsed
="$SED -e 1s/^X//"
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3973 $as_echo_n "checking for fgrep... " >&6; }
3974 if test "${ac_cv_path_FGREP+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3978 then ac_cv_path_FGREP
="$GREP -F"
3980 if test -z "$FGREP"; then
3981 ac_path_FGREP_found
=false
3982 # Loop through the user's path and test for each of PROGNAME-LIST
3983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3987 test -z "$as_dir" && as_dir
=.
3988 for ac_prog
in fgrep
; do
3989 for ac_exec_ext
in '' $ac_executable_extensions; do
3990 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3991 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
3992 # Check for GNU ac_path_FGREP and select it if it is found.
3993 # Check for GNU $ac_path_FGREP
3994 case `"$ac_path_FGREP" --version 2>&1` in
3996 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3999 $as_echo_n 0123456789 >"conftest.in"
4002 cat "conftest.in" "conftest.in" >"conftest.tmp"
4003 mv "conftest.tmp" "conftest.in"
4004 cp "conftest.in" "conftest.nl"
4005 $as_echo 'FGREP' >> "conftest.nl"
4006 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4007 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4008 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4009 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4010 # Best one so far, save it but keep looking for a better one
4011 ac_cv_path_FGREP
="$ac_path_FGREP"
4012 ac_path_FGREP_max
=$ac_count
4014 # 10*(2^10) chars as input seems more than enough
4015 test $ac_count -gt 10 && break
4017 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4020 $ac_path_FGREP_found && break 3
4025 if test -z "$ac_cv_path_FGREP"; then
4026 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4029 ac_cv_path_FGREP
=$FGREP
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4035 $as_echo "$ac_cv_path_FGREP" >&6; }
4036 FGREP
="$ac_cv_path_FGREP"
4039 test -z "$GREP" && GREP
=grep
4059 # Check whether --with-gnu-ld was given.
4060 if test "${with_gnu_ld+set}" = set; then :
4061 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4067 if test "$GCC" = yes; then
4068 # Check if gcc -print-prog-name=ld gives a path.
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4070 $as_echo_n "checking for ld used by $CC... " >&6; }
4073 # gcc leaves a trailing carriage return which upsets mingw
4074 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4076 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4079 # Accept absolute paths.
4081 re_direlt
='/[^/][^/]*/\.\./'
4082 # Canonicalize the pathname of ld
4083 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4084 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4085 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4087 test -z "$LD" && LD
="$ac_prog"
4090 # If it fails, then pretend we aren't using GCC.
4094 # If it is relative, then search for the first ld in PATH.
4098 elif test "$with_gnu_ld" = yes; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4100 $as_echo_n "checking for GNU ld... " >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4103 $as_echo_n "checking for non-GNU ld... " >&6; }
4105 if test "${lt_cv_path_LD+set}" = set; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -z "$LD"; then
4109 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4110 for ac_dir
in $PATH; do
4112 test -z "$ac_dir" && ac_dir
=.
4113 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4114 lt_cv_path_LD
="$ac_dir/$ac_prog"
4115 # Check to see if the program is GNU ld. I'd rather use --version,
4116 # but apparently some variants of GNU ld only accept -v.
4117 # Break only if it was the GNU/non-GNU ld that we prefer.
4118 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4119 *GNU
* |
*'with BFD'*)
4120 test "$with_gnu_ld" != no
&& break
4123 test "$with_gnu_ld" != yes && break
4130 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4135 if test -n "$LD"; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4137 $as_echo "$LD" >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4142 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4144 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4145 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4146 $as_echo_n "(cached) " >&6
4148 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4149 case `$LD -v 2>&1 </dev/null` in
4150 *GNU
* |
*'with BFD'*)
4151 lt_cv_prog_gnu_ld
=yes
4154 lt_cv_prog_gnu_ld
=no
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4159 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4160 with_gnu_ld
=$lt_cv_prog_gnu_ld
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4171 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4172 if test "${lt_cv_path_NM+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$NM"; then
4176 # Let the user override the test.
4179 lt_nm_to_check
="${ac_tool_prefix}nm"
4180 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4181 lt_nm_to_check
="$lt_nm_to_check nm"
4183 for lt_tmp_nm
in $lt_nm_to_check; do
4184 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4185 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4187 test -z "$ac_dir" && ac_dir
=.
4188 tmp_nm
="$ac_dir/$lt_tmp_nm"
4189 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4190 # Check to see if the nm accepts a BSD-compat flag.
4191 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4192 # nm: unknown option "B" ignored
4193 # Tru64's nm complains that /dev/null is an invalid object file
4194 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4195 */dev
/null
* |
*'Invalid file or object type'*)
4196 lt_cv_path_NM
="$tmp_nm -B"
4200 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4202 lt_cv_path_NM
="$tmp_nm -p"
4206 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4207 continue # so that we can try to find one that supports BSD flags
4216 : ${lt_cv_path_NM=no}
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4220 $as_echo "$lt_cv_path_NM" >&6; }
4221 if test "$lt_cv_path_NM" != "no"; then
4224 # Didn't find any BSD compatible name lister, look for dumpbin.
4225 if test -n "$DUMPBIN"; then :
4226 # Let the user override the test.
4228 if test -n "$ac_tool_prefix"; then
4229 for ac_prog
in dumpbin
"link -dump"
4231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234 $as_echo_n "checking for $ac_word... " >&6; }
4235 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4236 $as_echo_n "(cached) " >&6
4238 if test -n "$DUMPBIN"; then
4239 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 DUMPBIN
=$ac_cv_prog_DUMPBIN
4259 if test -n "$DUMPBIN"; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4261 $as_echo "$DUMPBIN" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4268 test -n "$DUMPBIN" && break
4271 if test -z "$DUMPBIN"; then
4272 ac_ct_DUMPBIN
=$DUMPBIN
4273 for ac_prog
in dumpbin
"link -dump"
4275 # Extract the first word of "$ac_prog", so it can be a program name with args.
4276 set dummy
$ac_prog; ac_word
=$2
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278 $as_echo_n "checking for $ac_word... " >&6; }
4279 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4280 $as_echo_n "(cached) " >&6
4282 if test -n "$ac_ct_DUMPBIN"; then
4283 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4289 test -z "$as_dir" && as_dir
=.
4290 for ac_exec_ext
in '' $ac_executable_extensions; do
4291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4292 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4303 if test -n "$ac_ct_DUMPBIN"; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4305 $as_echo "$ac_ct_DUMPBIN" >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308 $as_echo "no" >&6; }
4312 test -n "$ac_ct_DUMPBIN" && break
4315 if test "x$ac_ct_DUMPBIN" = x
; then
4318 case $cross_compiling:$ac_tool_warned in
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4322 ac_tool_warned
=yes ;;
4324 DUMPBIN
=$ac_ct_DUMPBIN
4328 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4330 DUMPBIN
="$DUMPBIN -symbols"
4338 if test "$DUMPBIN" != ":"; then
4342 test -z "$NM" && NM
=nm
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4350 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4351 if test "${lt_cv_nm_interface+set}" = set; then :
4352 $as_echo_n "(cached) " >&6
4354 lt_cv_nm_interface
="BSD nm"
4355 echo "int some_variable = 0;" > conftest.
$ac_ext
4356 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4357 (eval "$ac_compile" 2>conftest.err
)
4358 cat conftest.err
>&5
4359 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4360 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4361 cat conftest.err
>&5
4362 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4363 cat conftest.out
>&5
4364 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4365 lt_cv_nm_interface
="MS dumpbin"
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4370 $as_echo "$lt_cv_nm_interface" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4373 $as_echo_n "checking whether ln -s works... " >&6; }
4375 if test "$LN_S" = "ln -s"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4377 $as_echo "yes" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4380 $as_echo "no, using $LN_S" >&6; }
4383 # find the maximum length of command line arguments
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4385 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4386 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4387 $as_echo_n "(cached) " >&6
4394 # On DJGPP, this test can blow up pretty badly due to problems in libc
4395 # (any single argument exceeding 2000 bytes causes a buffer overrun
4396 # during glob expansion). Even if it were fixed, the result of this
4397 # check would be larger than it should be.
4398 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4402 # Under GNU Hurd, this test is not required because there is
4403 # no limit to the length of command line arguments.
4404 # Libtool will interpret -1 as no limit whatsoever
4405 lt_cv_sys_max_cmd_len
=-1;
4408 cygwin
* | mingw
* | cegcc
*)
4409 # On Win9x/ME, this test blows up -- it succeeds, but takes
4410 # about 5 minutes as the teststring grows exponentially.
4411 # Worse, since 9x/ME are not pre-emptively multitasking,
4412 # you end up with a "frozen" computer, even though with patience
4413 # the test eventually succeeds (with a max line length of 256k).
4414 # Instead, let's just punt: use the minimum linelength reported by
4415 # all of the supported platforms: 8192 (on NT/2K/XP).
4416 lt_cv_sys_max_cmd_len
=8192;
4420 # On MiNT this can take a long time and run out of memory.
4421 lt_cv_sys_max_cmd_len
=8192;
4425 # On AmigaOS with pdksh, this test takes hours, literally.
4426 # So we just punt and use a minimum line length of 8192.
4427 lt_cv_sys_max_cmd_len
=8192;
4430 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4431 # This has been around since 386BSD, at least. Likely further.
4432 if test -x /sbin
/sysctl
; then
4433 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4434 elif test -x /usr
/sbin
/sysctl
; then
4435 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4437 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4439 # And add a safety zone
4440 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4441 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4445 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4446 lt_cv_sys_max_cmd_len
=196608
4450 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4451 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4452 # nice to cause kernel panics so lets avoid the loop below.
4453 # First set a reasonable default.
4454 lt_cv_sys_max_cmd_len
=16384
4456 if test -x /sbin
/sysconfig
; then
4457 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4458 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4463 lt_cv_sys_max_cmd_len
=102400
4465 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4466 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4467 if test -n "$kargmax"; then
4468 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4470 lt_cv_sys_max_cmd_len
=32768
4474 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4475 if test -n "$lt_cv_sys_max_cmd_len"; then
4476 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4477 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4479 # Make teststring a little bigger before we do anything with it.
4480 # a 1K string should be a reasonable start.
4481 for i
in 1 2 3 4 5 6 7 8 ; do
4482 teststring
=$teststring$teststring
4484 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4485 # If test is not a shell built-in, we'll probably end up computing a
4486 # maximum length that is only half of the actual maximum length, but
4488 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4489 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4490 test $i != 17 # 1/2 MB should be enough
4493 teststring
=$teststring$teststring
4495 # Only check the string length outside the loop.
4496 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4498 # Add a significant safety factor because C++ compilers can tack on
4499 # massive amounts of additional arguments before passing them to the
4500 # linker. It appears as though 1/2 is a usable value.
4501 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4508 if test -n $lt_cv_sys_max_cmd_len ; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4510 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4513 $as_echo "none" >&6; }
4515 max_cmd_len
=$lt_cv_sys_max_cmd_len
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4527 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4528 # Try some XSI features
4531 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4533 && eval 'test $(( 1 + 1 )) -eq 2 \
4534 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4537 $as_echo "$xsi_shell" >&6; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4541 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4543 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4545 && lt_shell_append=yes
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4547 $as_echo "$lt_shell_append" >&6; }
4550 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4560 # test EBCDIC or ASCII
4561 case `echo X|tr X '\101'` in
4562 A) # ASCII based system
4563 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4564 lt_SP2NL='tr \040 \012'
4565 lt_NL2SP='tr \015\012 \040\040'
4567 *) # EBCDIC based system
4568 lt_SP2NL='tr \100 \n'
4569 lt_NL2SP='tr \r\n \100\100'
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4582 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4583 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4584 $as_echo_n "(cached
) " >&6
4586 lt_cv_ld_reload_flag='-r'
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4589 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4590 reload_flag=$lt_cv_ld_reload_flag
4591 case $reload_flag in
4593 *) reload_flag=" $reload_flag" ;;
4595 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4598 if test "$GCC" = yes; then
4599 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4601 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4614 if test -n "$ac_tool_prefix"; then
4615 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4616 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4618 $as_echo_n "checking
for $ac_word...
" >&6; }
4619 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4620 $as_echo_n "(cached
) " >&6
4622 if test -n "$OBJDUMP"; then
4623 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir=.
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4632 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4642 OBJDUMP=$ac_cv_prog_OBJDUMP
4643 if test -n "$OBJDUMP"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4645 $as_echo "$OBJDUMP" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4648 $as_echo "no
" >&6; }
4653 if test -z "$ac_cv_prog_OBJDUMP"; then
4654 ac_ct_OBJDUMP=$OBJDUMP
4655 # Extract the first word of "objdump
", so it can be a program name with args.
4656 set dummy objdump; ac_word=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4658 $as_echo_n "checking
for $ac_word...
" >&6; }
4659 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4660 $as_echo_n "(cached
) " >&6
4662 if test -n "$ac_ct_OBJDUMP"; then
4663 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir=.
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4682 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4683 if test -n "$ac_ct_OBJDUMP"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4685 $as_echo "$ac_ct_OBJDUMP" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4688 $as_echo "no
" >&6; }
4691 if test "x
$ac_ct_OBJDUMP" = x; then
4694 case $cross_compiling:$ac_tool_warned in
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4697 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4698 ac_tool_warned=yes ;;
4700 OBJDUMP=$ac_ct_OBJDUMP
4703 OBJDUMP="$ac_cv_prog_OBJDUMP"
4706 test -z "$OBJDUMP" && OBJDUMP=objdump
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4717 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4718 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4719 $as_echo_n "(cached
) " >&6
4721 lt_cv_file_magic_cmd='$MAGIC_CMD'
4722 lt_cv_file_magic_test_file=
4723 lt_cv_deplibs_check_method='unknown'
4724 # Need to set the preceding variable on all platforms that support
4725 # interlibrary dependencies.
4726 # 'none' -- dependencies not supported.
4727 # `unknown' -- same as none, but documents that we really don't know.
4728 # 'pass_all' -- all dependencies passed with no checks.
4729 # 'test_compile' -- check by making test program.
4730 # 'file_magic [[regex]]' -- check by looking for files in library path
4731 # which responds to the $file_magic_cmd with a given extended regex.
4732 # If you have `file' or equivalent on your system and you're not sure
4733 # whether `pass_all' will *always* work, you probably want this one.
4737 lt_cv_deplibs_check_method=pass_all
4741 lt_cv_deplibs_check_method=pass_all
4745 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4746 lt_cv_file_magic_cmd='/usr/bin/file -L'
4747 lt_cv_file_magic_test_file=/shlib/libc.so
4751 # func_win32_libid is a shell function defined in ltmain.sh
4752 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4753 lt_cv_file_magic_cmd='func_win32_libid'
4757 # Base MSYS/MinGW do not provide the 'file' command needed by
4758 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4759 # unless we find 'file', for example because we are cross-compiling.
4760 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4761 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
4762 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4763 lt_cv_file_magic_cmd='func_win32_libid'
4765 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4766 lt_cv_file_magic_cmd='$OBJDUMP -f'
4771 # use the weaker test based on 'objdump'. See mingw*.
4772 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4773 lt_cv_file_magic_cmd='$OBJDUMP -f'
4776 darwin* | rhapsody*)
4777 lt_cv_deplibs_check_method=pass_all
4780 freebsd* | dragonfly*)
4781 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4784 # Not sure whether the presence of OpenBSD here was a mistake.
4785 # Let's accept both of them until this is cleared up.
4786 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4787 lt_cv_file_magic_cmd=/usr/bin/file
4788 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4792 lt_cv_deplibs_check_method=pass_all
4797 lt_cv_deplibs_check_method=pass_all
4801 lt_cv_deplibs_check_method=pass_all
4804 hpux10.20* | hpux11*)
4805 lt_cv_file_magic_cmd=/usr/bin/file
4808 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4809 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4812 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]'
4813 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4816 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4817 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4823 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4824 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4827 irix5* | irix6* | nonstopux*)
4829 *-32|*"-32 ") libmagic=32-bit;;
4830 *-n32|*"-n32 ") libmagic=N32;;
4831 *-64|*"-64 ") libmagic=64-bit;;
4832 *) libmagic=never-match;;
4834 lt_cv_deplibs_check_method=pass_all
4837 # This must be Linux ELF.
4838 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4839 lt_cv_deplibs_check_method=pass_all
4843 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4844 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4846 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4851 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4852 lt_cv_file_magic_cmd=/usr/bin/file
4853 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4857 lt_cv_deplibs_check_method=pass_all
4861 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4862 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4864 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4868 osf3* | osf4* | osf5*)
4869 lt_cv_deplibs_check_method=pass_all
4873 lt_cv_deplibs_check_method=pass_all
4877 lt_cv_deplibs_check_method=pass_all
4880 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4881 lt_cv_deplibs_check_method=pass_all
4885 case $host_vendor in
4887 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]'
4888 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4891 lt_cv_deplibs_check_method=pass_all
4894 lt_cv_file_magic_cmd='/bin/file'
4895 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4898 lt_cv_file_magic_cmd='/bin/file'
4899 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4900 lt_cv_file_magic_test_file=/lib/libc.so
4903 lt_cv_deplibs_check_method=pass_all
4906 lt_cv_deplibs_check_method=pass_all
4912 lt_cv_deplibs_check_method=pass_all
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4918 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4919 file_magic_cmd=$lt_cv_file_magic_cmd
4920 deplibs_check_method=$lt_cv_deplibs_check_method
4921 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4934 if test -n "$ac_tool_prefix"; then
4935 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4936 set dummy ${ac_tool_prefix}ar; ac_word=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4938 $as_echo_n "checking
for $ac_word...
" >&6; }
4939 if test "${ac_cv_prog_AR+set}" = set; then :
4940 $as_echo_n "(cached
) " >&6
4942 if test -n "$AR"; then
4943 ac_cv_prog_AR="$AR" # Let the user override the test.
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952 ac_cv_prog_AR="${ac_tool_prefix}ar"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4963 if test -n "$AR"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
4965 $as_echo "$AR" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4968 $as_echo "no
" >&6; }
4973 if test -z "$ac_cv_prog_AR"; then
4975 # Extract the first word of "ar", so it can be a program name with args.
4976 set dummy ar; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4978 $as_echo_n "checking
for $ac_word...
" >&6; }
4979 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4980 $as_echo_n "(cached
) " >&6
4982 if test -n "$ac_ct_AR"; then
4983 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_ac_ct_AR="ar"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5002 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5003 if test -n "$ac_ct_AR"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5005 $as_echo "$ac_ct_AR" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5008 $as_echo "no
" >&6; }
5011 if test "x
$ac_ct_AR" = x; then
5014 case $cross_compiling:$ac_tool_warned in
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5017 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5018 ac_tool_warned=yes ;;
5026 test -z "$AR" && AR=ar
5027 test -z "$AR_FLAGS" && AR_FLAGS=cru
5039 if test -n "$ac_tool_prefix"; then
5040 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}strip; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5043 $as_echo_n "checking
for $ac_word...
" >&6; }
5044 if test "${ac_cv_prog_STRIP+set}" = set; then :
5045 $as_echo_n "(cached
) " >&6
5047 if test -n "$STRIP"; then
5048 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5067 STRIP=$ac_cv_prog_STRIP
5068 if test -n "$STRIP"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5070 $as_echo "$STRIP" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5073 $as_echo "no
" >&6; }
5078 if test -z "$ac_cv_prog_STRIP"; then
5080 # Extract the first word of "strip
", so it can be a program name with args.
5081 set dummy strip; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5083 $as_echo_n "checking
for $ac_word...
" >&6; }
5084 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5085 $as_echo_n "(cached
) " >&6
5087 if test -n "$ac_ct_STRIP"; then
5088 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_ac_ct_STRIP="strip
"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5107 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5108 if test -n "$ac_ct_STRIP"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5110 $as_echo "$ac_ct_STRIP" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5113 $as_echo "no
" >&6; }
5116 if test "x
$ac_ct_STRIP" = x; then
5119 case $cross_compiling:$ac_tool_warned in
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5122 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5123 ac_tool_warned=yes ;;
5128 STRIP="$ac_cv_prog_STRIP"
5131 test -z "$STRIP" && STRIP=:
5138 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5142 $as_echo_n "checking
for $ac_word...
" >&6; }
5143 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5144 $as_echo_n "(cached
) " >&6
5146 if test -n "$RANLIB"; then
5147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5156 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5166 RANLIB=$ac_cv_prog_RANLIB
5167 if test -n "$RANLIB"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5169 $as_echo "$RANLIB" >&6; }
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5172 $as_echo "no
" >&6; }
5177 if test -z "$ac_cv_prog_RANLIB"; then
5178 ac_ct_RANLIB=$RANLIB
5179 # Extract the first word of "ranlib
", so it can be a program name with args.
5180 set dummy ranlib; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5182 $as_echo_n "checking
for $ac_word...
" >&6; }
5183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5184 $as_echo_n "(cached
) " >&6
5186 if test -n "$ac_ct_RANLIB"; then
5187 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5207 if test -n "$ac_ct_RANLIB"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5209 $as_echo "$ac_ct_RANLIB" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5212 $as_echo "no
" >&6; }
5215 if test "x
$ac_ct_RANLIB" = x; then
5218 case $cross_compiling:$ac_tool_warned in
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5221 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5222 ac_tool_warned=yes ;;
5224 RANLIB=$ac_ct_RANLIB
5227 RANLIB="$ac_cv_prog_RANLIB"
5230 test -z "$RANLIB" && RANLIB=:
5237 # Determine commands to create old-style static archives.
5238 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5239 old_postinstall_cmds='chmod 644 $oldlib'
5240 old_postuninstall_cmds=
5242 if test -n "$RANLIB"; then
5245 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5248 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5251 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5256 lock_old_archive_extraction=yes ;;
5258 lock_old_archive_extraction=no ;;
5281 for ac_prog in gawk mawk nawk awk
5283 # Extract the first word of "$ac_prog", so it can be a program name with args.
5284 set dummy $ac_prog; ac_word=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5286 $as_echo_n "checking
for $ac_word...
" >&6; }
5287 if test "${ac_cv_prog_AWK+set}" = set; then :
5288 $as_echo_n "(cached
) " >&6
5290 if test -n "$AWK"; then
5291 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir=.
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5300 ac_cv_prog_AWK="$ac_prog"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5311 if test -n "$AWK"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
5313 $as_echo "$AWK" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5316 $as_echo "no
" >&6; }
5320 test -n "$AWK" && break
5341 # If no C compiler was specified, use CC.
5344 # If no C compiler flags were specified, use CFLAGS.
5345 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5347 # Allow CC to be a program name with arguments.
5351 # Check for command to grab the raw symbol name followed by C symbol from nm.
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5353 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5354 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5355 $as_echo_n "(cached
) " >&6
5358 # These are sane defaults that work on at least a few old systems.
5359 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5361 # Character class describing NM global symbol codes.
5362 symcode='[BCDEGRST]'
5364 # Regexp to match symbols that can be accessed directly from C.
5365 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5367 # Define system-specific variables.
5372 cygwin* | mingw* | pw32* | cegcc*)
5373 symcode='[ABCDGISTW]'
5376 if test "$host_cpu" = ia64; then
5377 symcode='[ABCDEGRST]'
5381 symcode='[BCDEGRST]'
5384 symcode='[BCDEGQRST]'
5395 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5403 # If we're using GNU nm, then use its standard symbol codes.
5404 case `$NM -V 2>&1` in
5405 *GNU* | *'with BFD'*)
5406 symcode='[ABCDGIRSTW]' ;;
5409 # Transform an extracted symbol line into a proper C declaration.
5410 # Some systems (esp. on ia64) link data and code symbols differently,
5411 # so use this general approach.
5412 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5414 # Transform an extracted symbol line into symbol name and symbol address
5415 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5416 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'"
5418 # Handle CRLF in mingw tool chain
5422 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5426 # Try without a prefix underscore, then with it.
5427 for ac_symprfx in "" "_
"; do
5429 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5430 symxfrm="\\1 $ac_symprfx\\2 \\2"
5432 # Write the raw and C identifiers.
5433 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5434 # Fake it for dumpbin and say T for any non-static function
5435 # and D for any global variable.
5436 # Also find C++ and __fastcall symbols from MSVC++,
5437 # which start with @ or ?.
5438 lt_cv_sys_global_symbol_pipe="$AWK '"\
5439 " {last_section=section; section=\$ 3};"\
5440 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5441 " \$ 0!~/External *\|/{next};"\
5442 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5443 " {if(hide[section]) next};"\
5444 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5445 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5446 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5447 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5448 " ' prfx
=^
$ac_symprfx"
5450 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5453 # Check to see that the pipe works correctly.
5457 cat > conftest.$ac_ext <<_LT_EOF
5462 void nm_test_func(void);
5463 void nm_test_func(void){}
5467 int main(){nm_test_var='a';nm_test_func();return(0);}
5470 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5471 (eval $ac_compile) 2>&5
5473 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5474 test $ac_status = 0; }; then
5475 # Now try to grab the symbols.
5477 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5478 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5480 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5481 test $ac_status = 0; } && test -s "$nlist"; then
5482 # Try sorting and uniquifying the output.
5483 if sort "$nlist" | uniq > "$nlist"T; then
5484 mv -f "$nlist"T "$nlist"
5489 # Make sure that we snagged all the symbols we need.
5490 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5491 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5492 cat <<_LT_EOF > conftest.$ac_ext
5498 # Now generate the symbol file.
5499 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5501 cat <<_LT_EOF >> conftest.$ac_ext
5503 /* The mapping between symbol names and symbols. */
5508 lt__PROGRAM__LTX_preloaded_symbols[] =
5510 { "@PROGRAM@
", (void *) 0 },
5512 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5513 cat <<\_LT_EOF >> conftest.$ac_ext
5517 /* This works around a problem in FreeBSD linker */
5518 #ifdef FREEBSD_WORKAROUND
5519 static const void *lt_preloaded_setup() {
5520 return lt__PROGRAM__LTX_preloaded_symbols;
5528 # Now try linking the two files.
5529 mv conftest.$ac_objext conftstm.$ac_objext
5530 lt_save_LIBS="$LIBS"
5531 lt_save_CFLAGS="$CFLAGS"
5532 LIBS="conftstm.
$ac_objext"
5533 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5534 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5535 (eval $ac_link) 2>&5
5537 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5538 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5541 LIBS="$lt_save_LIBS"
5542 CFLAGS="$lt_save_CFLAGS"
5544 echo "cannot
find nm_test_func
in $nlist" >&5
5547 echo "cannot
find nm_test_var
in $nlist" >&5
5550 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5553 echo "$progname: failed program was
:" >&5
5554 cat conftest.$ac_ext >&5
5556 rm -rf conftest* conftst*
5558 # Do not use the global_symbol_pipe unless it works.
5559 if test "$pipe_works" = yes; then
5562 lt_cv_sys_global_symbol_pipe=
5568 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5569 lt_cv_sys_global_symbol_to_cdecl=
5571 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5573 $as_echo "failed
" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5576 $as_echo "ok
" >&6; }
5600 # Check whether --enable-libtool-lock was given.
5601 if test "${enable_libtool_lock+set}" = set; then :
5602 enableval=$enable_libtool_lock;
5605 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5607 # Some flags need to be propagated to the compiler or linker for good
5611 # Find out which ABI we are using.
5612 echo 'int i;' > conftest.$ac_ext
5613 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5614 (eval $ac_compile) 2>&5
5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5617 test $ac_status = 0; }; then
5618 case `/usr/bin/file conftest.$ac_objext` in
5630 # Find out which ABI we are using.
5631 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5632 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5633 (eval $ac_compile) 2>&5
5635 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5636 test $ac_status = 0; }; then
5637 if test "$lt_cv_prog_gnu_ld" = yes; then
5638 case `/usr/bin/file conftest.$ac_objext` in
5640 LD="${LD-ld} -melf32bsmip"
5643 LD="${LD-ld} -melf32bmipn32"
5646 LD="${LD-ld} -melf64bmip"
5650 case `/usr/bin/file conftest.$ac_objext` in
5666 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
5667 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5668 # Find out which ABI we are using.
5669 echo 'int i;' > conftest.$ac_ext
5670 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5671 (eval $ac_compile) 2>&5
5673 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5674 test $ac_status = 0; }; then
5675 case `/usr/bin/file conftest.o` in
5678 x86_64-*kfreebsd*-gnu)
5679 LD="${LD-ld} -m elf_i386_fbsd
"
5682 case `/usr/bin/file conftest.o` in
5684 LD="${LD-ld} -m elf32_x86_64
"
5687 LD="${LD-ld} -m elf_i386
"
5691 powerpc64le-*linux*)
5692 LD="${LD-ld} -m elf32lppclinux
"
5695 LD="${LD-ld} -m elf32ppclinux
"
5698 LD="${LD-ld} -m elf_s390
"
5701 LD="${LD-ld} -m elf32_sparc
"
5707 x86_64-*kfreebsd*-gnu)
5708 LD="${LD-ld} -m elf_x86_64_fbsd
"
5711 LD="${LD-ld} -m elf_x86_64
"
5714 LD="${LD-ld} -m elf64lppc
"
5717 LD="${LD-ld} -m elf64ppc
"
5719 s390*-*linux*|s390*-*tpf*)
5720 LD="${LD-ld} -m elf64_s390
"
5723 LD="${LD-ld} -m elf64_sparc
"
5733 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5734 SAVE_CFLAGS="$CFLAGS"
5735 CFLAGS="$CFLAGS -belf"
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5737 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5738 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5739 $as_echo_n "(cached
) " >&6
5742 ac_cpp='$CPP $CPPFLAGS'
5743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5758 if ac_fn_c_try_link "$LINENO"; then :
5759 lt_cv_cc_needs_belf=yes
5761 lt_cv_cc_needs_belf=no
5763 rm -f core conftest.err conftest.$ac_objext \
5764 conftest$ac_exeext conftest.$ac_ext
5766 ac_cpp='$CPP $CPPFLAGS'
5767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5773 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5774 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5775 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5776 CFLAGS="$SAVE_CFLAGS"
5780 # Find out which ABI we are using.
5781 echo 'int i;' > conftest.$ac_ext
5782 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5783 (eval $ac_compile) 2>&5
5785 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5786 test $ac_status = 0; }; then
5787 case `/usr/bin/file conftest.o` in
5789 case $lt_cv_prog_gnu_ld in
5790 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5792 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5804 need_locks="$enable_libtool_lock"
5808 rhapsody* | darwin*)
5809 if test -n "$ac_tool_prefix"; then
5810 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5811 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5813 $as_echo_n "checking
for $ac_word...
" >&6; }
5814 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5815 $as_echo_n "(cached
) " >&6
5817 if test -n "$DSYMUTIL"; then
5818 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5837 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5838 if test -n "$DSYMUTIL"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5840 $as_echo "$DSYMUTIL" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5843 $as_echo "no
" >&6; }
5848 if test -z "$ac_cv_prog_DSYMUTIL"; then
5849 ac_ct_DSYMUTIL=$DSYMUTIL
5850 # Extract the first word of "dsymutil
", so it can be a program name with args.
5851 set dummy dsymutil; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5853 $as_echo_n "checking
for $ac_word...
" >&6; }
5854 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5855 $as_echo_n "(cached
) " >&6
5857 if test -n "$ac_ct_DSYMUTIL"; then
5858 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5877 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5878 if test -n "$ac_ct_DSYMUTIL"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
5880 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5883 $as_echo "no
" >&6; }
5886 if test "x
$ac_ct_DSYMUTIL" = x; then
5889 case $cross_compiling:$ac_tool_warned in
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5892 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5893 ac_tool_warned=yes ;;
5895 DSYMUTIL=$ac_ct_DSYMUTIL
5898 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5901 if test -n "$ac_tool_prefix"; then
5902 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5903 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5905 $as_echo_n "checking
for $ac_word...
" >&6; }
5906 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5907 $as_echo_n "(cached
) " >&6
5909 if test -n "$NMEDIT"; then
5910 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5929 NMEDIT=$ac_cv_prog_NMEDIT
5930 if test -n "$NMEDIT"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
5932 $as_echo "$NMEDIT" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5935 $as_echo "no
" >&6; }
5940 if test -z "$ac_cv_prog_NMEDIT"; then
5941 ac_ct_NMEDIT=$NMEDIT
5942 # Extract the first word of "nmedit
", so it can be a program name with args.
5943 set dummy nmedit; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5945 $as_echo_n "checking
for $ac_word...
" >&6; }
5946 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5947 $as_echo_n "(cached
) " >&6
5949 if test -n "$ac_ct_NMEDIT"; then
5950 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5959 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5969 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5970 if test -n "$ac_ct_NMEDIT"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
5972 $as_echo "$ac_ct_NMEDIT" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5975 $as_echo "no
" >&6; }
5978 if test "x
$ac_ct_NMEDIT" = x; then
5981 case $cross_compiling:$ac_tool_warned in
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5984 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5985 ac_tool_warned=yes ;;
5987 NMEDIT=$ac_ct_NMEDIT
5990 NMEDIT="$ac_cv_prog_NMEDIT"
5993 if test -n "$ac_tool_prefix"; then
5994 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5995 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5997 $as_echo_n "checking
for $ac_word...
" >&6; }
5998 if test "${ac_cv_prog_LIPO+set}" = set; then :
5999 $as_echo_n "(cached
) " >&6
6001 if test -n "$LIPO"; then
6002 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6021 LIPO=$ac_cv_prog_LIPO
6022 if test -n "$LIPO"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6024 $as_echo "$LIPO" >&6; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6027 $as_echo "no
" >&6; }
6032 if test -z "$ac_cv_prog_LIPO"; then
6034 # Extract the first word of "lipo
", so it can be a program name with args.
6035 set dummy lipo; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6037 $as_echo_n "checking
for $ac_word...
" >&6; }
6038 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6039 $as_echo_n "(cached
) " >&6
6041 if test -n "$ac_ct_LIPO"; then
6042 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_ac_ct_LIPO="lipo
"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6061 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6062 if test -n "$ac_ct_LIPO"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6064 $as_echo "$ac_ct_LIPO" >&6; }
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6067 $as_echo "no
" >&6; }
6070 if test "x
$ac_ct_LIPO" = x; then
6073 case $cross_compiling:$ac_tool_warned in
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6076 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6077 ac_tool_warned=yes ;;
6082 LIPO="$ac_cv_prog_LIPO"
6085 if test -n "$ac_tool_prefix"; then
6086 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6087 set dummy ${ac_tool_prefix}otool; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6089 $as_echo_n "checking
for $ac_word...
" >&6; }
6090 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6091 $as_echo_n "(cached
) " >&6
6093 if test -n "$OTOOL"; then
6094 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6113 OTOOL=$ac_cv_prog_OTOOL
6114 if test -n "$OTOOL"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6116 $as_echo "$OTOOL" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6119 $as_echo "no
" >&6; }
6124 if test -z "$ac_cv_prog_OTOOL"; then
6126 # Extract the first word of "otool
", so it can be a program name with args.
6127 set dummy otool; ac_word=$2
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6129 $as_echo_n "checking
for $ac_word...
" >&6; }
6130 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6131 $as_echo_n "(cached
) " >&6
6133 if test -n "$ac_ct_OTOOL"; then
6134 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143 ac_cv_prog_ac_ct_OTOOL="otool
"
6144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6153 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6154 if test -n "$ac_ct_OTOOL"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6156 $as_echo "$ac_ct_OTOOL" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6159 $as_echo "no
" >&6; }
6162 if test "x
$ac_ct_OTOOL" = x; then
6165 case $cross_compiling:$ac_tool_warned in
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6168 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6169 ac_tool_warned=yes ;;
6174 OTOOL="$ac_cv_prog_OTOOL"
6177 if test -n "$ac_tool_prefix"; then
6178 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6179 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6181 $as_echo_n "checking
for $ac_word...
" >&6; }
6182 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6183 $as_echo_n "(cached
) " >&6
6185 if test -n "$OTOOL64"; then
6186 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 test -z "$as_dir" && as_dir=.
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6195 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6205 OTOOL64=$ac_cv_prog_OTOOL64
6206 if test -n "$OTOOL64"; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6208 $as_echo "$OTOOL64" >&6; }
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6211 $as_echo "no
" >&6; }
6216 if test -z "$ac_cv_prog_OTOOL64"; then
6217 ac_ct_OTOOL64=$OTOOL64
6218 # Extract the first word of "otool64
", so it can be a program name with args.
6219 set dummy otool64; ac_word=$2
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6221 $as_echo_n "checking
for $ac_word...
" >&6; }
6222 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6223 $as_echo_n "(cached
) " >&6
6225 if test -n "$ac_ct_OTOOL64"; then
6226 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 test -z "$as_dir" && as_dir=.
6233 for ac_exec_ext in '' $ac_executable_extensions; do
6234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6235 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6245 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6246 if test -n "$ac_ct_OTOOL64"; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6248 $as_echo "$ac_ct_OTOOL64" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6251 $as_echo "no
" >&6; }
6254 if test "x
$ac_ct_OTOOL64" = x; then
6257 case $cross_compiling:$ac_tool_warned in
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6260 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6261 ac_tool_warned=yes ;;
6263 OTOOL64=$ac_ct_OTOOL64
6266 OTOOL64="$ac_cv_prog_OTOOL64"
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6296 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6297 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6298 $as_echo_n "(cached
) " >&6
6300 lt_cv_apple_cc_single_mod=no
6301 if test -z "${LT_MULTI_MODULE}"; then
6302 # By default we will add the -single_module flag. You can override
6303 # by either setting the environment variable LT_MULTI_MODULE
6304 # non-empty at configure time, or by adding -multi_module to the
6306 rm -rf libconftest.dylib*
6307 echo "int foo
(void
){return 1;}" > conftest.c
6308 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6309 -dynamiclib -Wl,-single_module conftest.c
" >&5
6310 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6311 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6313 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6314 lt_cv_apple_cc_single_mod=yes
6316 cat conftest.err >&5
6318 rm -rf libconftest.dylib*
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6323 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6325 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6326 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6327 $as_echo_n "(cached
) " >&6
6329 lt_cv_ld_exported_symbols_list=no
6330 save_LDFLAGS=$LDFLAGS
6331 echo "_main
" > conftest.sym
6332 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6344 if ac_fn_c_try_link "$LINENO"; then :
6345 lt_cv_ld_exported_symbols_list=yes
6347 lt_cv_ld_exported_symbols_list=no
6349 rm -f core conftest.err conftest.$ac_objext \
6350 conftest$ac_exeext conftest.$ac_ext
6351 LDFLAGS="$save_LDFLAGS"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6355 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6357 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6358 if test "${lt_cv_ld_force_load+set}" = set; then :
6359 $as_echo_n "(cached
) " >&6
6361 lt_cv_ld_force_load=no
6362 cat > conftest.c << _LT_EOF
6363 int forced_loaded() { return 2;}
6365 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6366 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6367 echo "$AR cru libconftest.a conftest.o
" >&5
6368 $AR cru libconftest.a conftest.o 2>&5
6369 cat > conftest.c << _LT_EOF
6370 int main() { return 0;}
6372 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6373 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6375 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6376 lt_cv_ld_force_load=yes
6378 cat conftest.err >&5
6380 rm -f conftest.err libconftest.a conftest conftest.c
6381 rm -rf conftest.dSYM
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6385 $as_echo "$lt_cv_ld_force_load" >&6; }
6387 rhapsody* | darwin1.[012])
6388 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6390 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6391 darwin*) # darwin 5.x on
6392 # if running on 10.5 or later, the deployment target defaults
6393 # to the OS version, if on x86, and 10.4, the deployment
6394 # target defaults to 10.4. Don't you love it?
6395 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6396 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6397 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6399 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6401 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6405 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6406 _lt_dar_single_mod='$single_module'
6408 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6409 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6411 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6413 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6414 _lt_dsymutil='~$DSYMUTIL $lib || :'
6421 for ac_header in dlfcn.h
6423 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
6425 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
6426 cat >>confdefs.h <<_ACEOF
6427 #define HAVE_DLFCN_H 1
6436 # autoconf.info says this should be called right after AC_INIT.
6437 ac_config_headers="$ac_config_headers cconfig.h
:config.
in"
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian
" >&5
6442 $as_echo_n "checking whether byte ordering is bigendian...
" >&6; }
6443 if test "${ac_cv_c_bigendian+set}" = set; then :
6444 $as_echo_n "(cached
) " >&6
6446 ac_cv_c_bigendian=unknown
6447 # See if we're dealing with a universal compiler.
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #ifndef __APPLE_CC__
6451 not a universal capable compiler
6456 if ac_fn_c_try_compile "$LINENO"; then :
6458 # Check for potential -arch flags. It is not universal unless
6459 # there are at least two -arch flags with different values.
6462 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6463 if test -n "$ac_prev"; then
6465 i?86 | x86_64 | ppc | ppc64)
6466 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
6469 ac_cv_c_bigendian=universal
6475 elif test "x
$ac_word" = "x-arch
"; then
6480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6481 if test $ac_cv_c_bigendian = unknown; then
6482 # See if sys/param.h defines the BYTE_ORDER macro.
6483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6484 /* end confdefs.h. */
6485 #include <sys/types.h>
6486 #include <sys/param.h>
6491 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6492 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6501 if ac_fn_c_try_compile "$LINENO"; then :
6502 # It does; now see whether it defined to BIG_ENDIAN or not.
6503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6505 #include <sys/types.h>
6506 #include <sys/param.h>
6511 #if BYTE_ORDER != BIG_ENDIAN
6519 if ac_fn_c_try_compile "$LINENO"; then :
6520 ac_cv_c_bigendian=yes
6522 ac_cv_c_bigendian=no
6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6528 if test $ac_cv_c_bigendian = unknown; then
6529 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6537 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6545 if ac_fn_c_try_compile "$LINENO"; then :
6546 # It does; now see whether it defined to _BIG_ENDIAN or not.
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6562 if ac_fn_c_try_compile "$LINENO"; then :
6563 ac_cv_c_bigendian=yes
6565 ac_cv_c_bigendian=no
6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6571 if test $ac_cv_c_bigendian = unknown; then
6572 # Compile a test program.
6573 if test "$cross_compiling" = yes; then :
6574 # Try to guess by grepping values from an object file.
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 short int ascii_mm[] =
6578 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6579 short int ascii_ii[] =
6580 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6581 int use_ascii (int i) {
6582 return ascii_mm[i] + ascii_ii[i];
6584 short int ebcdic_ii[] =
6585 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6586 short int ebcdic_mm[] =
6587 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6588 int use_ebcdic (int i) {
6589 return ebcdic_mm[i] + ebcdic_ii[i];
6596 return use_ascii (foo) == use_ebcdic (foo);
6601 if ac_fn_c_try_compile "$LINENO"; then :
6602 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6603 ac_cv_c_bigendian=yes
6605 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6606 if test "$ac_cv_c_bigendian" = unknown; then
6607 ac_cv_c_bigendian=no
6609 # finding both strings is unlikely to happen, but who knows?
6610 ac_cv_c_bigendian=unknown
6614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 $ac_includes_default
6623 /* Are we little or big endian? From Harbison&Steele. */
6627 char c[sizeof (long int)];
6630 return u.c[sizeof (long int) - 1] == 1;
6636 if ac_fn_c_try_run "$LINENO"; then :
6637 ac_cv_c_bigendian=no
6639 ac_cv_c_bigendian=yes
6641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6642 conftest.$ac_objext conftest.beam conftest.$ac_ext
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_bigendian" >&5
6648 $as_echo "$ac_cv_c_bigendian" >&6; }
6649 case $ac_cv_c_bigendian in #(
6651 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6657 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6661 as_fn_error
"unknown endianness
6662 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6668 # Put a plausible default for CC_FOR_BUILD in Makefile.
6669 if test "x$cross_compiling" = "xno"; then
6670 CC_FOR_BUILD
='$(CC)'
6680 if test -n "$ac_tool_prefix"; then
6681 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6682 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6686 $as_echo_n "(cached) " >&6
6688 if test -n "$RANLIB"; then
6689 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6695 test -z "$as_dir" && as_dir
=.
6696 for ac_exec_ext
in '' $ac_executable_extensions; do
6697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6698 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 RANLIB
=$ac_cv_prog_RANLIB
6709 if test -n "$RANLIB"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6711 $as_echo "$RANLIB" >&6; }
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6719 if test -z "$ac_cv_prog_RANLIB"; then
6720 ac_ct_RANLIB
=$RANLIB
6721 # Extract the first word of "ranlib", so it can be a program name with args.
6722 set dummy ranlib
; ac_word
=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 $as_echo_n "checking for $ac_word... " >&6; }
6725 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6726 $as_echo_n "(cached) " >&6
6728 if test -n "$ac_ct_RANLIB"; then
6729 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir
=.
6736 for ac_exec_ext
in '' $ac_executable_extensions; do
6737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6738 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6749 if test -n "$ac_ct_RANLIB"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6751 $as_echo "$ac_ct_RANLIB" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6754 $as_echo "no" >&6; }
6757 if test "x$ac_ct_RANLIB" = x
; then
6760 case $cross_compiling:$ac_tool_warned in
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6764 ac_tool_warned
=yes ;;
6766 RANLIB
=$ac_ct_RANLIB
6769 RANLIB
="$ac_cv_prog_RANLIB"
6773 # Some of the common include files depend on bfd.h, and bfd.h checks
6774 # that config.h is included first by testing that the PACKAGE macro
6778 cat >>confdefs.h
<<_ACEOF
6779 #define PACKAGE "$PACKAGE"
6784 # Dependency checking.
6785 ac_config_commands
="$ac_config_commands depdir"
6788 depcc
="$CC" am_compiler_list
=
6790 am_depcomp
=$ac_aux_dir/depcomp
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6792 $as_echo_n "checking dependency style of $depcc... " >&6; }
6793 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6794 $as_echo_n "(cached) " >&6
6796 if test -f "$am_depcomp"; then
6797 # We make a subdir and do the tests there. Otherwise we can end up
6798 # making bogus files that we don't know about and never remove. For
6799 # instance it was reported that on HP-UX the gcc test will end up
6800 # making a dummy file named `D' -- because `-MD' means `put the output
6803 # Copy depcomp to subdir because otherwise we won't find it if we're
6804 # using a relative directory.
6805 cp "$am_depcomp" conftest.dir
6807 # We will build objects and dependencies in a subdirectory because
6808 # it helps to detect inapplicable dependency modes. For instance
6809 # both Tru64's cc and ICC support -MD to output dependencies as a
6810 # side effect of compilation, but ICC will put the dependencies in
6811 # the current directory while Tru64 will put them in the object
6815 am_cv_CC_dependencies_compiler_type
=none
6816 if test "$am_compiler_list" = ""; then
6817 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6819 for depmode
in $am_compiler_list; do
6820 if test $depmode = none
; then break; fi
6822 $as_echo "$as_me:$LINENO: trying $depmode" >&5
6823 # Setup a source with many dependencies, because some compilers
6824 # like to wrap large dependency lists on column 80 (with \), and
6825 # we should not choose a depcomp mode which is confused by this.
6827 # We need to recreate these files for each test, as the compiler may
6828 # overwrite some of them when testing with obscure command lines.
6829 # This happens at least with the AIX C compiler.
6831 for i
in 1 2 3 4 5 6; do
6832 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6833 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6834 # Solaris 8's {/usr,}/bin/sh.
6835 touch sub
/conftst
$i.h
6837 echo "include sub/conftest.Po" > confmf
6839 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6840 # mode. It turns out that the SunPro C++ compiler does not properly
6841 # handle `-M -o', and we need to detect this.
6842 depcmd
="depmode=$depmode \
6843 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6844 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6845 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
6846 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
6847 if env
$depcmd > conftest.err
2>&1 &&
6848 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
6849 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
6850 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
6851 # icc doesn't choke on unknown options, it will just issue warnings
6852 # or remarks (even with -Werror). So we grep stderr for any message
6853 # that says an option was ignored or not supported.
6854 # When given -MP, icc 7.0 and 7.1 complain thusly:
6855 # icc: Command line warning: ignoring option '-M'; no argument required
6856 # The diagnosis changed in icc 8.0:
6857 # icc: Command line remark: option '-MP' not supported
6858 if (grep 'ignoring option' conftest.err ||
6859 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6860 am_cv_CC_dependencies_compiler_type
=$depmode
6861 $as_echo "$as_me:$LINENO: success" >&5
6865 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
6866 sed -e 's/^/| /' < conftest.err
>&5
6872 am_cv_CC_dependencies_compiler_type
=none
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6877 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6878 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
6879 then as_fn_error
"no usable dependency style found" "$LINENO" 5
6880 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6885 # Check for the 'make' the user wants to use.
6888 # Extract the first word of "$ac_prog", so it can be a program name with args.
6889 set dummy
$ac_prog; ac_word
=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if test "${ac_cv_prog_MAKE+set}" = set; then :
6893 $as_echo_n "(cached) " >&6
6895 if test -n "$MAKE"; then
6896 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
6898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir
=.
6903 for ac_exec_ext
in '' $ac_executable_extensions; do
6904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905 ac_cv_prog_MAKE
="$ac_prog"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915 MAKE
=$ac_cv_prog_MAKE
6916 if test -n "$MAKE"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
6918 $as_echo "$MAKE" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6925 test -n "$MAKE" && break
6929 case "`$MAKE --version 2>&1 | sed 1q`" in
6934 if test "$MAKE_IS_GNU" = yes; then
6944 # If we haven't got the data from the intl directory,
6945 # assume NLS is disabled.
6954 if test -f ..
/..
/intl
/config.intl
; then
6955 . ..
/..
/intl
/config.intl
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6958 $as_echo_n "checking whether NLS is requested... " >&6; }
6959 if test x
"$USE_NLS" != xyes
; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6964 $as_echo "yes" >&6; }
6966 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6970 $as_echo_n "checking for catalogs to be installed... " >&6; }
6971 # Look for .po and .gmo files in the source directory.
6974 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6975 # If there aren't any .gmo files the shell will give us the
6976 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6978 case "$cat" in *\
**)
6981 # The quadruple backslash is collapsed to a double backslash
6982 # by the backticks, then collapsed again by the double quotes,
6983 # leaving us with one backslash in the sed expression (right
6984 # before the dot that mustn't act as a wildcard).
6985 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6986 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
6987 # The user is allowed to set LINGUAS to a list of languages to
6988 # install catalogs for. If it's empty that means "all of them."
6989 if test "x$LINGUAS" = x
; then
6990 CATALOGS
="$CATALOGS $cat"
6991 XLINGUAS
="$XLINGUAS $lang"
6993 case "$LINGUAS" in *$lang*)
6994 CATALOGS
="$CATALOGS $cat"
6995 XLINGUAS
="$XLINGUAS $lang"
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
7002 $as_echo "$LINGUAS" >&6; }
7015 # Check for common headers.
7016 # FIXME: Seems to me this can cause problems for i386-windows hosts.
7017 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
7018 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
7020 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7021 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7022 eval as_val
=\$
$as_ac_Header
7023 if test "x$as_val" = x
""yes; then :
7024 cat >>confdefs.h
<<_ACEOF
7025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7032 for ac_header
in sys
/time.h sys
/resource.h
7034 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7035 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7036 eval as_val
=\$
$as_ac_Header
7037 if test "x$as_val" = x
""yes; then :
7038 cat >>confdefs.h
<<_ACEOF
7039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7046 for ac_header
in fcntl.h fpu_control.h
7048 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7049 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7050 eval as_val
=\$
$as_ac_Header
7051 if test "x$as_val" = x
""yes; then :
7052 cat >>confdefs.h
<<_ACEOF
7053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7060 for ac_header
in dlfcn.h errno.h sys
/stat.h
7062 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7063 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7064 eval as_val
=\$
$as_ac_Header
7065 if test "x$as_val" = x
""yes; then :
7066 cat >>confdefs.h
<<_ACEOF
7067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 for ac_func
in getrusage
time sigaction __setfpucw
7076 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7077 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7078 eval as_val
=\$
$as_ac_var
7079 if test "x$as_val" = x
""yes; then :
7080 cat >>confdefs.h
<<_ACEOF
7081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7088 # Check for socket libraries
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
7090 $as_echo_n "checking for bind in -lsocket... " >&6; }
7091 if test "${ac_cv_lib_socket_bind+set}" = set; then :
7092 $as_echo_n "(cached) " >&6
7094 ac_check_lib_save_LIBS
=$LIBS
7095 LIBS
="-lsocket $LIBS"
7096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h. */
7099 /* Override any GCC internal prototype to avoid an error.
7100 Use char because int might match the return type of a GCC
7101 builtin and then its argument prototype would still apply. */
7114 if ac_fn_c_try_link
"$LINENO"; then :
7115 ac_cv_lib_socket_bind
=yes
7117 ac_cv_lib_socket_bind
=no
7119 rm -f core conftest.err conftest.
$ac_objext \
7120 conftest
$ac_exeext conftest.
$ac_ext
7121 LIBS
=$ac_check_lib_save_LIBS
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
7124 $as_echo "$ac_cv_lib_socket_bind" >&6; }
7125 if test "x$ac_cv_lib_socket_bind" = x
""yes; then :
7126 cat >>confdefs.h
<<_ACEOF
7127 #define HAVE_LIBSOCKET 1
7130 LIBS
="-lsocket $LIBS"
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7135 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7136 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7137 $as_echo_n "(cached) " >&6
7139 ac_check_lib_save_LIBS
=$LIBS
7141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7144 /* Override any GCC internal prototype to avoid an error.
7145 Use char because int might match the return type of a GCC
7146 builtin and then its argument prototype would still apply. */
7150 char gethostbyname ();
7154 return gethostbyname ();
7159 if ac_fn_c_try_link
"$LINENO"; then :
7160 ac_cv_lib_nsl_gethostbyname
=yes
7162 ac_cv_lib_nsl_gethostbyname
=no
7164 rm -f core conftest.err conftest.
$ac_objext \
7165 conftest
$ac_exeext conftest.
$ac_ext
7166 LIBS
=$ac_check_lib_save_LIBS
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7169 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7170 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7171 cat >>confdefs.h
<<_ACEOF
7172 #define HAVE_LIBNSL 1
7180 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
7181 # using the same condition.
7183 # Use the system's zlib library.
7184 zlibdir
="-L\$(top_builddir)/../zlib"
7185 zlibinc
="-I\$(top_srcdir)/../zlib"
7187 # Check whether --with-system-zlib was given.
7188 if test "${with_system_zlib+set}" = set; then :
7189 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
7200 # BFD uses libdl when when plugins enabled.
7203 for ac_header
in dlfcn.h
7205 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7207 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7208 cat >>confdefs.h
<<_ACEOF
7209 #define HAVE_DLFCN_H 1
7216 for ac_header
in windows.h
7218 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
7220 if test "x$ac_cv_header_windows_h" = x
""yes; then :
7221 cat >>confdefs.h
<<_ACEOF
7222 #define HAVE_WINDOWS_H 1
7230 # Check whether --enable-plugins was given.
7231 if test "${enable_plugins+set}" = set; then :
7232 enableval
=$enable_plugins; case "${enableval}" in
7235 if test "$maybe_plugins" != "yes" ; then
7236 as_fn_error
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
7240 plugins
=$maybe_plugins
7244 if test "$plugins" = "yes"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
7246 $as_echo_n "checking for library containing dlopen... " >&6; }
7247 if test "${ac_cv_search_dlopen+set}" = set; then :
7248 $as_echo_n "(cached) " >&6
7250 ac_func_search_save_LIBS
=$LIBS
7251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7252 /* end confdefs.h. */
7254 /* Override any GCC internal prototype to avoid an error.
7255 Use char because int might match the return type of a GCC
7256 builtin and then its argument prototype would still apply. */
7269 for ac_lib
in '' dl
; do
7270 if test -z "$ac_lib"; then
7271 ac_res
="none required"
7274 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7276 if ac_fn_c_try_link
"$LINENO"; then :
7277 ac_cv_search_dlopen
=$ac_res
7279 rm -f core conftest.err conftest.
$ac_objext \
7281 if test "${ac_cv_search_dlopen+set}" = set; then :
7285 if test "${ac_cv_search_dlopen+set}" = set; then :
7288 ac_cv_search_dlopen
=no
7291 LIBS
=$ac_func_search_save_LIBS
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
7294 $as_echo "$ac_cv_search_dlopen" >&6; }
7295 ac_res
=$ac_cv_search_dlopen
7296 if test "$ac_res" != no
; then :
7297 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7303 if test "$plugins" = yes; then
7324 # Check whether --enable-shared was given.
7325 if test "${enable_shared+set}" = set; then :
7326 enableval
=$enable_shared; p
=${PACKAGE-default}
7328 yes) enable_shared
=yes ;;
7329 no
) enable_shared
=no
;;
7332 # Look at the argument we got. We use all the common list separators.
7333 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7334 for pkg
in $enableval; do
7336 if test "X$pkg" = "X$p"; then
7355 # Check whether --enable-static was given.
7356 if test "${enable_static+set}" = set; then :
7357 enableval
=$enable_static; p
=${PACKAGE-default}
7359 yes) enable_static
=yes ;;
7360 no
) enable_static
=no
;;
7363 # Look at the argument we got. We use all the common list separators.
7364 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7365 for pkg
in $enableval; do
7367 if test "X$pkg" = "X$p"; then
7387 # Check whether --with-pic was given.
7388 if test "${with_pic+set}" = set; then :
7389 withval
=$with_pic; pic_mode
="$withval"
7395 test -z "$pic_mode" && pic_mode
=default
7403 # Check whether --enable-fast-install was given.
7404 if test "${enable_fast_install+set}" = set; then :
7405 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7407 yes) enable_fast_install
=yes ;;
7408 no
) enable_fast_install
=no
;;
7410 enable_fast_install
=no
7411 # Look at the argument we got. We use all the common list separators.
7412 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7413 for pkg
in $enableval; do
7415 if test "X$pkg" = "X$p"; then
7416 enable_fast_install
=yes
7423 enable_fast_install
=yes
7436 # This can be used to rebuild libtool when needed
7437 LIBTOOL_DEPS
="$ltmain"
7439 # Always use our own libtool.
7440 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7467 test -z "$LN_S" && LN_S
="ln -s"
7482 if test -n "${ZSH_VERSION+set}" ; then
7483 setopt NO_GLOB_SUBST
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7487 $as_echo_n "checking for objdir... " >&6; }
7488 if test "${lt_cv_objdir+set}" = set; then :
7489 $as_echo_n "(cached) " >&6
7491 rm -f .libs
2>/dev
/null
7492 mkdir .libs
2>/dev
/null
7493 if test -d .libs
; then
7496 # MS-DOS does not allow filenames that begin with a dot.
7499 rmdir .libs
2>/dev
/null
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7502 $as_echo "$lt_cv_objdir" >&6; }
7503 objdir
=$lt_cv_objdir
7509 cat >>confdefs.h
<<_ACEOF
7510 #define LT_OBJDIR "$lt_cv_objdir/"
7518 # AIX sometimes has problems with the GCC collect2 program. For some
7519 # reason, if we set the COLLECT_NAMES environment variable, the problems
7520 # vanish in a puff of smoke.
7521 if test "X${COLLECT_NAMES+set}" != Xset
; then
7523 export COLLECT_NAMES
7530 can_build_shared
=yes
7532 # All known linkers require a `.a' archive for static linking (except MSVC,
7533 # which needs '.lib').
7536 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7539 old_CFLAGS
="$CFLAGS"
7541 # Set sane defaults for various variables
7542 test -z "$CC" && CC
=cc
7543 test -z "$LTCC" && LTCC
=$CC
7544 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7545 test -z "$LD" && LD
=ld
7546 test -z "$ac_objext" && ac_objext
=o
7548 for cc_temp
in $compiler""; do
7550 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7551 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7556 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7559 # Only perform the check for file, if the check method requires it
7560 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7561 case $deplibs_check_method in
7563 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7565 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7566 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7571 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7574 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7575 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7576 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7577 for ac_dir
in $ac_dummy; do
7579 test -z "$ac_dir" && ac_dir
=.
7580 if test -f $ac_dir/${ac_tool_prefix}file; then
7581 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7582 if test -n "$file_magic_test_file"; then
7583 case $deplibs_check_method in
7585 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7586 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7587 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7588 $EGREP "$file_magic_regex" > /dev
/null
; then
7593 *** Warning: the command libtool uses to detect shared libraries,
7594 *** $file_magic_cmd, produces output that libtool cannot recognize.
7595 *** The result is that libtool may fail to recognize shared libraries
7596 *** as such. This will affect the creation of libtool libraries that
7597 *** depend on shared libraries, but programs linked with such libtool
7598 *** libraries will work regardless of this problem. Nevertheless, you
7599 *** may want to report the problem to your system manager and/or to
7600 *** bug-libtool@gnu.org
7610 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7615 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7616 if test -n "$MAGIC_CMD"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7618 $as_echo "$MAGIC_CMD" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7628 if test -z "$lt_cv_path_MAGIC_CMD"; then
7629 if test -n "$ac_tool_prefix"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7631 $as_echo_n "checking for file... " >&6; }
7632 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7633 $as_echo_n "(cached) " >&6
7637 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7640 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7641 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7642 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7643 for ac_dir
in $ac_dummy; do
7645 test -z "$ac_dir" && ac_dir
=.
7646 if test -f $ac_dir/file; then
7647 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7648 if test -n "$file_magic_test_file"; then
7649 case $deplibs_check_method in
7651 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7652 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7653 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7654 $EGREP "$file_magic_regex" > /dev
/null
; then
7659 *** Warning: the command libtool uses to detect shared libraries,
7660 *** $file_magic_cmd, produces output that libtool cannot recognize.
7661 *** The result is that libtool may fail to recognize shared libraries
7662 *** as such. This will affect the creation of libtool libraries that
7663 *** depend on shared libraries, but programs linked with such libtool
7664 *** libraries will work regardless of this problem. Nevertheless, you
7665 *** may want to report the problem to your system manager and/or to
7666 *** bug-libtool@gnu.org
7676 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7681 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7682 if test -n "$MAGIC_CMD"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7684 $as_echo "$MAGIC_CMD" >&6; }
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7700 # Use C for the default configuration in the libtool script
7704 ac_cpp
='$CPP $CPPFLAGS'
7705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7710 # Source file extension for C test sources.
7713 # Object file extension for compiled C test sources.
7717 # Code to be used in simple compile tests
7718 lt_simple_compile_test_code
="int some_variable = 0;"
7720 # Code to be used in simple link tests
7721 lt_simple_link_test_code
='int main(){return(0);}'
7729 # If no C compiler was specified, use CC.
7732 # If no C compiler flags were specified, use CFLAGS.
7733 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7735 # Allow CC to be a program name with arguments.
7738 # Save the default compiler, since it gets overwritten when the other
7739 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7740 compiler_DEFAULT
=$CC
7742 # save warnings/boilerplate of simple test code
7743 ac_outfile
=conftest.
$ac_objext
7744 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7745 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7746 _lt_compiler_boilerplate
=`cat conftest.err`
7749 ac_outfile
=conftest.
$ac_objext
7750 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7751 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7752 _lt_linker_boilerplate
=`cat conftest.err`
7757 ## There is no encapsulation within the following macros, do not change
7758 ## the running order or otherwise move them around unless you know exactly
7759 ## what you are doing...
7760 if test -n "$compiler"; then
7762 lt_prog_compiler_no_builtin_flag
=
7764 if test "$GCC" = yes; then
7765 case $cc_basename in
7767 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7769 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7773 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7774 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7775 $as_echo_n "(cached) " >&6
7777 lt_cv_prog_compiler_rtti_exceptions
=no
7778 ac_outfile
=conftest.
$ac_objext
7779 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7780 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7781 # Insert the option either (1) after the last *FLAGS variable, or
7782 # (2) before a word containing "conftest.", or (3) at the end.
7783 # Note that $ac_compile itself does not contain backslashes and begins
7784 # with a dollar sign (not a hyphen), so the echo should work correctly.
7785 # The option is referenced via a variable to avoid confusing sed.
7786 lt_compile
=`echo "$ac_compile" | $SED \
7787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7789 -e 's:$: $lt_compiler_flag:'`
7790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7791 (eval "$lt_compile" 2>conftest.err
)
7793 cat conftest.err
>&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 if (exit $ac_status) && test -s "$ac_outfile"; then
7796 # The compiler can only warn and ignore the option if not recognized
7797 # So say no if there are warnings other than the usual output.
7798 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7799 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7800 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7801 lt_cv_prog_compiler_rtti_exceptions
=yes
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7808 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7810 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7811 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7823 lt_prog_compiler_wl
=
7824 lt_prog_compiler_pic
=
7825 lt_prog_compiler_static
=
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7828 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7830 if test "$GCC" = yes; then
7831 lt_prog_compiler_wl
='-Wl,'
7832 lt_prog_compiler_static
='-static'
7836 # All AIX code is PIC.
7837 if test "$host_cpu" = ia64
; then
7838 # AIX 5 now supports IA64 processor
7839 lt_prog_compiler_static
='-Bstatic'
7841 lt_prog_compiler_pic
='-fPIC'
7847 # see comment about AmigaOS4 .so support
7848 lt_prog_compiler_pic
='-fPIC'
7851 # FIXME: we need at least 68020 code to build shared libraries, but
7852 # adding the `-m68020' flag to GCC prevents building anything better,
7854 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7859 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7860 # PIC is the default for these OSes.
7863 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7864 # This hack is so that the source file can tell whether it is being
7865 # built for inclusion in a dll (and should export symbols for example).
7866 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7867 # (--disable-auto-import) libraries
7868 lt_prog_compiler_pic
='-DDLL_EXPORT'
7871 darwin
* | rhapsody
*)
7872 # PIC is the default on this platform
7873 # Common symbols not allowed in MH_DYLIB files
7874 lt_prog_compiler_pic
='-fno-common'
7878 # PIC is the default for Haiku.
7879 # The "-static" flag exists, but is broken.
7880 lt_prog_compiler_static
=
7884 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7885 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7886 # sets the default TLS model and affects inlining.
7892 lt_prog_compiler_pic
='-fPIC'
7898 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7899 # Instead, we relocate shared libraries at runtime.
7903 # Just because we use GCC doesn't mean we suddenly get shared libraries
7904 # on systems that don't support them.
7905 lt_prog_compiler_can_build_shared
=no
7910 # QNX uses GNU C++, but need to define -shared option too, otherwise
7912 lt_prog_compiler_pic
='-fPIC -shared'
7916 if test -d /usr
/nec
; then
7917 lt_prog_compiler_pic
=-Kconform_pic
7922 lt_prog_compiler_pic
='-fPIC'
7926 case $cc_basename in
7927 nvcc
*) # Cuda Compiler Driver 2.2
7928 lt_prog_compiler_wl
='-Xlinker '
7929 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7933 # PORTME Check for flag to pass linker flags through the system compiler.
7936 lt_prog_compiler_wl
='-Wl,'
7937 if test "$host_cpu" = ia64
; then
7938 # AIX 5 now supports IA64 processor
7939 lt_prog_compiler_static
='-Bstatic'
7941 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7945 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7946 # This hack is so that the source file can tell whether it is being
7947 # built for inclusion in a dll (and should export symbols for example).
7948 lt_prog_compiler_pic
='-DDLL_EXPORT'
7951 hpux9
* | hpux10
* | hpux11
*)
7952 lt_prog_compiler_wl
='-Wl,'
7953 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7960 lt_prog_compiler_pic
='+Z'
7963 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7964 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7967 irix5
* | irix6
* | nonstopux
*)
7968 lt_prog_compiler_wl
='-Wl,'
7969 # PIC (with -KPIC) is the default.
7970 lt_prog_compiler_static
='-non_shared'
7973 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7974 case $cc_basename in
7975 # old Intel for x86_64 which still supported -KPIC.
7977 lt_prog_compiler_wl
='-Wl,'
7978 lt_prog_compiler_pic
='-KPIC'
7979 lt_prog_compiler_static
='-static'
7981 # icc used to be incompatible with GCC.
7982 # ICC 10 doesn't accept -KPIC any more.
7984 lt_prog_compiler_wl
='-Wl,'
7985 lt_prog_compiler_pic
='-fPIC'
7986 lt_prog_compiler_static
='-static'
7988 # Lahey Fortran 8.1.
7990 lt_prog_compiler_wl
='-Wl,'
7991 lt_prog_compiler_pic
='--shared'
7992 lt_prog_compiler_static
='--static'
7994 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7995 # Portland Group compilers (*not* the Pentium gcc compiler,
7996 # which looks to be a dead project)
7997 lt_prog_compiler_wl
='-Wl,'
7998 lt_prog_compiler_pic
='-fpic'
7999 lt_prog_compiler_static
='-Bstatic'
8002 lt_prog_compiler_wl
='-Wl,'
8003 # All Alpha code is PIC.
8004 lt_prog_compiler_static
='-non_shared'
8006 xl
* | bgxl
* | bgf
* | mpixl
*)
8007 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8008 lt_prog_compiler_wl
='-Wl,'
8009 lt_prog_compiler_pic
='-qpic'
8010 lt_prog_compiler_static
='-qstaticlink'
8013 case `$CC -V 2>&1 | sed 5q` in
8014 *Sun\ F
* |
*Sun
*Fortran
*)
8015 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8016 lt_prog_compiler_pic
='-KPIC'
8017 lt_prog_compiler_static
='-Bstatic'
8018 lt_prog_compiler_wl
=''
8022 lt_prog_compiler_pic
='-KPIC'
8023 lt_prog_compiler_static
='-Bstatic'
8024 lt_prog_compiler_wl
='-Wl,'
8032 lt_prog_compiler_pic
='-KPIC'
8033 lt_prog_compiler_static
='-Bstatic'
8037 # QNX uses GNU C++, but need to define -shared option too, otherwise
8039 lt_prog_compiler_pic
='-fPIC -shared'
8042 osf3
* | osf4
* | osf5
*)
8043 lt_prog_compiler_wl
='-Wl,'
8044 # All OSF/1 code is PIC.
8045 lt_prog_compiler_static
='-non_shared'
8049 lt_prog_compiler_static
='-non_shared'
8053 lt_prog_compiler_pic
='-KPIC'
8054 lt_prog_compiler_static
='-Bstatic'
8055 case $cc_basename in
8057 lt_prog_compiler_wl
='-Qoption ld ';;
8059 lt_prog_compiler_wl
='-Wl,';;
8064 lt_prog_compiler_wl
='-Qoption ld '
8065 lt_prog_compiler_pic
='-PIC'
8066 lt_prog_compiler_static
='-Bstatic'
8069 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8070 lt_prog_compiler_wl
='-Wl,'
8071 lt_prog_compiler_pic
='-KPIC'
8072 lt_prog_compiler_static
='-Bstatic'
8076 if test -d /usr
/nec
;then
8077 lt_prog_compiler_pic
='-Kconform_pic'
8078 lt_prog_compiler_static
='-Bstatic'
8082 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8083 lt_prog_compiler_wl
='-Wl,'
8084 lt_prog_compiler_pic
='-KPIC'
8085 lt_prog_compiler_static
='-Bstatic'
8089 lt_prog_compiler_wl
='-Wl,'
8090 lt_prog_compiler_can_build_shared
=no
8094 lt_prog_compiler_pic
='-pic'
8095 lt_prog_compiler_static
='-Bstatic'
8099 lt_prog_compiler_can_build_shared
=no
8105 # For platforms which do not support PIC, -DPIC is meaningless:
8107 lt_prog_compiler_pic
=
8110 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8114 $as_echo "$lt_prog_compiler_pic" >&6; }
8122 # Check to make sure the PIC flag actually works.
8124 if test -n "$lt_prog_compiler_pic"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8126 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8127 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8128 $as_echo_n "(cached) " >&6
8130 lt_cv_prog_compiler_pic_works
=no
8131 ac_outfile
=conftest.
$ac_objext
8132 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8133 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8134 # Insert the option either (1) after the last *FLAGS variable, or
8135 # (2) before a word containing "conftest.", or (3) at the end.
8136 # Note that $ac_compile itself does not contain backslashes and begins
8137 # with a dollar sign (not a hyphen), so the echo should work correctly.
8138 # The option is referenced via a variable to avoid confusing sed.
8139 lt_compile
=`echo "$ac_compile" | $SED \
8140 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8141 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8142 -e 's:$: $lt_compiler_flag:'`
8143 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8144 (eval "$lt_compile" 2>conftest.err
)
8146 cat conftest.err
>&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 if (exit $ac_status) && test -s "$ac_outfile"; then
8149 # The compiler can only warn and ignore the option if not recognized
8150 # So say no if there are warnings other than the usual output.
8151 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8152 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8153 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8154 lt_cv_prog_compiler_pic_works
=yes
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8161 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8163 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8164 case $lt_prog_compiler_pic in
8166 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8169 lt_prog_compiler_pic
=
8170 lt_prog_compiler_can_build_shared
=no
8181 # Check to make sure the static flag actually works.
8183 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8185 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8186 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8187 $as_echo_n "(cached) " >&6
8189 lt_cv_prog_compiler_static_works
=no
8190 save_LDFLAGS
="$LDFLAGS"
8191 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8192 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8193 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8194 # The linker can only warn and ignore the option if not recognized
8195 # So say no if there are warnings
8196 if test -s conftest.err
; then
8197 # Append any errors to the config.log.
8198 cat conftest.err
1>&5
8199 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8200 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8201 if diff conftest.exp conftest.er2
>/dev
/null
; then
8202 lt_cv_prog_compiler_static_works
=yes
8205 lt_cv_prog_compiler_static_works
=yes
8209 LDFLAGS
="$save_LDFLAGS"
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8213 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8215 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8218 lt_prog_compiler_static
=
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8228 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8229 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8230 $as_echo_n "(cached) " >&6
8232 lt_cv_prog_compiler_c_o
=no
8233 $RM -r conftest
2>/dev
/null
8237 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8239 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8240 # Insert the option either (1) after the last *FLAGS variable, or
8241 # (2) before a word containing "conftest.", or (3) at the end.
8242 # Note that $ac_compile itself does not contain backslashes and begins
8243 # with a dollar sign (not a hyphen), so the echo should work correctly.
8244 lt_compile
=`echo "$ac_compile" | $SED \
8245 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8246 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8247 -e 's:$: $lt_compiler_flag:'`
8248 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8249 (eval "$lt_compile" 2>out
/conftest.err
)
8251 cat out
/conftest.err
>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8255 # The compiler can only warn and ignore the option if not recognized
8256 # So say no if there are warnings
8257 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8258 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8259 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8260 lt_cv_prog_compiler_c_o
=yes
8265 # SGI C++ compiler will create directory out/ii_files/ for
8266 # template instantiation
8267 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8268 $RM out
/* && rmdir out
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8275 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8283 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8284 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8285 $as_echo_n "(cached) " >&6
8287 lt_cv_prog_compiler_c_o
=no
8288 $RM -r conftest
2>/dev
/null
8292 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8294 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8295 # Insert the option either (1) after the last *FLAGS variable, or
8296 # (2) before a word containing "conftest.", or (3) at the end.
8297 # Note that $ac_compile itself does not contain backslashes and begins
8298 # with a dollar sign (not a hyphen), so the echo should work correctly.
8299 lt_compile
=`echo "$ac_compile" | $SED \
8300 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8301 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8302 -e 's:$: $lt_compiler_flag:'`
8303 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8304 (eval "$lt_compile" 2>out
/conftest.err
)
8306 cat out
/conftest.err
>&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8310 # The compiler can only warn and ignore the option if not recognized
8311 # So say no if there are warnings
8312 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8313 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8314 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8315 lt_cv_prog_compiler_c_o
=yes
8320 # SGI C++ compiler will create directory out/ii_files/ for
8321 # template instantiation
8322 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8323 $RM out
/* && rmdir out
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8330 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8335 hard_links
="nottested"
8336 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8337 # do not overwrite the value of need_locks provided by the user
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8339 $as_echo_n "checking if we can lock with hard links... " >&6; }
8342 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8344 ln conftest.a conftest.b
2>&5 || hard_links
=no
8345 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8347 $as_echo "$hard_links" >&6; }
8348 if test "$hard_links" = no
; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8350 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8363 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8366 allow_undefined_flag
=
8367 always_export_symbols
=no
8369 archive_expsym_cmds
=
8370 compiler_needs_object
=no
8371 enable_shared_with_static_runtimes
=no
8372 export_dynamic_flag_spec
=
8373 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8374 hardcode_automatic
=no
8376 hardcode_direct_absolute
=no
8377 hardcode_libdir_flag_spec
=
8378 hardcode_libdir_flag_spec_ld
=
8379 hardcode_libdir_separator
=
8381 hardcode_shlibpath_var
=unsupported
8383 link_all_deplibs
=unknown
8386 old_archive_from_new_cmds
=
8387 old_archive_from_expsyms_cmds
=
8388 thread_safe_flag_spec
=
8389 whole_archive_flag_spec
=
8390 # include_expsyms should be a list of space-separated symbols to be *always*
8391 # included in the symbol list
8393 # exclude_expsyms can be an extended regexp of symbols to exclude
8394 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8395 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8396 # as well as any symbol that contains `d'.
8397 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8398 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8399 # platforms (ab)use it in PIC code, but their linkers get confused if
8400 # the symbol is explicitly referenced. Since portable code cannot
8401 # rely on this symbol name, it's probably fine to never include it in
8402 # preloaded symbol tables.
8403 # Exclude shared library initialization/finalization symbols.
8404 extract_expsyms_cmds
=
8407 cygwin
* | mingw
* | pw32
* | cegcc
*)
8408 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8409 # When not using gcc, we currently assume that we are using
8410 # Microsoft Visual C++.
8411 if test "$GCC" != yes; then
8416 # we just hope/assume this is gcc and not c89 (= MSVC++)
8426 # On some targets, GNU ld is compatible enough with the native linker
8427 # that we're better off using the native interface for both.
8428 lt_use_gnu_ld_interface
=no
8429 if test "$with_gnu_ld" = yes; then
8432 # The AIX port of GNU ld has always aspired to compatibility
8433 # with the native linker. However, as the warning in the GNU ld
8434 # block says, versions before 2.19.5* couldn't really create working
8435 # shared libraries, regardless of the interface used.
8436 case `$LD -v 2>&1` in
8437 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8438 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8439 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8441 lt_use_gnu_ld_interface
=yes
8446 lt_use_gnu_ld_interface
=yes
8451 if test "$lt_use_gnu_ld_interface" = yes; then
8452 # If archive_cmds runs LD, not CC, wlarc should be empty
8455 # Set some defaults for GNU ld with shared library support. These
8456 # are reset later if shared libraries are not supported. Putting them
8457 # here allows them to be overridden if necessary.
8458 runpath_var
=LD_RUN_PATH
8459 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8460 export_dynamic_flag_spec
='${wl}--export-dynamic'
8461 # ancient GNU ld didn't support --whole-archive et. al.
8462 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8463 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8465 whole_archive_flag_spec
=
8467 supports_anon_versioning
=no
8468 case `$LD -v 2>&1` in
8469 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8470 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8471 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8472 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8473 *\
2.11.
*) ;; # other 2.11 versions
8474 *) supports_anon_versioning
=yes ;;
8477 # See if GNU ld supports shared libraries.
8480 # On AIX/PPC, the GNU linker is very broken
8481 if test "$host_cpu" != ia64
; then
8485 *** Warning: the GNU linker, at least up to release 2.19, is reported
8486 *** to be unable to reliably create shared libraries on AIX.
8487 *** Therefore, libtool is disabling shared libraries support. If you
8488 *** really care for shared libraries, you may want to install binutils
8489 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8490 *** You will then need to restart the configuration process.
8499 # see comment about AmigaOS4 .so support
8500 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8501 archive_expsym_cmds
=''
8504 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)'
8505 hardcode_libdir_flag_spec
='-L$libdir'
8506 hardcode_minus_L
=yes
8512 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8513 allow_undefined_flag
=unsupported
8514 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8515 # support --undefined. This deserves some investigation. FIXME
8516 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8522 cygwin
* | mingw
* | pw32
* | cegcc
*)
8523 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8524 # as there is no search path for DLLs.
8525 hardcode_libdir_flag_spec
='-L$libdir'
8526 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8527 allow_undefined_flag
=unsupported
8528 always_export_symbols
=no
8529 enable_shared_with_static_runtimes
=yes
8530 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8532 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8533 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8534 # If the export-symbols file already is a .def file (1st line
8535 # is EXPORTS), use it as is; otherwise, prepend...
8536 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8537 cp $export_symbols $output_objdir/$soname.def;
8539 echo EXPORTS > $output_objdir/$soname.def;
8540 cat $export_symbols >> $output_objdir/$soname.def;
8542 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8549 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8550 link_all_deplibs
=yes
8555 hardcode_shlibpath_var
=no
8556 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8557 export_dynamic_flag_spec
='${wl}-E'
8558 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8559 # Instead, shared libraries are loaded at an image base (0x10000000 by
8560 # default) and relocated if they conflict, which is a slow very memory
8561 # consuming and fragmenting process. To avoid this, we pick a random,
8562 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8563 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8564 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8565 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'
8568 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8570 if test "$host_os" = linux-dietlibc
; then
8571 case $cc_basename in
8572 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8575 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8576 && test "$tmp_diet" = no
8578 tmp_addflag
=' $pic_flag'
8579 tmp_sharedflag
='-shared'
8580 case $cc_basename,$host_cpu in
8581 pgcc
*) # Portland Group C compiler
8582 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'
8583 tmp_addflag
=' $pic_flag'
8585 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8586 # Portland Group f77 and f90 compilers
8587 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'
8588 tmp_addflag
=' $pic_flag -Mnomain' ;;
8589 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8590 tmp_addflag
=' -i_dynamic' ;;
8591 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8592 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8593 ifc
* | ifort
*) # Intel Fortran compiler
8594 tmp_addflag
=' -nofor_main' ;;
8595 lf95
*) # Lahey Fortran 8.1
8596 whole_archive_flag_spec
=
8597 tmp_sharedflag
='--shared' ;;
8598 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8599 tmp_sharedflag
='-qmkshrobj'
8601 nvcc
*) # Cuda Compiler Driver 2.2
8602 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'
8603 compiler_needs_object
=yes
8606 case `$CC -V 2>&1 | sed 5q` in
8607 *Sun\ C
*) # Sun C 5.9
8608 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'
8609 compiler_needs_object
=yes
8610 tmp_sharedflag
='-G' ;;
8611 *Sun\ F
*) # Sun Fortran 8.3
8612 tmp_sharedflag
='-G' ;;
8614 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8616 if test "x$supports_anon_versioning" = xyes
; then
8617 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8618 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8619 echo "local: *; };" >> $output_objdir/$libname.ver~
8620 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8623 case $cc_basename in
8624 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8625 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8626 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8627 hardcode_libdir_flag_spec
=
8628 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8629 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8630 if test "x$supports_anon_versioning" = xyes
; then
8631 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8632 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8633 echo "local: *; };" >> $output_objdir/$libname.ver~
8634 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8644 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8645 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8648 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8649 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8654 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8658 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8659 *** create shared libraries on Solaris systems. Therefore, libtool
8660 *** is disabling shared libraries support. We urge you to upgrade GNU
8661 *** binutils to release 2.9.1 or newer. Another option is to modify
8662 *** your PATH or compiler configuration so that the native linker is
8663 *** used, and then restart.
8666 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8667 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8668 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8674 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8675 case `$LD -v 2>&1` in
8676 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8680 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8681 *** reliably create shared libraries on SCO systems. Therefore, libtool
8682 *** is disabling shared libraries support. We urge you to upgrade GNU
8683 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8684 *** your PATH or compiler configuration so that the native linker is
8685 *** used, and then restart.
8690 # For security reasons, it is highly recommended that you always
8691 # use absolute paths for naming shared libraries, and exclude the
8692 # DT_RUNPATH tag from executables and libraries. But doing so
8693 # requires that you compile everything twice, which is a pain.
8694 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8695 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8696 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8697 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8706 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8709 hardcode_shlibpath_var
=no
8713 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8714 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8715 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8722 if test "$ld_shlibs" = no
; then
8724 hardcode_libdir_flag_spec
=
8725 export_dynamic_flag_spec
=
8726 whole_archive_flag_spec
=
8729 # PORTME fill in a description of your system's linker (not GNU ld)
8732 allow_undefined_flag
=unsupported
8733 always_export_symbols
=yes
8734 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'
8735 # Note: this linker hardcodes the directories in LIBPATH if there
8736 # are no directories specified by -L.
8737 hardcode_minus_L
=yes
8738 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8739 # Neither direct hardcoding nor static linking is supported with a
8741 hardcode_direct
=unsupported
8746 if test "$host_cpu" = ia64
; then
8747 # On IA64, the linker does run time linking by default, so we don't
8748 # have to do anything special.
8749 aix_use_runtimelinking
=no
8750 exp_sym_flag
='-Bexport'
8753 # If we're using GNU nm, then we don't want the "-C" option.
8754 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8755 # Also, AIX nm treats weak defined symbols like other global
8756 # defined symbols, whereas GNU nm marks them as "W".
8757 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8758 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'
8760 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8762 aix_use_runtimelinking
=no
8764 # Test if we are trying to use run time linking or normal
8765 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8766 # need to do runtime linking.
8767 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8768 for ld_flag
in $LDFLAGS; do
8769 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8770 aix_use_runtimelinking
=yes
8777 exp_sym_flag
='-bexport'
8778 no_entry_flag
='-bnoentry'
8781 # When large executables or shared objects are built, AIX ld can
8782 # have problems creating the table of contents. If linking a library
8783 # or program results in "error TOC overflow" add -mminimal-toc to
8784 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8785 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8789 hardcode_direct_absolute
=yes
8790 hardcode_libdir_separator
=':'
8791 link_all_deplibs
=yes
8792 file_list_spec
='${wl}-f,'
8794 if test "$GCC" = yes; then
8795 case $host_os in aix4.
[012]|aix4.
[012].
*)
8796 # We only want to do this on AIX 4.2 and lower, the check
8797 # below for broken collect2 doesn't work under 4.3+
8798 collect2name
=`${CC} -print-prog-name=collect2`
8799 if test -f "$collect2name" &&
8800 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8802 # We have reworked collect2
8805 # We have old collect2
8806 hardcode_direct
=unsupported
8807 # It fails to find uninstalled libraries when the uninstalled
8808 # path is not listed in the libpath. Setting hardcode_minus_L
8809 # to unsupported forces relinking
8810 hardcode_minus_L
=yes
8811 hardcode_libdir_flag_spec
='-L$libdir'
8812 hardcode_libdir_separator
=
8816 shared_flag
='-shared'
8817 if test "$aix_use_runtimelinking" = yes; then
8818 shared_flag
="$shared_flag "'${wl}-G'
8822 if test "$host_cpu" = ia64
; then
8823 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8824 # chokes on -Wl,-G. The following line is correct:
8827 if test "$aix_use_runtimelinking" = yes; then
8828 shared_flag
='${wl}-G'
8830 shared_flag
='${wl}-bM:SRE'
8835 export_dynamic_flag_spec
='${wl}-bexpall'
8836 # It seems that -bexpall does not export symbols beginning with
8837 # underscore (_), so it is better to generate a list of symbols to export.
8838 always_export_symbols
=yes
8839 if test "$aix_use_runtimelinking" = yes; then
8840 # Warning - without using the other runtime loading flags (-brtl),
8841 # -berok will link without error, but may produce a broken library.
8842 allow_undefined_flag
='-berok'
8843 # Determine the default libpath from the value encoded in an
8845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8856 if ac_fn_c_try_link
"$LINENO"; then :
8858 lt_aix_libpath_sed
='
8859 /Import File Strings/,/^$/ {
8865 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8866 # Check for a 64-bit object if we didn't find anything.
8867 if test -z "$aix_libpath"; then
8868 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8871 rm -f core conftest.err conftest.
$ac_objext \
8872 conftest
$ac_exeext conftest.
$ac_ext
8873 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8875 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8876 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"
8878 if test "$host_cpu" = ia64
; then
8879 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8880 allow_undefined_flag
="-z nodefs"
8881 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"
8883 # Determine the default libpath from the value encoded in an
8885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8896 if ac_fn_c_try_link
"$LINENO"; then :
8898 lt_aix_libpath_sed
='
8899 /Import File Strings/,/^$/ {
8905 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8906 # Check for a 64-bit object if we didn't find anything.
8907 if test -z "$aix_libpath"; then
8908 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8911 rm -f core conftest.err conftest.
$ac_objext \
8912 conftest
$ac_exeext conftest.
$ac_ext
8913 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8915 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8916 # Warning - without using the other run time loading flags,
8917 # -berok will link without error, but may produce a broken library.
8918 no_undefined_flag
=' ${wl}-bernotok'
8919 allow_undefined_flag
=' ${wl}-berok'
8920 if test "$with_gnu_ld" = yes; then
8921 # We only use this code for GNU lds that support --whole-archive.
8922 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8924 # Exported symbols can be pulled into shared objects from archives
8925 whole_archive_flag_spec
='$convenience'
8927 archive_cmds_need_lc
=yes
8928 # This is similar to how AIX traditionally builds its shared libraries.
8929 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'
8937 # see comment about AmigaOS4 .so support
8938 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939 archive_expsym_cmds
=''
8942 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)'
8943 hardcode_libdir_flag_spec
='-L$libdir'
8944 hardcode_minus_L
=yes
8950 export_dynamic_flag_spec
=-rdynamic
8953 cygwin
* | mingw
* | pw32
* | cegcc
*)
8954 # When not using gcc, we currently assume that we are using
8955 # Microsoft Visual C++.
8956 # hardcode_libdir_flag_spec is actually meaningless, as there is
8957 # no search path for DLLs.
8958 hardcode_libdir_flag_spec
=' '
8959 allow_undefined_flag
=unsupported
8960 # Tell ltmain to make .lib files, not .a files.
8962 # Tell ltmain to make .dll files, not .so files.
8964 # FIXME: Setting linknames here is a bad hack.
8965 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8966 # The linker will automatically build a .lib file if we build a DLL.
8967 old_archive_from_new_cmds
='true'
8968 # FIXME: Should let the user specify the lib program.
8969 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8970 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8971 enable_shared_with_static_runtimes
=yes
8974 darwin
* | rhapsody
*)
8977 archive_cmds_need_lc
=no
8979 hardcode_automatic
=yes
8980 hardcode_shlibpath_var
=unsupported
8981 if test "$lt_cv_ld_force_load" = "yes"; then
8982 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\"`'
8984 whole_archive_flag_spec
=''
8986 link_all_deplibs
=yes
8987 allow_undefined_flag
="$_lt_dar_allow_undefined"
8988 case $cc_basename in
8989 ifort
*) _lt_dar_can_shared
=yes ;;
8990 *) _lt_dar_can_shared
=$GCC ;;
8992 if test "$_lt_dar_can_shared" = "yes"; then
8993 output_verbose_link_cmd
=func_echo_all
8994 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8995 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8996 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}"
8997 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}"
9006 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9007 hardcode_libdir_flag_spec
='-L$libdir'
9008 hardcode_shlibpath_var
=no
9011 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9012 # support. Future versions do this automatically, but an explicit c++rt0.o
9013 # does not break anything, and helps significantly (at the cost of a little
9016 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9017 hardcode_libdir_flag_spec
='-R$libdir'
9019 hardcode_shlibpath_var
=no
9022 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9024 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9026 hardcode_minus_L
=yes
9027 hardcode_shlibpath_var
=no
9030 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9031 freebsd
* | dragonfly
*)
9032 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9033 hardcode_libdir_flag_spec
='-R$libdir'
9035 hardcode_shlibpath_var
=no
9039 if test "$GCC" = yes; then
9040 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'
9042 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'
9044 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9045 hardcode_libdir_separator
=:
9048 # hardcode_minus_L: Not really in the search PATH,
9049 # but as the default location of the library.
9050 hardcode_minus_L
=yes
9051 export_dynamic_flag_spec
='${wl}-E'
9055 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9056 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9058 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9060 if test "$with_gnu_ld" = no
; then
9061 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9062 hardcode_libdir_flag_spec_ld
='+b $libdir'
9063 hardcode_libdir_separator
=:
9065 hardcode_direct_absolute
=yes
9066 export_dynamic_flag_spec
='${wl}-E'
9067 # hardcode_minus_L: Not really in the search PATH,
9068 # but as the default location of the library.
9069 hardcode_minus_L
=yes
9074 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9077 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9080 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9083 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9089 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9092 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9096 # Older versions of the 11.00 compiler do not understand -b yet
9097 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9099 $as_echo_n "checking if $CC understands -b... " >&6; }
9100 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9101 $as_echo_n "(cached) " >&6
9103 lt_cv_prog_compiler__b
=no
9104 save_LDFLAGS
="$LDFLAGS"
9105 LDFLAGS
="$LDFLAGS -b"
9106 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9107 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9108 # The linker can only warn and ignore the option if not recognized
9109 # So say no if there are warnings
9110 if test -s conftest.err
; then
9111 # Append any errors to the config.log.
9112 cat conftest.err
1>&5
9113 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9114 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9115 if diff conftest.exp conftest.er2
>/dev
/null
; then
9116 lt_cv_prog_compiler__b
=yes
9119 lt_cv_prog_compiler__b
=yes
9123 LDFLAGS
="$save_LDFLAGS"
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9127 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9129 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9130 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9138 if test "$with_gnu_ld" = no
; then
9139 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9140 hardcode_libdir_separator
=:
9145 hardcode_shlibpath_var
=no
9149 hardcode_direct_absolute
=yes
9150 export_dynamic_flag_spec
='${wl}-E'
9152 # hardcode_minus_L: Not really in the search PATH,
9153 # but as the default location of the library.
9154 hardcode_minus_L
=yes
9160 irix5
* | irix6
* | nonstopux
*)
9161 if test "$GCC" = yes; then
9162 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'
9163 # Try to use the -exported_symbol ld option, if it does not
9164 # work, assume that -exports_file does not work either and
9165 # implicitly export all symbols.
9166 save_LDFLAGS
="$LDFLAGS"
9167 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9172 if ac_fn_c_try_link
"$LINENO"; then :
9173 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'
9176 rm -f core conftest.err conftest.
$ac_objext \
9177 conftest
$ac_exeext conftest.
$ac_ext
9178 LDFLAGS
="$save_LDFLAGS"
9180 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'
9181 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'
9183 archive_cmds_need_lc
='no'
9184 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9185 hardcode_libdir_separator
=:
9187 link_all_deplibs
=yes
9191 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9192 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9194 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9196 hardcode_libdir_flag_spec
='-R$libdir'
9198 hardcode_shlibpath_var
=no
9202 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9204 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9205 hardcode_libdir_separator
=:
9206 hardcode_shlibpath_var
=no
9213 if test -f /usr
/libexec
/ld.so
; then
9215 hardcode_shlibpath_var
=no
9216 hardcode_direct_absolute
=yes
9217 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9218 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9219 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9220 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9221 export_dynamic_flag_spec
='${wl}-E'
9224 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9225 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9226 hardcode_libdir_flag_spec
='-R$libdir'
9229 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9230 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9240 hardcode_libdir_flag_spec
='-L$libdir'
9241 hardcode_minus_L
=yes
9242 allow_undefined_flag
=unsupported
9243 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'
9244 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9248 if test "$GCC" = yes; then
9249 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9250 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'
9252 allow_undefined_flag
=' -expect_unresolved \*'
9253 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'
9255 archive_cmds_need_lc
='no'
9256 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9257 hardcode_libdir_separator
=:
9260 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9261 if test "$GCC" = yes; then
9262 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9263 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'
9264 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9266 allow_undefined_flag
=' -expect_unresolved \*'
9267 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'
9268 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~
9269 $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'
9271 # Both c and cxx compiler support -rpath directly
9272 hardcode_libdir_flag_spec
='-rpath $libdir'
9274 archive_cmds_need_lc
='no'
9275 hardcode_libdir_separator
=:
9279 no_undefined_flag
=' -z defs'
9280 if test "$GCC" = yes; then
9282 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9283 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9284 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9286 case `$CC -V 2>&1` in
9289 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9290 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9291 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9295 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9296 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9297 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9301 hardcode_libdir_flag_spec
='-R$libdir'
9302 hardcode_shlibpath_var
=no
9304 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9306 # The compiler driver will combine and reorder linker options,
9307 # but understands `-z linker_flag'. GCC discards it without `$wl',
9308 # but is careful enough not to reorder.
9309 # Supported since Solaris 2.6 (maybe 2.5.1?)
9310 if test "$GCC" = yes; then
9311 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9313 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9317 link_all_deplibs
=yes
9321 if test "x$host_vendor" = xsequent
; then
9322 # Use $CC to link under sequent, because it throws in some extra .o
9323 # files that make .init and .fini sections work.
9324 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9326 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9328 hardcode_libdir_flag_spec
='-L$libdir'
9330 hardcode_minus_L
=yes
9331 hardcode_shlibpath_var
=no
9335 case $host_vendor in
9337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9338 hardcode_direct
=yes # is this really true???
9341 ## LD is ld it makes a PLAMLIB
9342 ## CC just makes a GrossModule.
9343 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9344 reload_cmds
='$CC -r -o $output$reload_objs'
9348 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9352 runpath_var
='LD_RUN_PATH'
9353 hardcode_shlibpath_var
=no
9357 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9358 hardcode_shlibpath_var
=no
9359 export_dynamic_flag_spec
='-Bexport'
9363 if test -d /usr
/nec
; then
9364 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9365 hardcode_shlibpath_var
=no
9366 runpath_var
=LD_RUN_PATH
9367 hardcode_runpath_var
=yes
9372 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9373 no_undefined_flag
='${wl}-z,text'
9374 archive_cmds_need_lc
=no
9375 hardcode_shlibpath_var
=no
9376 runpath_var
='LD_RUN_PATH'
9378 if test "$GCC" = yes; then
9379 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9380 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9387 sysv5
* | sco3.2v5
* | sco5v6
*)
9388 # Note: We can NOT use -z defs as we might desire, because we do not
9389 # link with -lc, and that would cause any symbols used from libc to
9390 # always be unresolved, which means just about no library would
9391 # ever link correctly. If we're not using GNU ld we use -z text
9392 # though, which does catch some bad symbols but isn't as heavy-handed
9394 no_undefined_flag
='${wl}-z,text'
9395 allow_undefined_flag
='${wl}-z,nodefs'
9396 archive_cmds_need_lc
=no
9397 hardcode_shlibpath_var
=no
9398 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9399 hardcode_libdir_separator
=':'
9400 link_all_deplibs
=yes
9401 export_dynamic_flag_spec
='${wl}-Bexport'
9402 runpath_var
='LD_RUN_PATH'
9404 if test "$GCC" = yes; then
9405 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9406 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9409 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9414 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_libdir_flag_spec
='-L$libdir'
9416 hardcode_shlibpath_var
=no
9424 if test x
$host_vendor = xsni
; then
9426 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9427 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9434 $as_echo "$ld_shlibs" >&6; }
9435 test "$ld_shlibs" = no
&& can_build_shared
=no
9437 with_gnu_ld
=$with_gnu_ld
9454 # Do we need to explicitly link libc?
9456 case "x$archive_cmds_need_lc" in
9458 # Assume -lc should be added
9459 archive_cmds_need_lc
=yes
9461 if test "$enable_shared" = yes && test "$GCC" = yes; then
9462 case $archive_cmds in
9464 # FIXME: we may have to deal with multi-command sequences.
9467 # Test whether the compiler implicitly links with -lc since on some
9468 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9469 # to ld, don't add -lc before -lgcc.
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9471 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9472 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9473 $as_echo_n "(cached) " >&6
9476 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9479 (eval $ac_compile) 2>&5
9481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9482 test $ac_status = 0; } 2>conftest.err
; then
9485 libobjs
=conftest.
$ac_objext
9487 wl
=$lt_prog_compiler_wl
9488 pic_flag
=$lt_prog_compiler_pic
9494 lt_save_allow_undefined_flag
=$allow_undefined_flag
9495 allow_undefined_flag
=
9496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9497 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9500 test $ac_status = 0; }
9502 lt_cv_archive_cmds_need_lc
=no
9504 lt_cv_archive_cmds_need_lc
=yes
9506 allow_undefined_flag
=$lt_save_allow_undefined_flag
9508 cat conftest.err
1>&5
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9514 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9515 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9679 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9681 if test "$GCC" = yes; then
9683 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9684 *) lt_awk_arg
="/^libraries:/" ;;
9687 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9688 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9690 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9691 case $lt_search_path_spec in
9693 # if the path contains ";" then we assume it to be the separator
9694 # otherwise default to the standard path separator (i.e. ":") - it is
9695 # assumed that no part of a normal pathname contains ";" but that should
9696 # okay in the real world where ";" in dirpaths is itself problematic.
9697 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9700 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9703 # Ok, now we have the path, separated by spaces, we can step through it
9704 # and add multilib dir if necessary.
9705 lt_tmp_lt_search_path_spec
=
9706 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9707 for lt_sys_path
in $lt_search_path_spec; do
9708 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9709 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9711 test -d "$lt_sys_path" && \
9712 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9715 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9716 BEGIN {RS=" "; FS="/|\n";} {
9719 for (lt_i = NF; lt_i > 0; lt_i--) {
9720 if ($lt_i != "" && $lt_i != ".") {
9721 if ($lt_i == "..") {
9724 if (lt_count == 0) {
9725 lt_foo="/" $lt_i lt_foo;
9732 if (lt_foo != "") { lt_freq[lt_foo]++; }
9733 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9735 # AWK program above erroneously prepends '/' to C:/dos/paths
9738 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9739 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9741 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9743 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9746 libname_spec
='lib$name'
9754 shlibpath_overrides_runpath
=unknown
9756 dynamic_linker
="$host_os ld.so"
9757 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9758 need_lib_prefix
=unknown
9759 hardcode_into_libs
=no
9761 # when you set need_version to no, make sure it does not cause -set_version
9762 # flags to be left without arguments
9763 need_version
=unknown
9768 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9769 shlibpath_var
=LIBPATH
9771 # AIX 3 has no versioning support, so we append a major version to the name.
9772 soname_spec
='${libname}${release}${shared_ext}$major'
9779 hardcode_into_libs
=yes
9780 if test "$host_cpu" = ia64
; then
9781 # AIX 5 supports IA64
9782 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9783 shlibpath_var
=LD_LIBRARY_PATH
9785 # With GCC up to 2.95.x, collect2 would create an import file
9786 # for dependence libraries. The import file would start with
9787 # the line `#! .'. This would cause the generated library to
9788 # depend on `.', always an invalid library. This was fixed in
9789 # development snapshots of GCC prior to 3.0.
9791 aix4 | aix4.
[01] | aix4.
[01].
*)
9792 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9794 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9801 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9802 # soname into executable. Probably we can add versioning support to
9803 # collect2, so additional links can be useful in future.
9804 if test "$aix_use_runtimelinking" = yes; then
9805 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9806 # instead of lib<name>.a to let people know that these are not
9807 # typical AIX shared libraries.
9808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9810 # We preserve .a as extension for shared libraries through AIX4.2
9811 # and later when we are not doing run time linking.
9812 library_names_spec
='${libname}${release}.a $libname.a'
9813 soname_spec
='${libname}${release}${shared_ext}$major'
9815 shlibpath_var
=LIBPATH
9822 # Since July 2007 AmigaOS4 officially supports .so libraries.
9823 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9827 library_names_spec
='$libname.ixlibrary $libname.a'
9828 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9829 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'
9835 library_names_spec
='${libname}${shared_ext}'
9836 dynamic_linker
="$host_os ld.so"
9837 shlibpath_var
=LIBRARY_PATH
9843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844 soname_spec
='${libname}${release}${shared_ext}$major'
9845 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9846 shlibpath_var
=LD_LIBRARY_PATH
9847 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9848 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9849 # the default ld.so.conf also contains /usr/contrib/lib and
9850 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9851 # libtool to hard-code these into programs
9854 cygwin
* | mingw
* | pw32
* | cegcc
*)
9855 version_type
=windows
9860 case $GCC,$host_os in
9861 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9862 library_names_spec
='$libname.dll.a'
9863 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9864 postinstall_cmds
='base_file=`basename \${file}`~
9865 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9866 dldir=$destdir/`dirname \$dlpath`~
9867 test -d \$dldir || mkdir -p \$dldir~
9868 $install_prog $dir/$dlname \$dldir/$dlname~
9869 chmod a+x \$dldir/$dlname~
9870 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9871 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9873 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9874 dlpath=$dir/\$dldll~
9876 shlibpath_overrides_runpath
=yes
9880 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9881 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9883 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9886 # MinGW DLLs use traditional 'lib' prefix
9887 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9890 # pw32 DLLs use 'pw' prefix rather than 'lib'
9891 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9897 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9900 dynamic_linker
='Win32 ld.exe'
9901 # FIXME: first we should search . and the directory the executable is in
9905 darwin
* | rhapsody
*)
9906 dynamic_linker
="$host_os dyld"
9910 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9911 soname_spec
='${libname}${release}${major}$shared_ext'
9912 shlibpath_overrides_runpath
=yes
9913 shlibpath_var
=DYLD_LIBRARY_PATH
9914 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9916 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9917 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9925 soname_spec
='${libname}${release}${shared_ext}$major'
9926 shlibpath_var
=LD_LIBRARY_PATH
9929 freebsd
* | dragonfly
*)
9930 # DragonFly does not have aout. When/if they implement a new
9931 # versioning mechanism, adjust this.
9932 if test -x /usr
/bin
/objformat
; then
9933 objformat
=`/usr/bin/objformat`
9936 freebsd
[23].
*) objformat
=aout
;;
9940 version_type
=freebsd-
$objformat
9941 case $version_type in
9943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9948 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9952 shlibpath_var
=LD_LIBRARY_PATH
9955 shlibpath_overrides_runpath
=yes
9957 freebsd3.
[01]* | freebsdelf3.
[01]*)
9958 shlibpath_overrides_runpath
=yes
9959 hardcode_into_libs
=yes
9961 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9962 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9963 shlibpath_overrides_runpath
=no
9964 hardcode_into_libs
=yes
9966 *) # from 4.6 on, and DragonFly
9967 shlibpath_overrides_runpath
=yes
9968 hardcode_into_libs
=yes
9977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9978 soname_spec
='${libname}${release}${shared_ext}$major'
9979 shlibpath_var
=LD_LIBRARY_PATH
9980 hardcode_into_libs
=yes
9987 dynamic_linker
="$host_os runtime_loader"
9988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9989 soname_spec
='${libname}${release}${shared_ext}$major'
9990 shlibpath_var
=LIBRARY_PATH
9991 shlibpath_overrides_runpath
=yes
9992 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9993 hardcode_into_libs
=yes
9996 hpux9
* | hpux10
* | hpux11
*)
9997 # Give a soname corresponding to the major version so that dld.sl refuses to
9998 # link against other versions.
10005 hardcode_into_libs
=yes
10006 dynamic_linker
="$host_os dld.so"
10007 shlibpath_var
=LD_LIBRARY_PATH
10008 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10010 soname_spec
='${libname}${release}${shared_ext}$major'
10011 if test "X$HPUX_IA64_MODE" = X32
; then
10012 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10014 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10016 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10020 hardcode_into_libs
=yes
10021 dynamic_linker
="$host_os dld.sl"
10022 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10023 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10025 soname_spec
='${libname}${release}${shared_ext}$major'
10026 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10027 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10031 dynamic_linker
="$host_os dld.sl"
10032 shlibpath_var
=SHLIB_PATH
10033 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10035 soname_spec
='${libname}${release}${shared_ext}$major'
10038 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10039 postinstall_cmds
='chmod 555 $lib'
10040 # or fails outright, so override atomically:
10041 install_override_mode
=555
10048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10049 soname_spec
='${libname}${release}${shared_ext}$major'
10050 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10051 shlibpath_var
=LD_LIBRARY_PATH
10052 shlibpath_overrides_runpath
=no
10053 hardcode_into_libs
=yes
10056 irix5
* | irix6
* | nonstopux
*)
10058 nonstopux
*) version_type
=nonstopux
;;
10060 if test "$lt_cv_prog_gnu_ld" = yes; then
10068 soname_spec
='${libname}${release}${shared_ext}$major'
10069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10071 irix5
* | nonstopux
*)
10072 libsuff
= shlibsuff
=
10075 case $LD in # libtool.m4 will add one of these switches to LD
10076 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10077 libsuff
= shlibsuff
= libmagic
=32-bit;;
10078 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10079 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10080 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10081 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10082 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10086 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10087 shlibpath_overrides_runpath
=no
10088 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10089 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10090 hardcode_into_libs
=yes
10093 # No shared lib support for Linux oldld, aout, or coff.
10094 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10098 # This must be Linux ELF.
10099 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10104 soname_spec
='${libname}${release}${shared_ext}$major'
10105 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10106 shlibpath_var
=LD_LIBRARY_PATH
10107 shlibpath_overrides_runpath
=no
10109 # Some binutils ld are patched to set DT_RUNPATH
10110 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10111 $as_echo_n "(cached) " >&6
10113 lt_cv_shlibpath_overrides_runpath
=no
10114 save_LDFLAGS
=$LDFLAGS
10115 save_libdir
=$libdir
10116 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10117 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10129 if ac_fn_c_try_link
"$LINENO"; then :
10130 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10131 lt_cv_shlibpath_overrides_runpath
=yes
10134 rm -f core conftest.err conftest.
$ac_objext \
10135 conftest
$ac_exeext conftest.
$ac_ext
10136 LDFLAGS
=$save_LDFLAGS
10137 libdir
=$save_libdir
10141 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10143 # This implies no fast_install, which is unacceptable.
10144 # Some rework will be needed to allow for fast_install
10145 # before this can be enabled.
10146 hardcode_into_libs
=yes
10148 # Append ld.so.conf contents to the search path
10149 if test -f /etc
/ld.so.conf
; then
10150 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' ' '`
10151 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10154 # We used to test for /lib/ld.so.1 and disable shared libraries on
10155 # powerpc, because MkLinux only supported shared libraries with the
10156 # GNU dynamic linker. Since this was broken with cross compilers,
10157 # most powerpc-linux boxes support dynamic linking these days and
10158 # people can always --disable-shared, the test was removed, and we
10159 # assume the GNU/Linux dynamic linker is in use.
10160 dynamic_linker
='GNU/Linux ld.so'
10167 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10170 dynamic_linker
='NetBSD (a.out) ld.so'
10172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10173 soname_spec
='${libname}${release}${shared_ext}$major'
10174 dynamic_linker
='NetBSD ld.elf_so'
10176 shlibpath_var
=LD_LIBRARY_PATH
10177 shlibpath_overrides_runpath
=yes
10178 hardcode_into_libs
=yes
10183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10184 shlibpath_var
=LD_LIBRARY_PATH
10185 shlibpath_overrides_runpath
=yes
10192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10193 soname_spec
='${libname}${release}${shared_ext}$major'
10194 shlibpath_var
=LD_LIBRARY_PATH
10195 shlibpath_overrides_runpath
=no
10196 hardcode_into_libs
=yes
10197 dynamic_linker
='ldqnx.so'
10202 sys_lib_dlsearch_path_spec
="/usr/lib"
10204 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10206 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10207 *) need_version
=no
;;
10209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10210 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10211 shlibpath_var
=LD_LIBRARY_PATH
10212 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10214 openbsd2.
[89] | openbsd2.
[89].
*)
10215 shlibpath_overrides_runpath
=no
10218 shlibpath_overrides_runpath
=yes
10222 shlibpath_overrides_runpath
=yes
10227 libname_spec
='$name'
10230 library_names_spec
='$libname${shared_ext} $libname.a'
10231 dynamic_linker
='OS/2 ld.exe'
10232 shlibpath_var
=LIBPATH
10235 osf3
* | osf4
* | osf5
*)
10239 soname_spec
='${libname}${release}${shared_ext}$major'
10240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10241 shlibpath_var
=LD_LIBRARY_PATH
10242 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10243 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10255 soname_spec
='${libname}${release}${shared_ext}$major'
10256 shlibpath_var
=LD_LIBRARY_PATH
10257 shlibpath_overrides_runpath
=yes
10258 hardcode_into_libs
=yes
10259 # ldd complains unless libraries are executable
10260 postinstall_cmds
='chmod +x $lib'
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10266 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10267 shlibpath_var
=LD_LIBRARY_PATH
10268 shlibpath_overrides_runpath
=yes
10269 if test "$with_gnu_ld" = yes; then
10277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10278 soname_spec
='${libname}${release}${shared_ext}$major'
10279 shlibpath_var
=LD_LIBRARY_PATH
10280 case $host_vendor in
10282 shlibpath_overrides_runpath
=no
10284 runpath_var
=LD_RUN_PATH
10292 shlibpath_overrides_runpath
=no
10293 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10299 if test -d /usr
/nec
;then
10301 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10302 soname_spec
='$libname${shared_ext}.$major'
10303 shlibpath_var
=LD_LIBRARY_PATH
10307 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10308 version_type
=freebsd-elf
10311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10312 soname_spec
='${libname}${release}${shared_ext}$major'
10313 shlibpath_var
=LD_LIBRARY_PATH
10314 shlibpath_overrides_runpath
=yes
10315 hardcode_into_libs
=yes
10316 if test "$with_gnu_ld" = yes; then
10317 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10319 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10322 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10326 sys_lib_dlsearch_path_spec
='/usr/lib'
10330 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335 shlibpath_var
=LD_LIBRARY_PATH
10336 shlibpath_overrides_runpath
=no
10337 hardcode_into_libs
=yes
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec
='${libname}${release}${shared_ext}$major'
10344 shlibpath_var
=LD_LIBRARY_PATH
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10352 $as_echo "$dynamic_linker" >&6; }
10353 test "$dynamic_linker" = no
&& can_build_shared
=no
10355 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10356 if test "$GCC" = yes; then
10357 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10360 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10361 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10363 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10364 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10459 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10461 if test -n "$hardcode_libdir_flag_spec" ||
10462 test -n "$runpath_var" ||
10463 test "X$hardcode_automatic" = "Xyes" ; then
10465 # We can hardcode non-existent directories.
10466 if test "$hardcode_direct" != no
&&
10467 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10468 # have to relink, otherwise we might link with an installed library
10469 # when we should be linking with a yet-to-be-installed one
10470 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10471 test "$hardcode_minus_L" != no
; then
10472 # Linking always hardcodes the temporary library directory.
10473 hardcode_action
=relink
10475 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10476 hardcode_action
=immediate
10479 # We cannot hardcode anything, or else we can only hardcode existing
10481 hardcode_action
=unsupported
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10484 $as_echo "$hardcode_action" >&6; }
10486 if test "$hardcode_action" = relink ||
10487 test "$inherit_rpath" = yes; then
10488 # Fast installation is not supported
10489 enable_fast_install
=no
10490 elif test "$shlibpath_overrides_runpath" = yes ||
10491 test "$enable_shared" = no
; then
10492 # Fast installation is not necessary
10493 enable_fast_install
=needless
10501 if test "x$enable_dlopen" != xyes
; then
10502 enable_dlopen
=unknown
10503 enable_dlopen_self
=unknown
10504 enable_dlopen_self_static
=unknown
10511 lt_cv_dlopen
="load_add_on"
10513 lt_cv_dlopen_self
=yes
10516 mingw
* | pw32
* | cegcc
*)
10517 lt_cv_dlopen
="LoadLibrary"
10522 lt_cv_dlopen
="dlopen"
10527 # if libdl is installed we need to link against it
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10529 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10530 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10531 $as_echo_n "(cached) " >&6
10533 ac_check_lib_save_LIBS
=$LIBS
10535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10553 if ac_fn_c_try_link
"$LINENO"; then :
10554 ac_cv_lib_dl_dlopen
=yes
10556 ac_cv_lib_dl_dlopen
=no
10558 rm -f core conftest.err conftest.
$ac_objext \
10559 conftest
$ac_exeext conftest.
$ac_ext
10560 LIBS
=$ac_check_lib_save_LIBS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10563 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10564 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10565 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10568 lt_cv_dlopen
="dyld"
10570 lt_cv_dlopen_self
=yes
10577 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10578 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10579 lt_cv_dlopen
="shl_load"
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10582 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10583 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10584 $as_echo_n "(cached) " >&6
10586 ac_check_lib_save_LIBS
=$LIBS
10588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10591 /* Override any GCC internal prototype to avoid an error.
10592 Use char because int might match the return type of a GCC
10593 builtin and then its argument prototype would still apply. */
10601 return shl_load ();
10606 if ac_fn_c_try_link
"$LINENO"; then :
10607 ac_cv_lib_dld_shl_load
=yes
10609 ac_cv_lib_dld_shl_load
=no
10611 rm -f core conftest.err conftest.
$ac_objext \
10612 conftest
$ac_exeext conftest.
$ac_ext
10613 LIBS
=$ac_check_lib_save_LIBS
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10616 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10617 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10618 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10620 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10621 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10622 lt_cv_dlopen
="dlopen"
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10625 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10626 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10627 $as_echo_n "(cached) " >&6
10629 ac_check_lib_save_LIBS
=$LIBS
10631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10634 /* Override any GCC internal prototype to avoid an error.
10635 Use char because int might match the return type of a GCC
10636 builtin and then its argument prototype would still apply. */
10649 if ac_fn_c_try_link
"$LINENO"; then :
10650 ac_cv_lib_dl_dlopen
=yes
10652 ac_cv_lib_dl_dlopen
=no
10654 rm -f core conftest.err conftest.
$ac_objext \
10655 conftest
$ac_exeext conftest.
$ac_ext
10656 LIBS
=$ac_check_lib_save_LIBS
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10659 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10660 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10661 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10664 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10665 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10666 $as_echo_n "(cached) " >&6
10668 ac_check_lib_save_LIBS
=$LIBS
10669 LIBS
="-lsvld $LIBS"
10670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10688 if ac_fn_c_try_link
"$LINENO"; then :
10689 ac_cv_lib_svld_dlopen
=yes
10691 ac_cv_lib_svld_dlopen
=no
10693 rm -f core conftest.err conftest.
$ac_objext \
10694 conftest
$ac_exeext conftest.
$ac_ext
10695 LIBS
=$ac_check_lib_save_LIBS
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10698 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10699 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10700 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10703 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10704 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10722 return dld_link ();
10727 if ac_fn_c_try_link
"$LINENO"; then :
10728 ac_cv_lib_dld_dld_link
=yes
10730 ac_cv_lib_dld_dld_link
=no
10732 rm -f core conftest.err conftest.
$ac_objext \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10737 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10738 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10739 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10760 if test "x$lt_cv_dlopen" != xno
; then
10766 case $lt_cv_dlopen in
10768 save_CPPFLAGS
="$CPPFLAGS"
10769 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10771 save_LDFLAGS
="$LDFLAGS"
10772 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10775 LIBS
="$lt_cv_dlopen_libs $LIBS"
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10778 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10779 if test "${lt_cv_dlopen_self+set}" = set; then :
10780 $as_echo_n "(cached) " >&6
10782 if test "$cross_compiling" = yes; then :
10783 lt_cv_dlopen_self
=cross
10785 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10786 lt_status
=$lt_dlunknown
10787 cat > conftest.
$ac_ext <<_LT_EOF
10788 #line 10788 "configure"
10789 #include "confdefs.h"
10798 # define LT_DLGLOBAL RTLD_GLOBAL
10801 # define LT_DLGLOBAL DL_GLOBAL
10803 # define LT_DLGLOBAL 0
10807 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10808 find out it does not work in some platform. */
10809 #ifndef LT_DLLAZY_OR_NOW
10811 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10814 # define LT_DLLAZY_OR_NOW DL_LAZY
10817 # define LT_DLLAZY_OR_NOW RTLD_NOW
10820 # define LT_DLLAZY_OR_NOW DL_NOW
10822 # define LT_DLLAZY_OR_NOW 0
10829 /* When -fvisbility=hidden is used, assume the code has been annotated
10830 correspondingly for the symbols needed. */
10831 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10832 void fnord () __attribute__((visibility("default")));
10835 void fnord () { int i=42; }
10838 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10839 int status = $lt_dlunknown;
10843 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10846 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10847 else puts (dlerror ());
10849 /* dlclose (self); */
10857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10858 (eval $ac_link) 2>&5
10860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10861 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10862 (.
/conftest
; exit; ) >&5 2>/dev
/null
10864 case x
$lt_status in
10865 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10866 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10867 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10870 # compilation failed
10871 lt_cv_dlopen_self
=no
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10879 $as_echo "$lt_cv_dlopen_self" >&6; }
10881 if test "x$lt_cv_dlopen_self" = xyes
; then
10882 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10884 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10885 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10886 $as_echo_n "(cached) " >&6
10888 if test "$cross_compiling" = yes; then :
10889 lt_cv_dlopen_self_static
=cross
10891 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10892 lt_status
=$lt_dlunknown
10893 cat > conftest.
$ac_ext <<_LT_EOF
10894 #line 10894 "configure"
10895 #include "confdefs.h"
10904 # define LT_DLGLOBAL RTLD_GLOBAL
10907 # define LT_DLGLOBAL DL_GLOBAL
10909 # define LT_DLGLOBAL 0
10913 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10914 find out it does not work in some platform. */
10915 #ifndef LT_DLLAZY_OR_NOW
10917 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10920 # define LT_DLLAZY_OR_NOW DL_LAZY
10923 # define LT_DLLAZY_OR_NOW RTLD_NOW
10926 # define LT_DLLAZY_OR_NOW DL_NOW
10928 # define LT_DLLAZY_OR_NOW 0
10935 /* When -fvisbility=hidden is used, assume the code has been annotated
10936 correspondingly for the symbols needed. */
10937 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10938 void fnord () __attribute__((visibility("default")));
10941 void fnord () { int i=42; }
10944 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10945 int status = $lt_dlunknown;
10949 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10952 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10953 else puts (dlerror ());
10955 /* dlclose (self); */
10963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10964 (eval $ac_link) 2>&5
10966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10967 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10968 (.
/conftest
; exit; ) >&5 2>/dev
/null
10970 case x
$lt_status in
10971 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10972 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10973 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10976 # compilation failed
10977 lt_cv_dlopen_self_static
=no
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10985 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10988 CPPFLAGS
="$save_CPPFLAGS"
10989 LDFLAGS
="$save_LDFLAGS"
10994 case $lt_cv_dlopen_self in
10995 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10996 *) enable_dlopen_self
=unknown
;;
10999 case $lt_cv_dlopen_self_static in
11000 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11001 *) enable_dlopen_self_static
=unknown
;;
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11024 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11025 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11026 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11027 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11029 $as_echo "yes" >&6; }
11031 # FIXME - insert some real tests, host_os isn't really good enough
11034 if test -n "$STRIP" ; then
11035 striplib
="$STRIP -x"
11036 old_striplib
="$STRIP -S"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11038 $as_echo "yes" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11046 $as_echo "no" >&6; }
11062 # Report which library types will actually be built
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11064 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11066 $as_echo "$can_build_shared" >&6; }
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11069 $as_echo_n "checking whether to build shared libraries... " >&6; }
11070 test "$can_build_shared" = "no" && enable_shared
=no
11072 # On AIX, shared libraries and static libraries use the same namespace, and
11073 # are all built from PIC.
11076 test "$enable_shared" = yes && enable_static
=no
11077 if test -n "$RANLIB"; then
11078 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11079 postinstall_cmds
='$RANLIB $lib'
11084 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11085 test "$enable_shared" = yes && enable_static
=no
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11090 $as_echo "$enable_shared" >&6; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11093 $as_echo_n "checking whether to build static libraries... " >&6; }
11094 # Make sure either enable_shared or enable_static is yes.
11095 test "$enable_shared" = yes || enable_static
=yes
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11097 $as_echo "$enable_static" >&6; }
11104 ac_cpp
='$CPP $CPPFLAGS'
11105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11123 ac_config_commands
="$ac_config_commands libtool"
11128 # Only expand once:
11133 .
${srcdir}/..
/..
/bfd
/configure.
host
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11139 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11140 # Check whether --enable-maintainer-mode was given.
11141 if test "${enable_maintainer_mode+set}" = set; then :
11142 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11144 USE_MAINTAINER_MODE
=no
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11148 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11149 if test $USE_MAINTAINER_MODE = yes; then
11150 MAINTAINER_MODE_TRUE
=
11151 MAINTAINER_MODE_FALSE
='#'
11153 MAINTAINER_MODE_TRUE
='#'
11154 MAINTAINER_MODE_FALSE
=
11157 MAINT
=$MAINTAINER_MODE_TRUE
11162 # Check whether --enable-sim-bswap was given.
11163 if test "${enable_sim_bswap+set}" = set; then :
11164 enableval
=$enable_sim_bswap; case "${enableval}" in
11165 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
11166 no
) sim_bswap
="-DWITH_BSWAP=0";;
11167 *) as_fn_error
"\"--enable-sim-bswap does not take a value\"" "$LINENO" 5; sim_bswap
="";;
11169 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
11170 echo "Setting bswap flags = $sim_bswap" 6>&1
11178 # Check whether --enable-sim-cflags was given.
11179 if test "${enable_sim_cflags+set}" = set; then :
11180 enableval
=$enable_sim_cflags; case "${enableval}" in
11181 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
11182 trace
) as_fn_error
"\"Please use --enable-sim-debug instead.\"" "$LINENO" 5; sim_cflags
="";;
11183 no
) sim_cflags
="";;
11184 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11186 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
11187 echo "Setting sim cflags = $sim_cflags" 6>&1
11195 # Check whether --enable-sim-debug was given.
11196 if test "${enable_sim_debug+set}" = set; then :
11197 enableval
=$enable_sim_debug; case "${enableval}" in
11198 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
11199 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
11200 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
11202 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
11203 echo "Setting sim debug = $sim_debug" 6>&1
11211 # Check whether --enable-sim-stdio was given.
11212 if test "${enable_sim_stdio+set}" = set; then :
11213 enableval
=$enable_sim_stdio; case "${enableval}" in
11214 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
11215 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
11216 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-stdio\"" "$LINENO" 5; sim_stdio
="";;
11218 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
11219 echo "Setting stdio flags = $sim_stdio" 6>&1
11227 # Check whether --enable-sim-trace was given.
11228 if test "${enable_sim_trace+set}" = set; then :
11229 enableval
=$enable_sim_trace; case "${enableval}" in
11230 yes) sim_trace
="-DWITH_TRACE=-1";;
11231 no
) sim_trace
="-DWITH_TRACE=0";;
11233 sim_trace
="-DWITH_TRACE='(${enableval})'";;
11236 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
11237 if test x
"$sim_trace" = x
; then
11238 sim_trace
="-DWITH_TRACE='(TRACE_$x"
11240 sim_trace
="${sim_trace}|TRACE_$x"
11243 sim_trace
="$sim_trace)'" ;;
11245 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
11246 echo "Setting sim trace = $sim_trace" 6>&1
11254 # Check whether --enable-sim-profile was given.
11255 if test "${enable_sim_profile+set}" = set; then :
11256 enableval
=$enable_sim_profile; case "${enableval}" in
11257 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
11258 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
11260 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
11263 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
11264 if test x
"$sim_profile" = x
; then
11265 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
11267 sim_profile
="${sim_profile}|PROFILE_$x"
11270 sim_profile
="$sim_profile)'" ;;
11272 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
11273 echo "Setting sim profile = $sim_profile" 6>&1
11276 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
11282 # Check whether --with-pkgversion was given.
11283 if test "${with_pkgversion+set}" = set; then :
11284 withval
=$with_pkgversion; case "$withval" in
11285 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
11287 *) PKGVERSION
="($withval) " ;;
11290 PKGVERSION
="(SIM) "
11298 # Check whether --with-bugurl was given.
11299 if test "${with_bugurl+set}" = set; then :
11300 withval
=$with_bugurl; case "$withval" in
11301 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
11304 *) BUGURL
="$withval"
11308 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
11318 REPORT_BUGS_TO
="<$BUGURL>"
11319 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
11326 cat >>confdefs.h
<<_ACEOF
11327 #define PKGVERSION "$PKGVERSION"
11331 cat >>confdefs.h
<<_ACEOF
11332 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11337 $as_echo_n "checking return type of signal handlers... " >&6; }
11338 if test "${ac_cv_type_signal+set}" = set; then :
11339 $as_echo_n "(cached) " >&6
11341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11343 #include <sys/types.h>
11344 #include <signal.h>
11349 return *(signal (0, 0)) (0) == 1;
11354 if ac_fn_c_try_compile
"$LINENO"; then :
11355 ac_cv_type_signal
=int
11357 ac_cv_type_signal
=void
11359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11362 $as_echo "$ac_cv_type_signal" >&6; }
11364 cat >>confdefs.h
<<_ACEOF
11365 #define RETSIGTYPE $ac_cv_type_signal
11375 # targ-vals.def points to the libc macro description file.
11376 case "${target}" in
11377 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
11379 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
11380 sim_link_links
="${sim_link_links} targ-vals.def"
11384 # Put a useful copy of CPP_FOR_TARGET in Makefile.
11385 # This is only used to build the target values header files. These files are
11386 # shipped with distributions so CPP_FOR_TARGET only needs to work in
11387 # developer's trees. This value is borrowed from ../../Makefile.in.
11388 CPP_FOR_TARGET
="\` \
11389 if test -f \$\${rootme}/../../gcc/Makefile ; then \
11390 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
11391 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
11393 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
11396 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
11399 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
11404 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
11405 if test x
"${host}" = x
"${target}" ; then
11408 TARGET_SUBDIR
=${target_alias}
11412 # These aren't all needed yet, but will be eventually.
11413 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
11415 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11416 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11417 eval as_val
=\$
$as_ac_Header
11418 if test "x$as_val" = x
""yes; then :
11419 cat >>confdefs.h
<<_ACEOF
11420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11427 for ac_func
in mmap munmap lstat truncate ftruncate posix_fallocate
11429 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11430 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11431 eval as_val
=\$
$as_ac_var
11432 if test "x$as_val" = x
""yes; then :
11433 cat >>confdefs.h
<<_ACEOF
11434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11440 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
11441 #include <sys/types.h>
11443 #ifdef HAVE_SYS_STAT_H
11444 #include <sys/stat.h>
11447 if test "x$ac_cv_member_struct_stat_st_dev" = x
""yes; then :
11449 cat >>confdefs.h
<<_ACEOF
11450 #define HAVE_STRUCT_STAT_ST_DEV 1
11455 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
11456 #include <sys/types.h>
11458 #ifdef HAVE_SYS_STAT_H
11459 #include <sys/stat.h>
11462 if test "x$ac_cv_member_struct_stat_st_ino" = x
""yes; then :
11464 cat >>confdefs.h
<<_ACEOF
11465 #define HAVE_STRUCT_STAT_ST_INO 1
11470 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
11471 #include <sys/types.h>
11473 #ifdef HAVE_SYS_STAT_H
11474 #include <sys/stat.h>
11477 if test "x$ac_cv_member_struct_stat_st_mode" = x
""yes; then :
11479 cat >>confdefs.h
<<_ACEOF
11480 #define HAVE_STRUCT_STAT_ST_MODE 1
11485 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
11486 #include <sys/types.h>
11488 #ifdef HAVE_SYS_STAT_H
11489 #include <sys/stat.h>
11492 if test "x$ac_cv_member_struct_stat_st_nlink" = x
""yes; then :
11494 cat >>confdefs.h
<<_ACEOF
11495 #define HAVE_STRUCT_STAT_ST_NLINK 1
11500 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
11501 #include <sys/types.h>
11503 #ifdef HAVE_SYS_STAT_H
11504 #include <sys/stat.h>
11507 if test "x$ac_cv_member_struct_stat_st_uid" = x
""yes; then :
11509 cat >>confdefs.h
<<_ACEOF
11510 #define HAVE_STRUCT_STAT_ST_UID 1
11515 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
11516 #include <sys/types.h>
11518 #ifdef HAVE_SYS_STAT_H
11519 #include <sys/stat.h>
11522 if test "x$ac_cv_member_struct_stat_st_gid" = x
""yes; then :
11524 cat >>confdefs.h
<<_ACEOF
11525 #define HAVE_STRUCT_STAT_ST_GID 1
11530 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
11531 #include <sys/types.h>
11533 #ifdef HAVE_SYS_STAT_H
11534 #include <sys/stat.h>
11537 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
11539 cat >>confdefs.h
<<_ACEOF
11540 #define HAVE_STRUCT_STAT_ST_RDEV 1
11545 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
11546 #include <sys/types.h>
11548 #ifdef HAVE_SYS_STAT_H
11549 #include <sys/stat.h>
11552 if test "x$ac_cv_member_struct_stat_st_size" = x
""yes; then :
11554 cat >>confdefs.h
<<_ACEOF
11555 #define HAVE_STRUCT_STAT_ST_SIZE 1
11560 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
11561 #include <sys/types.h>
11563 #ifdef HAVE_SYS_STAT_H
11564 #include <sys/stat.h>
11567 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
11569 cat >>confdefs.h
<<_ACEOF
11570 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
11575 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
11576 #include <sys/types.h>
11578 #ifdef HAVE_SYS_STAT_H
11579 #include <sys/stat.h>
11582 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
11584 cat >>confdefs.h
<<_ACEOF
11585 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
11590 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
11591 #include <sys/types.h>
11593 #ifdef HAVE_SYS_STAT_H
11594 #include <sys/stat.h>
11597 if test "x$ac_cv_member_struct_stat_st_atime" = x
""yes; then :
11599 cat >>confdefs.h
<<_ACEOF
11600 #define HAVE_STRUCT_STAT_ST_ATIME 1
11605 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
11606 #include <sys/types.h>
11608 #ifdef HAVE_SYS_STAT_H
11609 #include <sys/stat.h>
11612 if test "x$ac_cv_member_struct_stat_st_mtime" = x
""yes; then :
11614 cat >>confdefs.h
<<_ACEOF
11615 #define HAVE_STRUCT_STAT_ST_MTIME 1
11620 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
11621 #include <sys/types.h>
11623 #ifdef HAVE_SYS_STAT_H
11624 #include <sys/stat.h>
11627 if test "x$ac_cv_member_struct_stat_st_ctime" = x
""yes; then :
11629 cat >>confdefs.h
<<_ACEOF
11630 #define HAVE_STRUCT_STAT_ST_CTIME 1
11636 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
11637 #include <sys/socket.h>
11640 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
11642 cat >>confdefs.h
<<_ACEOF
11643 #define HAVE_SOCKLEN_T 1
11650 ac_config_files
="$ac_config_files Makefile"
11652 ac_config_commands
="$ac_config_commands default"
11654 cat >confcache
<<\_ACEOF
11655 # This file is a shell script that caches the results of configure
11656 # tests run on this system so they can be shared between configure
11657 # scripts and configure runs, see configure's option --config-cache.
11658 # It is not useful on other systems. If it contains results you don't
11659 # want to keep, you may remove or edit it.
11661 # config.status only pays attention to the cache file if you give it
11662 # the --recheck option to rerun configure.
11664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11666 # following values.
11670 # The following way of writing the cache mishandles newlines in values,
11671 # but we know of no workaround that is simple, portable, and efficient.
11672 # So, we kill variables containing newlines.
11673 # Ultrix sh set writes to stderr and can't be redirected directly,
11674 # and sets the high bit in the cache file unless we assign to the vars.
11676 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11677 eval ac_val
=\$
$ac_var
11681 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11685 _ | IFS | as_nl
) ;; #(
11686 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11687 *) { eval $ac_var=; unset $ac_var;} ;;
11693 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11694 *${as_nl}ac_space
=\
*)
11695 # `set' does not quote correctly, so add quotes: double-quote
11696 # substitution turns \\\\ into \\, and sed turns \\ into \.
11699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11702 # `set' quotes correctly as required by POSIX, so do not add quotes.
11703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11714 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11716 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11717 if test -w "$cache_file"; then
11718 test "x$cache_file" != "x/dev/null" &&
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11720 $as_echo "$as_me: updating cache $cache_file" >&6;}
11721 cat confcache
>$cache_file
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11724 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11729 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11730 # Let make expand exec_prefix.
11731 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11733 DEFS
=-DHAVE_CONFIG_H
11737 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11738 # 1. Remove the extension, and $U if already installed.
11739 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11740 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11741 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11742 # will be set to the directory where LIBOBJS objects are built.
11743 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11744 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11746 LIBOBJS
=$ac_libobjs
11748 LTLIBOBJS
=$ac_ltlibobjs
11752 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
11753 as_fn_error
"conditional \"GMAKE\" was never defined.
11754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11756 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
11757 as_fn_error
"conditional \"PLUGINS\" was never defined.
11758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11760 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11761 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11765 : ${CONFIG_STATUS=./config.status}
11767 ac_clean_files_save
=$ac_clean_files
11768 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11770 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11772 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11774 # Generated by $as_me.
11775 # Run this file to recreate the current configuration.
11776 # Compiler output produced by configure, useful for debugging
11777 # configure, is in config.log if it exists.
11780 ac_cs_recheck=false
11783 SHELL=\${CONFIG_SHELL-$SHELL}
11786 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11787 ## -------------------- ##
11788 ## M4sh Initialization. ##
11789 ## -------------------- ##
11791 # Be more Bourne compatible
11792 DUALCASE
=1; export DUALCASE
# for MKS sh
11793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11796 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11797 # is contrary to our usage. Disable this feature.
11798 alias -g '${1+"$@"}'='"$@"'
11799 setopt NO_GLOB_SUBST
11801 case `(set -o) 2>/dev/null` in #(
11813 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11814 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11816 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11817 # Prefer a ksh shell builtin over an external printf program on Solaris,
11818 # but without wasting forks for bash or zsh.
11819 if test -z "$BASH_VERSION$ZSH_VERSION" \
11820 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11821 as_echo='print
-r --'
11822 as_echo_n='print
-rn --'
11823 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11824 as_echo='printf %s
\n'
11825 as_echo_n='printf %s
'
11827 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11828 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11829 as_echo_n='/usr
/ucb
/echo -n'
11831 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11832 as_echo_n_body='eval
11836 expr "X$arg" : "X\\(.*\\)$as_nl";
11837 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11839 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11841 export as_echo_n_body
11842 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11844 export as_echo_body
11845 as_echo='sh
-c $as_echo_body as_echo
'
11848 # The user is always right.
11849 if test "${PATH_SEPARATOR+set}" != set; then
11851 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11852 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11859 # We need space, tab and new line, in precisely that order. Quoting is
11860 # there to prevent editors from complaining about space-tab.
11861 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11862 # splitting by setting IFS to empty value.)
11865 # Find who we are. Look in the path if we contain no directory separator.
11867 *[\\/]* ) as_myself=$0 ;;
11868 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11869 for as_dir in $PATH
11872 test -z "$as_dir" && as_dir=.
11873 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11879 # We did not find ourselves, most probably we were run as `sh COMMAND'
11880 # in which case we are not to be found in the path.
11881 if test "x$as_myself" = x
; then
11884 if test ! -f "$as_myself"; then
11885 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11889 # Unset variables that we do not need and which cause bugs (e.g. in
11890 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11891 # suppresses any "Segmentation fault" message there. '((' could
11892 # trigger a bug in pdksh 5.2.14.
11893 for as_var
in BASH_ENV ENV MAIL MAILPATH
11894 do eval test x\
${$as_var+set} = xset \
11895 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11908 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11911 # as_fn_error ERROR [LINENO LOG_FD]
11912 # ---------------------------------
11913 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11914 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11915 # script with status $?, using 1 if that was 0.
11918 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11920 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11921 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11923 $as_echo "$as_me: error: $1" >&2
11924 as_fn_exit
$as_status
11928 # as_fn_set_status STATUS
11929 # -----------------------
11930 # Set $? to STATUS, without forking.
11931 as_fn_set_status
()
11934 } # as_fn_set_status
11936 # as_fn_exit STATUS
11937 # -----------------
11938 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11942 as_fn_set_status
$1
11948 # Portably unset VAR.
11951 { eval $1=; unset $1;}
11953 as_unset
=as_fn_unset
11954 # as_fn_append VAR VALUE
11955 # ----------------------
11956 # Append the text in VALUE to the end of the definition contained in VAR. Take
11957 # advantage of any shell optimizations that allow amortized linear growth over
11958 # repeated appends, instead of the typical quadratic growth present in naive
11960 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11961 eval 'as_fn_append ()
11972 # as_fn_arith ARG...
11973 # ------------------
11974 # Perform arithmetic evaluation on the ARGs, and store the result in the
11975 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11976 # must be portable across $(()) and expr.
11977 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11978 eval 'as_fn_arith ()
11985 as_val
=`expr "$@" || test $? -eq 1`
11990 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11991 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11997 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11998 as_basename
=basename
12003 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12009 as_me
=`$as_basename -- "$0" ||
12010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12011 X"$0" : 'X\(//\)$' \| \
12012 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12014 sed '/^.*\/\([^/][^/]*\)\/*$/{
12028 # Avoid depending upon Character Ranges.
12029 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12030 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12031 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12032 as_cr_digits
='0123456789'
12033 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12035 ECHO_C
= ECHO_N
= ECHO_T
=
12036 case `echo -n x` in #(((((
12038 case `echo 'xy\c'` in
12039 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12041 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12048 rm -f conf$$ conf$$.exe conf$$.
file
12049 if test -d conf$$.dir
; then
12050 rm -f conf$$.dir
/conf$$.
file
12053 mkdir conf$$.dir
2>/dev
/null
12055 if (echo >conf$$.
file) 2>/dev
/null
; then
12056 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12058 # ... but there are two gotchas:
12059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12061 # In both cases, we have to default to `cp -p'.
12062 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12064 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12072 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12073 rmdir conf$$.dir
2>/dev
/null
12078 # Create "$as_dir" as a directory, including parents if necessary.
12083 -*) as_dir
=.
/$as_dir;;
12085 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12089 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12090 *) as_qdir
=$as_dir;;
12092 as_dirs
="'$as_qdir' $as_dirs"
12093 as_dir
=`$as_dirname -- "$as_dir" ||
12094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12095 X"$as_dir" : 'X\(//\)[^/]' \| \
12096 X"$as_dir" : 'X\(//\)$' \| \
12097 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12098 $as_echo X"$as_dir" |
12099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12103 /^X\(\/\/\)[^/].*/{
12116 test -d "$as_dir" && break
12118 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12119 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12123 if mkdir
-p .
2>/dev
/null
; then
12124 as_mkdir_p
='mkdir -p "$as_dir"'
12126 test -d .
/-p && rmdir .
/-p
12130 if test -x / >/dev
/null
2>&1; then
12131 as_test_x
='test -x'
12133 if ls -dL / >/dev
/null
2>&1; then
12140 if test -d "$1"; then
12146 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12147 ???[sx]*):;;*)false;;esac;fi
12151 as_executable_p
=$as_test_x
12153 # Sed expression to map a string onto a valid CPP name.
12154 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12156 # Sed expression to map a string onto a valid variable name.
12157 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12161 ## ----------------------------------- ##
12162 ## Main body of $CONFIG_STATUS script. ##
12163 ## ----------------------------------- ##
12165 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12168 # Save the log message, to keep $0 and so on meaningful, and to
12169 # report actual input values of CONFIG_FILES etc. instead of their
12170 # values after options handling.
12172 This file was extended by $as_me, which was
12173 generated by GNU Autoconf 2.64. Invocation command line was
12175 CONFIG_FILES = $CONFIG_FILES
12176 CONFIG_HEADERS = $CONFIG_HEADERS
12177 CONFIG_LINKS = $CONFIG_LINKS
12178 CONFIG_COMMANDS = $CONFIG_COMMANDS
12181 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12186 case $ac_config_files in *"
12187 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12190 case $ac_config_headers in *"
12191 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12196 # Files that config.status was made for.
12197 config_files="$ac_config_files"
12198 config_headers="$ac_config_headers"
12199 config_commands="$ac_config_commands"
12203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12205 \`$as_me' instantiates files and other configuration actions
12206 from templates according to the current configuration. Unless the files
12207 and actions are specified as TAGs, all are instantiated by default.
12209 Usage: $0 [OPTION]... [TAG]...
12211 -h, --help print this help, then exit
12212 -V, --version print version number and configuration settings, then exit
12213 -q, --quiet, --silent
12214 do not print progress messages
12215 -d, --debug don't remove temporary files
12216 --recheck update $as_me by reconfiguring in the same conditions
12217 --file=FILE[:TEMPLATE]
12218 instantiate the configuration file FILE
12219 --header=FILE[:TEMPLATE]
12220 instantiate the configuration header FILE
12222 Configuration files:
12225 Configuration headers:
12228 Configuration commands:
12231 Report bugs to the package provider."
12234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12237 configured by $0, generated by GNU Autoconf 2.64,
12238 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12240 Copyright (C) 2009 Free Software Foundation, Inc.
12241 This config.status script is free software; the Free Software Foundation
12242 gives unlimited permission to copy, distribute and modify it."
12248 test -n "\$AWK" || AWK=awk
12251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12252 # The default lists apply if the user does not specify any file.
12258 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12259 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12270 # Handling of the options.
12271 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12273 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12274 $as_echo "$ac_cs_version"; exit ;;
12275 --debug |
--debu |
--deb |
--de |
--d |
-d )
12277 --file |
--fil |
--fi |
--f )
12280 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12282 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12283 ac_need_defaults
=false
;;
12284 --header |
--heade |
--head |
--hea )
12287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12289 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12290 ac_need_defaults
=false
;;
12292 # Conflict between --help and --header
12293 as_fn_error
"ambiguous option: \`$1'
12294 Try \`$0 --help' for more information.";;
12295 --help |
--hel |
-h )
12296 $as_echo "$ac_cs_usage"; exit ;;
12297 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12298 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12301 # This is an error.
12302 -*) as_fn_error
"unrecognized option: \`$1'
12303 Try \`$0 --help' for more information." ;;
12305 *) as_fn_append ac_config_targets
" $1"
12306 ac_need_defaults
=false
;;
12312 ac_configure_extra_args
=
12314 if $ac_cs_silent; then
12316 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12321 if \$ac_cs_recheck; then
12322 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12324 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12325 CONFIG_SHELL='$SHELL'
12326 export CONFIG_SHELL
12331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12335 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12336 ## Running $as_me. ##
12342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12346 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
12349 # The HP-UX ksh and POSIX shell print the target directory to stdout
12350 # if CDPATH is set.
12351 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12353 sed_quote_subst='$sed_quote_subst'
12354 double_quote_subst='$double_quote_subst'
12355 delay_variable_subst='$delay_variable_subst'
12356 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12357 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12358 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12359 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12360 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12361 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12362 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12363 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12364 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12365 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12366 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12367 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12368 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12369 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12370 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12371 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12372 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12373 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12374 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12375 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12376 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12377 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12378 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12379 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12380 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12381 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12382 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12383 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12384 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12385 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12386 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12387 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12388 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12389 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12390 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12391 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12392 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12393 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12394 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12395 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12396 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12397 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12398 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12399 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12400 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12401 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12402 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12403 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12404 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"`'
12405 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12406 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12407 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12408 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12409 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12410 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12411 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12412 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12413 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12414 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12415 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12416 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12417 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12418 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12419 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12420 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12421 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12422 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12423 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12424 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12425 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12426 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12427 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12428 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12429 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12430 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12431 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12432 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12433 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12434 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12435 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12436 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12437 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12438 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12439 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12440 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12441 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12442 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12443 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12444 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12445 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12446 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12447 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12448 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12449 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12450 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12451 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12452 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12453 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12454 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12455 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12456 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12457 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12458 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12459 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12460 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12461 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12462 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12463 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12464 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12465 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12466 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12467 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12468 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12469 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12470 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12471 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12472 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12473 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12474 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12475 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12478 LTCFLAGS='$LTCFLAGS'
12479 compiler='$compiler_DEFAULT'
12481 # A function that is used when there is no print builtin or printf.
12482 func_fallback_echo ()
12484 eval 'cat <<_LTECHO_EOF
12489 # Quote evaled strings.
12503 deplibs_check_method \
12512 lt_cv_sys_global_symbol_pipe \
12513 lt_cv_sys_global_symbol_to_cdecl \
12514 lt_cv_sys_global_symbol_to_c_name_address \
12515 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12516 lt_prog_compiler_no_builtin_flag \
12517 lt_prog_compiler_wl \
12518 lt_prog_compiler_pic \
12519 lt_prog_compiler_static \
12520 lt_cv_prog_compiler_c_o \
12528 export_dynamic_flag_spec \
12529 whole_archive_flag_spec \
12530 compiler_needs_object \
12532 allow_undefined_flag \
12533 no_undefined_flag \
12534 hardcode_libdir_flag_spec \
12535 hardcode_libdir_flag_spec_ld \
12536 hardcode_libdir_separator \
12541 variables_saved_for_relink \
12543 library_names_spec \
12545 install_override_mode \
12549 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12550 *[\\\\\\\`\\"\\\$]*)
12551 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12554 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12559 # Double-quote double-evaled strings.
12560 for var in reload_cmds \
12561 old_postinstall_cmds \
12562 old_postuninstall_cmds \
12564 extract_expsyms_cmds \
12565 old_archive_from_new_cmds \
12566 old_archive_from_expsyms_cmds \
12568 archive_expsym_cmds \
12570 module_expsym_cmds \
12571 export_symbols_cmds \
12574 postuninstall_cmds \
12576 sys_lib_search_path_spec \
12577 sys_lib_dlsearch_path_spec; do
12578 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12579 *[\\\\\\\`\\"\\\$]*)
12580 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12583 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12588 ac_aux_dir='$ac_aux_dir'
12589 xsi_shell='$xsi_shell'
12590 lt_shell_append='$lt_shell_append'
12592 # See if we are running on zsh, and set the options which allow our
12593 # commands through without removal of \ escapes INIT.
12594 if test -n "\${ZSH_VERSION+set}" ; then
12595 setopt NO_GLOB_SUBST
12601 TIMESTAMP='$TIMESTAMP'
12610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12612 # Handling of arguments.
12613 for ac_config_target
in $ac_config_targets
12615 case $ac_config_target in
12616 "cconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
12617 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
12618 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12619 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12620 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12622 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12627 # If the user did not use the arguments to specify the items to instantiate,
12628 # then the envvar interface is used. Set only those that are not.
12629 # We use the long form for the default assignment because of an extremely
12630 # bizarre bug on SunOS 4.1.3.
12631 if $ac_need_defaults; then
12632 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12633 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12634 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12637 # Have a temporary directory for convenience. Make it in the build tree
12638 # simply because there is no reason against having it here, and in addition,
12639 # creating and moving files from /tmp can sometimes cause problems.
12640 # Hook for its removal unless debugging.
12641 # Note that there is a small window in which the directory will not be cleaned:
12642 # after its creation but before its name has been assigned to `$tmp'.
12646 trap 'exit_status=$?
12647 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12649 trap 'as_fn_exit 1' 1 2 13 15
12651 # Create a (secure) tmp directory for tmp files.
12654 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12655 test -n "$tmp" && test -d "$tmp"
12658 tmp
=.
/conf$$
-$RANDOM
12659 (umask 077 && mkdir
"$tmp")
12660 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12662 # Set up the scripts for CONFIG_FILES section.
12663 # No need to generate them if there are no CONFIG_FILES.
12664 # This happens for instance with `./config.status config.h'.
12665 if test -n "$CONFIG_FILES"; then
12668 ac_cr
=`echo X | tr X '\015'`
12669 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12670 # But we know of no other shell where ac_cr would be empty at this
12671 # point, so we can use a bashism as a fallback.
12672 if test "x$ac_cr" = x
; then
12673 eval ac_cr
=\$
\'\\r
\'
12675 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12676 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12679 ac_cs_awk_cr
=$ac_cr
12682 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12687 echo "cat >conf$$subs.awk <<_ACEOF" &&
12688 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12690 } >conf$$subs.sh ||
12691 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12692 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12694 for ac_last_try in false false false false false :; do
12695 . ./conf$$subs.sh ||
12696 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12698 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12699 if test $ac_delim_n = $ac_delim_num; then
12701 elif $ac_last_try; then
12702 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12704 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12707 rm -f conf$$subs.sh
12709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12710 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12714 s/^/S["/; s
/!.
*/"]=/
12724 s/\(.\{148\}\).*/\1/
12726 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12731 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12738 s/\(.\{148\}\).*/\1/
12740 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12744 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12749 ' <conf$$subs.awk | sed '
12754 ' >>$CONFIG_STATUS || ac_write_fail=1
12755 rm -f conf$$subs.awk
12756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12758 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12759 for (key in S) S_is_set[key] = 1
12765 nfields = split(line, field, "@
")
12767 len = length(field[1])
12768 for (i = 2; i < nfields; i++) {
12770 keylen = length(key)
12771 if (S_is_set[key]) {
12773 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12774 len += length(value) + length(field[++i])
12785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12786 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12787 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12790 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12791 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12794 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12795 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12796 # trailing colons and then remove the whole line if VPATH becomes empty
12797 # (actually we leave an empty line to preserve line numbers).
12798 if test "x
$srcdir" = x.; then
12799 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12800 s/:*\$(srcdir):*/:/
12801 s/:*\${srcdir}:*/:/
12803 s/^\([^=]*=[ ]*\):*/\1/
12809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12810 fi # test -n "$CONFIG_FILES"
12812 # Set up the scripts for CONFIG_HEADERS section.
12813 # No need to generate them if there are no CONFIG_HEADERS.
12814 # This happens for instance with `./config.status Makefile'.
12815 if test -n "$CONFIG_HEADERS"; then
12816 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12820 # Transform confdefs.h into an awk script `defines.awk', embedded as
12821 # here-document in config.status, that substitutes the proper values into
12822 # config.h.in to produce config.h.
12824 # Create a delimiter string that does not exist in confdefs.h, to ease
12825 # handling of long lines.
12827 for ac_last_try in false false :; do
12828 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12829 if test -z "$ac_t"; then
12831 elif $ac_last_try; then
12832 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12834 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12838 # For the awk script, D is an array of macro values keyed by name,
12839 # likewise P contains macro parameters if any. Preserve backslash
12840 # newline sequences.
12842 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12844 s/.\{148\}/&'"$ac_delim"'/g
12847 s/^[ ]*#[ ]*define[ ][ ]*/ /
12854 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12856 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12860 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12861 D["\
1"]=" \
3\\\\\\n
"\\/p
12863 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12868 s/.\{148\}/&'"$ac_delim"'/g
12873 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12876 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12878 ' <confdefs.h | sed '
12879 s/'"$ac_delim"'/"\\\
12880 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12883 for (key in D) D_is_set[key] = 1
12886 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12888 split(line, arg, " ")
12889 if (arg[1] == "#") {
12893 defundef
= substr
(arg
[1], 2)
12896 split(mac1
, mac2
, "(") #)
12898 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12899 if (D_is_set
[macro
]) {
12900 # Preserve the white space surrounding the "#".
12901 print prefix
"define", macro P
[macro
] D
[macro
]
12904 # Replace #undef with comments. This is necessary, for example,
12905 # in the case of _POSIX_SOURCE, which is predefined and required
12906 # on some systems where configure will not decide to define it.
12907 if (defundef
== "undef") {
12908 print
"/*", prefix defundef
, macro
, "*/"
12916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12917 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12918 fi # test -n "$CONFIG_HEADERS"
12921 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12926 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12928 case $ac_mode$ac_tag in
12930 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12931 :[FH
]-) ac_tag
=-:-;;
12932 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12949 -) ac_f
="$tmp/stdin";;
12950 *) # Look for the file first in the build tree, then in the source tree
12951 # (if the path is not absolute). The absolute path cannot be DOS-style,
12952 # because $ac_f cannot contain `:'.
12956 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12958 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12960 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12961 as_fn_append ac_file_inputs
" '$ac_f'"
12964 # Let's still pretend it is `configure' which instantiates (i.e., don't
12965 # use $as_me), people would be surprised to read:
12966 # /* config.h. Generated by config.status. */
12967 configure_input
='Generated from '`
12968 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12970 if test x
"$ac_file" != x-
; then
12971 configure_input
="$ac_file. $configure_input"
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12973 $as_echo "$as_me: creating $ac_file" >&6;}
12975 # Neutralize special characters interpreted by sed in replacement strings.
12976 case $configure_input in #(
12977 *\
&* |
*\|
* |
*\\* )
12978 ac_sed_conf_input
=`$as_echo "$configure_input" |
12979 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12980 *) ac_sed_conf_input
=$configure_input;;
12984 *:-:* |
*:-) cat >"$tmp/stdin" \
12985 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12990 ac_dir
=`$as_dirname -- "$ac_file" ||
12991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12992 X"$ac_file" : 'X\(//\)[^/]' \| \
12993 X"$ac_file" : 'X\(//\)$' \| \
12994 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12995 $as_echo X"$ac_file" |
12996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13000 /^X\(\/\/\)[^/].*/{
13013 as_dir
="$ac_dir"; as_fn_mkdir_p
13017 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13019 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13020 # A ".." for each directory in $ac_dir_suffix.
13021 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13022 case $ac_top_builddir_sub in
13023 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13024 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13027 ac_abs_top_builddir
=$ac_pwd
13028 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13029 # for backward compatibility:
13030 ac_top_builddir
=$ac_top_build_prefix
13033 .
) # We are building in place.
13035 ac_top_srcdir
=$ac_top_builddir_sub
13036 ac_abs_top_srcdir
=$ac_pwd ;;
13037 [\\/]* | ?
:[\\/]* ) # Absolute name.
13038 ac_srcdir
=$srcdir$ac_dir_suffix;
13039 ac_top_srcdir
=$srcdir
13040 ac_abs_top_srcdir
=$srcdir ;;
13041 *) # Relative name.
13042 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13043 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13044 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13046 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13056 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13057 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13062 # If the template does not know about datarootdir, expand it.
13063 # FIXME: This hack should be removed a few years after 2.60.
13064 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13075 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13076 *datarootdir
*) ac_datarootdir_seen
=yes;;
13077 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13079 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13082 ac_datarootdir_hack='
13083 s&@datadir@&$datadir&g
13084 s&@docdir@&$docdir&g
13085 s&@infodir@&$infodir&g
13086 s&@localedir@&$localedir&g
13087 s&@mandir@&$mandir&g
13088 s&\\\${datarootdir}&$datarootdir&g' ;;
13092 # Neutralize VPATH when `$srcdir' = `.'.
13093 # Shell code in configure.ac might set extrasub.
13094 # FIXME: do we really want to maintain this feature?
13095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13096 ac_sed_extra="$ac_vpsub
13099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13101 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13102 s|@configure_input@|
$ac_sed_conf_input|
;t t
13103 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13104 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13105 s
&@srcdir@
&$ac_srcdir&;t t
13106 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13107 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13108 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13109 s
&@builddir@
&$ac_builddir&;t t
13110 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13111 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13112 s
&@INSTALL@
&$ac_INSTALL&;t t
13113 $ac_datarootdir_hack
13115 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13116 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13118 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13119 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13120 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13122 which seems to be undefined. Please make sure it is defined." >&5
13123 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13124 which seems to be undefined. Please make sure it is defined." >&2;}
13128 -) cat "$tmp/out" && rm -f "$tmp/out";;
13129 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13131 || as_fn_error "could not create $ac_file" "$LINENO" 5
13137 if test x"$ac_file" != x-; then
13139 $as_echo "/* $configure_input */" \
13140 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13141 } >"$tmp/config.h" \
13142 || as_fn_error "could not create $ac_file" "$LINENO" 5
13143 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13145 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13148 mv "$tmp/config.h" "$ac_file" \
13149 || as_fn_error "could not create $ac_file" "$LINENO" 5
13152 $as_echo "/* $configure_input */" \
13153 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13154 || as_fn_error "could not create -" "$LINENO" 5
13158 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13159 $as_echo "$as_me: executing $ac_file commands" >&6;}
13164 case $ac_file$ac_mode in
13165 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
13168 # See if we are running on zsh, and set the options which allow our
13169 # commands through without removal of \ escapes.
13170 if test -n "${ZSH_VERSION+set}" ; then
13171 setopt NO_GLOB_SUBST
13174 cfgfile="${ofile}T"
13175 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13178 cat <<_LT_EOF >> "$cfgfile"
13181 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
13182 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13183 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13184 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13186 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13187 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13188 # Written by Gordon Matzigkeit, 1996
13190 # This file is part of GNU Libtool.
13192 # GNU Libtool is free software; you can redistribute it and/or
13193 # modify it under the terms of the GNU General Public License as
13194 # published by the Free Software Foundation; either version 2 of
13195 # the License, or (at your option) any later version.
13197 # As a special exception to the GNU General Public License,
13198 # if you distribute this file as part of a program or library that
13199 # is built using GNU Libtool, you may include this file under the
13200 # same distribution terms that you use for the rest of that program.
13202 # GNU Libtool is distributed in the hope that it will be useful,
13203 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13204 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13205 # GNU General Public License for more details.
13207 # You should have received a copy of the GNU General Public License
13208 # along with GNU Libtool; see the file COPYING. If not, a copy
13209 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13210 # obtained by writing to the Free Software Foundation, Inc.,
13211 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13214 # The names of the tagged configurations supported by this script.
13217 # ### BEGIN LIBTOOL CONFIG
13219 # Which release of libtool.m4 was used?
13220 macro_version=$macro_version
13221 macro_revision=$macro_revision
13223 # Whether or not to build shared libraries.
13224 build_libtool_libs=$enable_shared
13226 # Whether or not to build static libraries.
13227 build_old_libs=$enable_static
13229 # What type of objects to build.
13232 # Whether or not to optimize for fast installation.
13233 fast_install=$enable_fast_install
13235 # Shell to use when invoking shell scripts.
13238 # An echo program that protects backslashes.
13242 host_alias=$host_alias
13246 # The build system.
13247 build_alias=$build_alias
13251 # A sed program that does not truncate output.
13254 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13255 Xsed="\$SED -e 1s/^X//"
13257 # A grep program that handles long lines.
13263 # A literal string matcher.
13266 # A BSD- or MS-compatible name lister.
13269 # Whether we need soft or hard links.
13272 # What is the maximum length of a command?
13273 max_cmd_len=$max_cmd_len
13275 # Object file suffix (normally "o").
13278 # Executable file suffix (normally "").
13281 # whether the shell understands "unset".
13284 # turn spaces into newlines.
13287 # turn newlines into spaces.
13290 # An object symbol dumper.
13291 OBJDUMP=$lt_OBJDUMP
13293 # Method to check whether dependent libraries are shared objects.
13294 deplibs_check_method=$lt_deplibs_check_method
13296 # Command to use when deplibs_check_method == "file_magic".
13297 file_magic_cmd=$lt_file_magic_cmd
13301 AR_FLAGS=$lt_AR_FLAGS
13303 # A symbol stripping program.
13306 # Commands used to install an old-style archive.
13308 old_postinstall_cmds=$lt_old_postinstall_cmds
13309 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13311 # Whether to use a lock for old archive extraction.
13312 lock_old_archive_extraction=$lock_old_archive_extraction
13317 # LTCC compiler flags.
13318 LTCFLAGS=$lt_CFLAGS
13320 # Take the output of nm and produce a listing of raw symbols and C names.
13321 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13323 # Transform the output of nm in a proper C declaration.
13324 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13326 # Transform the output of nm in a C name address pair.
13327 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13329 # Transform the output of nm in a C name address pair when lib prefix is needed.
13330 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13332 # The name of the directory that contains temporary libtool files.
13335 # Used to examine libraries when file_magic_cmd begins with "file".
13336 MAGIC_CMD=$MAGIC_CMD
13338 # Must we lock files when doing compilation?
13339 need_locks=$lt_need_locks
13341 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13342 DSYMUTIL=$lt_DSYMUTIL
13344 # Tool to change global to local symbols on Mac OS X.
13347 # Tool to manipulate fat objects and archives on Mac OS X.
13350 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13353 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13354 OTOOL64=$lt_OTOOL64
13356 # Old archive suffix (normally "a").
13359 # Shared library suffix (normally ".so").
13360 shrext_cmds=$lt_shrext_cmds
13362 # The commands to extract the exported symbol list from a shared archive.
13363 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13365 # Variables whose values should be saved in libtool wrapper scripts and
13366 # restored at link time.
13367 variables_saved_for_relink=$lt_variables_saved_for_relink
13369 # Do we need the "lib" prefix for modules?
13370 need_lib_prefix=$need_lib_prefix
13372 # Do we need a version for libraries?
13373 need_version=$need_version
13375 # Library versioning type.
13376 version_type=$version_type
13378 # Shared library runtime path variable.
13379 runpath_var=$runpath_var
13381 # Shared library path variable.
13382 shlibpath_var=$shlibpath_var
13384 # Is shlibpath searched before the hard-coded library search path?
13385 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13387 # Format of library name prefix.
13388 libname_spec=$lt_libname_spec
13390 # List of archive names. First name is the real one, the rest are links.
13391 # The last name is the one that the linker finds with -lNAME
13392 library_names_spec=$lt_library_names_spec
13394 # The coded name of the library, if different from the real name.
13395 soname_spec=$lt_soname_spec
13397 # Permission mode override for installation of shared libraries.
13398 install_override_mode=$lt_install_override_mode
13400 # Command to use after installation of a shared archive.
13401 postinstall_cmds=$lt_postinstall_cmds
13403 # Command to use after uninstallation of a shared archive.
13404 postuninstall_cmds=$lt_postuninstall_cmds
13406 # Commands used to finish a libtool library installation in a directory.
13407 finish_cmds=$lt_finish_cmds
13409 # As "finish_cmds", except a single script fragment to be evaled but
13411 finish_eval=$lt_finish_eval
13413 # Whether we should hardcode library paths into libraries.
13414 hardcode_into_libs=$hardcode_into_libs
13416 # Compile-time system search path for libraries.
13417 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13419 # Run-time system search path for libraries.
13420 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13422 # Whether dlopen is supported.
13423 dlopen_support=$enable_dlopen
13425 # Whether dlopen of programs is supported.
13426 dlopen_self=$enable_dlopen_self
13428 # Whether dlopen of statically linked programs is supported.
13429 dlopen_self_static=$enable_dlopen_self_static
13431 # Commands to strip libraries.
13432 old_striplib=$lt_old_striplib
13433 striplib=$lt_striplib
13436 # The linker used to build libraries.
13439 # How to create reloadable object files.
13440 reload_flag=$lt_reload_flag
13441 reload_cmds=$lt_reload_cmds
13443 # Commands used to build an old-style archive.
13444 old_archive_cmds=$lt_old_archive_cmds
13446 # A language specific compiler.
13449 # Is the compiler the GNU compiler?
13452 # Compiler flag to turn off builtin functions.
13453 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13455 # How to pass a linker flag through the compiler.
13456 wl=$lt_lt_prog_compiler_wl
13458 # Additional compiler flags for building library objects.
13459 pic_flag=$lt_lt_prog_compiler_pic
13461 # Compiler flag to prevent dynamic linking.
13462 link_static_flag=$lt_lt_prog_compiler_static
13464 # Does compiler simultaneously support -c and -o options?
13465 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13467 # Whether or not to add -lc for building shared libraries.
13468 build_libtool_need_lc=$archive_cmds_need_lc
13470 # Whether or not to disallow shared libs when runtime libs are static.
13471 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13473 # Compiler flag to allow reflexive dlopens.
13474 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13476 # Compiler flag to generate shared objects directly from archives.
13477 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13479 # Whether the compiler copes with passing no objects directly.
13480 compiler_needs_object=$lt_compiler_needs_object
13482 # Create an old-style archive from a shared archive.
13483 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13485 # Create a temporary old-style archive to link instead of a shared archive.
13486 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13488 # Commands used to build a shared archive.
13489 archive_cmds=$lt_archive_cmds
13490 archive_expsym_cmds=$lt_archive_expsym_cmds
13492 # Commands used to build a loadable module if different from building
13493 # a shared archive.
13494 module_cmds=$lt_module_cmds
13495 module_expsym_cmds=$lt_module_expsym_cmds
13497 # Whether we are building with GNU ld or not.
13498 with_gnu_ld=$lt_with_gnu_ld
13500 # Flag that allows shared libraries with undefined symbols to be built.
13501 allow_undefined_flag=$lt_allow_undefined_flag
13503 # Flag that enforces no undefined symbols.
13504 no_undefined_flag=$lt_no_undefined_flag
13506 # Flag to hardcode \$libdir into a binary during linking.
13507 # This must work even if \$libdir does not exist
13508 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13510 # If ld is used when linking, flag to hardcode \$libdir into a binary
13511 # during linking. This must work even if \$libdir does not exist.
13512 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13514 # Whether we need a single "-rpath" flag with a separated argument.
13515 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13517 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13518 # DIR into the resulting binary.
13519 hardcode_direct=$hardcode_direct
13521 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13522 # DIR into the resulting binary and the resulting library dependency is
13523 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13524 # library is relocated.
13525 hardcode_direct_absolute=$hardcode_direct_absolute
13527 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13528 # into the resulting binary.
13529 hardcode_minus_L=$hardcode_minus_L
13531 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13532 # into the resulting binary.
13533 hardcode_shlibpath_var=$hardcode_shlibpath_var
13535 # Set to "yes" if building a shared library automatically hardcodes DIR
13536 # into the library and all subsequent libraries and executables linked
13538 hardcode_automatic=$hardcode_automatic
13540 # Set to yes if linker adds runtime paths of dependent libraries
13541 # to runtime path list.
13542 inherit_rpath=$inherit_rpath
13544 # Whether libtool must link a program against all its dependency libraries.
13545 link_all_deplibs=$link_all_deplibs
13547 # Fix the shell variable \$srcfile for the compiler.
13548 fix_srcfile_path=$lt_fix_srcfile_path
13550 # Set to "yes" if exported symbols are required.
13551 always_export_symbols=$always_export_symbols
13553 # The commands to list exported symbols.
13554 export_symbols_cmds=$lt_export_symbols_cmds
13556 # Symbols that should not be listed in the preloaded symbols.
13557 exclude_expsyms=$lt_exclude_expsyms
13559 # Symbols that must always be exported.
13560 include_expsyms=$lt_include_expsyms
13562 # Commands necessary for linking programs (against libraries) with templates.
13563 prelink_cmds=$lt_prelink_cmds
13565 # Specify filename containing input files.
13566 file_list_spec=$lt_file_list_spec
13568 # How to hardcode a shared library path into an executable.
13569 hardcode_action=$hardcode_action
13571 # ### END LIBTOOL CONFIG
13577 cat <<\_LT_EOF >> "$cfgfile"
13578 # AIX sometimes has problems with the GCC collect2 program. For some
13579 # reason, if we set the COLLECT_NAMES environment variable, the problems
13580 # vanish in a puff of smoke.
13581 if test "X${COLLECT_NAMES+set}" != Xset; then
13583 export COLLECT_NAMES
13590 ltmain="$ac_aux_dir/ltmain.sh"
13593 # We use sed instead of cat because bash on DJGPP gets confused if
13594 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13595 # text mode, it properly converts lines to CR/LF. This bash problem
13596 # is reportedly fixed, but why not run on old versions too?
13597 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13598 ||
(rm -f "$cfgfile"; exit 1)
13602 cat << \_LT_EOF
>> "$cfgfile"
13604 # func_dirname file append nondir_replacement
13605 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13606 # otherwise set result to NONDIR_REPLACEMENT.
13610 */*) func_dirname_result
="${1%/*}${2}" ;;
13611 * ) func_dirname_result
="${3}" ;;
13615 # func_basename file
13618 func_basename_result
="${1##*/}"
13621 # func_dirname_and_basename file append nondir_replacement
13622 # perform func_basename and func_dirname in a single function
13624 # dirname: Compute the dirname of FILE. If nonempty,
13625 # add APPEND to the result, otherwise set result
13626 # to NONDIR_REPLACEMENT.
13627 # value returned in "$func_dirname_result"
13628 # basename: Compute filename of FILE.
13629 # value retuned in "$func_basename_result"
13630 # Implementation must be kept synchronized with func_dirname
13631 # and func_basename. For efficiency, we do not delegate to
13632 # those functions but instead duplicate the functionality here.
13633 func_dirname_and_basename
()
13636 */*) func_dirname_result
="${1%/*}${2}" ;;
13637 * ) func_dirname_result
="${3}" ;;
13639 func_basename_result
="${1##*/}"
13642 # func_stripname prefix suffix name
13643 # strip PREFIX and SUFFIX off of NAME.
13644 # PREFIX and SUFFIX must not contain globbing or regex special
13645 # characters, hashes, percent signs, but SUFFIX may contain a leading
13646 # dot (in which case that matches only a dot).
13649 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13650 # positional parameters, so assign one to ordinary parameter first.
13651 func_stripname_result
=${3}
13652 func_stripname_result
=${func_stripname_result#"${1}"}
13653 func_stripname_result
=${func_stripname_result%"${2}"}
13659 func_opt_split_opt
=${1%%=*}
13660 func_opt_split_arg
=${1#*=}
13667 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13668 *) func_lo2o_result
=${1} ;;
13672 # func_xform libobj-or-source
13675 func_xform_result
=${1%.*}.lo
13678 # func_arith arithmetic-term...
13681 func_arith_result
=$
(( $
* ))
13685 # STRING may not start with a hyphen.
13688 func_len_result
=${#1}
13693 *) # Bourne compatible functions.
13694 cat << \_LT_EOF
>> "$cfgfile"
13696 # func_dirname file append nondir_replacement
13697 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13698 # otherwise set result to NONDIR_REPLACEMENT.
13701 # Extract subdirectory from the argument.
13702 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13703 if test "X$func_dirname_result" = "X${1}"; then
13704 func_dirname_result
="${3}"
13706 func_dirname_result
="$func_dirname_result${2}"
13710 # func_basename file
13713 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13717 # func_stripname prefix suffix name
13718 # strip PREFIX and SUFFIX off of NAME.
13719 # PREFIX and SUFFIX must not contain globbing or regex special
13720 # characters, hashes, percent signs, but SUFFIX may contain a leading
13721 # dot (in which case that matches only a dot).
13722 # func_strip_suffix prefix name
13726 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13727 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13732 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13733 my_sed_long_arg
='1s/^-[^=]*=//'
13738 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13739 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13745 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13748 # func_xform libobj-or-source
13751 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13754 # func_arith arithmetic-term...
13757 func_arith_result
=`expr "$@"`
13761 # STRING may not start with a hyphen.
13764 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13770 case $lt_shell_append in
13772 cat << \_LT_EOF
>> "$cfgfile"
13774 # func_append var value
13775 # Append VALUE to the end of shell variable VAR.
13783 cat << \_LT_EOF
>> "$cfgfile"
13785 # func_append var value
13786 # Append VALUE to the end of shell variable VAR.
13797 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13798 ||
(rm -f "$cfgfile"; exit 1)
13800 mv -f "$cfgfile" "$ofile" ||
13801 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13805 "default":C
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
13813 ac_clean_files
=$ac_clean_files_save
13815 test $ac_write_fail = 0 ||
13816 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13819 # configure is writing to config.log, and then calls config.status.
13820 # config.status does its own redirection, appending to config.log.
13821 # Unfortunately, on DOS this fails, as config.log is still kept open
13822 # by configure, so config.status won't be able to write to it; its
13823 # output is simply discarded. So we exec the FD to /dev/null,
13824 # effectively closing config.log, so it can be properly (re)opened and
13825 # appended to by config.status. When coming back to configure, we
13826 # need to make the FD available again.
13827 if test "$no_create" != yes; then
13829 ac_config_status_args
=
13830 test "$silent" = yes &&
13831 ac_config_status_args
="$ac_config_status_args --quiet"
13833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13836 # would make configure fail if this is the last instruction.
13837 $ac_cs_success || as_fn_exit $?
13839 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13841 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}