2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for LTO plugin for ld 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='LTO plugin for ld'
558 PACKAGE_TARNAME
='lto-plugin'
559 PACKAGE_VERSION
='0.1'
560 PACKAGE_STRING
='LTO plugin for ld 0.1'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
644 MAINTAINER_MODE_FALSE
654 INSTALL_STRIP_PROGRAM
712 program_transform_name
725 enable_option_checking
727 enable_maintainer_mode
728 enable_dependency_tracking
737 ac_precious_vars
='build_alias
750 # Initialize some variables set by options.
752 ac_init_version
=false
753 ac_unrecognized_opts
=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name
=s
,x
,x
,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir
='${exec_prefix}/bin'
779 sbindir
='${exec_prefix}/sbin'
780 libexecdir
='${exec_prefix}/libexec'
781 datarootdir
='${prefix}/share'
782 datadir
='${datarootdir}'
783 sysconfdir
='${prefix}/etc'
784 sharedstatedir
='${prefix}/com'
785 localstatedir
='${prefix}/var'
786 includedir
='${prefix}/include'
787 oldincludedir
='/usr/include'
788 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
789 infodir
='${datarootdir}/info'
794 libdir
='${exec_prefix}/lib'
795 localedir
='${datarootdir}/locale'
796 mandir
='${datarootdir}/man'
802 # If the previous option needs an argument, assign it.
803 if test -n "$ac_prev"; then
804 eval $ac_prev=\
$ac_option
810 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
822 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
825 -build |
--build |
--buil |
--bui |
--bu)
826 ac_prev
=build_alias
;;
827 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
828 build_alias
=$ac_optarg ;;
830 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
831 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
832 ac_prev
=cache_file
;;
833 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
834 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
835 cache_file
=$ac_optarg ;;
838 cache_file
=config.cache
;;
840 -datadir |
--datadir |
--datadi |
--datad)
842 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
843 datadir
=$ac_optarg ;;
845 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
846 |
--dataroo |
--dataro |
--datar)
847 ac_prev
=datarootdir
;;
848 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
849 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
850 datarootdir
=$ac_optarg ;;
852 -disable-* |
--disable-*)
853 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
856 as_fn_error
"invalid feature name: $ac_useropt"
857 ac_useropt_orig
=$ac_useropt
858 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864 ac_unrecognized_sep
=', ';;
866 eval enable_
$ac_useropt=no
;;
868 -docdir |
--docdir |
--docdi |
--doc |
--do)
870 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
873 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
875 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
878 -enable-* |
--enable-*)
879 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
882 as_fn_error
"invalid feature name: $ac_useropt"
883 ac_useropt_orig
=$ac_useropt
884 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890 ac_unrecognized_sep
=', ';;
892 eval enable_
$ac_useropt=\
$ac_optarg ;;
894 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
895 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
896 |
--exec |
--exe |
--ex)
897 ac_prev
=exec_prefix
;;
898 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
899 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
900 |
--exec=* |
--exe=* |
--ex=*)
901 exec_prefix
=$ac_optarg ;;
903 -gas |
--gas |
--ga |
--g)
904 # Obsolete; use --with-gas.
907 -help |
--help |
--hel |
--he |
-h)
909 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
910 ac_init_help
=recursive
;;
911 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
912 ac_init_help
=short
;;
914 -host |
--host |
--hos |
--ho)
915 ac_prev
=host_alias
;;
916 -host=* |
--host=* |
--hos=* |
--ho=*)
917 host_alias
=$ac_optarg ;;
919 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
921 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
923 htmldir
=$ac_optarg ;;
925 -includedir |
--includedir |
--includedi |
--included |
--include \
926 |
--includ |
--inclu |
--incl |
--inc)
927 ac_prev
=includedir
;;
928 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
929 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
930 includedir
=$ac_optarg ;;
932 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
934 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
935 infodir
=$ac_optarg ;;
937 -libdir |
--libdir |
--libdi |
--libd)
939 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
942 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
943 |
--libexe |
--libex |
--libe)
944 ac_prev
=libexecdir
;;
945 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
946 |
--libexe=* |
--libex=* |
--libe=*)
947 libexecdir
=$ac_optarg ;;
949 -localedir |
--localedir |
--localedi |
--localed |
--locale)
951 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
952 localedir
=$ac_optarg ;;
954 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
955 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
956 ac_prev
=localstatedir
;;
957 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
958 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
959 localstatedir
=$ac_optarg ;;
961 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
963 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
967 # Obsolete; use --without-fp.
970 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
971 |
--no-cr |
--no-c |
-n)
974 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
975 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
978 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
979 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
980 |
--oldin |
--oldi |
--old |
--ol |
--o)
981 ac_prev
=oldincludedir
;;
982 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
983 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
984 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
985 oldincludedir
=$ac_optarg ;;
987 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
989 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
992 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
993 |
--program-pre |
--program-pr |
--program-p)
994 ac_prev
=program_prefix
;;
995 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
996 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
997 program_prefix
=$ac_optarg ;;
999 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1000 |
--program-suf |
--program-su |
--program-s)
1001 ac_prev
=program_suffix
;;
1002 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1003 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1004 program_suffix
=$ac_optarg ;;
1006 -program-transform-name |
--program-transform-name \
1007 |
--program-transform-nam |
--program-transform-na \
1008 |
--program-transform-n |
--program-transform- \
1009 |
--program-transform |
--program-transfor \
1010 |
--program-transfo |
--program-transf \
1011 |
--program-trans |
--program-tran \
1012 |
--progr-tra |
--program-tr |
--program-t)
1013 ac_prev
=program_transform_name
;;
1014 -program-transform-name=* |
--program-transform-name=* \
1015 |
--program-transform-nam=* |
--program-transform-na=* \
1016 |
--program-transform-n=* |
--program-transform-=* \
1017 |
--program-transform=* |
--program-transfor=* \
1018 |
--program-transfo=* |
--program-transf=* \
1019 |
--program-trans=* |
--program-tran=* \
1020 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1021 program_transform_name
=$ac_optarg ;;
1023 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1025 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1026 pdfdir
=$ac_optarg ;;
1028 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1030 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1033 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1034 |
-silent |
--silent |
--silen |
--sile |
--sil)
1037 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1039 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1041 sbindir
=$ac_optarg ;;
1043 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1044 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1045 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1047 ac_prev
=sharedstatedir
;;
1048 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1049 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1050 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1052 sharedstatedir
=$ac_optarg ;;
1054 -site |
--site |
--sit)
1056 -site=* |
--site=* |
--sit=*)
1059 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1061 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1062 srcdir
=$ac_optarg ;;
1064 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1065 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1066 ac_prev
=sysconfdir
;;
1067 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1068 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1069 sysconfdir
=$ac_optarg ;;
1071 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1072 ac_prev
=target_alias
;;
1073 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1074 target_alias
=$ac_optarg ;;
1076 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1079 -version |
--version |
--versio |
--versi |
--vers |
-V)
1080 ac_init_version
=: ;;
1083 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error
"invalid package name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval with_
$ac_useropt=\
$ac_optarg ;;
1098 -without-* |
--without-*)
1099 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1102 as_fn_error
"invalid package name: $ac_useropt"
1103 ac_useropt_orig
=$ac_useropt
1104 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep
=', ';;
1112 eval with_
$ac_useropt=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) as_fn_error
"unrecognized option: \`$ac_option'
1133 Try \`$0 --help' for more information."
1137 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 case $ac_envvar in #(
1140 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1141 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 as_fn_error
"missing argument to $ac_option"
1162 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1165 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 # Check all directory arguments for consistency.
1171 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1174 libdir localedir mandir
1176 eval ac_val
=\$
$ac_var
1177 # Remove trailing slashes.
1180 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\
$ac_val;;
1183 # Be sure to have absolute directory names.
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 as_fn_error
"working directory cannot be determined"
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 as_fn_error
"pwd does not report name of working directory"
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted
=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir
=`$as_dirname -- "$as_myself" ||
1228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$as_myself" : 'X\(//\)[^/]' \| \
1230 X"$as_myself" : 'X\(//\)$' \| \
1231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1232 $as_echo X"$as_myself" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1255 ac_srcdir_defaulted
=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1259 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1261 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1265 # When building in place, set srcdir=.
1266 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 # Remove unnecessary trailing slashes from srcdir.
1270 # Double slashes in file names in object file debugging info
1271 # mess up M-x gdb in Emacs.
1273 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275 for ac_var
in $ac_precious_vars; do
1276 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1277 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1278 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1279 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1283 # Report the --help message.
1285 if test "$ac_init_help" = "long"; then
1286 # Omit some internal or obsolete options to make the list less imposing.
1287 # This message is too long to be a string in the A/UX 3.1 sh.
1289 \`configure' configures LTO plugin for ld 0.1 to adapt to many kinds of systems.
1291 Usage: $0 [OPTION]... [VAR=VALUE]...
1293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294 VAR=VALUE. See below for descriptions of some of the useful variables.
1296 Defaults for the options are specified in brackets.
1299 -h, --help display this help and exit
1300 --help=short display options specific to this package
1301 --help=recursive display the short help of all the included packages
1302 -V, --version display version information and exit
1303 -q, --quiet, --silent do not print \`checking...' messages
1304 --cache-file=FILE cache test results in FILE [disabled]
1305 -C, --config-cache alias for \`--cache-file=config.cache'
1306 -n, --no-create do not create output files
1307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1309 Installation directories:
1310 --prefix=PREFIX install architecture-independent files in PREFIX
1311 [$ac_default_prefix]
1312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 By default, \`make install' will install all the files in
1316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318 for instance \`--prefix=\$HOME'.
1320 For better control, use the options below.
1322 Fine tuning of the installation directories:
1323 --bindir=DIR user executables [EPREFIX/bin]
1324 --sbindir=DIR system admin executables [EPREFIX/sbin]
1325 --libexecdir=DIR program executables [EPREFIX/libexec]
1326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/lto-plugin]
1338 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR]
1347 --program-prefix=PREFIX prepend PREFIX to installed program names
1348 --program-suffix=SUFFIX append SUFFIX to installed program names
1349 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1352 --build=BUILD configure
for building on BUILD
[guessed
]
1353 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1354 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive
) echo "Configuration of LTO plugin for ld 0.1:";;
1365 --disable-option-checking ignore unrecognized
--enable/--with options
1366 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1367 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1368 --enable-maintainer-mode enable make rules and dependencies not useful
1369 (and sometimes confusing
) to the casual installer
1370 --disable-dependency-tracking speeds up one-time build
1371 --enable-dependency-tracking do not reject slow dependency extractors
1372 --disable-largefile omit support
for large files
1373 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1374 --enable-static[=PKGS
] build static libraries
[default
=yes]
1375 --enable-fast-install[=PKGS
]
1376 optimize
for fast installation
[default
=yes]
1377 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1380 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1381 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1382 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1383 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1385 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1387 Some influential environment variables
:
1388 CC C compiler
command
1389 CFLAGS C compiler flags
1390 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1391 nonstandard directory
<lib dir
>
1392 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1393 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1394 you have headers
in a nonstandard directory
<include dir
>
1395 LIBELFLIBS How to link libelf
1396 LIBELFINC How to
find libelf include files
1399 Use these variables to override the choices made by
`configure' or to help
1400 it to find libraries and programs with nonstandard names/locations.
1402 Report bugs to the package provider.
1407 if test "$ac_init_help" = "recursive"; then
1408 # If there are subdirs, report their specific --help.
1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1410 test -d "$ac_dir" ||
1411 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1419 # A ".." for each directory in $ac_dir_suffix.
1420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1421 case $ac_top_builddir_sub in
1422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426 ac_abs_top_builddir=$ac_pwd
1427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1428 # for backward compatibility:
1429 ac_top_builddir=$ac_top_build_prefix
1432 .) # We are building in place.
1434 ac_top_srcdir=$ac_top_builddir_sub
1435 ac_abs_top_srcdir=$ac_pwd ;;
1436 [\\/]* | ?:[\\/]* ) # Absolute name.
1437 ac_srcdir=$srcdir$ac_dir_suffix;
1438 ac_top_srcdir=$srcdir
1439 ac_abs_top_srcdir=$srcdir ;;
1441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1442 ac_top_srcdir=$ac_top_build_prefix$srcdir
1443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1447 cd "$ac_dir" || { ac_status=$?; continue; }
1448 # Check for guested configure.
1449 if test -f "$ac_srcdir/configure.gnu"; then
1451 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1452 elif test -f "$ac_srcdir/configure"; then
1454 $SHELL "$ac_srcdir/configure" --help=recursive
1456 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 cd "$ac_pwd" || { ac_status=$?; break; }
1462 test -n "$ac_init_help" && exit $ac_status
1463 if $ac_init_version; then
1465 LTO plugin for ld configure 0.1
1466 generated by GNU Autoconf 2.64
1468 Copyright (C) 2009 Free Software Foundation, Inc.
1469 This configure script is free software; the Free Software Foundation
1470 gives unlimited permission to copy, distribute and modify it.
1475 ## ------------------------ ##
1476 ## Autoconf initialization. ##
1477 ## ------------------------ ##
1479 # ac_fn_c_try_compile LINENO
1480 # --------------------------
1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1482 ac_fn_c_try_compile ()
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 rm -f conftest.$ac_objext
1486 if { { ac_try="$ac_compile"
1488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1489 *) ac_try_echo
=$ac_try;;
1491 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1492 $as_echo "$ac_try_echo"; } >&5
1493 (eval "$ac_compile") 2>conftest.err
1495 if test -s conftest.err
; then
1496 grep -v '^ *+' conftest.err
>conftest.er1
1497 cat conftest.er1
>&5
1498 mv -f conftest.er1 conftest.err
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1501 test $ac_status = 0; } && {
1502 test -z "$ac_c_werror_flag" ||
1503 test ! -s conftest.err
1504 } && test -s conftest.
$ac_objext; then :
1507 $as_echo "$as_me: failed program was:" >&5
1508 sed 's/^/| /' conftest.
$ac_ext >&5
1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1515 } # ac_fn_c_try_compile
1517 # ac_fn_c_try_link LINENO
1518 # -----------------------
1519 # Try to link conftest.$ac_ext, and return whether this succeeded.
1522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1523 rm -f conftest.
$ac_objext conftest
$ac_exeext
1524 if { { ac_try
="$ac_link"
1526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_link") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && {
1540 test -z "$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1542 } && test -s conftest$ac_exeext && {
1543 test "$cross_compiling" = yes ||
1544 $as_test_x conftest$ac_exeext
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1554 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1555 # interfere with the next link command; also delete a directory that is
1556 # left behind by Apple's compiler. We do this before executing the actions.
1557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 } # ac_fn_c_try_link
1563 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1564 # -------------------------------------------------------
1565 # Tests whether HEADER exists and can be compiled using the include files in
1566 # INCLUDES, setting the cache variable VAR accordingly.
1567 ac_fn_c_check_header_compile ()
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1571 $as_echo_n "checking for $2... " >&6; }
1572 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1573 $as_echo_n "(cached) " >&6
1575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1576 /* end confdefs.h. */
1580 if ac_fn_c_try_compile "$LINENO"; then :
1585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; }
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1592 } # ac_fn_c_check_header_compile
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } >/dev
/null
&& {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1631 # ac_fn_c_try_run LINENO
1632 # ----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1634 # that executables *can* be run.
1637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1638 if { { ac_try
="$ac_link"
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1649 { { case "(($ac_try" in
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_try") 2>&5
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; }; }; then :
1661 $as_echo "$as_me: program exited with status $ac_status" >&5
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.
$ac_ext >&5
1665 ac_retval
=$ac_status
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1673 # ac_fn_c_check_func LINENO FUNC VAR
1674 # ----------------------------------
1675 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1676 ac_fn_c_check_func
()
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1686 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1688 #define $2 innocuous_$2
1690 /* System header to define __stub macros and hopefully few prototypes,
1691 which can conflict with char $2 (); below.
1692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1693 <limits.h> exists even on freestanding compilers. */
1696 # include <limits.h>
1698 # include <assert.h>
1703 /* Override any GCC internal prototype to avoid an error.
1704 Use char because int might match the return type of a GCC
1705 builtin and then its argument prototype would still apply. */
1710 /* The GNU C library defines this for functions which it implements
1711 to always fail with ENOSYS. Some functions are actually named
1712 something starting with __ and the normal name is an alias. */
1713 #if defined __stub_$2 || defined __stub___$2
1725 if ac_fn_c_try_link
"$LINENO"; then :
1730 rm -f core conftest.err conftest.
$ac_objext \
1731 conftest
$ac_exeext conftest.
$ac_ext
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1735 $as_echo "$ac_res" >&6; }
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1738 } # ac_fn_c_check_func
1740 # ac_fn_c_find_uintX_t LINENO BITS VAR
1741 # ------------------------------------
1742 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1744 ac_fn_c_find_uintX_t
()
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1748 $as_echo_n "checking for uint$2_t... " >&6; }
1749 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1750 $as_echo_n "(cached) " >&6
1753 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1754 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1757 $ac_includes_default
1761 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
1768 if ac_fn_c_try_compile
"$LINENO"; then :
1773 eval "$3=\$ac_type" ;;
1776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1778 if test "x$as_val" = x
""no
; then :
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1790 } # ac_fn_c_find_uintX_t
1791 cat >config.log
<<_ACEOF
1792 This file contains any messages produced by compilers while
1793 running configure, to aid debugging if configure makes a mistake.
1795 It was created by LTO plugin for ld $as_me 0.1, which was
1796 generated by GNU Autoconf 2.64. Invocation command line was
1808 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1809 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1810 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1811 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1812 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1814 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1815 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1817 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1818 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1819 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1820 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1821 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1822 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1823 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1831 test -z "$as_dir" && as_dir
=.
1832 $as_echo "PATH: $as_dir"
1848 # Keep a trace of the command line.
1849 # Strip out --no-create and --no-recursion so they do not pile up.
1850 # Strip out --silent because we don't want to record it for future runs.
1851 # Also quote any args containing shell meta-characters.
1852 # Make two passes to allow for proper duplicate-argument suppression.
1856 ac_must_keep_next
=false
1862 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1863 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1864 |
-silent |
--silent |
--silen |
--sile |
--sil)
1867 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1870 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1872 as_fn_append ac_configure_args1
" '$ac_arg'"
1873 if test $ac_must_keep_next = true
; then
1874 ac_must_keep_next
=false
# Got value, back to normal.
1877 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1878 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1879 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1880 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1881 case "$ac_configure_args0 " in
1882 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1885 -* ) ac_must_keep_next
=true
;;
1888 as_fn_append ac_configure_args
" '$ac_arg'"
1893 { ac_configure_args0
=; unset ac_configure_args0
;}
1894 { ac_configure_args1
=; unset ac_configure_args1
;}
1896 # When interrupted or exit'd, cleanup temporary files, and complete
1897 # config.log. We remove comments because anyway the quotes in there
1898 # would cause problems or look ugly.
1899 # WARNING: Use '\'' to represent an apostrophe within the trap.
1900 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1901 trap 'exit_status=$?
1902 # Save into config.log some information that might help in debugging.
1907 ## ---------------- ##
1908 ## Cache variables. ##
1909 ## ---------------- ##
1912 # The following way of writing the cache mishandles newlines in values,
1914 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1915 eval ac_val=\$$ac_var
1919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1923 _ | IFS | as_nl) ;; #(
1924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1925 *) { eval $ac_var=; unset $ac_var;} ;;
1930 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1931 *${as_nl}ac_space=\ *)
1933 "s/'\''/'\''\\\\'\'''\''/g;
1934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1945 ## ----------------- ##
1946 ## Output variables. ##
1947 ## ----------------- ##
1950 for ac_var in $ac_subst_vars
1952 eval ac_val=\$$ac_var
1954 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1956 $as_echo "$ac_var='\''$ac_val'\''"
1960 if test -n "$ac_subst_files"; then
1962 ## ------------------- ##
1963 ## File substitutions. ##
1964 ## ------------------- ##
1967 for ac_var
in $ac_subst_files
1969 eval ac_val
=\$
$ac_var
1971 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1973 $as_echo "$ac_var='\''$ac_val'\''"
1978 if test -s confdefs.h; then
1988 test "$ac_signal" != 0 &&
1989 $as_echo "$as_me: caught signal $ac_signal"
1990 $as_echo "$as_me: exit $exit_status"
1992 rm -f core *.core core.conftest.* &&
1993 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1996 for ac_signal
in 1 2 13 15; do
1997 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2001 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2002 rm -f -r conftest
* confdefs.h
2004 $as_echo "/* confdefs.h */" > confdefs.h
2006 # Predefined preprocessor variables.
2008 cat >>confdefs.h
<<_ACEOF
2009 #define PACKAGE_NAME "$PACKAGE_NAME"
2012 cat >>confdefs.h
<<_ACEOF
2013 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2016 cat >>confdefs.h
<<_ACEOF
2017 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2020 cat >>confdefs.h
<<_ACEOF
2021 #define PACKAGE_STRING "$PACKAGE_STRING"
2024 cat >>confdefs.h
<<_ACEOF
2025 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2028 cat >>confdefs.h
<<_ACEOF
2029 #define PACKAGE_URL "$PACKAGE_URL"
2033 # Let the site file select an alternate cache file if it wants to.
2034 # Prefer an explicitly selected file to automatically selected ones.
2037 if test -n "$CONFIG_SITE"; then
2038 ac_site_file1
=$CONFIG_SITE
2039 elif test "x$prefix" != xNONE
; then
2040 ac_site_file1
=$prefix/share
/config.site
2041 ac_site_file2
=$prefix/etc
/config.site
2043 ac_site_file1
=$ac_default_prefix/share
/config.site
2044 ac_site_file2
=$ac_default_prefix/etc
/config.site
2046 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2048 test "x$ac_site_file" = xNONE
&& continue
2049 if test -r "$ac_site_file"; then
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2051 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2052 sed 's/^/| /' "$ac_site_file" >&5
2057 if test -r "$cache_file"; then
2058 # Some versions of bash will fail to source /dev/null (special
2059 # files actually), so we avoid doing that.
2060 if test -f "$cache_file"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2062 $as_echo "$as_me: loading cache $cache_file" >&6;}
2064 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2065 *) .
"./$cache_file";;
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2070 $as_echo "$as_me: creating cache $cache_file" >&6;}
2074 # Check that the precious variables saved in the cache have kept the same
2076 ac_cache_corrupted
=false
2077 for ac_var
in $ac_precious_vars; do
2078 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2079 eval ac_new_set
=\
$ac_env_${ac_var}_set
2080 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2081 eval ac_new_val
=\
$ac_env_${ac_var}_value
2082 case $ac_old_set,$ac_new_set in
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2085 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2086 ac_cache_corrupted
=: ;;
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2089 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2090 ac_cache_corrupted
=: ;;
2093 if test "x$ac_old_val" != "x$ac_new_val"; then
2094 # differences in whitespace do not lead to failure.
2095 ac_old_val_w
=`echo x $ac_old_val`
2096 ac_new_val_w
=`echo x $ac_new_val`
2097 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2099 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2100 ac_cache_corrupted
=:
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2103 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2104 eval $ac_var=\
$ac_old_val
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2107 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2109 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2112 # Pass precious variables to config.status.
2113 if test "$ac_new_set" = set; then
2115 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 *) ac_arg
=$ac_var=$ac_new_val ;;
2118 case " $ac_configure_args " in
2119 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2120 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2124 if $ac_cache_corrupted; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2128 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2129 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2131 ## -------------------- ##
2132 ## Main body of script. ##
2133 ## -------------------- ##
2136 ac_cpp
='$CPP $CPPFLAGS'
2137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2146 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2147 for ac_t
in install-sh
install.sh shtool
; do
2148 if test -f "$ac_dir/$ac_t"; then
2150 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2155 if test -z "$ac_aux_dir"; then
2156 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2159 # These three variables are undocumented and unsupported,
2160 # and are intended to be withdrawn in a future Autoconf release.
2161 # They can cause serious problems if a builder's source tree is in a directory
2162 # whose full name contains unusual characters.
2163 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2164 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2165 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2168 # Make sure we can run config.sub.
2169 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2170 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2173 $as_echo_n "checking build system type... " >&6; }
2174 if test "${ac_cv_build+set}" = set; then :
2175 $as_echo_n "(cached) " >&6
2177 ac_build_alias
=$build_alias
2178 test "x$ac_build_alias" = x
&&
2179 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2180 test "x$ac_build_alias" = x
&&
2181 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2182 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2183 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2187 $as_echo "$ac_cv_build" >&6; }
2188 case $ac_cv_build in
2190 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2193 ac_save_IFS
=$IFS; IFS
='-'
2199 # Remember, the first character of IFS is used to create $*,
2200 # except with old shells:
2203 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2207 $as_echo_n "checking host system type... " >&6; }
2208 if test "${ac_cv_host+set}" = set; then :
2209 $as_echo_n "(cached) " >&6
2211 if test "x$host_alias" = x
; then
2212 ac_cv_host
=$ac_cv_build
2214 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2215 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2220 $as_echo "$ac_cv_host" >&6; }
2223 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2226 ac_save_IFS
=$IFS; IFS
='-'
2232 # Remember, the first character of IFS is used to create $*,
2233 # except with old shells:
2236 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2240 $as_echo_n "checking target system type... " >&6; }
2241 if test "${ac_cv_target+set}" = set; then :
2242 $as_echo_n "(cached) " >&6
2244 if test "x$target_alias" = x
; then
2245 ac_cv_target
=$ac_cv_host
2247 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2248 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2253 $as_echo "$ac_cv_target" >&6; }
2254 case $ac_cv_target in
2256 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2258 target
=$ac_cv_target
2259 ac_save_IFS
=$IFS; IFS
='-'
2265 # Remember, the first character of IFS is used to create $*,
2266 # except with old shells:
2269 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2272 # The aliases save the names the user supplied, while $host etc.
2273 # will get canonicalized.
2274 test -n "$target_alias" &&
2275 test "$program_prefix$program_suffix$program_transform_name" = \
2277 program_prefix
=${target_alias}-
2279 case ${build_alias} in
2280 "") build_noncanonical
=${build} ;;
2281 *) build_noncanonical
=${build_alias} ;;
2284 case ${host_alias} in
2285 "") host_noncanonical
=${build_noncanonical} ;;
2286 *) host_noncanonical
=${host_alias} ;;
2289 case ${target_alias} in
2290 "") target_noncanonical
=${host_noncanonical} ;;
2291 *) target_noncanonical
=${target_alias} ;;
2295 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2296 # have matching libraries, they should use host libraries: Makefile.tpl
2297 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2298 # However, they still use the build modules, because the corresponding
2299 # host modules (e.g. bison) are only built for the host when bootstrap
2301 # - build_subdir is where we find build modules, and never changes.
2302 # - build_libsubdir is where we find build libraries, and can be overridden.
2304 # Prefix 'build-' so this never conflicts with target_subdir.
2305 build_subdir
="build-${build_noncanonical}"
2307 # Check whether --with-build-libsubdir was given.
2308 if test "${with_build_libsubdir+set}" = set; then :
2309 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2311 build_libsubdir
="$build_subdir"
2314 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2315 if ( test $srcdir = .
&& test -d gcc
) \
2316 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2317 host_subdir
="host-${host_noncanonical}"
2322 target_subdir
=${target_noncanonical}
2324 am__api_version
='1.11'
2326 # Find a good install program. We prefer a C program (faster),
2327 # so one script is as good as another. But avoid the broken or
2328 # incompatible versions:
2329 # SysV /etc/install, /usr/sbin/install
2330 # SunOS /usr/etc/install
2331 # IRIX /sbin/install
2333 # AmigaOS /C/install, which installs bootblocks on floppy discs
2334 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2335 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2336 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2337 # OS/2's system install, which has a completely different semantic
2338 # ./install, which can be erroneously created by make from ./install.sh.
2339 # Reject install programs that cannot install multiple files.
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2341 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2342 if test -z "$INSTALL"; then
2343 if test "${ac_cv_path_install+set}" = set; then :
2344 $as_echo_n "(cached) " >&6
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 # Account for people who put trailing slashes in PATH elements.
2352 case $as_dir/ in #((
2353 .
/ | .
// |
/[cC
]/* | \
2354 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2355 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2358 # OSF1 and SCO ODT 3.0 have their own names for install.
2359 # Don't use installbsd from OSF since it installs stuff as root
2361 for ac_prog
in ginstall scoinst
install; do
2362 for ac_exec_ext
in '' $ac_executable_extensions; do
2363 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2364 if test $ac_prog = install &&
2365 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2366 # AIX install. It has an incompatible calling convention.
2368 elif test $ac_prog = install &&
2369 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2370 # program-specific install script used by HP pwplus--don't use.
2373 rm -rf conftest.one conftest.two conftest.dir
2374 echo one
> conftest.one
2375 echo two
> conftest.two
2377 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2378 test -s conftest.one
&& test -s conftest.two
&&
2379 test -s conftest.dir
/conftest.one
&&
2380 test -s conftest.dir
/conftest.two
2382 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2395 rm -rf conftest.one conftest.two conftest.dir
2398 if test "${ac_cv_path_install+set}" = set; then
2399 INSTALL
=$ac_cv_path_install
2401 # As a last resort, use the slow shell script. Don't cache a
2402 # value for INSTALL within a source directory, because that will
2403 # break other packages using the cache if that directory is
2404 # removed, or if the value is a relative name.
2405 INSTALL
=$ac_install_sh
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2409 $as_echo "$INSTALL" >&6; }
2411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2412 # It thinks the first close brace ends the variable substitution.
2413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2417 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2420 $as_echo_n "checking whether build environment is sane... " >&6; }
2423 echo timestamp
> conftest.
file
2424 # Reject unsafe characters in $srcdir or the absolute working directory
2425 # name. Accept space and tab only in the latter.
2429 *[\\\"\
#\$\&\'\`$am_lf]*)
2430 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2433 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2434 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2437 # Do `set' in a subshell so we don't clobber the current shell's
2438 # arguments. Must try -L first in case configure is actually a
2439 # symlink; some systems play weird games with the mod time of symlinks
2440 # (eg FreeBSD returns the mod time of the symlink's containing
2443 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2444 if test "$*" = "X"; then
2446 set X
`ls -t "$srcdir/configure" conftest.file`
2449 if test "$*" != "X $srcdir/configure conftest.file" \
2450 && test "$*" != "X conftest.file $srcdir/configure"; then
2452 # If neither matched, then we have a broken ls. This can happen
2453 # if, for instance, CONFIG_SHELL is bash and it inherits a
2454 # broken ls alias from the environment. This has actually
2455 # happened. Such a system could not be considered "sane".
2456 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2457 alias in your environment" "$LINENO" 5
2460 test "$2" = conftest.
file
2466 as_fn_error
"newly created file is older than distributed files!
2467 Check your system clock" "$LINENO" 5
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2470 $as_echo "yes" >&6; }
2471 test "$program_prefix" != NONE
&&
2472 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2473 # Use a double $ so make ignores it.
2474 test "$program_suffix" != NONE
&&
2475 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2476 # Double any \ or $.
2477 # By default was `s,x,x', remove it if useless.
2478 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2479 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2481 # expand $ac_aux_dir to an absolute path
2482 am_aux_dir
=`cd $ac_aux_dir && pwd`
2484 if test x
"${MISSING+set}" != xset
; then
2487 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2489 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2492 # Use eval to expand $SHELL
2493 if eval "$MISSING --run true"; then
2494 am_missing_run
="$MISSING --run "
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2498 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2501 if test x
"${install_sh}" != xset
; then
2504 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2506 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2510 # Installed binaries are usually stripped using `strip' when the user
2511 # run `make install-strip'. However `strip' might not be the right
2512 # tool to use in cross-compilation environments, therefore Automake
2513 # will honor the `STRIP' environment variable to overrule this program.
2514 if test "$cross_compiling" != no
; then
2515 if test -n "$ac_tool_prefix"; then
2516 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2517 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2519 $as_echo_n "checking for $ac_word... " >&6; }
2520 if test "${ac_cv_prog_STRIP+set}" = set; then :
2521 $as_echo_n "(cached) " >&6
2523 if test -n "$STRIP"; then
2524 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir
=.
2531 for ac_exec_ext
in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 STRIP
=$ac_cv_prog_STRIP
2544 if test -n "$STRIP"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2546 $as_echo "$STRIP" >&6; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 $as_echo "no" >&6; }
2554 if test -z "$ac_cv_prog_STRIP"; then
2556 # Extract the first word of "strip", so it can be a program name with args.
2557 set dummy strip
; ac_word
=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2563 if test -n "$ac_ct_STRIP"; then
2564 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir
=.
2571 for ac_exec_ext
in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2573 ac_cv_prog_ac_ct_STRIP
="strip"
2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2584 if test -n "$ac_ct_STRIP"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2586 $as_echo "$ac_ct_STRIP" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2592 if test "x$ac_ct_STRIP" = x
; then
2595 case $cross_compiling:$ac_tool_warned in
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2599 ac_tool_warned
=yes ;;
2604 STRIP
="$ac_cv_prog_STRIP"
2608 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2611 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2612 if test -z "$MKDIR_P"; then
2613 if test "${ac_cv_path_mkdir+set}" = set; then :
2614 $as_echo_n "(cached) " >&6
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2617 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_prog
in mkdir gmkdir
; do
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2624 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2625 'mkdir (GNU coreutils) '* | \
2626 'mkdir (coreutils) '* | \
2627 'mkdir (fileutils) '4.1*)
2628 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2638 if test "${ac_cv_path_mkdir+set}" = set; then
2639 MKDIR_P
="$ac_cv_path_mkdir -p"
2641 # As a last resort, use the slow shell script. Don't cache a
2642 # value for MKDIR_P within a source directory, because that will
2643 # break other packages using the cache if that directory is
2644 # removed, or if the value is a relative name.
2645 test -d .
/--version && rmdir .
/--version
2646 MKDIR_P
="$ac_install_sh -d"
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2650 $as_echo "$MKDIR_P" >&6; }
2654 [\\/$
]* | ?
:[\\/]*) ;;
2655 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2658 for ac_prog
in gawk mawk nawk
awk
2660 # Extract the first word of "$ac_prog", so it can be a program name with args.
2661 set dummy
$ac_prog; ac_word
=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if test "${ac_cv_prog_AWK+set}" = set; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$AWK"; then
2668 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir
=.
2675 for ac_exec_ext
in '' $ac_executable_extensions; do
2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_AWK
="$ac_prog"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 if test -n "$AWK"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2690 $as_echo "$AWK" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2697 test -n "$AWK" && break
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2701 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2703 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2704 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2705 $as_echo_n "(cached) " >&6
2707 cat >conftest.
make <<\_ACEOF
2710 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2712 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2713 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2715 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2717 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2721 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2723 $as_echo "yes" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 SET_MAKE
="MAKE=${MAKE-make}"
2731 rm -rf .tst
2>/dev
/null
2732 mkdir .tst
2>/dev
/null
2733 if test -d .tst
; then
2738 rmdir .tst
2>/dev
/null
2740 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2741 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2742 # is not polluted with repeated "-I."
2743 am__isrc
=' -I$(srcdir)'
2744 # test to see if srcdir already configured
2745 if test -f $srcdir/config.status
; then
2746 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2750 # test whether we have cygpath
2751 if test -z "$CYGPATH_W"; then
2752 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2753 CYGPATH_W
='cygpath -w'
2760 # Define the identity of the package.
2761 PACKAGE
='lto-plugin'
2765 cat >>confdefs.h
<<_ACEOF
2766 #define PACKAGE "$PACKAGE"
2770 cat >>confdefs.h
<<_ACEOF
2771 #define VERSION "$VERSION"
2774 # Some tools Automake needs.
2776 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2779 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2782 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2785 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2788 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2790 # We need awk for the "check" target. The system "awk" is bad on
2792 # Always define AMTAR for backward compatibility.
2794 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2796 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2804 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2805 # Check whether --enable-maintainer-mode was given.
2806 if test "${enable_maintainer_mode+set}" = set; then :
2807 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2809 USE_MAINTAINER_MODE
=no
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2813 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2814 if test $USE_MAINTAINER_MODE = yes; then
2815 MAINTAINER_MODE_TRUE
=
2816 MAINTAINER_MODE_FALSE
='#'
2818 MAINTAINER_MODE_TRUE
='#'
2819 MAINTAINER_MODE_FALSE
=
2822 MAINT
=$MAINTAINER_MODE_TRUE
2826 ac_cpp
='$CPP $CPPFLAGS'
2827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2830 if test -n "$ac_tool_prefix"; then
2831 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2832 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if test "${ac_cv_prog_CC+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2838 if test -n "$CC"; then
2839 ac_cv_prog_CC
="$CC" # Let the user override the test.
2841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir
=.
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 if test -n "$CC"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2861 $as_echo "$CC" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2869 if test -z "$ac_cv_prog_CC"; then
2871 # Extract the first word of "gcc", so it can be a program name with args.
2872 set dummy gcc
; ac_word
=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$ac_ct_CC"; then
2879 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2888 ac_cv_prog_ac_ct_CC
="gcc"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2899 if test -n "$ac_ct_CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2901 $as_echo "$ac_ct_CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2907 if test "x$ac_ct_CC" = x
; then
2910 case $cross_compiling:$ac_tool_warned in
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2914 ac_tool_warned
=yes ;;
2922 if test -z "$CC"; then
2923 if test -n "$ac_tool_prefix"; then
2924 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2925 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test "${ac_cv_prog_CC+set}" = set; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$CC"; then
2932 ac_cv_prog_CC
="$CC" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 if test -n "$CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2954 $as_echo "$CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2963 if test -z "$CC"; then
2964 # Extract the first word of "cc", so it can be a program name with args.
2965 set dummy cc
; ac_word
=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if test "${ac_cv_prog_CC+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$CC"; then
2972 ac_cv_prog_CC
="$CC" # Let the user override the test.
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2983 ac_prog_rejected
=yes
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 if test $ac_prog_rejected = yes; then
2995 # We found a bogon in the path, so make sure we never use it.
2996 set dummy
$ac_cv_prog_CC
2998 if test $# != 0; then
2999 # We chose a different compiler from the bogus one.
3000 # However, it has the same basename, so the bogon will be chosen
3001 # first if we set CC to just the basename; use the full file name.
3003 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3009 if test -n "$CC"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3011 $as_echo "$CC" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3019 if test -z "$CC"; then
3020 if test -n "$ac_tool_prefix"; then
3021 for ac_prog
in cl.exe
3023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3024 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if test "${ac_cv_prog_CC+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$CC"; then
3031 ac_cv_prog_CC
="$CC" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test -n "$CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3053 $as_echo "$CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$CC" && break
3063 if test -z "$CC"; then
3065 for ac_prog
in cl.exe
3067 # Extract the first word of "$ac_prog", so it can be a program name with args.
3068 set dummy
$ac_prog; ac_word
=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$ac_ct_CC"; then
3075 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for ac_exec_ext
in '' $ac_executable_extensions; do
3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3084 ac_cv_prog_ac_ct_CC
="$ac_prog"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3095 if test -n "$ac_ct_CC"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3097 $as_echo "$ac_ct_CC" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3104 test -n "$ac_ct_CC" && break
3107 if test "x$ac_ct_CC" = x
; then
3110 case $cross_compiling:$ac_tool_warned in
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3114 ac_tool_warned
=yes ;;
3123 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 as_fn_error
"no acceptable C compiler found in \$PATH
3126 See \`config.log' for more details." "$LINENO" 5; }
3128 # Provide some information about the compiler.
3129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3132 for ac_option
in --version -v -V -qversion; do
3133 { { ac_try
="$ac_compiler $ac_option >&5"
3135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3139 $as_echo "$ac_try_echo"; } >&5
3140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3142 if test -s conftest.err; then
3144 ... rest of stderr output deleted ...
3145 10q' conftest.err >conftest.er1
3146 cat conftest.er1 >&5
3147 rm -f conftest.er1 conftest.err
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; }
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3164 ac_clean_files_save=$ac_clean_files
3165 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3166 # Try to create an executable without -o first, disregard a.out.
3167 # It will help us diagnose broken compilers, and finding out an intuition
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3170 $as_echo_n "checking for C compiler default output file name... " >&6; }
3171 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3173 # The possible output files:
3174 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3177 for ac_file in $ac_files
3180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3186 if { { ac_try="$ac_link_default"
3188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3189 *) ac_try_echo
=$ac_try;;
3191 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_link_default") 2>&5
3195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196 test $ac_status = 0; }; then :
3197 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3198 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3199 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3200 # so that the user can short-circuit this test for compilers unknown to
3202 for ac_file
in $ac_files ''
3204 test -f "$ac_file" ||
continue
3206 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3209 # We found the default executable, but exeext='' is most
3213 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3215 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3217 # We set ac_cv_exeext here because the later test for it is not
3218 # safe: cross compilers may not add the suffix if given an `-o'
3219 # argument, so we may need to know it at that point already.
3220 # Even if this section looks crufty: it has the advantage of
3227 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3233 $as_echo "$ac_file" >&6; }
3234 if test -z "$ac_file"; then :
3235 $as_echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.
$ac_ext >&5
3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 { as_fn_set_status
77
3241 as_fn_error
"C compiler cannot create executables
3242 See \`config.log' for more details." "$LINENO" 5; }; }
3244 ac_exeext
=$ac_cv_exeext
3246 # Check that the compiler produces executables we can run. If not, either
3247 # the compiler is broken, or we cross compile.
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3249 $as_echo_n "checking whether the C compiler works... " >&6; }
3250 # If not cross compiling, check that we can run a simple program.
3251 if test "$cross_compiling" != yes; then
3252 if { ac_try
='./$ac_file'
3253 { { case "(($ac_try" in
3254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3255 *) ac_try_echo=$ac_try;;
3257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258 $as_echo "$ac_try_echo"; } >&5
3259 (eval "$ac_try") 2>&5
3261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3262 test $ac_status = 0; }; }; then
3265 if test "$cross_compiling" = maybe; then
3268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3270 as_fn_error "cannot run C compiled programs.
3271 If you meant to cross compile
, use \
`--host'.
3272 See \`config.log
' for more details." "$LINENO" 5; }
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3277 $as_echo "yes" >&6; }
3279 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3280 ac_clean_files=$ac_clean_files_save
3281 # Check that the compiler produces executables we can run. If not, either
3282 # the compiler is broken, or we cross compile.
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3284 $as_echo_n "checking whether we are cross compiling... " >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3286 $as_echo "$cross_compiling" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3289 $as_echo_n "checking for suffix of executables... " >&6; }
3290 if { { ac_try="$ac_link"
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_link") 2>&5
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }; then :
3301 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3302 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3303 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3305 for ac_file
in conftest.exe conftest conftest.
*; do
3306 test -f "$ac_file" ||
continue
3308 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3309 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3318 See \`config.log' for more details." "$LINENO" 5; }
3320 rm -f conftest
$ac_cv_exeext
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3322 $as_echo "$ac_cv_exeext" >&6; }
3324 rm -f conftest.
$ac_ext
3325 EXEEXT
=$ac_cv_exeext
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3328 $as_echo_n "checking for suffix of object files... " >&6; }
3329 if test "${ac_cv_objext+set}" = set; then :
3330 $as_echo_n "(cached) " >&6
3332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3343 rm -f conftest.o conftest.obj
3344 if { { ac_try
="$ac_compile"
3346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3350 $as_echo "$ac_try_echo"; } >&5
3351 (eval "$ac_compile") 2>&5
3353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3354 test $ac_status = 0; }; then :
3355 for ac_file in conftest.o conftest.obj conftest.*; do
3356 test -f "$ac_file" || continue;
3358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3359 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3364 $as_echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error "cannot compute suffix of object files
: cannot compile
3370 See \
`config.log' for more details." "$LINENO" 5; }
3372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3375 $as_echo "$ac_cv_objext" >&6; }
3376 OBJEXT=$ac_cv_objext
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3379 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3380 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3381 $as_echo_n "(cached) " >&6
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3397 if ac_fn_c_try_compile "$LINENO"; then :
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3407 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3408 if test $ac_compiler_gnu = yes; then
3413 ac_test_CFLAGS=${CFLAGS+set}
3414 ac_save_CFLAGS=$CFLAGS
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3416 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3417 if test "${ac_cv_prog_cc_g+set}" = set; then :
3418 $as_echo_n "(cached) " >&6
3420 ac_save_c_werror_flag=$ac_c_werror_flag
3421 ac_c_werror_flag=yes
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3435 if ac_fn_c_try_compile "$LINENO"; then :
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3450 if ac_fn_c_try_compile "$LINENO"; then :
3453 ac_c_werror_flag=$ac_save_c_werror_flag
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3466 if ac_fn_c_try_compile "$LINENO"; then :
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 ac_c_werror_flag=$ac_save_c_werror_flag
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3477 $as_echo "$ac_cv_prog_cc_g" >&6; }
3478 if test "$ac_test_CFLAGS" = set; then
3479 CFLAGS=$ac_save_CFLAGS
3480 elif test $ac_cv_prog_cc_g = yes; then
3481 if test "$GCC" = yes; then
3487 if test "$GCC" = yes; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3494 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3495 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3496 $as_echo_n "(cached) " >&6
3498 ac_cv_prog_cc_c89=no
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3504 #include <sys/types.h>
3505 #include <sys/stat.h>
3506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3507 struct buf { int x; };
3508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3509 static char *e (p, i)
3515 static char *f (char * (*g) (char **, int), char **p, ...)
3520 s = g (p, va_arg (v,int));
3525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3526 function prototypes and stuff, but not '\xHH' hex character constants.
3527 These don't provoke an error unfortunately, instead are silently treated
3528 as 'x'. The following induces an error, until -std is added to get
3529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3530 array size at least. It's necessary to write '\x00'==0 to get something
3531 that's true only with -std. */
3532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3534 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3535 inside strings and character constants. */
3537 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3539 int test (int i, double x);
3540 struct s1 {int (*f) (int a);};
3541 struct s2 {int (*f) (double a);};
3542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3548 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3553 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3554 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3556 CC="$ac_save_CC $ac_arg"
3557 if ac_fn_c_try_compile "$LINENO"; then :
3558 ac_cv_prog_cc_c89=$ac_arg
3560 rm -f core conftest.err conftest.$ac_objext
3561 test "x$ac_cv_prog_cc_c89" != "xno" && break
3563 rm -f conftest.$ac_ext
3568 case "x$ac_cv_prog_cc_c89" in
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3571 $as_echo "none needed" >&6; } ;;
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3574 $as_echo "unsupported" >&6; } ;;
3576 CC="$CC $ac_cv_prog_cc_c89"
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3578 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3580 if test "x$ac_cv_prog_cc_c89" != xno; then :
3585 ac_cpp='$CPP $CPPFLAGS'
3586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3589 DEPDIR="${am__leading_dot}deps"
3591 ac_config_commands="$ac_config_commands depfiles"
3594 am_make=${MAKE-make}
3595 cat > confinc << 'END'
3597 @echo this is the am__doit target
3600 # If we don't find an include directive, just comment out the code.
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3602 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3606 # First try GNU make style include.
3607 echo "include confinc" > confmf
3608 # Ignore all kinds of additional output from `make'.
3609 case `$am_make -s -f confmf 2> /dev/null` in #(
3610 *the\ am__doit\ target*)
3616 # Now try BSD make style include.
3617 if test "$am__include" = "#"; then
3618 echo '.include
"confinc"' > confmf
3619 case `$am_make -s -f confmf 2> /dev/null` in #(
3620 *the\ am__doit\ target*)
3621 am__include=.include
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3630 $as_echo "$_am_result" >&6; }
3631 rm -f confinc confmf
3633 # Check whether --enable-dependency-tracking was given.
3634 if test "${enable_dependency_tracking+set}" = set; then :
3635 enableval=$enable_dependency_tracking;
3638 if test "x$enable_dependency_tracking" != xno; then
3639 am_depcomp="$ac_aux_dir/depcomp"
3642 if test "x$enable_dependency_tracking" != xno
; then
3652 depcc
="$CC" am_compiler_list
=
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3655 $as_echo_n "checking dependency style of $depcc... " >&6; }
3656 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3660 # We make a subdir and do the tests there. Otherwise we can end up
3661 # making bogus files that we don't know about and never remove. For
3662 # instance it was reported that on HP-UX the gcc test will end up
3663 # making a dummy file named `D' -- because `-MD' means `put the output
3666 # Copy depcomp to subdir because otherwise we won't find it if we're
3667 # using a relative directory.
3668 cp "$am_depcomp" conftest.dir
3670 # We will build objects and dependencies in a subdirectory because
3671 # it helps to detect inapplicable dependency modes. For instance
3672 # both Tru64's cc and ICC support -MD to output dependencies as a
3673 # side effect of compilation, but ICC will put the dependencies in
3674 # the current directory while Tru64 will put them in the object
3678 am_cv_CC_dependencies_compiler_type
=none
3679 if test "$am_compiler_list" = ""; then
3680 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3683 case " $depcc " in #(
3684 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3687 for depmode
in $am_compiler_list; do
3688 # Setup a source with many dependencies, because some compilers
3689 # like to wrap large dependency lists on column 80 (with \), and
3690 # we should not choose a depcomp mode which is confused by this.
3692 # We need to recreate these files for each test, as the compiler may
3693 # overwrite some of them when testing with obscure command lines.
3694 # This happens at least with the AIX C compiler.
3696 for i
in 1 2 3 4 5 6; do
3697 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3698 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3699 # Solaris 8's {/usr,}/bin/sh.
3700 touch sub
/conftst
$i.h
3702 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3704 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3705 # mode. It turns out that the SunPro C++ compiler does not properly
3706 # handle `-M -o', and we need to detect this. Also, some Intel
3707 # versions had trouble with output in subdirs
3708 am__obj
=sub
/conftest.
${OBJEXT-o}
3709 am__minus_obj
="-o $am__obj"
3712 # This depmode causes a compiler race in universal mode.
3713 test "$am__universal" = false ||
continue
3716 # after this tag, mechanisms are not by side-effect, so they'll
3717 # only be used when explicitly requested
3718 if test "x$enable_dependency_tracking" = xyes
; then
3724 msvisualcpp | msvcmsys
)
3725 # This compiler won't grok `-c -o', but also, the minuso test has
3726 # not run yet. These depmodes are late enough in the game, and
3727 # so weak that their functioning should not be impacted.
3728 am__obj
=conftest.
${OBJEXT-o}
3733 if depmode
=$depmode \
3734 source=sub
/conftest.c object
=$am__obj \
3735 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3736 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3737 >/dev
/null
2>conftest.err
&&
3738 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3739 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3740 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3741 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3742 # icc doesn't choke on unknown options, it will just issue warnings
3743 # or remarks (even with -Werror). So we grep stderr for any message
3744 # that says an option was ignored or not supported.
3745 # When given -MP, icc 7.0 and 7.1 complain thusly:
3746 # icc: Command line warning: ignoring option '-M'; no argument required
3747 # The diagnosis changed in icc 8.0:
3748 # icc: Command line remark: option '-MP' not supported
3749 if (grep 'ignoring option' conftest.err ||
3750 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3751 am_cv_CC_dependencies_compiler_type
=$depmode
3760 am_cv_CC_dependencies_compiler_type
=none
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3765 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3766 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3769 test "x$enable_dependency_tracking" != xno \
3770 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3772 am__fastdepCC_FALSE
='#'
3774 am__fastdepCC_TRUE
='#'
3775 am__fastdepCC_FALSE
=
3780 # Check whether --enable-largefile was given.
3781 if test "${enable_largefile+set}" = set; then :
3782 enableval
=$enable_largefile;
3785 if test "$enable_largefile" != no
; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3788 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3789 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
3790 $as_echo_n "(cached) " >&6
3792 ac_cv_sys_largefile_CC
=no
3793 if test "$GCC" != yes; then
3796 # IRIX 6.2 and later do not support large files by default,
3797 # so use the C compiler's -n32 option if that helps.
3798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3800 #include <sys/types.h>
3801 /* Check that off_t can represent 2**63 - 1 correctly.
3802 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3803 since some C++ compilers masquerading as C compilers
3804 incorrectly reject 9223372036854775807. */
3805 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3806 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3807 && LARGE_OFF_T % 2147483647 == 1)
3817 if ac_fn_c_try_compile
"$LINENO"; then :
3820 rm -f core conftest.err conftest.
$ac_objext
3822 if ac_fn_c_try_compile
"$LINENO"; then :
3823 ac_cv_sys_largefile_CC
=' -n32'; break
3825 rm -f core conftest.err conftest.
$ac_objext
3829 rm -f conftest.
$ac_ext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3833 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3834 if test "$ac_cv_sys_largefile_CC" != no
; then
3835 CC
=$CC$ac_cv_sys_largefile_CC
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3839 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3840 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
3841 $as_echo_n "(cached) " >&6
3844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h. */
3846 #include <sys/types.h>
3847 /* Check that off_t can represent 2**63 - 1 correctly.
3848 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3849 since some C++ compilers masquerading as C compilers
3850 incorrectly reject 9223372036854775807. */
3851 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3852 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3853 && LARGE_OFF_T % 2147483647 == 1)
3863 if ac_fn_c_try_compile
"$LINENO"; then :
3864 ac_cv_sys_file_offset_bits
=no
; break
3866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3869 #define _FILE_OFFSET_BITS 64
3870 #include <sys/types.h>
3871 /* Check that off_t can represent 2**63 - 1 correctly.
3872 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3873 since some C++ compilers masquerading as C compilers
3874 incorrectly reject 9223372036854775807. */
3875 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3876 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3877 && LARGE_OFF_T % 2147483647 == 1)
3887 if ac_fn_c_try_compile
"$LINENO"; then :
3888 ac_cv_sys_file_offset_bits
=64; break
3890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3891 ac_cv_sys_file_offset_bits
=unknown
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3896 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3897 case $ac_cv_sys_file_offset_bits in #(
3900 cat >>confdefs.h
<<_ACEOF
3901 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3906 if test $ac_cv_sys_file_offset_bits = unknown
; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3908 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3909 if test "${ac_cv_sys_large_files+set}" = set; then :
3910 $as_echo_n "(cached) " >&6
3913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3915 #include <sys/types.h>
3916 /* Check that off_t can represent 2**63 - 1 correctly.
3917 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3918 since some C++ compilers masquerading as C compilers
3919 incorrectly reject 9223372036854775807. */
3920 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3921 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3922 && LARGE_OFF_T % 2147483647 == 1)
3932 if ac_fn_c_try_compile
"$LINENO"; then :
3933 ac_cv_sys_large_files
=no
; break
3935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3938 #define _LARGE_FILES 1
3939 #include <sys/types.h>
3940 /* Check that off_t can represent 2**63 - 1 correctly.
3941 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3942 since some C++ compilers masquerading as C compilers
3943 incorrectly reject 9223372036854775807. */
3944 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3945 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3946 && LARGE_OFF_T % 2147483647 == 1)
3956 if ac_fn_c_try_compile
"$LINENO"; then :
3957 ac_cv_sys_large_files
=1; break
3959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3960 ac_cv_sys_large_files
=unknown
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3965 $as_echo "$ac_cv_sys_large_files" >&6; }
3966 case $ac_cv_sys_large_files in #(
3969 cat >>confdefs.h
<<_ACEOF
3970 #define _LARGE_FILES $ac_cv_sys_large_files
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3983 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3988 macro_version
='2.2.7a'
3989 macro_revision
='1.3134'
4003 ltmain
="$ac_aux_dir/ltmain.sh"
4005 # Backslashify metacharacters that are still active within
4006 # double-quoted strings.
4007 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4009 # Same as above, but do not quote variable references.
4010 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4012 # Sed substitution to delay expansion of an escaped shell variable in a
4013 # double_quote_subst'ed string.
4014 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4016 # Sed substitution to delay expansion of an escaped single quote.
4017 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4019 # Sed substitution to avoid accidental globbing in evaled expressions
4020 no_glob_subst
='s/\*/\\\*/g'
4022 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4023 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4024 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4027 $as_echo_n "checking how to print strings... " >&6; }
4028 # Test print first, because it will be a builtin if present.
4029 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4030 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4032 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4035 # Use this function as a fallback that always works.
4036 func_fallback_echo ()
4038 eval 'cat <<_LTECHO_EOF
4042 ECHO='func_fallback_echo
'
4045 # func_echo_all arg...
4046 # Invoke $ECHO with all args, space-separated.
4053 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4054 $as_echo "printf" >&6; } ;;
4055 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4056 $as_echo "print -r" >&6; } ;;
4057 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4058 $as_echo "cat" >&6; } ;;
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4075 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4076 if test "${ac_cv_path_SED+set}" = set; then :
4077 $as_echo_n "(cached) " >&6
4079 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4080 for ac_i in 1 2 3 4 5 6 7; do
4081 ac_script="$ac_script$as_nl$ac_script"
4083 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4084 { ac_script=; unset ac_script;}
4085 if test -z "$SED"; then
4086 ac_path_SED_found=false
4087 # Loop through the user's path and
test for each of PROGNAME-LIST
4088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4092 test -z "$as_dir" && as_dir
=.
4093 for ac_prog
in sed gsed
; do
4094 for ac_exec_ext
in '' $ac_executable_extensions; do
4095 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4096 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4097 # Check for GNU ac_path_SED and select it if it is found.
4098 # Check for GNU $ac_path_SED
4099 case `"$ac_path_SED" --version 2>&1` in
4101 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4104 $as_echo_n 0123456789 >"conftest.in"
4107 cat "conftest.in" "conftest.in" >"conftest.tmp"
4108 mv "conftest.tmp" "conftest.in"
4109 cp "conftest.in" "conftest.nl"
4110 $as_echo '' >> "conftest.nl"
4111 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4112 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4113 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4114 if test $ac_count -gt ${ac_path_SED_max-0}; then
4115 # Best one so far, save it but keep looking for a better one
4116 ac_cv_path_SED
="$ac_path_SED"
4117 ac_path_SED_max
=$ac_count
4119 # 10*(2^10) chars as input seems more than enough
4120 test $ac_count -gt 10 && break
4122 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4125 $ac_path_SED_found && break 3
4130 if test -z "$ac_cv_path_SED"; then
4131 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4139 $as_echo "$ac_cv_path_SED" >&6; }
4140 SED
="$ac_cv_path_SED"
4143 test -z "$SED" && SED
=sed
4144 Xsed
="$SED -e 1s/^X//"
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4157 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4158 if test "${ac_cv_path_GREP+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -z "$GREP"; then
4162 ac_path_GREP_found
=false
4163 # Loop through the user's path and test for each of PROGNAME-LIST
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4165 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_prog
in grep ggrep
; do
4170 for ac_exec_ext
in '' $ac_executable_extensions; do
4171 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4172 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4173 # Check for GNU ac_path_GREP and select it if it is found.
4174 # Check for GNU $ac_path_GREP
4175 case `"$ac_path_GREP" --version 2>&1` in
4177 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4180 $as_echo_n 0123456789 >"conftest.in"
4183 cat "conftest.in" "conftest.in" >"conftest.tmp"
4184 mv "conftest.tmp" "conftest.in"
4185 cp "conftest.in" "conftest.nl"
4186 $as_echo 'GREP' >> "conftest.nl"
4187 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4188 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4189 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4190 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4191 # Best one so far, save it but keep looking for a better one
4192 ac_cv_path_GREP
="$ac_path_GREP"
4193 ac_path_GREP_max
=$ac_count
4195 # 10*(2^10) chars as input seems more than enough
4196 test $ac_count -gt 10 && break
4198 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4201 $ac_path_GREP_found && break 3
4206 if test -z "$ac_cv_path_GREP"; then
4207 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4210 ac_cv_path_GREP
=$GREP
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4215 $as_echo "$ac_cv_path_GREP" >&6; }
4216 GREP
="$ac_cv_path_GREP"
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4220 $as_echo_n "checking for egrep... " >&6; }
4221 if test "${ac_cv_path_EGREP+set}" = set; then :
4222 $as_echo_n "(cached) " >&6
4224 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4225 then ac_cv_path_EGREP
="$GREP -E"
4227 if test -z "$EGREP"; then
4228 ac_path_EGREP_found
=false
4229 # Loop through the user's path and test for each of PROGNAME-LIST
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4231 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_prog
in egrep; do
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4238 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4239 # Check for GNU ac_path_EGREP and select it if it is found.
4240 # Check for GNU $ac_path_EGREP
4241 case `"$ac_path_EGREP" --version 2>&1` in
4243 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4246 $as_echo_n 0123456789 >"conftest.in"
4249 cat "conftest.in" "conftest.in" >"conftest.tmp"
4250 mv "conftest.tmp" "conftest.in"
4251 cp "conftest.in" "conftest.nl"
4252 $as_echo 'EGREP' >> "conftest.nl"
4253 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4254 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4255 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4256 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4257 # Best one so far, save it but keep looking for a better one
4258 ac_cv_path_EGREP
="$ac_path_EGREP"
4259 ac_path_EGREP_max
=$ac_count
4261 # 10*(2^10) chars as input seems more than enough
4262 test $ac_count -gt 10 && break
4264 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4267 $ac_path_EGREP_found && break 3
4272 if test -z "$ac_cv_path_EGREP"; then
4273 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4276 ac_cv_path_EGREP
=$EGREP
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4282 $as_echo "$ac_cv_path_EGREP" >&6; }
4283 EGREP
="$ac_cv_path_EGREP"
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4287 $as_echo_n "checking for fgrep... " >&6; }
4288 if test "${ac_cv_path_FGREP+set}" = set; then :
4289 $as_echo_n "(cached) " >&6
4291 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4292 then ac_cv_path_FGREP
="$GREP -F"
4294 if test -z "$FGREP"; then
4295 ac_path_FGREP_found
=false
4296 # Loop through the user's path and test for each of PROGNAME-LIST
4297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4301 test -z "$as_dir" && as_dir
=.
4302 for ac_prog
in fgrep
; do
4303 for ac_exec_ext
in '' $ac_executable_extensions; do
4304 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4305 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4306 # Check for GNU ac_path_FGREP and select it if it is found.
4307 # Check for GNU $ac_path_FGREP
4308 case `"$ac_path_FGREP" --version 2>&1` in
4310 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4313 $as_echo_n 0123456789 >"conftest.in"
4316 cat "conftest.in" "conftest.in" >"conftest.tmp"
4317 mv "conftest.tmp" "conftest.in"
4318 cp "conftest.in" "conftest.nl"
4319 $as_echo 'FGREP' >> "conftest.nl"
4320 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4321 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4322 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4323 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4324 # Best one so far, save it but keep looking for a better one
4325 ac_cv_path_FGREP
="$ac_path_FGREP"
4326 ac_path_FGREP_max
=$ac_count
4328 # 10*(2^10) chars as input seems more than enough
4329 test $ac_count -gt 10 && break
4331 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4334 $ac_path_FGREP_found && break 3
4339 if test -z "$ac_cv_path_FGREP"; then
4340 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4343 ac_cv_path_FGREP
=$FGREP
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4349 $as_echo "$ac_cv_path_FGREP" >&6; }
4350 FGREP
="$ac_cv_path_FGREP"
4353 test -z "$GREP" && GREP
=grep
4373 # Check whether --with-gnu-ld was given.
4374 if test "${with_gnu_ld+set}" = set; then :
4375 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4381 if test "$GCC" = yes; then
4382 # Check if gcc -print-prog-name=ld gives a path.
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4384 $as_echo_n "checking for ld used by $CC... " >&6; }
4387 # gcc leaves a trailing carriage return which upsets mingw
4388 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4390 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4393 # Accept absolute paths.
4395 re_direlt
='/[^/][^/]*/\.\./'
4396 # Canonicalize the pathname of ld
4397 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4398 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4399 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4401 test -z "$LD" && LD
="$ac_prog"
4404 # If it fails, then pretend we aren't using GCC.
4408 # If it is relative, then search for the first ld in PATH.
4412 elif test "$with_gnu_ld" = yes; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4414 $as_echo_n "checking for GNU ld... " >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4417 $as_echo_n "checking for non-GNU ld... " >&6; }
4419 if test "${lt_cv_path_LD+set}" = set; then :
4420 $as_echo_n "(cached) " >&6
4422 if test -z "$LD"; then
4423 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4424 for ac_dir
in $PATH; do
4426 test -z "$ac_dir" && ac_dir
=.
4427 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4428 lt_cv_path_LD
="$ac_dir/$ac_prog"
4429 # Check to see if the program is GNU ld. I'd rather use --version,
4430 # but apparently some variants of GNU ld only accept -v.
4431 # Break only if it was the GNU/non-GNU ld that we prefer.
4432 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4433 *GNU
* |
*'with BFD'*)
4434 test "$with_gnu_ld" != no
&& break
4437 test "$with_gnu_ld" != yes && break
4444 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4449 if test -n "$LD"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4451 $as_echo "$LD" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4456 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4458 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4459 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4460 $as_echo_n "(cached) " >&6
4462 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU
* |
*'with BFD'*)
4465 lt_cv_prog_gnu_ld
=yes
4468 lt_cv_prog_gnu_ld
=no
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4473 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4474 with_gnu_ld
=$lt_cv_prog_gnu_ld
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4485 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4486 if test "${lt_cv_path_NM+set}" = set; then :
4487 $as_echo_n "(cached) " >&6
4489 if test -n "$NM"; then
4490 # Let the user override the test.
4493 lt_nm_to_check
="${ac_tool_prefix}nm"
4494 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4495 lt_nm_to_check
="$lt_nm_to_check nm"
4497 for lt_tmp_nm
in $lt_nm_to_check; do
4498 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4499 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4501 test -z "$ac_dir" && ac_dir
=.
4502 tmp_nm
="$ac_dir/$lt_tmp_nm"
4503 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4504 # Check to see if the nm accepts a BSD-compat flag.
4505 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4506 # nm: unknown option "B" ignored
4507 # Tru64's nm complains that /dev/null is an invalid object file
4508 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4509 */dev
/null
* |
*'Invalid file or object type'*)
4510 lt_cv_path_NM
="$tmp_nm -B"
4514 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4516 lt_cv_path_NM
="$tmp_nm -p"
4520 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4521 continue # so that we can try to find one that supports BSD flags
4530 : ${lt_cv_path_NM=no}
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4534 $as_echo "$lt_cv_path_NM" >&6; }
4535 if test "$lt_cv_path_NM" != "no"; then
4538 # Didn't find any BSD compatible name lister, look for dumpbin.
4539 if test -n "$DUMPBIN"; then :
4540 # Let the user override the test.
4542 if test -n "$ac_tool_prefix"; then
4543 for ac_prog
in dumpbin
"link -dump"
4545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4546 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -n "$DUMPBIN"; then
4553 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir
=.
4560 for ac_exec_ext
in '' $ac_executable_extensions; do
4561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4562 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 DUMPBIN
=$ac_cv_prog_DUMPBIN
4573 if test -n "$DUMPBIN"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4575 $as_echo "$DUMPBIN" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4582 test -n "$DUMPBIN" && break
4585 if test -z "$DUMPBIN"; then
4586 ac_ct_DUMPBIN
=$DUMPBIN
4587 for ac_prog
in dumpbin
"link -dump"
4589 # Extract the first word of "$ac_prog", so it can be a program name with args.
4590 set dummy
$ac_prog; ac_word
=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$ac_ct_DUMPBIN"; then
4597 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir
=.
4604 for ac_exec_ext
in '' $ac_executable_extensions; do
4605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4617 if test -n "$ac_ct_DUMPBIN"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4619 $as_echo "$ac_ct_DUMPBIN" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4626 test -n "$ac_ct_DUMPBIN" && break
4629 if test "x$ac_ct_DUMPBIN" = x
; then
4632 case $cross_compiling:$ac_tool_warned in
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4636 ac_tool_warned
=yes ;;
4638 DUMPBIN
=$ac_ct_DUMPBIN
4642 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4644 DUMPBIN
="$DUMPBIN -symbols"
4652 if test "$DUMPBIN" != ":"; then
4656 test -z "$NM" && NM
=nm
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4664 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4665 if test "${lt_cv_nm_interface+set}" = set; then :
4666 $as_echo_n "(cached) " >&6
4668 lt_cv_nm_interface
="BSD nm"
4669 echo "int some_variable = 0;" > conftest.
$ac_ext
4670 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4671 (eval "$ac_compile" 2>conftest.err
)
4672 cat conftest.err
>&5
4673 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4674 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4675 cat conftest.err
>&5
4676 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4677 cat conftest.out
>&5
4678 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4679 lt_cv_nm_interface
="MS dumpbin"
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4684 $as_echo "$lt_cv_nm_interface" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4687 $as_echo_n "checking whether ln -s works... " >&6; }
4689 if test "$LN_S" = "ln -s"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4691 $as_echo "yes" >&6; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4694 $as_echo "no, using $LN_S" >&6; }
4697 # find the maximum length of command line arguments
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4699 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4700 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4708 # On DJGPP, this test can blow up pretty badly due to problems in libc
4709 # (any single argument exceeding 2000 bytes causes a buffer overrun
4710 # during glob expansion). Even if it were fixed, the result of this
4711 # check would be larger than it should be.
4712 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4716 # Under GNU Hurd, this test is not required because there is
4717 # no limit to the length of command line arguments.
4718 # Libtool will interpret -1 as no limit whatsoever
4719 lt_cv_sys_max_cmd_len
=-1;
4722 cygwin
* | mingw
* | cegcc
*)
4723 # On Win9x/ME, this test blows up -- it succeeds, but takes
4724 # about 5 minutes as the teststring grows exponentially.
4725 # Worse, since 9x/ME are not pre-emptively multitasking,
4726 # you end up with a "frozen" computer, even though with patience
4727 # the test eventually succeeds (with a max line length of 256k).
4728 # Instead, let's just punt: use the minimum linelength reported by
4729 # all of the supported platforms: 8192 (on NT/2K/XP).
4730 lt_cv_sys_max_cmd_len
=8192;
4734 # On MiNT this can take a long time and run out of memory.
4735 lt_cv_sys_max_cmd_len
=8192;
4739 # On AmigaOS with pdksh, this test takes hours, literally.
4740 # So we just punt and use a minimum line length of 8192.
4741 lt_cv_sys_max_cmd_len
=8192;
4744 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4745 # This has been around since 386BSD, at least. Likely further.
4746 if test -x /sbin
/sysctl
; then
4747 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4748 elif test -x /usr
/sbin
/sysctl
; then
4749 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4751 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4753 # And add a safety zone
4754 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4755 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4759 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4760 lt_cv_sys_max_cmd_len
=196608
4764 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4765 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4766 # nice to cause kernel panics so lets avoid the loop below.
4767 # First set a reasonable default.
4768 lt_cv_sys_max_cmd_len
=16384
4770 if test -x /sbin
/sysconfig
; then
4771 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4772 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4777 lt_cv_sys_max_cmd_len
=102400
4779 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4780 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4781 if test -n "$kargmax"; then
4782 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4784 lt_cv_sys_max_cmd_len
=32768
4788 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4789 if test -n "$lt_cv_sys_max_cmd_len"; then
4790 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4791 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4793 # Make teststring a little bigger before we do anything with it.
4794 # a 1K string should be a reasonable start.
4795 for i
in 1 2 3 4 5 6 7 8 ; do
4796 teststring
=$teststring$teststring
4798 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4799 # If test is not a shell built-in, we'll probably end up computing a
4800 # maximum length that is only half of the actual maximum length, but
4802 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4803 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4804 test $i != 17 # 1/2 MB should be enough
4807 teststring
=$teststring$teststring
4809 # Only check the string length outside the loop.
4810 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4812 # Add a significant safety factor because C++ compilers can tack on
4813 # massive amounts of additional arguments before passing them to the
4814 # linker. It appears as though 1/2 is a usable value.
4815 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4822 if test -n $lt_cv_sys_max_cmd_len ; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4824 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4827 $as_echo "none" >&6; }
4829 max_cmd_len
=$lt_cv_sys_max_cmd_len
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4841 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4842 # Try some XSI features
4845 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4847 && eval 'test $(( 1 + 1 )) -eq 2 \
4848 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4851 $as_echo "$xsi_shell" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4855 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4857 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4859 && lt_shell_append=yes
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4861 $as_echo "$lt_shell_append" >&6; }
4864 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4874 # test EBCDIC or ASCII
4875 case `echo X|tr X '\101'` in
4876 A) # ASCII based system
4877 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4878 lt_SP2NL='tr \040 \012'
4879 lt_NL2SP='tr \015\012 \040\040'
4881 *) # EBCDIC based system
4882 lt_SP2NL='tr \100 \n'
4883 lt_NL2SP='tr \r\n \100\100'
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4896 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4897 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4898 $as_echo_n "(cached
) " >&6
4900 lt_cv_ld_reload_flag='-r'
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4903 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4904 reload_flag=$lt_cv_ld_reload_flag
4905 case $reload_flag in
4907 *) reload_flag=" $reload_flag" ;;
4909 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4912 if test "$GCC" = yes; then
4913 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4915 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4932 $as_echo_n "checking
for $ac_word...
" >&6; }
4933 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4934 $as_echo_n "(cached
) " >&6
4936 if test -n "$OBJDUMP"; then
4937 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4956 OBJDUMP=$ac_cv_prog_OBJDUMP
4957 if test -n "$OBJDUMP"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4959 $as_echo "$OBJDUMP" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4962 $as_echo "no
" >&6; }
4967 if test -z "$ac_cv_prog_OBJDUMP"; then
4968 ac_ct_OBJDUMP=$OBJDUMP
4969 # Extract the first word of "objdump
", so it can be a program name with args.
4970 set dummy objdump; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4972 $as_echo_n "checking
for $ac_word...
" >&6; }
4973 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4974 $as_echo_n "(cached
) " >&6
4976 if test -n "$ac_ct_OBJDUMP"; then
4977 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4996 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4997 if test -n "$ac_ct_OBJDUMP"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4999 $as_echo "$ac_ct_OBJDUMP" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5002 $as_echo "no
" >&6; }
5005 if test "x
$ac_ct_OBJDUMP" = x; then
5008 case $cross_compiling:$ac_tool_warned in
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5011 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5012 ac_tool_warned=yes ;;
5014 OBJDUMP=$ac_ct_OBJDUMP
5017 OBJDUMP="$ac_cv_prog_OBJDUMP"
5020 test -z "$OBJDUMP" && OBJDUMP=objdump
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5031 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5032 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5033 $as_echo_n "(cached
) " >&6
5035 lt_cv_file_magic_cmd='$MAGIC_CMD'
5036 lt_cv_file_magic_test_file=
5037 lt_cv_deplibs_check_method='unknown'
5038 # Need to set the preceding variable on all platforms that support
5039 # interlibrary dependencies.
5040 # 'none' -- dependencies not supported.
5041 # `unknown' -- same as none, but documents that we really don't know.
5042 # 'pass_all' -- all dependencies passed with no checks.
5043 # 'test_compile' -- check by making test program.
5044 # 'file_magic [[regex]]' -- check by looking for files in library path
5045 # which responds to the $file_magic_cmd with a given extended regex.
5046 # If you have `file' or equivalent on your system and you're not sure
5047 # whether `pass_all' will *always* work, you probably want this one.
5051 lt_cv_deplibs_check_method=pass_all
5055 lt_cv_deplibs_check_method=pass_all
5059 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5060 lt_cv_file_magic_cmd='/usr/bin/file -L'
5061 lt_cv_file_magic_test_file=/shlib/libc.so
5065 # func_win32_libid is a shell function defined in ltmain.sh
5066 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5067 lt_cv_file_magic_cmd='func_win32_libid'
5071 # Base MSYS/MinGW do not provide the 'file' command needed by
5072 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5073 # unless we find 'file', for example because we are cross-compiling.
5074 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5075 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5076 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5077 lt_cv_file_magic_cmd='func_win32_libid'
5079 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5080 lt_cv_file_magic_cmd='$OBJDUMP -f'
5085 # use the weaker test based on 'objdump'. See mingw*.
5086 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5087 lt_cv_file_magic_cmd='$OBJDUMP -f'
5090 darwin* | rhapsody*)
5091 lt_cv_deplibs_check_method=pass_all
5094 freebsd* | dragonfly*)
5095 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5098 # Not sure whether the presence of OpenBSD here was a mistake.
5099 # Let's accept both of them until this is cleared up.
5100 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5101 lt_cv_file_magic_cmd=/usr/bin/file
5102 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5106 lt_cv_deplibs_check_method=pass_all
5111 lt_cv_deplibs_check_method=pass_all
5115 lt_cv_deplibs_check_method=pass_all
5118 hpux10.20* | hpux11*)
5119 lt_cv_file_magic_cmd=/usr/bin/file
5122 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5123 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5126 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]'
5127 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5130 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5131 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5137 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5138 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5141 irix5* | irix6* | nonstopux*)
5143 *-32|*"-32 ") libmagic=32-bit;;
5144 *-n32|*"-n32 ") libmagic=N32;;
5145 *-64|*"-64 ") libmagic=64-bit;;
5146 *) libmagic=never-match;;
5148 lt_cv_deplibs_check_method=pass_all
5151 # This must be Linux ELF.
5152 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5153 lt_cv_deplibs_check_method=pass_all
5157 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5158 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5160 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5165 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5166 lt_cv_file_magic_cmd=/usr/bin/file
5167 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5171 lt_cv_deplibs_check_method=pass_all
5175 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5176 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5178 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5182 osf3* | osf4* | osf5*)
5183 lt_cv_deplibs_check_method=pass_all
5187 lt_cv_deplibs_check_method=pass_all
5191 lt_cv_deplibs_check_method=pass_all
5194 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5195 lt_cv_deplibs_check_method=pass_all
5199 case $host_vendor in
5201 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]'
5202 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5205 lt_cv_deplibs_check_method=pass_all
5208 lt_cv_file_magic_cmd='/bin/file'
5209 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5212 lt_cv_file_magic_cmd='/bin/file'
5213 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5214 lt_cv_file_magic_test_file=/lib/libc.so
5217 lt_cv_deplibs_check_method=pass_all
5220 lt_cv_deplibs_check_method=pass_all
5226 lt_cv_deplibs_check_method=pass_all
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5232 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5233 file_magic_cmd=$lt_cv_file_magic_cmd
5234 deplibs_check_method=$lt_cv_deplibs_check_method
5235 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5248 if test -n "$ac_tool_prefix"; then
5249 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5250 set dummy ${ac_tool_prefix}ar; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5252 $as_echo_n "checking
for $ac_word...
" >&6; }
5253 if test "${ac_cv_prog_AR+set}" = set; then :
5254 $as_echo_n "(cached
) " >&6
5256 if test -n "$AR"; then
5257 ac_cv_prog_AR="$AR" # Let the user override the test.
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_AR="${ac_tool_prefix}ar"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5277 if test -n "$AR"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5279 $as_echo "$AR" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5282 $as_echo "no
" >&6; }
5287 if test -z "$ac_cv_prog_AR"; then
5289 # Extract the first word of "ar", so it can be a program name with args.
5290 set dummy ar; ac_word=$2
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5292 $as_echo_n "checking
for $ac_word...
" >&6; }
5293 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5294 $as_echo_n "(cached
) " >&6
5296 if test -n "$ac_ct_AR"; then
5297 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 test -z "$as_dir" && as_dir=.
5304 for ac_exec_ext in '' $ac_executable_extensions; do
5305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5306 ac_cv_prog_ac_ct_AR="ar"
5307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5316 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5317 if test -n "$ac_ct_AR"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5319 $as_echo "$ac_ct_AR" >&6; }
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5322 $as_echo "no
" >&6; }
5325 if test "x
$ac_ct_AR" = x; then
5328 case $cross_compiling:$ac_tool_warned in
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5331 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5332 ac_tool_warned=yes ;;
5340 test -z "$AR" && AR=ar
5341 test -z "$AR_FLAGS" && AR_FLAGS=cru
5353 if test -n "$ac_tool_prefix"; then
5354 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5355 set dummy ${ac_tool_prefix}strip; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5357 $as_echo_n "checking
for $ac_word...
" >&6; }
5358 if test "${ac_cv_prog_STRIP+set}" = set; then :
5359 $as_echo_n "(cached
) " >&6
5361 if test -n "$STRIP"; then
5362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5371 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5381 STRIP=$ac_cv_prog_STRIP
5382 if test -n "$STRIP"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5384 $as_echo "$STRIP" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5387 $as_echo "no
" >&6; }
5392 if test -z "$ac_cv_prog_STRIP"; then
5394 # Extract the first word of "strip
", so it can be a program name with args.
5395 set dummy strip; ac_word=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5397 $as_echo_n "checking
for $ac_word...
" >&6; }
5398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5399 $as_echo_n "(cached
) " >&6
5401 if test -n "$ac_ct_STRIP"; then
5402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_ac_ct_STRIP="strip
"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5422 if test -n "$ac_ct_STRIP"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5424 $as_echo "$ac_ct_STRIP" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5427 $as_echo "no
" >&6; }
5430 if test "x
$ac_ct_STRIP" = x; then
5433 case $cross_compiling:$ac_tool_warned in
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5436 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5437 ac_tool_warned=yes ;;
5442 STRIP="$ac_cv_prog_STRIP"
5445 test -z "$STRIP" && STRIP=:
5452 if test -n "$ac_tool_prefix"; then
5453 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5454 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5456 $as_echo_n "checking
for $ac_word...
" >&6; }
5457 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5458 $as_echo_n "(cached
) " >&6
5460 if test -n "$RANLIB"; then
5461 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5480 RANLIB=$ac_cv_prog_RANLIB
5481 if test -n "$RANLIB"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5483 $as_echo "$RANLIB" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5486 $as_echo "no
" >&6; }
5491 if test -z "$ac_cv_prog_RANLIB"; then
5492 ac_ct_RANLIB=$RANLIB
5493 # Extract the first word of "ranlib
", so it can be a program name with args.
5494 set dummy ranlib; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5496 $as_echo_n "checking
for $ac_word...
" >&6; }
5497 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5498 $as_echo_n "(cached
) " >&6
5500 if test -n "$ac_ct_RANLIB"; then
5501 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5520 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5521 if test -n "$ac_ct_RANLIB"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5523 $as_echo "$ac_ct_RANLIB" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5526 $as_echo "no
" >&6; }
5529 if test "x
$ac_ct_RANLIB" = x; then
5532 case $cross_compiling:$ac_tool_warned in
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5535 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5536 ac_tool_warned=yes ;;
5538 RANLIB=$ac_ct_RANLIB
5541 RANLIB="$ac_cv_prog_RANLIB"
5544 test -z "$RANLIB" && RANLIB=:
5551 # Determine commands to create old-style static archives.
5552 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5553 old_postinstall_cmds='chmod 644 $oldlib'
5554 old_postuninstall_cmds=
5556 if test -n "$RANLIB"; then
5559 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5562 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5565 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5570 lock_old_archive_extraction=yes ;;
5572 lock_old_archive_extraction=no ;;
5613 # If no C compiler was specified, use CC.
5616 # If no C compiler flags were specified, use CFLAGS.
5617 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5619 # Allow CC to be a program name with arguments.
5623 # Check for command to grab the raw symbol name followed by C symbol from nm.
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5625 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5626 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5627 $as_echo_n "(cached
) " >&6
5630 # These are sane defaults that work on at least a few old systems.
5631 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5633 # Character class describing NM global symbol codes.
5634 symcode='[BCDEGRST]'
5636 # Regexp to match symbols that can be accessed directly from C.
5637 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5639 # Define system-specific variables.
5644 cygwin* | mingw* | pw32* | cegcc*)
5645 symcode='[ABCDGISTW]'
5648 if test "$host_cpu" = ia64; then
5649 symcode='[ABCDEGRST]'
5653 symcode='[BCDEGRST]'
5656 symcode='[BCDEGQRST]'
5667 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5675 # If we're using GNU nm, then use its standard symbol codes.
5676 case `$NM -V 2>&1` in
5677 *GNU* | *'with BFD'*)
5678 symcode='[ABCDGIRSTW]' ;;
5681 # Transform an extracted symbol line into a proper C declaration.
5682 # Some systems (esp. on ia64) link data and code symbols differently,
5683 # so use this general approach.
5684 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5686 # Transform an extracted symbol line into symbol name and symbol address
5687 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5688 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'"
5690 # Handle CRLF in mingw tool chain
5694 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5698 # Try without a prefix underscore, then with it.
5699 for ac_symprfx in "" "_
"; do
5701 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5702 symxfrm="\\1 $ac_symprfx\\2 \\2"
5704 # Write the raw and C identifiers.
5705 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5706 # Fake it for dumpbin and say T for any non-static function
5707 # and D for any global variable.
5708 # Also find C++ and __fastcall symbols from MSVC++,
5709 # which start with @ or ?.
5710 lt_cv_sys_global_symbol_pipe="$AWK '"\
5711 " {last_section=section; section=\$ 3};"\
5712 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5713 " \$ 0!~/External *\|/{next};"\
5714 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5715 " {if(hide[section]) next};"\
5716 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5717 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5718 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5719 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5720 " ' prfx
=^
$ac_symprfx"
5722 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5725 # Check to see that the pipe works correctly.
5729 cat > conftest.$ac_ext <<_LT_EOF
5734 void nm_test_func(void);
5735 void nm_test_func(void){}
5739 int main(){nm_test_var='a';nm_test_func();return(0);}
5742 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5743 (eval $ac_compile) 2>&5
5745 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5746 test $ac_status = 0; }; then
5747 # Now try to grab the symbols.
5749 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5750 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5752 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5753 test $ac_status = 0; } && test -s "$nlist"; then
5754 # Try sorting and uniquifying the output.
5755 if sort "$nlist" | uniq > "$nlist"T; then
5756 mv -f "$nlist"T "$nlist"
5761 # Make sure that we snagged all the symbols we need.
5762 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5763 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5764 cat <<_LT_EOF > conftest.$ac_ext
5770 # Now generate the symbol file.
5771 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5773 cat <<_LT_EOF >> conftest.$ac_ext
5775 /* The mapping between symbol names and symbols. */
5780 lt__PROGRAM__LTX_preloaded_symbols[] =
5782 { "@PROGRAM@
", (void *) 0 },
5784 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5785 cat <<\_LT_EOF >> conftest.$ac_ext
5789 /* This works around a problem in FreeBSD linker */
5790 #ifdef FREEBSD_WORKAROUND
5791 static const void *lt_preloaded_setup() {
5792 return lt__PROGRAM__LTX_preloaded_symbols;
5800 # Now try linking the two files.
5801 mv conftest.$ac_objext conftstm.$ac_objext
5802 lt_save_LIBS="$LIBS"
5803 lt_save_CFLAGS="$CFLAGS"
5804 LIBS="conftstm.
$ac_objext"
5805 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5806 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5807 (eval $ac_link) 2>&5
5809 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5810 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5813 LIBS="$lt_save_LIBS"
5814 CFLAGS="$lt_save_CFLAGS"
5816 echo "cannot
find nm_test_func
in $nlist" >&5
5819 echo "cannot
find nm_test_var
in $nlist" >&5
5822 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5825 echo "$progname: failed program was
:" >&5
5826 cat conftest.$ac_ext >&5
5828 rm -rf conftest* conftst*
5830 # Do not use the global_symbol_pipe unless it works.
5831 if test "$pipe_works" = yes; then
5834 lt_cv_sys_global_symbol_pipe=
5840 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5841 lt_cv_sys_global_symbol_to_cdecl=
5843 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5845 $as_echo "failed
" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5848 $as_echo "ok
" >&6; }
5872 # Check whether --enable-libtool-lock was given.
5873 if test "${enable_libtool_lock+set}" = set; then :
5874 enableval=$enable_libtool_lock;
5877 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5879 # Some flags need to be propagated to the compiler or linker for good
5883 # Find out which ABI we are using.
5884 echo 'int i;' > conftest.$ac_ext
5885 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5886 (eval $ac_compile) 2>&5
5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5889 test $ac_status = 0; }; then
5890 case `/usr/bin/file conftest.$ac_objext` in
5902 # Find out which ABI we are using.
5903 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5904 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5905 (eval $ac_compile) 2>&5
5907 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5908 test $ac_status = 0; }; then
5909 if test "$lt_cv_prog_gnu_ld" = yes; then
5910 case `/usr/bin/file conftest.$ac_objext` in
5912 LD="${LD-ld} -melf32bsmip"
5915 LD="${LD-ld} -melf32bmipn32"
5918 LD="${LD-ld} -melf64bmip"
5922 case `/usr/bin/file conftest.$ac_objext` in
5938 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5939 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5940 # Find out which ABI we are using.
5941 echo 'int i;' > conftest.$ac_ext
5942 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5943 (eval $ac_compile) 2>&5
5945 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5946 test $ac_status = 0; }; then
5947 case `/usr/bin/file conftest.o` in
5950 x86_64-*kfreebsd*-gnu)
5951 LD="${LD-ld} -m elf_i386_fbsd
"
5954 LD="${LD-ld} -m elf_i386
"
5956 ppc64-*linux*|powerpc64-*linux*)
5957 LD="${LD-ld} -m elf32ppclinux
"
5960 LD="${LD-ld} -m elf_s390
"
5963 LD="${LD-ld} -m elf32_sparc
"
5969 x86_64-*kfreebsd*-gnu)
5970 LD="${LD-ld} -m elf_x86_64_fbsd
"
5973 LD="${LD-ld} -m elf_x86_64
"
5975 ppc*-*linux*|powerpc*-*linux*)
5976 LD="${LD-ld} -m elf64ppc
"
5978 s390*-*linux*|s390*-*tpf*)
5979 LD="${LD-ld} -m elf64_s390
"
5982 LD="${LD-ld} -m elf64_sparc
"
5992 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5993 SAVE_CFLAGS="$CFLAGS"
5994 CFLAGS="$CFLAGS -belf"
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5996 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5997 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5998 $as_echo_n "(cached
) " >&6
6001 ac_cpp='$CPP $CPPFLAGS'
6002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6017 if ac_fn_c_try_link "$LINENO"; then :
6018 lt_cv_cc_needs_belf=yes
6020 lt_cv_cc_needs_belf=no
6022 rm -f core conftest.err conftest.$ac_objext \
6023 conftest$ac_exeext conftest.$ac_ext
6025 ac_cpp='$CPP $CPPFLAGS'
6026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6032 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6033 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6034 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6035 CFLAGS="$SAVE_CFLAGS"
6039 # Find out which ABI we are using.
6040 echo 'int i;' > conftest.$ac_ext
6041 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6042 (eval $ac_compile) 2>&5
6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6045 test $ac_status = 0; }; then
6046 case `/usr/bin/file conftest.o` in
6048 case $lt_cv_prog_gnu_ld in
6049 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6051 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6063 need_locks="$enable_libtool_lock"
6067 rhapsody* | darwin*)
6068 if test -n "$ac_tool_prefix"; then
6069 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6070 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6072 $as_echo_n "checking
for $ac_word...
" >&6; }
6073 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6074 $as_echo_n "(cached
) " >&6
6076 if test -n "$DSYMUTIL"; then
6077 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6086 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6096 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6097 if test -n "$DSYMUTIL"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6099 $as_echo "$DSYMUTIL" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6102 $as_echo "no
" >&6; }
6107 if test -z "$ac_cv_prog_DSYMUTIL"; then
6108 ac_ct_DSYMUTIL=$DSYMUTIL
6109 # Extract the first word of "dsymutil
", so it can be a program name with args.
6110 set dummy dsymutil; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6112 $as_echo_n "checking
for $ac_word...
" >&6; }
6113 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6114 $as_echo_n "(cached
) " >&6
6116 if test -n "$ac_ct_DSYMUTIL"; then
6117 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6136 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6137 if test -n "$ac_ct_DSYMUTIL"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6139 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6142 $as_echo "no
" >&6; }
6145 if test "x
$ac_ct_DSYMUTIL" = x; then
6148 case $cross_compiling:$ac_tool_warned in
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6151 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6152 ac_tool_warned=yes ;;
6154 DSYMUTIL=$ac_ct_DSYMUTIL
6157 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6160 if test -n "$ac_tool_prefix"; then
6161 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6162 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6164 $as_echo_n "checking
for $ac_word...
" >&6; }
6165 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6166 $as_echo_n "(cached
) " >&6
6168 if test -n "$NMEDIT"; then
6169 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6188 NMEDIT=$ac_cv_prog_NMEDIT
6189 if test -n "$NMEDIT"; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6191 $as_echo "$NMEDIT" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6194 $as_echo "no
" >&6; }
6199 if test -z "$ac_cv_prog_NMEDIT"; then
6200 ac_ct_NMEDIT=$NMEDIT
6201 # Extract the first word of "nmedit
", so it can be a program name with args.
6202 set dummy nmedit; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6204 $as_echo_n "checking
for $ac_word...
" >&6; }
6205 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6206 $as_echo_n "(cached
) " >&6
6208 if test -n "$ac_ct_NMEDIT"; then
6209 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6228 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6229 if test -n "$ac_ct_NMEDIT"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6231 $as_echo "$ac_ct_NMEDIT" >&6; }
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6234 $as_echo "no
" >&6; }
6237 if test "x
$ac_ct_NMEDIT" = x; then
6240 case $cross_compiling:$ac_tool_warned in
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6243 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6244 ac_tool_warned=yes ;;
6246 NMEDIT=$ac_ct_NMEDIT
6249 NMEDIT="$ac_cv_prog_NMEDIT"
6252 if test -n "$ac_tool_prefix"; then
6253 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6256 $as_echo_n "checking
for $ac_word...
" >&6; }
6257 if test "${ac_cv_prog_LIPO+set}" = set; then :
6258 $as_echo_n "(cached
) " >&6
6260 if test -n "$LIPO"; then
6261 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6280 LIPO=$ac_cv_prog_LIPO
6281 if test -n "$LIPO"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6283 $as_echo "$LIPO" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6286 $as_echo "no
" >&6; }
6291 if test -z "$ac_cv_prog_LIPO"; then
6293 # Extract the first word of "lipo
", so it can be a program name with args.
6294 set dummy lipo; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6296 $as_echo_n "checking
for $ac_word...
" >&6; }
6297 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6298 $as_echo_n "(cached
) " >&6
6300 if test -n "$ac_ct_LIPO"; then
6301 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310 ac_cv_prog_ac_ct_LIPO="lipo
"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6320 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6321 if test -n "$ac_ct_LIPO"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6323 $as_echo "$ac_ct_LIPO" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6326 $as_echo "no
" >&6; }
6329 if test "x
$ac_ct_LIPO" = x; then
6332 case $cross_compiling:$ac_tool_warned in
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6335 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6336 ac_tool_warned=yes ;;
6341 LIPO="$ac_cv_prog_LIPO"
6344 if test -n "$ac_tool_prefix"; then
6345 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6346 set dummy ${ac_tool_prefix}otool; ac_word=$2
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6348 $as_echo_n "checking
for $ac_word...
" >&6; }
6349 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6350 $as_echo_n "(cached
) " >&6
6352 if test -n "$OTOOL"; then
6353 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6362 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6372 OTOOL=$ac_cv_prog_OTOOL
6373 if test -n "$OTOOL"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6375 $as_echo "$OTOOL" >&6; }
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6378 $as_echo "no
" >&6; }
6383 if test -z "$ac_cv_prog_OTOOL"; then
6385 # Extract the first word of "otool
", so it can be a program name with args.
6386 set dummy otool; ac_word=$2
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6388 $as_echo_n "checking
for $ac_word...
" >&6; }
6389 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6390 $as_echo_n "(cached
) " >&6
6392 if test -n "$ac_ct_OTOOL"; then
6393 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 ac_cv_prog_ac_ct_OTOOL="otool
"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6412 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6413 if test -n "$ac_ct_OTOOL"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6415 $as_echo "$ac_ct_OTOOL" >&6; }
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6418 $as_echo "no
" >&6; }
6421 if test "x
$ac_ct_OTOOL" = x; then
6424 case $cross_compiling:$ac_tool_warned in
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6427 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6428 ac_tool_warned=yes ;;
6433 OTOOL="$ac_cv_prog_OTOOL"
6436 if test -n "$ac_tool_prefix"; then
6437 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6438 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6440 $as_echo_n "checking
for $ac_word...
" >&6; }
6441 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6442 $as_echo_n "(cached
) " >&6
6444 if test -n "$OTOOL64"; then
6445 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6464 OTOOL64=$ac_cv_prog_OTOOL64
6465 if test -n "$OTOOL64"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6467 $as_echo "$OTOOL64" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6470 $as_echo "no
" >&6; }
6475 if test -z "$ac_cv_prog_OTOOL64"; then
6476 ac_ct_OTOOL64=$OTOOL64
6477 # Extract the first word of "otool64
", so it can be a program name with args.
6478 set dummy otool64; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6480 $as_echo_n "checking
for $ac_word...
" >&6; }
6481 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6482 $as_echo_n "(cached
) " >&6
6484 if test -n "$ac_ct_OTOOL64"; then
6485 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6504 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6505 if test -n "$ac_ct_OTOOL64"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6507 $as_echo "$ac_ct_OTOOL64" >&6; }
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6510 $as_echo "no
" >&6; }
6513 if test "x
$ac_ct_OTOOL64" = x; then
6516 case $cross_compiling:$ac_tool_warned in
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6519 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6520 ac_tool_warned=yes ;;
6522 OTOOL64=$ac_ct_OTOOL64
6525 OTOOL64="$ac_cv_prog_OTOOL64"
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6555 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6556 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6557 $as_echo_n "(cached
) " >&6
6559 lt_cv_apple_cc_single_mod=no
6560 if test -z "${LT_MULTI_MODULE}"; then
6561 # By default we will add the -single_module flag. You can override
6562 # by either setting the environment variable LT_MULTI_MODULE
6563 # non-empty at configure time, or by adding -multi_module to the
6565 rm -rf libconftest.dylib*
6566 echo "int foo
(void
){return 1;}" > conftest.c
6567 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6568 -dynamiclib -Wl,-single_module conftest.c
" >&5
6569 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6570 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6572 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6573 lt_cv_apple_cc_single_mod=yes
6575 cat conftest.err >&5
6577 rm -rf libconftest.dylib*
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6582 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6584 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6585 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6586 $as_echo_n "(cached
) " >&6
6588 lt_cv_ld_exported_symbols_list=no
6589 save_LDFLAGS=$LDFLAGS
6590 echo "_main
" > conftest.sym
6591 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6603 if ac_fn_c_try_link "$LINENO"; then :
6604 lt_cv_ld_exported_symbols_list=yes
6606 lt_cv_ld_exported_symbols_list=no
6608 rm -f core conftest.err conftest.$ac_objext \
6609 conftest$ac_exeext conftest.$ac_ext
6610 LDFLAGS="$save_LDFLAGS"
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6614 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6616 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6617 if test "${lt_cv_ld_force_load+set}" = set; then :
6618 $as_echo_n "(cached
) " >&6
6620 lt_cv_ld_force_load=no
6621 cat > conftest.c << _LT_EOF
6622 int forced_loaded() { return 2;}
6624 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6625 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6626 echo "$AR cru libconftest.a conftest.o
" >&5
6627 $AR cru libconftest.a conftest.o 2>&5
6628 cat > conftest.c << _LT_EOF
6629 int main() { return 0;}
6631 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6632 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6634 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6635 lt_cv_ld_force_load=yes
6637 cat conftest.err >&5
6639 rm -f conftest.err libconftest.a conftest conftest.c
6640 rm -rf conftest.dSYM
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6644 $as_echo "$lt_cv_ld_force_load" >&6; }
6646 rhapsody* | darwin1.[012])
6647 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6649 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6650 darwin*) # darwin 5.x on
6651 # if running on 10.5 or later, the deployment target defaults
6652 # to the OS version, if on x86, and 10.4, the deployment
6653 # target defaults to 10.4. Don't you love it?
6654 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6655 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6656 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6658 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6660 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6664 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6665 _lt_dar_single_mod='$single_module'
6667 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6668 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6670 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6672 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6673 _lt_dsymutil='~$DSYMUTIL $lib || :'
6681 ac_cpp='$CPP $CPPFLAGS'
6682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6686 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6687 # On Suns, sometimes $CPP names a directory.
6688 if test -n "$CPP" && test -d "$CPP"; then
6691 if test -z "$CPP"; then
6692 if test "${ac_cv_prog_CPP+set}" = set; then :
6693 $as_echo_n "(cached
) " >&6
6695 # Double quotes because CPP needs to be expanded
6696 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6699 for ac_c_preproc_warn_flag in '' yes
6701 # Use a header file that comes with gcc, so configuring glibc
6702 # with a fresh cross-compiler works.
6703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6704 # <limits.h> exists even on freestanding compilers.
6705 # On the NeXT, cc -E runs the code through the compiler's parser,
6706 # not just through cpp. "Syntax error
" is here to catch this case.
6707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6708 /* end confdefs.h. */
6710 # include <limits.h>
6712 # include <assert.h>
6716 if ac_fn_c_try_cpp "$LINENO"; then :
6719 # Broken: fails on valid input.
6722 rm -f conftest.err conftest.$ac_ext
6724 # OK, works on sane cases. Now check whether nonexistent headers
6725 # can be detected and how.
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6728 #include <ac_nonexistent.h>
6730 if ac_fn_c_try_cpp "$LINENO"; then :
6731 # Broken: success on invalid input.
6734 # Passes both tests.
6738 rm -f conftest.err conftest.$ac_ext
6741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6742 rm -f conftest.err conftest.$ac_ext
6743 if $ac_preproc_ok; then :
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6756 $as_echo "$CPP" >&6; }
6758 for ac_c_preproc_warn_flag in '' yes
6760 # Use a header file that comes with gcc, so configuring glibc
6761 # with a fresh cross-compiler works.
6762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6763 # <limits.h> exists even on freestanding compilers.
6764 # On the NeXT, cc -E runs the code through the compiler's parser,
6765 # not just through cpp. "Syntax error
" is here to catch this case.
6766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6767 /* end confdefs.h. */
6769 # include <limits.h>
6771 # include <assert.h>
6775 if ac_fn_c_try_cpp "$LINENO"; then :
6778 # Broken: fails on valid input.
6781 rm -f conftest.err conftest.$ac_ext
6783 # OK, works on sane cases. Now check whether nonexistent headers
6784 # can be detected and how.
6785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6786 /* end confdefs.h. */
6787 #include <ac_nonexistent.h>
6789 if ac_fn_c_try_cpp "$LINENO"; then :
6790 # Broken: success on invalid input.
6793 # Passes both tests.
6797 rm -f conftest.err conftest.$ac_ext
6800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6801 rm -f conftest.err conftest.$ac_ext
6802 if $ac_preproc_ok; then :
6805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6807 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6808 See \`config.log' for more details.
" "$LINENO" 5; }
6812 ac_cpp='$CPP $CPPFLAGS'
6813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6819 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6820 if test "${ac_cv_header_stdc+set}" = set; then :
6821 $as_echo_n "(cached
) " >&6
6823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6838 if ac_fn_c_try_compile "$LINENO"; then :
6839 ac_cv_header_stdc=yes
6841 ac_cv_header_stdc=no
6843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6845 if test $ac_cv_header_stdc = yes; then
6846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6852 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6853 $EGREP "memchr
" >/dev/null 2>&1; then :
6856 ac_cv_header_stdc=no
6862 if test $ac_cv_header_stdc = yes; then
6863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6865 /* end confdefs.h. */
6869 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6870 $EGREP "free
" >/dev/null 2>&1; then :
6873 ac_cv_header_stdc=no
6879 if test $ac_cv_header_stdc = yes; then
6880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6881 if test "$cross_compiling" = yes; then :
6884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6885 /* end confdefs.h. */
6888 #if ((' ' & 0x0FF) == 0x020)
6889 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6890 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6892 # define ISLOWER(c) \
6893 (('a' <= (c) && (c) <= 'i') \
6894 || ('j' <= (c) && (c) <= 'r') \
6895 || ('s' <= (c) && (c) <= 'z'))
6896 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6904 for (i = 0; i < 256; i++)
6905 if (XOR (islower (i), ISLOWER (i))
6906 || toupper (i) != TOUPPER (i))
6911 if ac_fn_c_try_run "$LINENO"; then :
6914 ac_cv_header_stdc=no
6916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6917 conftest.$ac_objext conftest.beam conftest.$ac_ext
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6923 $as_echo "$ac_cv_header_stdc" >&6; }
6924 if test $ac_cv_header_stdc = yes; then
6926 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6931 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6932 inttypes.h stdint.h unistd.h
6934 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6935 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6937 eval as_val
=\$
$as_ac_Header
6938 if test "x$as_val" = x
""yes; then :
6939 cat >>confdefs.h
<<_ACEOF
6940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6948 for ac_header
in dlfcn.h
6950 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6952 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6953 cat >>confdefs.h
<<_ACEOF
6954 #define HAVE_DLFCN_H 1
6975 # Check whether --enable-shared was given.
6976 if test "${enable_shared+set}" = set; then :
6977 enableval
=$enable_shared; p
=${PACKAGE-default}
6979 yes) enable_shared
=yes ;;
6980 no
) enable_shared
=no
;;
6983 # Look at the argument we got. We use all the common list separators.
6984 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6985 for pkg
in $enableval; do
6987 if test "X$pkg" = "X$p"; then
7006 # Check whether --enable-static was given.
7007 if test "${enable_static+set}" = set; then :
7008 enableval
=$enable_static; p
=${PACKAGE-default}
7010 yes) enable_static
=yes ;;
7011 no
) enable_static
=no
;;
7014 # Look at the argument we got. We use all the common list separators.
7015 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7016 for pkg
in $enableval; do
7018 if test "X$pkg" = "X$p"; then
7038 # Check whether --with-pic was given.
7039 if test "${with_pic+set}" = set; then :
7040 withval
=$with_pic; pic_mode
="$withval"
7046 test -z "$pic_mode" && pic_mode
=default
7054 # Check whether --enable-fast-install was given.
7055 if test "${enable_fast_install+set}" = set; then :
7056 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7058 yes) enable_fast_install
=yes ;;
7059 no
) enable_fast_install
=no
;;
7061 enable_fast_install
=no
7062 # Look at the argument we got. We use all the common list separators.
7063 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7064 for pkg
in $enableval; do
7066 if test "X$pkg" = "X$p"; then
7067 enable_fast_install
=yes
7074 enable_fast_install
=yes
7087 # This can be used to rebuild libtool when needed
7088 LIBTOOL_DEPS
="$ltmain"
7090 # Always use our own libtool.
7091 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7118 test -z "$LN_S" && LN_S
="ln -s"
7133 if test -n "${ZSH_VERSION+set}" ; then
7134 setopt NO_GLOB_SUBST
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7138 $as_echo_n "checking for objdir... " >&6; }
7139 if test "${lt_cv_objdir+set}" = set; then :
7140 $as_echo_n "(cached) " >&6
7142 rm -f .libs
2>/dev
/null
7143 mkdir .libs
2>/dev
/null
7144 if test -d .libs
; then
7147 # MS-DOS does not allow filenames that begin with a dot.
7150 rmdir .libs
2>/dev
/null
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7153 $as_echo "$lt_cv_objdir" >&6; }
7154 objdir
=$lt_cv_objdir
7160 cat >>confdefs.h
<<_ACEOF
7161 #define LT_OBJDIR "$lt_cv_objdir/"
7169 # AIX sometimes has problems with the GCC collect2 program. For some
7170 # reason, if we set the COLLECT_NAMES environment variable, the problems
7171 # vanish in a puff of smoke.
7172 if test "X${COLLECT_NAMES+set}" != Xset
; then
7174 export COLLECT_NAMES
7181 can_build_shared
=yes
7183 # All known linkers require a `.a' archive for static linking (except MSVC,
7184 # which needs '.lib').
7187 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7190 old_CFLAGS
="$CFLAGS"
7192 # Set sane defaults for various variables
7193 test -z "$CC" && CC
=cc
7194 test -z "$LTCC" && LTCC
=$CC
7195 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7196 test -z "$LD" && LD
=ld
7197 test -z "$ac_objext" && ac_objext
=o
7199 for cc_temp
in $compiler""; do
7201 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7202 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7207 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7210 # Only perform the check for file, if the check method requires it
7211 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7212 case $deplibs_check_method in
7214 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7216 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7217 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7218 $as_echo_n "(cached) " >&6
7222 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7225 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7226 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7227 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7228 for ac_dir
in $ac_dummy; do
7230 test -z "$ac_dir" && ac_dir
=.
7231 if test -f $ac_dir/${ac_tool_prefix}file; then
7232 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7233 if test -n "$file_magic_test_file"; then
7234 case $deplibs_check_method in
7236 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7237 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7238 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7239 $EGREP "$file_magic_regex" > /dev
/null
; then
7244 *** Warning: the command libtool uses to detect shared libraries,
7245 *** $file_magic_cmd, produces output that libtool cannot recognize.
7246 *** The result is that libtool may fail to recognize shared libraries
7247 *** as such. This will affect the creation of libtool libraries that
7248 *** depend on shared libraries, but programs linked with such libtool
7249 *** libraries will work regardless of this problem. Nevertheless, you
7250 *** may want to report the problem to your system manager and/or to
7251 *** bug-libtool@gnu.org
7261 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7266 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7267 if test -n "$MAGIC_CMD"; then
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7269 $as_echo "$MAGIC_CMD" >&6; }
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 $as_echo "no" >&6; }
7279 if test -z "$lt_cv_path_MAGIC_CMD"; then
7280 if test -n "$ac_tool_prefix"; then
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7282 $as_echo_n "checking for file... " >&6; }
7283 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7284 $as_echo_n "(cached) " >&6
7288 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7291 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7292 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7293 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7294 for ac_dir
in $ac_dummy; do
7296 test -z "$ac_dir" && ac_dir
=.
7297 if test -f $ac_dir/file; then
7298 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7299 if test -n "$file_magic_test_file"; then
7300 case $deplibs_check_method in
7302 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7303 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7304 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7305 $EGREP "$file_magic_regex" > /dev
/null
; then
7310 *** Warning: the command libtool uses to detect shared libraries,
7311 *** $file_magic_cmd, produces output that libtool cannot recognize.
7312 *** The result is that libtool may fail to recognize shared libraries
7313 *** as such. This will affect the creation of libtool libraries that
7314 *** depend on shared libraries, but programs linked with such libtool
7315 *** libraries will work regardless of this problem. Nevertheless, you
7316 *** may want to report the problem to your system manager and/or to
7317 *** bug-libtool@gnu.org
7327 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7332 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7333 if test -n "$MAGIC_CMD"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7335 $as_echo "$MAGIC_CMD" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7351 # Use C for the default configuration in the libtool script
7355 ac_cpp
='$CPP $CPPFLAGS'
7356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7361 # Source file extension for C test sources.
7364 # Object file extension for compiled C test sources.
7368 # Code to be used in simple compile tests
7369 lt_simple_compile_test_code
="int some_variable = 0;"
7371 # Code to be used in simple link tests
7372 lt_simple_link_test_code
='int main(){return(0);}'
7380 # If no C compiler was specified, use CC.
7383 # If no C compiler flags were specified, use CFLAGS.
7384 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7386 # Allow CC to be a program name with arguments.
7389 # Save the default compiler, since it gets overwritten when the other
7390 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7391 compiler_DEFAULT
=$CC
7393 # save warnings/boilerplate of simple test code
7394 ac_outfile
=conftest.
$ac_objext
7395 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7396 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7397 _lt_compiler_boilerplate
=`cat conftest.err`
7400 ac_outfile
=conftest.
$ac_objext
7401 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7402 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7403 _lt_linker_boilerplate
=`cat conftest.err`
7408 ## There is no encapsulation within the following macros, do not change
7409 ## the running order or otherwise move them around unless you know exactly
7410 ## what you are doing...
7411 if test -n "$compiler"; then
7413 lt_prog_compiler_no_builtin_flag
=
7415 if test "$GCC" = yes; then
7416 case $cc_basename in
7418 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7420 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7424 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7425 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7426 $as_echo_n "(cached) " >&6
7428 lt_cv_prog_compiler_rtti_exceptions
=no
7429 ac_outfile
=conftest.
$ac_objext
7430 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7431 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7432 # Insert the option either (1) after the last *FLAGS variable, or
7433 # (2) before a word containing "conftest.", or (3) at the end.
7434 # Note that $ac_compile itself does not contain backslashes and begins
7435 # with a dollar sign (not a hyphen), so the echo should work correctly.
7436 # The option is referenced via a variable to avoid confusing sed.
7437 lt_compile
=`echo "$ac_compile" | $SED \
7438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7440 -e 's:$: $lt_compiler_flag:'`
7441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7442 (eval "$lt_compile" 2>conftest.err
)
7444 cat conftest.err
>&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 if (exit $ac_status) && test -s "$ac_outfile"; then
7447 # The compiler can only warn and ignore the option if not recognized
7448 # So say no if there are warnings other than the usual output.
7449 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7450 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7451 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7452 lt_cv_prog_compiler_rtti_exceptions
=yes
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7459 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7461 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7462 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7474 lt_prog_compiler_wl
=
7475 lt_prog_compiler_pic
=
7476 lt_prog_compiler_static
=
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7479 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7481 if test "$GCC" = yes; then
7482 lt_prog_compiler_wl
='-Wl,'
7483 lt_prog_compiler_static
='-static'
7487 # All AIX code is PIC.
7488 if test "$host_cpu" = ia64
; then
7489 # AIX 5 now supports IA64 processor
7490 lt_prog_compiler_static
='-Bstatic'
7497 # see comment about AmigaOS4 .so support
7498 lt_prog_compiler_pic
='-fPIC'
7501 # FIXME: we need at least 68020 code to build shared libraries, but
7502 # adding the `-m68020' flag to GCC prevents building anything better,
7504 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7509 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7510 # PIC is the default for these OSes.
7513 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7514 # This hack is so that the source file can tell whether it is being
7515 # built for inclusion in a dll (and should export symbols for example).
7516 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7517 # (--disable-auto-import) libraries
7518 lt_prog_compiler_pic
='-DDLL_EXPORT'
7521 darwin
* | rhapsody
*)
7522 # PIC is the default on this platform
7523 # Common symbols not allowed in MH_DYLIB files
7524 lt_prog_compiler_pic
='-fno-common'
7528 # PIC is the default for Haiku.
7529 # The "-static" flag exists, but is broken.
7530 lt_prog_compiler_static
=
7534 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7535 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7536 # sets the default TLS model and affects inlining.
7542 lt_prog_compiler_pic
='-fPIC'
7548 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7549 # Instead, we relocate shared libraries at runtime.
7553 # Just because we use GCC doesn't mean we suddenly get shared libraries
7554 # on systems that don't support them.
7555 lt_prog_compiler_can_build_shared
=no
7560 # QNX uses GNU C++, but need to define -shared option too, otherwise
7562 lt_prog_compiler_pic
='-fPIC -shared'
7566 if test -d /usr
/nec
; then
7567 lt_prog_compiler_pic
=-Kconform_pic
7572 lt_prog_compiler_pic
='-fPIC'
7576 case $cc_basename in
7577 nvcc
*) # Cuda Compiler Driver 2.2
7578 lt_prog_compiler_wl
='-Xlinker '
7579 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7583 # PORTME Check for flag to pass linker flags through the system compiler.
7586 lt_prog_compiler_wl
='-Wl,'
7587 if test "$host_cpu" = ia64
; then
7588 # AIX 5 now supports IA64 processor
7589 lt_prog_compiler_static
='-Bstatic'
7591 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7595 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7596 # This hack is so that the source file can tell whether it is being
7597 # built for inclusion in a dll (and should export symbols for example).
7598 lt_prog_compiler_pic
='-DDLL_EXPORT'
7601 hpux9
* | hpux10
* | hpux11
*)
7602 lt_prog_compiler_wl
='-Wl,'
7603 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7610 lt_prog_compiler_pic
='+Z'
7613 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7614 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7617 irix5
* | irix6
* | nonstopux
*)
7618 lt_prog_compiler_wl
='-Wl,'
7619 # PIC (with -KPIC) is the default.
7620 lt_prog_compiler_static
='-non_shared'
7623 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7624 case $cc_basename in
7625 # old Intel for x86_64 which still supported -KPIC.
7627 lt_prog_compiler_wl
='-Wl,'
7628 lt_prog_compiler_pic
='-KPIC'
7629 lt_prog_compiler_static
='-static'
7631 # icc used to be incompatible with GCC.
7632 # ICC 10 doesn't accept -KPIC any more.
7634 lt_prog_compiler_wl
='-Wl,'
7635 lt_prog_compiler_pic
='-fPIC'
7636 lt_prog_compiler_static
='-static'
7638 # Lahey Fortran 8.1.
7640 lt_prog_compiler_wl
='-Wl,'
7641 lt_prog_compiler_pic
='--shared'
7642 lt_prog_compiler_static
='--static'
7644 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7645 # Portland Group compilers (*not* the Pentium gcc compiler,
7646 # which looks to be a dead project)
7647 lt_prog_compiler_wl
='-Wl,'
7648 lt_prog_compiler_pic
='-fpic'
7649 lt_prog_compiler_static
='-Bstatic'
7652 lt_prog_compiler_wl
='-Wl,'
7653 # All Alpha code is PIC.
7654 lt_prog_compiler_static
='-non_shared'
7656 xl
* | bgxl
* | bgf
* | mpixl
*)
7657 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7658 lt_prog_compiler_wl
='-Wl,'
7659 lt_prog_compiler_pic
='-qpic'
7660 lt_prog_compiler_static
='-qstaticlink'
7663 case `$CC -V 2>&1 | sed 5q` in
7664 *Sun\ F
* |
*Sun
*Fortran
*)
7665 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7666 lt_prog_compiler_pic
='-KPIC'
7667 lt_prog_compiler_static
='-Bstatic'
7668 lt_prog_compiler_wl
=''
7672 lt_prog_compiler_pic
='-KPIC'
7673 lt_prog_compiler_static
='-Bstatic'
7674 lt_prog_compiler_wl
='-Wl,'
7682 lt_prog_compiler_pic
='-KPIC'
7683 lt_prog_compiler_static
='-Bstatic'
7687 # QNX uses GNU C++, but need to define -shared option too, otherwise
7689 lt_prog_compiler_pic
='-fPIC -shared'
7692 osf3
* | osf4
* | osf5
*)
7693 lt_prog_compiler_wl
='-Wl,'
7694 # All OSF/1 code is PIC.
7695 lt_prog_compiler_static
='-non_shared'
7699 lt_prog_compiler_static
='-non_shared'
7703 lt_prog_compiler_pic
='-KPIC'
7704 lt_prog_compiler_static
='-Bstatic'
7705 case $cc_basename in
7707 lt_prog_compiler_wl
='-Qoption ld ';;
7709 lt_prog_compiler_wl
='-Wl,';;
7714 lt_prog_compiler_wl
='-Qoption ld '
7715 lt_prog_compiler_pic
='-PIC'
7716 lt_prog_compiler_static
='-Bstatic'
7719 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7720 lt_prog_compiler_wl
='-Wl,'
7721 lt_prog_compiler_pic
='-KPIC'
7722 lt_prog_compiler_static
='-Bstatic'
7726 if test -d /usr
/nec
;then
7727 lt_prog_compiler_pic
='-Kconform_pic'
7728 lt_prog_compiler_static
='-Bstatic'
7732 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7733 lt_prog_compiler_wl
='-Wl,'
7734 lt_prog_compiler_pic
='-KPIC'
7735 lt_prog_compiler_static
='-Bstatic'
7739 lt_prog_compiler_wl
='-Wl,'
7740 lt_prog_compiler_can_build_shared
=no
7744 lt_prog_compiler_pic
='-pic'
7745 lt_prog_compiler_static
='-Bstatic'
7749 lt_prog_compiler_can_build_shared
=no
7755 # For platforms which do not support PIC, -DPIC is meaningless:
7757 lt_prog_compiler_pic
=
7760 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7764 $as_echo "$lt_prog_compiler_pic" >&6; }
7772 # Check to make sure the PIC flag actually works.
7774 if test -n "$lt_prog_compiler_pic"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7776 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7777 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7778 $as_echo_n "(cached) " >&6
7780 lt_cv_prog_compiler_pic_works
=no
7781 ac_outfile
=conftest.
$ac_objext
7782 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7783 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7784 # Insert the option either (1) after the last *FLAGS variable, or
7785 # (2) before a word containing "conftest.", or (3) at the end.
7786 # Note that $ac_compile itself does not contain backslashes and begins
7787 # with a dollar sign (not a hyphen), so the echo should work correctly.
7788 # The option is referenced via a variable to avoid confusing sed.
7789 lt_compile
=`echo "$ac_compile" | $SED \
7790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7792 -e 's:$: $lt_compiler_flag:'`
7793 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7794 (eval "$lt_compile" 2>conftest.err
)
7796 cat conftest.err
>&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 if (exit $ac_status) && test -s "$ac_outfile"; then
7799 # The compiler can only warn and ignore the option if not recognized
7800 # So say no if there are warnings other than the usual output.
7801 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7802 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7803 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7804 lt_cv_prog_compiler_pic_works
=yes
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7811 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7813 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7814 case $lt_prog_compiler_pic in
7816 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7819 lt_prog_compiler_pic
=
7820 lt_prog_compiler_can_build_shared
=no
7831 # Check to make sure the static flag actually works.
7833 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7835 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7836 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7837 $as_echo_n "(cached) " >&6
7839 lt_cv_prog_compiler_static_works
=no
7840 save_LDFLAGS
="$LDFLAGS"
7841 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7842 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7843 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7844 # The linker can only warn and ignore the option if not recognized
7845 # So say no if there are warnings
7846 if test -s conftest.err
; then
7847 # Append any errors to the config.log.
7848 cat conftest.err
1>&5
7849 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7850 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7851 if diff conftest.exp conftest.er2
>/dev
/null
; then
7852 lt_cv_prog_compiler_static_works
=yes
7855 lt_cv_prog_compiler_static_works
=yes
7859 LDFLAGS
="$save_LDFLAGS"
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7863 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7865 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7868 lt_prog_compiler_static
=
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7878 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7879 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7880 $as_echo_n "(cached) " >&6
7882 lt_cv_prog_compiler_c_o
=no
7883 $RM -r conftest
2>/dev
/null
7887 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7889 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7890 # Insert the option either (1) after the last *FLAGS variable, or
7891 # (2) before a word containing "conftest.", or (3) at the end.
7892 # Note that $ac_compile itself does not contain backslashes and begins
7893 # with a dollar sign (not a hyphen), so the echo should work correctly.
7894 lt_compile
=`echo "$ac_compile" | $SED \
7895 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7897 -e 's:$: $lt_compiler_flag:'`
7898 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7899 (eval "$lt_compile" 2>out
/conftest.err
)
7901 cat out
/conftest.err
>&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7905 # The compiler can only warn and ignore the option if not recognized
7906 # So say no if there are warnings
7907 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7908 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7909 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7910 lt_cv_prog_compiler_c_o
=yes
7915 # SGI C++ compiler will create directory out/ii_files/ for
7916 # template instantiation
7917 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7918 $RM out
/* && rmdir out
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7925 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7934 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7935 $as_echo_n "(cached) " >&6
7937 lt_cv_prog_compiler_c_o
=no
7938 $RM -r conftest
2>/dev
/null
7942 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7944 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7945 # Insert the option either (1) after the last *FLAGS variable, or
7946 # (2) before a word containing "conftest.", or (3) at the end.
7947 # Note that $ac_compile itself does not contain backslashes and begins
7948 # with a dollar sign (not a hyphen), so the echo should work correctly.
7949 lt_compile
=`echo "$ac_compile" | $SED \
7950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7952 -e 's:$: $lt_compiler_flag:'`
7953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7954 (eval "$lt_compile" 2>out
/conftest.err
)
7956 cat out
/conftest.err
>&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7960 # The compiler can only warn and ignore the option if not recognized
7961 # So say no if there are warnings
7962 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7963 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7964 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7965 lt_cv_prog_compiler_c_o
=yes
7970 # SGI C++ compiler will create directory out/ii_files/ for
7971 # template instantiation
7972 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7973 $RM out
/* && rmdir out
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7985 hard_links
="nottested"
7986 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7987 # do not overwrite the value of need_locks provided by the user
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7989 $as_echo_n "checking if we can lock with hard links... " >&6; }
7992 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7994 ln conftest.a conftest.b
2>&5 || hard_links
=no
7995 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7997 $as_echo "$hard_links" >&6; }
7998 if test "$hard_links" = no
; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8000 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8013 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8016 allow_undefined_flag
=
8017 always_export_symbols
=no
8019 archive_expsym_cmds
=
8020 compiler_needs_object
=no
8021 enable_shared_with_static_runtimes
=no
8022 export_dynamic_flag_spec
=
8023 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8024 hardcode_automatic
=no
8026 hardcode_direct_absolute
=no
8027 hardcode_libdir_flag_spec
=
8028 hardcode_libdir_flag_spec_ld
=
8029 hardcode_libdir_separator
=
8031 hardcode_shlibpath_var
=unsupported
8033 link_all_deplibs
=unknown
8036 old_archive_from_new_cmds
=
8037 old_archive_from_expsyms_cmds
=
8038 thread_safe_flag_spec
=
8039 whole_archive_flag_spec
=
8040 # include_expsyms should be a list of space-separated symbols to be *always*
8041 # included in the symbol list
8043 # exclude_expsyms can be an extended regexp of symbols to exclude
8044 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8045 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8046 # as well as any symbol that contains `d'.
8047 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8048 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8049 # platforms (ab)use it in PIC code, but their linkers get confused if
8050 # the symbol is explicitly referenced. Since portable code cannot
8051 # rely on this symbol name, it's probably fine to never include it in
8052 # preloaded symbol tables.
8053 # Exclude shared library initialization/finalization symbols.
8054 extract_expsyms_cmds
=
8057 cygwin
* | mingw
* | pw32
* | cegcc
*)
8058 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8059 # When not using gcc, we currently assume that we are using
8060 # Microsoft Visual C++.
8061 if test "$GCC" != yes; then
8066 # we just hope/assume this is gcc and not c89 (= MSVC++)
8076 # On some targets, GNU ld is compatible enough with the native linker
8077 # that we're better off using the native interface for both.
8078 lt_use_gnu_ld_interface
=no
8079 if test "$with_gnu_ld" = yes; then
8082 # The AIX port of GNU ld has always aspired to compatibility
8083 # with the native linker. However, as the warning in the GNU ld
8084 # block says, versions before 2.19.5* couldn't really create working
8085 # shared libraries, regardless of the interface used.
8086 case `$LD -v 2>&1` in
8087 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8088 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8089 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8091 lt_use_gnu_ld_interface
=yes
8096 lt_use_gnu_ld_interface
=yes
8101 if test "$lt_use_gnu_ld_interface" = yes; then
8102 # If archive_cmds runs LD, not CC, wlarc should be empty
8105 # Set some defaults for GNU ld with shared library support. These
8106 # are reset later if shared libraries are not supported. Putting them
8107 # here allows them to be overridden if necessary.
8108 runpath_var
=LD_RUN_PATH
8109 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8110 export_dynamic_flag_spec
='${wl}--export-dynamic'
8111 # ancient GNU ld didn't support --whole-archive et. al.
8112 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8113 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8115 whole_archive_flag_spec
=
8117 supports_anon_versioning
=no
8118 case `$LD -v 2>&1` in
8119 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8120 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8121 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8122 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8123 *\
2.11.
*) ;; # other 2.11 versions
8124 *) supports_anon_versioning
=yes ;;
8127 # See if GNU ld supports shared libraries.
8130 # On AIX/PPC, the GNU linker is very broken
8131 if test "$host_cpu" != ia64
; then
8135 *** Warning: the GNU linker, at least up to release 2.19, is reported
8136 *** to be unable to reliably create shared libraries on AIX.
8137 *** Therefore, libtool is disabling shared libraries support. If you
8138 *** really care for shared libraries, you may want to install binutils
8139 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8140 *** You will then need to restart the configuration process.
8149 # see comment about AmigaOS4 .so support
8150 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8151 archive_expsym_cmds
=''
8154 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)'
8155 hardcode_libdir_flag_spec
='-L$libdir'
8156 hardcode_minus_L
=yes
8162 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8163 allow_undefined_flag
=unsupported
8164 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8165 # support --undefined. This deserves some investigation. FIXME
8166 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8172 cygwin
* | mingw
* | pw32
* | cegcc
*)
8173 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8174 # as there is no search path for DLLs.
8175 hardcode_libdir_flag_spec
='-L$libdir'
8176 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8177 allow_undefined_flag
=unsupported
8178 always_export_symbols
=no
8179 enable_shared_with_static_runtimes
=yes
8180 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8182 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8183 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8184 # If the export-symbols file already is a .def file (1st line
8185 # is EXPORTS), use it as is; otherwise, prepend...
8186 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8187 cp $export_symbols $output_objdir/$soname.def;
8189 echo EXPORTS > $output_objdir/$soname.def;
8190 cat $export_symbols >> $output_objdir/$soname.def;
8192 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8199 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8200 link_all_deplibs
=yes
8205 hardcode_shlibpath_var
=no
8206 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8207 export_dynamic_flag_spec
='${wl}-E'
8208 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8209 # Instead, shared libraries are loaded at an image base (0x10000000 by
8210 # default) and relocated if they conflict, which is a slow very memory
8211 # consuming and fragmenting process. To avoid this, we pick a random,
8212 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8213 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8214 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8215 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'
8218 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8220 if test "$host_os" = linux-dietlibc
; then
8221 case $cc_basename in
8222 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8225 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8226 && test "$tmp_diet" = no
8229 tmp_sharedflag
='-shared'
8230 case $cc_basename,$host_cpu in
8231 pgcc
*) # Portland Group C compiler
8232 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'
8233 tmp_addflag
=' $pic_flag'
8235 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8236 # Portland Group f77 and f90 compilers
8237 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'
8238 tmp_addflag
=' $pic_flag -Mnomain' ;;
8239 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8240 tmp_addflag
=' -i_dynamic' ;;
8241 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8242 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8243 ifc
* | ifort
*) # Intel Fortran compiler
8244 tmp_addflag
=' -nofor_main' ;;
8245 lf95
*) # Lahey Fortran 8.1
8246 whole_archive_flag_spec
=
8247 tmp_sharedflag
='--shared' ;;
8248 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8249 tmp_sharedflag
='-qmkshrobj'
8251 nvcc
*) # Cuda Compiler Driver 2.2
8252 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'
8253 compiler_needs_object
=yes
8256 case `$CC -V 2>&1 | sed 5q` in
8257 *Sun\ C
*) # Sun C 5.9
8258 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'
8259 compiler_needs_object
=yes
8260 tmp_sharedflag
='-G' ;;
8261 *Sun\ F
*) # Sun Fortran 8.3
8262 tmp_sharedflag
='-G' ;;
8264 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8266 if test "x$supports_anon_versioning" = xyes
; then
8267 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8268 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8269 echo "local: *; };" >> $output_objdir/$libname.ver~
8270 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8273 case $cc_basename in
8274 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8275 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8276 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8277 hardcode_libdir_flag_spec
=
8278 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8279 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8280 if test "x$supports_anon_versioning" = xyes
; then
8281 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8282 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8283 echo "local: *; };" >> $output_objdir/$libname.ver~
8284 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8294 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8295 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8298 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8299 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8304 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8308 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8309 *** create shared libraries on Solaris systems. Therefore, libtool
8310 *** is disabling shared libraries support. We urge you to upgrade GNU
8311 *** binutils to release 2.9.1 or newer. Another option is to modify
8312 *** your PATH or compiler configuration so that the native linker is
8313 *** used, and then restart.
8316 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8317 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8318 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8324 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8325 case `$LD -v 2>&1` in
8326 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8330 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8331 *** reliably create shared libraries on SCO systems. Therefore, libtool
8332 *** is disabling shared libraries support. We urge you to upgrade GNU
8333 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8334 *** your PATH or compiler configuration so that the native linker is
8335 *** used, and then restart.
8340 # For security reasons, it is highly recommended that you always
8341 # use absolute paths for naming shared libraries, and exclude the
8342 # DT_RUNPATH tag from executables and libraries. But doing so
8343 # requires that you compile everything twice, which is a pain.
8344 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8345 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8346 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8347 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8356 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8359 hardcode_shlibpath_var
=no
8363 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8364 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8365 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8372 if test "$ld_shlibs" = no
; then
8374 hardcode_libdir_flag_spec
=
8375 export_dynamic_flag_spec
=
8376 whole_archive_flag_spec
=
8379 # PORTME fill in a description of your system's linker (not GNU ld)
8382 allow_undefined_flag
=unsupported
8383 always_export_symbols
=yes
8384 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'
8385 # Note: this linker hardcodes the directories in LIBPATH if there
8386 # are no directories specified by -L.
8387 hardcode_minus_L
=yes
8388 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8389 # Neither direct hardcoding nor static linking is supported with a
8391 hardcode_direct
=unsupported
8396 if test "$host_cpu" = ia64
; then
8397 # On IA64, the linker does run time linking by default, so we don't
8398 # have to do anything special.
8399 aix_use_runtimelinking
=no
8400 exp_sym_flag
='-Bexport'
8403 # If we're using GNU nm, then we don't want the "-C" option.
8404 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8405 # Also, AIX nm treats weak defined symbols like other global
8406 # defined symbols, whereas GNU nm marks them as "W".
8407 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8408 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'
8410 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'
8412 aix_use_runtimelinking
=no
8414 # Test if we are trying to use run time linking or normal
8415 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8416 # need to do runtime linking.
8417 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8418 for ld_flag
in $LDFLAGS; do
8419 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8420 aix_use_runtimelinking
=yes
8427 exp_sym_flag
='-bexport'
8428 no_entry_flag
='-bnoentry'
8431 # When large executables or shared objects are built, AIX ld can
8432 # have problems creating the table of contents. If linking a library
8433 # or program results in "error TOC overflow" add -mminimal-toc to
8434 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8435 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8439 hardcode_direct_absolute
=yes
8440 hardcode_libdir_separator
=':'
8441 link_all_deplibs
=yes
8442 file_list_spec
='${wl}-f,'
8444 if test "$GCC" = yes; then
8445 case $host_os in aix4.
[012]|aix4.
[012].
*)
8446 # We only want to do this on AIX 4.2 and lower, the check
8447 # below for broken collect2 doesn't work under 4.3+
8448 collect2name
=`${CC} -print-prog-name=collect2`
8449 if test -f "$collect2name" &&
8450 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8452 # We have reworked collect2
8455 # We have old collect2
8456 hardcode_direct
=unsupported
8457 # It fails to find uninstalled libraries when the uninstalled
8458 # path is not listed in the libpath. Setting hardcode_minus_L
8459 # to unsupported forces relinking
8460 hardcode_minus_L
=yes
8461 hardcode_libdir_flag_spec
='-L$libdir'
8462 hardcode_libdir_separator
=
8466 shared_flag
='-shared'
8467 if test "$aix_use_runtimelinking" = yes; then
8468 shared_flag
="$shared_flag "'${wl}-G'
8472 if test "$host_cpu" = ia64
; then
8473 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8474 # chokes on -Wl,-G. The following line is correct:
8477 if test "$aix_use_runtimelinking" = yes; then
8478 shared_flag
='${wl}-G'
8480 shared_flag
='${wl}-bM:SRE'
8485 export_dynamic_flag_spec
='${wl}-bexpall'
8486 # It seems that -bexpall does not export symbols beginning with
8487 # underscore (_), so it is better to generate a list of symbols to export.
8488 always_export_symbols
=yes
8489 if test "$aix_use_runtimelinking" = yes; then
8490 # Warning - without using the other runtime loading flags (-brtl),
8491 # -berok will link without error, but may produce a broken library.
8492 allow_undefined_flag
='-berok'
8493 # Determine the default libpath from the value encoded in an
8495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8506 if ac_fn_c_try_link
"$LINENO"; then :
8508 lt_aix_libpath_sed
='
8509 /Import File Strings/,/^$/ {
8515 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8516 # Check for a 64-bit object if we didn't find anything.
8517 if test -z "$aix_libpath"; then
8518 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8521 rm -f core conftest.err conftest.
$ac_objext \
8522 conftest
$ac_exeext conftest.
$ac_ext
8523 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8525 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8526 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"
8528 if test "$host_cpu" = ia64
; then
8529 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8530 allow_undefined_flag
="-z nodefs"
8531 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"
8533 # Determine the default libpath from the value encoded in an
8535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8546 if ac_fn_c_try_link
"$LINENO"; then :
8548 lt_aix_libpath_sed
='
8549 /Import File Strings/,/^$/ {
8555 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8556 # Check for a 64-bit object if we didn't find anything.
8557 if test -z "$aix_libpath"; then
8558 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8561 rm -f core conftest.err conftest.
$ac_objext \
8562 conftest
$ac_exeext conftest.
$ac_ext
8563 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8565 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8566 # Warning - without using the other run time loading flags,
8567 # -berok will link without error, but may produce a broken library.
8568 no_undefined_flag
=' ${wl}-bernotok'
8569 allow_undefined_flag
=' ${wl}-berok'
8570 if test "$with_gnu_ld" = yes; then
8571 # We only use this code for GNU lds that support --whole-archive.
8572 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8574 # Exported symbols can be pulled into shared objects from archives
8575 whole_archive_flag_spec
='$convenience'
8577 archive_cmds_need_lc
=yes
8578 # This is similar to how AIX traditionally builds its shared libraries.
8579 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'
8587 # see comment about AmigaOS4 .so support
8588 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8589 archive_expsym_cmds
=''
8592 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)'
8593 hardcode_libdir_flag_spec
='-L$libdir'
8594 hardcode_minus_L
=yes
8600 export_dynamic_flag_spec
=-rdynamic
8603 cygwin
* | mingw
* | pw32
* | cegcc
*)
8604 # When not using gcc, we currently assume that we are using
8605 # Microsoft Visual C++.
8606 # hardcode_libdir_flag_spec is actually meaningless, as there is
8607 # no search path for DLLs.
8608 hardcode_libdir_flag_spec
=' '
8609 allow_undefined_flag
=unsupported
8610 # Tell ltmain to make .lib files, not .a files.
8612 # Tell ltmain to make .dll files, not .so files.
8614 # FIXME: Setting linknames here is a bad hack.
8615 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8616 # The linker will automatically build a .lib file if we build a DLL.
8617 old_archive_from_new_cmds
='true'
8618 # FIXME: Should let the user specify the lib program.
8619 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8620 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8621 enable_shared_with_static_runtimes
=yes
8624 darwin
* | rhapsody
*)
8627 archive_cmds_need_lc
=no
8629 hardcode_automatic
=yes
8630 hardcode_shlibpath_var
=unsupported
8631 if test "$lt_cv_ld_force_load" = "yes"; then
8632 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\"`'
8634 whole_archive_flag_spec
=''
8636 link_all_deplibs
=yes
8637 allow_undefined_flag
="$_lt_dar_allow_undefined"
8638 case $cc_basename in
8639 ifort
*) _lt_dar_can_shared
=yes ;;
8640 *) _lt_dar_can_shared
=$GCC ;;
8642 if test "$_lt_dar_can_shared" = "yes"; then
8643 output_verbose_link_cmd
=func_echo_all
8644 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8645 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8646 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}"
8647 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}"
8656 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8657 hardcode_libdir_flag_spec
='-L$libdir'
8658 hardcode_shlibpath_var
=no
8665 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8666 # support. Future versions do this automatically, but an explicit c++rt0.o
8667 # does not break anything, and helps significantly (at the cost of a little
8670 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8671 hardcode_libdir_flag_spec
='-R$libdir'
8673 hardcode_shlibpath_var
=no
8676 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8678 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8680 hardcode_minus_L
=yes
8681 hardcode_shlibpath_var
=no
8684 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8685 freebsd
* | dragonfly
*)
8686 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8687 hardcode_libdir_flag_spec
='-R$libdir'
8689 hardcode_shlibpath_var
=no
8693 if test "$GCC" = yes; then
8694 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'
8696 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'
8698 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8699 hardcode_libdir_separator
=:
8702 # hardcode_minus_L: Not really in the search PATH,
8703 # but as the default location of the library.
8704 hardcode_minus_L
=yes
8705 export_dynamic_flag_spec
='${wl}-E'
8709 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8710 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8712 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8714 if test "$with_gnu_ld" = no
; then
8715 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8716 hardcode_libdir_flag_spec_ld
='+b $libdir'
8717 hardcode_libdir_separator
=:
8719 hardcode_direct_absolute
=yes
8720 export_dynamic_flag_spec
='${wl}-E'
8721 # hardcode_minus_L: Not really in the search PATH,
8722 # but as the default location of the library.
8723 hardcode_minus_L
=yes
8728 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8731 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8734 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8737 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8743 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8750 # Older versions of the 11.00 compiler do not understand -b yet
8751 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8753 $as_echo_n "checking if $CC understands -b... " >&6; }
8754 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8755 $as_echo_n "(cached) " >&6
8757 lt_cv_prog_compiler__b
=no
8758 save_LDFLAGS
="$LDFLAGS"
8759 LDFLAGS
="$LDFLAGS -b"
8760 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8761 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8762 # The linker can only warn and ignore the option if not recognized
8763 # So say no if there are warnings
8764 if test -s conftest.err
; then
8765 # Append any errors to the config.log.
8766 cat conftest.err
1>&5
8767 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8768 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8769 if diff conftest.exp conftest.er2
>/dev
/null
; then
8770 lt_cv_prog_compiler__b
=yes
8773 lt_cv_prog_compiler__b
=yes
8777 LDFLAGS
="$save_LDFLAGS"
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8781 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8783 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8784 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8786 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8792 if test "$with_gnu_ld" = no
; then
8793 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8794 hardcode_libdir_separator
=:
8799 hardcode_shlibpath_var
=no
8803 hardcode_direct_absolute
=yes
8804 export_dynamic_flag_spec
='${wl}-E'
8806 # hardcode_minus_L: Not really in the search PATH,
8807 # but as the default location of the library.
8808 hardcode_minus_L
=yes
8814 irix5
* | irix6
* | nonstopux
*)
8815 if test "$GCC" = yes; then
8816 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'
8817 # Try to use the -exported_symbol ld option, if it does not
8818 # work, assume that -exports_file does not work either and
8819 # implicitly export all symbols.
8820 save_LDFLAGS
="$LDFLAGS"
8821 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8826 if ac_fn_c_try_link
"$LINENO"; then :
8827 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'
8830 rm -f core conftest.err conftest.
$ac_objext \
8831 conftest
$ac_exeext conftest.
$ac_ext
8832 LDFLAGS
="$save_LDFLAGS"
8834 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'
8835 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'
8837 archive_cmds_need_lc
='no'
8838 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8839 hardcode_libdir_separator
=:
8841 link_all_deplibs
=yes
8845 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8846 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8848 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8850 hardcode_libdir_flag_spec
='-R$libdir'
8852 hardcode_shlibpath_var
=no
8856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8858 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8859 hardcode_libdir_separator
=:
8860 hardcode_shlibpath_var
=no
8867 if test -f /usr
/libexec
/ld.so
; then
8869 hardcode_shlibpath_var
=no
8870 hardcode_direct_absolute
=yes
8871 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8872 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8873 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8874 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8875 export_dynamic_flag_spec
='${wl}-E'
8878 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8879 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8880 hardcode_libdir_flag_spec
='-R$libdir'
8883 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8884 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8894 hardcode_libdir_flag_spec
='-L$libdir'
8895 hardcode_minus_L
=yes
8896 allow_undefined_flag
=unsupported
8897 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'
8898 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8902 if test "$GCC" = yes; then
8903 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8904 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'
8906 allow_undefined_flag
=' -expect_unresolved \*'
8907 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'
8909 archive_cmds_need_lc
='no'
8910 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8911 hardcode_libdir_separator
=:
8914 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8915 if test "$GCC" = yes; then
8916 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8917 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'
8918 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8920 allow_undefined_flag
=' -expect_unresolved \*'
8921 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'
8922 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~
8923 $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'
8925 # Both c and cxx compiler support -rpath directly
8926 hardcode_libdir_flag_spec
='-rpath $libdir'
8928 archive_cmds_need_lc
='no'
8929 hardcode_libdir_separator
=:
8933 no_undefined_flag
=' -z defs'
8934 if test "$GCC" = yes; then
8936 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8937 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8938 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8940 case `$CC -V 2>&1` in
8943 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8944 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8945 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8949 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8950 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8951 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8955 hardcode_libdir_flag_spec
='-R$libdir'
8956 hardcode_shlibpath_var
=no
8958 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8960 # The compiler driver will combine and reorder linker options,
8961 # but understands `-z linker_flag'. GCC discards it without `$wl',
8962 # but is careful enough not to reorder.
8963 # Supported since Solaris 2.6 (maybe 2.5.1?)
8964 if test "$GCC" = yes; then
8965 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8967 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8971 link_all_deplibs
=yes
8975 if test "x$host_vendor" = xsequent
; then
8976 # Use $CC to link under sequent, because it throws in some extra .o
8977 # files that make .init and .fini sections work.
8978 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8980 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8982 hardcode_libdir_flag_spec
='-L$libdir'
8984 hardcode_minus_L
=yes
8985 hardcode_shlibpath_var
=no
8989 case $host_vendor in
8991 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8992 hardcode_direct
=yes # is this really true???
8995 ## LD is ld it makes a PLAMLIB
8996 ## CC just makes a GrossModule.
8997 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8998 reload_cmds
='$CC -r -o $output$reload_objs'
9002 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9003 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9006 runpath_var
='LD_RUN_PATH'
9007 hardcode_shlibpath_var
=no
9011 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9012 hardcode_shlibpath_var
=no
9013 export_dynamic_flag_spec
='-Bexport'
9017 if test -d /usr
/nec
; then
9018 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9019 hardcode_shlibpath_var
=no
9020 runpath_var
=LD_RUN_PATH
9021 hardcode_runpath_var
=yes
9026 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9027 no_undefined_flag
='${wl}-z,text'
9028 archive_cmds_need_lc
=no
9029 hardcode_shlibpath_var
=no
9030 runpath_var
='LD_RUN_PATH'
9032 if test "$GCC" = yes; then
9033 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9034 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9036 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9037 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9041 sysv5
* | sco3.2v5
* | sco5v6
*)
9042 # Note: We can NOT use -z defs as we might desire, because we do not
9043 # link with -lc, and that would cause any symbols used from libc to
9044 # always be unresolved, which means just about no library would
9045 # ever link correctly. If we're not using GNU ld we use -z text
9046 # though, which does catch some bad symbols but isn't as heavy-handed
9048 no_undefined_flag
='${wl}-z,text'
9049 allow_undefined_flag
='${wl}-z,nodefs'
9050 archive_cmds_need_lc
=no
9051 hardcode_shlibpath_var
=no
9052 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9053 hardcode_libdir_separator
=':'
9054 link_all_deplibs
=yes
9055 export_dynamic_flag_spec
='${wl}-Bexport'
9056 runpath_var
='LD_RUN_PATH'
9058 if test "$GCC" = yes; then
9059 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9060 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9062 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9063 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9068 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9069 hardcode_libdir_flag_spec
='-L$libdir'
9070 hardcode_shlibpath_var
=no
9078 if test x
$host_vendor = xsni
; then
9080 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9081 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9088 $as_echo "$ld_shlibs" >&6; }
9089 test "$ld_shlibs" = no
&& can_build_shared
=no
9091 with_gnu_ld
=$with_gnu_ld
9108 # Do we need to explicitly link libc?
9110 case "x$archive_cmds_need_lc" in
9112 # Assume -lc should be added
9113 archive_cmds_need_lc
=yes
9115 if test "$enable_shared" = yes && test "$GCC" = yes; then
9116 case $archive_cmds in
9118 # FIXME: we may have to deal with multi-command sequences.
9121 # Test whether the compiler implicitly links with -lc since on some
9122 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9123 # to ld, don't add -lc before -lgcc.
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9125 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9126 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9127 $as_echo_n "(cached) " >&6
9130 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9133 (eval $ac_compile) 2>&5
9135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9136 test $ac_status = 0; } 2>conftest.err
; then
9139 libobjs
=conftest.
$ac_objext
9141 wl
=$lt_prog_compiler_wl
9142 pic_flag
=$lt_prog_compiler_pic
9148 lt_save_allow_undefined_flag
=$allow_undefined_flag
9149 allow_undefined_flag
=
9150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9151 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9154 test $ac_status = 0; }
9156 lt_cv_archive_cmds_need_lc
=no
9158 lt_cv_archive_cmds_need_lc
=yes
9160 allow_undefined_flag
=$lt_save_allow_undefined_flag
9162 cat conftest.err
1>&5
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9168 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9169 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9333 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9335 if test "$GCC" = yes; then
9337 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9338 *) lt_awk_arg
="/^libraries:/" ;;
9341 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9342 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9344 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9345 case $lt_search_path_spec in
9347 # if the path contains ";" then we assume it to be the separator
9348 # otherwise default to the standard path separator (i.e. ":") - it is
9349 # assumed that no part of a normal pathname contains ";" but that should
9350 # okay in the real world where ";" in dirpaths is itself problematic.
9351 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9354 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9357 # Ok, now we have the path, separated by spaces, we can step through it
9358 # and add multilib dir if necessary.
9359 lt_tmp_lt_search_path_spec
=
9360 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9361 for lt_sys_path
in $lt_search_path_spec; do
9362 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9363 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9365 test -d "$lt_sys_path" && \
9366 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9369 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9370 BEGIN {RS=" "; FS="/|\n";} {
9373 for (lt_i = NF; lt_i > 0; lt_i--) {
9374 if ($lt_i != "" && $lt_i != ".") {
9375 if ($lt_i == "..") {
9378 if (lt_count == 0) {
9379 lt_foo="/" $lt_i lt_foo;
9386 if (lt_foo != "") { lt_freq[lt_foo]++; }
9387 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9389 # AWK program above erroneously prepends '/' to C:/dos/paths
9392 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9393 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9395 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9397 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9400 libname_spec
='lib$name'
9408 shlibpath_overrides_runpath
=unknown
9410 dynamic_linker
="$host_os ld.so"
9411 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9412 need_lib_prefix
=unknown
9413 hardcode_into_libs
=no
9415 # when you set need_version to no, make sure it does not cause -set_version
9416 # flags to be left without arguments
9417 need_version
=unknown
9422 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9423 shlibpath_var
=LIBPATH
9425 # AIX 3 has no versioning support, so we append a major version to the name.
9426 soname_spec
='${libname}${release}${shared_ext}$major'
9433 hardcode_into_libs
=yes
9434 if test "$host_cpu" = ia64
; then
9435 # AIX 5 supports IA64
9436 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9437 shlibpath_var
=LD_LIBRARY_PATH
9439 # With GCC up to 2.95.x, collect2 would create an import file
9440 # for dependence libraries. The import file would start with
9441 # the line `#! .'. This would cause the generated library to
9442 # depend on `.', always an invalid library. This was fixed in
9443 # development snapshots of GCC prior to 3.0.
9445 aix4 | aix4.
[01] | aix4.
[01].
*)
9446 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9448 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9455 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9456 # soname into executable. Probably we can add versioning support to
9457 # collect2, so additional links can be useful in future.
9458 if test "$aix_use_runtimelinking" = yes; then
9459 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9460 # instead of lib<name>.a to let people know that these are not
9461 # typical AIX shared libraries.
9462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 # We preserve .a as extension for shared libraries through AIX4.2
9465 # and later when we are not doing run time linking.
9466 library_names_spec
='${libname}${release}.a $libname.a'
9467 soname_spec
='${libname}${release}${shared_ext}$major'
9469 shlibpath_var
=LIBPATH
9476 # Since July 2007 AmigaOS4 officially supports .so libraries.
9477 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9481 library_names_spec
='$libname.ixlibrary $libname.a'
9482 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9483 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'
9489 library_names_spec
='${libname}${shared_ext}'
9490 dynamic_linker
="$host_os ld.so"
9491 shlibpath_var
=LIBRARY_PATH
9497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9498 soname_spec
='${libname}${release}${shared_ext}$major'
9499 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9500 shlibpath_var
=LD_LIBRARY_PATH
9501 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9502 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9503 # the default ld.so.conf also contains /usr/contrib/lib and
9504 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9505 # libtool to hard-code these into programs
9508 cygwin
* | mingw
* | pw32
* | cegcc
*)
9509 version_type
=windows
9514 case $GCC,$host_os in
9515 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9516 library_names_spec
='$libname.dll.a'
9517 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9518 postinstall_cmds
='base_file=`basename \${file}`~
9519 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9520 dldir=$destdir/`dirname \$dlpath`~
9521 test -d \$dldir || mkdir -p \$dldir~
9522 $install_prog $dir/$dlname \$dldir/$dlname~
9523 chmod a+x \$dldir/$dlname~
9524 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9525 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9527 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9528 dlpath=$dir/\$dldll~
9530 shlibpath_overrides_runpath
=yes
9534 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9535 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9537 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9540 # MinGW DLLs use traditional 'lib' prefix
9541 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9544 # pw32 DLLs use 'pw' prefix rather than 'lib'
9545 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9551 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9554 dynamic_linker
='Win32 ld.exe'
9555 # FIXME: first we should search . and the directory the executable is in
9559 darwin
* | rhapsody
*)
9560 dynamic_linker
="$host_os dyld"
9564 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9565 soname_spec
='${libname}${release}${major}$shared_ext'
9566 shlibpath_overrides_runpath
=yes
9567 shlibpath_var
=DYLD_LIBRARY_PATH
9568 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9570 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9571 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9579 soname_spec
='${libname}${release}${shared_ext}$major'
9580 shlibpath_var
=LD_LIBRARY_PATH
9587 freebsd
* | dragonfly
*)
9588 # DragonFly does not have aout. When/if they implement a new
9589 # versioning mechanism, adjust this.
9590 if test -x /usr
/bin
/objformat
; then
9591 objformat
=`/usr/bin/objformat`
9594 freebsd
[123]*) objformat
=aout
;;
9598 version_type
=freebsd-
$objformat
9599 case $version_type in
9601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9606 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9610 shlibpath_var
=LD_LIBRARY_PATH
9613 shlibpath_overrides_runpath
=yes
9615 freebsd3.
[01]* | freebsdelf3.
[01]*)
9616 shlibpath_overrides_runpath
=yes
9617 hardcode_into_libs
=yes
9619 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9620 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9621 shlibpath_overrides_runpath
=no
9622 hardcode_into_libs
=yes
9624 *) # from 4.6 on, and DragonFly
9625 shlibpath_overrides_runpath
=yes
9626 hardcode_into_libs
=yes
9635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9636 soname_spec
='${libname}${release}${shared_ext}$major'
9637 shlibpath_var
=LD_LIBRARY_PATH
9638 hardcode_into_libs
=yes
9645 dynamic_linker
="$host_os runtime_loader"
9646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9647 soname_spec
='${libname}${release}${shared_ext}$major'
9648 shlibpath_var
=LIBRARY_PATH
9649 shlibpath_overrides_runpath
=yes
9650 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9651 hardcode_into_libs
=yes
9654 hpux9
* | hpux10
* | hpux11
*)
9655 # Give a soname corresponding to the major version so that dld.sl refuses to
9656 # link against other versions.
9663 hardcode_into_libs
=yes
9664 dynamic_linker
="$host_os dld.so"
9665 shlibpath_var
=LD_LIBRARY_PATH
9666 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9668 soname_spec
='${libname}${release}${shared_ext}$major'
9669 if test "X$HPUX_IA64_MODE" = X32
; then
9670 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9672 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9674 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9678 hardcode_into_libs
=yes
9679 dynamic_linker
="$host_os dld.sl"
9680 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9681 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9683 soname_spec
='${libname}${release}${shared_ext}$major'
9684 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9685 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9689 dynamic_linker
="$host_os dld.sl"
9690 shlibpath_var
=SHLIB_PATH
9691 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9693 soname_spec
='${libname}${release}${shared_ext}$major'
9696 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9697 postinstall_cmds
='chmod 555 $lib'
9698 # or fails outright, so override atomically:
9699 install_override_mode
=555
9706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9707 soname_spec
='${libname}${release}${shared_ext}$major'
9708 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9709 shlibpath_var
=LD_LIBRARY_PATH
9710 shlibpath_overrides_runpath
=no
9711 hardcode_into_libs
=yes
9714 irix5
* | irix6
* | nonstopux
*)
9716 nonstopux
*) version_type
=nonstopux
;;
9718 if test "$lt_cv_prog_gnu_ld" = yes; then
9726 soname_spec
='${libname}${release}${shared_ext}$major'
9727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9729 irix5
* | nonstopux
*)
9733 case $LD in # libtool.m4 will add one of these switches to LD
9734 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9735 libsuff
= shlibsuff
= libmagic
=32-bit;;
9736 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9737 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9738 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9739 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9740 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9744 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9745 shlibpath_overrides_runpath
=no
9746 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9747 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9748 hardcode_into_libs
=yes
9751 # No shared lib support for Linux oldld, aout, or coff.
9752 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9756 # This must be Linux ELF.
9757 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9762 soname_spec
='${libname}${release}${shared_ext}$major'
9763 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9764 shlibpath_var
=LD_LIBRARY_PATH
9765 shlibpath_overrides_runpath
=no
9767 # Some binutils ld are patched to set DT_RUNPATH
9768 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9769 $as_echo_n "(cached) " >&6
9771 lt_cv_shlibpath_overrides_runpath
=no
9772 save_LDFLAGS
=$LDFLAGS
9774 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9775 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9787 if ac_fn_c_try_link
"$LINENO"; then :
9788 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9789 lt_cv_shlibpath_overrides_runpath
=yes
9792 rm -f core conftest.err conftest.
$ac_objext \
9793 conftest
$ac_exeext conftest.
$ac_ext
9794 LDFLAGS
=$save_LDFLAGS
9799 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9801 # This implies no fast_install, which is unacceptable.
9802 # Some rework will be needed to allow for fast_install
9803 # before this can be enabled.
9804 hardcode_into_libs
=yes
9806 # Append ld.so.conf contents to the search path
9807 if test -f /etc
/ld.so.conf
; then
9808 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' ' '`
9809 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9812 # We used to test for /lib/ld.so.1 and disable shared libraries on
9813 # powerpc, because MkLinux only supported shared libraries with the
9814 # GNU dynamic linker. Since this was broken with cross compilers,
9815 # most powerpc-linux boxes support dynamic linking these days and
9816 # people can always --disable-shared, the test was removed, and we
9817 # assume the GNU/Linux dynamic linker is in use.
9818 dynamic_linker
='GNU/Linux ld.so'
9825 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9827 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9828 dynamic_linker
='NetBSD (a.out) ld.so'
9830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9831 soname_spec
='${libname}${release}${shared_ext}$major'
9832 dynamic_linker
='NetBSD ld.elf_so'
9834 shlibpath_var
=LD_LIBRARY_PATH
9835 shlibpath_overrides_runpath
=yes
9836 hardcode_into_libs
=yes
9841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842 shlibpath_var
=LD_LIBRARY_PATH
9843 shlibpath_overrides_runpath
=yes
9850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9851 soname_spec
='${libname}${release}${shared_ext}$major'
9852 shlibpath_var
=LD_LIBRARY_PATH
9853 shlibpath_overrides_runpath
=no
9854 hardcode_into_libs
=yes
9855 dynamic_linker
='ldqnx.so'
9860 sys_lib_dlsearch_path_spec
="/usr/lib"
9862 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9864 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9865 *) need_version
=no
;;
9867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9869 shlibpath_var
=LD_LIBRARY_PATH
9870 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9872 openbsd2.
[89] | openbsd2.
[89].
*)
9873 shlibpath_overrides_runpath
=no
9876 shlibpath_overrides_runpath
=yes
9880 shlibpath_overrides_runpath
=yes
9885 libname_spec
='$name'
9888 library_names_spec
='$libname${shared_ext} $libname.a'
9889 dynamic_linker
='OS/2 ld.exe'
9890 shlibpath_var
=LIBPATH
9893 osf3
* | osf4
* | osf5
*)
9897 soname_spec
='${libname}${release}${shared_ext}$major'
9898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899 shlibpath_var
=LD_LIBRARY_PATH
9900 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9901 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9913 soname_spec
='${libname}${release}${shared_ext}$major'
9914 shlibpath_var
=LD_LIBRARY_PATH
9915 shlibpath_overrides_runpath
=yes
9916 hardcode_into_libs
=yes
9917 # ldd complains unless libraries are executable
9918 postinstall_cmds
='chmod +x $lib'
9923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9924 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9925 shlibpath_var
=LD_LIBRARY_PATH
9926 shlibpath_overrides_runpath
=yes
9927 if test "$with_gnu_ld" = yes; then
9935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9936 soname_spec
='${libname}${release}${shared_ext}$major'
9937 shlibpath_var
=LD_LIBRARY_PATH
9938 case $host_vendor in
9940 shlibpath_overrides_runpath
=no
9942 runpath_var
=LD_RUN_PATH
9950 shlibpath_overrides_runpath
=no
9951 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9957 if test -d /usr
/nec
;then
9959 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9960 soname_spec
='$libname${shared_ext}.$major'
9961 shlibpath_var
=LD_LIBRARY_PATH
9965 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9966 version_type
=freebsd-elf
9969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9970 soname_spec
='${libname}${release}${shared_ext}$major'
9971 shlibpath_var
=LD_LIBRARY_PATH
9972 shlibpath_overrides_runpath
=yes
9973 hardcode_into_libs
=yes
9974 if test "$with_gnu_ld" = yes; then
9975 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9977 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9980 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9984 sys_lib_dlsearch_path_spec
='/usr/lib'
9988 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993 shlibpath_var
=LD_LIBRARY_PATH
9994 shlibpath_overrides_runpath
=no
9995 hardcode_into_libs
=yes
10000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10001 soname_spec
='${libname}${release}${shared_ext}$major'
10002 shlibpath_var
=LD_LIBRARY_PATH
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10010 $as_echo "$dynamic_linker" >&6; }
10011 test "$dynamic_linker" = no
&& can_build_shared
=no
10013 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10014 if test "$GCC" = yes; then
10015 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10018 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10019 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10021 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10022 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10117 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10119 if test -n "$hardcode_libdir_flag_spec" ||
10120 test -n "$runpath_var" ||
10121 test "X$hardcode_automatic" = "Xyes" ; then
10123 # We can hardcode non-existent directories.
10124 if test "$hardcode_direct" != no
&&
10125 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10126 # have to relink, otherwise we might link with an installed library
10127 # when we should be linking with a yet-to-be-installed one
10128 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10129 test "$hardcode_minus_L" != no
; then
10130 # Linking always hardcodes the temporary library directory.
10131 hardcode_action
=relink
10133 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10134 hardcode_action
=immediate
10137 # We cannot hardcode anything, or else we can only hardcode existing
10139 hardcode_action
=unsupported
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10142 $as_echo "$hardcode_action" >&6; }
10144 if test "$hardcode_action" = relink ||
10145 test "$inherit_rpath" = yes; then
10146 # Fast installation is not supported
10147 enable_fast_install
=no
10148 elif test "$shlibpath_overrides_runpath" = yes ||
10149 test "$enable_shared" = no
; then
10150 # Fast installation is not necessary
10151 enable_fast_install
=needless
10159 if test "x$enable_dlopen" != xyes
; then
10160 enable_dlopen
=unknown
10161 enable_dlopen_self
=unknown
10162 enable_dlopen_self_static
=unknown
10169 lt_cv_dlopen
="load_add_on"
10171 lt_cv_dlopen_self
=yes
10174 mingw
* | pw32
* | cegcc
*)
10175 lt_cv_dlopen
="LoadLibrary"
10180 lt_cv_dlopen
="dlopen"
10185 # if libdl is installed we need to link against it
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10187 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10188 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10189 $as_echo_n "(cached) " >&6
10191 ac_check_lib_save_LIBS
=$LIBS
10193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10211 if ac_fn_c_try_link
"$LINENO"; then :
10212 ac_cv_lib_dl_dlopen
=yes
10214 ac_cv_lib_dl_dlopen
=no
10216 rm -f core conftest.err conftest.
$ac_objext \
10217 conftest
$ac_exeext conftest.
$ac_ext
10218 LIBS
=$ac_check_lib_save_LIBS
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10221 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10222 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10223 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10226 lt_cv_dlopen
="dyld"
10228 lt_cv_dlopen_self
=yes
10235 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10236 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10237 lt_cv_dlopen
="shl_load"
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10240 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10241 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_lib_save_LIBS
=$LIBS
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10259 return shl_load ();
10264 if ac_fn_c_try_link
"$LINENO"; then :
10265 ac_cv_lib_dld_shl_load
=yes
10267 ac_cv_lib_dld_shl_load
=no
10269 rm -f core conftest.err conftest.
$ac_objext \
10270 conftest
$ac_exeext conftest.
$ac_ext
10271 LIBS
=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10274 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10275 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10276 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10278 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10279 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10280 lt_cv_dlopen
="dlopen"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10283 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10284 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10285 $as_echo_n "(cached) " >&6
10287 ac_check_lib_save_LIBS
=$LIBS
10289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10292 /* Override any GCC internal prototype to avoid an error.
10293 Use char because int might match the return type of a GCC
10294 builtin and then its argument prototype would still apply. */
10307 if ac_fn_c_try_link
"$LINENO"; then :
10308 ac_cv_lib_dl_dlopen
=yes
10310 ac_cv_lib_dl_dlopen
=no
10312 rm -f core conftest.err conftest.
$ac_objext \
10313 conftest
$ac_exeext conftest.
$ac_ext
10314 LIBS
=$ac_check_lib_save_LIBS
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10317 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10318 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10319 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10322 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10323 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10324 $as_echo_n "(cached) " >&6
10326 ac_check_lib_save_LIBS
=$LIBS
10327 LIBS
="-lsvld $LIBS"
10328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10346 if ac_fn_c_try_link
"$LINENO"; then :
10347 ac_cv_lib_svld_dlopen
=yes
10349 ac_cv_lib_svld_dlopen
=no
10351 rm -f core conftest.err conftest.
$ac_objext \
10352 conftest
$ac_exeext conftest.
$ac_ext
10353 LIBS
=$ac_check_lib_save_LIBS
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10356 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10357 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10358 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10361 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10362 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10363 $as_echo_n "(cached) " >&6
10365 ac_check_lib_save_LIBS
=$LIBS
10367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10380 return dld_link ();
10385 if ac_fn_c_try_link
"$LINENO"; then :
10386 ac_cv_lib_dld_dld_link
=yes
10388 ac_cv_lib_dld_dld_link
=no
10390 rm -f core conftest.err conftest.
$ac_objext \
10391 conftest
$ac_exeext conftest.
$ac_ext
10392 LIBS
=$ac_check_lib_save_LIBS
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10395 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10396 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10397 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10418 if test "x$lt_cv_dlopen" != xno
; then
10424 case $lt_cv_dlopen in
10426 save_CPPFLAGS
="$CPPFLAGS"
10427 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10429 save_LDFLAGS
="$LDFLAGS"
10430 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10433 LIBS
="$lt_cv_dlopen_libs $LIBS"
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10436 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10437 if test "${lt_cv_dlopen_self+set}" = set; then :
10438 $as_echo_n "(cached) " >&6
10440 if test "$cross_compiling" = yes; then :
10441 lt_cv_dlopen_self
=cross
10443 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10444 lt_status
=$lt_dlunknown
10445 cat > conftest.
$ac_ext <<_LT_EOF
10446 #line 10446 "configure"
10447 #include "confdefs.h"
10456 # define LT_DLGLOBAL RTLD_GLOBAL
10459 # define LT_DLGLOBAL DL_GLOBAL
10461 # define LT_DLGLOBAL 0
10465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10466 find out it does not work in some platform. */
10467 #ifndef LT_DLLAZY_OR_NOW
10469 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10472 # define LT_DLLAZY_OR_NOW DL_LAZY
10475 # define LT_DLLAZY_OR_NOW RTLD_NOW
10478 # define LT_DLLAZY_OR_NOW DL_NOW
10480 # define LT_DLLAZY_OR_NOW 0
10487 /* When -fvisbility=hidden is used, assume the code has been annotated
10488 correspondingly for the symbols needed. */
10489 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10490 void fnord () __attribute__((visibility("default")));
10493 void fnord () { int i=42; }
10496 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10497 int status = $lt_dlunknown;
10501 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10504 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10505 else puts (dlerror ());
10507 /* dlclose (self); */
10515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10516 (eval $ac_link) 2>&5
10518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10519 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10520 (.
/conftest
; exit; ) >&5 2>/dev
/null
10522 case x
$lt_status in
10523 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10524 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10525 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10528 # compilation failed
10529 lt_cv_dlopen_self
=no
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10537 $as_echo "$lt_cv_dlopen_self" >&6; }
10539 if test "x$lt_cv_dlopen_self" = xyes
; then
10540 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10542 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10543 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10544 $as_echo_n "(cached) " >&6
10546 if test "$cross_compiling" = yes; then :
10547 lt_cv_dlopen_self_static
=cross
10549 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10550 lt_status
=$lt_dlunknown
10551 cat > conftest.
$ac_ext <<_LT_EOF
10552 #line 10552 "configure"
10553 #include "confdefs.h"
10562 # define LT_DLGLOBAL RTLD_GLOBAL
10565 # define LT_DLGLOBAL DL_GLOBAL
10567 # define LT_DLGLOBAL 0
10571 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10572 find out it does not work in some platform. */
10573 #ifndef LT_DLLAZY_OR_NOW
10575 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10578 # define LT_DLLAZY_OR_NOW DL_LAZY
10581 # define LT_DLLAZY_OR_NOW RTLD_NOW
10584 # define LT_DLLAZY_OR_NOW DL_NOW
10586 # define LT_DLLAZY_OR_NOW 0
10593 /* When -fvisbility=hidden is used, assume the code has been annotated
10594 correspondingly for the symbols needed. */
10595 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10596 void fnord () __attribute__((visibility("default")));
10599 void fnord () { int i=42; }
10602 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10603 int status = $lt_dlunknown;
10607 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10610 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10611 else puts (dlerror ());
10613 /* dlclose (self); */
10621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10622 (eval $ac_link) 2>&5
10624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10625 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10626 (.
/conftest
; exit; ) >&5 2>/dev
/null
10628 case x
$lt_status in
10629 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10630 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10631 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10634 # compilation failed
10635 lt_cv_dlopen_self_static
=no
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10643 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10646 CPPFLAGS
="$save_CPPFLAGS"
10647 LDFLAGS
="$save_LDFLAGS"
10652 case $lt_cv_dlopen_self in
10653 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10654 *) enable_dlopen_self
=unknown
;;
10657 case $lt_cv_dlopen_self_static in
10658 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10659 *) enable_dlopen_self_static
=unknown
;;
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10682 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10683 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10684 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10685 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10687 $as_echo "yes" >&6; }
10689 # FIXME - insert some real tests, host_os isn't really good enough
10692 if test -n "$STRIP" ; then
10693 striplib
="$STRIP -x"
10694 old_striplib
="$STRIP -S"
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10696 $as_echo "yes" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10699 $as_echo "no" >&6; }
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10704 $as_echo "no" >&6; }
10720 # Report which library types will actually be built
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10722 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10724 $as_echo "$can_build_shared" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10727 $as_echo_n "checking whether to build shared libraries... " >&6; }
10728 test "$can_build_shared" = "no" && enable_shared
=no
10730 # On AIX, shared libraries and static libraries use the same namespace, and
10731 # are all built from PIC.
10734 test "$enable_shared" = yes && enable_static
=no
10735 if test -n "$RANLIB"; then
10736 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10737 postinstall_cmds
='$RANLIB $lib'
10742 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10743 test "$enable_shared" = yes && enable_static
=no
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10748 $as_echo "$enable_shared" >&6; }
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10751 $as_echo_n "checking whether to build static libraries... " >&6; }
10752 # Make sure either enable_shared or enable_static is yes.
10753 test "$enable_shared" = yes || enable_static
=yes
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10755 $as_echo "$enable_static" >&6; }
10762 ac_cpp
='$CPP $CPPFLAGS'
10763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10781 ac_config_commands
="$ac_config_commands libtool"
10786 # Only expand once:
10790 .
${srcdir}/..
/gcc
/config.gcc
10791 case ${lto_binary_reader} in
10792 *coff
*) LTO_FORMAT
=coff
;;
10793 *elf
*) LTO_FORMAT
=elf
;;
10794 *) as_fn_error
"LTO plugin is not supported on this target." "$LINENO" 5 ;;
10798 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
10799 case $ac_cv_c_uint64_t in #(
10803 $as_echo "#define _UINT64_T 1" >>confdefs.h
10806 cat >>confdefs.h
<<_ACEOF
10807 #define uint64_t $ac_cv_c_uint64_t
10812 ac_config_files
="$ac_config_files Makefile"
10814 cat >confcache
<<\_ACEOF
10815 # This file is a shell script that caches the results of configure
10816 # tests run on this system so they can be shared between configure
10817 # scripts and configure runs, see configure's option --config-cache.
10818 # It is not useful on other systems. If it contains results you don't
10819 # want to keep, you may remove or edit it.
10821 # config.status only pays attention to the cache file if you give it
10822 # the --recheck option to rerun configure.
10824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10826 # following values.
10830 # The following way of writing the cache mishandles newlines in values,
10831 # but we know of no workaround that is simple, portable, and efficient.
10832 # So, we kill variables containing newlines.
10833 # Ultrix sh set writes to stderr and can't be redirected directly,
10834 # and sets the high bit in the cache file unless we assign to the vars.
10836 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10837 eval ac_val
=\$
$ac_var
10841 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10845 _ | IFS | as_nl
) ;; #(
10846 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10847 *) { eval $ac_var=; unset $ac_var;} ;;
10853 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10854 *${as_nl}ac_space
=\
*)
10855 # `set' does not quote correctly, so add quotes: double-quote
10856 # substitution turns \\\\ into \\, and sed turns \\ into \.
10859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10862 # `set' quotes correctly as required by POSIX, so do not add quotes.
10863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10872 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10874 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10876 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10877 if test -w "$cache_file"; then
10878 test "x$cache_file" != "x/dev/null" &&
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10880 $as_echo "$as_me: updating cache $cache_file" >&6;}
10881 cat confcache
>$cache_file
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10884 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10889 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10890 # Let make expand exec_prefix.
10891 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10893 # Transform confdefs.h into DEFS.
10894 # Protect against shell expansion while executing Makefile rules.
10895 # Protect against Makefile macro expansion.
10897 # If the first sed substitution is executed (which looks for macros that
10898 # take arguments), then branch to the quote section. Otherwise,
10899 # look for a macro that doesn't take arguments.
10909 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
10911 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
10915 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
10928 DEFS
=`sed -n "$ac_script" confdefs.h`
10933 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10934 # 1. Remove the extension, and $U if already installed.
10935 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10936 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10937 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10938 # will be set to the directory where LIBOBJS objects are built.
10939 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10940 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10942 LIBOBJS
=$ac_libobjs
10944 LTLIBOBJS
=$ac_ltlibobjs
10947 if test -n "$EXEEXT"; then
10949 am__EXEEXT_FALSE
='#'
10951 am__EXEEXT_TRUE
='#'
10955 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10956 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
10957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10959 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10960 as_fn_error
"conditional \"AMDEP\" was never defined.
10961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10963 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10964 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
10965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10968 : ${CONFIG_STATUS=./config.status}
10970 ac_clean_files_save
=$ac_clean_files
10971 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10973 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10975 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10977 # Generated by $as_me.
10978 # Run this file to recreate the current configuration.
10979 # Compiler output produced by configure, useful for debugging
10980 # configure, is in config.log if it exists.
10983 ac_cs_recheck=false
10986 SHELL=\${CONFIG_SHELL-$SHELL}
10989 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
10990 ## -------------------- ##
10991 ## M4sh Initialization. ##
10992 ## -------------------- ##
10994 # Be more Bourne compatible
10995 DUALCASE
=1; export DUALCASE
# for MKS sh
10996 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
10999 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11000 # is contrary to our usage. Disable this feature.
11001 alias -g '${1+"$@"}'='"$@"'
11002 setopt NO_GLOB_SUBST
11004 case `(set -o) 2>/dev/null` in #(
11016 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11017 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11018 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11020 # Prefer a ksh shell builtin over an external printf program on Solaris,
11021 # but without wasting forks for bash or zsh.
11022 if test -z "$BASH_VERSION$ZSH_VERSION" \
11023 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11024 as_echo='print
-r --'
11025 as_echo_n='print
-rn --'
11026 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11027 as_echo='printf %s
\n'
11028 as_echo_n='printf %s
'
11030 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11031 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11032 as_echo_n='/usr
/ucb
/echo -n'
11034 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11035 as_echo_n_body='eval
11039 expr "X$arg" : "X\\(.*\\)$as_nl";
11040 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11042 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11044 export as_echo_n_body
11045 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11047 export as_echo_body
11048 as_echo='sh
-c $as_echo_body as_echo
'
11051 # The user is always right.
11052 if test "${PATH_SEPARATOR+set}" != set; then
11054 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11055 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11062 # We need space, tab and new line, in precisely that order. Quoting is
11063 # there to prevent editors from complaining about space-tab.
11064 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11065 # splitting by setting IFS to empty value.)
11068 # Find who we are. Look in the path if we contain no directory separator.
11070 *[\\/]* ) as_myself=$0 ;;
11071 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11072 for as_dir in $PATH
11075 test -z "$as_dir" && as_dir=.
11076 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11082 # We did not find ourselves, most probably we were run as `sh COMMAND'
11083 # in which case we are not to be found in the path.
11084 if test "x$as_myself" = x
; then
11087 if test ! -f "$as_myself"; then
11088 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11092 # Unset variables that we do not need and which cause bugs (e.g. in
11093 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11094 # suppresses any "Segmentation fault" message there. '((' could
11095 # trigger a bug in pdksh 5.2.14.
11096 for as_var
in BASH_ENV ENV MAIL MAILPATH
11097 do eval test x\
${$as_var+set} = xset \
11098 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11111 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11114 # as_fn_error ERROR [LINENO LOG_FD]
11115 # ---------------------------------
11116 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11117 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11118 # script with status $?, using 1 if that was 0.
11121 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11123 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11124 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11126 $as_echo "$as_me: error: $1" >&2
11127 as_fn_exit
$as_status
11131 # as_fn_set_status STATUS
11132 # -----------------------
11133 # Set $? to STATUS, without forking.
11134 as_fn_set_status
()
11137 } # as_fn_set_status
11139 # as_fn_exit STATUS
11140 # -----------------
11141 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11145 as_fn_set_status
$1
11151 # Portably unset VAR.
11154 { eval $1=; unset $1;}
11156 as_unset
=as_fn_unset
11157 # as_fn_append VAR VALUE
11158 # ----------------------
11159 # Append the text in VALUE to the end of the definition contained in VAR. Take
11160 # advantage of any shell optimizations that allow amortized linear growth over
11161 # repeated appends, instead of the typical quadratic growth present in naive
11163 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11164 eval 'as_fn_append ()
11175 # as_fn_arith ARG...
11176 # ------------------
11177 # Perform arithmetic evaluation on the ARGs, and store the result in the
11178 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11179 # must be portable across $(()) and expr.
11180 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11181 eval 'as_fn_arith ()
11188 as_val
=`expr "$@" || test $? -eq 1`
11193 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11194 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11200 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11201 as_basename
=basename
11206 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11212 as_me
=`$as_basename -- "$0" ||
11213 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11214 X"$0" : 'X\(//\)$' \| \
11215 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11217 sed '/^.*\/\([^/][^/]*\)\/*$/{
11231 # Avoid depending upon Character Ranges.
11232 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11233 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11234 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11235 as_cr_digits
='0123456789'
11236 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11238 ECHO_C
= ECHO_N
= ECHO_T
=
11239 case `echo -n x` in #(((((
11241 case `echo 'xy\c'` in
11242 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11244 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11251 rm -f conf$$ conf$$.exe conf$$.
file
11252 if test -d conf$$.dir
; then
11253 rm -f conf$$.dir
/conf$$.
file
11256 mkdir conf$$.dir
2>/dev
/null
11258 if (echo >conf$$.
file) 2>/dev
/null
; then
11259 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11261 # ... but there are two gotchas:
11262 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11263 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11264 # In both cases, we have to default to `cp -p'.
11265 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11267 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11275 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11276 rmdir conf$$.dir
2>/dev
/null
11281 # Create "$as_dir" as a directory, including parents if necessary.
11286 -*) as_dir
=.
/$as_dir;;
11288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11293 *) as_qdir
=$as_dir;;
11295 as_dirs
="'$as_qdir' $as_dirs"
11296 as_dir
=`$as_dirname -- "$as_dir" ||
11297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11298 X"$as_dir" : 'X\(//\)[^/]' \| \
11299 X"$as_dir" : 'X\(//\)$' \| \
11300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11301 $as_echo X"$as_dir" |
11302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11306 /^X\(\/\/\)[^/].*/{
11319 test -d "$as_dir" && break
11321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11326 if mkdir
-p .
2>/dev
/null
; then
11327 as_mkdir_p
='mkdir -p "$as_dir"'
11329 test -d .
/-p && rmdir .
/-p
11333 if test -x / >/dev
/null
2>&1; then
11334 as_test_x
='test -x'
11336 if ls -dL / >/dev
/null
2>&1; then
11343 if test -d "$1"; then
11349 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11350 ???[sx]*):;;*)false;;esac;fi
11354 as_executable_p
=$as_test_x
11356 # Sed expression to map a string onto a valid CPP name.
11357 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11359 # Sed expression to map a string onto a valid variable name.
11360 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11364 ## ----------------------------------- ##
11365 ## Main body of $CONFIG_STATUS script. ##
11366 ## ----------------------------------- ##
11368 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11371 # Save the log message, to keep $0 and so on meaningful, and to
11372 # report actual input values of CONFIG_FILES etc. instead of their
11373 # values after options handling.
11375 This file was extended by LTO plugin for ld $as_me 0.1, which was
11376 generated by GNU Autoconf 2.64. Invocation command line was
11378 CONFIG_FILES = $CONFIG_FILES
11379 CONFIG_HEADERS = $CONFIG_HEADERS
11380 CONFIG_LINKS = $CONFIG_LINKS
11381 CONFIG_COMMANDS = $CONFIG_COMMANDS
11384 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11389 case $ac_config_files in *"
11390 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11396 # Files that config.status was made for.
11397 config_files="$ac_config_files"
11398 config_commands="$ac_config_commands"
11402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11404 \`$as_me' instantiates files and other configuration actions
11405 from templates according to the current configuration. Unless the files
11406 and actions are specified as TAGs, all are instantiated by default.
11408 Usage: $0 [OPTION]... [TAG]...
11410 -h, --help print this help, then exit
11411 -V, --version print version number and configuration settings, then exit
11412 -q, --quiet, --silent
11413 do not print progress messages
11414 -d, --debug don't remove temporary files
11415 --recheck update $as_me by reconfiguring in the same conditions
11416 --file=FILE[:TEMPLATE]
11417 instantiate the configuration file FILE
11419 Configuration files:
11422 Configuration commands:
11425 Report bugs to the package provider."
11428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11430 LTO plugin for ld config.status 0.1
11431 configured by $0, generated by GNU Autoconf 2.64,
11432 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11434 Copyright (C) 2009 Free Software Foundation, Inc.
11435 This config.status script is free software; the Free Software Foundation
11436 gives unlimited permission to copy, distribute and modify it."
11443 test -n "\$AWK" || AWK=awk
11446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11447 # The default lists apply if the user does not specify any file.
11453 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11454 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11465 # Handling of the options.
11466 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11468 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11469 $as_echo "$ac_cs_version"; exit ;;
11470 --debug |
--debu |
--deb |
--de |
--d |
-d )
11472 --file |
--fil |
--fi |
--f )
11475 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11477 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11478 ac_need_defaults
=false
;;
11479 --he |
--h |
--help |
--hel |
-h )
11480 $as_echo "$ac_cs_usage"; exit ;;
11481 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11482 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11485 # This is an error.
11486 -*) as_fn_error
"unrecognized option: \`$1'
11487 Try \`$0 --help' for more information." ;;
11489 *) as_fn_append ac_config_targets
" $1"
11490 ac_need_defaults
=false
;;
11496 ac_configure_extra_args
=
11498 if $ac_cs_silent; then
11500 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11505 if \$ac_cs_recheck; then
11506 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11508 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11509 CONFIG_SHELL='$SHELL'
11510 export CONFIG_SHELL
11515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11519 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11520 ## Running $as_me. ##
11526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11530 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11533 # The HP-UX ksh and POSIX shell print the target directory to stdout
11534 # if CDPATH is set.
11535 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11537 sed_quote_subst='$sed_quote_subst'
11538 double_quote_subst='$double_quote_subst'
11539 delay_variable_subst='$delay_variable_subst'
11540 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
11541 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
11542 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
11543 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
11544 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
11545 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
11546 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
11547 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
11548 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
11549 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
11550 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
11551 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
11552 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
11553 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
11554 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
11555 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
11556 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
11557 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
11558 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
11559 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
11560 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
11561 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
11562 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
11563 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
11564 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
11565 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
11566 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
11567 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
11568 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
11569 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
11570 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
11571 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
11572 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
11573 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
11574 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
11575 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
11576 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
11577 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11578 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11579 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
11580 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
11581 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
11582 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
11583 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
11584 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
11585 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
11586 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
11587 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
11588 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"`'
11589 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
11590 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
11591 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
11592 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
11593 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
11594 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
11595 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
11596 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
11597 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
11598 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
11599 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
11600 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
11601 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
11602 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
11603 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
11604 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11605 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
11606 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
11607 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
11608 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
11609 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
11610 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
11611 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11612 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
11613 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11614 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
11615 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11616 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
11617 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
11618 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
11619 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
11620 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
11621 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
11622 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
11623 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
11624 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
11625 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
11626 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
11627 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
11628 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
11629 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
11630 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
11631 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
11632 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
11633 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
11634 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
11635 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
11636 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
11637 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
11638 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
11639 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
11640 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
11641 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
11642 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
11643 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
11644 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
11645 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
11646 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
11647 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11648 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11649 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
11650 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
11651 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
11652 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
11653 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
11654 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
11655 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
11656 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
11657 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
11658 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
11659 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
11662 LTCFLAGS='$LTCFLAGS'
11663 compiler='$compiler_DEFAULT'
11665 # A function that is used when there is no print builtin or printf.
11666 func_fallback_echo ()
11668 eval 'cat <<_LTECHO_EOF
11673 # Quote evaled strings.
11687 deplibs_check_method \
11696 lt_cv_sys_global_symbol_pipe \
11697 lt_cv_sys_global_symbol_to_cdecl \
11698 lt_cv_sys_global_symbol_to_c_name_address \
11699 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11700 lt_prog_compiler_no_builtin_flag \
11701 lt_prog_compiler_wl \
11702 lt_prog_compiler_pic \
11703 lt_prog_compiler_static \
11704 lt_cv_prog_compiler_c_o \
11712 export_dynamic_flag_spec \
11713 whole_archive_flag_spec \
11714 compiler_needs_object \
11716 allow_undefined_flag \
11717 no_undefined_flag \
11718 hardcode_libdir_flag_spec \
11719 hardcode_libdir_flag_spec_ld \
11720 hardcode_libdir_separator \
11725 variables_saved_for_relink \
11727 library_names_spec \
11729 install_override_mode \
11733 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
11734 *[\\\\\\\`\\"\\\$]*)
11735 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11738 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11743 # Double-quote double-evaled strings.
11744 for var in reload_cmds \
11745 old_postinstall_cmds \
11746 old_postuninstall_cmds \
11748 extract_expsyms_cmds \
11749 old_archive_from_new_cmds \
11750 old_archive_from_expsyms_cmds \
11752 archive_expsym_cmds \
11754 module_expsym_cmds \
11755 export_symbols_cmds \
11758 postuninstall_cmds \
11760 sys_lib_search_path_spec \
11761 sys_lib_dlsearch_path_spec; do
11762 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
11763 *[\\\\\\\`\\"\\\$]*)
11764 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11767 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11772 ac_aux_dir='$ac_aux_dir'
11773 xsi_shell='$xsi_shell'
11774 lt_shell_append='$lt_shell_append'
11776 # See if we are running on zsh, and set the options which allow our
11777 # commands through without removal of \ escapes INIT.
11778 if test -n "\${ZSH_VERSION+set}" ; then
11779 setopt NO_GLOB_SUBST
11785 TIMESTAMP='$TIMESTAMP'
11794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11796 # Handling of arguments.
11797 for ac_config_target
in $ac_config_targets
11799 case $ac_config_target in
11800 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11801 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
11802 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11804 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11809 # If the user did not use the arguments to specify the items to instantiate,
11810 # then the envvar interface is used. Set only those that are not.
11811 # We use the long form for the default assignment because of an extremely
11812 # bizarre bug on SunOS 4.1.3.
11813 if $ac_need_defaults; then
11814 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11815 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11818 # Have a temporary directory for convenience. Make it in the build tree
11819 # simply because there is no reason against having it here, and in addition,
11820 # creating and moving files from /tmp can sometimes cause problems.
11821 # Hook for its removal unless debugging.
11822 # Note that there is a small window in which the directory will not be cleaned:
11823 # after its creation but before its name has been assigned to `$tmp'.
11827 trap 'exit_status=$?
11828 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11830 trap 'as_fn_exit 1' 1 2 13 15
11832 # Create a (secure) tmp directory for tmp files.
11835 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11836 test -n "$tmp" && test -d "$tmp"
11839 tmp
=.
/conf$$
-$RANDOM
11840 (umask 077 && mkdir
"$tmp")
11841 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11843 # Set up the scripts for CONFIG_FILES section.
11844 # No need to generate them if there are no CONFIG_FILES.
11845 # This happens for instance with `./config.status config.h'.
11846 if test -n "$CONFIG_FILES"; then
11849 ac_cr
=`echo X | tr X '\015'`
11850 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11851 # But we know of no other shell where ac_cr would be empty at this
11852 # point, so we can use a bashism as a fallback.
11853 if test "x$ac_cr" = x
; then
11854 eval ac_cr
=\$
\'\\r
\'
11856 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11857 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11860 ac_cs_awk_cr
=$ac_cr
11863 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11868 echo "cat >conf$$subs.awk <<_ACEOF" &&
11869 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11871 } >conf$$subs.sh ||
11872 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11873 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11875 for ac_last_try in false false false false false :; do
11876 . ./conf$$subs.sh ||
11877 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11879 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11880 if test $ac_delim_n = $ac_delim_num; then
11882 elif $ac_last_try; then
11883 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11885 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11888 rm -f conf$$subs.sh
11890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11891 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11895 s/^/S["/; s
/!.
*/"]=/
11905 s/\(.\{148\}\).*/\1/
11907 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11912 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11919 s/\(.\{148\}\).*/\1/
11921 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11925 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11930 ' <conf$$subs.awk | sed '
11935 ' >>$CONFIG_STATUS || ac_write_fail=1
11936 rm -f conf$$subs.awk
11937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11939 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11940 for (key in S) S_is_set[key] = 1
11946 nfields = split(line, field, "@
")
11948 len = length(field[1])
11949 for (i = 2; i < nfields; i++) {
11951 keylen = length(key)
11952 if (S_is_set[key]) {
11954 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11955 len += length(value) + length(field[++i])
11966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11967 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11968 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11971 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11972 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11975 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11976 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11977 # trailing colons and then remove the whole line if VPATH becomes empty
11978 # (actually we leave an empty line to preserve line numbers).
11979 if test "x
$srcdir" = x.; then
11980 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11981 s/:*\$(srcdir):*/:/
11982 s/:*\${srcdir}:*/:/
11984 s/^\([^=]*=[ ]*\):*/\1/
11990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11991 fi # test -n "$CONFIG_FILES"
11994 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
11999 :[FHLC]) ac_mode=$ac_tag; continue;;
12001 case $ac_mode$ac_tag in
12003 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
12004 :[FH]-) ac_tag=-:-;;
12005 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12022 -) ac_f="$tmp/stdin";;
12023 *) # Look for the file first in the build tree, then in the source tree
12024 # (if the path is not absolute). The absolute path cannot be DOS-style,
12025 # because $ac_f cannot contain `:'.
12029 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12031 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12033 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
12034 as_fn_append ac_file_inputs " '$ac_f'"
12037 # Let's still pretend it is `configure' which instantiates (i.e., don't
12038 # use $as_me), people would be surprised to read:
12039 # /* config.h. Generated by config.status. */
12040 configure_input='Generated from '`
12041 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12043 if test x"$ac_file" != x-; then
12044 configure_input="$ac_file.
$configure_input"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
12046 $as_echo "$as_me: creating
$ac_file" >&6;}
12048 # Neutralize special characters interpreted by sed in replacement strings.
12049 case $configure_input in #(
12050 *\&* | *\|* | *\\* )
12051 ac_sed_conf_input=`$as_echo "$configure_input" |
12052 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12053 *) ac_sed_conf_input=$configure_input;;
12057 *:-:* | *:-) cat >"$tmp/stdin
" \
12058 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
12063 ac_dir=`$as_dirname -- "$ac_file" ||
12064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12065 X"$ac_file" : 'X\(//\)[^/]' \| \
12066 X"$ac_file" : 'X\(//\)$' \| \
12067 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12068 $as_echo X"$ac_file" |
12069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12073 /^X\(\/\/\)[^/].*/{
12086 as_dir="$ac_dir"; as_fn_mkdir_p
12090 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12092 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12093 # A "..
" for each directory in $ac_dir_suffix.
12094 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12095 case $ac_top_builddir_sub in
12096 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12097 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12100 ac_abs_top_builddir=$ac_pwd
12101 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12102 # for backward compatibility:
12103 ac_top_builddir=$ac_top_build_prefix
12106 .) # We are building in place.
12108 ac_top_srcdir=$ac_top_builddir_sub
12109 ac_abs_top_srcdir=$ac_pwd ;;
12110 [\\/]* | ?:[\\/]* ) # Absolute name.
12111 ac_srcdir=$srcdir$ac_dir_suffix;
12112 ac_top_srcdir=$srcdir
12113 ac_abs_top_srcdir=$srcdir ;;
12114 *) # Relative name.
12115 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12116 ac_top_srcdir=$ac_top_build_prefix$srcdir
12117 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12119 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12129 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12130 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12132 ac_MKDIR_P=$MKDIR_P
12134 [\\/$]* | ?:[\\/]* ) ;;
12135 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12140 # If the template does not know about datarootdir, expand it.
12141 # FIXME: This hack should be removed a few years after 2.60.
12142 ac_datarootdir_hack=; ac_datarootdir_seen=
12153 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
12154 *datarootdir*) ac_datarootdir_seen=yes;;
12155 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
12157 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
12159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12160 ac_datarootdir_hack='
12161 s&@datadir@&$datadir&g
12162 s&@docdir@&$docdir&g
12163 s&@infodir@&$infodir&g
12164 s&@localedir@&$localedir&g
12165 s&@mandir@&$mandir&g
12166 s&\\\${datarootdir}&$datarootdir&g' ;;
12170 # Neutralize VPATH when `$srcdir' = `.'.
12171 # Shell code in configure.ac might set extrasub.
12172 # FIXME: do we really want to maintain this feature?
12173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12174 ac_sed_extra="$ac_vpsub
12177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12179 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12180 s|@configure_input@|
$ac_sed_conf_input|
;t t
12181 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12182 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12183 s
&@srcdir@
&$ac_srcdir&;t t
12184 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12185 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12186 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12187 s
&@builddir@
&$ac_builddir&;t t
12188 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12189 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12190 s
&@INSTALL@
&$ac_INSTALL&;t t
12191 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12192 $ac_datarootdir_hack
12194 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12195 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12198 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12201 which seems to be undefined. Please make sure it is defined." >&5
12202 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12203 which seems to be undefined. Please make sure it is defined." >&2;}
12207 -) cat "$tmp/out" && rm -f "$tmp/out";;
12208 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12210 || as_fn_error "could not create $ac_file" "$LINENO" 5
12214 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12215 $as_echo "$as_me: executing $ac_file commands" >&6;}
12220 case $ac_file$ac_mode in
12221 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12222 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12223 # are listed without --file. Let's play safe and only
enable the
eval
12224 # if we detect the quoting.
12225 case $CONFIG_FILES in
12226 *\'*) eval set x
"$CONFIG_FILES" ;;
12227 *) set x
$CONFIG_FILES ;;
12232 # Strip MF so we end up with the name of the file.
12233 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12234 # Check whether this is an Automake generated Makefile or not.
12235 # We used to match only the files named `Makefile.in', but
12236 # some people rename them; so instead we look at the file content.
12237 # Grep'ing the first line is not enough: some people post-process
12238 # each Makefile.in and add a new line on top of each file to say so.
12239 # Grep'ing the whole file is not good either: AIX grep has a line
12240 # limit of 2048, but all sed's we know have understand at least 4000.
12241 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12242 dirpart
=`$as_dirname -- "$mf" ||
12243 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12244 X"$mf" : 'X\(//\)[^/]' \| \
12245 X"$mf" : 'X\(//\)$' \| \
12246 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12252 /^X\(\/\/\)[^/].*/{
12268 # Extract the definition of DEPDIR, am__include, and am__quote
12269 # from the Makefile without running `make'.
12270 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12271 test -z "$DEPDIR" && continue
12272 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12273 test -z "am__include" && continue
12274 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12275 # When using ansi2knr, U may be empty or an underscore; expand it
12276 U
=`sed -n 's/^U = //p' < "$mf"`
12277 # Find all dependency output files, they are included files with
12278 # $(DEPDIR) in their names. We invoke sed twice because it is the
12279 # simplest approach to changing $(DEPDIR) to its actual value in the
12281 for file in `sed -n "
12282 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12283 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12284 # Make sure the directory exists.
12285 test -f "$dirpart/$file" && continue
12286 fdir
=`$as_dirname -- "$file" ||
12287 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12288 X"$file" : 'X\(//\)[^/]' \| \
12289 X"$file" : 'X\(//\)$' \| \
12290 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12291 $as_echo X"$file" |
12292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12296 /^X\(\/\/\)[^/].*/{
12309 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12310 # echo "creating $dirpart/$file"
12311 echo '# dummy' > "$dirpart/$file"
12318 # See if we are running on zsh, and set the options which allow our
12319 # commands through without removal of \ escapes.
12320 if test -n "${ZSH_VERSION+set}" ; then
12321 setopt NO_GLOB_SUBST
12324 cfgfile
="${ofile}T"
12325 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12328 cat <<_LT_EOF >> "$cfgfile"
12331 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12332 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12333 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12334 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12336 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12337 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12338 # Written by Gordon Matzigkeit, 1996
12340 # This file is part of GNU Libtool.
12342 # GNU Libtool is free software; you can redistribute it and/or
12343 # modify it under the terms of the GNU General Public License as
12344 # published by the Free Software Foundation; either version 2 of
12345 # the License, or (at your option) any later version.
12347 # As a special exception to the GNU General Public License,
12348 # if you distribute this file as part of a program or library that
12349 # is built using GNU Libtool, you may include this file under the
12350 # same distribution terms that you use for the rest of that program.
12352 # GNU Libtool is distributed in the hope that it will be useful,
12353 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12354 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12355 # GNU General Public License for more details.
12357 # You should have received a copy of the GNU General Public License
12358 # along with GNU Libtool; see the file COPYING. If not, a copy
12359 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12360 # obtained by writing to the Free Software Foundation, Inc.,
12361 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12364 # The names of the tagged configurations supported by this script.
12367 # ### BEGIN LIBTOOL CONFIG
12369 # Which release of libtool.m4 was used?
12370 macro_version=$macro_version
12371 macro_revision=$macro_revision
12373 # Whether or not to build shared libraries.
12374 build_libtool_libs=$enable_shared
12376 # Whether or not to build static libraries.
12377 build_old_libs=$enable_static
12379 # What type of objects to build.
12382 # Whether or not to optimize for fast installation.
12383 fast_install=$enable_fast_install
12385 # Shell to use when invoking shell scripts.
12388 # An echo program that protects backslashes.
12392 host_alias=$host_alias
12396 # The build system.
12397 build_alias=$build_alias
12401 # A sed program that does not truncate output.
12404 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12405 Xsed="\$SED -e 1s/^X//"
12407 # A grep program that handles long lines.
12413 # A literal string matcher.
12416 # A BSD- or MS-compatible name lister.
12419 # Whether we need soft or hard links.
12422 # What is the maximum length of a command?
12423 max_cmd_len=$max_cmd_len
12425 # Object file suffix (normally "o").
12428 # Executable file suffix (normally "").
12431 # whether the shell understands "unset".
12434 # turn spaces into newlines.
12437 # turn newlines into spaces.
12440 # An object symbol dumper.
12441 OBJDUMP=$lt_OBJDUMP
12443 # Method to check whether dependent libraries are shared objects.
12444 deplibs_check_method=$lt_deplibs_check_method
12446 # Command to use when deplibs_check_method == "file_magic".
12447 file_magic_cmd=$lt_file_magic_cmd
12451 AR_FLAGS=$lt_AR_FLAGS
12453 # A symbol stripping program.
12456 # Commands used to install an old-style archive.
12458 old_postinstall_cmds=$lt_old_postinstall_cmds
12459 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12461 # Whether to use a lock for old archive extraction.
12462 lock_old_archive_extraction=$lock_old_archive_extraction
12467 # LTCC compiler flags.
12468 LTCFLAGS=$lt_CFLAGS
12470 # Take the output of nm and produce a listing of raw symbols and C names.
12471 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12473 # Transform the output of nm in a proper C declaration.
12474 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12476 # Transform the output of nm in a C name address pair.
12477 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12479 # Transform the output of nm in a C name address pair when lib prefix is needed.
12480 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12482 # The name of the directory that contains temporary libtool files.
12485 # Used to examine libraries when file_magic_cmd begins with "file".
12486 MAGIC_CMD=$MAGIC_CMD
12488 # Must we lock files when doing compilation?
12489 need_locks=$lt_need_locks
12491 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12492 DSYMUTIL=$lt_DSYMUTIL
12494 # Tool to change global to local symbols on Mac OS X.
12497 # Tool to manipulate fat objects and archives on Mac OS X.
12500 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12503 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12504 OTOOL64=$lt_OTOOL64
12506 # Old archive suffix (normally "a").
12509 # Shared library suffix (normally ".so").
12510 shrext_cmds=$lt_shrext_cmds
12512 # The commands to extract the exported symbol list from a shared archive.
12513 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12515 # Variables whose values should be saved in libtool wrapper scripts and
12516 # restored at link time.
12517 variables_saved_for_relink=$lt_variables_saved_for_relink
12519 # Do we need the "lib" prefix for modules?
12520 need_lib_prefix=$need_lib_prefix
12522 # Do we need a version for libraries?
12523 need_version=$need_version
12525 # Library versioning type.
12526 version_type=$version_type
12528 # Shared library runtime path variable.
12529 runpath_var=$runpath_var
12531 # Shared library path variable.
12532 shlibpath_var=$shlibpath_var
12534 # Is shlibpath searched before the hard-coded library search path?
12535 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12537 # Format of library name prefix.
12538 libname_spec=$lt_libname_spec
12540 # List of archive names. First name is the real one, the rest are links.
12541 # The last name is the one that the linker finds with -lNAME
12542 library_names_spec=$lt_library_names_spec
12544 # The coded name of the library, if different from the real name.
12545 soname_spec=$lt_soname_spec
12547 # Permission mode override for installation of shared libraries.
12548 install_override_mode=$lt_install_override_mode
12550 # Command to use after installation of a shared archive.
12551 postinstall_cmds=$lt_postinstall_cmds
12553 # Command to use after uninstallation of a shared archive.
12554 postuninstall_cmds=$lt_postuninstall_cmds
12556 # Commands used to finish a libtool library installation in a directory.
12557 finish_cmds=$lt_finish_cmds
12559 # As "finish_cmds", except a single script fragment to be evaled but
12561 finish_eval=$lt_finish_eval
12563 # Whether we should hardcode library paths into libraries.
12564 hardcode_into_libs=$hardcode_into_libs
12566 # Compile-time system search path for libraries.
12567 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12569 # Run-time system search path for libraries.
12570 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12572 # Whether dlopen is supported.
12573 dlopen_support=$enable_dlopen
12575 # Whether dlopen of programs is supported.
12576 dlopen_self=$enable_dlopen_self
12578 # Whether dlopen of statically linked programs is supported.
12579 dlopen_self_static=$enable_dlopen_self_static
12581 # Commands to strip libraries.
12582 old_striplib=$lt_old_striplib
12583 striplib=$lt_striplib
12586 # The linker used to build libraries.
12589 # How to create reloadable object files.
12590 reload_flag=$lt_reload_flag
12591 reload_cmds=$lt_reload_cmds
12593 # Commands used to build an old-style archive.
12594 old_archive_cmds=$lt_old_archive_cmds
12596 # A language specific compiler.
12599 # Is the compiler the GNU compiler?
12602 # Compiler flag to turn off builtin functions.
12603 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12605 # How to pass a linker flag through the compiler.
12606 wl=$lt_lt_prog_compiler_wl
12608 # Additional compiler flags for building library objects.
12609 pic_flag=$lt_lt_prog_compiler_pic
12611 # Compiler flag to prevent dynamic linking.
12612 link_static_flag=$lt_lt_prog_compiler_static
12614 # Does compiler simultaneously support -c and -o options?
12615 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12617 # Whether or not to add -lc for building shared libraries.
12618 build_libtool_need_lc=$archive_cmds_need_lc
12620 # Whether or not to disallow shared libs when runtime libs are static.
12621 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12623 # Compiler flag to allow reflexive dlopens.
12624 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12626 # Compiler flag to generate shared objects directly from archives.
12627 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12629 # Whether the compiler copes with passing no objects directly.
12630 compiler_needs_object=$lt_compiler_needs_object
12632 # Create an old-style archive from a shared archive.
12633 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12635 # Create a temporary old-style archive to link instead of a shared archive.
12636 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12638 # Commands used to build a shared archive.
12639 archive_cmds=$lt_archive_cmds
12640 archive_expsym_cmds=$lt_archive_expsym_cmds
12642 # Commands used to build a loadable module if different from building
12643 # a shared archive.
12644 module_cmds=$lt_module_cmds
12645 module_expsym_cmds=$lt_module_expsym_cmds
12647 # Whether we are building with GNU ld or not.
12648 with_gnu_ld=$lt_with_gnu_ld
12650 # Flag that allows shared libraries with undefined symbols to be built.
12651 allow_undefined_flag=$lt_allow_undefined_flag
12653 # Flag that enforces no undefined symbols.
12654 no_undefined_flag=$lt_no_undefined_flag
12656 # Flag to hardcode \$libdir into a binary during linking.
12657 # This must work even if \$libdir does not exist
12658 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12660 # If ld is used when linking, flag to hardcode \$libdir into a binary
12661 # during linking. This must work even if \$libdir does not exist.
12662 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12664 # Whether we need a single "-rpath" flag with a separated argument.
12665 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12667 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12668 # DIR into the resulting binary.
12669 hardcode_direct=$hardcode_direct
12671 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12672 # DIR into the resulting binary and the resulting library dependency is
12673 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12674 # library is relocated.
12675 hardcode_direct_absolute=$hardcode_direct_absolute
12677 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12678 # into the resulting binary.
12679 hardcode_minus_L=$hardcode_minus_L
12681 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12682 # into the resulting binary.
12683 hardcode_shlibpath_var=$hardcode_shlibpath_var
12685 # Set to "yes" if building a shared library automatically hardcodes DIR
12686 # into the library and all subsequent libraries and executables linked
12688 hardcode_automatic=$hardcode_automatic
12690 # Set to yes if linker adds runtime paths of dependent libraries
12691 # to runtime path list.
12692 inherit_rpath=$inherit_rpath
12694 # Whether libtool must link a program against all its dependency libraries.
12695 link_all_deplibs=$link_all_deplibs
12697 # Fix the shell variable \$srcfile for the compiler.
12698 fix_srcfile_path=$lt_fix_srcfile_path
12700 # Set to "yes" if exported symbols are required.
12701 always_export_symbols=$always_export_symbols
12703 # The commands to list exported symbols.
12704 export_symbols_cmds=$lt_export_symbols_cmds
12706 # Symbols that should not be listed in the preloaded symbols.
12707 exclude_expsyms=$lt_exclude_expsyms
12709 # Symbols that must always be exported.
12710 include_expsyms=$lt_include_expsyms
12712 # Commands necessary for linking programs (against libraries) with templates.
12713 prelink_cmds=$lt_prelink_cmds
12715 # Specify filename containing input files.
12716 file_list_spec=$lt_file_list_spec
12718 # How to hardcode a shared library path into an executable.
12719 hardcode_action=$hardcode_action
12721 # ### END LIBTOOL CONFIG
12727 cat <<\_LT_EOF
>> "$cfgfile"
12728 # AIX sometimes has problems with the GCC collect2 program. For some
12729 # reason, if we set the COLLECT_NAMES environment variable, the problems
12730 # vanish in a puff of smoke.
12731 if test "X${COLLECT_NAMES+set}" != Xset
; then
12733 export COLLECT_NAMES
12740 ltmain
="$ac_aux_dir/ltmain.sh"
12743 # We use sed instead of cat because bash on DJGPP gets confused if
12744 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12745 # text mode, it properly converts lines to CR/LF. This bash problem
12746 # is reportedly fixed, but why not run on old versions too?
12747 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12748 ||
(rm -f "$cfgfile"; exit 1)
12752 cat << \_LT_EOF
>> "$cfgfile"
12754 # func_dirname file append nondir_replacement
12755 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12756 # otherwise set result to NONDIR_REPLACEMENT.
12760 */*) func_dirname_result
="${1%/*}${2}" ;;
12761 * ) func_dirname_result
="${3}" ;;
12765 # func_basename file
12768 func_basename_result
="${1##*/}"
12771 # func_dirname_and_basename file append nondir_replacement
12772 # perform func_basename and func_dirname in a single function
12774 # dirname: Compute the dirname of FILE. If nonempty,
12775 # add APPEND to the result, otherwise set result
12776 # to NONDIR_REPLACEMENT.
12777 # value returned in "$func_dirname_result"
12778 # basename: Compute filename of FILE.
12779 # value retuned in "$func_basename_result"
12780 # Implementation must be kept synchronized with func_dirname
12781 # and func_basename. For efficiency, we do not delegate to
12782 # those functions but instead duplicate the functionality here.
12783 func_dirname_and_basename
()
12786 */*) func_dirname_result
="${1%/*}${2}" ;;
12787 * ) func_dirname_result
="${3}" ;;
12789 func_basename_result
="${1##*/}"
12792 # func_stripname prefix suffix name
12793 # strip PREFIX and SUFFIX off of NAME.
12794 # PREFIX and SUFFIX must not contain globbing or regex special
12795 # characters, hashes, percent signs, but SUFFIX may contain a leading
12796 # dot (in which case that matches only a dot).
12799 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12800 # positional parameters, so assign one to ordinary parameter first.
12801 func_stripname_result
=${3}
12802 func_stripname_result
=${func_stripname_result#"${1}"}
12803 func_stripname_result
=${func_stripname_result%"${2}"}
12809 func_opt_split_opt
=${1%%=*}
12810 func_opt_split_arg
=${1#*=}
12817 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
12818 *) func_lo2o_result
=${1} ;;
12822 # func_xform libobj-or-source
12825 func_xform_result
=${1%.*}.lo
12828 # func_arith arithmetic-term...
12831 func_arith_result
=$
(( $
* ))
12835 # STRING may not start with a hyphen.
12838 func_len_result
=${#1}
12843 *) # Bourne compatible functions.
12844 cat << \_LT_EOF
>> "$cfgfile"
12846 # func_dirname file append nondir_replacement
12847 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12848 # otherwise set result to NONDIR_REPLACEMENT.
12851 # Extract subdirectory from the argument.
12852 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
12853 if test "X$func_dirname_result" = "X${1}"; then
12854 func_dirname_result
="${3}"
12856 func_dirname_result
="$func_dirname_result${2}"
12860 # func_basename file
12863 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
12867 # func_stripname prefix suffix name
12868 # strip PREFIX and SUFFIX off of NAME.
12869 # PREFIX and SUFFIX must not contain globbing or regex special
12870 # characters, hashes, percent signs, but SUFFIX may contain a leading
12871 # dot (in which case that matches only a dot).
12872 # func_strip_suffix prefix name
12876 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12877 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12882 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
12883 my_sed_long_arg
='1s/^-[^=]*=//'
12888 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
12889 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
12895 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
12898 # func_xform libobj-or-source
12901 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
12904 # func_arith arithmetic-term...
12907 func_arith_result
=`expr "$@"`
12911 # STRING may not start with a hyphen.
12914 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
12920 case $lt_shell_append in
12922 cat << \_LT_EOF
>> "$cfgfile"
12924 # func_append var value
12925 # Append VALUE to the end of shell variable VAR.
12933 cat << \_LT_EOF
>> "$cfgfile"
12935 # func_append var value
12936 # Append VALUE to the end of shell variable VAR.
12947 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12948 ||
(rm -f "$cfgfile"; exit 1)
12950 mv -f "$cfgfile" "$ofile" ||
12951 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12962 ac_clean_files
=$ac_clean_files_save
12964 test $ac_write_fail = 0 ||
12965 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
12968 # configure is writing to config.log, and then calls config.status.
12969 # config.status does its own redirection, appending to config.log.
12970 # Unfortunately, on DOS this fails, as config.log is still kept open
12971 # by configure, so config.status won't be able to write to it; its
12972 # output is simply discarded. So we exec the FD to /dev/null,
12973 # effectively closing config.log, so it can be properly (re)opened and
12974 # appended to by config.status. When coming back to configure, we
12975 # need to make the FD available again.
12976 if test "$no_create" != yes; then
12978 ac_config_status_args
=
12979 test "$silent" = yes &&
12980 ac_config_status_args
="$ac_config_status_args --quiet"
12982 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12984 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12985 # would make configure fail if this is the last instruction.
12986 $ac_cs_success || as_fn_exit $?
12988 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12990 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}