2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
564 ac_unique_file
="ldmain.c"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
612 enable_initfini_array
672 TARGET_SYSTEM_ROOT_DEFINE
676 MAINTAINER_MODE_FALSE
695 INSTALL_STRIP_PROGRAM
756 program_transform_name
767 ac_subst_files
='TDIRS'
769 enable_option_checking
770 enable_dependency_tracking
771 enable_maintainer_mode
779 enable_build_warnings
789 enable_initfini_array
791 ac_precious_vars
='build_alias
808 # Initialize some variables set by options.
810 ac_init_version
=false
811 ac_unrecognized_opts
=
813 # The variables have the same names as the options, with
814 # dashes changed to underlines.
822 program_transform_name
=s
,x
,x
,
830 # Installation directory options.
831 # These are left unexpanded so users can "make install exec_prefix=/foo"
832 # and all the variables that are supposed to be based on exec_prefix
833 # by default will actually change.
834 # Use braces instead of parens because sh, perl, etc. also accept them.
835 # (The list follows the same order as the GNU Coding Standards.)
836 bindir
='${exec_prefix}/bin'
837 sbindir
='${exec_prefix}/sbin'
838 libexecdir
='${exec_prefix}/libexec'
839 datarootdir
='${prefix}/share'
840 datadir
='${datarootdir}'
841 sysconfdir
='${prefix}/etc'
842 sharedstatedir
='${prefix}/com'
843 localstatedir
='${prefix}/var'
844 includedir
='${prefix}/include'
845 oldincludedir
='/usr/include'
846 docdir
='${datarootdir}/doc/${PACKAGE}'
847 infodir
='${datarootdir}/info'
852 libdir
='${exec_prefix}/lib'
853 localedir
='${datarootdir}/locale'
854 mandir
='${datarootdir}/man'
860 # If the previous option needs an argument, assign it.
861 if test -n "$ac_prev"; then
862 eval $ac_prev=\
$ac_option
868 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
872 # Accept the important Cygnus configure options, so we can diagnose typos.
874 case $ac_dashdash$ac_option in
878 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
880 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
883 -build |
--build |
--buil |
--bui |
--bu)
884 ac_prev
=build_alias
;;
885 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
886 build_alias
=$ac_optarg ;;
888 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
889 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
890 ac_prev
=cache_file
;;
891 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
892 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
893 cache_file
=$ac_optarg ;;
896 cache_file
=config.cache
;;
898 -datadir |
--datadir |
--datadi |
--datad)
900 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
901 datadir
=$ac_optarg ;;
903 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
904 |
--dataroo |
--dataro |
--datar)
905 ac_prev
=datarootdir
;;
906 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
907 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
908 datarootdir
=$ac_optarg ;;
910 -disable-* |
--disable-*)
911 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
914 as_fn_error
"invalid feature name: $ac_useropt"
915 ac_useropt_orig
=$ac_useropt
916 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
921 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922 ac_unrecognized_sep
=', ';;
924 eval enable_
$ac_useropt=no
;;
926 -docdir |
--docdir |
--docdi |
--doc |
--do)
928 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
931 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
933 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
936 -enable-* |
--enable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=\
$ac_optarg ;;
952 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
953 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
954 |
--exec |
--exe |
--ex)
955 ac_prev
=exec_prefix
;;
956 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
957 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
958 |
--exec=* |
--exe=* |
--ex=*)
959 exec_prefix
=$ac_optarg ;;
961 -gas |
--gas |
--ga |
--g)
962 # Obsolete; use --with-gas.
965 -help |
--help |
--hel |
--he |
-h)
967 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
968 ac_init_help
=recursive
;;
969 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
970 ac_init_help
=short
;;
972 -host |
--host |
--hos |
--ho)
973 ac_prev
=host_alias
;;
974 -host=* |
--host=* |
--hos=* |
--ho=*)
975 host_alias
=$ac_optarg ;;
977 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
979 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
981 htmldir
=$ac_optarg ;;
983 -includedir |
--includedir |
--includedi |
--included |
--include \
984 |
--includ |
--inclu |
--incl |
--inc)
985 ac_prev
=includedir
;;
986 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
987 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
988 includedir
=$ac_optarg ;;
990 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
992 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
993 infodir
=$ac_optarg ;;
995 -libdir |
--libdir |
--libdi |
--libd)
997 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1000 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1001 |
--libexe |
--libex |
--libe)
1002 ac_prev
=libexecdir
;;
1003 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1004 |
--libexe=* |
--libex=* |
--libe=*)
1005 libexecdir
=$ac_optarg ;;
1007 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1008 ac_prev
=localedir
;;
1009 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1010 localedir
=$ac_optarg ;;
1012 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1013 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1014 ac_prev
=localstatedir
;;
1015 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1016 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1017 localstatedir
=$ac_optarg ;;
1019 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1021 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1022 mandir
=$ac_optarg ;;
1024 -nfp |
--nfp |
--nf)
1025 # Obsolete; use --without-fp.
1028 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1029 |
--no-cr |
--no-c |
-n)
1032 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1033 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1036 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1037 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1038 |
--oldin |
--oldi |
--old |
--ol |
--o)
1039 ac_prev
=oldincludedir
;;
1040 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1041 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1042 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1043 oldincludedir
=$ac_optarg ;;
1045 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1047 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1048 prefix
=$ac_optarg ;;
1050 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1051 |
--program-pre |
--program-pr |
--program-p)
1052 ac_prev
=program_prefix
;;
1053 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1054 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1055 program_prefix
=$ac_optarg ;;
1057 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1058 |
--program-suf |
--program-su |
--program-s)
1059 ac_prev
=program_suffix
;;
1060 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1061 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1062 program_suffix
=$ac_optarg ;;
1064 -program-transform-name |
--program-transform-name \
1065 |
--program-transform-nam |
--program-transform-na \
1066 |
--program-transform-n |
--program-transform- \
1067 |
--program-transform |
--program-transfor \
1068 |
--program-transfo |
--program-transf \
1069 |
--program-trans |
--program-tran \
1070 |
--progr-tra |
--program-tr |
--program-t)
1071 ac_prev
=program_transform_name
;;
1072 -program-transform-name=* |
--program-transform-name=* \
1073 |
--program-transform-nam=* |
--program-transform-na=* \
1074 |
--program-transform-n=* |
--program-transform-=* \
1075 |
--program-transform=* |
--program-transfor=* \
1076 |
--program-transfo=* |
--program-transf=* \
1077 |
--program-trans=* |
--program-tran=* \
1078 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1079 program_transform_name
=$ac_optarg ;;
1081 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1083 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1084 pdfdir
=$ac_optarg ;;
1086 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1088 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1092 |
-silent |
--silent |
--silen |
--sile |
--sil)
1095 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1097 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1099 sbindir
=$ac_optarg ;;
1101 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1102 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1103 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1105 ac_prev
=sharedstatedir
;;
1106 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1107 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1108 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1110 sharedstatedir
=$ac_optarg ;;
1112 -site |
--site |
--sit)
1114 -site=* |
--site=* |
--sit=*)
1117 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1119 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1120 srcdir
=$ac_optarg ;;
1122 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1123 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1124 ac_prev
=sysconfdir
;;
1125 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1126 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1127 sysconfdir
=$ac_optarg ;;
1129 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1130 ac_prev
=target_alias
;;
1131 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1132 target_alias
=$ac_optarg ;;
1134 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1137 -version |
--version |
--versio |
--versi |
--vers |
-V)
1138 ac_init_version
=: ;;
1141 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1144 as_fn_error
"invalid package name: $ac_useropt"
1145 ac_useropt_orig
=$ac_useropt
1146 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152 ac_unrecognized_sep
=', ';;
1154 eval with_
$ac_useropt=\
$ac_optarg ;;
1156 -without-* |
--without-*)
1157 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1160 as_fn_error
"invalid package name: $ac_useropt"
1161 ac_useropt_orig
=$ac_useropt
1162 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1167 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168 ac_unrecognized_sep
=', ';;
1170 eval with_
$ac_useropt=no
;;
1173 # Obsolete; use --with-x.
1176 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1177 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1178 ac_prev
=x_includes
;;
1179 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1180 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1181 x_includes
=$ac_optarg ;;
1183 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1184 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1185 ac_prev
=x_libraries
;;
1186 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1187 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1188 x_libraries
=$ac_optarg ;;
1190 -*) as_fn_error
"unrecognized option: \`$ac_option'
1191 Try \`$0 --help' for more information."
1195 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1196 # Reject names that are not valid shell variable names.
1197 case $ac_envvar in #(
1198 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1199 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1201 eval $ac_envvar=\
$ac_optarg
1202 export $ac_envvar ;;
1205 # FIXME: should be removed in autoconf 3.0.
1206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1208 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1215 if test -n "$ac_prev"; then
1216 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1217 as_fn_error
"missing argument to $ac_option"
1220 if test -n "$ac_unrecognized_opts"; then
1221 case $enable_option_checking in
1223 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1228 # Check all directory arguments for consistency.
1229 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230 datadir sysconfdir sharedstatedir localstatedir includedir \
1231 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232 libdir localedir mandir
1234 eval ac_val
=\$
$ac_var
1235 # Remove trailing slashes.
1238 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239 eval $ac_var=\
$ac_val;;
1241 # Be sure to have absolute directory names.
1243 [\\/$
]* | ?
:[\\/]* ) continue;;
1244 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1246 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1254 target
=$target_alias
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x
; then
1258 if test "x$build_alias" = x
; then
1259 cross_compiling
=maybe
1260 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1261 If a cross compiler is detected then cross compile mode will be used." >&2
1262 elif test "x$build_alias" != "x$host_alias"; then
1268 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1270 test "$silent" = yes && exec 6>/dev
/null
1273 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di
=`ls -di .` &&
1275 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1276 as_fn_error
"working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278 as_fn_error
"pwd does not report name of working directory"
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283 ac_srcdir_defaulted
=yes
1284 # Try the directory containing this script, then the parent directory.
1285 ac_confdir
=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$as_myself" : 'X\(//\)[^/]' \| \
1288 X"$as_myself" : 'X\(//\)$' \| \
1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1313 ac_srcdir_defaulted
=no
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1317 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1319 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1331 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1333 for ac_var
in $ac_precious_vars; do
1334 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1335 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1336 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1337 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1341 # Report the --help message.
1343 if test "$ac_init_help" = "long"; then
1344 # Omit some internal or obsolete options to make the list less imposing.
1345 # This message is too long to be a string in the A/UX 3.1 sh.
1347 \`configure' configures this package to adapt to many kinds of systems.
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE. See below for descriptions of some of the useful variables.
1354 Defaults for the options are specified in brackets.
1357 -h, --help display this help and exit
1358 --help=short display options specific to this package
1359 --help=recursive display the short help of all the included packages
1360 -V, --version display version information and exit
1361 -q, --quiet, --silent do not print \`checking...' messages
1362 --cache-file=FILE cache test results in FILE [disabled]
1363 -C, --config-cache alias for \`--cache-file=config.cache'
1364 -n, --no-create do not create output files
1365 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1367 Installation directories:
1368 --prefix=PREFIX install architecture-independent files in PREFIX
1369 [$ac_default_prefix]
1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1378 For better control, use the options below.
1380 Fine tuning of the installation directories:
1381 --bindir=DIR user executables [EPREFIX/bin]
1382 --sbindir=DIR system admin executables [EPREFIX/sbin]
1383 --libexecdir=DIR program executables [EPREFIX/libexec]
1384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1386 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1387 --libdir=DIR object code libraries [EPREFIX/lib]
1388 --includedir=DIR C header files [PREFIX/include]
1389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1392 --infodir=DIR info documentation [DATAROOTDIR/info]
1393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1394 --mandir=DIR man documentation [DATAROOTDIR/man]
1395 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1396 --htmldir=DIR html documentation [DOCDIR]
1397 --dvidir=DIR dvi documentation [DOCDIR]
1398 --pdfdir=DIR pdf documentation [DOCDIR]
1399 --psdir=DIR ps documentation [DOCDIR]
1405 --program-prefix=PREFIX prepend PREFIX to installed program names
1406 --program-suffix=SUFFIX append SUFFIX to installed program names
1407 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1410 --build=BUILD configure
for building on BUILD
[guessed
]
1411 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1412 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1416 if test -n "$ac_init_help"; then
1421 --disable-option-checking ignore unrecognized
--enable/--with options
1422 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1423 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1424 --disable-dependency-tracking speeds up one-time build
1425 --enable-dependency-tracking do not reject slow dependency extractors
1426 --enable-maintainer-mode enable make rules and dependencies not useful
1427 (and sometimes confusing
) to the casual installer
1428 --enable-targets alternative target configurations
1429 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1430 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1431 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1433 --enable-werror treat compile warnings as errors
1434 --enable-build-warnings enable build-time compiler warnings
1435 --enable-plugins Enable support
for plugins
(defaults no
)
1436 --disable-largefile omit support
for large files
1437 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1438 --enable-static[=PKGS
] build static libraries
[default
=yes]
1439 --enable-fast-install[=PKGS
]
1440 optimize
for fast installation
[default
=yes]
1441 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1442 --disable-nls do not use Native Language Support
1443 --enable-initfini-array use .init_array
/.fini_array sections
1446 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1447 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1448 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1449 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1450 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1452 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1454 Some influential environment variables
:
1455 CC C compiler
command
1456 CFLAGS C compiler flags
1457 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1458 nonstandard directory
<lib dir
>
1459 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1460 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1461 you have headers
in a nonstandard directory
<include dir
>
1463 CXX C
++ compiler
command
1464 CXXFLAGS C
++ compiler flags
1465 CXXCPP C
++ preprocessor
1466 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1467 the first program found out of: `bison
-y', `byacc', `yacc'.
1468 YFLAGS The list of arguments that will be passed by default to $YACC.
1469 This script will default YFLAGS to the empty string to avoid a
1470 default value of `-d' given by some make applications.
1472 Use these variables to override the choices made by `configure' or to
help
1473 it to
find libraries and programs with nonstandard names
/locations.
1475 Report bugs to the package provider.
1480 if test "$ac_init_help" = "recursive"; then
1481 # If there are subdirs, report their specific --help.
1482 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1483 test -d "$ac_dir" ||
1484 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1489 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1491 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1492 # A ".." for each directory in $ac_dir_suffix.
1493 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1494 case $ac_top_builddir_sub in
1495 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1496 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1499 ac_abs_top_builddir
=$ac_pwd
1500 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1501 # for backward compatibility:
1502 ac_top_builddir
=$ac_top_build_prefix
1505 .
) # We are building in place.
1507 ac_top_srcdir
=$ac_top_builddir_sub
1508 ac_abs_top_srcdir
=$ac_pwd ;;
1509 [\\/]* | ?
:[\\/]* ) # Absolute name.
1510 ac_srcdir
=$srcdir$ac_dir_suffix;
1511 ac_top_srcdir
=$srcdir
1512 ac_abs_top_srcdir
=$srcdir ;;
1514 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1516 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1518 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1520 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1521 # Check for guested configure.
1522 if test -f "$ac_srcdir/configure.gnu"; then
1524 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525 elif test -f "$ac_srcdir/configure"; then
1527 $SHELL "$ac_srcdir/configure" --help=recursive
1529 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1531 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1535 test -n "$ac_init_help" && exit $ac_status
1536 if $ac_init_version; then
1539 generated by GNU Autoconf
2.64
1541 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1542 This configure
script is free software
; the Free Software Foundation
1543 gives unlimited permission to copy
, distribute and modify it.
1548 ## ------------------------ ##
1549 ## Autoconf initialization. ##
1550 ## ------------------------ ##
1552 # ac_fn_c_try_compile LINENO
1553 # --------------------------
1554 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1555 ac_fn_c_try_compile
()
1557 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1558 rm -f conftest.
$ac_objext
1559 if { { ac_try
="$ac_compile"
1561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_compile") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && {
1575 test -z "$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1577 } && test -s conftest.$ac_objext; then :
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1585 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1588 } # ac_fn_c_try_compile
1590 # ac_fn_c_try_link LINENO
1591 # -----------------------
1592 # Try to link conftest.$ac_ext, and return whether this succeeded.
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext conftest$ac_exeext
1597 if { { ac_try="$ac_link"
1599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1600 *) ac_try_echo
=$ac_try;;
1602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_link") 2>conftest.err
1606 if test -s conftest.err
; then
1607 grep -v '^ *+' conftest.err
>conftest.er1
1608 cat conftest.er1
>&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest
$ac_exeext && {
1616 test "$cross_compiling" = yes ||
1617 $as_test_x conftest
$ac_exeext
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1627 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1628 # interfere with the next link command; also delete a directory that is
1629 # left behind by Apple's compiler. We do this before executing the actions.
1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1631 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1634 } # ac_fn_c_try_link
1636 # ac_fn_c_try_cpp LINENO
1637 # ----------------------
1638 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1641 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1642 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } >/dev/null && {
1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1673 # ac_fn_cxx_try_compile LINENO
1674 # ----------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_cxx_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1683 *) ac_try_echo
=$ac_try;;
1685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err
; then
1690 grep -v '^ *+' conftest.err
>conftest.er1
1691 cat conftest.er1
>&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_cxx_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.
$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.
$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1709 } # ac_fn_cxx_try_compile
1711 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1712 # -------------------------------------------------------
1713 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1714 # the include files in INCLUDES and setting the cache variable VAR
1716 ac_fn_c_check_header_mongrel
()
1718 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1719 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1723 $as_echo_n "(cached) " >&6
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1729 # Is the header compilable?
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1731 $as_echo_n "checking $2 usability... " >&6; }
1732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1737 if ac_fn_c_try_compile
"$LINENO"; then :
1738 ac_header_compiler
=yes
1740 ac_header_compiler
=no
1742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1744 $as_echo "$ac_header_compiler" >&6; }
1746 # Is the header present?
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1748 $as_echo_n "checking $2 presence... " >&6; }
1749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1753 if ac_fn_c_try_cpp
"$LINENO"; then :
1754 ac_header_preproc
=yes
1756 ac_header_preproc
=no
1758 rm -f conftest.err conftest.
$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1760 $as_echo "$ac_header_preproc" >&6; }
1762 # So? What about this header?
1763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1766 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1772 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1774 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1776 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1778 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 $as_echo_n "(cached) " >&6
1788 eval "$3=\$ac_header_compiler"
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1796 } # ac_fn_c_check_header_mongrel
1798 # ac_fn_c_try_run LINENO
1799 # ----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801 # that executables *can* be run.
1804 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1805 if { { ac_try
="$ac_link"
1807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>&5
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1816 { { case "(($ac_try" in
1817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1818 *) ac_try_echo
=$ac_try;;
1820 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_try") 2>&5
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; }; }; then :
1828 $as_echo "$as_me: program exited with status $ac_status" >&5
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1832 ac_retval
=$ac_status
1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1841 # -------------------------------------------------------
1842 # Tests whether HEADER exists and can be compiled using the include files in
1843 # INCLUDES, setting the cache variable VAR accordingly.
1844 ac_fn_c_check_header_compile
()
1846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 $as_echo_n "(cached) " >&6
1852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1857 if ac_fn_c_try_compile
"$LINENO"; then :
1862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1869 } # ac_fn_c_check_header_compile
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func
()
1876 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 $as_echo_n "(cached) " >&6
1882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1894 # include <limits.h>
1896 # include <assert.h>
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1923 if ac_fn_c_try_link
"$LINENO"; then :
1928 rm -f core conftest.err conftest.
$ac_objext \
1929 conftest
$ac_exeext conftest.
$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1936 } # ac_fn_c_check_func
1938 # ac_fn_cxx_try_cpp LINENO
1939 # ------------------------
1940 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_cxx_try_cpp
()
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1947 *) ac_try_echo=$ac_try;;
1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950 $as_echo "$ac_try_echo"; } >&5
1951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1953 if test -s conftest.err; then
1954 grep -v '^ *+' conftest.err >conftest.er1
1955 cat conftest.er1 >&5
1956 mv -f conftest.er1 conftest.err
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } >/dev/null && {
1960 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1961 test ! -s conftest.err
1965 $as_echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.$ac_ext >&5
1970 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 } # ac_fn_cxx_try_cpp
1975 # ac_fn_cxx_try_link LINENO
1976 # -------------------------
1977 # Try to link conftest.$ac_ext, and return whether this succeeded.
1978 ac_fn_cxx_try_link ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 rm -f conftest.$ac_objext conftest$ac_exeext
1982 if { { ac_try="$ac_link"
1984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1985 *) ac_try_echo
=$ac_try;;
1987 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_link") 2>conftest.err
1991 if test -s conftest.err
; then
1992 grep -v '^ *+' conftest.err
>conftest.er1
1993 cat conftest.er1
>&5
1994 mv -f conftest.er1 conftest.err
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } && {
1998 test -z "$ac_cxx_werror_flag" ||
1999 test ! -s conftest.err
2000 } && test -s conftest
$ac_exeext && {
2001 test "$cross_compiling" = yes ||
2002 $as_test_x conftest
$ac_exeext
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.
$ac_ext >&5
2011 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2012 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2013 # interfere with the next link command; also delete a directory that is
2014 # left behind by Apple's compiler. We do this before executing the actions.
2015 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2016 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2019 } # ac_fn_cxx_try_link
2021 # ac_fn_c_check_decl LINENO SYMBOL VAR
2022 # ------------------------------------
2023 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2024 ac_fn_c_check_decl
()
2026 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2027 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2028 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2030 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2031 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2032 $as_echo_n "(cached) " >&6
2034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2040 #ifndef $as_decl_name
2042 (void) $as_decl_use;
2044 (void) $as_decl_name;
2052 if ac_fn_c_try_compile
"$LINENO"; then :
2057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2064 } # ac_fn_c_check_decl
2066 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2067 # --------------------------------------------
2068 # Tries to find the compile-time value of EXPR in a program that includes
2069 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2071 ac_fn_c_compute_int
()
2073 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2074 if test "$cross_compiling" = yes; then
2075 # Depending upon the size, compute the lo and hi bounds.
2076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2082 static int test_array [1 - 2 * !(($2) >= 0)];
2089 if ac_fn_c_try_compile
"$LINENO"; then :
2092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2098 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2105 if ac_fn_c_try_compile
"$LINENO"; then :
2106 ac_hi
=$ac_mid; break
2108 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2109 if test $ac_lo -le $ac_mid; then
2113 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 static int test_array [1 - 2 * !(($2) < 0)];
2131 if ac_fn_c_try_compile
"$LINENO"; then :
2134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2140 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2147 if ac_fn_c_try_compile
"$LINENO"; then :
2148 ac_lo
=$ac_mid; break
2150 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2151 if test $ac_mid -le $ac_hi; then
2155 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2165 # Binary search between lo and hi bounds.
2166 while test "x$ac_lo" != "x$ac_hi"; do
2167 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2174 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2181 if ac_fn_c_try_compile
"$LINENO"; then :
2184 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2189 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2196 static long int longval () { return $2; }
2197 static unsigned long int ulongval () { return $2; }
2204 FILE *f = fopen ("conftest.val", "w");
2209 long int i = longval ();
2212 fprintf (f, "%ld", i);
2216 unsigned long int i = ulongval ();
2219 fprintf (f, "%lu", i);
2221 /* Do not output a trailing newline, as this causes \r\n confusion
2222 on some platforms. */
2223 return ferror (f) || fclose (f) != 0;
2229 if ac_fn_c_try_run
"$LINENO"; then :
2230 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2234 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2235 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2242 } # ac_fn_c_compute_int
2243 cat >config.log
<<_ACEOF
2244 This file contains any messages produced by compilers while
2245 running configure, to aid debugging if configure makes a mistake.
2247 It was created by $as_me, which was
2248 generated by GNU Autoconf 2.64. Invocation command line was
2260 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2261 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2262 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2263 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2264 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2266 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2267 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2269 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2270 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2271 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2272 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2273 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2274 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2275 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 $as_echo "PATH: $as_dir"
2300 # Keep a trace of the command line.
2301 # Strip out --no-create and --no-recursion so they do not pile up.
2302 # Strip out --silent because we don't want to record it for future runs.
2303 # Also quote any args containing shell meta-characters.
2304 # Make two passes to allow for proper duplicate-argument suppression.
2308 ac_must_keep_next
=false
2314 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2315 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2316 |
-silent |
--silent |
--silen |
--sile |
--sil)
2319 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2322 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2324 as_fn_append ac_configure_args1
" '$ac_arg'"
2325 if test $ac_must_keep_next = true
; then
2326 ac_must_keep_next
=false
# Got value, back to normal.
2329 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2330 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2331 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2332 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2333 case "$ac_configure_args0 " in
2334 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2337 -* ) ac_must_keep_next
=true
;;
2340 as_fn_append ac_configure_args
" '$ac_arg'"
2345 { ac_configure_args0
=; unset ac_configure_args0
;}
2346 { ac_configure_args1
=; unset ac_configure_args1
;}
2348 # When interrupted or exit'd, cleanup temporary files, and complete
2349 # config.log. We remove comments because anyway the quotes in there
2350 # would cause problems or look ugly.
2351 # WARNING: Use '\'' to represent an apostrophe within the trap.
2352 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2353 trap 'exit_status=$?
2354 # Save into config.log some information that might help in debugging.
2359 ## ---------------- ##
2360 ## Cache variables. ##
2361 ## ---------------- ##
2364 # The following way of writing the cache mishandles newlines in values,
2366 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2367 eval ac_val=\$$ac_var
2371 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2375 _ | IFS | as_nl) ;; #(
2376 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2377 *) { eval $ac_var=; unset $ac_var;} ;;
2382 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2383 *${as_nl}ac_space=\ *)
2385 "s/'\''/'\''\\\\'\'''\''/g;
2386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2389 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2397 ## ----------------- ##
2398 ## Output variables. ##
2399 ## ----------------- ##
2402 for ac_var in $ac_subst_vars
2404 eval ac_val=\$$ac_var
2406 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2408 $as_echo "$ac_var='\''$ac_val'\''"
2412 if test -n "$ac_subst_files"; then
2414 ## ------------------- ##
2415 ## File substitutions. ##
2416 ## ------------------- ##
2419 for ac_var
in $ac_subst_files
2421 eval ac_val
=\$
$ac_var
2423 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2425 $as_echo "$ac_var='\''$ac_val'\''"
2430 if test -s confdefs.h; then
2440 test "$ac_signal" != 0 &&
2441 $as_echo "$as_me: caught signal $ac_signal"
2442 $as_echo "$as_me: exit $exit_status"
2444 rm -f core *.core core.conftest.* &&
2445 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2448 for ac_signal
in 1 2 13 15; do
2449 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2454 rm -f -r conftest
* confdefs.h
2456 $as_echo "/* confdefs.h */" > confdefs.h
2458 # Predefined preprocessor variables.
2460 cat >>confdefs.h
<<_ACEOF
2461 #define PACKAGE_NAME "$PACKAGE_NAME"
2464 cat >>confdefs.h
<<_ACEOF
2465 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2468 cat >>confdefs.h
<<_ACEOF
2469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_STRING "$PACKAGE_STRING"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_URL "$PACKAGE_URL"
2485 # Let the site file select an alternate cache file if it wants to.
2486 # Prefer an explicitly selected file to automatically selected ones.
2489 if test -n "$CONFIG_SITE"; then
2490 ac_site_file1
=$CONFIG_SITE
2491 elif test "x$prefix" != xNONE
; then
2492 ac_site_file1
=$prefix/share
/config.site
2493 ac_site_file2
=$prefix/etc
/config.site
2495 ac_site_file1
=$ac_default_prefix/share
/config.site
2496 ac_site_file2
=$ac_default_prefix/etc
/config.site
2498 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2500 test "x$ac_site_file" = xNONE
&& continue
2501 if test -r "$ac_site_file"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2503 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2504 sed 's/^/| /' "$ac_site_file" >&5
2509 if test -r "$cache_file"; then
2510 # Some versions of bash will fail to source /dev/null (special
2511 # files actually), so we avoid doing that.
2512 if test -f "$cache_file"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2514 $as_echo "$as_me: loading cache $cache_file" >&6;}
2516 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2517 *) .
"./$cache_file";;
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2522 $as_echo "$as_me: creating cache $cache_file" >&6;}
2526 # Check that the precious variables saved in the cache have kept the same
2528 ac_cache_corrupted
=false
2529 for ac_var
in $ac_precious_vars; do
2530 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2531 eval ac_new_set
=\
$ac_env_${ac_var}_set
2532 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2533 eval ac_new_val
=\
$ac_env_${ac_var}_value
2534 case $ac_old_set,$ac_new_set in
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2537 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2538 ac_cache_corrupted
=: ;;
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2541 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2542 ac_cache_corrupted
=: ;;
2545 if test "x$ac_old_val" != "x$ac_new_val"; then
2546 # differences in whitespace do not lead to failure.
2547 ac_old_val_w
=`echo x $ac_old_val`
2548 ac_new_val_w
=`echo x $ac_new_val`
2549 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2551 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2552 ac_cache_corrupted
=:
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2555 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2556 eval $ac_var=\
$ac_old_val
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2559 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2561 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2564 # Pass precious variables to config.status.
2565 if test "$ac_new_set" = set; then
2567 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2568 *) ac_arg
=$ac_var=$ac_new_val ;;
2570 case " $ac_configure_args " in
2571 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2572 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2576 if $ac_cache_corrupted; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2580 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2581 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2583 ## -------------------- ##
2584 ## Main body of script. ##
2585 ## -------------------- ##
2588 ac_cpp
='$CPP $CPPFLAGS'
2589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2600 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2601 for ac_t
in install-sh
install.sh shtool
; do
2602 if test -f "$ac_dir/$ac_t"; then
2604 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2609 if test -z "$ac_aux_dir"; then
2610 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2613 # These three variables are undocumented and unsupported,
2614 # and are intended to be withdrawn in a future Autoconf release.
2615 # They can cause serious problems if a builder's source tree is in a directory
2616 # whose full name contains unusual characters.
2617 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2618 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2619 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2622 # Make sure we can run config.sub.
2623 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2624 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2627 $as_echo_n "checking build system type... " >&6; }
2628 if test "${ac_cv_build+set}" = set; then :
2629 $as_echo_n "(cached) " >&6
2631 ac_build_alias
=$build_alias
2632 test "x$ac_build_alias" = x
&&
2633 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2634 test "x$ac_build_alias" = x
&&
2635 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2636 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2637 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2641 $as_echo "$ac_cv_build" >&6; }
2642 case $ac_cv_build in
2644 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2647 ac_save_IFS
=$IFS; IFS
='-'
2653 # Remember, the first character of IFS is used to create $*,
2654 # except with old shells:
2657 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2661 $as_echo_n "checking host system type... " >&6; }
2662 if test "${ac_cv_host+set}" = set; then :
2663 $as_echo_n "(cached) " >&6
2665 if test "x$host_alias" = x
; then
2666 ac_cv_host
=$ac_cv_build
2668 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2669 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2674 $as_echo "$ac_cv_host" >&6; }
2677 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2680 ac_save_IFS
=$IFS; IFS
='-'
2686 # Remember, the first character of IFS is used to create $*,
2687 # except with old shells:
2690 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2694 $as_echo_n "checking target system type... " >&6; }
2695 if test "${ac_cv_target+set}" = set; then :
2696 $as_echo_n "(cached) " >&6
2698 if test "x$target_alias" = x
; then
2699 ac_cv_target
=$ac_cv_host
2701 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2702 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2707 $as_echo "$ac_cv_target" >&6; }
2708 case $ac_cv_target in
2710 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2712 target
=$ac_cv_target
2713 ac_save_IFS
=$IFS; IFS
='-'
2719 # Remember, the first character of IFS is used to create $*,
2720 # except with old shells:
2723 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2726 # The aliases save the names the user supplied, while $host etc.
2727 # will get canonicalized.
2728 test -n "$target_alias" &&
2729 test "$program_prefix$program_suffix$program_transform_name" = \
2731 program_prefix
=${target_alias}-
2734 ac_cpp
='$CPP $CPPFLAGS'
2735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2738 if test -n "$ac_tool_prefix"; then
2739 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2740 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if test "${ac_cv_prog_CC+set}" = set; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC
="$CC" # Let the user override the test.
2749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir
=.
2754 for ac_exec_ext
in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 if test -n "$CC"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2769 $as_echo "$CC" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2777 if test -z "$ac_cv_prog_CC"; then
2779 # Extract the first word of "gcc", so it can be a program name with args.
2780 set dummy gcc
; ac_word
=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$ac_ct_CC"; then
2787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir
=.
2794 for ac_exec_ext
in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_ac_ct_CC
="gcc"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2807 if test -n "$ac_ct_CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2809 $as_echo "$ac_ct_CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2815 if test "x$ac_ct_CC" = x
; then
2818 case $cross_compiling:$ac_tool_warned in
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2822 ac_tool_warned
=yes ;;
2830 if test -z "$CC"; then
2831 if test -n "$ac_tool_prefix"; then
2832 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2833 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if test "${ac_cv_prog_CC+set}" = set; then :
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$CC"; then
2840 ac_cv_prog_CC
="$CC" # Let the user override the test.
2842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2846 test -z "$as_dir" && as_dir
=.
2847 for ac_exec_ext
in '' $ac_executable_extensions; do
2848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2849 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 if test -n "$CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2862 $as_echo "$CC" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2871 if test -z "$CC"; then
2872 # Extract the first word of "cc", so it can be a program name with args.
2873 set dummy cc
; ac_word
=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if test "${ac_cv_prog_CC+set}" = set; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC
="$CC" # Let the user override the test.
2883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir
=.
2888 for ac_exec_ext
in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2891 ac_prog_rejected
=yes
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test $ac_prog_rejected = yes; then
2903 # We found a bogon in the path, so make sure we never use it.
2904 set dummy
$ac_cv_prog_CC
2906 if test $# != 0; then
2907 # We chose a different compiler from the bogus one.
2908 # However, it has the same basename, so the bogon will be chosen
2909 # first if we set CC to just the basename; use the full file name.
2911 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2917 if test -n "$CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919 $as_echo "$CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2927 if test -z "$CC"; then
2928 if test -n "$ac_tool_prefix"; then
2929 for ac_prog
in cl.exe
2931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2932 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_CC+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC
="$CC" # Let the user override the test.
2941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir
=.
2946 for ac_exec_ext
in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2968 test -n "$CC" && break
2971 if test -z "$CC"; then
2973 for ac_prog
in cl.exe
2975 # Extract the first word of "$ac_prog", so it can be a program name with args.
2976 set dummy
$ac_prog; ac_word
=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$ac_ct_CC"; then
2983 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_ac_ct_CC
="$ac_prog"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3003 if test -n "$ac_ct_CC"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3005 $as_echo "$ac_ct_CC" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3012 test -n "$ac_ct_CC" && break
3015 if test "x$ac_ct_CC" = x
; then
3018 case $cross_compiling:$ac_tool_warned in
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned
=yes ;;
3031 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 as_fn_error
"no acceptable C compiler found in \$PATH
3034 See \`config.log' for more details." "$LINENO" 5; }
3036 # Provide some information about the compiler.
3037 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3040 for ac_option
in --version -v -V -qversion; do
3041 { { ac_try
="$ac_compiler $ac_option >&5"
3043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3050 if test -s conftest.err; then
3052 ... rest of stderr output deleted ...
3053 10q' conftest.err >conftest.er1
3054 cat conftest.er1 >&5
3055 rm -f conftest.er1 conftest.err
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3072 ac_clean_files_save=$ac_clean_files
3073 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3074 # Try to create an executable without -o first, disregard a.out.
3075 # It will help us diagnose broken compilers, and finding out an intuition
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3078 $as_echo_n "checking for C compiler default output file name... " >&6; }
3079 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3081 # The possible output files:
3082 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3085 for ac_file in $ac_files
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3089 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3094 if { { ac_try="$ac_link_default"
3096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3097 *) ac_try_echo
=$ac_try;;
3099 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3100 $as_echo "$ac_try_echo"; } >&5
3101 (eval "$ac_link_default") 2>&5
3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3104 test $ac_status = 0; }; then :
3105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3106 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3108 # so that the user can short-circuit this test for compilers unknown to
3110 for ac_file
in $ac_files ''
3112 test -f "$ac_file" ||
continue
3114 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3117 # We found the default executable, but exeext='' is most
3121 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3123 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3125 # We set ac_cv_exeext here because the later test for it is not
3126 # safe: cross compilers may not add the suffix if given an `-o'
3127 # argument, so we may need to know it at that point already.
3128 # Even if this section looks crufty: it has the advantage of
3135 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3141 $as_echo "$ac_file" >&6; }
3142 if test -z "$ac_file"; then :
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.
$ac_ext >&5
3146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 { as_fn_set_status
77
3149 as_fn_error
"C compiler cannot create executables
3150 See \`config.log' for more details." "$LINENO" 5; }; }
3152 ac_exeext
=$ac_cv_exeext
3154 # Check that the compiler produces executables we can run. If not, either
3155 # the compiler is broken, or we cross compile.
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3157 $as_echo_n "checking whether the C compiler works... " >&6; }
3158 # If not cross compiling, check that we can run a simple program.
3159 if test "$cross_compiling" != yes; then
3160 if { ac_try
='./$ac_file'
3161 { { case "(($ac_try" in
3162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_try") 2>&5
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; }; }; then
3173 if test "$cross_compiling" = maybe; then
3176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error "cannot run C compiled programs.
3179 If you meant to cross compile
, use \
`--host'.
3180 See \`config.log
' for more details." "$LINENO" 5; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3185 $as_echo "yes" >&6; }
3187 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3188 ac_clean_files=$ac_clean_files_save
3189 # Check that the compiler produces executables we can run. If not, either
3190 # the compiler is broken, or we cross compile.
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3192 $as_echo_n "checking whether we are cross compiling... " >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3194 $as_echo "$cross_compiling" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3197 $as_echo_n "checking for suffix of executables... " >&6; }
3198 if { { ac_try="$ac_link"
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_link") 2>&5
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; }; then :
3209 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3210 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3211 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3213 for ac_file
in conftest.exe conftest conftest.
*; do
3214 test -f "$ac_file" ||
continue
3216 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3217 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3226 See \`config.log' for more details." "$LINENO" 5; }
3228 rm -f conftest
$ac_cv_exeext
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3230 $as_echo "$ac_cv_exeext" >&6; }
3232 rm -f conftest.
$ac_ext
3233 EXEEXT
=$ac_cv_exeext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3236 $as_echo_n "checking for suffix of object files... " >&6; }
3237 if test "${ac_cv_objext+set}" = set; then :
3238 $as_echo_n "(cached) " >&6
3240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3251 rm -f conftest.o conftest.obj
3252 if { { ac_try
="$ac_compile"
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_compile") 2>&5
3261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3262 test $ac_status = 0; }; then :
3263 for ac_file in conftest.o conftest.obj conftest.*; do
3264 test -f "$ac_file" || continue;
3266 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3267 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3272 $as_echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3277 as_fn_error "cannot compute suffix of object files
: cannot compile
3278 See \
`config.log' for more details." "$LINENO" 5; }
3280 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3283 $as_echo "$ac_cv_objext" >&6; }
3284 OBJEXT=$ac_cv_objext
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3287 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3288 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3305 if ac_fn_c_try_compile "$LINENO"; then :
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3315 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3316 if test $ac_compiler_gnu = yes; then
3321 ac_test_CFLAGS=${CFLAGS+set}
3322 ac_save_CFLAGS=$CFLAGS
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3324 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3325 if test "${ac_cv_prog_cc_g+set}" = set; then :
3326 $as_echo_n "(cached) " >&6
3328 ac_save_c_werror_flag=$ac_c_werror_flag
3329 ac_c_werror_flag=yes
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3343 if ac_fn_c_try_compile "$LINENO"; then :
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3358 if ac_fn_c_try_compile "$LINENO"; then :
3361 ac_c_werror_flag=$ac_save_c_werror_flag
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3374 if ac_fn_c_try_compile "$LINENO"; then :
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_c_werror_flag=$ac_save_c_werror_flag
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3385 $as_echo "$ac_cv_prog_cc_g" >&6; }
3386 if test "$ac_test_CFLAGS" = set; then
3387 CFLAGS=$ac_save_CFLAGS
3388 elif test $ac_cv_prog_cc_g = yes; then
3389 if test "$GCC" = yes; then
3395 if test "$GCC" = yes; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3402 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3403 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3404 $as_echo_n "(cached) " >&6
3406 ac_cv_prog_cc_c89=no
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3412 #include <sys/types.h>
3413 #include <sys/stat.h>
3414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3415 struct buf { int x; };
3416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3417 static char *e (p, i)
3423 static char *f (char * (*g) (char **, int), char **p, ...)
3428 s = g (p, va_arg (v,int));
3433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3434 function prototypes and stuff, but not '\xHH' hex character constants.
3435 These don't provoke an error unfortunately, instead are silently treated
3436 as 'x'. The following induces an error, until -std is added to get
3437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3438 array size at least. It's necessary to write '\x00'==0 to get something
3439 that's true only with -std. */
3440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3442 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3443 inside strings and character constants. */
3445 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3447 int test (int i, double x);
3448 struct s1 {int (*f) (int a);};
3449 struct s2 {int (*f) (double a);};
3450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3461 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3462 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3464 CC="$ac_save_CC $ac_arg"
3465 if ac_fn_c_try_compile "$LINENO"; then :
3466 ac_cv_prog_cc_c89=$ac_arg
3468 rm -f core conftest.err conftest.$ac_objext
3469 test "x$ac_cv_prog_cc_c89" != "xno" && break
3471 rm -f conftest.$ac_ext
3476 case "x$ac_cv_prog_cc_c89" in
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3479 $as_echo "none needed" >&6; } ;;
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3482 $as_echo "unsupported" >&6; } ;;
3484 CC="$CC $ac_cv_prog_cc_c89"
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3488 if test "x$ac_cv_prog_cc_c89" != xno; then :
3493 ac_cpp='$CPP $CPPFLAGS'
3494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3500 $as_echo_n "checking for library containing strerror... " >&6; }
3501 if test "${ac_cv_search_strerror+set}" = set; then :
3502 $as_echo_n "(cached) " >&6
3504 ac_func_search_save_LIBS=$LIBS
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3508 /* Override any GCC internal prototype to avoid an error.
3509 Use char because int might match the return type of a GCC
3510 builtin and then its argument prototype would still apply. */
3523 for ac_lib in '' cposix; do
3524 if test -z "$ac_lib"; then
3525 ac_res="none required"
3528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3530 if ac_fn_c_try_link "$LINENO"; then :
3531 ac_cv_search_strerror=$ac_res
3533 rm -f core conftest.err conftest.$ac_objext \
3535 if test "${ac_cv_search_strerror+set}" = set; then :
3539 if test "${ac_cv_search_strerror+set}" = set; then :
3542 ac_cv_search_strerror=no
3545 LIBS=$ac_func_search_save_LIBS
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3548 $as_echo "$ac_cv_search_strerror" >&6; }
3549 ac_res=$ac_cv_search_strerror
3550 if test "$ac_res" != no; then :
3551 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3556 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/..
/bfd
/configure.
in`
3557 am__api_version='1.11'
3559 # Find a good install program. We prefer a C program (faster),
3560 # so one script is as good as another. But avoid the broken or
3561 # incompatible versions:
3562 # SysV /etc/install, /usr/sbin/install
3563 # SunOS /usr/etc/install
3564 # IRIX /sbin/install
3566 # AmigaOS /C/install, which installs bootblocks on floppy discs
3567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3570 # OS/2's system install, which has a completely different semantic
3571 # ./install, which can be erroneously created by make from ./install.sh.
3572 # Reject install programs that cannot install multiple files.
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3574 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3575 if test -z "$INSTALL"; then
3576 if test "${ac_cv_path_install+set}" = set; then :
3577 $as_echo_n "(cached) " >&6
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir=.
3584 # Account for people who put trailing slashes in PATH elements.
3585 case $as_dir/ in #((
3586 ./ | .// | /[cC]/* | \
3587 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3588 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3591 # OSF1 and SCO ODT 3.0 have their own names for install.
3592 # Don't use installbsd from OSF since it installs stuff as root
3594 for ac_prog in ginstall scoinst install; do
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3597 if test $ac_prog = install &&
3598 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3599 # AIX install. It has an incompatible calling convention.
3601 elif test $ac_prog = install &&
3602 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3603 # program-specific install script used by HP pwplus--don't use.
3606 rm -rf conftest.one conftest.two conftest.dir
3607 echo one > conftest.one
3608 echo two > conftest.two
3610 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3611 test -s conftest.one && test -s conftest.two &&
3612 test -s conftest.dir/conftest.one &&
3613 test -s conftest.dir/conftest.two
3615 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3628 rm -rf conftest.one conftest.two conftest.dir
3631 if test "${ac_cv_path_install+set}" = set; then
3632 INSTALL=$ac_cv_path_install
3634 # As a last resort, use the slow shell script. Don't cache a
3635 # value for INSTALL within a source directory, because that will
3636 # break other packages using the cache if that directory is
3637 # removed, or if the value is a relative name.
3638 INSTALL=$ac_install_sh
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3642 $as_echo "$INSTALL" >&6; }
3644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3645 # It thinks the first close brace ends the variable substitution.
3646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3650 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3653 $as_echo_n "checking whether build environment is sane... " >&6; }
3656 echo timestamp > conftest.file
3657 # Reject unsafe characters in $srcdir or the absolute working directory
3658 # name. Accept space and tab only in the latter.
3662 *[\\\"\#\$\&\'\`$am_lf]*)
3663 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3666 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3667 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3670 # Do `set' in a subshell so we don't clobber the current shell's
3671 # arguments. Must try -L first in case configure is actually a
3672 # symlink; some systems play weird games with the mod time of symlinks
3673 # (eg FreeBSD returns the mod time of the symlink's containing
3676 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3677 if test "$*" = "X"; then
3679 set X
`ls -t "$srcdir/configure" conftest.file`
3682 if test "$*" != "X $srcdir/configure conftest.file" \
3683 && test "$*" != "X conftest.file $srcdir/configure"; then
3685 # If neither matched, then we have a broken ls. This can happen
3686 # if, for instance, CONFIG_SHELL is bash and it inherits a
3687 # broken ls alias from the environment. This has actually
3688 # happened. Such a system could not be considered "sane".
3689 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3690 alias in your environment" "$LINENO" 5
3693 test "$2" = conftest.
file
3699 as_fn_error
"newly created file is older than distributed files!
3700 Check your system clock" "$LINENO" 5
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3703 $as_echo "yes" >&6; }
3704 test "$program_prefix" != NONE
&&
3705 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3706 # Use a double $ so make ignores it.
3707 test "$program_suffix" != NONE
&&
3708 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3709 # Double any \ or $.
3710 # By default was `s,x,x', remove it if useless.
3711 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3712 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3714 # expand $ac_aux_dir to an absolute path
3715 am_aux_dir
=`cd $ac_aux_dir && pwd`
3717 if test x
"${MISSING+set}" != xset
; then
3720 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3722 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3725 # Use eval to expand $SHELL
3726 if eval "$MISSING --run true"; then
3727 am_missing_run
="$MISSING --run "
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3731 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3734 if test x
"${install_sh}" != xset
; then
3737 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3739 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3743 # Installed binaries are usually stripped using `strip' when the user
3744 # run `make install-strip'. However `strip' might not be the right
3745 # tool to use in cross-compilation environments, therefore Automake
3746 # will honor the `STRIP' environment variable to overrule this program.
3747 if test "$cross_compiling" != no
; then
3748 if test -n "$ac_tool_prefix"; then
3749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3750 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_STRIP+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$STRIP"; then
3757 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for ac_exec_ext
in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 STRIP
=$ac_cv_prog_STRIP
3777 if test -n "$STRIP"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3779 $as_echo "$STRIP" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3787 if test -z "$ac_cv_prog_STRIP"; then
3789 # Extract the first word of "strip", so it can be a program name with args.
3790 set dummy strip
; ac_word
=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -n "$ac_ct_STRIP"; then
3797 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir
=.
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 ac_cv_prog_ac_ct_STRIP
="strip"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3817 if test -n "$ac_ct_STRIP"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3819 $as_echo "$ac_ct_STRIP" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3825 if test "x$ac_ct_STRIP" = x
; then
3828 case $cross_compiling:$ac_tool_warned in
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3832 ac_tool_warned
=yes ;;
3837 STRIP
="$ac_cv_prog_STRIP"
3841 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3844 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3845 if test -z "$MKDIR_P"; then
3846 if test "${ac_cv_path_mkdir+set}" = set; then :
3847 $as_echo_n "(cached) " >&6
3849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3850 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3853 test -z "$as_dir" && as_dir
=.
3854 for ac_prog
in mkdir gmkdir
; do
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3857 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3858 'mkdir (GNU coreutils) '* | \
3859 'mkdir (coreutils) '* | \
3860 'mkdir (fileutils) '4.1*)
3861 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3871 if test "${ac_cv_path_mkdir+set}" = set; then
3872 MKDIR_P
="$ac_cv_path_mkdir -p"
3874 # As a last resort, use the slow shell script. Don't cache a
3875 # value for MKDIR_P within a source directory, because that will
3876 # break other packages using the cache if that directory is
3877 # removed, or if the value is a relative name.
3878 test -d .
/--version && rmdir .
/--version
3879 MKDIR_P
="$ac_install_sh -d"
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3883 $as_echo "$MKDIR_P" >&6; }
3887 [\\/$
]* | ?
:[\\/]*) ;;
3888 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3891 for ac_prog
in gawk mawk nawk
awk
3893 # Extract the first word of "$ac_prog", so it can be a program name with args.
3894 set dummy
$ac_prog; ac_word
=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if test "${ac_cv_prog_AWK+set}" = set; then :
3898 $as_echo_n "(cached) " >&6
3900 if test -n "$AWK"; then
3901 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 test -z "$as_dir" && as_dir
=.
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3910 ac_cv_prog_AWK
="$ac_prog"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 if test -n "$AWK"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3923 $as_echo "$AWK" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3930 test -n "$AWK" && break
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3934 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3936 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3937 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3938 $as_echo_n "(cached) " >&6
3940 cat >conftest.
make <<\_ACEOF
3943 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3945 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3946 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3948 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3950 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3954 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3956 $as_echo "yes" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3961 SET_MAKE
="MAKE=${MAKE-make}"
3964 rm -rf .tst
2>/dev
/null
3965 mkdir .tst
2>/dev
/null
3966 if test -d .tst
; then
3971 rmdir .tst
2>/dev
/null
3973 DEPDIR
="${am__leading_dot}deps"
3975 ac_config_commands
="$ac_config_commands depfiles"
3978 am_make
=${MAKE-make}
3979 cat > confinc
<< 'END'
3981 @
echo this is the am__doit target
3984 # If we don't find an include directive, just comment out the code.
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3986 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3990 # First try GNU make style include.
3991 echo "include confinc" > confmf
3992 # Ignore all kinds of additional output from `make'.
3993 case `$am_make -s -f confmf 2> /dev/null` in #(
3994 *the\ am__doit\ target
*)
4000 # Now try BSD make style include.
4001 if test "$am__include" = "#"; then
4002 echo '.include "confinc"' > confmf
4003 case `$am_make -s -f confmf 2> /dev/null` in #(
4004 *the\ am__doit\ target
*)
4005 am__include
=.include
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4014 $as_echo "$_am_result" >&6; }
4015 rm -f confinc confmf
4017 # Check whether --enable-dependency-tracking was given.
4018 if test "${enable_dependency_tracking+set}" = set; then :
4019 enableval
=$enable_dependency_tracking;
4022 if test "x$enable_dependency_tracking" != xno
; then
4023 am_depcomp
="$ac_aux_dir/depcomp"
4026 if test "x$enable_dependency_tracking" != xno; then
4035 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4036 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4037 # is not polluted with repeated "-I."
4038 am__isrc
=' -I$(srcdir)'
4039 # test to see if srcdir already configured
4040 if test -f $srcdir/config.status
; then
4041 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4045 # test whether we have cygpath
4046 if test -z "$CYGPATH_W"; then
4047 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4048 CYGPATH_W
='cygpath -w'
4055 # Define the identity of the package.
4057 VERSION
=${BFD_VERSION}
4060 cat >>confdefs.h
<<_ACEOF
4061 #define PACKAGE "$PACKAGE"
4065 cat >>confdefs.h
<<_ACEOF
4066 #define VERSION "$VERSION"
4069 # Some tools Automake needs.
4071 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4074 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4077 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4080 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4083 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4085 # We need awk for the "check" target. The system "awk" is bad on
4087 # Always define AMTAR for backward compatibility.
4089 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4091 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4096 depcc
="$CC" am_compiler_list
=
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4099 $as_echo_n "checking dependency style of $depcc... " >&6; }
4100 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4101 $as_echo_n "(cached) " >&6
4103 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4104 # We make a subdir and do the tests there. Otherwise we can end up
4105 # making bogus files that we don't know about and never remove. For
4106 # instance it was reported that on HP-UX the gcc test will end up
4107 # making a dummy file named `D' -- because `-MD' means `put the output
4110 # Copy depcomp to subdir because otherwise we won't find it if we're
4111 # using a relative directory.
4112 cp "$am_depcomp" conftest.dir
4114 # We will build objects and dependencies in a subdirectory because
4115 # it helps to detect inapplicable dependency modes. For instance
4116 # both Tru64's cc and ICC support -MD to output dependencies as a
4117 # side effect of compilation, but ICC will put the dependencies in
4118 # the current directory while Tru64 will put them in the object
4122 am_cv_CC_dependencies_compiler_type
=none
4123 if test "$am_compiler_list" = ""; then
4124 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4127 case " $depcc " in #(
4128 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4131 for depmode
in $am_compiler_list; do
4132 # Setup a source with many dependencies, because some compilers
4133 # like to wrap large dependency lists on column 80 (with \), and
4134 # we should not choose a depcomp mode which is confused by this.
4136 # We need to recreate these files for each test, as the compiler may
4137 # overwrite some of them when testing with obscure command lines.
4138 # This happens at least with the AIX C compiler.
4140 for i
in 1 2 3 4 5 6; do
4141 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4143 # Solaris 8's {/usr,}/bin/sh.
4144 touch sub
/conftst
$i.h
4146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4149 # mode. It turns out that the SunPro C++ compiler does not properly
4150 # handle `-M -o', and we need to detect this. Also, some Intel
4151 # versions had trouble with output in subdirs
4152 am__obj
=sub
/conftest.
${OBJEXT-o}
4153 am__minus_obj
="-o $am__obj"
4156 # This depmode causes a compiler race in universal mode.
4157 test "$am__universal" = false ||
continue
4160 # after this tag, mechanisms are not by side-effect, so they'll
4161 # only be used when explicitly requested
4162 if test "x$enable_dependency_tracking" = xyes
; then
4168 msvisualcpp | msvcmsys
)
4169 # This compiler won't grok `-c -o', but also, the minuso test has
4170 # not run yet. These depmodes are late enough in the game, and
4171 # so weak that their functioning should not be impacted.
4172 am__obj
=conftest.
${OBJEXT-o}
4177 if depmode
=$depmode \
4178 source=sub
/conftest.c object
=$am__obj \
4179 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4180 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4181 >/dev
/null
2>conftest.err
&&
4182 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4183 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4184 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4185 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4186 # icc doesn't choke on unknown options, it will just issue warnings
4187 # or remarks (even with -Werror). So we grep stderr for any message
4188 # that says an option was ignored or not supported.
4189 # When given -MP, icc 7.0 and 7.1 complain thusly:
4190 # icc: Command line warning: ignoring option '-M'; no argument required
4191 # The diagnosis changed in icc 8.0:
4192 # icc: Command line remark: option '-MP' not supported
4193 if (grep 'ignoring option' conftest.err ||
4194 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4195 am_cv_CC_dependencies_compiler_type
=$depmode
4204 am_cv_CC_dependencies_compiler_type
=none
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4209 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4210 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4213 test "x$enable_dependency_tracking" != xno \
4214 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4216 am__fastdepCC_FALSE
='#'
4218 am__fastdepCC_TRUE
='#'
4219 am__fastdepCC_FALSE
=
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4227 # Check whether --enable-maintainer-mode was given.
4228 if test "${enable_maintainer_mode+set}" = set; then :
4229 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4231 USE_MAINTAINER_MODE
=no
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4236 if test $USE_MAINTAINER_MODE = yes; then
4237 MAINTAINER_MODE_TRUE
=
4238 MAINTAINER_MODE_FALSE
='#'
4240 MAINTAINER_MODE_TRUE
='#'
4241 MAINTAINER_MODE_FALSE
=
4244 MAINT
=$MAINTAINER_MODE_TRUE
4249 # Check whether --with-lib-path was given.
4250 if test "${with_lib_path+set}" = set; then :
4251 withval
=$with_lib_path; LIB_PATH
=$withval
4254 # Check whether --enable-targets was given.
4255 if test "${enable_targets+set}" = set; then :
4256 enableval
=$enable_targets; case "${enableval}" in
4257 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
4259 no
) enable_targets
= ;;
4260 *) enable_targets
=$enableval ;;
4263 # Check whether --enable-64-bit-bfd was given.
4264 if test "${enable_64_bit_bfd+set}" = set; then :
4265 enableval
=$enable_64_bit_bfd; case "${enableval}" in
4268 *) as_fn_error
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
4275 # Check whether --with-sysroot was given.
4276 if test "${with_sysroot+set}" = set; then :
4277 withval
=$with_sysroot;
4278 case ${with_sysroot} in
4279 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
4280 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
4283 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
4286 if test "x$prefix" = xNONE
; then
4287 test_prefix
=/usr
/local
4291 if test "x$exec_prefix" = xNONE
; then
4292 test_exec_prefix
=$test_prefix
4294 test_exec_prefix
=$exec_prefix
4296 case ${TARGET_SYSTEM_ROOT} in
4297 "${test_prefix}"|
"${test_prefix}/"*|\
4298 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
4299 '${prefix}'|
'${prefix}/'*|\
4300 '${exec_prefix}'|
'${exec_prefix}/'*)
4301 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
4302 TARGET_SYSTEM_ROOT_DEFINE
="$t"
4310 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
4318 # Check whether --enable-gold was given.
4319 if test "${enable_gold+set}" = set; then :
4320 enableval
=$enable_gold; case "${enableval}" in
4322 install_as_default
=no
4323 installed_linker
=ld.bfd
4326 install_as_default
=yes
4327 installed_linker
=ld.bfd
4330 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
4334 install_as_default
=yes
4335 installed_linker
=ld.bfd
4341 # Check whether --enable-got was given.
4342 if test "${enable_got+set}" = set; then :
4343 enableval
=$enable_got; case "${enableval}" in
4344 target | single | negative | multigot
) got_handling
=$enableval ;;
4345 *) as_fn_error
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
4352 case "${got_handling}" in
4355 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
4359 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
4363 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
4367 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
4369 *) as_fn_error
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
4373 ac_cpp
='$CPP $CPPFLAGS'
4374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4378 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4379 # On Suns, sometimes $CPP names a directory.
4380 if test -n "$CPP" && test -d "$CPP"; then
4383 if test -z "$CPP"; then
4384 if test "${ac_cv_prog_CPP+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 # Double quotes because CPP needs to be expanded
4388 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4391 for ac_c_preproc_warn_flag
in '' yes
4393 # Use a header file that comes with gcc, so configuring glibc
4394 # with a fresh cross-compiler works.
4395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4396 # <limits.h> exists even on freestanding compilers.
4397 # On the NeXT, cc -E runs the code through the compiler's parser,
4398 # not just through cpp. "Syntax error" is here to catch this case.
4399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4402 # include <limits.h>
4404 # include <assert.h>
4408 if ac_fn_c_try_cpp
"$LINENO"; then :
4411 # Broken: fails on valid input.
4414 rm -f conftest.err conftest.
$ac_ext
4416 # OK, works on sane cases. Now check whether nonexistent headers
4417 # can be detected and how.
4418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4420 #include <ac_nonexistent.h>
4422 if ac_fn_c_try_cpp
"$LINENO"; then :
4423 # Broken: success on invalid input.
4426 # Passes both tests.
4430 rm -f conftest.err conftest.
$ac_ext
4433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4434 rm -f conftest.err conftest.
$ac_ext
4435 if $ac_preproc_ok; then :
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4448 $as_echo "$CPP" >&6; }
4450 for ac_c_preproc_warn_flag
in '' yes
4452 # Use a header file that comes with gcc, so configuring glibc
4453 # with a fresh cross-compiler works.
4454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4455 # <limits.h> exists even on freestanding compilers.
4456 # On the NeXT, cc -E runs the code through the compiler's parser,
4457 # not just through cpp. "Syntax error" is here to catch this case.
4458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4461 # include <limits.h>
4463 # include <assert.h>
4467 if ac_fn_c_try_cpp
"$LINENO"; then :
4470 # Broken: fails on valid input.
4473 rm -f conftest.err conftest.
$ac_ext
4475 # OK, works on sane cases. Now check whether nonexistent headers
4476 # can be detected and how.
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4479 #include <ac_nonexistent.h>
4481 if ac_fn_c_try_cpp
"$LINENO"; then :
4482 # Broken: success on invalid input.
4485 # Passes both tests.
4489 rm -f conftest.err conftest.
$ac_ext
4492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4493 rm -f conftest.err conftest.
$ac_ext
4494 if $ac_preproc_ok; then :
4497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4499 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4500 See \`config.log' for more details." "$LINENO" 5; }
4504 ac_cpp
='$CPP $CPPFLAGS'
4505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4511 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4512 if test "${ac_cv_path_GREP+set}" = set; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -z "$GREP"; then
4516 ac_path_GREP_found
=false
4517 # Loop through the user's path and test for each of PROGNAME-LIST
4518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4519 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4522 test -z "$as_dir" && as_dir
=.
4523 for ac_prog
in grep ggrep
; do
4524 for ac_exec_ext
in '' $ac_executable_extensions; do
4525 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4526 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4527 # Check for GNU ac_path_GREP and select it if it is found.
4528 # Check for GNU $ac_path_GREP
4529 case `"$ac_path_GREP" --version 2>&1` in
4531 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4534 $as_echo_n 0123456789 >"conftest.in"
4537 cat "conftest.in" "conftest.in" >"conftest.tmp"
4538 mv "conftest.tmp" "conftest.in"
4539 cp "conftest.in" "conftest.nl"
4540 $as_echo 'GREP' >> "conftest.nl"
4541 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4542 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4543 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4544 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4545 # Best one so far, save it but keep looking for a better one
4546 ac_cv_path_GREP
="$ac_path_GREP"
4547 ac_path_GREP_max
=$ac_count
4549 # 10*(2^10) chars as input seems more than enough
4550 test $ac_count -gt 10 && break
4552 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4555 $ac_path_GREP_found && break 3
4560 if test -z "$ac_cv_path_GREP"; then
4561 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4564 ac_cv_path_GREP
=$GREP
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4569 $as_echo "$ac_cv_path_GREP" >&6; }
4570 GREP
="$ac_cv_path_GREP"
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4574 $as_echo_n "checking for egrep... " >&6; }
4575 if test "${ac_cv_path_EGREP+set}" = set; then :
4576 $as_echo_n "(cached) " >&6
4578 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4579 then ac_cv_path_EGREP
="$GREP -E"
4581 if test -z "$EGREP"; then
4582 ac_path_EGREP_found
=false
4583 # Loop through the user's path and test for each of PROGNAME-LIST
4584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4588 test -z "$as_dir" && as_dir
=.
4589 for ac_prog
in egrep; do
4590 for ac_exec_ext
in '' $ac_executable_extensions; do
4591 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4592 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4593 # Check for GNU ac_path_EGREP and select it if it is found.
4594 # Check for GNU $ac_path_EGREP
4595 case `"$ac_path_EGREP" --version 2>&1` in
4597 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4600 $as_echo_n 0123456789 >"conftest.in"
4603 cat "conftest.in" "conftest.in" >"conftest.tmp"
4604 mv "conftest.tmp" "conftest.in"
4605 cp "conftest.in" "conftest.nl"
4606 $as_echo 'EGREP' >> "conftest.nl"
4607 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4608 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4609 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4610 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4611 # Best one so far, save it but keep looking for a better one
4612 ac_cv_path_EGREP
="$ac_path_EGREP"
4613 ac_path_EGREP_max
=$ac_count
4615 # 10*(2^10) chars as input seems more than enough
4616 test $ac_count -gt 10 && break
4618 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4621 $ac_path_EGREP_found && break 3
4626 if test -z "$ac_cv_path_EGREP"; then
4627 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630 ac_cv_path_EGREP
=$EGREP
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4636 $as_echo "$ac_cv_path_EGREP" >&6; }
4637 EGREP
="$ac_cv_path_EGREP"
4641 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4647 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
4650 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
4655 # Check whether --enable-werror was given.
4656 if test "${enable_werror+set}" = set; then :
4657 enableval
=$enable_werror; case "${enableval}" in
4658 yes | y
) ERROR_ON_WARNING
="yes" ;;
4659 no | n
) ERROR_ON_WARNING
="no" ;;
4660 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4665 # Disable -Wformat by default when using gcc on mingw
4668 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4669 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
4675 # Enable -Werror by default when using gcc
4676 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4677 ERROR_ON_WARNING
=yes
4681 if test "${ERROR_ON_WARNING}" = yes ; then
4682 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4683 NO_WERROR
="-Wno-error"
4686 if test "${GCC}" = yes ; then
4687 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4690 # Check whether --enable-build-warnings was given.
4691 if test "${enable_build_warnings+set}" = set; then :
4692 enableval
=$enable_build_warnings; case "${enableval}" in
4693 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4694 no
) if test "${GCC}" = yes ; then
4697 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4698 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4699 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4700 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4701 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4706 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4707 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4714 ac_config_headers
="$ac_config_headers config.h:config.in"
4717 if test -z "$target" ; then
4718 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
4720 if test -z "$host" ; then
4721 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
4724 # host-specific stuff:
4727 ac_cpp
='$CPP $CPPFLAGS'
4728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4731 if test -n "$ac_tool_prefix"; then
4732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4733 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735 $as_echo_n "checking for $ac_word... " >&6; }
4736 if test "${ac_cv_prog_CC+set}" = set; then :
4737 $as_echo_n "(cached) " >&6
4739 if test -n "$CC"; then
4740 ac_cv_prog_CC
="$CC" # Let the user override the test.
4742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4746 test -z "$as_dir" && as_dir
=.
4747 for ac_exec_ext
in '' $ac_executable_extensions; do
4748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4749 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 if test -n "$CC"; then
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4762 $as_echo "$CC" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4770 if test -z "$ac_cv_prog_CC"; then
4772 # Extract the first word of "gcc", so it can be a program name with args.
4773 set dummy gcc
; ac_word
=$2
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775 $as_echo_n "checking for $ac_word... " >&6; }
4776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4777 $as_echo_n "(cached) " >&6
4779 if test -n "$ac_ct_CC"; then
4780 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4786 test -z "$as_dir" && as_dir
=.
4787 for ac_exec_ext
in '' $ac_executable_extensions; do
4788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4789 ac_cv_prog_ac_ct_CC
="gcc"
4790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4800 if test -n "$ac_ct_CC"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4802 $as_echo "$ac_ct_CC" >&6; }
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4808 if test "x$ac_ct_CC" = x
; then
4811 case $cross_compiling:$ac_tool_warned in
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4815 ac_tool_warned
=yes ;;
4823 if test -z "$CC"; then
4824 if test -n "$ac_tool_prefix"; then
4825 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4826 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if test "${ac_cv_prog_CC+set}" = set; then :
4830 $as_echo_n "(cached) " >&6
4832 if test -n "$CC"; then
4833 ac_cv_prog_CC
="$CC" # Let the user override the test.
4835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir
=.
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4842 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 if test -n "$CC"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 $as_echo "$CC" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4864 if test -z "$CC"; then
4865 # Extract the first word of "cc", so it can be a program name with args.
4866 set dummy cc
; ac_word
=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if test "${ac_cv_prog_CC+set}" = set; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$CC"; then
4873 ac_cv_prog_CC
="$CC" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir
=.
4881 for ac_exec_ext
in '' $ac_executable_extensions; do
4882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4884 ac_prog_rejected
=yes
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 if test $ac_prog_rejected = yes; then
4896 # We found a bogon in the path, so make sure we never use it.
4897 set dummy
$ac_cv_prog_CC
4899 if test $# != 0; then
4900 # We chose a different compiler from the bogus one.
4901 # However, it has the same basename, so the bogon will be chosen
4902 # first if we set CC to just the basename; use the full file name.
4904 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4910 if test -n "$CC"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4912 $as_echo "$CC" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4920 if test -z "$CC"; then
4921 if test -n "$ac_tool_prefix"; then
4922 for ac_prog
in cl.exe
4924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4925 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_CC+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$CC"; then
4932 ac_cv_prog_CC
="$CC" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 if test -n "$CC"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4954 $as_echo "$CC" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4961 test -n "$CC" && break
4964 if test -z "$CC"; then
4966 for ac_prog
in cl.exe
4968 # Extract the first word of "$ac_prog", so it can be a program name with args.
4969 set dummy
$ac_prog; ac_word
=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$ac_ct_CC"; then
4976 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir
=.
4983 for ac_exec_ext
in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_ac_ct_CC
="$ac_prog"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4996 if test -n "$ac_ct_CC"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4998 $as_echo "$ac_ct_CC" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5005 test -n "$ac_ct_CC" && break
5008 if test "x$ac_ct_CC" = x
; then
5011 case $cross_compiling:$ac_tool_warned in
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5015 ac_tool_warned
=yes ;;
5024 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5026 as_fn_error
"no acceptable C compiler found in \$PATH
5027 See \`config.log' for more details." "$LINENO" 5; }
5029 # Provide some information about the compiler.
5030 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5033 for ac_option
in --version -v -V -qversion; do
5034 { { ac_try
="$ac_compiler $ac_option >&5"
5036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5037 *) ac_try_echo=$ac_try;;
5039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5040 $as_echo "$ac_try_echo"; } >&5
5041 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5043 if test -s conftest.err; then
5045 ... rest of stderr output deleted ...
5046 10q' conftest.err >conftest.er1
5047 cat conftest.er1 >&5
5048 rm -f conftest.er1 conftest.err
5050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5051 test $ac_status = 0; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5055 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5056 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5073 if ac_fn_c_try_compile "$LINENO"; then :
5078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5079 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5083 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5084 if test $ac_compiler_gnu = yes; then
5089 ac_test_CFLAGS=${CFLAGS+set}
5090 ac_save_CFLAGS=$CFLAGS
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5092 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5093 if test "${ac_cv_prog_cc_g+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 ac_save_c_werror_flag=$ac_c_werror_flag
5097 ac_c_werror_flag=yes
5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5111 if ac_fn_c_try_compile "$LINENO"; then :
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5126 if ac_fn_c_try_compile "$LINENO"; then :
5129 ac_c_werror_flag=$ac_save_c_werror_flag
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5142 if ac_fn_c_try_compile "$LINENO"; then :
5145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5150 ac_c_werror_flag=$ac_save_c_werror_flag
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5153 $as_echo "$ac_cv_prog_cc_g" >&6; }
5154 if test "$ac_test_CFLAGS" = set; then
5155 CFLAGS=$ac_save_CFLAGS
5156 elif test $ac_cv_prog_cc_g = yes; then
5157 if test "$GCC" = yes; then
5163 if test "$GCC" = yes; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5170 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5171 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5174 ac_cv_prog_cc_c89=no
5176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h. */
5180 #include <sys/types.h>
5181 #include <sys/stat.h>
5182 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5183 struct buf { int x; };
5184 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5185 static char *e (p, i)
5191 static char *f (char * (*g) (char **, int), char **p, ...)
5196 s = g (p, va_arg (v,int));
5201 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5202 function prototypes and stuff, but not '\xHH' hex character constants.
5203 These don't provoke an error unfortunately, instead are silently treated
5204 as 'x'. The following induces an error, until -std is added to get
5205 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5206 array size at least. It's necessary to write '\x00'==0 to get something
5207 that's true only with -std. */
5208 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5210 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5211 inside strings and character constants. */
5213 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5215 int test (int i, double x);
5216 struct s1 {int (*f) (int a);};
5217 struct s2 {int (*f) (double a);};
5218 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5224 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5229 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5230 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5232 CC="$ac_save_CC $ac_arg"
5233 if ac_fn_c_try_compile "$LINENO"; then :
5234 ac_cv_prog_cc_c89=$ac_arg
5236 rm -f core conftest.err conftest.$ac_objext
5237 test "x$ac_cv_prog_cc_c89" != "xno" && break
5239 rm -f conftest.$ac_ext
5244 case "x$ac_cv_prog_cc_c89" in
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5247 $as_echo "none needed" >&6; } ;;
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5250 $as_echo "unsupported" >&6; } ;;
5252 CC="$CC $ac_cv_prog_cc_c89"
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5254 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5256 if test "x$ac_cv_prog_cc_c89" != xno; then :
5261 ac_cpp='$CPP $CPPFLAGS'
5262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5267 ac_cpp='$CXXCPP $CPPFLAGS'
5268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5271 if test -z "$CXX"; then
5272 if test -n "$CCC"; then
5275 if test -n "$ac_tool_prefix"; then
5276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if test "${ac_cv_prog_CXX+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$CXX"; then
5286 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 if test -n "$CXX"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5308 $as_echo "$CXX" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5315 test -n "$CXX" && break
5318 if test -z "$CXX"; then
5320 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5322 # Extract the first word of "$ac_prog", so it can be a program name with args.
5323 set dummy $ac_prog; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5327 $as_echo_n "(cached) " >&6
5329 if test -n "$ac_ct_CXX"; then
5330 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5339 ac_cv_prog_ac_ct_CXX="$ac_prog"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5350 if test -n "$ac_ct_CXX"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5352 $as_echo "$ac_ct_CXX" >&6; }
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5359 test -n "$ac_ct_CXX" && break
5362 if test "x$ac_ct_CXX" = x; then
5365 case $cross_compiling:$ac_tool_warned in
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5369 ac_tool_warned=yes ;;
5377 # Provide some information about the compiler.
5378 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5381 for ac_option in --version -v -V -qversion; do
5382 { { ac_try="$ac_compiler $ac_option >&5"
5384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5385 *) ac_try_echo
=$ac_try;;
5387 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5388 $as_echo "$ac_try_echo"; } >&5
5389 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5391 if test -s conftest.err
; then
5393 ... rest of stderr output deleted ...
5394 10q' conftest.err
>conftest.er1
5395 cat conftest.er1
>&5
5396 rm -f conftest.er1 conftest.err
5398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5399 test $ac_status = 0; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5403 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5404 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5421 if ac_fn_cxx_try_compile
"$LINENO"; then :
5426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5427 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5431 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5432 if test $ac_compiler_gnu = yes; then
5437 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5438 ac_save_CXXFLAGS
=$CXXFLAGS
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5440 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5441 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5445 ac_cxx_werror_flag
=yes
5448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5459 if ac_fn_cxx_try_compile
"$LINENO"; then :
5460 ac_cv_prog_cxx_g
=yes
5463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5474 if ac_fn_cxx_try_compile
"$LINENO"; then :
5477 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5490 if ac_fn_cxx_try_compile
"$LINENO"; then :
5491 ac_cv_prog_cxx_g
=yes
5493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5498 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5501 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5502 if test "$ac_test_CXXFLAGS" = set; then
5503 CXXFLAGS
=$ac_save_CXXFLAGS
5504 elif test $ac_cv_prog_cxx_g = yes; then
5505 if test "$GXX" = yes; then
5511 if test "$GXX" = yes; then
5518 ac_cpp
='$CPP $CPPFLAGS'
5519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5523 depcc
="$CXX" am_compiler_list
=
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5526 $as_echo_n "checking dependency style of $depcc... " >&6; }
5527 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5531 # We make a subdir and do the tests there. Otherwise we can end up
5532 # making bogus files that we don't know about and never remove. For
5533 # instance it was reported that on HP-UX the gcc test will end up
5534 # making a dummy file named `D' -- because `-MD' means `put the output
5537 # Copy depcomp to subdir because otherwise we won't find it if we're
5538 # using a relative directory.
5539 cp "$am_depcomp" conftest.dir
5541 # We will build objects and dependencies in a subdirectory because
5542 # it helps to detect inapplicable dependency modes. For instance
5543 # both Tru64's cc and ICC support -MD to output dependencies as a
5544 # side effect of compilation, but ICC will put the dependencies in
5545 # the current directory while Tru64 will put them in the object
5549 am_cv_CXX_dependencies_compiler_type
=none
5550 if test "$am_compiler_list" = ""; then
5551 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5554 case " $depcc " in #(
5555 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5558 for depmode
in $am_compiler_list; do
5559 # Setup a source with many dependencies, because some compilers
5560 # like to wrap large dependency lists on column 80 (with \), and
5561 # we should not choose a depcomp mode which is confused by this.
5563 # We need to recreate these files for each test, as the compiler may
5564 # overwrite some of them when testing with obscure command lines.
5565 # This happens at least with the AIX C compiler.
5567 for i
in 1 2 3 4 5 6; do
5568 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5569 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5570 # Solaris 8's {/usr,}/bin/sh.
5571 touch sub
/conftst
$i.h
5573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5575 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5576 # mode. It turns out that the SunPro C++ compiler does not properly
5577 # handle `-M -o', and we need to detect this. Also, some Intel
5578 # versions had trouble with output in subdirs
5579 am__obj
=sub
/conftest.
${OBJEXT-o}
5580 am__minus_obj
="-o $am__obj"
5583 # This depmode causes a compiler race in universal mode.
5584 test "$am__universal" = false ||
continue
5587 # after this tag, mechanisms are not by side-effect, so they'll
5588 # only be used when explicitly requested
5589 if test "x$enable_dependency_tracking" = xyes
; then
5595 msvisualcpp | msvcmsys
)
5596 # This compiler won't grok `-c -o', but also, the minuso test has
5597 # not run yet. These depmodes are late enough in the game, and
5598 # so weak that their functioning should not be impacted.
5599 am__obj
=conftest.
${OBJEXT-o}
5604 if depmode
=$depmode \
5605 source=sub
/conftest.c object
=$am__obj \
5606 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5607 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5608 >/dev
/null
2>conftest.err
&&
5609 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5610 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5611 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5612 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5613 # icc doesn't choke on unknown options, it will just issue warnings
5614 # or remarks (even with -Werror). So we grep stderr for any message
5615 # that says an option was ignored or not supported.
5616 # When given -MP, icc 7.0 and 7.1 complain thusly:
5617 # icc: Command line warning: ignoring option '-M'; no argument required
5618 # The diagnosis changed in icc 8.0:
5619 # icc: Command line remark: option '-MP' not supported
5620 if (grep 'ignoring option' conftest.err ||
5621 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5622 am_cv_CXX_dependencies_compiler_type
=$depmode
5631 am_cv_CXX_dependencies_compiler_type
=none
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5636 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5637 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5640 test "x$enable_dependency_tracking" != xno \
5641 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5642 am__fastdepCXX_TRUE
=
5643 am__fastdepCXX_FALSE
='#'
5645 am__fastdepCXX_TRUE
='#'
5646 am__fastdepCXX_FALSE
=
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5651 $as_echo_n "checking for ANSI C header files... " >&6; }
5652 if test "${ac_cv_header_stdc+set}" = set; then :
5653 $as_echo_n "(cached) " >&6
5655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5670 if ac_fn_c_try_compile
"$LINENO"; then :
5671 ac_cv_header_stdc
=yes
5673 ac_cv_header_stdc
=no
5675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5677 if test $ac_cv_header_stdc = yes; then
5678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5685 $EGREP "memchr" >/dev
/null
2>&1; then :
5688 ac_cv_header_stdc
=no
5694 if test $ac_cv_header_stdc = yes; then
5695 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5702 $EGREP "free" >/dev
/null
2>&1; then :
5705 ac_cv_header_stdc
=no
5711 if test $ac_cv_header_stdc = yes; then
5712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5713 if test "$cross_compiling" = yes; then :
5716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5720 #if ((' ' & 0x0FF) == 0x020)
5721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5724 # define ISLOWER(c) \
5725 (('a' <= (c) && (c) <= 'i') \
5726 || ('j' <= (c) && (c) <= 'r') \
5727 || ('s' <= (c) && (c) <= 'z'))
5728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5736 for (i = 0; i < 256; i++)
5737 if (XOR (islower (i), ISLOWER (i))
5738 || toupper (i) != TOUPPER (i))
5743 if ac_fn_c_try_run
"$LINENO"; then :
5746 ac_cv_header_stdc
=no
5748 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5749 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5755 $as_echo "$ac_cv_header_stdc" >&6; }
5756 if test $ac_cv_header_stdc = yes; then
5758 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5762 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5763 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5764 inttypes.h stdint.h unistd.h
5766 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5767 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5769 eval as_val
=\$
$as_ac_Header
5770 if test "x$as_val" = x
""yes; then :
5771 cat >>confdefs.h
<<_ACEOF
5772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5781 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5782 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5789 if test "$MINIX" = yes; then
5791 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5794 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5797 $as_echo "#define _MINIX 1" >>confdefs.h
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5803 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5804 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5805 $as_echo_n "(cached) " >&6
5807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5810 # define __EXTENSIONS__ 1
5811 $ac_includes_default
5820 if ac_fn_c_try_compile
"$LINENO"; then :
5821 ac_cv_safe_to_define___extensions__
=yes
5823 ac_cv_safe_to_define___extensions__
=no
5825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5828 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5829 test $ac_cv_safe_to_define___extensions__ = yes &&
5830 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5832 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5834 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5836 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5838 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5844 # The tests for host and target for $enable_largefile require
5849 # As the $enable_largefile decision depends on --enable-plugins we must set it
5850 # even in directories otherwise not depending on the $plugins option.
5853 # Check whether --enable-plugins was given.
5854 if test "${enable_plugins+set}" = set; then :
5855 enableval
=$enable_plugins; case "${enableval}" in
5856 yes |
"") plugins
=yes ;;
5867 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
5868 # On native 32bit sparc and ia32 solaris, large-file and procfs support
5869 # are mutually exclusive; and without procfs support, the bfd/ elf module
5870 # cannot provide certain routines such as elfcore_write_prpsinfo
5871 # or elfcore_write_prstatus. So unless the user explicitly requested
5872 # large-file support through the --enable-largefile switch, disable
5873 # large-file support in favor of procfs support.
5874 test "${target}" = "${host}" -a "x$plugins" = xno \
5875 && : ${enable_largefile="no"}
5879 # Check whether --enable-largefile was given.
5880 if test "${enable_largefile+set}" = set; then :
5881 enableval
=$enable_largefile;
5884 if test "$enable_largefile" != no
; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5887 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5888 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5891 ac_cv_sys_largefile_CC
=no
5892 if test "$GCC" != yes; then
5895 # IRIX 6.2 and later do not support large files by default,
5896 # so use the C compiler's -n32 option if that helps.
5897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5898 /* end confdefs.h. */
5899 #include <sys/types.h>
5900 /* Check that off_t can represent 2**63 - 1 correctly.
5901 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5902 since some C++ compilers masquerading as C compilers
5903 incorrectly reject 9223372036854775807. */
5904 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5905 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5906 && LARGE_OFF_T % 2147483647 == 1)
5916 if ac_fn_c_try_compile
"$LINENO"; then :
5919 rm -f core conftest.err conftest.
$ac_objext
5921 if ac_fn_c_try_compile
"$LINENO"; then :
5922 ac_cv_sys_largefile_CC
=' -n32'; break
5924 rm -f core conftest.err conftest.
$ac_objext
5928 rm -f conftest.
$ac_ext
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5932 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5933 if test "$ac_cv_sys_largefile_CC" != no
; then
5934 CC
=$CC$ac_cv_sys_largefile_CC
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5938 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5939 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5940 $as_echo_n "(cached) " >&6
5943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h. */
5945 #include <sys/types.h>
5946 /* Check that off_t can represent 2**63 - 1 correctly.
5947 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5948 since some C++ compilers masquerading as C compilers
5949 incorrectly reject 9223372036854775807. */
5950 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5952 && LARGE_OFF_T % 2147483647 == 1)
5962 if ac_fn_c_try_compile
"$LINENO"; then :
5963 ac_cv_sys_file_offset_bits
=no
; break
5965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5968 #define _FILE_OFFSET_BITS 64
5969 #include <sys/types.h>
5970 /* Check that off_t can represent 2**63 - 1 correctly.
5971 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5972 since some C++ compilers masquerading as C compilers
5973 incorrectly reject 9223372036854775807. */
5974 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5975 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5976 && LARGE_OFF_T % 2147483647 == 1)
5986 if ac_fn_c_try_compile
"$LINENO"; then :
5987 ac_cv_sys_file_offset_bits
=64; break
5989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5990 ac_cv_sys_file_offset_bits
=unknown
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5995 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5996 case $ac_cv_sys_file_offset_bits in #(
5999 cat >>confdefs.h
<<_ACEOF
6000 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6005 if test $ac_cv_sys_file_offset_bits = unknown
; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6007 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6008 if test "${ac_cv_sys_large_files+set}" = set; then :
6009 $as_echo_n "(cached) " >&6
6012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6014 #include <sys/types.h>
6015 /* Check that off_t can represent 2**63 - 1 correctly.
6016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6017 since some C++ compilers masquerading as C compilers
6018 incorrectly reject 9223372036854775807. */
6019 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6021 && LARGE_OFF_T % 2147483647 == 1)
6031 if ac_fn_c_try_compile
"$LINENO"; then :
6032 ac_cv_sys_large_files
=no
; break
6034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6037 #define _LARGE_FILES 1
6038 #include <sys/types.h>
6039 /* Check that off_t can represent 2**63 - 1 correctly.
6040 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6041 since some C++ compilers masquerading as C compilers
6042 incorrectly reject 9223372036854775807. */
6043 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6044 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6045 && LARGE_OFF_T % 2147483647 == 1)
6055 if ac_fn_c_try_compile
"$LINENO"; then :
6056 ac_cv_sys_large_files
=1; break
6058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6059 ac_cv_sys_large_files
=unknown
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6064 $as_echo "$ac_cv_sys_large_files" >&6; }
6065 case $ac_cv_sys_large_files in #(
6068 cat >>confdefs.h
<<_ACEOF
6069 #define _LARGE_FILES $ac_cv_sys_large_files
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6083 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6088 macro_version
='2.2.7a'
6089 macro_revision
='1.3134'
6103 ltmain
="$ac_aux_dir/ltmain.sh"
6105 # Backslashify metacharacters that are still active within
6106 # double-quoted strings.
6107 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6109 # Same as above, but do not quote variable references.
6110 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6112 # Sed substitution to delay expansion of an escaped shell variable in a
6113 # double_quote_subst'ed string.
6114 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6116 # Sed substitution to delay expansion of an escaped single quote.
6117 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6119 # Sed substitution to avoid accidental globbing in evaled expressions
6120 no_glob_subst
='s/\*/\\\*/g'
6122 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6123 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6124 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6127 $as_echo_n "checking how to print strings... " >&6; }
6128 # Test print first, because it will be a builtin if present.
6129 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6130 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6132 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6135 # Use this function as a fallback that always works.
6136 func_fallback_echo ()
6138 eval 'cat <<_LTECHO_EOF
6142 ECHO='func_fallback_echo
'
6145 # func_echo_all arg...
6146 # Invoke $ECHO with all args, space-separated.
6153 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6154 $as_echo "printf" >&6; } ;;
6155 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6156 $as_echo "print -r" >&6; } ;;
6157 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6158 $as_echo "cat" >&6; } ;;
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6175 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6176 if test "${ac_cv_path_SED+set}" = set; then :
6177 $as_echo_n "(cached) " >&6
6179 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6180 for ac_i in 1 2 3 4 5 6 7; do
6181 ac_script="$ac_script$as_nl$ac_script"
6183 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6184 { ac_script=; unset ac_script;}
6185 if test -z "$SED"; then
6186 ac_path_SED_found=false
6187 # Loop through the user's path and
test for each of PROGNAME-LIST
6188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6192 test -z "$as_dir" && as_dir
=.
6193 for ac_prog
in sed gsed
; do
6194 for ac_exec_ext
in '' $ac_executable_extensions; do
6195 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6196 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6197 # Check for GNU ac_path_SED and select it if it is found.
6198 # Check for GNU $ac_path_SED
6199 case `"$ac_path_SED" --version 2>&1` in
6201 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6204 $as_echo_n 0123456789 >"conftest.in"
6207 cat "conftest.in" "conftest.in" >"conftest.tmp"
6208 mv "conftest.tmp" "conftest.in"
6209 cp "conftest.in" "conftest.nl"
6210 $as_echo '' >> "conftest.nl"
6211 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6212 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6213 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6214 if test $ac_count -gt ${ac_path_SED_max-0}; then
6215 # Best one so far, save it but keep looking for a better one
6216 ac_cv_path_SED
="$ac_path_SED"
6217 ac_path_SED_max
=$ac_count
6219 # 10*(2^10) chars as input seems more than enough
6220 test $ac_count -gt 10 && break
6222 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6225 $ac_path_SED_found && break 3
6230 if test -z "$ac_cv_path_SED"; then
6231 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6239 $as_echo "$ac_cv_path_SED" >&6; }
6240 SED
="$ac_cv_path_SED"
6243 test -z "$SED" && SED
=sed
6244 Xsed
="$SED -e 1s/^X//"
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6257 $as_echo_n "checking for fgrep... " >&6; }
6258 if test "${ac_cv_path_FGREP+set}" = set; then :
6259 $as_echo_n "(cached) " >&6
6261 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6262 then ac_cv_path_FGREP
="$GREP -F"
6264 if test -z "$FGREP"; then
6265 ac_path_FGREP_found
=false
6266 # Loop through the user's path and test for each of PROGNAME-LIST
6267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6268 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6271 test -z "$as_dir" && as_dir
=.
6272 for ac_prog
in fgrep
; do
6273 for ac_exec_ext
in '' $ac_executable_extensions; do
6274 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6275 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6276 # Check for GNU ac_path_FGREP and select it if it is found.
6277 # Check for GNU $ac_path_FGREP
6278 case `"$ac_path_FGREP" --version 2>&1` in
6280 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6283 $as_echo_n 0123456789 >"conftest.in"
6286 cat "conftest.in" "conftest.in" >"conftest.tmp"
6287 mv "conftest.tmp" "conftest.in"
6288 cp "conftest.in" "conftest.nl"
6289 $as_echo 'FGREP' >> "conftest.nl"
6290 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6291 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6292 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6293 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6294 # Best one so far, save it but keep looking for a better one
6295 ac_cv_path_FGREP
="$ac_path_FGREP"
6296 ac_path_FGREP_max
=$ac_count
6298 # 10*(2^10) chars as input seems more than enough
6299 test $ac_count -gt 10 && break
6301 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6304 $ac_path_FGREP_found && break 3
6309 if test -z "$ac_cv_path_FGREP"; then
6310 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6313 ac_cv_path_FGREP
=$FGREP
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6319 $as_echo "$ac_cv_path_FGREP" >&6; }
6320 FGREP
="$ac_cv_path_FGREP"
6323 test -z "$GREP" && GREP
=grep
6343 # Check whether --with-gnu-ld was given.
6344 if test "${with_gnu_ld+set}" = set; then :
6345 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6351 if test "$GCC" = yes; then
6352 # Check if gcc -print-prog-name=ld gives a path.
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6354 $as_echo_n "checking for ld used by $CC... " >&6; }
6357 # gcc leaves a trailing carriage return which upsets mingw
6358 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6360 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6363 # Accept absolute paths.
6365 re_direlt
='/[^/][^/]*/\.\./'
6366 # Canonicalize the pathname of ld
6367 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6368 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6369 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6371 test -z "$LD" && LD
="$ac_prog"
6374 # If it fails, then pretend we aren't using GCC.
6378 # If it is relative, then search for the first ld in PATH.
6382 elif test "$with_gnu_ld" = yes; then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6384 $as_echo_n "checking for GNU ld... " >&6; }
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6387 $as_echo_n "checking for non-GNU ld... " >&6; }
6389 if test "${lt_cv_path_LD+set}" = set; then :
6390 $as_echo_n "(cached) " >&6
6392 if test -z "$LD"; then
6393 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6394 for ac_dir
in $PATH; do
6396 test -z "$ac_dir" && ac_dir
=.
6397 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6398 lt_cv_path_LD
="$ac_dir/$ac_prog"
6399 # Check to see if the program is GNU ld. I'd rather use --version,
6400 # but apparently some variants of GNU ld only accept -v.
6401 # Break only if it was the GNU/non-GNU ld that we prefer.
6402 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6403 *GNU
* |
*'with BFD'*)
6404 test "$with_gnu_ld" != no
&& break
6407 test "$with_gnu_ld" != yes && break
6414 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6419 if test -n "$LD"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6421 $as_echo "$LD" >&6; }
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6426 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6428 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6429 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6432 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6433 case `$LD -v 2>&1 </dev/null` in
6434 *GNU
* |
*'with BFD'*)
6435 lt_cv_prog_gnu_ld
=yes
6438 lt_cv_prog_gnu_ld
=no
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6443 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6444 with_gnu_ld
=$lt_cv_prog_gnu_ld
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6455 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6456 if test "${lt_cv_path_NM+set}" = set; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$NM"; then
6460 # Let the user override the test.
6463 lt_nm_to_check
="${ac_tool_prefix}nm"
6464 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6465 lt_nm_to_check
="$lt_nm_to_check nm"
6467 for lt_tmp_nm
in $lt_nm_to_check; do
6468 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6469 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6471 test -z "$ac_dir" && ac_dir
=.
6472 tmp_nm
="$ac_dir/$lt_tmp_nm"
6473 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6474 # Check to see if the nm accepts a BSD-compat flag.
6475 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6476 # nm: unknown option "B" ignored
6477 # Tru64's nm complains that /dev/null is an invalid object file
6478 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6479 */dev
/null
* |
*'Invalid file or object type'*)
6480 lt_cv_path_NM
="$tmp_nm -B"
6484 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6486 lt_cv_path_NM
="$tmp_nm -p"
6490 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6491 continue # so that we can try to find one that supports BSD flags
6500 : ${lt_cv_path_NM=no}
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6504 $as_echo "$lt_cv_path_NM" >&6; }
6505 if test "$lt_cv_path_NM" != "no"; then
6508 # Didn't find any BSD compatible name lister, look for dumpbin.
6509 if test -n "$DUMPBIN"; then :
6510 # Let the user override the test.
6512 if test -n "$ac_tool_prefix"; then
6513 for ac_prog
in dumpbin
"link -dump"
6515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6516 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6520 $as_echo_n "(cached) " >&6
6522 if test -n "$DUMPBIN"; then
6523 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir
=.
6530 for ac_exec_ext
in '' $ac_executable_extensions; do
6531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6532 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 DUMPBIN
=$ac_cv_prog_DUMPBIN
6543 if test -n "$DUMPBIN"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6545 $as_echo "$DUMPBIN" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6552 test -n "$DUMPBIN" && break
6555 if test -z "$DUMPBIN"; then
6556 ac_ct_DUMPBIN
=$DUMPBIN
6557 for ac_prog
in dumpbin
"link -dump"
6559 # Extract the first word of "$ac_prog", so it can be a program name with args.
6560 set dummy
$ac_prog; ac_word
=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6564 $as_echo_n "(cached) " >&6
6566 if test -n "$ac_ct_DUMPBIN"; then
6567 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6573 test -z "$as_dir" && as_dir
=.
6574 for ac_exec_ext
in '' $ac_executable_extensions; do
6575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6576 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6587 if test -n "$ac_ct_DUMPBIN"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6589 $as_echo "$ac_ct_DUMPBIN" >&6; }
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6596 test -n "$ac_ct_DUMPBIN" && break
6599 if test "x$ac_ct_DUMPBIN" = x
; then
6602 case $cross_compiling:$ac_tool_warned in
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6606 ac_tool_warned
=yes ;;
6608 DUMPBIN
=$ac_ct_DUMPBIN
6612 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6614 DUMPBIN
="$DUMPBIN -symbols"
6622 if test "$DUMPBIN" != ":"; then
6626 test -z "$NM" && NM
=nm
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6634 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6635 if test "${lt_cv_nm_interface+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6638 lt_cv_nm_interface
="BSD nm"
6639 echo "int some_variable = 0;" > conftest.
$ac_ext
6640 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6641 (eval "$ac_compile" 2>conftest.err
)
6642 cat conftest.err
>&5
6643 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6644 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6645 cat conftest.err
>&5
6646 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6647 cat conftest.out
>&5
6648 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6649 lt_cv_nm_interface
="MS dumpbin"
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6654 $as_echo "$lt_cv_nm_interface" >&6; }
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6657 $as_echo_n "checking whether ln -s works... " >&6; }
6659 if test "$LN_S" = "ln -s"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6661 $as_echo "yes" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6664 $as_echo "no, using $LN_S" >&6; }
6667 # find the maximum length of command line arguments
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6669 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6670 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6671 $as_echo_n "(cached) " >&6
6678 # On DJGPP, this test can blow up pretty badly due to problems in libc
6679 # (any single argument exceeding 2000 bytes causes a buffer overrun
6680 # during glob expansion). Even if it were fixed, the result of this
6681 # check would be larger than it should be.
6682 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6686 # Under GNU Hurd, this test is not required because there is
6687 # no limit to the length of command line arguments.
6688 # Libtool will interpret -1 as no limit whatsoever
6689 lt_cv_sys_max_cmd_len
=-1;
6692 cygwin
* | mingw
* | cegcc
*)
6693 # On Win9x/ME, this test blows up -- it succeeds, but takes
6694 # about 5 minutes as the teststring grows exponentially.
6695 # Worse, since 9x/ME are not pre-emptively multitasking,
6696 # you end up with a "frozen" computer, even though with patience
6697 # the test eventually succeeds (with a max line length of 256k).
6698 # Instead, let's just punt: use the minimum linelength reported by
6699 # all of the supported platforms: 8192 (on NT/2K/XP).
6700 lt_cv_sys_max_cmd_len
=8192;
6704 # On MiNT this can take a long time and run out of memory.
6705 lt_cv_sys_max_cmd_len
=8192;
6709 # On AmigaOS with pdksh, this test takes hours, literally.
6710 # So we just punt and use a minimum line length of 8192.
6711 lt_cv_sys_max_cmd_len
=8192;
6714 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6715 # This has been around since 386BSD, at least. Likely further.
6716 if test -x /sbin
/sysctl
; then
6717 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6718 elif test -x /usr
/sbin
/sysctl
; then
6719 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6721 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6723 # And add a safety zone
6724 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6725 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6729 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6730 lt_cv_sys_max_cmd_len
=196608
6734 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6735 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6736 # nice to cause kernel panics so lets avoid the loop below.
6737 # First set a reasonable default.
6738 lt_cv_sys_max_cmd_len
=16384
6740 if test -x /sbin
/sysconfig
; then
6741 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6742 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6747 lt_cv_sys_max_cmd_len
=102400
6749 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6750 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6751 if test -n "$kargmax"; then
6752 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6754 lt_cv_sys_max_cmd_len
=32768
6758 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6759 if test -n "$lt_cv_sys_max_cmd_len"; then
6760 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6761 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6763 # Make teststring a little bigger before we do anything with it.
6764 # a 1K string should be a reasonable start.
6765 for i
in 1 2 3 4 5 6 7 8 ; do
6766 teststring
=$teststring$teststring
6768 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6769 # If test is not a shell built-in, we'll probably end up computing a
6770 # maximum length that is only half of the actual maximum length, but
6772 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6773 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6774 test $i != 17 # 1/2 MB should be enough
6777 teststring
=$teststring$teststring
6779 # Only check the string length outside the loop.
6780 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6782 # Add a significant safety factor because C++ compilers can tack on
6783 # massive amounts of additional arguments before passing them to the
6784 # linker. It appears as though 1/2 is a usable value.
6785 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6792 if test -n $lt_cv_sys_max_cmd_len ; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6794 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6797 $as_echo "none" >&6; }
6799 max_cmd_len
=$lt_cv_sys_max_cmd_len
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6811 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6812 # Try some XSI features
6815 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6817 && eval 'test $(( 1 + 1 )) -eq 2 \
6818 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6821 $as_echo "$xsi_shell" >&6; }
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6825 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6827 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6829 && lt_shell_append=yes
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6831 $as_echo "$lt_shell_append" >&6; }
6834 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6844 # test EBCDIC or ASCII
6845 case `echo X|tr X '\101'` in
6846 A) # ASCII based system
6847 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6848 lt_SP2NL='tr \040 \012'
6849 lt_NL2SP='tr \015\012 \040\040'
6851 *) # EBCDIC based system
6852 lt_SP2NL='tr \100 \n'
6853 lt_NL2SP='tr \r\n \100\100'
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6866 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6867 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6868 $as_echo_n "(cached
) " >&6
6870 lt_cv_ld_reload_flag='-r'
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6873 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6874 reload_flag=$lt_cv_ld_reload_flag
6875 case $reload_flag in
6877 *) reload_flag=" $reload_flag" ;;
6879 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6882 if test "$GCC" = yes; then
6883 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6885 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6898 if test -n "$ac_tool_prefix"; then
6899 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6900 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6902 $as_echo_n "checking
for $ac_word...
" >&6; }
6903 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6904 $as_echo_n "(cached
) " >&6
6906 if test -n "$OBJDUMP"; then
6907 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir=.
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6916 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6926 OBJDUMP=$ac_cv_prog_OBJDUMP
6927 if test -n "$OBJDUMP"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6929 $as_echo "$OBJDUMP" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6932 $as_echo "no
" >&6; }
6937 if test -z "$ac_cv_prog_OBJDUMP"; then
6938 ac_ct_OBJDUMP=$OBJDUMP
6939 # Extract the first word of "objdump
", so it can be a program name with args.
6940 set dummy objdump; ac_word=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6942 $as_echo_n "checking
for $ac_word...
" >&6; }
6943 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6944 $as_echo_n "(cached
) " >&6
6946 if test -n "$ac_ct_OBJDUMP"; then
6947 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 test -z "$as_dir" && as_dir=.
6954 for ac_exec_ext in '' $ac_executable_extensions; do
6955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6956 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6966 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6967 if test -n "$ac_ct_OBJDUMP"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6969 $as_echo "$ac_ct_OBJDUMP" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6972 $as_echo "no
" >&6; }
6975 if test "x
$ac_ct_OBJDUMP" = x; then
6978 case $cross_compiling:$ac_tool_warned in
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6981 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6982 ac_tool_warned=yes ;;
6984 OBJDUMP=$ac_ct_OBJDUMP
6987 OBJDUMP="$ac_cv_prog_OBJDUMP"
6990 test -z "$OBJDUMP" && OBJDUMP=objdump
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7001 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7002 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7003 $as_echo_n "(cached
) " >&6
7005 lt_cv_file_magic_cmd='$MAGIC_CMD'
7006 lt_cv_file_magic_test_file=
7007 lt_cv_deplibs_check_method='unknown'
7008 # Need to set the preceding variable on all platforms that support
7009 # interlibrary dependencies.
7010 # 'none' -- dependencies not supported.
7011 # `unknown' -- same as none, but documents that we really don't know.
7012 # 'pass_all' -- all dependencies passed with no checks.
7013 # 'test_compile' -- check by making test program.
7014 # 'file_magic [[regex]]' -- check by looking for files in library path
7015 # which responds to the $file_magic_cmd with a given extended regex.
7016 # If you have `file' or equivalent on your system and you're not sure
7017 # whether `pass_all' will *always* work, you probably want this one.
7021 lt_cv_deplibs_check_method=pass_all
7025 lt_cv_deplibs_check_method=pass_all
7029 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7030 lt_cv_file_magic_cmd='/usr/bin/file -L'
7031 lt_cv_file_magic_test_file=/shlib/libc.so
7035 # func_win32_libid is a shell function defined in ltmain.sh
7036 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7037 lt_cv_file_magic_cmd='func_win32_libid'
7041 # Base MSYS/MinGW do not provide the 'file' command needed by
7042 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7043 # unless we find 'file', for example because we are cross-compiling.
7044 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7045 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7046 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7047 lt_cv_file_magic_cmd='func_win32_libid'
7049 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7050 lt_cv_file_magic_cmd='$OBJDUMP -f'
7055 # use the weaker test based on 'objdump'. See mingw*.
7056 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7057 lt_cv_file_magic_cmd='$OBJDUMP -f'
7060 darwin* | rhapsody*)
7061 lt_cv_deplibs_check_method=pass_all
7064 freebsd* | dragonfly*)
7065 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7068 # Not sure whether the presence of OpenBSD here was a mistake.
7069 # Let's accept both of them until this is cleared up.
7070 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7071 lt_cv_file_magic_cmd=/usr/bin/file
7072 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7076 lt_cv_deplibs_check_method=pass_all
7081 lt_cv_deplibs_check_method=pass_all
7085 lt_cv_deplibs_check_method=pass_all
7088 hpux10.20* | hpux11*)
7089 lt_cv_file_magic_cmd=/usr/bin/file
7092 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7093 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7096 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]'
7097 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7100 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7101 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7107 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7108 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7111 irix5* | irix6* | nonstopux*)
7113 *-32|*"-32 ") libmagic=32-bit;;
7114 *-n32|*"-n32 ") libmagic=N32;;
7115 *-64|*"-64 ") libmagic=64-bit;;
7116 *) libmagic=never-match;;
7118 lt_cv_deplibs_check_method=pass_all
7121 # This must be Linux ELF.
7122 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7123 lt_cv_deplibs_check_method=pass_all
7127 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7128 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7130 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7135 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7136 lt_cv_file_magic_cmd=/usr/bin/file
7137 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7141 lt_cv_deplibs_check_method=pass_all
7145 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7146 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7148 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7152 osf3* | osf4* | osf5*)
7153 lt_cv_deplibs_check_method=pass_all
7157 lt_cv_deplibs_check_method=pass_all
7161 lt_cv_deplibs_check_method=pass_all
7164 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7165 lt_cv_deplibs_check_method=pass_all
7169 case $host_vendor in
7171 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]'
7172 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7175 lt_cv_deplibs_check_method=pass_all
7178 lt_cv_file_magic_cmd='/bin/file'
7179 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7182 lt_cv_file_magic_cmd='/bin/file'
7183 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7184 lt_cv_file_magic_test_file=/lib/libc.so
7187 lt_cv_deplibs_check_method=pass_all
7190 lt_cv_deplibs_check_method=pass_all
7196 lt_cv_deplibs_check_method=pass_all
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7202 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7203 file_magic_cmd=$lt_cv_file_magic_cmd
7204 deplibs_check_method=$lt_cv_deplibs_check_method
7205 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7218 if test -n "$ac_tool_prefix"; then
7219 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7220 set dummy ${ac_tool_prefix}ar; ac_word=$2
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7222 $as_echo_n "checking
for $ac_word...
" >&6; }
7223 if test "${ac_cv_prog_AR+set}" = set; then :
7224 $as_echo_n "(cached
) " >&6
7226 if test -n "$AR"; then
7227 ac_cv_prog_AR="$AR" # Let the user override the test.
7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 test -z "$as_dir" && as_dir=.
7234 for ac_exec_ext in '' $ac_executable_extensions; do
7235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7236 ac_cv_prog_AR="${ac_tool_prefix}ar"
7237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7247 if test -n "$AR"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7249 $as_echo "$AR" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7252 $as_echo "no
" >&6; }
7257 if test -z "$ac_cv_prog_AR"; then
7259 # Extract the first word of "ar", so it can be a program name with args.
7260 set dummy ar; ac_word=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7262 $as_echo_n "checking
for $ac_word...
" >&6; }
7263 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7264 $as_echo_n "(cached
) " >&6
7266 if test -n "$ac_ct_AR"; then
7267 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir=.
7274 for ac_exec_ext in '' $ac_executable_extensions; do
7275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276 ac_cv_prog_ac_ct_AR="ar"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7286 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7287 if test -n "$ac_ct_AR"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7289 $as_echo "$ac_ct_AR" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7292 $as_echo "no
" >&6; }
7295 if test "x
$ac_ct_AR" = x; then
7298 case $cross_compiling:$ac_tool_warned in
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7301 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7302 ac_tool_warned=yes ;;
7310 test -z "$AR" && AR=ar
7311 test -z "$AR_FLAGS" && AR_FLAGS=cru
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}strip; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7327 $as_echo_n "checking
for $ac_word...
" >&6; }
7328 if test "${ac_cv_prog_STRIP+set}" = set; then :
7329 $as_echo_n "(cached
) " >&6
7331 if test -n "$STRIP"; then
7332 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7351 STRIP=$ac_cv_prog_STRIP
7352 if test -n "$STRIP"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7354 $as_echo "$STRIP" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7357 $as_echo "no
" >&6; }
7362 if test -z "$ac_cv_prog_STRIP"; then
7364 # Extract the first word of "strip
", so it can be a program name with args.
7365 set dummy strip; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7367 $as_echo_n "checking
for $ac_word...
" >&6; }
7368 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7369 $as_echo_n "(cached
) " >&6
7371 if test -n "$ac_ct_STRIP"; then
7372 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7381 ac_cv_prog_ac_ct_STRIP="strip
"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7391 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7392 if test -n "$ac_ct_STRIP"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7394 $as_echo "$ac_ct_STRIP" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7397 $as_echo "no
" >&6; }
7400 if test "x
$ac_ct_STRIP" = x; then
7403 case $cross_compiling:$ac_tool_warned in
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7406 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7407 ac_tool_warned=yes ;;
7412 STRIP="$ac_cv_prog_STRIP"
7415 test -z "$STRIP" && STRIP=:
7422 if test -n "$ac_tool_prefix"; then
7423 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7424 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7426 $as_echo_n "checking
for $ac_word...
" >&6; }
7427 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7428 $as_echo_n "(cached
) " >&6
7430 if test -n "$RANLIB"; then
7431 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7450 RANLIB=$ac_cv_prog_RANLIB
7451 if test -n "$RANLIB"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7453 $as_echo "$RANLIB" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7456 $as_echo "no
" >&6; }
7461 if test -z "$ac_cv_prog_RANLIB"; then
7462 ac_ct_RANLIB=$RANLIB
7463 # Extract the first word of "ranlib
", so it can be a program name with args.
7464 set dummy ranlib; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7466 $as_echo_n "checking
for $ac_word...
" >&6; }
7467 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7468 $as_echo_n "(cached
) " >&6
7470 if test -n "$ac_ct_RANLIB"; then
7471 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7490 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7491 if test -n "$ac_ct_RANLIB"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7493 $as_echo "$ac_ct_RANLIB" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7496 $as_echo "no
" >&6; }
7499 if test "x
$ac_ct_RANLIB" = x; then
7502 case $cross_compiling:$ac_tool_warned in
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7505 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7506 ac_tool_warned=yes ;;
7508 RANLIB=$ac_ct_RANLIB
7511 RANLIB="$ac_cv_prog_RANLIB"
7514 test -z "$RANLIB" && RANLIB=:
7521 # Determine commands to create old-style static archives.
7522 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7523 old_postinstall_cmds='chmod 644 $oldlib'
7524 old_postuninstall_cmds=
7526 if test -n "$RANLIB"; then
7529 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7532 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7535 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7540 lock_old_archive_extraction=yes ;;
7542 lock_old_archive_extraction=no ;;
7583 # If no C compiler was specified, use CC.
7586 # If no C compiler flags were specified, use CFLAGS.
7587 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7589 # Allow CC to be a program name with arguments.
7593 # Check for command to grab the raw symbol name followed by C symbol from nm.
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7595 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7596 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7597 $as_echo_n "(cached
) " >&6
7600 # These are sane defaults that work on at least a few old systems.
7601 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7603 # Character class describing NM global symbol codes.
7604 symcode='[BCDEGRST]'
7606 # Regexp to match symbols that can be accessed directly from C.
7607 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7609 # Define system-specific variables.
7614 cygwin* | mingw* | pw32* | cegcc*)
7615 symcode='[ABCDGISTW]'
7618 if test "$host_cpu" = ia64; then
7619 symcode='[ABCDEGRST]'
7623 symcode='[BCDEGRST]'
7626 symcode='[BCDEGQRST]'
7637 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7645 # If we're using GNU nm, then use its standard symbol codes.
7646 case `$NM -V 2>&1` in
7647 *GNU* | *'with BFD'*)
7648 symcode='[ABCDGIRSTW]' ;;
7651 # Transform an extracted symbol line into a proper C declaration.
7652 # Some systems (esp. on ia64) link data and code symbols differently,
7653 # so use this general approach.
7654 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7656 # Transform an extracted symbol line into symbol name and symbol address
7657 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7658 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'"
7660 # Handle CRLF in mingw tool chain
7664 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7668 # Try without a prefix underscore, then with it.
7669 for ac_symprfx in "" "_
"; do
7671 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7672 symxfrm="\\1 $ac_symprfx\\2 \\2"
7674 # Write the raw and C identifiers.
7675 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7676 # Fake it for dumpbin and say T for any non-static function
7677 # and D for any global variable.
7678 # Also find C++ and __fastcall symbols from MSVC++,
7679 # which start with @ or ?.
7680 lt_cv_sys_global_symbol_pipe="$AWK '"\
7681 " {last_section=section; section=\$ 3};"\
7682 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7683 " \$ 0!~/External *\|/{next};"\
7684 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7685 " {if(hide[section]) next};"\
7686 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7687 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7688 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7689 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7690 " ' prfx
=^
$ac_symprfx"
7692 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7695 # Check to see that the pipe works correctly.
7699 cat > conftest.$ac_ext <<_LT_EOF
7704 void nm_test_func(void);
7705 void nm_test_func(void){}
7709 int main(){nm_test_var='a';nm_test_func();return(0);}
7712 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7713 (eval $ac_compile) 2>&5
7715 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7716 test $ac_status = 0; }; then
7717 # Now try to grab the symbols.
7719 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7720 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7722 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7723 test $ac_status = 0; } && test -s "$nlist"; then
7724 # Try sorting and uniquifying the output.
7725 if sort "$nlist" | uniq > "$nlist"T; then
7726 mv -f "$nlist"T "$nlist"
7731 # Make sure that we snagged all the symbols we need.
7732 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7733 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7734 cat <<_LT_EOF > conftest.$ac_ext
7740 # Now generate the symbol file.
7741 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7743 cat <<_LT_EOF >> conftest.$ac_ext
7745 /* The mapping between symbol names and symbols. */
7750 lt__PROGRAM__LTX_preloaded_symbols[] =
7752 { "@PROGRAM@
", (void *) 0 },
7754 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7755 cat <<\_LT_EOF >> conftest.$ac_ext
7759 /* This works around a problem in FreeBSD linker */
7760 #ifdef FREEBSD_WORKAROUND
7761 static const void *lt_preloaded_setup() {
7762 return lt__PROGRAM__LTX_preloaded_symbols;
7770 # Now try linking the two files.
7771 mv conftest.$ac_objext conftstm.$ac_objext
7772 lt_save_LIBS="$LIBS"
7773 lt_save_CFLAGS="$CFLAGS"
7774 LIBS="conftstm.
$ac_objext"
7775 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7776 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7777 (eval $ac_link) 2>&5
7779 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7780 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7783 LIBS="$lt_save_LIBS"
7784 CFLAGS="$lt_save_CFLAGS"
7786 echo "cannot
find nm_test_func
in $nlist" >&5
7789 echo "cannot
find nm_test_var
in $nlist" >&5
7792 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7795 echo "$progname: failed program was
:" >&5
7796 cat conftest.$ac_ext >&5
7798 rm -rf conftest* conftst*
7800 # Do not use the global_symbol_pipe unless it works.
7801 if test "$pipe_works" = yes; then
7804 lt_cv_sys_global_symbol_pipe=
7810 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7811 lt_cv_sys_global_symbol_to_cdecl=
7813 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7815 $as_echo "failed
" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7818 $as_echo "ok
" >&6; }
7842 # Check whether --enable-libtool-lock was given.
7843 if test "${enable_libtool_lock+set}" = set; then :
7844 enableval=$enable_libtool_lock;
7847 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7849 # Some flags need to be propagated to the compiler or linker for good
7853 # Find out which ABI we are using.
7854 echo 'int i;' > conftest.$ac_ext
7855 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7856 (eval $ac_compile) 2>&5
7858 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7859 test $ac_status = 0; }; then
7860 case `/usr/bin/file conftest.$ac_objext` in
7872 # Find out which ABI we are using.
7873 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7874 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7875 (eval $ac_compile) 2>&5
7877 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7878 test $ac_status = 0; }; then
7879 if test "$lt_cv_prog_gnu_ld" = yes; then
7880 case `/usr/bin/file conftest.$ac_objext` in
7882 LD="${LD-ld} -melf32bsmip"
7885 LD="${LD-ld} -melf32bmipn32"
7888 LD="${LD-ld} -melf64bmip"
7892 case `/usr/bin/file conftest.$ac_objext` in
7908 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7909 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7910 # Find out which ABI we are using.
7911 echo 'int i;' > conftest.$ac_ext
7912 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7913 (eval $ac_compile) 2>&5
7915 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7916 test $ac_status = 0; }; then
7917 case `/usr/bin/file conftest.o` in
7920 x86_64-*kfreebsd*-gnu)
7921 LD="${LD-ld} -m elf_i386_fbsd
"
7924 LD="${LD-ld} -m elf_i386
"
7926 ppc64-*linux*|powerpc64-*linux*)
7927 LD="${LD-ld} -m elf32ppclinux
"
7930 LD="${LD-ld} -m elf_s390
"
7933 LD="${LD-ld} -m elf32_sparc
"
7939 x86_64-*kfreebsd*-gnu)
7940 LD="${LD-ld} -m elf_x86_64_fbsd
"
7943 LD="${LD-ld} -m elf_x86_64
"
7945 ppc*-*linux*|powerpc*-*linux*)
7946 LD="${LD-ld} -m elf64ppc
"
7948 s390*-*linux*|s390*-*tpf*)
7949 LD="${LD-ld} -m elf64_s390
"
7952 LD="${LD-ld} -m elf64_sparc
"
7962 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7963 SAVE_CFLAGS="$CFLAGS"
7964 CFLAGS="$CFLAGS -belf"
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7966 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7967 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7968 $as_echo_n "(cached
) " >&6
7971 ac_cpp='$CPP $CPPFLAGS'
7972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7987 if ac_fn_c_try_link "$LINENO"; then :
7988 lt_cv_cc_needs_belf=yes
7990 lt_cv_cc_needs_belf=no
7992 rm -f core conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7995 ac_cpp='$CPP $CPPFLAGS'
7996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8002 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8003 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8004 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8005 CFLAGS="$SAVE_CFLAGS"
8009 # Find out which ABI we are using.
8010 echo 'int i;' > conftest.$ac_ext
8011 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8012 (eval $ac_compile) 2>&5
8014 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8015 test $ac_status = 0; }; then
8016 case `/usr/bin/file conftest.o` in
8018 case $lt_cv_prog_gnu_ld in
8019 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8021 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8033 need_locks="$enable_libtool_lock"
8037 rhapsody* | darwin*)
8038 if test -n "$ac_tool_prefix"; then
8039 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8040 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8042 $as_echo_n "checking
for $ac_word...
" >&6; }
8043 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8044 $as_echo_n "(cached
) " >&6
8046 if test -n "$DSYMUTIL"; then
8047 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8056 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8066 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8067 if test -n "$DSYMUTIL"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8069 $as_echo "$DSYMUTIL" >&6; }
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8072 $as_echo "no
" >&6; }
8077 if test -z "$ac_cv_prog_DSYMUTIL"; then
8078 ac_ct_DSYMUTIL=$DSYMUTIL
8079 # Extract the first word of "dsymutil
", so it can be a program name with args.
8080 set dummy dsymutil; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8082 $as_echo_n "checking
for $ac_word...
" >&6; }
8083 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8084 $as_echo_n "(cached
) " >&6
8086 if test -n "$ac_ct_DSYMUTIL"; then
8087 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8096 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8106 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8107 if test -n "$ac_ct_DSYMUTIL"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8109 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8112 $as_echo "no
" >&6; }
8115 if test "x
$ac_ct_DSYMUTIL" = x; then
8118 case $cross_compiling:$ac_tool_warned in
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8121 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8122 ac_tool_warned=yes ;;
8124 DSYMUTIL=$ac_ct_DSYMUTIL
8127 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8130 if test -n "$ac_tool_prefix"; then
8131 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8132 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8134 $as_echo_n "checking
for $ac_word...
" >&6; }
8135 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8136 $as_echo_n "(cached
) " >&6
8138 if test -n "$NMEDIT"; then
8139 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8148 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8158 NMEDIT=$ac_cv_prog_NMEDIT
8159 if test -n "$NMEDIT"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8161 $as_echo "$NMEDIT" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8164 $as_echo "no
" >&6; }
8169 if test -z "$ac_cv_prog_NMEDIT"; then
8170 ac_ct_NMEDIT=$NMEDIT
8171 # Extract the first word of "nmedit
", so it can be a program name with args.
8172 set dummy nmedit; ac_word=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8174 $as_echo_n "checking
for $ac_word...
" >&6; }
8175 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8176 $as_echo_n "(cached
) " >&6
8178 if test -n "$ac_ct_NMEDIT"; then
8179 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8198 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8199 if test -n "$ac_ct_NMEDIT"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8201 $as_echo "$ac_ct_NMEDIT" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8204 $as_echo "no
" >&6; }
8207 if test "x
$ac_ct_NMEDIT" = x; then
8210 case $cross_compiling:$ac_tool_warned in
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8213 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8214 ac_tool_warned=yes ;;
8216 NMEDIT=$ac_ct_NMEDIT
8219 NMEDIT="$ac_cv_prog_NMEDIT"
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8226 $as_echo_n "checking
for $ac_word...
" >&6; }
8227 if test "${ac_cv_prog_LIPO+set}" = set; then :
8228 $as_echo_n "(cached
) " >&6
8230 if test -n "$LIPO"; then
8231 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 test -z "$as_dir" && as_dir=.
8238 for ac_exec_ext in '' $ac_executable_extensions; do
8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8250 LIPO=$ac_cv_prog_LIPO
8251 if test -n "$LIPO"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8253 $as_echo "$LIPO" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8256 $as_echo "no
" >&6; }
8261 if test -z "$ac_cv_prog_LIPO"; then
8263 # Extract the first word of "lipo
", so it can be a program name with args.
8264 set dummy lipo; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8266 $as_echo_n "checking
for $ac_word...
" >&6; }
8267 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8268 $as_echo_n "(cached
) " >&6
8270 if test -n "$ac_ct_LIPO"; then
8271 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_ac_ct_LIPO="lipo
"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8290 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8291 if test -n "$ac_ct_LIPO"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8293 $as_echo "$ac_ct_LIPO" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8296 $as_echo "no
" >&6; }
8299 if test "x
$ac_ct_LIPO" = x; then
8302 case $cross_compiling:$ac_tool_warned in
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8305 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8306 ac_tool_warned=yes ;;
8311 LIPO="$ac_cv_prog_LIPO"
8314 if test -n "$ac_tool_prefix"; then
8315 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8316 set dummy ${ac_tool_prefix}otool; ac_word=$2
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8318 $as_echo_n "checking
for $ac_word...
" >&6; }
8319 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8320 $as_echo_n "(cached
) " >&6
8322 if test -n "$OTOOL"; then
8323 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8329 test -z "$as_dir" && as_dir=.
8330 for ac_exec_ext in '' $ac_executable_extensions; do
8331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8332 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8342 OTOOL=$ac_cv_prog_OTOOL
8343 if test -n "$OTOOL"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8345 $as_echo "$OTOOL" >&6; }
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8348 $as_echo "no
" >&6; }
8353 if test -z "$ac_cv_prog_OTOOL"; then
8355 # Extract the first word of "otool
", so it can be a program name with args.
8356 set dummy otool; ac_word=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8358 $as_echo_n "checking
for $ac_word...
" >&6; }
8359 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8360 $as_echo_n "(cached
) " >&6
8362 if test -n "$ac_ct_OTOOL"; then
8363 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_ac_ct_OTOOL="otool
"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8382 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8383 if test -n "$ac_ct_OTOOL"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8385 $as_echo "$ac_ct_OTOOL" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8388 $as_echo "no
" >&6; }
8391 if test "x
$ac_ct_OTOOL" = x; then
8394 case $cross_compiling:$ac_tool_warned in
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8397 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8398 ac_tool_warned=yes ;;
8403 OTOOL="$ac_cv_prog_OTOOL"
8406 if test -n "$ac_tool_prefix"; then
8407 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8408 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8410 $as_echo_n "checking
for $ac_word...
" >&6; }
8411 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8412 $as_echo_n "(cached
) " >&6
8414 if test -n "$OTOOL64"; then
8415 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8421 test -z "$as_dir" && as_dir=.
8422 for ac_exec_ext in '' $ac_executable_extensions; do
8423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8424 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8434 OTOOL64=$ac_cv_prog_OTOOL64
8435 if test -n "$OTOOL64"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8437 $as_echo "$OTOOL64" >&6; }
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8440 $as_echo "no
" >&6; }
8445 if test -z "$ac_cv_prog_OTOOL64"; then
8446 ac_ct_OTOOL64=$OTOOL64
8447 # Extract the first word of "otool64
", so it can be a program name with args.
8448 set dummy otool64; ac_word=$2
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8450 $as_echo_n "checking
for $ac_word...
" >&6; }
8451 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8452 $as_echo_n "(cached
) " >&6
8454 if test -n "$ac_ct_OTOOL64"; then
8455 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8461 test -z "$as_dir" && as_dir=.
8462 for ac_exec_ext in '' $ac_executable_extensions; do
8463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8464 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8474 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8475 if test -n "$ac_ct_OTOOL64"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8477 $as_echo "$ac_ct_OTOOL64" >&6; }
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8480 $as_echo "no
" >&6; }
8483 if test "x
$ac_ct_OTOOL64" = x; then
8486 case $cross_compiling:$ac_tool_warned in
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8489 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8490 ac_tool_warned=yes ;;
8492 OTOOL64=$ac_ct_OTOOL64
8495 OTOOL64="$ac_cv_prog_OTOOL64"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8525 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8526 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8527 $as_echo_n "(cached
) " >&6
8529 lt_cv_apple_cc_single_mod=no
8530 if test -z "${LT_MULTI_MODULE}"; then
8531 # By default we will add the -single_module flag. You can override
8532 # by either setting the environment variable LT_MULTI_MODULE
8533 # non-empty at configure time, or by adding -multi_module to the
8535 rm -rf libconftest.dylib*
8536 echo "int foo
(void
){return 1;}" > conftest.c
8537 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8538 -dynamiclib -Wl,-single_module conftest.c
" >&5
8539 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8540 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8542 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8543 lt_cv_apple_cc_single_mod=yes
8545 cat conftest.err >&5
8547 rm -rf libconftest.dylib*
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8552 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8554 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8555 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8556 $as_echo_n "(cached
) " >&6
8558 lt_cv_ld_exported_symbols_list=no
8559 save_LDFLAGS=$LDFLAGS
8560 echo "_main
" > conftest.sym
8561 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8573 if ac_fn_c_try_link "$LINENO"; then :
8574 lt_cv_ld_exported_symbols_list=yes
8576 lt_cv_ld_exported_symbols_list=no
8578 rm -f core conftest.err conftest.$ac_objext \
8579 conftest$ac_exeext conftest.$ac_ext
8580 LDFLAGS="$save_LDFLAGS"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8584 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8586 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8587 if test "${lt_cv_ld_force_load+set}" = set; then :
8588 $as_echo_n "(cached
) " >&6
8590 lt_cv_ld_force_load=no
8591 cat > conftest.c << _LT_EOF
8592 int forced_loaded() { return 2;}
8594 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8595 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8596 echo "$AR cru libconftest.a conftest.o
" >&5
8597 $AR cru libconftest.a conftest.o 2>&5
8598 cat > conftest.c << _LT_EOF
8599 int main() { return 0;}
8601 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8602 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8604 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8605 lt_cv_ld_force_load=yes
8607 cat conftest.err >&5
8609 rm -f conftest.err libconftest.a conftest conftest.c
8610 rm -rf conftest.dSYM
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8614 $as_echo "$lt_cv_ld_force_load" >&6; }
8616 rhapsody* | darwin1.[012])
8617 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8619 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8620 darwin*) # darwin 5.x on
8621 # if running on 10.5 or later, the deployment target defaults
8622 # to the OS version, if on x86, and 10.4, the deployment
8623 # target defaults to 10.4. Don't you love it?
8624 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8625 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8626 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8628 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8630 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8634 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8635 _lt_dar_single_mod='$single_module'
8637 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8638 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8640 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8642 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8643 _lt_dsymutil='~$DSYMUTIL $lib || :'
8650 for ac_header in dlfcn.h
8652 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8654 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8655 cat >>confdefs.h <<_ACEOF
8656 #define HAVE_DLFCN_H 1
8678 # Check whether --enable-shared was given.
8679 if test "${enable_shared+set}" = set; then :
8680 enableval=$enable_shared; p=${PACKAGE-default}
8682 yes) enable_shared=yes ;;
8683 no) enable_shared=no ;;
8686 # Look at the argument we got. We use all the common list separators.
8687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8688 for pkg in $enableval; do
8690 if test "X
$pkg" = "X
$p"; then
8709 # Check whether --enable-static was given.
8710 if test "${enable_static+set}" = set; then :
8711 enableval=$enable_static; p=${PACKAGE-default}
8713 yes) enable_static=yes ;;
8714 no) enable_static=no ;;
8717 # Look at the argument we got. We use all the common list separators.
8718 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8719 for pkg in $enableval; do
8721 if test "X
$pkg" = "X
$p"; then
8741 # Check whether --with-pic was given.
8742 if test "${with_pic+set}" = set; then :
8743 withval=$with_pic; pic_mode="$withval"
8749 test -z "$pic_mode" && pic_mode=default
8757 # Check whether --enable-fast-install was given.
8758 if test "${enable_fast_install+set}" = set; then :
8759 enableval=$enable_fast_install; p=${PACKAGE-default}
8761 yes) enable_fast_install=yes ;;
8762 no) enable_fast_install=no ;;
8764 enable_fast_install=no
8765 # Look at the argument we got. We use all the common list separators.
8766 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8767 for pkg in $enableval; do
8769 if test "X
$pkg" = "X
$p"; then
8770 enable_fast_install=yes
8777 enable_fast_install=yes
8790 # This can be used to rebuild libtool when needed
8791 LIBTOOL_DEPS="$ltmain"
8793 # Always use our own libtool.
8794 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8821 test -z "$LN_S" && LN_S="ln -s"
8836 if test -n "${ZSH_VERSION+set}" ; then
8837 setopt NO_GLOB_SUBST
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8841 $as_echo_n "checking
for objdir...
" >&6; }
8842 if test "${lt_cv_objdir+set}" = set; then :
8843 $as_echo_n "(cached
) " >&6
8845 rm -f .libs 2>/dev/null
8846 mkdir .libs 2>/dev/null
8847 if test -d .libs; then
8850 # MS-DOS does not allow filenames that begin with a dot.
8853 rmdir .libs 2>/dev/null
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8856 $as_echo "$lt_cv_objdir" >&6; }
8857 objdir=$lt_cv_objdir
8863 cat >>confdefs.h <<_ACEOF
8864 #define LT_OBJDIR "$lt_cv_objdir/"
8872 # AIX sometimes has problems with the GCC collect2 program. For some
8873 # reason, if we set the COLLECT_NAMES environment variable, the problems
8874 # vanish in a puff of smoke.
8875 if test "X
${COLLECT_NAMES+set}" != Xset; then
8877 export COLLECT_NAMES
8884 can_build_shared=yes
8886 # All known linkers require a `.a' archive for static linking (except MSVC,
8887 # which needs '.lib').
8890 with_gnu_ld="$lt_cv_prog_gnu_ld"
8893 old_CFLAGS="$CFLAGS"
8895 # Set sane defaults for various variables
8896 test -z "$CC" && CC=cc
8897 test -z "$LTCC" && LTCC=$CC
8898 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8899 test -z "$LD" && LD=ld
8900 test -z "$ac_objext" && ac_objext=o
8902 for cc_temp in $compiler""; do
8904 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8905 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8910 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8913 # Only perform the check for file, if the check method requires it
8914 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8915 case $deplibs_check_method in
8917 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8919 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8920 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8921 $as_echo_n "(cached
) " >&6
8925 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8928 lt_save_MAGIC_CMD="$MAGIC_CMD"
8929 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8930 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8931 for ac_dir in $ac_dummy; do
8933 test -z "$ac_dir" && ac_dir=.
8934 if test -f $ac_dir/${ac_tool_prefix}file; then
8935 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8936 if test -n "$file_magic_test_file"; then
8937 case $deplibs_check_method in
8939 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8941 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8942 $EGREP "$file_magic_regex" > /dev/null; then
8947 *** Warning: the command libtool uses to detect shared libraries,
8948 *** $file_magic_cmd, produces output that libtool cannot recognize.
8949 *** The result is that libtool may fail to recognize shared libraries
8950 *** as such. This will affect the creation of libtool libraries that
8951 *** depend on shared libraries, but programs linked with such libtool
8952 *** libraries will work regardless of this problem. Nevertheless, you
8953 *** may want to report the problem to your system manager and/or to
8954 *** bug-libtool@gnu.org
8964 MAGIC_CMD="$lt_save_MAGIC_CMD"
8969 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8970 if test -n "$MAGIC_CMD"; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8972 $as_echo "$MAGIC_CMD" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8975 $as_echo "no
" >&6; }
8982 if test -z "$lt_cv_path_MAGIC_CMD"; then
8983 if test -n "$ac_tool_prefix"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8985 $as_echo_n "checking
for file...
" >&6; }
8986 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8987 $as_echo_n "(cached
) " >&6
8991 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8994 lt_save_MAGIC_CMD="$MAGIC_CMD"
8995 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8996 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8997 for ac_dir in $ac_dummy; do
8999 test -z "$ac_dir" && ac_dir=.
9000 if test -f $ac_dir/file; then
9001 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9002 if test -n "$file_magic_test_file"; then
9003 case $deplibs_check_method in
9005 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9007 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9008 $EGREP "$file_magic_regex" > /dev/null; then
9013 *** Warning: the command libtool uses to detect shared libraries,
9014 *** $file_magic_cmd, produces output that libtool cannot recognize.
9015 *** The result is that libtool may fail to recognize shared libraries
9016 *** as such. This will affect the creation of libtool libraries that
9017 *** depend on shared libraries, but programs linked with such libtool
9018 *** libraries will work regardless of this problem. Nevertheless, you
9019 *** may want to report the problem to your system manager and/or to
9020 *** bug-libtool@gnu.org
9030 MAGIC_CMD="$lt_save_MAGIC_CMD"
9035 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9036 if test -n "$MAGIC_CMD"; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9038 $as_echo "$MAGIC_CMD" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9041 $as_echo "no
" >&6; }
9054 # Use C for the default configuration in the libtool script
9058 ac_cpp='$CPP $CPPFLAGS'
9059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9064 # Source file extension for C test sources.
9067 # Object file extension for compiled C test sources.
9071 # Code to be used in simple compile tests
9072 lt_simple_compile_test_code="int some_variable
= 0;"
9074 # Code to be used in simple link tests
9075 lt_simple_link_test_code='int main(){return(0);}'
9083 # If no C compiler was specified, use CC.
9086 # If no C compiler flags were specified, use CFLAGS.
9087 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9089 # Allow CC to be a program name with arguments.
9092 # Save the default compiler, since it gets overwritten when the other
9093 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9094 compiler_DEFAULT=$CC
9096 # save warnings/boilerplate of simple test code
9097 ac_outfile=conftest.$ac_objext
9098 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9099 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9100 _lt_compiler_boilerplate=`cat conftest.err`
9103 ac_outfile=conftest.$ac_objext
9104 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9105 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9106 _lt_linker_boilerplate=`cat conftest.err`
9111 ## There is no encapsulation within the following macros, do not change
9112 ## the running order or otherwise move them around unless you know exactly
9113 ## what you are doing...
9114 if test -n "$compiler"; then
9116 lt_prog_compiler_no_builtin_flag=
9118 if test "$GCC" = yes; then
9119 case $cc_basename in
9121 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9123 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9127 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9128 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9129 $as_echo_n "(cached
) " >&6
9131 lt_cv_prog_compiler_rtti_exceptions=no
9132 ac_outfile=conftest.$ac_objext
9133 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9134 lt_compiler_flag="-fno-rtti -fno-exceptions"
9135 # Insert the option either (1) after the last *FLAGS variable, or
9136 # (2) before a word containing "conftest.
", or (3) at the end.
9137 # Note that $ac_compile itself does not contain backslashes and begins
9138 # with a dollar sign (not a hyphen), so the echo should work correctly.
9139 # The option is referenced via a variable to avoid confusing sed.
9140 lt_compile=`echo "$ac_compile" | $SED \
9141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9143 -e 's:$: $lt_compiler_flag:'`
9144 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9145 (eval "$lt_compile" 2>conftest.err)
9147 cat conftest.err >&5
9148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9149 if (exit $ac_status) && test -s "$ac_outfile"; then
9150 # The compiler can only warn and ignore the option if not recognized
9151 # So say no if there are warnings other than the usual output.
9152 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9154 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9155 lt_cv_prog_compiler_rtti_exceptions=yes
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9162 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9164 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9165 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9177 lt_prog_compiler_wl=
9178 lt_prog_compiler_pic=
9179 lt_prog_compiler_static=
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9182 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9184 if test "$GCC" = yes; then
9185 lt_prog_compiler_wl='-Wl,'
9186 lt_prog_compiler_static='-static'
9190 # All AIX code is PIC.
9191 if test "$host_cpu" = ia64; then
9192 # AIX 5 now supports IA64 processor
9193 lt_prog_compiler_static='-Bstatic'
9200 # see comment about AmigaOS4 .so support
9201 lt_prog_compiler_pic='-fPIC'
9204 # FIXME: we need at least 68020 code to build shared libraries, but
9205 # adding the `-m68020' flag to GCC prevents building anything better,
9207 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9212 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9213 # PIC is the default for these OSes.
9216 mingw* | cygwin* | pw32* | os2* | cegcc*)
9217 # This hack is so that the source file can tell whether it is being
9218 # built for inclusion in a dll (and should export symbols for example).
9219 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9220 # (--disable-auto-import) libraries
9221 lt_prog_compiler_pic='-DDLL_EXPORT'
9224 darwin* | rhapsody*)
9225 # PIC is the default on this platform
9226 # Common symbols not allowed in MH_DYLIB files
9227 lt_prog_compiler_pic='-fno-common'
9231 # PIC is the default for Haiku.
9232 # The "-static" flag exists, but is broken.
9233 lt_prog_compiler_static=
9237 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9238 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9239 # sets the default TLS model and affects inlining.
9245 lt_prog_compiler_pic='-fPIC'
9251 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9252 # Instead, we relocate shared libraries at runtime.
9256 # Just because we use GCC doesn't mean we suddenly get shared libraries
9257 # on systems that don't support them.
9258 lt_prog_compiler_can_build_shared=no
9263 # QNX uses GNU C++, but need to define -shared option too, otherwise
9265 lt_prog_compiler_pic='-fPIC -shared'
9269 if test -d /usr/nec; then
9270 lt_prog_compiler_pic=-Kconform_pic
9275 lt_prog_compiler_pic='-fPIC'
9279 case $cc_basename in
9280 nvcc*) # Cuda Compiler Driver 2.2
9281 lt_prog_compiler_wl='-Xlinker '
9282 lt_prog_compiler_pic='-Xcompiler -fPIC'
9286 # PORTME Check for flag to pass linker flags through the system compiler.
9289 lt_prog_compiler_wl='-Wl,'
9290 if test "$host_cpu" = ia64; then
9291 # AIX 5 now supports IA64 processor
9292 lt_prog_compiler_static='-Bstatic'
9294 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9298 mingw* | cygwin* | pw32* | os2* | cegcc*)
9299 # This hack is so that the source file can tell whether it is being
9300 # built for inclusion in a dll (and should export symbols for example).
9301 lt_prog_compiler_pic='-DDLL_EXPORT'
9304 hpux9* | hpux10* | hpux11*)
9305 lt_prog_compiler_wl='-Wl,'
9306 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9313 lt_prog_compiler_pic='+Z'
9316 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9317 lt_prog_compiler_static='${wl}-a ${wl}archive'
9320 irix5* | irix6* | nonstopux*)
9321 lt_prog_compiler_wl='-Wl,'
9322 # PIC (with -KPIC) is the default.
9323 lt_prog_compiler_static='-non_shared'
9326 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9327 case $cc_basename in
9328 # old Intel for x86_64 which still supported -KPIC.
9330 lt_prog_compiler_wl='-Wl,'
9331 lt_prog_compiler_pic='-KPIC'
9332 lt_prog_compiler_static='-static'
9334 # icc used to be incompatible with GCC.
9335 # ICC 10 doesn't accept -KPIC any more.
9337 lt_prog_compiler_wl='-Wl,'
9338 lt_prog_compiler_pic='-fPIC'
9339 lt_prog_compiler_static='-static'
9341 # Lahey Fortran 8.1.
9343 lt_prog_compiler_wl='-Wl,'
9344 lt_prog_compiler_pic='--shared'
9345 lt_prog_compiler_static='--static'
9347 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9348 # Portland Group compilers (*not* the Pentium gcc compiler,
9349 # which looks to be a dead project)
9350 lt_prog_compiler_wl='-Wl,'
9351 lt_prog_compiler_pic='-fpic'
9352 lt_prog_compiler_static='-Bstatic'
9355 lt_prog_compiler_wl='-Wl,'
9356 # All Alpha code is PIC.
9357 lt_prog_compiler_static='-non_shared'
9359 xl* | bgxl* | bgf* | mpixl*)
9360 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9361 lt_prog_compiler_wl='-Wl,'
9362 lt_prog_compiler_pic='-qpic'
9363 lt_prog_compiler_static='-qstaticlink'
9366 case `$CC -V 2>&1 | sed 5q` in
9367 *Sun\ F* | *Sun*Fortran*)
9368 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9369 lt_prog_compiler_pic='-KPIC'
9370 lt_prog_compiler_static='-Bstatic'
9371 lt_prog_compiler_wl=''
9375 lt_prog_compiler_pic='-KPIC'
9376 lt_prog_compiler_static='-Bstatic'
9377 lt_prog_compiler_wl='-Wl,'
9385 lt_prog_compiler_pic='-KPIC'
9386 lt_prog_compiler_static='-Bstatic'
9390 # QNX uses GNU C++, but need to define -shared option too, otherwise
9392 lt_prog_compiler_pic='-fPIC -shared'
9395 osf3* | osf4* | osf5*)
9396 lt_prog_compiler_wl='-Wl,'
9397 # All OSF/1 code is PIC.
9398 lt_prog_compiler_static='-non_shared'
9402 lt_prog_compiler_static='-non_shared'
9406 lt_prog_compiler_pic='-KPIC'
9407 lt_prog_compiler_static='-Bstatic'
9408 case $cc_basename in
9410 lt_prog_compiler_wl='-Qoption ld ';;
9412 lt_prog_compiler_wl='-Wl,';;
9417 lt_prog_compiler_wl='-Qoption ld '
9418 lt_prog_compiler_pic='-PIC'
9419 lt_prog_compiler_static='-Bstatic'
9422 sysv4 | sysv4.2uw2* | sysv4.3*)
9423 lt_prog_compiler_wl='-Wl,'
9424 lt_prog_compiler_pic='-KPIC'
9425 lt_prog_compiler_static='-Bstatic'
9429 if test -d /usr/nec ;then
9430 lt_prog_compiler_pic='-Kconform_pic'
9431 lt_prog_compiler_static='-Bstatic'
9435 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9436 lt_prog_compiler_wl='-Wl,'
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9442 lt_prog_compiler_wl='-Wl,'
9443 lt_prog_compiler_can_build_shared=no
9447 lt_prog_compiler_pic='-pic'
9448 lt_prog_compiler_static='-Bstatic'
9452 lt_prog_compiler_can_build_shared=no
9458 # For platforms which do not support PIC, -DPIC is meaningless:
9460 lt_prog_compiler_pic=
9463 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9467 $as_echo "$lt_prog_compiler_pic" >&6; }
9475 # Check to make sure the PIC flag actually works.
9477 if test -n "$lt_prog_compiler_pic"; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9479 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9480 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9481 $as_echo_n "(cached
) " >&6
9483 lt_cv_prog_compiler_pic_works=no
9484 ac_outfile=conftest.$ac_objext
9485 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9486 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9487 # Insert the option either (1) after the last *FLAGS variable, or
9488 # (2) before a word containing "conftest.
", or (3) at the end.
9489 # Note that $ac_compile itself does not contain backslashes and begins
9490 # with a dollar sign (not a hyphen), so the echo should work correctly.
9491 # The option is referenced via a variable to avoid confusing sed.
9492 lt_compile=`echo "$ac_compile" | $SED \
9493 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9495 -e 's:$: $lt_compiler_flag:'`
9496 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9497 (eval "$lt_compile" 2>conftest.err)
9499 cat conftest.err >&5
9500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9501 if (exit $ac_status) && test -s "$ac_outfile"; then
9502 # The compiler can only warn and ignore the option if not recognized
9503 # So say no if there are warnings other than the usual output.
9504 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9505 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9506 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9507 lt_cv_prog_compiler_pic_works=yes
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9514 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9516 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9517 case $lt_prog_compiler_pic in
9519 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9522 lt_prog_compiler_pic=
9523 lt_prog_compiler_can_build_shared=no
9534 # Check to make sure the static flag actually works.
9536 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9538 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9539 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9540 $as_echo_n "(cached
) " >&6
9542 lt_cv_prog_compiler_static_works=no
9543 save_LDFLAGS="$LDFLAGS"
9544 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9545 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9546 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9547 # The linker can only warn and ignore the option if not recognized
9548 # So say no if there are warnings
9549 if test -s conftest.err; then
9550 # Append any errors to the config.log.
9551 cat conftest.err 1>&5
9552 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9553 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9554 if diff conftest.exp conftest.er2 >/dev/null; then
9555 lt_cv_prog_compiler_static_works=yes
9558 lt_cv_prog_compiler_static_works=yes
9562 LDFLAGS="$save_LDFLAGS"
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9566 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9568 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9571 lt_prog_compiler_static=
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9581 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9582 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9583 $as_echo_n "(cached
) " >&6
9585 lt_cv_prog_compiler_c_o=no
9586 $RM -r conftest 2>/dev/null
9590 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9592 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9593 # Insert the option either (1) after the last *FLAGS variable, or
9594 # (2) before a word containing "conftest.
", or (3) at the end.
9595 # Note that $ac_compile itself does not contain backslashes and begins
9596 # with a dollar sign (not a hyphen), so the echo should work correctly.
9597 lt_compile=`echo "$ac_compile" | $SED \
9598 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9599 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9600 -e 's:$: $lt_compiler_flag:'`
9601 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9602 (eval "$lt_compile" 2>out/conftest.err)
9604 cat out/conftest.err >&5
9605 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9606 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9608 # The compiler can only warn and ignore the option if not recognized
9609 # So say no if there are warnings
9610 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9611 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9612 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9613 lt_cv_prog_compiler_c_o=yes
9618 # SGI C++ compiler will create directory out/ii_files/ for
9619 # template instantiation
9620 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9621 $RM out/* && rmdir out
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9628 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9636 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9637 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9638 $as_echo_n "(cached
) " >&6
9640 lt_cv_prog_compiler_c_o=no
9641 $RM -r conftest 2>/dev/null
9645 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9647 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9648 # Insert the option either (1) after the last *FLAGS variable, or
9649 # (2) before a word containing "conftest.
", or (3) at the end.
9650 # Note that $ac_compile itself does not contain backslashes and begins
9651 # with a dollar sign (not a hyphen), so the echo should work correctly.
9652 lt_compile=`echo "$ac_compile" | $SED \
9653 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9654 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9655 -e 's:$: $lt_compiler_flag:'`
9656 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9657 (eval "$lt_compile" 2>out/conftest.err)
9659 cat out/conftest.err >&5
9660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9661 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9663 # The compiler can only warn and ignore the option if not recognized
9664 # So say no if there are warnings
9665 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9666 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9667 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9668 lt_cv_prog_compiler_c_o=yes
9673 # SGI C++ compiler will create directory out/ii_files/ for
9674 # template instantiation
9675 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9676 $RM out/* && rmdir out
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9683 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9688 hard_links="nottested
"
9689 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9690 # do not overwrite the value of need_locks provided by the user
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9692 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9695 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9697 ln conftest.a conftest.b 2>&5 || hard_links=no
9698 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9700 $as_echo "$hard_links" >&6; }
9701 if test "$hard_links" = no; then
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9703 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9716 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9719 allow_undefined_flag=
9720 always_export_symbols=no
9722 archive_expsym_cmds=
9723 compiler_needs_object=no
9724 enable_shared_with_static_runtimes=no
9725 export_dynamic_flag_spec=
9726 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9727 hardcode_automatic=no
9729 hardcode_direct_absolute=no
9730 hardcode_libdir_flag_spec=
9731 hardcode_libdir_flag_spec_ld=
9732 hardcode_libdir_separator=
9734 hardcode_shlibpath_var=unsupported
9736 link_all_deplibs=unknown
9739 old_archive_from_new_cmds=
9740 old_archive_from_expsyms_cmds=
9741 thread_safe_flag_spec=
9742 whole_archive_flag_spec=
9743 # include_expsyms should be a list of space-separated symbols to be *always*
9744 # included in the symbol list
9746 # exclude_expsyms can be an extended regexp of symbols to exclude
9747 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9748 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9749 # as well as any symbol that contains `d'.
9750 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9751 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9752 # platforms (ab)use it in PIC code, but their linkers get confused if
9753 # the symbol is explicitly referenced. Since portable code cannot
9754 # rely on this symbol name, it's probably fine to never include it in
9755 # preloaded symbol tables.
9756 # Exclude shared library initialization/finalization symbols.
9757 extract_expsyms_cmds=
9760 cygwin* | mingw* | pw32* | cegcc*)
9761 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9762 # When not using gcc, we currently assume that we are using
9763 # Microsoft Visual C++.
9764 if test "$GCC" != yes; then
9769 # we just hope/assume this is gcc and not c89 (= MSVC++)
9779 # On some targets, GNU ld is compatible enough with the native linker
9780 # that we're better off using the native interface for both.
9781 lt_use_gnu_ld_interface=no
9782 if test "$with_gnu_ld" = yes; then
9785 # The AIX port of GNU ld has always aspired to compatibility
9786 # with the native linker. However, as the warning in the GNU ld
9787 # block says, versions before 2.19.5* couldn't really create working
9788 # shared libraries, regardless of the interface used.
9789 case `$LD -v 2>&1` in
9790 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9791 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9792 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9794 lt_use_gnu_ld_interface=yes
9799 lt_use_gnu_ld_interface=yes
9804 if test "$lt_use_gnu_ld_interface" = yes; then
9805 # If archive_cmds runs LD, not CC, wlarc should be empty
9808 # Set some defaults for GNU ld with shared library support. These
9809 # are reset later if shared libraries are not supported. Putting them
9810 # here allows them to be overridden if necessary.
9811 runpath_var=LD_RUN_PATH
9812 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9813 export_dynamic_flag_spec='${wl}--export-dynamic'
9814 # ancient GNU ld didn't support --whole-archive et. al.
9815 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9816 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9818 whole_archive_flag_spec=
9820 supports_anon_versioning=no
9821 case `$LD -v 2>&1` in
9822 *GNU\ gold*) supports_anon_versioning=yes ;;
9823 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9824 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9825 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9826 *\ 2.11.*) ;; # other 2.11 versions
9827 *) supports_anon_versioning=yes ;;
9830 # See if GNU ld supports shared libraries.
9833 # On AIX/PPC, the GNU linker is very broken
9834 if test "$host_cpu" != ia64; then
9838 *** Warning: the GNU linker, at least up to release 2.19, is reported
9839 *** to be unable to reliably create shared libraries on AIX.
9840 *** Therefore, libtool is disabling shared libraries support. If you
9841 *** really care for shared libraries, you may want to install binutils
9842 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9843 *** You will then need to restart the configuration process.
9852 # see comment about AmigaOS4 .so support
9853 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9854 archive_expsym_cmds=''
9857 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)'
9858 hardcode_libdir_flag_spec
='-L$libdir'
9859 hardcode_minus_L
=yes
9865 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9866 allow_undefined_flag
=unsupported
9867 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9868 # support --undefined. This deserves some investigation. FIXME
9869 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9875 cygwin
* | mingw
* | pw32
* | cegcc
*)
9876 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9877 # as there is no search path for DLLs.
9878 hardcode_libdir_flag_spec
='-L$libdir'
9879 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9880 allow_undefined_flag
=unsupported
9881 always_export_symbols
=no
9882 enable_shared_with_static_runtimes
=yes
9883 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9885 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9886 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9887 # If the export-symbols file already is a .def file (1st line
9888 # is EXPORTS), use it as is; otherwise, prepend...
9889 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9890 cp $export_symbols $output_objdir/$soname.def;
9892 echo EXPORTS > $output_objdir/$soname.def;
9893 cat $export_symbols >> $output_objdir/$soname.def;
9895 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9902 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9903 link_all_deplibs
=yes
9908 hardcode_shlibpath_var
=no
9909 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9910 export_dynamic_flag_spec
='${wl}-E'
9911 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9912 # Instead, shared libraries are loaded at an image base (0x10000000 by
9913 # default) and relocated if they conflict, which is a slow very memory
9914 # consuming and fragmenting process. To avoid this, we pick a random,
9915 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9916 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9917 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9918 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'
9921 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9923 if test "$host_os" = linux-dietlibc
; then
9924 case $cc_basename in
9925 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9928 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9929 && test "$tmp_diet" = no
9932 tmp_sharedflag
='-shared'
9933 case $cc_basename,$host_cpu in
9934 pgcc
*) # Portland Group C compiler
9935 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'
9936 tmp_addflag
=' $pic_flag'
9938 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9939 # Portland Group f77 and f90 compilers
9940 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'
9941 tmp_addflag
=' $pic_flag -Mnomain' ;;
9942 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9943 tmp_addflag
=' -i_dynamic' ;;
9944 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9945 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9946 ifc
* | ifort
*) # Intel Fortran compiler
9947 tmp_addflag
=' -nofor_main' ;;
9948 lf95
*) # Lahey Fortran 8.1
9949 whole_archive_flag_spec
=
9950 tmp_sharedflag
='--shared' ;;
9951 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9952 tmp_sharedflag
='-qmkshrobj'
9954 nvcc
*) # Cuda Compiler Driver 2.2
9955 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'
9956 compiler_needs_object
=yes
9959 case `$CC -V 2>&1 | sed 5q` in
9960 *Sun\ C
*) # Sun C 5.9
9961 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'
9962 compiler_needs_object
=yes
9963 tmp_sharedflag
='-G' ;;
9964 *Sun\ F
*) # Sun Fortran 8.3
9965 tmp_sharedflag
='-G' ;;
9967 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9969 if test "x$supports_anon_versioning" = xyes
; then
9970 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9971 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9972 echo "local: *; };" >> $output_objdir/$libname.ver~
9973 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9976 case $cc_basename in
9977 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9978 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9979 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9980 hardcode_libdir_flag_spec
=
9981 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9982 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9983 if test "x$supports_anon_versioning" = xyes
; then
9984 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9985 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9986 echo "local: *; };" >> $output_objdir/$libname.ver~
9987 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9997 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9998 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10001 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10002 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10007 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10011 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10012 *** create shared libraries on Solaris systems. Therefore, libtool
10013 *** is disabling shared libraries support. We urge you to upgrade GNU
10014 *** binutils to release 2.9.1 or newer. Another option is to modify
10015 *** your PATH or compiler configuration so that the native linker is
10016 *** used, and then restart.
10019 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10020 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10021 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10027 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10028 case `$LD -v 2>&1` in
10029 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10033 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10034 *** reliably create shared libraries on SCO systems. Therefore, libtool
10035 *** is disabling shared libraries support. We urge you to upgrade GNU
10036 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10037 *** your PATH or compiler configuration so that the native linker is
10038 *** used, and then restart.
10043 # For security reasons, it is highly recommended that you always
10044 # use absolute paths for naming shared libraries, and exclude the
10045 # DT_RUNPATH tag from executables and libraries. But doing so
10046 # requires that you compile everything twice, which is a pain.
10047 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10048 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10049 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10050 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10059 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct
=yes
10062 hardcode_shlibpath_var
=no
10066 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10067 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10068 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10075 if test "$ld_shlibs" = no
; then
10077 hardcode_libdir_flag_spec
=
10078 export_dynamic_flag_spec
=
10079 whole_archive_flag_spec
=
10082 # PORTME fill in a description of your system's linker (not GNU ld)
10085 allow_undefined_flag
=unsupported
10086 always_export_symbols
=yes
10087 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'
10088 # Note: this linker hardcodes the directories in LIBPATH if there
10089 # are no directories specified by -L.
10090 hardcode_minus_L
=yes
10091 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10092 # Neither direct hardcoding nor static linking is supported with a
10094 hardcode_direct
=unsupported
10099 if test "$host_cpu" = ia64
; then
10100 # On IA64, the linker does run time linking by default, so we don't
10101 # have to do anything special.
10102 aix_use_runtimelinking
=no
10103 exp_sym_flag
='-Bexport'
10106 # If we're using GNU nm, then we don't want the "-C" option.
10107 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10108 # Also, AIX nm treats weak defined symbols like other global
10109 # defined symbols, whereas GNU nm marks them as "W".
10110 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10111 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'
10113 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'
10115 aix_use_runtimelinking
=no
10117 # Test if we are trying to use run time linking or normal
10118 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10119 # need to do runtime linking.
10120 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10121 for ld_flag
in $LDFLAGS; do
10122 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10123 aix_use_runtimelinking
=yes
10130 exp_sym_flag
='-bexport'
10131 no_entry_flag
='-bnoentry'
10134 # When large executables or shared objects are built, AIX ld can
10135 # have problems creating the table of contents. If linking a library
10136 # or program results in "error TOC overflow" add -mminimal-toc to
10137 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10138 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10141 hardcode_direct
=yes
10142 hardcode_direct_absolute
=yes
10143 hardcode_libdir_separator
=':'
10144 link_all_deplibs
=yes
10145 file_list_spec
='${wl}-f,'
10147 if test "$GCC" = yes; then
10148 case $host_os in aix4.
[012]|aix4.
[012].
*)
10149 # We only want to do this on AIX 4.2 and lower, the check
10150 # below for broken collect2 doesn't work under 4.3+
10151 collect2name
=`${CC} -print-prog-name=collect2`
10152 if test -f "$collect2name" &&
10153 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10155 # We have reworked collect2
10158 # We have old collect2
10159 hardcode_direct
=unsupported
10160 # It fails to find uninstalled libraries when the uninstalled
10161 # path is not listed in the libpath. Setting hardcode_minus_L
10162 # to unsupported forces relinking
10163 hardcode_minus_L
=yes
10164 hardcode_libdir_flag_spec
='-L$libdir'
10165 hardcode_libdir_separator
=
10169 shared_flag
='-shared'
10170 if test "$aix_use_runtimelinking" = yes; then
10171 shared_flag
="$shared_flag "'${wl}-G'
10175 if test "$host_cpu" = ia64
; then
10176 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10177 # chokes on -Wl,-G. The following line is correct:
10180 if test "$aix_use_runtimelinking" = yes; then
10181 shared_flag
='${wl}-G'
10183 shared_flag
='${wl}-bM:SRE'
10188 export_dynamic_flag_spec
='${wl}-bexpall'
10189 # It seems that -bexpall does not export symbols beginning with
10190 # underscore (_), so it is better to generate a list of symbols to export.
10191 always_export_symbols
=yes
10192 if test "$aix_use_runtimelinking" = yes; then
10193 # Warning - without using the other runtime loading flags (-brtl),
10194 # -berok will link without error, but may produce a broken library.
10195 allow_undefined_flag
='-berok'
10196 # Determine the default libpath from the value encoded in an
10197 # empty executable.
10198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10209 if ac_fn_c_try_link
"$LINENO"; then :
10211 lt_aix_libpath_sed
='
10212 /Import File Strings/,/^$/ {
10218 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10219 # Check for a 64-bit object if we didn't find anything.
10220 if test -z "$aix_libpath"; then
10221 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10224 rm -f core conftest.err conftest.
$ac_objext \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10228 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10229 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"
10231 if test "$host_cpu" = ia64
; then
10232 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10233 allow_undefined_flag
="-z nodefs"
10234 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"
10236 # Determine the default libpath from the value encoded in an
10237 # empty executable.
10238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10249 if ac_fn_c_try_link
"$LINENO"; then :
10251 lt_aix_libpath_sed
='
10252 /Import File Strings/,/^$/ {
10258 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10259 # Check for a 64-bit object if we didn't find anything.
10260 if test -z "$aix_libpath"; then
10261 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10264 rm -f core conftest.err conftest.
$ac_objext \
10265 conftest
$ac_exeext conftest.
$ac_ext
10266 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10268 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10269 # Warning - without using the other run time loading flags,
10270 # -berok will link without error, but may produce a broken library.
10271 no_undefined_flag
=' ${wl}-bernotok'
10272 allow_undefined_flag
=' ${wl}-berok'
10273 if test "$with_gnu_ld" = yes; then
10274 # We only use this code for GNU lds that support --whole-archive.
10275 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10277 # Exported symbols can be pulled into shared objects from archives
10278 whole_archive_flag_spec
='$convenience'
10280 archive_cmds_need_lc
=yes
10281 # This is similar to how AIX traditionally builds its shared libraries.
10282 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'
10290 # see comment about AmigaOS4 .so support
10291 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10292 archive_expsym_cmds
=''
10295 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)'
10296 hardcode_libdir_flag_spec
='-L$libdir'
10297 hardcode_minus_L
=yes
10303 export_dynamic_flag_spec
=-rdynamic
10306 cygwin
* | mingw
* | pw32
* | cegcc
*)
10307 # When not using gcc, we currently assume that we are using
10308 # Microsoft Visual C++.
10309 # hardcode_libdir_flag_spec is actually meaningless, as there is
10310 # no search path for DLLs.
10311 hardcode_libdir_flag_spec
=' '
10312 allow_undefined_flag
=unsupported
10313 # Tell ltmain to make .lib files, not .a files.
10315 # Tell ltmain to make .dll files, not .so files.
10317 # FIXME: Setting linknames here is a bad hack.
10318 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10319 # The linker will automatically build a .lib file if we build a DLL.
10320 old_archive_from_new_cmds
='true'
10321 # FIXME: Should let the user specify the lib program.
10322 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10323 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10324 enable_shared_with_static_runtimes
=yes
10327 darwin
* | rhapsody
*)
10330 archive_cmds_need_lc
=no
10332 hardcode_automatic
=yes
10333 hardcode_shlibpath_var
=unsupported
10334 if test "$lt_cv_ld_force_load" = "yes"; then
10335 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\"`'
10337 whole_archive_flag_spec
=''
10339 link_all_deplibs
=yes
10340 allow_undefined_flag
="$_lt_dar_allow_undefined"
10341 case $cc_basename in
10342 ifort
*) _lt_dar_can_shared
=yes ;;
10343 *) _lt_dar_can_shared
=$GCC ;;
10345 if test "$_lt_dar_can_shared" = "yes"; then
10346 output_verbose_link_cmd
=func_echo_all
10347 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10348 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10349 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}"
10350 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}"
10359 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10360 hardcode_libdir_flag_spec
='-L$libdir'
10361 hardcode_shlibpath_var
=no
10368 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10369 # support. Future versions do this automatically, but an explicit c++rt0.o
10370 # does not break anything, and helps significantly (at the cost of a little
10373 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10374 hardcode_libdir_flag_spec
='-R$libdir'
10375 hardcode_direct
=yes
10376 hardcode_shlibpath_var
=no
10379 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10381 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10382 hardcode_direct
=yes
10383 hardcode_minus_L
=yes
10384 hardcode_shlibpath_var
=no
10387 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10388 freebsd
* | dragonfly
*)
10389 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10390 hardcode_libdir_flag_spec
='-R$libdir'
10391 hardcode_direct
=yes
10392 hardcode_shlibpath_var
=no
10396 if test "$GCC" = yes; then
10397 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'
10399 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'
10401 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10402 hardcode_libdir_separator
=:
10403 hardcode_direct
=yes
10405 # hardcode_minus_L: Not really in the search PATH,
10406 # but as the default location of the library.
10407 hardcode_minus_L
=yes
10408 export_dynamic_flag_spec
='${wl}-E'
10412 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10413 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10415 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10417 if test "$with_gnu_ld" = no
; then
10418 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10419 hardcode_libdir_flag_spec_ld
='+b $libdir'
10420 hardcode_libdir_separator
=:
10421 hardcode_direct
=yes
10422 hardcode_direct_absolute
=yes
10423 export_dynamic_flag_spec
='${wl}-E'
10424 # hardcode_minus_L: Not really in the search PATH,
10425 # but as the default location of the library.
10426 hardcode_minus_L
=yes
10431 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10434 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10437 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10440 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10449 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10453 # Older versions of the 11.00 compiler do not understand -b yet
10454 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10456 $as_echo_n "checking if $CC understands -b... " >&6; }
10457 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10458 $as_echo_n "(cached) " >&6
10460 lt_cv_prog_compiler__b
=no
10461 save_LDFLAGS
="$LDFLAGS"
10462 LDFLAGS
="$LDFLAGS -b"
10463 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10464 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10465 # The linker can only warn and ignore the option if not recognized
10466 # So say no if there are warnings
10467 if test -s conftest.err
; then
10468 # Append any errors to the config.log.
10469 cat conftest.err
1>&5
10470 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10471 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10472 if diff conftest.exp conftest.er2
>/dev
/null
; then
10473 lt_cv_prog_compiler__b
=yes
10476 lt_cv_prog_compiler__b
=yes
10480 LDFLAGS
="$save_LDFLAGS"
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10484 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10486 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10487 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10489 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10495 if test "$with_gnu_ld" = no
; then
10496 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10497 hardcode_libdir_separator
=:
10502 hardcode_shlibpath_var
=no
10505 hardcode_direct
=yes
10506 hardcode_direct_absolute
=yes
10507 export_dynamic_flag_spec
='${wl}-E'
10509 # hardcode_minus_L: Not really in the search PATH,
10510 # but as the default location of the library.
10511 hardcode_minus_L
=yes
10517 irix5
* | irix6
* | nonstopux
*)
10518 if test "$GCC" = yes; then
10519 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'
10520 # Try to use the -exported_symbol ld option, if it does not
10521 # work, assume that -exports_file does not work either and
10522 # implicitly export all symbols.
10523 save_LDFLAGS
="$LDFLAGS"
10524 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10529 if ac_fn_c_try_link
"$LINENO"; then :
10530 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'
10533 rm -f core conftest.err conftest.
$ac_objext \
10534 conftest
$ac_exeext conftest.
$ac_ext
10535 LDFLAGS
="$save_LDFLAGS"
10537 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'
10538 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'
10540 archive_cmds_need_lc
='no'
10541 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10542 hardcode_libdir_separator
=:
10544 link_all_deplibs
=yes
10548 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10549 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10551 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10553 hardcode_libdir_flag_spec
='-R$libdir'
10554 hardcode_direct
=yes
10555 hardcode_shlibpath_var
=no
10559 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10560 hardcode_direct
=yes
10561 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10562 hardcode_libdir_separator
=:
10563 hardcode_shlibpath_var
=no
10570 if test -f /usr
/libexec
/ld.so
; then
10571 hardcode_direct
=yes
10572 hardcode_shlibpath_var
=no
10573 hardcode_direct_absolute
=yes
10574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10575 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10576 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10577 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10578 export_dynamic_flag_spec
='${wl}-E'
10581 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10582 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10583 hardcode_libdir_flag_spec
='-R$libdir'
10586 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10587 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10597 hardcode_libdir_flag_spec
='-L$libdir'
10598 hardcode_minus_L
=yes
10599 allow_undefined_flag
=unsupported
10600 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'
10601 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10605 if test "$GCC" = yes; then
10606 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10607 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'
10609 allow_undefined_flag
=' -expect_unresolved \*'
10610 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'
10612 archive_cmds_need_lc
='no'
10613 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10614 hardcode_libdir_separator
=:
10617 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10618 if test "$GCC" = yes; then
10619 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10620 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'
10621 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10623 allow_undefined_flag
=' -expect_unresolved \*'
10624 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'
10625 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~
10626 $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'
10628 # Both c and cxx compiler support -rpath directly
10629 hardcode_libdir_flag_spec
='-rpath $libdir'
10631 archive_cmds_need_lc
='no'
10632 hardcode_libdir_separator
=:
10636 no_undefined_flag
=' -z defs'
10637 if test "$GCC" = yes; then
10639 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10641 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10643 case `$CC -V 2>&1` in
10646 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10647 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10648 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10652 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10654 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10658 hardcode_libdir_flag_spec
='-R$libdir'
10659 hardcode_shlibpath_var
=no
10661 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10663 # The compiler driver will combine and reorder linker options,
10664 # but understands `-z linker_flag'. GCC discards it without `$wl',
10665 # but is careful enough not to reorder.
10666 # Supported since Solaris 2.6 (maybe 2.5.1?)
10667 if test "$GCC" = yes; then
10668 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10670 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10674 link_all_deplibs
=yes
10678 if test "x$host_vendor" = xsequent
; then
10679 # Use $CC to link under sequent, because it throws in some extra .o
10680 # files that make .init and .fini sections work.
10681 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10683 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10685 hardcode_libdir_flag_spec
='-L$libdir'
10686 hardcode_direct
=yes
10687 hardcode_minus_L
=yes
10688 hardcode_shlibpath_var
=no
10692 case $host_vendor in
10694 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10695 hardcode_direct
=yes # is this really true???
10698 ## LD is ld it makes a PLAMLIB
10699 ## CC just makes a GrossModule.
10700 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10701 reload_cmds
='$CC -r -o $output$reload_objs'
10705 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10706 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10709 runpath_var
='LD_RUN_PATH'
10710 hardcode_shlibpath_var
=no
10714 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10715 hardcode_shlibpath_var
=no
10716 export_dynamic_flag_spec
='-Bexport'
10720 if test -d /usr
/nec
; then
10721 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10722 hardcode_shlibpath_var
=no
10723 runpath_var
=LD_RUN_PATH
10724 hardcode_runpath_var
=yes
10729 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10730 no_undefined_flag
='${wl}-z,text'
10731 archive_cmds_need_lc
=no
10732 hardcode_shlibpath_var
=no
10733 runpath_var
='LD_RUN_PATH'
10735 if test "$GCC" = yes; then
10736 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10737 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10739 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10740 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10744 sysv5
* | sco3.2v5
* | sco5v6
*)
10745 # Note: We can NOT use -z defs as we might desire, because we do not
10746 # link with -lc, and that would cause any symbols used from libc to
10747 # always be unresolved, which means just about no library would
10748 # ever link correctly. If we're not using GNU ld we use -z text
10749 # though, which does catch some bad symbols but isn't as heavy-handed
10751 no_undefined_flag
='${wl}-z,text'
10752 allow_undefined_flag
='${wl}-z,nodefs'
10753 archive_cmds_need_lc
=no
10754 hardcode_shlibpath_var
=no
10755 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10756 hardcode_libdir_separator
=':'
10757 link_all_deplibs
=yes
10758 export_dynamic_flag_spec
='${wl}-Bexport'
10759 runpath_var
='LD_RUN_PATH'
10761 if test "$GCC" = yes; then
10762 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10763 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10765 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10766 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10771 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10772 hardcode_libdir_flag_spec
='-L$libdir'
10773 hardcode_shlibpath_var
=no
10781 if test x
$host_vendor = xsni
; then
10783 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10784 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10791 $as_echo "$ld_shlibs" >&6; }
10792 test "$ld_shlibs" = no
&& can_build_shared
=no
10794 with_gnu_ld
=$with_gnu_ld
10811 # Do we need to explicitly link libc?
10813 case "x$archive_cmds_need_lc" in
10815 # Assume -lc should be added
10816 archive_cmds_need_lc
=yes
10818 if test "$enable_shared" = yes && test "$GCC" = yes; then
10819 case $archive_cmds in
10821 # FIXME: we may have to deal with multi-command sequences.
10824 # Test whether the compiler implicitly links with -lc since on some
10825 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10826 # to ld, don't add -lc before -lgcc.
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10828 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10829 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10830 $as_echo_n "(cached) " >&6
10833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10836 (eval $ac_compile) 2>&5
10838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10839 test $ac_status = 0; } 2>conftest.err
; then
10842 libobjs
=conftest.
$ac_objext
10844 wl
=$lt_prog_compiler_wl
10845 pic_flag
=$lt_prog_compiler_pic
10851 lt_save_allow_undefined_flag
=$allow_undefined_flag
10852 allow_undefined_flag
=
10853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10854 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10857 test $ac_status = 0; }
10859 lt_cv_archive_cmds_need_lc
=no
10861 lt_cv_archive_cmds_need_lc
=yes
10863 allow_undefined_flag
=$lt_save_allow_undefined_flag
10865 cat conftest.err
1>&5
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10871 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10872 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11036 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11038 if test "$GCC" = yes; then
11040 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11041 *) lt_awk_arg
="/^libraries:/" ;;
11044 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11045 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11047 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11048 case $lt_search_path_spec in
11050 # if the path contains ";" then we assume it to be the separator
11051 # otherwise default to the standard path separator (i.e. ":") - it is
11052 # assumed that no part of a normal pathname contains ";" but that should
11053 # okay in the real world where ";" in dirpaths is itself problematic.
11054 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11057 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11060 # Ok, now we have the path, separated by spaces, we can step through it
11061 # and add multilib dir if necessary.
11062 lt_tmp_lt_search_path_spec
=
11063 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11064 for lt_sys_path
in $lt_search_path_spec; do
11065 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11066 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11068 test -d "$lt_sys_path" && \
11069 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11072 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11073 BEGIN {RS=" "; FS="/|\n";} {
11076 for (lt_i = NF; lt_i > 0; lt_i--) {
11077 if ($lt_i != "" && $lt_i != ".") {
11078 if ($lt_i == "..") {
11081 if (lt_count == 0) {
11082 lt_foo="/" $lt_i lt_foo;
11089 if (lt_foo != "") { lt_freq[lt_foo]++; }
11090 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11092 # AWK program above erroneously prepends '/' to C:/dos/paths
11095 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11096 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11098 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11100 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11102 library_names_spec
=
11103 libname_spec
='lib$name'
11107 postuninstall_cmds
=
11111 shlibpath_overrides_runpath
=unknown
11113 dynamic_linker
="$host_os ld.so"
11114 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11115 need_lib_prefix
=unknown
11116 hardcode_into_libs
=no
11118 # when you set need_version to no, make sure it does not cause -set_version
11119 # flags to be left without arguments
11120 need_version
=unknown
11125 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11126 shlibpath_var
=LIBPATH
11128 # AIX 3 has no versioning support, so we append a major version to the name.
11129 soname_spec
='${libname}${release}${shared_ext}$major'
11136 hardcode_into_libs
=yes
11137 if test "$host_cpu" = ia64
; then
11138 # AIX 5 supports IA64
11139 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11140 shlibpath_var
=LD_LIBRARY_PATH
11142 # With GCC up to 2.95.x, collect2 would create an import file
11143 # for dependence libraries. The import file would start with
11144 # the line `#! .'. This would cause the generated library to
11145 # depend on `.', always an invalid library. This was fixed in
11146 # development snapshots of GCC prior to 3.0.
11148 aix4 | aix4.
[01] | aix4.
[01].
*)
11149 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11151 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11154 can_build_shared
=no
11158 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11159 # soname into executable. Probably we can add versioning support to
11160 # collect2, so additional links can be useful in future.
11161 if test "$aix_use_runtimelinking" = yes; then
11162 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11163 # instead of lib<name>.a to let people know that these are not
11164 # typical AIX shared libraries.
11165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11167 # We preserve .a as extension for shared libraries through AIX4.2
11168 # and later when we are not doing run time linking.
11169 library_names_spec
='${libname}${release}.a $libname.a'
11170 soname_spec
='${libname}${release}${shared_ext}$major'
11172 shlibpath_var
=LIBPATH
11179 # Since July 2007 AmigaOS4 officially supports .so libraries.
11180 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11184 library_names_spec
='$libname.ixlibrary $libname.a'
11185 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11186 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'
11192 library_names_spec
='${libname}${shared_ext}'
11193 dynamic_linker
="$host_os ld.so"
11194 shlibpath_var
=LIBRARY_PATH
11200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11201 soname_spec
='${libname}${release}${shared_ext}$major'
11202 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11203 shlibpath_var
=LD_LIBRARY_PATH
11204 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11205 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11206 # the default ld.so.conf also contains /usr/contrib/lib and
11207 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11208 # libtool to hard-code these into programs
11211 cygwin
* | mingw
* | pw32
* | cegcc
*)
11212 version_type
=windows
11217 case $GCC,$host_os in
11218 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11219 library_names_spec
='$libname.dll.a'
11220 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11221 postinstall_cmds
='base_file=`basename \${file}`~
11222 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11223 dldir=$destdir/`dirname \$dlpath`~
11224 test -d \$dldir || mkdir -p \$dldir~
11225 $install_prog $dir/$dlname \$dldir/$dlname~
11226 chmod a+x \$dldir/$dlname~
11227 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11228 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11230 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11231 dlpath=$dir/\$dldll~
11233 shlibpath_overrides_runpath
=yes
11237 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11238 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11240 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11243 # MinGW DLLs use traditional 'lib' prefix
11244 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11247 # pw32 DLLs use 'pw' prefix rather than 'lib'
11248 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11254 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11257 dynamic_linker
='Win32 ld.exe'
11258 # FIXME: first we should search . and the directory the executable is in
11262 darwin
* | rhapsody
*)
11263 dynamic_linker
="$host_os dyld"
11264 version_type
=darwin
11267 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11268 soname_spec
='${libname}${release}${major}$shared_ext'
11269 shlibpath_overrides_runpath
=yes
11270 shlibpath_var
=DYLD_LIBRARY_PATH
11271 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11273 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11274 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11282 soname_spec
='${libname}${release}${shared_ext}$major'
11283 shlibpath_var
=LD_LIBRARY_PATH
11290 freebsd
* | dragonfly
*)
11291 # DragonFly does not have aout. When/if they implement a new
11292 # versioning mechanism, adjust this.
11293 if test -x /usr
/bin
/objformat
; then
11294 objformat
=`/usr/bin/objformat`
11297 freebsd
[123]*) objformat
=aout
;;
11298 *) objformat
=elf
;;
11301 version_type
=freebsd-
$objformat
11302 case $version_type in
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11309 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11313 shlibpath_var
=LD_LIBRARY_PATH
11316 shlibpath_overrides_runpath
=yes
11318 freebsd3.
[01]* | freebsdelf3.
[01]*)
11319 shlibpath_overrides_runpath
=yes
11320 hardcode_into_libs
=yes
11322 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11323 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11324 shlibpath_overrides_runpath
=no
11325 hardcode_into_libs
=yes
11327 *) # from 4.6 on, and DragonFly
11328 shlibpath_overrides_runpath
=yes
11329 hardcode_into_libs
=yes
11338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11339 soname_spec
='${libname}${release}${shared_ext}$major'
11340 shlibpath_var
=LD_LIBRARY_PATH
11341 hardcode_into_libs
=yes
11348 dynamic_linker
="$host_os runtime_loader"
11349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11350 soname_spec
='${libname}${release}${shared_ext}$major'
11351 shlibpath_var
=LIBRARY_PATH
11352 shlibpath_overrides_runpath
=yes
11353 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11354 hardcode_into_libs
=yes
11357 hpux9
* | hpux10
* | hpux11
*)
11358 # Give a soname corresponding to the major version so that dld.sl refuses to
11359 # link against other versions.
11366 hardcode_into_libs
=yes
11367 dynamic_linker
="$host_os dld.so"
11368 shlibpath_var
=LD_LIBRARY_PATH
11369 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371 soname_spec
='${libname}${release}${shared_ext}$major'
11372 if test "X$HPUX_IA64_MODE" = X32
; then
11373 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11375 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11377 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11381 hardcode_into_libs
=yes
11382 dynamic_linker
="$host_os dld.sl"
11383 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11384 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11386 soname_spec
='${libname}${release}${shared_ext}$major'
11387 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11388 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11392 dynamic_linker
="$host_os dld.sl"
11393 shlibpath_var
=SHLIB_PATH
11394 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11396 soname_spec
='${libname}${release}${shared_ext}$major'
11399 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11400 postinstall_cmds
='chmod 555 $lib'
11401 # or fails outright, so override atomically:
11402 install_override_mode
=555
11409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11410 soname_spec
='${libname}${release}${shared_ext}$major'
11411 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11412 shlibpath_var
=LD_LIBRARY_PATH
11413 shlibpath_overrides_runpath
=no
11414 hardcode_into_libs
=yes
11417 irix5
* | irix6
* | nonstopux
*)
11419 nonstopux
*) version_type
=nonstopux
;;
11421 if test "$lt_cv_prog_gnu_ld" = yes; then
11429 soname_spec
='${libname}${release}${shared_ext}$major'
11430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11432 irix5
* | nonstopux
*)
11433 libsuff
= shlibsuff
=
11436 case $LD in # libtool.m4 will add one of these switches to LD
11437 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11438 libsuff
= shlibsuff
= libmagic
=32-bit;;
11439 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11440 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11441 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11442 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11443 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11447 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11448 shlibpath_overrides_runpath
=no
11449 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11450 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11451 hardcode_into_libs
=yes
11454 # No shared lib support for Linux oldld, aout, or coff.
11455 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11459 # This must be Linux ELF.
11460 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11465 soname_spec
='${libname}${release}${shared_ext}$major'
11466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11467 shlibpath_var
=LD_LIBRARY_PATH
11468 shlibpath_overrides_runpath
=no
11470 # Some binutils ld are patched to set DT_RUNPATH
11471 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11472 $as_echo_n "(cached) " >&6
11474 lt_cv_shlibpath_overrides_runpath
=no
11475 save_LDFLAGS
=$LDFLAGS
11476 save_libdir
=$libdir
11477 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11478 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11490 if ac_fn_c_try_link
"$LINENO"; then :
11491 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11492 lt_cv_shlibpath_overrides_runpath
=yes
11495 rm -f core conftest.err conftest.
$ac_objext \
11496 conftest
$ac_exeext conftest.
$ac_ext
11497 LDFLAGS
=$save_LDFLAGS
11498 libdir
=$save_libdir
11502 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11504 # This implies no fast_install, which is unacceptable.
11505 # Some rework will be needed to allow for fast_install
11506 # before this can be enabled.
11507 hardcode_into_libs
=yes
11509 # Append ld.so.conf contents to the search path
11510 if test -f /etc
/ld.so.conf
; then
11511 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' ' '`
11512 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11515 # We used to test for /lib/ld.so.1 and disable shared libraries on
11516 # powerpc, because MkLinux only supported shared libraries with the
11517 # GNU dynamic linker. Since this was broken with cross compilers,
11518 # most powerpc-linux boxes support dynamic linking these days and
11519 # people can always --disable-shared, the test was removed, and we
11520 # assume the GNU/Linux dynamic linker is in use.
11521 dynamic_linker
='GNU/Linux ld.so'
11528 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11530 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11531 dynamic_linker
='NetBSD (a.out) ld.so'
11533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11534 soname_spec
='${libname}${release}${shared_ext}$major'
11535 dynamic_linker
='NetBSD ld.elf_so'
11537 shlibpath_var
=LD_LIBRARY_PATH
11538 shlibpath_overrides_runpath
=yes
11539 hardcode_into_libs
=yes
11544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11545 shlibpath_var
=LD_LIBRARY_PATH
11546 shlibpath_overrides_runpath
=yes
11553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11554 soname_spec
='${libname}${release}${shared_ext}$major'
11555 shlibpath_var
=LD_LIBRARY_PATH
11556 shlibpath_overrides_runpath
=no
11557 hardcode_into_libs
=yes
11558 dynamic_linker
='ldqnx.so'
11563 sys_lib_dlsearch_path_spec
="/usr/lib"
11565 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11567 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11568 *) need_version
=no
;;
11570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11571 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11572 shlibpath_var
=LD_LIBRARY_PATH
11573 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11575 openbsd2.
[89] | openbsd2.
[89].
*)
11576 shlibpath_overrides_runpath
=no
11579 shlibpath_overrides_runpath
=yes
11583 shlibpath_overrides_runpath
=yes
11588 libname_spec
='$name'
11591 library_names_spec
='$libname${shared_ext} $libname.a'
11592 dynamic_linker
='OS/2 ld.exe'
11593 shlibpath_var
=LIBPATH
11596 osf3
* | osf4
* | osf5
*)
11600 soname_spec
='${libname}${release}${shared_ext}$major'
11601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11602 shlibpath_var
=LD_LIBRARY_PATH
11603 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11604 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11616 soname_spec
='${libname}${release}${shared_ext}$major'
11617 shlibpath_var
=LD_LIBRARY_PATH
11618 shlibpath_overrides_runpath
=yes
11619 hardcode_into_libs
=yes
11620 # ldd complains unless libraries are executable
11621 postinstall_cmds
='chmod +x $lib'
11626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11627 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11628 shlibpath_var
=LD_LIBRARY_PATH
11629 shlibpath_overrides_runpath
=yes
11630 if test "$with_gnu_ld" = yes; then
11638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639 soname_spec
='${libname}${release}${shared_ext}$major'
11640 shlibpath_var
=LD_LIBRARY_PATH
11641 case $host_vendor in
11643 shlibpath_overrides_runpath
=no
11645 runpath_var
=LD_RUN_PATH
11653 shlibpath_overrides_runpath
=no
11654 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11660 if test -d /usr
/nec
;then
11662 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11663 soname_spec
='$libname${shared_ext}.$major'
11664 shlibpath_var
=LD_LIBRARY_PATH
11668 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11669 version_type
=freebsd-elf
11672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11673 soname_spec
='${libname}${release}${shared_ext}$major'
11674 shlibpath_var
=LD_LIBRARY_PATH
11675 shlibpath_overrides_runpath
=yes
11676 hardcode_into_libs
=yes
11677 if test "$with_gnu_ld" = yes; then
11678 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11680 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11683 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11687 sys_lib_dlsearch_path_spec
='/usr/lib'
11691 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11696 shlibpath_var
=LD_LIBRARY_PATH
11697 shlibpath_overrides_runpath
=no
11698 hardcode_into_libs
=yes
11703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11704 soname_spec
='${libname}${release}${shared_ext}$major'
11705 shlibpath_var
=LD_LIBRARY_PATH
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11713 $as_echo "$dynamic_linker" >&6; }
11714 test "$dynamic_linker" = no
&& can_build_shared
=no
11716 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11717 if test "$GCC" = yes; then
11718 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11721 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11722 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11724 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11725 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11820 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11822 if test -n "$hardcode_libdir_flag_spec" ||
11823 test -n "$runpath_var" ||
11824 test "X$hardcode_automatic" = "Xyes" ; then
11826 # We can hardcode non-existent directories.
11827 if test "$hardcode_direct" != no
&&
11828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11829 # have to relink, otherwise we might link with an installed library
11830 # when we should be linking with a yet-to-be-installed one
11831 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11832 test "$hardcode_minus_L" != no
; then
11833 # Linking always hardcodes the temporary library directory.
11834 hardcode_action
=relink
11836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11837 hardcode_action
=immediate
11840 # We cannot hardcode anything, or else we can only hardcode existing
11842 hardcode_action
=unsupported
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11845 $as_echo "$hardcode_action" >&6; }
11847 if test "$hardcode_action" = relink ||
11848 test "$inherit_rpath" = yes; then
11849 # Fast installation is not supported
11850 enable_fast_install
=no
11851 elif test "$shlibpath_overrides_runpath" = yes ||
11852 test "$enable_shared" = no
; then
11853 # Fast installation is not necessary
11854 enable_fast_install
=needless
11862 if test "x$enable_dlopen" != xyes
; then
11863 enable_dlopen
=unknown
11864 enable_dlopen_self
=unknown
11865 enable_dlopen_self_static
=unknown
11872 lt_cv_dlopen
="load_add_on"
11874 lt_cv_dlopen_self
=yes
11877 mingw
* | pw32
* | cegcc
*)
11878 lt_cv_dlopen
="LoadLibrary"
11883 lt_cv_dlopen
="dlopen"
11888 # if libdl is installed we need to link against it
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11891 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11892 $as_echo_n "(cached) " >&6
11894 ac_check_lib_save_LIBS
=$LIBS
11896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11914 if ac_fn_c_try_link
"$LINENO"; then :
11915 ac_cv_lib_dl_dlopen
=yes
11917 ac_cv_lib_dl_dlopen
=no
11919 rm -f core conftest.err conftest.
$ac_objext \
11920 conftest
$ac_exeext conftest.
$ac_ext
11921 LIBS
=$ac_check_lib_save_LIBS
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11924 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11925 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11926 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11929 lt_cv_dlopen
="dyld"
11931 lt_cv_dlopen_self
=yes
11938 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11939 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11940 lt_cv_dlopen
="shl_load"
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11943 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11944 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11945 $as_echo_n "(cached) " >&6
11947 ac_check_lib_save_LIBS
=$LIBS
11949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11962 return shl_load ();
11967 if ac_fn_c_try_link
"$LINENO"; then :
11968 ac_cv_lib_dld_shl_load
=yes
11970 ac_cv_lib_dld_shl_load
=no
11972 rm -f core conftest.err conftest.
$ac_objext \
11973 conftest
$ac_exeext conftest.
$ac_ext
11974 LIBS
=$ac_check_lib_save_LIBS
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11977 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11978 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11979 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11981 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11982 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11983 lt_cv_dlopen
="dlopen"
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11986 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11987 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11988 $as_echo_n "(cached) " >&6
11990 ac_check_lib_save_LIBS
=$LIBS
11992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
12010 if ac_fn_c_try_link
"$LINENO"; then :
12011 ac_cv_lib_dl_dlopen
=yes
12013 ac_cv_lib_dl_dlopen
=no
12015 rm -f core conftest.err conftest.
$ac_objext \
12016 conftest
$ac_exeext conftest.
$ac_ext
12017 LIBS
=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12020 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12021 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12022 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12025 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12026 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12027 $as_echo_n "(cached) " >&6
12029 ac_check_lib_save_LIBS
=$LIBS
12030 LIBS
="-lsvld $LIBS"
12031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12049 if ac_fn_c_try_link
"$LINENO"; then :
12050 ac_cv_lib_svld_dlopen
=yes
12052 ac_cv_lib_svld_dlopen
=no
12054 rm -f core conftest.err conftest.
$ac_objext \
12055 conftest
$ac_exeext conftest.
$ac_ext
12056 LIBS
=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12059 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12060 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12061 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12064 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12065 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12066 $as_echo_n "(cached) " >&6
12068 ac_check_lib_save_LIBS
=$LIBS
12070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12083 return dld_link ();
12088 if ac_fn_c_try_link
"$LINENO"; then :
12089 ac_cv_lib_dld_dld_link
=yes
12091 ac_cv_lib_dld_dld_link
=no
12093 rm -f core conftest.err conftest.
$ac_objext \
12094 conftest
$ac_exeext conftest.
$ac_ext
12095 LIBS
=$ac_check_lib_save_LIBS
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12098 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12099 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12100 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12121 if test "x$lt_cv_dlopen" != xno
; then
12127 case $lt_cv_dlopen in
12129 save_CPPFLAGS
="$CPPFLAGS"
12130 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12132 save_LDFLAGS
="$LDFLAGS"
12133 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12136 LIBS
="$lt_cv_dlopen_libs $LIBS"
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12139 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12140 if test "${lt_cv_dlopen_self+set}" = set; then :
12141 $as_echo_n "(cached) " >&6
12143 if test "$cross_compiling" = yes; then :
12144 lt_cv_dlopen_self
=cross
12146 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12147 lt_status
=$lt_dlunknown
12148 cat > conftest.
$ac_ext <<_LT_EOF
12149 #line 12149 "configure"
12150 #include "confdefs.h"
12159 # define LT_DLGLOBAL RTLD_GLOBAL
12162 # define LT_DLGLOBAL DL_GLOBAL
12164 # define LT_DLGLOBAL 0
12168 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12169 find out it does not work in some platform. */
12170 #ifndef LT_DLLAZY_OR_NOW
12172 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12175 # define LT_DLLAZY_OR_NOW DL_LAZY
12178 # define LT_DLLAZY_OR_NOW RTLD_NOW
12181 # define LT_DLLAZY_OR_NOW DL_NOW
12183 # define LT_DLLAZY_OR_NOW 0
12190 /* When -fvisbility=hidden is used, assume the code has been annotated
12191 correspondingly for the symbols needed. */
12192 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12193 void fnord () __attribute__((visibility("default")));
12196 void fnord () { int i=42; }
12199 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12200 int status = $lt_dlunknown;
12204 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12207 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12208 else puts (dlerror ());
12210 /* dlclose (self); */
12218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12219 (eval $ac_link) 2>&5
12221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12222 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12223 (.
/conftest
; exit; ) >&5 2>/dev
/null
12225 case x
$lt_status in
12226 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12227 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12228 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12231 # compilation failed
12232 lt_cv_dlopen_self
=no
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12240 $as_echo "$lt_cv_dlopen_self" >&6; }
12242 if test "x$lt_cv_dlopen_self" = xyes
; then
12243 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12245 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12246 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12247 $as_echo_n "(cached) " >&6
12249 if test "$cross_compiling" = yes; then :
12250 lt_cv_dlopen_self_static
=cross
12252 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12253 lt_status
=$lt_dlunknown
12254 cat > conftest.
$ac_ext <<_LT_EOF
12255 #line 12255 "configure"
12256 #include "confdefs.h"
12265 # define LT_DLGLOBAL RTLD_GLOBAL
12268 # define LT_DLGLOBAL DL_GLOBAL
12270 # define LT_DLGLOBAL 0
12274 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12275 find out it does not work in some platform. */
12276 #ifndef LT_DLLAZY_OR_NOW
12278 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12281 # define LT_DLLAZY_OR_NOW DL_LAZY
12284 # define LT_DLLAZY_OR_NOW RTLD_NOW
12287 # define LT_DLLAZY_OR_NOW DL_NOW
12289 # define LT_DLLAZY_OR_NOW 0
12296 /* When -fvisbility=hidden is used, assume the code has been annotated
12297 correspondingly for the symbols needed. */
12298 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12299 void fnord () __attribute__((visibility("default")));
12302 void fnord () { int i=42; }
12305 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12306 int status = $lt_dlunknown;
12310 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12313 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12314 else puts (dlerror ());
12316 /* dlclose (self); */
12324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12325 (eval $ac_link) 2>&5
12327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12328 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12329 (.
/conftest
; exit; ) >&5 2>/dev
/null
12331 case x
$lt_status in
12332 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12333 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12334 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12337 # compilation failed
12338 lt_cv_dlopen_self_static
=no
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12346 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12349 CPPFLAGS
="$save_CPPFLAGS"
12350 LDFLAGS
="$save_LDFLAGS"
12355 case $lt_cv_dlopen_self in
12356 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12357 *) enable_dlopen_self
=unknown
;;
12360 case $lt_cv_dlopen_self_static in
12361 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12362 *) enable_dlopen_self_static
=unknown
;;
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12385 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12386 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12387 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12388 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12390 $as_echo "yes" >&6; }
12392 # FIXME - insert some real tests, host_os isn't really good enough
12395 if test -n "$STRIP" ; then
12396 striplib
="$STRIP -x"
12397 old_striplib
="$STRIP -S"
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12399 $as_echo "yes" >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12402 $as_echo "no" >&6; }
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12407 $as_echo "no" >&6; }
12423 # Report which library types will actually be built
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12425 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12427 $as_echo "$can_build_shared" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12430 $as_echo_n "checking whether to build shared libraries... " >&6; }
12431 test "$can_build_shared" = "no" && enable_shared
=no
12433 # On AIX, shared libraries and static libraries use the same namespace, and
12434 # are all built from PIC.
12437 test "$enable_shared" = yes && enable_static
=no
12438 if test -n "$RANLIB"; then
12439 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12440 postinstall_cmds
='$RANLIB $lib'
12445 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12446 test "$enable_shared" = yes && enable_static
=no
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12451 $as_echo "$enable_shared" >&6; }
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12454 $as_echo_n "checking whether to build static libraries... " >&6; }
12455 # Make sure either enable_shared or enable_static is yes.
12456 test "$enable_shared" = yes || enable_static
=yes
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12458 $as_echo "$enable_static" >&6; }
12465 ac_cpp
='$CPP $CPPFLAGS'
12466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12472 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12473 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12474 (test "X$CXX" != "Xg++"))) ; then
12476 ac_cpp
='$CXXCPP $CPPFLAGS'
12477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12481 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12482 if test -z "$CXXCPP"; then
12483 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12484 $as_echo_n "(cached) " >&6
12486 # Double quotes because CXXCPP needs to be expanded
12487 for CXXCPP
in "$CXX -E" "/lib/cpp"
12489 ac_preproc_ok
=false
12490 for ac_cxx_preproc_warn_flag
in '' yes
12492 # Use a header file that comes with gcc, so configuring glibc
12493 # with a fresh cross-compiler works.
12494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12495 # <limits.h> exists even on freestanding compilers.
12496 # On the NeXT, cc -E runs the code through the compiler's parser,
12497 # not just through cpp. "Syntax error" is here to catch this case.
12498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12501 # include <limits.h>
12503 # include <assert.h>
12507 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12510 # Broken: fails on valid input.
12513 rm -f conftest.err conftest.
$ac_ext
12515 # OK, works on sane cases. Now check whether nonexistent headers
12516 # can be detected and how.
12517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12519 #include <ac_nonexistent.h>
12521 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12522 # Broken: success on invalid input.
12525 # Passes both tests.
12529 rm -f conftest.err conftest.
$ac_ext
12532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12533 rm -f conftest.err conftest.
$ac_ext
12534 if $ac_preproc_ok; then :
12539 ac_cv_prog_CXXCPP
=$CXXCPP
12542 CXXCPP
=$ac_cv_prog_CXXCPP
12544 ac_cv_prog_CXXCPP
=$CXXCPP
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12547 $as_echo "$CXXCPP" >&6; }
12548 ac_preproc_ok
=false
12549 for ac_cxx_preproc_warn_flag
in '' yes
12551 # Use a header file that comes with gcc, so configuring glibc
12552 # with a fresh cross-compiler works.
12553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12554 # <limits.h> exists even on freestanding compilers.
12555 # On the NeXT, cc -E runs the code through the compiler's parser,
12556 # not just through cpp. "Syntax error" is here to catch this case.
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 # include <limits.h>
12562 # include <assert.h>
12566 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12569 # Broken: fails on valid input.
12572 rm -f conftest.err conftest.
$ac_ext
12574 # OK, works on sane cases. Now check whether nonexistent headers
12575 # can be detected and how.
12576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12578 #include <ac_nonexistent.h>
12580 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12581 # Broken: success on invalid input.
12584 # Passes both tests.
12588 rm -f conftest.err conftest.
$ac_ext
12591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12592 rm -f conftest.err conftest.
$ac_ext
12593 if $ac_preproc_ok; then :
12596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12598 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12599 See \`config.log' for more details." "$LINENO" 5; }
12603 ac_cpp
='$CPP $CPPFLAGS'
12604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12609 _lt_caught_CXX_error
=yes
12613 ac_cpp
='$CXXCPP $CPPFLAGS'
12614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12618 archive_cmds_need_lc_CXX
=no
12619 allow_undefined_flag_CXX
=
12620 always_export_symbols_CXX
=no
12621 archive_expsym_cmds_CXX
=
12622 compiler_needs_object_CXX
=no
12623 export_dynamic_flag_spec_CXX
=
12624 hardcode_direct_CXX
=no
12625 hardcode_direct_absolute_CXX
=no
12626 hardcode_libdir_flag_spec_CXX
=
12627 hardcode_libdir_flag_spec_ld_CXX
=
12628 hardcode_libdir_separator_CXX
=
12629 hardcode_minus_L_CXX
=no
12630 hardcode_shlibpath_var_CXX
=unsupported
12631 hardcode_automatic_CXX
=no
12632 inherit_rpath_CXX
=no
12634 module_expsym_cmds_CXX
=
12635 link_all_deplibs_CXX
=unknown
12636 old_archive_cmds_CXX
=$old_archive_cmds
12637 reload_flag_CXX
=$reload_flag
12638 reload_cmds_CXX
=$reload_cmds
12639 no_undefined_flag_CXX
=
12640 whole_archive_flag_spec_CXX
=
12641 enable_shared_with_static_runtimes_CXX
=no
12643 # Source file extension for C++ test sources.
12646 # Object file extension for compiled C++ test sources.
12650 # No sense in running all these tests if we already determined that
12651 # the CXX compiler isn't working. Some variables (like enable_shared)
12652 # are currently assumed to apply to all compilers on this platform,
12653 # and will be corrupted by setting them based on a non-working compiler.
12654 if test "$_lt_caught_CXX_error" != yes; then
12655 # Code to be used in simple compile tests
12656 lt_simple_compile_test_code
="int some_variable = 0;"
12658 # Code to be used in simple link tests
12659 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12661 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12668 # If no C compiler was specified, use CC.
12671 # If no C compiler flags were specified, use CFLAGS.
12672 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12674 # Allow CC to be a program name with arguments.
12678 # save warnings/boilerplate of simple test code
12679 ac_outfile
=conftest.
$ac_objext
12680 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12681 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12682 _lt_compiler_boilerplate
=`cat conftest.err`
12685 ac_outfile
=conftest.
$ac_objext
12686 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12687 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12688 _lt_linker_boilerplate
=`cat conftest.err`
12692 # Allow CC to be a program name with arguments.
12697 lt_save_with_gnu_ld
=$with_gnu_ld
12698 lt_save_path_LD
=$lt_cv_path_LD
12699 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12700 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12702 $as_unset lt_cv_prog_gnu_ld
12704 if test -n "${lt_cv_path_LDCXX+set}"; then
12705 lt_cv_path_LD
=$lt_cv_path_LDCXX
12707 $as_unset lt_cv_path_LD
12709 test -z "${LDCXX+set}" || LD
=$LDCXX
12713 for cc_temp
in $compiler""; do
12715 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12716 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12721 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12724 if test -n "$compiler"; then
12725 # We don't want -fno-exception when compiling C++ code, so set the
12726 # no_builtin_flag separately
12727 if test "$GXX" = yes; then
12728 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12730 lt_prog_compiler_no_builtin_flag_CXX
=
12733 if test "$GXX" = yes; then
12734 # Set up default GNU C++ configuration
12738 # Check whether --with-gnu-ld was given.
12739 if test "${with_gnu_ld+set}" = set; then :
12740 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12746 if test "$GCC" = yes; then
12747 # Check if gcc -print-prog-name=ld gives a path.
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12749 $as_echo_n "checking for ld used by $CC... " >&6; }
12752 # gcc leaves a trailing carriage return which upsets mingw
12753 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12755 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12758 # Accept absolute paths.
12760 re_direlt
='/[^/][^/]*/\.\./'
12761 # Canonicalize the pathname of ld
12762 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12763 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12764 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12766 test -z "$LD" && LD
="$ac_prog"
12769 # If it fails, then pretend we aren't using GCC.
12773 # If it is relative, then search for the first ld in PATH.
12774 with_gnu_ld
=unknown
12777 elif test "$with_gnu_ld" = yes; then
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12779 $as_echo_n "checking for GNU ld... " >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12782 $as_echo_n "checking for non-GNU ld... " >&6; }
12784 if test "${lt_cv_path_LD+set}" = set; then :
12785 $as_echo_n "(cached) " >&6
12787 if test -z "$LD"; then
12788 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12789 for ac_dir
in $PATH; do
12791 test -z "$ac_dir" && ac_dir
=.
12792 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12793 lt_cv_path_LD
="$ac_dir/$ac_prog"
12794 # Check to see if the program is GNU ld. I'd rather use --version,
12795 # but apparently some variants of GNU ld only accept -v.
12796 # Break only if it was the GNU/non-GNU ld that we prefer.
12797 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12798 *GNU
* |
*'with BFD'*)
12799 test "$with_gnu_ld" != no
&& break
12802 test "$with_gnu_ld" != yes && break
12809 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12813 LD
="$lt_cv_path_LD"
12814 if test -n "$LD"; then
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12816 $as_echo "$LD" >&6; }
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12819 $as_echo "no" >&6; }
12821 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12823 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12824 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12825 $as_echo_n "(cached) " >&6
12827 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12828 case `$LD -v 2>&1 </dev/null` in
12829 *GNU
* |
*'with BFD'*)
12830 lt_cv_prog_gnu_ld
=yes
12833 lt_cv_prog_gnu_ld
=no
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12838 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12839 with_gnu_ld
=$lt_cv_prog_gnu_ld
12847 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12848 # archiving commands below assume that GNU ld is being used.
12849 if test "$with_gnu_ld" = yes; then
12850 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12853 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12854 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12856 # If archive_cmds runs LD, not CC, wlarc should be empty
12857 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12858 # investigate it a little bit more. (MM)
12861 # ancient GNU ld didn't support --whole-archive et. al.
12862 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12863 $GREP 'no-whole-archive' > /dev
/null
; then
12864 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12866 whole_archive_flag_spec_CXX
=
12872 # A generic and very simple default shared library creation
12873 # command for GNU C++ for the case where it uses the native
12874 # linker, instead of GNU ld. If possible, this setting should
12875 # overridden to take advantage of the native linker features on
12876 # the platform it is being used on.
12877 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12880 # Commands to make compiler produce verbose output that lists
12881 # what "hidden" libraries, object files and flags are used when
12882 # linking a shared library.
12883 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12891 # PORTME: fill in a description of your system's C++ link characteristics
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12897 # FIXME: insert proper C++ library support
12901 if test "$host_cpu" = ia64
; then
12902 # On IA64, the linker does run time linking by default, so we don't
12903 # have to do anything special.
12904 aix_use_runtimelinking
=no
12905 exp_sym_flag
='-Bexport'
12908 aix_use_runtimelinking
=no
12910 # Test if we are trying to use run time linking or normal
12911 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12912 # need to do runtime linking.
12913 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12914 for ld_flag
in $LDFLAGS; do
12917 aix_use_runtimelinking
=yes
12925 exp_sym_flag
='-bexport'
12926 no_entry_flag
='-bnoentry'
12929 # When large executables or shared objects are built, AIX ld can
12930 # have problems creating the table of contents. If linking a library
12931 # or program results in "error TOC overflow" add -mminimal-toc to
12932 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12933 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12935 archive_cmds_CXX
=''
12936 hardcode_direct_CXX
=yes
12937 hardcode_direct_absolute_CXX
=yes
12938 hardcode_libdir_separator_CXX
=':'
12939 link_all_deplibs_CXX
=yes
12940 file_list_spec_CXX
='${wl}-f,'
12942 if test "$GXX" = yes; then
12943 case $host_os in aix4.
[012]|aix4.
[012].
*)
12944 # We only want to do this on AIX 4.2 and lower, the check
12945 # below for broken collect2 doesn't work under 4.3+
12946 collect2name
=`${CC} -print-prog-name=collect2`
12947 if test -f "$collect2name" &&
12948 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12950 # We have reworked collect2
12953 # We have old collect2
12954 hardcode_direct_CXX
=unsupported
12955 # It fails to find uninstalled libraries when the uninstalled
12956 # path is not listed in the libpath. Setting hardcode_minus_L
12957 # to unsupported forces relinking
12958 hardcode_minus_L_CXX
=yes
12959 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12960 hardcode_libdir_separator_CXX
=
12963 shared_flag
='-shared'
12964 if test "$aix_use_runtimelinking" = yes; then
12965 shared_flag
="$shared_flag "'${wl}-G'
12969 if test "$host_cpu" = ia64
; then
12970 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12971 # chokes on -Wl,-G. The following line is correct:
12974 if test "$aix_use_runtimelinking" = yes; then
12975 shared_flag
='${wl}-G'
12977 shared_flag
='${wl}-bM:SRE'
12982 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12983 # It seems that -bexpall does not export symbols beginning with
12984 # underscore (_), so it is better to generate a list of symbols to
12986 always_export_symbols_CXX
=yes
12987 if test "$aix_use_runtimelinking" = yes; then
12988 # Warning - without using the other runtime loading flags (-brtl),
12989 # -berok will link without error, but may produce a broken library.
12990 allow_undefined_flag_CXX
='-berok'
12991 # Determine the default libpath from the value encoded in an empty
12993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
13004 if ac_fn_cxx_try_link
"$LINENO"; then :
13006 lt_aix_libpath_sed
='
13007 /Import File Strings/,/^$/ {
13013 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13014 # Check for a 64-bit object if we didn't find anything.
13015 if test -z "$aix_libpath"; then
13016 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13019 rm -f core conftest.err conftest.
$ac_objext \
13020 conftest
$ac_exeext conftest.
$ac_ext
13021 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13023 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13025 archive_expsym_cmds_CXX
='$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"
13027 if test "$host_cpu" = ia64
; then
13028 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13029 allow_undefined_flag_CXX
="-z nodefs"
13030 archive_expsym_cmds_CXX
="\$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"
13032 # Determine the default libpath from the value encoded in an
13033 # empty executable.
13034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13045 if ac_fn_cxx_try_link
"$LINENO"; then :
13047 lt_aix_libpath_sed
='
13048 /Import File Strings/,/^$/ {
13054 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13055 # Check for a 64-bit object if we didn't find anything.
13056 if test -z "$aix_libpath"; then
13057 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13060 rm -f core conftest.err conftest.
$ac_objext \
13061 conftest
$ac_exeext conftest.
$ac_ext
13062 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13064 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13065 # Warning - without using the other run time loading flags,
13066 # -berok will link without error, but may produce a broken library.
13067 no_undefined_flag_CXX
=' ${wl}-bernotok'
13068 allow_undefined_flag_CXX
=' ${wl}-berok'
13069 if test "$with_gnu_ld" = yes; then
13070 # We only use this code for GNU lds that support --whole-archive.
13071 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13073 # Exported symbols can be pulled into shared objects from archives
13074 whole_archive_flag_spec_CXX
='$convenience'
13076 archive_cmds_need_lc_CXX
=yes
13077 # This is similar to how AIX traditionally builds its shared
13079 archive_expsym_cmds_CXX
="\$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'
13085 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13086 allow_undefined_flag_CXX
=unsupported
13087 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13088 # support --undefined. This deserves some investigation. FIXME
13089 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13096 case $cc_basename in
13098 # FIXME: insert proper C++ library support
13104 cygwin
* | mingw
* | pw32
* | cegcc
*)
13105 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13106 # as there is no search path for DLLs.
13107 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13108 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13109 allow_undefined_flag_CXX
=unsupported
13110 always_export_symbols_CXX
=no
13111 enable_shared_with_static_runtimes_CXX
=yes
13113 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13114 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13115 # If the export-symbols file already is a .def file (1st line
13116 # is EXPORTS), use it as is; otherwise, prepend...
13117 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13118 cp $export_symbols $output_objdir/$soname.def;
13120 echo EXPORTS > $output_objdir/$soname.def;
13121 cat $export_symbols >> $output_objdir/$soname.def;
13123 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13128 darwin
* | rhapsody
*)
13131 archive_cmds_need_lc_CXX
=no
13132 hardcode_direct_CXX
=no
13133 hardcode_automatic_CXX
=yes
13134 hardcode_shlibpath_var_CXX
=unsupported
13135 if test "$lt_cv_ld_force_load" = "yes"; then
13136 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13138 whole_archive_flag_spec_CXX
=''
13140 link_all_deplibs_CXX
=yes
13141 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13142 case $cc_basename in
13143 ifort
*) _lt_dar_can_shared
=yes ;;
13144 *) _lt_dar_can_shared
=$GCC ;;
13146 if test "$_lt_dar_can_shared" = "yes"; then
13147 output_verbose_link_cmd
=func_echo_all
13148 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13149 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13150 archive_expsym_cmds_CXX
="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}"
13151 module_expsym_cmds_CXX
="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}"
13152 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13153 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13154 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13164 case $cc_basename in
13166 # FIXME: insert proper C++ library support
13170 # Green Hills C++ Compiler
13171 # FIXME: insert proper C++ library support
13175 # FIXME: insert proper C++ library support
13182 # C++ shared libraries reported to be fairly broken before
13188 archive_cmds_need_lc_CXX
=no
13191 freebsd
* | dragonfly
*)
13192 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13201 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13202 link_all_deplibs_CXX
=yes
13206 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13207 hardcode_libdir_separator_CXX
=:
13208 export_dynamic_flag_spec_CXX
='${wl}-E'
13209 hardcode_direct_CXX
=yes
13210 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13211 # but as the default
13212 # location of the library.
13214 case $cc_basename in
13216 # FIXME: insert proper C++ library support
13220 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13221 # Commands to make compiler produce verbose output that lists
13222 # what "hidden" libraries, object files and flags are used when
13223 # linking a shared library.
13225 # There doesn't appear to be a way to prevent this compiler from
13226 # explicitly linking system object files so we need to strip them
13227 # from the output so that they don't get included in the library
13229 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13232 if test "$GXX" = yes; then
13233 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13235 # FIXME: insert proper C++ library support
13243 if test $with_gnu_ld = no
; then
13244 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13245 hardcode_libdir_separator_CXX
=:
13251 export_dynamic_flag_spec_CXX
='${wl}-E'
13257 hardcode_direct_CXX
=no
13258 hardcode_shlibpath_var_CXX
=no
13261 hardcode_direct_CXX
=yes
13262 hardcode_direct_absolute_CXX
=yes
13263 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13264 # but as the default
13265 # location of the library.
13269 case $cc_basename in
13271 # FIXME: insert proper C++ library support
13277 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13280 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13283 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13286 # Commands to make compiler produce verbose output that lists
13287 # what "hidden" libraries, object files and flags are used when
13288 # linking a shared library.
13290 # There doesn't appear to be a way to prevent this compiler from
13291 # explicitly linking system object files so we need to strip them
13292 # from the output so that they don't get included in the library
13294 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13297 if test "$GXX" = yes; then
13298 if test $with_gnu_ld = no
; then
13301 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13304 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13307 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13312 # FIXME: insert proper C++ library support
13320 hardcode_direct_CXX
=no
13321 hardcode_shlibpath_var_CXX
=no
13322 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13323 export_dynamic_flag_spec_CXX
='${wl}-E'
13324 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13325 # Instead, shared libraries are loaded at an image base (0x10000000 by
13326 # default) and relocated if they conflict, which is a slow very memory
13327 # consuming and fragmenting process. To avoid this, we pick a random,
13328 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13329 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13330 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13331 archive_expsym_cmds_CXX
='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'
13334 case $cc_basename in
13337 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13339 # Archives containing C++ object files must be created using
13340 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13341 # necessary to make sure instantiated templates are included
13343 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13346 if test "$GXX" = yes; then
13347 if test "$with_gnu_ld" = no
; then
13348 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13350 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13353 link_all_deplibs_CXX
=yes
13356 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13357 hardcode_libdir_separator_CXX
=:
13358 inherit_rpath_CXX
=yes
13361 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13362 case $cc_basename in
13364 # Kuck and Associates, Inc. (KAI) C++ Compiler
13366 # KCC will only create a shared library if the output file
13367 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13368 # to its proper name (with version) after linking.
13369 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13370 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13371 # Commands to make compiler produce verbose output that lists
13372 # what "hidden" libraries, object files and flags are used when
13373 # linking a shared library.
13375 # There doesn't appear to be a way to prevent this compiler from
13376 # explicitly linking system object files so we need to strip them
13377 # from the output so that they don't get included in the library
13379 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13381 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13382 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13384 # Archives containing C++ object files must be created using
13385 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13386 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13391 # version 8.0 and above of icpc choke on multiply defined symbols
13392 # if we add $predep_objects and $postdep_objects, however 7.1 and
13393 # earlier do not add the objects themselves.
13394 case `$CC -V 2>&1` in
13396 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13397 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13399 *) # Version 8.0 or newer
13402 ia64
*) tmp_idyn
=' -i_dynamic';;
13404 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13405 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13408 archive_cmds_need_lc_CXX
=no
13409 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13410 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13411 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13414 # Portland Group C++ compiler
13416 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13417 prelink_cmds_CXX
='tpldir=Template.dir~
13419 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13420 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13421 old_archive_cmds_CXX
='tpldir=Template.dir~
13423 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13424 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13426 archive_cmds_CXX
='tpldir=Template.dir~
13428 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13429 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13430 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13432 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13433 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13435 *) # Version 6 and above use weak symbols
13436 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13437 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13441 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13442 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13443 whole_archive_flag_spec_CXX
='${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'
13447 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13448 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13450 runpath_var
=LD_RUN_PATH
13451 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13452 hardcode_libdir_separator_CXX
=:
13454 # Commands to make compiler produce verbose output that lists
13455 # what "hidden" libraries, object files and flags are used when
13456 # linking a shared library.
13458 # There doesn't appear to be a way to prevent this compiler from
13459 # explicitly linking system object files so we need to strip them
13460 # from the output so that they don't get included in the library
13462 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13464 xl
* | mpixl
* | bgxl
*)
13465 # IBM XL 8.0 on PPC, with GNU ld
13466 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13467 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13468 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13469 if test "x$supports_anon_versioning" = xyes
; then
13470 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13471 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13472 echo "local: *; };" >> $output_objdir/$libname.ver~
13473 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13477 case `$CC -V 2>&1 | sed 5q` in
13480 no_undefined_flag_CXX
=' -zdefs'
13481 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13482 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13483 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13484 whole_archive_flag_spec_CXX
='${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'
13485 compiler_needs_object_CXX
=yes
13487 # Not sure whether something based on
13488 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13490 output_verbose_link_cmd
='func_echo_all'
13492 # Archives containing C++ object files must be created using
13493 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13494 # necessary to make sure instantiated templates are included
13496 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13504 # FIXME: insert proper C++ library support
13509 # FIXME: insert proper C++ library support
13514 case $cc_basename in
13516 # FIXME: insert proper C++ library support
13520 # FIXME: insert proper C++ library support
13527 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13528 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13530 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13531 hardcode_direct_CXX
=yes
13532 hardcode_shlibpath_var_CXX
=no
13534 # Workaround some broken pre-1.5 toolchains
13535 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13543 # C++ shared libraries are fairly broken
13548 if test -f /usr
/libexec
/ld.so
; then
13549 hardcode_direct_CXX
=yes
13550 hardcode_shlibpath_var_CXX
=no
13551 hardcode_direct_absolute_CXX
=yes
13552 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13553 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13554 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13555 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13556 export_dynamic_flag_spec_CXX
='${wl}-E'
13557 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13559 output_verbose_link_cmd
=func_echo_all
13565 osf3
* | osf4
* | osf5
*)
13566 case $cc_basename in
13568 # Kuck and Associates, Inc. (KAI) C++ Compiler
13570 # KCC will only create a shared library if the output file
13571 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13572 # to its proper name (with version) after linking.
13573 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13576 hardcode_libdir_separator_CXX
=:
13578 # Archives containing C++ object files must be created using
13579 # the KAI C++ compiler.
13581 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13582 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13586 # Rational C++ 2.4.1
13587 # FIXME: insert proper C++ library support
13593 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13594 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13595 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13598 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13599 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13600 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13601 echo "-hidden">> $lib.exp~
13602 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13604 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13608 hardcode_libdir_separator_CXX
=:
13610 # Commands to make compiler produce verbose output that lists
13611 # what "hidden" libraries, object files and flags are used when
13612 # linking a shared library.
13614 # There doesn't appear to be a way to prevent this compiler from
13615 # explicitly linking system object files so we need to strip them
13616 # from the output so that they don't get included in the library
13618 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13621 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13622 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13625 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13628 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13633 hardcode_libdir_separator_CXX
=:
13635 # Commands to make compiler produce verbose output that lists
13636 # what "hidden" libraries, object files and flags are used when
13637 # linking a shared library.
13638 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13641 # FIXME: insert proper C++ library support
13649 # FIXME: insert proper C++ library support
13654 case $cc_basename in
13657 # FIXME: insert proper C++ library support
13662 # FIXME: insert proper C++ library support
13666 # FIXME: insert proper C++ library support
13673 case $cc_basename in
13675 # Sun C++ 4.2, 5.x and Centerline C++
13676 archive_cmds_need_lc_CXX
=yes
13677 no_undefined_flag_CXX
=' -zdefs'
13678 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13679 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13680 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13682 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13683 hardcode_shlibpath_var_CXX
=no
13685 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13687 # The compiler driver will combine and reorder linker options,
13688 # but understands `-z linker_flag'.
13689 # Supported since Solaris 2.6 (maybe 2.5.1?)
13690 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13693 link_all_deplibs_CXX
=yes
13695 output_verbose_link_cmd
='func_echo_all'
13697 # Archives containing C++ object files must be created using
13698 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13699 # necessary to make sure instantiated templates are included
13701 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13704 # Green Hills C++ Compiler
13705 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13707 # The C++ compiler must be used to create the archive.
13708 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13711 # GNU C++ compiler with Solaris linker
13712 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13713 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13714 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13715 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13716 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13717 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13719 # Commands to make compiler produce verbose output that lists
13720 # what "hidden" libraries, object files and flags are used when
13721 # linking a shared library.
13722 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13724 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13726 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13727 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13728 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13730 # Commands to make compiler produce verbose output that lists
13731 # what "hidden" libraries, object files and flags are used when
13732 # linking a shared library.
13733 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13736 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13738 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13740 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13748 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13749 no_undefined_flag_CXX
='${wl}-z,text'
13750 archive_cmds_need_lc_CXX
=no
13751 hardcode_shlibpath_var_CXX
=no
13752 runpath_var
='LD_RUN_PATH'
13754 case $cc_basename in
13756 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13757 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13760 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13761 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13766 sysv5
* | sco3.2v5
* | sco5v6
*)
13767 # Note: We can NOT use -z defs as we might desire, because we do not
13768 # link with -lc, and that would cause any symbols used from libc to
13769 # always be unresolved, which means just about no library would
13770 # ever link correctly. If we're not using GNU ld we use -z text
13771 # though, which does catch some bad symbols but isn't as heavy-handed
13773 no_undefined_flag_CXX
='${wl}-z,text'
13774 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13775 archive_cmds_need_lc_CXX
=no
13776 hardcode_shlibpath_var_CXX
=no
13777 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13778 hardcode_libdir_separator_CXX
=':'
13779 link_all_deplibs_CXX
=yes
13780 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13781 runpath_var
='LD_RUN_PATH'
13783 case $cc_basename in
13785 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13786 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13787 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13788 '"$old_archive_cmds_CXX"
13789 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13790 '"$reload_cmds_CXX"
13793 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13794 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13800 case $cc_basename in
13802 # NonStop-UX NCC 3.20
13803 # FIXME: insert proper C++ library support
13807 # FIXME: insert proper C++ library support
13814 # FIXME: insert proper C++ library support
13819 # FIXME: insert proper C++ library support
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13825 $as_echo "$ld_shlibs_CXX" >&6; }
13826 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13832 ## There is no encapsulation within the following macros, do not change
13833 ## the running order or otherwise move them around unless you know exactly
13834 ## what you are doing...
13835 # Dependencies to place before and after the object being linked:
13836 predep_objects_CXX
=
13837 postdep_objects_CXX
=
13840 compiler_lib_search_path_CXX
=
13842 cat > conftest.
$ac_ext <<_LT_EOF
13846 Foo (void) { a = 0; }
13852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13853 (eval $ac_compile) 2>&5
13855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13856 test $ac_status = 0; }; then
13857 # Parse the compiler output and extract the necessary
13858 # objects, libraries and library flags.
13860 # Sentinel used to keep track of whether or not we are before
13861 # the conftest object file.
13862 pre_test_object_deps_done
=no
13864 for p
in `eval "$output_verbose_link_cmd"`; do
13868 # Some compilers place space between "-{L,R}" and the path.
13869 # Remove the space.
13870 if test $p = "-L" ||
13871 test $p = "-R"; then
13878 if test "$pre_test_object_deps_done" = no
; then
13881 # Internal compiler library paths should come after those
13882 # provided the user. The postdeps already come after the
13883 # user supplied libs so there is no need to process them.
13884 if test -z "$compiler_lib_search_path_CXX"; then
13885 compiler_lib_search_path_CXX
="${prev}${p}"
13887 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13890 # The "-l" case would never come before the object being
13891 # linked, so don't bother handling this case.
13894 if test -z "$postdeps_CXX"; then
13895 postdeps_CXX
="${prev}${p}"
13897 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13903 # This assumes that the test object file only shows up
13904 # once in the compiler output.
13905 if test "$p" = "conftest.$objext"; then
13906 pre_test_object_deps_done
=yes
13910 if test "$pre_test_object_deps_done" = no
; then
13911 if test -z "$predep_objects_CXX"; then
13912 predep_objects_CXX
="$p"
13914 predep_objects_CXX
="$predep_objects_CXX $p"
13917 if test -z "$postdep_objects_CXX"; then
13918 postdep_objects_CXX
="$p"
13920 postdep_objects_CXX
="$postdep_objects_CXX $p"
13925 *) ;; # Ignore the rest.
13933 echo "libtool.m4: error: problem compiling CXX test program"
13936 $RM -f confest.
$objext
13938 # PORTME: override above test on systems where it is broken
13941 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13942 # hack all around it, let's just trust "g++" to DTRT.
13943 predep_objects_CXX
=
13944 postdep_objects_CXX
=
13949 case `$CC -V 2>&1 | sed 5q` in
13953 # The more standards-conforming stlport4 library is
13954 # incompatible with the Cstd library. Avoid specifying
13955 # it if it's in CXXFLAGS. Ignore libCrun as
13956 # -library=stlport4 depends on it.
13957 case " $CXX $CXXFLAGS " in
13958 *" -library=stlport4 "*)
13959 solaris_use_stlport4
=yes
13963 if test "$solaris_use_stlport4" != yes; then
13964 postdeps_CXX
='-library=Cstd -library=Crun'
13971 case $cc_basename in
13973 # The more standards-conforming stlport4 library is
13974 # incompatible with the Cstd library. Avoid specifying
13975 # it if it's in CXXFLAGS. Ignore libCrun as
13976 # -library=stlport4 depends on it.
13977 case " $CXX $CXXFLAGS " in
13978 *" -library=stlport4 "*)
13979 solaris_use_stlport4
=yes
13983 # Adding this requires a known-good setup of shared libraries for
13984 # Sun compiler versions before 5.6, else PIC objects from an old
13985 # archive will be linked into the output, leading to subtle bugs.
13986 if test "$solaris_use_stlport4" != yes; then
13987 postdeps_CXX
='-library=Cstd -library=Crun'
13995 case " $postdeps_CXX " in
13996 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13998 compiler_lib_search_dirs_CXX
=
13999 if test -n "${compiler_lib_search_path_CXX}"; then
14000 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14033 lt_prog_compiler_wl_CXX
=
14034 lt_prog_compiler_pic_CXX
=
14035 lt_prog_compiler_static_CXX
=
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14038 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14040 # C++ specific cases for pic, static, wl, etc.
14041 if test "$GXX" = yes; then
14042 lt_prog_compiler_wl_CXX
='-Wl,'
14043 lt_prog_compiler_static_CXX
='-static'
14047 # All AIX code is PIC.
14048 if test "$host_cpu" = ia64
; then
14049 # AIX 5 now supports IA64 processor
14050 lt_prog_compiler_static_CXX
='-Bstatic'
14057 # see comment about AmigaOS4 .so support
14058 lt_prog_compiler_pic_CXX
='-fPIC'
14061 # FIXME: we need at least 68020 code to build shared libraries, but
14062 # adding the `-m68020' flag to GCC prevents building anything better,
14064 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14069 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14070 # PIC is the default for these OSes.
14072 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14073 # This hack is so that the source file can tell whether it is being
14074 # built for inclusion in a dll (and should export symbols for example).
14075 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14076 # (--disable-auto-import) libraries
14077 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14079 darwin
* | rhapsody
*)
14080 # PIC is the default on this platform
14081 # Common symbols not allowed in MH_DYLIB files
14082 lt_prog_compiler_pic_CXX
='-fno-common'
14085 # DJGPP does not support shared libraries at all
14086 lt_prog_compiler_pic_CXX
=
14089 # PIC is the default for Haiku.
14090 # The "-static" flag exists, but is broken.
14091 lt_prog_compiler_static_CXX
=
14094 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14095 # Instead, we relocate shared libraries at runtime.
14098 if test -d /usr
/nec
; then
14099 lt_prog_compiler_pic_CXX
=-Kconform_pic
14103 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14104 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14105 # sets the default TLS model and affects inlining.
14110 lt_prog_compiler_pic_CXX
='-fPIC'
14115 # QNX uses GNU C++, but need to define -shared option too, otherwise
14116 # it will coredump.
14117 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14120 lt_prog_compiler_pic_CXX
='-fPIC'
14126 # All AIX code is PIC.
14127 if test "$host_cpu" = ia64
; then
14128 # AIX 5 now supports IA64 processor
14129 lt_prog_compiler_static_CXX
='-Bstatic'
14131 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14135 case $cc_basename in
14137 # Green Hills C++ Compiler
14138 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14143 case $cc_basename in
14145 lt_prog_compiler_pic_CXX
='-KPIC'
14148 # Green Hills C++ Compiler
14149 lt_prog_compiler_pic_CXX
='-pic'
14155 freebsd
* | dragonfly
*)
14156 # FreeBSD uses GNU C++
14158 hpux9
* | hpux10
* | hpux11
*)
14159 case $cc_basename in
14161 lt_prog_compiler_wl_CXX
='-Wl,'
14162 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14163 if test "$host_cpu" != ia64
; then
14164 lt_prog_compiler_pic_CXX
='+Z'
14168 lt_prog_compiler_wl_CXX
='-Wl,'
14169 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14175 lt_prog_compiler_pic_CXX
='+Z'
14184 # This is c89, which is MS Visual C++ (no shared libs)
14185 # Anyone wants to do a port?
14187 irix5
* | irix6
* | nonstopux
*)
14188 case $cc_basename in
14190 lt_prog_compiler_wl_CXX
='-Wl,'
14191 lt_prog_compiler_static_CXX
='-non_shared'
14192 # CC pic flag -KPIC is the default.
14198 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14199 case $cc_basename in
14202 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14203 lt_prog_compiler_pic_CXX
='-fPIC'
14206 # old Intel C++ for x86_64 which still supported -KPIC.
14207 lt_prog_compiler_wl_CXX
='-Wl,'
14208 lt_prog_compiler_pic_CXX
='-KPIC'
14209 lt_prog_compiler_static_CXX
='-static'
14212 # Intel C++, used to be incompatible with GCC.
14213 # ICC 10 doesn't accept -KPIC any more.
14214 lt_prog_compiler_wl_CXX
='-Wl,'
14215 lt_prog_compiler_pic_CXX
='-fPIC'
14216 lt_prog_compiler_static_CXX
='-static'
14219 # Portland Group C++ compiler
14220 lt_prog_compiler_wl_CXX
='-Wl,'
14221 lt_prog_compiler_pic_CXX
='-fpic'
14222 lt_prog_compiler_static_CXX
='-Bstatic'
14226 # Make sure the PIC flag is empty. It appears that all Alpha
14227 # Linux and Compaq Tru64 Unix objects are PIC.
14228 lt_prog_compiler_pic_CXX
=
14229 lt_prog_compiler_static_CXX
='-non_shared'
14231 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14232 # IBM XL 8.0, 9.0 on PPC and BlueGene
14233 lt_prog_compiler_wl_CXX
='-Wl,'
14234 lt_prog_compiler_pic_CXX
='-qpic'
14235 lt_prog_compiler_static_CXX
='-qstaticlink'
14238 case `$CC -V 2>&1 | sed 5q` in
14241 lt_prog_compiler_pic_CXX
='-KPIC'
14242 lt_prog_compiler_static_CXX
='-Bstatic'
14243 lt_prog_compiler_wl_CXX
='-Qoption ld '
14254 case $cc_basename in
14256 lt_prog_compiler_pic_CXX
='-W c,exportall'
14265 # QNX uses GNU C++, but need to define -shared option too, otherwise
14266 # it will coredump.
14267 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14269 osf3
* | osf4
* | osf5
*)
14270 case $cc_basename in
14272 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14275 # Rational C++ 2.4.1
14276 lt_prog_compiler_pic_CXX
='-pic'
14279 # Digital/Compaq C++
14280 lt_prog_compiler_wl_CXX
='-Wl,'
14281 # Make sure the PIC flag is empty. It appears that all Alpha
14282 # Linux and Compaq Tru64 Unix objects are PIC.
14283 lt_prog_compiler_pic_CXX
=
14284 lt_prog_compiler_static_CXX
='-non_shared'
14293 case $cc_basename in
14295 # Sun C++ 4.2, 5.x and Centerline C++
14296 lt_prog_compiler_pic_CXX
='-KPIC'
14297 lt_prog_compiler_static_CXX
='-Bstatic'
14298 lt_prog_compiler_wl_CXX
='-Qoption ld '
14301 # Green Hills C++ Compiler
14302 lt_prog_compiler_pic_CXX
='-PIC'
14309 case $cc_basename in
14312 lt_prog_compiler_pic_CXX
='-pic'
14313 lt_prog_compiler_static_CXX
='-Bstatic'
14317 lt_prog_compiler_pic_CXX
='-pic'
14323 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14324 case $cc_basename in
14326 lt_prog_compiler_wl_CXX
='-Wl,'
14327 lt_prog_compiler_pic_CXX
='-KPIC'
14328 lt_prog_compiler_static_CXX
='-Bstatic'
14333 case $cc_basename in
14335 # NonStop-UX NCC 3.20
14336 lt_prog_compiler_pic_CXX
='-KPIC'
14345 lt_prog_compiler_can_build_shared_CXX
=no
14351 # For platforms which do not support PIC, -DPIC is meaningless:
14353 lt_prog_compiler_pic_CXX
=
14356 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14360 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14365 # Check to make sure the PIC flag actually works.
14367 if test -n "$lt_prog_compiler_pic_CXX"; then
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14369 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14370 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14371 $as_echo_n "(cached) " >&6
14373 lt_cv_prog_compiler_pic_works_CXX
=no
14374 ac_outfile
=conftest.
$ac_objext
14375 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14376 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14377 # Insert the option either (1) after the last *FLAGS variable, or
14378 # (2) before a word containing "conftest.", or (3) at the end.
14379 # Note that $ac_compile itself does not contain backslashes and begins
14380 # with a dollar sign (not a hyphen), so the echo should work correctly.
14381 # The option is referenced via a variable to avoid confusing sed.
14382 lt_compile
=`echo "$ac_compile" | $SED \
14383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14385 -e 's:$: $lt_compiler_flag:'`
14386 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14387 (eval "$lt_compile" 2>conftest.err
)
14389 cat conftest.err
>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 if (exit $ac_status) && test -s "$ac_outfile"; then
14392 # The compiler can only warn and ignore the option if not recognized
14393 # So say no if there are warnings other than the usual output.
14394 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14395 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14396 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14397 lt_cv_prog_compiler_pic_works_CXX
=yes
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14404 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14406 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14407 case $lt_prog_compiler_pic_CXX in
14409 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14412 lt_prog_compiler_pic_CXX
=
14413 lt_prog_compiler_can_build_shared_CXX
=no
14421 # Check to make sure the static flag actually works.
14423 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14425 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14426 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14427 $as_echo_n "(cached) " >&6
14429 lt_cv_prog_compiler_static_works_CXX
=no
14430 save_LDFLAGS
="$LDFLAGS"
14431 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14432 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14433 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14434 # The linker can only warn and ignore the option if not recognized
14435 # So say no if there are warnings
14436 if test -s conftest.err
; then
14437 # Append any errors to the config.log.
14438 cat conftest.err
1>&5
14439 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14440 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14441 if diff conftest.exp conftest.er2
>/dev
/null
; then
14442 lt_cv_prog_compiler_static_works_CXX
=yes
14445 lt_cv_prog_compiler_static_works_CXX
=yes
14449 LDFLAGS
="$save_LDFLAGS"
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14453 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14455 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14458 lt_prog_compiler_static_CXX
=
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14465 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14466 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14467 $as_echo_n "(cached) " >&6
14469 lt_cv_prog_compiler_c_o_CXX
=no
14470 $RM -r conftest
2>/dev
/null
14474 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14476 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14477 # Insert the option either (1) after the last *FLAGS variable, or
14478 # (2) before a word containing "conftest.", or (3) at the end.
14479 # Note that $ac_compile itself does not contain backslashes and begins
14480 # with a dollar sign (not a hyphen), so the echo should work correctly.
14481 lt_compile
=`echo "$ac_compile" | $SED \
14482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14484 -e 's:$: $lt_compiler_flag:'`
14485 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14486 (eval "$lt_compile" 2>out
/conftest.err
)
14488 cat out
/conftest.err
>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14492 # The compiler can only warn and ignore the option if not recognized
14493 # So say no if there are warnings
14494 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14495 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14496 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14497 lt_cv_prog_compiler_c_o_CXX
=yes
14502 # SGI C++ compiler will create directory out/ii_files/ for
14503 # template instantiation
14504 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14505 $RM out
/* && rmdir out
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14512 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14518 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14519 $as_echo_n "(cached) " >&6
14521 lt_cv_prog_compiler_c_o_CXX
=no
14522 $RM -r conftest
2>/dev
/null
14526 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14528 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14529 # Insert the option either (1) after the last *FLAGS variable, or
14530 # (2) before a word containing "conftest.", or (3) at the end.
14531 # Note that $ac_compile itself does not contain backslashes and begins
14532 # with a dollar sign (not a hyphen), so the echo should work correctly.
14533 lt_compile
=`echo "$ac_compile" | $SED \
14534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14536 -e 's:$: $lt_compiler_flag:'`
14537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14538 (eval "$lt_compile" 2>out
/conftest.err
)
14540 cat out
/conftest.err
>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14544 # The compiler can only warn and ignore the option if not recognized
14545 # So say no if there are warnings
14546 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14547 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14548 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14549 lt_cv_prog_compiler_c_o_CXX
=yes
14554 # SGI C++ compiler will create directory out/ii_files/ for
14555 # template instantiation
14556 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14557 $RM out
/* && rmdir out
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14564 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14569 hard_links
="nottested"
14570 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14571 # do not overwrite the value of need_locks provided by the user
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14573 $as_echo_n "checking if we can lock with hard links... " >&6; }
14576 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14578 ln conftest.a conftest.b
2>&5 || hard_links
=no
14579 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14581 $as_echo "$hard_links" >&6; }
14582 if test "$hard_links" = no
; then
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14584 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14594 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14596 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14599 # If we're using GNU nm, then we don't want the "-C" option.
14600 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14601 # Also, AIX nm treats weak defined symbols like other global defined
14602 # symbols, whereas GNU nm marks them as "W".
14603 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14604 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14606 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14610 export_symbols_cmds_CXX
="$ltdll_cmds"
14612 cygwin
* | mingw
* | cegcc
*)
14613 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14616 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14619 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14622 $as_echo "$ld_shlibs_CXX" >&6; }
14623 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14625 with_gnu_ld_CXX
=$with_gnu_ld
14633 # Do we need to explicitly link libc?
14635 case "x$archive_cmds_need_lc_CXX" in
14637 # Assume -lc should be added
14638 archive_cmds_need_lc_CXX
=yes
14640 if test "$enable_shared" = yes && test "$GCC" = yes; then
14641 case $archive_cmds_CXX in
14643 # FIXME: we may have to deal with multi-command sequences.
14646 # Test whether the compiler implicitly links with -lc since on some
14647 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14648 # to ld, don't add -lc before -lgcc.
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14650 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14651 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14652 $as_echo_n "(cached) " >&6
14655 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14658 (eval $ac_compile) 2>&5
14660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14661 test $ac_status = 0; } 2>conftest.err
; then
14664 libobjs
=conftest.
$ac_objext
14666 wl
=$lt_prog_compiler_wl_CXX
14667 pic_flag
=$lt_prog_compiler_pic_CXX
14673 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14674 allow_undefined_flag_CXX
=
14675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14676 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 test $ac_status = 0; }
14681 lt_cv_archive_cmds_need_lc_CXX
=no
14683 lt_cv_archive_cmds_need_lc_CXX
=yes
14685 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14687 cat conftest.err
1>&5
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14693 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14694 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14765 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14767 library_names_spec
=
14768 libname_spec
='lib$name'
14772 postuninstall_cmds
=
14776 shlibpath_overrides_runpath
=unknown
14778 dynamic_linker
="$host_os ld.so"
14779 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14780 need_lib_prefix
=unknown
14781 hardcode_into_libs
=no
14783 # when you set need_version to no, make sure it does not cause -set_version
14784 # flags to be left without arguments
14785 need_version
=unknown
14790 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14791 shlibpath_var
=LIBPATH
14793 # AIX 3 has no versioning support, so we append a major version to the name.
14794 soname_spec
='${libname}${release}${shared_ext}$major'
14801 hardcode_into_libs
=yes
14802 if test "$host_cpu" = ia64
; then
14803 # AIX 5 supports IA64
14804 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14805 shlibpath_var
=LD_LIBRARY_PATH
14807 # With GCC up to 2.95.x, collect2 would create an import file
14808 # for dependence libraries. The import file would start with
14809 # the line `#! .'. This would cause the generated library to
14810 # depend on `.', always an invalid library. This was fixed in
14811 # development snapshots of GCC prior to 3.0.
14813 aix4 | aix4.
[01] | aix4.
[01].
*)
14814 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14816 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14819 can_build_shared
=no
14823 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14824 # soname into executable. Probably we can add versioning support to
14825 # collect2, so additional links can be useful in future.
14826 if test "$aix_use_runtimelinking" = yes; then
14827 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14828 # instead of lib<name>.a to let people know that these are not
14829 # typical AIX shared libraries.
14830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14832 # We preserve .a as extension for shared libraries through AIX4.2
14833 # and later when we are not doing run time linking.
14834 library_names_spec
='${libname}${release}.a $libname.a'
14835 soname_spec
='${libname}${release}${shared_ext}$major'
14837 shlibpath_var
=LIBPATH
14844 # Since July 2007 AmigaOS4 officially supports .so libraries.
14845 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14849 library_names_spec
='$libname.ixlibrary $libname.a'
14850 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14851 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'
14857 library_names_spec
='${libname}${shared_ext}'
14858 dynamic_linker
="$host_os ld.so"
14859 shlibpath_var
=LIBRARY_PATH
14865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14866 soname_spec
='${libname}${release}${shared_ext}$major'
14867 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14868 shlibpath_var
=LD_LIBRARY_PATH
14869 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14870 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14871 # the default ld.so.conf also contains /usr/contrib/lib and
14872 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14873 # libtool to hard-code these into programs
14876 cygwin
* | mingw
* | pw32
* | cegcc
*)
14877 version_type
=windows
14882 case $GCC,$host_os in
14883 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14884 library_names_spec
='$libname.dll.a'
14885 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14886 postinstall_cmds
='base_file=`basename \${file}`~
14887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14888 dldir=$destdir/`dirname \$dlpath`~
14889 test -d \$dldir || mkdir -p \$dldir~
14890 $install_prog $dir/$dlname \$dldir/$dlname~
14891 chmod a+x \$dldir/$dlname~
14892 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14893 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14895 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14896 dlpath=$dir/\$dldll~
14898 shlibpath_overrides_runpath
=yes
14902 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14903 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14907 # MinGW DLLs use traditional 'lib' prefix
14908 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14911 # pw32 DLLs use 'pw' prefix rather than 'lib'
14912 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14918 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14921 dynamic_linker
='Win32 ld.exe'
14922 # FIXME: first we should search . and the directory the executable is in
14926 darwin
* | rhapsody
*)
14927 dynamic_linker
="$host_os dyld"
14928 version_type
=darwin
14931 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14932 soname_spec
='${libname}${release}${major}$shared_ext'
14933 shlibpath_overrides_runpath
=yes
14934 shlibpath_var
=DYLD_LIBRARY_PATH
14935 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14937 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14945 soname_spec
='${libname}${release}${shared_ext}$major'
14946 shlibpath_var
=LD_LIBRARY_PATH
14953 freebsd
* | dragonfly
*)
14954 # DragonFly does not have aout. When/if they implement a new
14955 # versioning mechanism, adjust this.
14956 if test -x /usr
/bin
/objformat
; then
14957 objformat
=`/usr/bin/objformat`
14960 freebsd
[123]*) objformat
=aout
;;
14961 *) objformat
=elf
;;
14964 version_type
=freebsd-
$objformat
14965 case $version_type in
14967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14972 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14976 shlibpath_var
=LD_LIBRARY_PATH
14979 shlibpath_overrides_runpath
=yes
14981 freebsd3.
[01]* | freebsdelf3.
[01]*)
14982 shlibpath_overrides_runpath
=yes
14983 hardcode_into_libs
=yes
14985 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14986 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14987 shlibpath_overrides_runpath
=no
14988 hardcode_into_libs
=yes
14990 *) # from 4.6 on, and DragonFly
14991 shlibpath_overrides_runpath
=yes
14992 hardcode_into_libs
=yes
15001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15002 soname_spec
='${libname}${release}${shared_ext}$major'
15003 shlibpath_var
=LD_LIBRARY_PATH
15004 hardcode_into_libs
=yes
15011 dynamic_linker
="$host_os runtime_loader"
15012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15013 soname_spec
='${libname}${release}${shared_ext}$major'
15014 shlibpath_var
=LIBRARY_PATH
15015 shlibpath_overrides_runpath
=yes
15016 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15017 hardcode_into_libs
=yes
15020 hpux9
* | hpux10
* | hpux11
*)
15021 # Give a soname corresponding to the major version so that dld.sl refuses to
15022 # link against other versions.
15029 hardcode_into_libs
=yes
15030 dynamic_linker
="$host_os dld.so"
15031 shlibpath_var
=LD_LIBRARY_PATH
15032 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15034 soname_spec
='${libname}${release}${shared_ext}$major'
15035 if test "X$HPUX_IA64_MODE" = X32
; then
15036 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15038 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15040 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15044 hardcode_into_libs
=yes
15045 dynamic_linker
="$host_os dld.sl"
15046 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15047 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15049 soname_spec
='${libname}${release}${shared_ext}$major'
15050 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15051 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15055 dynamic_linker
="$host_os dld.sl"
15056 shlibpath_var
=SHLIB_PATH
15057 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15059 soname_spec
='${libname}${release}${shared_ext}$major'
15062 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15063 postinstall_cmds
='chmod 555 $lib'
15064 # or fails outright, so override atomically:
15065 install_override_mode
=555
15072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15073 soname_spec
='${libname}${release}${shared_ext}$major'
15074 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15075 shlibpath_var
=LD_LIBRARY_PATH
15076 shlibpath_overrides_runpath
=no
15077 hardcode_into_libs
=yes
15080 irix5
* | irix6
* | nonstopux
*)
15082 nonstopux
*) version_type
=nonstopux
;;
15084 if test "$lt_cv_prog_gnu_ld" = yes; then
15092 soname_spec
='${libname}${release}${shared_ext}$major'
15093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15095 irix5
* | nonstopux
*)
15096 libsuff
= shlibsuff
=
15099 case $LD in # libtool.m4 will add one of these switches to LD
15100 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15101 libsuff
= shlibsuff
= libmagic
=32-bit;;
15102 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15103 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15104 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15105 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15106 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15110 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15111 shlibpath_overrides_runpath
=no
15112 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15113 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15114 hardcode_into_libs
=yes
15117 # No shared lib support for Linux oldld, aout, or coff.
15118 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15122 # This must be Linux ELF.
15123 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15128 soname_spec
='${libname}${release}${shared_ext}$major'
15129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15130 shlibpath_var
=LD_LIBRARY_PATH
15131 shlibpath_overrides_runpath
=no
15133 # Some binutils ld are patched to set DT_RUNPATH
15134 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15135 $as_echo_n "(cached) " >&6
15137 lt_cv_shlibpath_overrides_runpath
=no
15138 save_LDFLAGS
=$LDFLAGS
15139 save_libdir
=$libdir
15140 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15141 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15153 if ac_fn_cxx_try_link
"$LINENO"; then :
15154 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15155 lt_cv_shlibpath_overrides_runpath
=yes
15158 rm -f core conftest.err conftest.
$ac_objext \
15159 conftest
$ac_exeext conftest.
$ac_ext
15160 LDFLAGS
=$save_LDFLAGS
15161 libdir
=$save_libdir
15165 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15167 # This implies no fast_install, which is unacceptable.
15168 # Some rework will be needed to allow for fast_install
15169 # before this can be enabled.
15170 hardcode_into_libs
=yes
15172 # Append ld.so.conf contents to the search path
15173 if test -f /etc
/ld.so.conf
; then
15174 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' ' '`
15175 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15178 # We used to test for /lib/ld.so.1 and disable shared libraries on
15179 # powerpc, because MkLinux only supported shared libraries with the
15180 # GNU dynamic linker. Since this was broken with cross compilers,
15181 # most powerpc-linux boxes support dynamic linking these days and
15182 # people can always --disable-shared, the test was removed, and we
15183 # assume the GNU/Linux dynamic linker is in use.
15184 dynamic_linker
='GNU/Linux ld.so'
15191 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15194 dynamic_linker
='NetBSD (a.out) ld.so'
15196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15197 soname_spec
='${libname}${release}${shared_ext}$major'
15198 dynamic_linker
='NetBSD ld.elf_so'
15200 shlibpath_var
=LD_LIBRARY_PATH
15201 shlibpath_overrides_runpath
=yes
15202 hardcode_into_libs
=yes
15207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15208 shlibpath_var
=LD_LIBRARY_PATH
15209 shlibpath_overrides_runpath
=yes
15216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15217 soname_spec
='${libname}${release}${shared_ext}$major'
15218 shlibpath_var
=LD_LIBRARY_PATH
15219 shlibpath_overrides_runpath
=no
15220 hardcode_into_libs
=yes
15221 dynamic_linker
='ldqnx.so'
15226 sys_lib_dlsearch_path_spec
="/usr/lib"
15228 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15230 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15231 *) need_version
=no
;;
15233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15234 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15235 shlibpath_var
=LD_LIBRARY_PATH
15236 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15238 openbsd2.
[89] | openbsd2.
[89].
*)
15239 shlibpath_overrides_runpath
=no
15242 shlibpath_overrides_runpath
=yes
15246 shlibpath_overrides_runpath
=yes
15251 libname_spec
='$name'
15254 library_names_spec
='$libname${shared_ext} $libname.a'
15255 dynamic_linker
='OS/2 ld.exe'
15256 shlibpath_var
=LIBPATH
15259 osf3
* | osf4
* | osf5
*)
15263 soname_spec
='${libname}${release}${shared_ext}$major'
15264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15265 shlibpath_var
=LD_LIBRARY_PATH
15266 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15267 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 soname_spec
='${libname}${release}${shared_ext}$major'
15280 shlibpath_var
=LD_LIBRARY_PATH
15281 shlibpath_overrides_runpath
=yes
15282 hardcode_into_libs
=yes
15283 # ldd complains unless libraries are executable
15284 postinstall_cmds
='chmod +x $lib'
15289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15290 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15291 shlibpath_var
=LD_LIBRARY_PATH
15292 shlibpath_overrides_runpath
=yes
15293 if test "$with_gnu_ld" = yes; then
15301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15302 soname_spec
='${libname}${release}${shared_ext}$major'
15303 shlibpath_var
=LD_LIBRARY_PATH
15304 case $host_vendor in
15306 shlibpath_overrides_runpath
=no
15308 runpath_var
=LD_RUN_PATH
15316 shlibpath_overrides_runpath
=no
15317 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15323 if test -d /usr
/nec
;then
15325 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15326 soname_spec
='$libname${shared_ext}.$major'
15327 shlibpath_var
=LD_LIBRARY_PATH
15331 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15332 version_type
=freebsd-elf
15335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15336 soname_spec
='${libname}${release}${shared_ext}$major'
15337 shlibpath_var
=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath
=yes
15339 hardcode_into_libs
=yes
15340 if test "$with_gnu_ld" = yes; then
15341 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15343 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15346 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15350 sys_lib_dlsearch_path_spec
='/usr/lib'
15354 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15359 shlibpath_var
=LD_LIBRARY_PATH
15360 shlibpath_overrides_runpath
=no
15361 hardcode_into_libs
=yes
15366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367 soname_spec
='${libname}${release}${shared_ext}$major'
15368 shlibpath_var
=LD_LIBRARY_PATH
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15376 $as_echo "$dynamic_linker" >&6; }
15377 test "$dynamic_linker" = no
&& can_build_shared
=no
15379 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15380 if test "$GCC" = yes; then
15381 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15384 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15385 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15387 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15388 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15429 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15430 hardcode_action_CXX
=
15431 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15432 test -n "$runpath_var_CXX" ||
15433 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15435 # We can hardcode non-existent directories.
15436 if test "$hardcode_direct_CXX" != no
&&
15437 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15438 # have to relink, otherwise we might link with an installed library
15439 # when we should be linking with a yet-to-be-installed one
15440 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15441 test "$hardcode_minus_L_CXX" != no
; then
15442 # Linking always hardcodes the temporary library directory.
15443 hardcode_action_CXX
=relink
15445 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15446 hardcode_action_CXX
=immediate
15449 # We cannot hardcode anything, or else we can only hardcode existing
15451 hardcode_action_CXX
=unsupported
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15454 $as_echo "$hardcode_action_CXX" >&6; }
15456 if test "$hardcode_action_CXX" = relink ||
15457 test "$inherit_rpath_CXX" = yes; then
15458 # Fast installation is not supported
15459 enable_fast_install
=no
15460 elif test "$shlibpath_overrides_runpath" = yes ||
15461 test "$enable_shared" = no
; then
15462 # Fast installation is not necessary
15463 enable_fast_install
=needless
15472 fi # test -n "$compiler"
15478 with_gnu_ld
=$lt_save_with_gnu_ld
15479 lt_cv_path_LDCXX
=$lt_cv_path_LD
15480 lt_cv_path_LD
=$lt_save_path_LD
15481 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15482 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15483 fi # test "$_lt_caught_CXX_error" != yes
15486 ac_cpp
='$CPP $CPPFLAGS'
15487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15503 ac_config_commands
="$ac_config_commands libtool"
15508 # Only expand once:
15512 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga fi id bg"
15513 # If we haven't got the data from the intl directory,
15514 # assume NLS is disabled.
15523 if test -f ..
/intl
/config.intl
; then
15524 . ..
/intl
/config.intl
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15527 $as_echo_n "checking whether NLS is requested... " >&6; }
15528 if test x
"$USE_NLS" != xyes
; then
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15530 $as_echo "no" >&6; }
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15533 $as_echo "yes" >&6; }
15535 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15539 $as_echo_n "checking for catalogs to be installed... " >&6; }
15540 # Look for .po and .gmo files in the source directory.
15543 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
15544 # If there aren't any .gmo files the shell will give us the
15545 # literal string "../path/to/srcdir/po/*.gmo" which has to be
15547 case "$cat" in *\
**)
15550 # The quadruple backslash is collapsed to a double backslash
15551 # by the backticks, then collapsed again by the double quotes,
15552 # leaving us with one backslash in the sed expression (right
15553 # before the dot that mustn't act as a wildcard).
15554 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
15555 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
15556 # The user is allowed to set LINGUAS to a list of languages to
15557 # install catalogs for. If it's empty that means "all of them."
15558 if test "x$LINGUAS" = x
; then
15559 CATALOGS
="$CATALOGS $cat"
15560 XLINGUAS
="$XLINGUAS $lang"
15562 case "$LINGUAS" in *$lang*)
15563 CATALOGS
="$CATALOGS $cat"
15564 XLINGUAS
="$XLINGUAS $lang"
15569 LINGUAS
="$XLINGUAS"
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15571 $as_echo "$LINGUAS" >&6; }
15585 if test -n "$ac_aux_dir"; then
15586 case "$ac_aux_dir" in
15587 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
15588 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
15591 if test -z "$MKINSTALLDIRS"; then
15592 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15598 $as_echo_n "checking whether NLS is requested... " >&6; }
15599 # Check whether --enable-nls was given.
15600 if test "${enable_nls+set}" = set; then :
15601 enableval
=$enable_nls; USE_NLS
=$enableval
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15607 $as_echo "$USE_NLS" >&6; }
15614 # Prepare PATH_SEPARATOR.
15615 # The user is always right.
15616 if test "${PATH_SEPARATOR+set}" != set; then
15617 echo "#! /bin/sh" >conf$$.sh
15618 echo "exit 0" >>conf$$.sh
15620 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15628 # Find out how to test for executable files. Don't use a zero-byte file,
15629 # as systems may use methods other than mode bits to determine executability.
15630 cat >conf$$.
file <<_ASEOF
15634 chmod +x conf$$.
file
15635 if test -x conf$$.
file >/dev
/null
2>&1; then
15636 ac_executable_p
="test -x"
15638 ac_executable_p
="test -f"
15642 # Extract the first word of "msgfmt", so it can be a program name with args.
15643 set dummy msgfmt
; ac_word
=$2
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15645 $as_echo_n "checking for $ac_word... " >&6; }
15646 if test "${ac_cv_path_MSGFMT+set}" = set; then :
15647 $as_echo_n "(cached) " >&6
15651 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15654 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15655 for ac_dir
in $PATH; do
15657 test -z "$ac_dir" && ac_dir
=.
15658 for ac_exec_ext
in '' $ac_executable_extensions; do
15659 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15660 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15661 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15662 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
15669 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15673 MSGFMT
="$ac_cv_path_MSGFMT"
15674 if test "$MSGFMT" != ":"; then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15676 $as_echo "$MSGFMT" >&6; }
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15679 $as_echo "no" >&6; }
15682 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15683 set dummy gmsgfmt
; ac_word
=$2
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15685 $as_echo_n "checking for $ac_word... " >&6; }
15686 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15687 $as_echo_n "(cached) " >&6
15691 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15695 for as_dir
in $PATH
15698 test -z "$as_dir" && as_dir
=.
15699 for ac_exec_ext
in '' $ac_executable_extensions; do
15700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15701 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15709 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15713 GMSGFMT
=$ac_cv_path_GMSGFMT
15714 if test -n "$GMSGFMT"; then
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15716 $as_echo "$GMSGFMT" >&6; }
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15719 $as_echo "no" >&6; }
15725 # Prepare PATH_SEPARATOR.
15726 # The user is always right.
15727 if test "${PATH_SEPARATOR+set}" != set; then
15728 echo "#! /bin/sh" >conf$$.sh
15729 echo "exit 0" >>conf$$.sh
15731 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15739 # Find out how to test for executable files. Don't use a zero-byte file,
15740 # as systems may use methods other than mode bits to determine executability.
15741 cat >conf$$.
file <<_ASEOF
15745 chmod +x conf$$.
file
15746 if test -x conf$$.
file >/dev
/null
2>&1; then
15747 ac_executable_p
="test -x"
15749 ac_executable_p
="test -f"
15753 # Extract the first word of "xgettext", so it can be a program name with args.
15754 set dummy xgettext
; ac_word
=$2
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15756 $as_echo_n "checking for $ac_word... " >&6; }
15757 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15758 $as_echo_n "(cached) " >&6
15760 case "$XGETTEXT" in
15762 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15765 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15766 for ac_dir
in $PATH; do
15768 test -z "$ac_dir" && ac_dir
=.
15769 for ac_exec_ext
in '' $ac_executable_extensions; do
15770 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15771 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
15772 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15773 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
15780 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15784 XGETTEXT
="$ac_cv_path_XGETTEXT"
15785 if test "$XGETTEXT" != ":"; then
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15787 $as_echo "$XGETTEXT" >&6; }
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15790 $as_echo "no" >&6; }
15796 # Prepare PATH_SEPARATOR.
15797 # The user is always right.
15798 if test "${PATH_SEPARATOR+set}" != set; then
15799 echo "#! /bin/sh" >conf$$.sh
15800 echo "exit 0" >>conf$$.sh
15802 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15810 # Find out how to test for executable files. Don't use a zero-byte file,
15811 # as systems may use methods other than mode bits to determine executability.
15812 cat >conf$$.
file <<_ASEOF
15816 chmod +x conf$$.
file
15817 if test -x conf$$.
file >/dev
/null
2>&1; then
15818 ac_executable_p
="test -x"
15820 ac_executable_p
="test -f"
15824 # Extract the first word of "msgmerge", so it can be a program name with args.
15825 set dummy msgmerge
; ac_word
=$2
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15827 $as_echo_n "checking for $ac_word... " >&6; }
15828 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
15829 $as_echo_n "(cached) " >&6
15831 case "$MSGMERGE" in
15833 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15836 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15837 for ac_dir
in $PATH; do
15839 test -z "$ac_dir" && ac_dir
=.
15840 for ac_exec_ext
in '' $ac_executable_extensions; do
15841 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15842 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15843 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
15850 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15854 MSGMERGE
="$ac_cv_path_MSGMERGE"
15855 if test "$MSGMERGE" != ":"; then
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15857 $as_echo "$MSGMERGE" >&6; }
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15860 $as_echo "no" >&6; }
15864 if test "$GMSGFMT" != ":"; then
15865 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15866 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15869 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15871 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
15876 if test "$XGETTEXT" != ":"; then
15877 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
15878 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15882 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15888 ac_config_commands
="$ac_config_commands default-1"
15894 for ac_prog
in 'bison -y' byacc
15896 # Extract the first word of "$ac_prog", so it can be a program name with args.
15897 set dummy
$ac_prog; ac_word
=$2
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15899 $as_echo_n "checking for $ac_word... " >&6; }
15900 if test "${ac_cv_prog_YACC+set}" = set; then :
15901 $as_echo_n "(cached) " >&6
15903 if test -n "$YACC"; then
15904 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
15906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15907 for as_dir
in $PATH
15910 test -z "$as_dir" && as_dir
=.
15911 for ac_exec_ext
in '' $ac_executable_extensions; do
15912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15913 ac_cv_prog_YACC
="$ac_prog"
15914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15923 YACC
=$ac_cv_prog_YACC
15924 if test -n "$YACC"; then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
15926 $as_echo "$YACC" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15929 $as_echo "no" >&6; }
15933 test -n "$YACC" && break
15935 test -n "$YACC" || YACC
="yacc"
15937 for ac_prog
in flex
lex
15939 # Extract the first word of "$ac_prog", so it can be a program name with args.
15940 set dummy
$ac_prog; ac_word
=$2
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15942 $as_echo_n "checking for $ac_word... " >&6; }
15943 if test "${ac_cv_prog_LEX+set}" = set; then :
15944 $as_echo_n "(cached) " >&6
15946 if test -n "$LEX"; then
15947 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
15949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15950 for as_dir
in $PATH
15953 test -z "$as_dir" && as_dir
=.
15954 for ac_exec_ext
in '' $ac_executable_extensions; do
15955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15956 ac_cv_prog_LEX
="$ac_prog"
15957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15966 LEX
=$ac_cv_prog_LEX
15967 if test -n "$LEX"; then
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
15969 $as_echo "$LEX" >&6; }
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15972 $as_echo "no" >&6; }
15976 test -n "$LEX" && break
15978 test -n "$LEX" || LEX
=":"
15980 if test "x$LEX" != "x:"; then
15981 cat >conftest.l
<<_ACEOF
15987 e { yyless (input () != 0); }
15988 f { unput (yytext[0]); }
15989 . { BEGIN INITIAL; }
15991 #ifdef YYTEXT_POINTER
15992 extern char *yytext;
15997 return ! yylex () + ! yywrap ();
16000 { { ac_try
="$LEX conftest.l"
16001 case "(($ac_try" in
16002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16003 *) ac_try_echo=$ac_try;;
16005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16006 $as_echo "$ac_try_echo"; } >&5
16007 (eval "$LEX conftest.l") 2>&5
16009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16010 test $ac_status = 0; }
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16012 $as_echo_n "checking lex output file root... " >&6; }
16013 if test "${ac_cv_prog_lex_root+set}" = set; then :
16014 $as_echo_n "(cached) " >&6
16017 if test -f lex.yy.c; then
16018 ac_cv_prog_lex_root=lex.yy
16019 elif test -f lexyy.c; then
16020 ac_cv_prog_lex_root=lexyy
16022 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16026 $as_echo "$ac_cv_prog_lex_root" >&6; }
16027 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16029 if test -z "${LEXLIB+set}"; then
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16031 $as_echo_n "checking lex library... " >&6; }
16032 if test "${ac_cv_lib_lex+set}" = set; then :
16033 $as_echo_n "(cached) " >&6
16037 ac_cv_lib_lex='none needed'
16038 for ac_lib in '' -lfl -ll; do
16039 LIBS="$ac_lib $ac_save_LIBS"
16040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16041 /* end confdefs.h. */
16042 `cat $LEX_OUTPUT_ROOT.c
`
16044 if ac_fn_c_try_link "$LINENO"; then :
16045 ac_cv_lib_lex=$ac_lib
16047 rm -f core conftest.err conftest.$ac_objext \
16048 conftest$ac_exeext conftest.$ac_ext
16049 test "$ac_cv_lib_lex" != 'none needed' && break
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16055 $as_echo "$ac_cv_lib_lex" >&6; }
16056 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16061 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16062 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
16063 $as_echo_n "(cached) " >&6
16065 # POSIX says lex can declare yytext either as a pointer or an array; the
16066 # default is implementation-dependent. Figure out which it is, since
16067 # not all implementations provide the %pointer and %array declarations.
16068 ac_cv_prog_lex_yytext_pointer=no
16070 LIBS="$LEXLIB $ac_save_LIBS"
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h. */
16073 #define YYTEXT_POINTER 1
16074 `cat $LEX_OUTPUT_ROOT.c
`
16076 if ac_fn_c_try_link "$LINENO"; then :
16077 ac_cv_prog_lex_yytext_pointer=yes
16079 rm -f core conftest.err conftest.$ac_objext \
16080 conftest$ac_exeext conftest.$ac_ext
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16085 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16086 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16088 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16091 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16094 if test "$LEX" = :; then
16095 LEX=${am_missing_run}flex
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16100 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16101 # Check whether --enable-maintainer-mode was given.
16102 if test "${enable_maintainer_mode+set}" = set; then :
16103 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16105 USE_MAINTAINER_MODE=no
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16109 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16110 if test $USE_MAINTAINER_MODE = yes; then
16111 MAINTAINER_MODE_TRUE=
16112 MAINTAINER_MODE_FALSE='#'
16114 MAINTAINER_MODE_TRUE='#'
16115 MAINTAINER_MODE_FALSE=
16118 MAINT=$MAINTAINER_MODE_TRUE
16122 GENINSRC_NEVER_TRUE=
16123 GENINSRC_NEVER_FALSE='#'
16125 GENINSRC_NEVER_TRUE='#'
16126 GENINSRC_NEVER_FALSE=
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16130 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16131 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
16132 $as_echo_n "(cached) " >&6
16136 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16137 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16138 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16141 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16144 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16145 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16148 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16155 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16156 do_compare="$gcc_cv_prog_cmp_skip"
16160 . ${srcdir}/configure.host
16167 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h
16169 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16170 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16171 eval as_val=\$$as_ac_Header
16172 if test "x$as_val" = x""yes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16181 for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
16183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16184 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16185 eval as_val=\$$as_ac_Header
16186 if test "x$as_val" = x""yes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16195 for ac_func in glob mkstemp realpath sbrk waitpid
16197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16199 eval as_val=\$$as_ac_var
16200 if test "x$as_val" = x""yes; then :
16201 cat >>confdefs.h <<_ACEOF
16202 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16208 for ac_func in open lseek close
16210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16212 eval as_val=\$$as_ac_var
16213 if test "x$as_val" = x""yes; then :
16214 cat >>confdefs.h <<_ACEOF
16215 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16221 ac_header_dirent=no
16222 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
16223 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
16225 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
16226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
16227 $as_echo_n "(cached) " >&6
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16231 #include <sys/types.h>
16243 if ac_fn_c_try_compile "$LINENO"; then :
16244 eval "$as_ac_Header=yes"
16246 eval "$as_ac_Header=no"
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 eval ac_res=\$$as_ac_Header
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16252 $as_echo "$ac_res" >&6; }
16253 eval as_val=\$$as_ac_Header
16254 if test "x$as_val" = x""yes; then :
16255 cat >>confdefs.h <<_ACEOF
16256 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
16259 ac_header_dirent=$ac_hdr; break
16263 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
16264 if test $ac_header_dirent = dirent.h; then
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16266 $as_echo_n "checking for library containing opendir... " >&6; }
16267 if test "${ac_cv_search_opendir+set}" = set; then :
16268 $as_echo_n "(cached) " >&6
16270 ac_func_search_save_LIBS=$LIBS
16271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h. */
16274 /* Override any GCC internal prototype to avoid an error.
16275 Use char because int might match the return type of a GCC
16276 builtin and then its argument prototype would still apply. */
16289 for ac_lib in '' dir; do
16290 if test -z "$ac_lib"; then
16291 ac_res="none required"
16294 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16296 if ac_fn_c_try_link "$LINENO"; then :
16297 ac_cv_search_opendir=$ac_res
16299 rm -f core conftest.err conftest.$ac_objext \
16301 if test "${ac_cv_search_opendir+set}" = set; then :
16305 if test "${ac_cv_search_opendir+set}" = set; then :
16308 ac_cv_search_opendir=no
16310 rm conftest.$ac_ext
16311 LIBS=$ac_func_search_save_LIBS
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16314 $as_echo "$ac_cv_search_opendir" >&6; }
16315 ac_res=$ac_cv_search_opendir
16316 if test "$ac_res" != no; then :
16317 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16323 $as_echo_n "checking for library containing opendir... " >&6; }
16324 if test "${ac_cv_search_opendir+set}" = set; then :
16325 $as_echo_n "(cached) " >&6
16327 ac_func_search_save_LIBS=$LIBS
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h. */
16331 /* Override any GCC internal prototype to avoid an error.
16332 Use char because int might match the return type of a GCC
16333 builtin and then its argument prototype would still apply. */
16346 for ac_lib in '' x; do
16347 if test -z "$ac_lib"; then
16348 ac_res="none required"
16351 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16353 if ac_fn_c_try_link "$LINENO"; then :
16354 ac_cv_search_opendir=$ac_res
16356 rm -f core conftest.err conftest.$ac_objext \
16358 if test "${ac_cv_search_opendir+set}" = set; then :
16362 if test "${ac_cv_search_opendir+set}" = set; then :
16365 ac_cv_search_opendir=no
16367 rm conftest.$ac_ext
16368 LIBS=$ac_func_search_save_LIBS
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16371 $as_echo "$ac_cv_search_opendir" >&6; }
16372 ac_res=$ac_cv_search_opendir
16373 if test "$ac_res" != no; then :
16374 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16381 # Check for dlopen support and enable plugins if possible.
16383 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
16385 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16393 $as_echo_n "checking for library containing dlopen... " >&6; }
16394 if test "${ac_cv_search_dlopen+set}" = set; then :
16395 $as_echo_n "(cached) " >&6
16397 ac_func_search_save_LIBS=$LIBS
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16401 /* Override any GCC internal prototype to avoid an error.
16402 Use char because int might match the return type of a GCC
16403 builtin and then its argument prototype would still apply. */
16416 for ac_lib in '' dl; do
16417 if test -z "$ac_lib"; then
16418 ac_res="none required"
16421 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16423 if ac_fn_c_try_link "$LINENO"; then :
16424 ac_cv_search_dlopen=$ac_res
16426 rm -f core conftest.err conftest.$ac_objext \
16428 if test "${ac_cv_search_dlopen+set}" = set; then :
16432 if test "${ac_cv_search_dlopen+set}" = set; then :
16435 ac_cv_search_dlopen=no
16437 rm conftest.$ac_ext
16438 LIBS=$ac_func_search_save_LIBS
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16441 $as_echo "$ac_cv_search_dlopen" >&6; }
16442 ac_res=$ac_cv_search_dlopen
16443 if test "$ac_res" != no; then :
16444 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16450 for ac_func in dlopen dlsym dlclose
16452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16454 eval as_val=\$$as_ac_var
16455 if test "x$as_val" = x""yes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16465 # We also support plugins on Windows (MinGW).
16466 if test x$enable_plugins = xno ; then
16467 for ac_header in Windows.h
16469 ac_fn_c_check_header_compile "$LINENO" "Windows.h" "ac_cv_header_Windows_h" "$ac_includes_default
16471 if test "x$ac_cv_header_Windows_h" = x""yes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_WINDOWS_H 1
16481 if test x$enable_plugins = xyes; then
16482 ENABLE_PLUGINS_TRUE=
16483 ENABLE_PLUGINS_FALSE='#'
16485 ENABLE_PLUGINS_TRUE='#'
16486 ENABLE_PLUGINS_FALSE=
16490 # Check whether --enable-initfini-array was given.
16491 if test "${enable_initfini_array+set}" = set; then :
16492 enableval=$enable_initfini_array;
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
16496 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
16497 if test "${gcc_cv_initfini_array+set}" = set; then :
16498 $as_echo_n "(cached) " >&6
16500 if test "x${build}" = "x${target}" ; then
16501 if test "$cross_compiling" = yes; then :
16502 gcc_cv_initfini_array=no
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16508 int main (void) { return x; }
16509 int foo (void) { x = 0; }
16510 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
16512 if ac_fn_c_try_run "$LINENO"; then :
16513 gcc_cv_initfini_array=yes
16515 gcc_cv_initfini_array=no
16517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16518 conftest.$ac_objext conftest.beam conftest.$ac_ext
16522 gcc_cv_initfini_array=no
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_initfini_array" >&5
16526 $as_echo "$gcc_cv_initfini_array" >&6; }
16527 enable_initfini_array=$gcc_cv_initfini_array
16532 if test $enable_initfini_array = yes; then
16534 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
16539 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
16540 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
16541 $as_echo_n "(cached) " >&6
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16545 #include <unistd.h>
16549 extern int getopt (int, char *const*, const char *);
16554 if ac_fn_c_try_compile "$LINENO"; then :
16555 ld_cv_decl_getopt_unistd_h=yes
16557 ld_cv_decl_getopt_unistd_h=no
16559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
16563 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
16564 if test $ld_cv_decl_getopt_unistd_h = yes; then
16566 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
16572 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
16574 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
16578 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
16579 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define HAVE_DECL_STRSTR $ac_have_decl
16588 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
16589 if test "x$ac_cv_have_decl_free" = x""yes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_DECL_FREE $ac_have_decl
16598 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
16599 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_DECL_SBRK $ac_have_decl
16608 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
16609 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_DECL_GETENV $ac_have_decl
16618 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
16619 if test "x$ac_cv_have_decl_environ" = x""yes; then :
16625 cat >>confdefs.h <<_ACEOF
16626 #define HAVE_DECL_ENVIRON $ac_have_decl
16630 # Link in zlib if we can. This is needed only for the bootstrap tests
16631 # right now, since those tests use libbfd, which depends on zlib.
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
16633 $as_echo_n "checking for library containing zlibVersion... " >&6; }
16634 if test "${ac_cv_search_zlibVersion+set}" = set; then :
16635 $as_echo_n "(cached) " >&6
16637 ac_func_search_save_LIBS=$LIBS
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16641 /* Override any GCC internal prototype to avoid an error.
16642 Use char because int might match the return type of a GCC
16643 builtin and then its argument prototype would still apply. */
16647 char zlibVersion ();
16651 return zlibVersion ();
16656 for ac_lib in '' z; do
16657 if test -z "$ac_lib"; then
16658 ac_res="none required"
16661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16663 if ac_fn_c_try_link "$LINENO"; then :
16664 ac_cv_search_zlibVersion=$ac_res
16666 rm -f core conftest.err conftest.$ac_objext \
16668 if test "${ac_cv_search_zlibVersion+set}" = set; then :
16672 if test "${ac_cv_search_zlibVersion+set}" = set; then :
16675 ac_cv_search_zlibVersion=no
16677 rm conftest.$ac_ext
16678 LIBS=$ac_func_search_save_LIBS
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
16681 $as_echo "$ac_cv_search_zlibVersion" >&6; }
16682 ac_res=$ac_cv_search_zlibVersion
16683 if test "$ac_res" != no; then :
16684 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16685 for ac_header in zlib.h
16687 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_zlib_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_ZLIB_H 1
16700 # When converting linker scripts into strings for use in emulation
16701 # files, use astring.sed if the compiler supports ANSI string
16702 # concatenation, or ostring.sed otherwise. This is to support the
16703 # broken Microsoft MSVC compiler, which limits the length of string
16704 # constants, while still supporting pre-ANSI compilers which do not
16705 # support string concatenation.
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
16707 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
16708 if test "${ld_cv_string_concatenation+set}" = set; then :
16709 $as_echo_n "(cached) " >&6
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16722 if ac_fn_c_try_compile "$LINENO"; then :
16723 ld_cv_string_concatenation=yes
16725 ld_cv_string_concatenation=no
16727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
16731 $as_echo "$ld_cv_string_concatenation" >&6; }
16732 if test "$ld_cv_string_concatenation" = "yes"; then
16733 STRINGIFY=astring.sed
16735 STRINGIFY=ostring.sed
16739 # target-specific stuff:
16749 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
16751 if test "$targ_alias" = "all"; then
16754 # Canonicalize the secondary target names.
16755 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
16756 if test -n "$result"; then
16762 . ${srcdir}/configure.tgt
16764 if test "$targ" = "$target"; then
16768 if test x${want64} = xfalse; then
16769 . ${srcdir}/../bfd/config.bfd
16772 if test x${want64} = xtrue; then
16773 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
16774 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
16777 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
16778 case " $all_emuls " in
16781 all_emuls="$all_emuls e${i}.o"
16782 eval result=\$tdir_$i
16783 test -z "$result" && result=$targ_alias
16784 echo tdir_$i=$result >> tdirs
16789 for i in $targ_emul $targ_extra_libpath; do
16790 case " $all_libpath " in
16793 if test -z "$all_libpath"; then
16796 all_libpath="$all_libpath ${i}"
16802 for i in $targ_extra_ofiles; do
16803 case " $all_emul_extras " in
16806 all_emul_extras="$all_emul_extras ${i}"
16818 if test x${all_targets} = xtrue; then
16819 if test x${want64} = xfalse; then
16820 # The cast to long int works around a bug in the HP C Compiler
16821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16822 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
16823 # This bug is HP SR number 8606223364.
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16825 $as_echo_n "checking size of long... " >&6; }
16826 if test "${ac_cv_sizeof_long+set}" = set; then :
16827 $as_echo_n "(cached) " >&6
16829 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16832 if test "$ac_cv_type_long" = yes; then
16833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16834 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
16835 { as_fn_set_status 77
16836 as_fn_error "cannot compute sizeof (long)
16837 See \`config.log
' for more details." "$LINENO" 5; }; }
16839 ac_cv_sizeof_long=0
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16845 $as_echo "$ac_cv_sizeof_long" >&6; }
16849 cat >>confdefs.h <<_ACEOF
16850 #define SIZEOF_LONG $ac_cv_sizeof_long
16854 if test "x${ac_cv_sizeof_long}" = "x8"; then
16858 if test x${want64} = xtrue; then
16859 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
16861 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
16863 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
16865 EMULATION_OFILES=$all_emuls
16866 EMUL_EXTRA_OFILES=$all_emul_extras
16872 EMULATION_LIBPATH=$all_libpath
16875 if test x${enable_static} = xno; then
16876 TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
16878 TESTBFDLIB="../bfd/.libs/libbfd.a"
16882 target_vendor=${target_vendor=$host_vendor}
16883 case "$target_vendor" in
16884 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
16885 *) EXTRA_SHLIB_EXTENSION= ;;
16888 case "$target_os" in
16889 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
16892 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
16894 cat >>confdefs.h <<_ACEOF
16895 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
16905 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
16907 cat >confcache <<\_ACEOF
16908 # This file is a shell script that caches the results of configure
16909 # tests run on this system so they can be shared between configure
16910 # scripts and configure runs, see configure's option
--config-cache.
16911 # It is not useful on other systems. If it contains results you don't
16912 # want to keep, you may remove or edit it.
16914 # config.status only pays attention to the cache file if you give it
16915 # the --recheck option to rerun configure.
16917 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16918 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16919 # following values.
16923 # The following way of writing the cache mishandles newlines in values,
16924 # but we know of no workaround that is simple, portable, and efficient.
16925 # So, we kill variables containing newlines.
16926 # Ultrix sh set writes to stderr and can't be redirected directly,
16927 # and sets the high bit in the cache file unless we assign to the vars.
16929 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16930 eval ac_val
=\$
$ac_var
16934 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16935 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16938 _ | IFS | as_nl
) ;; #(
16939 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16940 *) { eval $ac_var=; unset $ac_var;} ;;
16946 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16947 *${as_nl}ac_space
=\
*)
16948 # `set' does not quote correctly, so add quotes: double-quote
16949 # substitution turns \\\\ into \\, and sed turns \\ into \.
16952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16955 # `set' quotes correctly as required by POSIX, so do not add quotes.
16956 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16965 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16967 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16969 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16970 if test -w "$cache_file"; then
16971 test "x$cache_file" != "x/dev/null" &&
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16973 $as_echo "$as_me: updating cache $cache_file" >&6;}
16974 cat confcache
>$cache_file
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16977 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16982 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16983 # Let make expand exec_prefix.
16984 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16986 DEFS
=-DHAVE_CONFIG_H
16990 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16991 # 1. Remove the extension, and $U if already installed.
16992 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16993 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16994 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16995 # will be set to the directory where LIBOBJS objects are built.
16996 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16997 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16999 LIBOBJS
=$ac_libobjs
17001 LTLIBOBJS
=$ac_ltlibobjs
17004 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17005 as_fn_error
"conditional \"AMDEP\" was never defined.
17006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17008 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17009 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
17010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17012 if test -n "$EXEEXT"; then
17014 am__EXEEXT_FALSE
='#'
17016 am__EXEEXT_TRUE
='#'
17020 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17021 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17024 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17025 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
17026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17028 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17029 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17032 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17033 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
17034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17036 if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then
17037 as_fn_error
"conditional \"ENABLE_PLUGINS\" was never defined.
17038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17041 : ${CONFIG_STATUS=./config.status}
17043 ac_clean_files_save
=$ac_clean_files
17044 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17046 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17048 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17050 # Generated by $as_me.
17051 # Run this file to recreate the current configuration.
17052 # Compiler output produced by configure, useful for debugging
17053 # configure, is in config.log if it exists.
17056 ac_cs_recheck=false
17059 SHELL=\${CONFIG_SHELL-$SHELL}
17062 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17063 ## -------------------- ##
17064 ## M4sh Initialization. ##
17065 ## -------------------- ##
17067 # Be more Bourne compatible
17068 DUALCASE
=1; export DUALCASE
# for MKS sh
17069 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17072 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17073 # is contrary to our usage. Disable this feature.
17074 alias -g '${1+"$@"}'='"$@"'
17075 setopt NO_GLOB_SUBST
17077 case `(set -o) 2>/dev/null` in #(
17089 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17090 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17091 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17093 # Prefer a ksh shell builtin over an external printf program on Solaris,
17094 # but without wasting forks for bash or zsh.
17095 if test -z "$BASH_VERSION$ZSH_VERSION" \
17096 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17097 as_echo='print
-r --'
17098 as_echo_n='print
-rn --'
17099 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17100 as_echo='printf %s
\n'
17101 as_echo_n='printf %s
'
17103 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17104 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17105 as_echo_n='/usr
/ucb
/echo -n'
17107 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17108 as_echo_n_body='eval
17112 expr "X$arg" : "X\\(.*\\)$as_nl";
17113 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17115 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17117 export as_echo_n_body
17118 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17120 export as_echo_body
17121 as_echo='sh
-c $as_echo_body as_echo
'
17124 # The user is always right.
17125 if test "${PATH_SEPARATOR+set}" != set; then
17127 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17128 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17135 # We need space, tab and new line, in precisely that order. Quoting is
17136 # there to prevent editors from complaining about space-tab.
17137 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17138 # splitting by setting IFS to empty value.)
17141 # Find who we are. Look in the path if we contain no directory separator.
17143 *[\\/]* ) as_myself=$0 ;;
17144 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17145 for as_dir in $PATH
17148 test -z "$as_dir" && as_dir=.
17149 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17155 # We did not find ourselves, most probably we were run as `sh COMMAND'
17156 # in which case we are not to be found in the path.
17157 if test "x$as_myself" = x
; then
17160 if test ! -f "$as_myself"; then
17161 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17165 # Unset variables that we do not need and which cause bugs (e.g. in
17166 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17167 # suppresses any "Segmentation fault" message there. '((' could
17168 # trigger a bug in pdksh 5.2.14.
17169 for as_var
in BASH_ENV ENV MAIL MAILPATH
17170 do eval test x\
${$as_var+set} = xset \
17171 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17184 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17187 # as_fn_error ERROR [LINENO LOG_FD]
17188 # ---------------------------------
17189 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17190 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17191 # script with status $?, using 1 if that was 0.
17194 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17196 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17197 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17199 $as_echo "$as_me: error: $1" >&2
17200 as_fn_exit
$as_status
17204 # as_fn_set_status STATUS
17205 # -----------------------
17206 # Set $? to STATUS, without forking.
17207 as_fn_set_status
()
17210 } # as_fn_set_status
17212 # as_fn_exit STATUS
17213 # -----------------
17214 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17218 as_fn_set_status
$1
17224 # Portably unset VAR.
17227 { eval $1=; unset $1;}
17229 as_unset
=as_fn_unset
17230 # as_fn_append VAR VALUE
17231 # ----------------------
17232 # Append the text in VALUE to the end of the definition contained in VAR. Take
17233 # advantage of any shell optimizations that allow amortized linear growth over
17234 # repeated appends, instead of the typical quadratic growth present in naive
17236 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17237 eval 'as_fn_append ()
17248 # as_fn_arith ARG...
17249 # ------------------
17250 # Perform arithmetic evaluation on the ARGs, and store the result in the
17251 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17252 # must be portable across $(()) and expr.
17253 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17254 eval 'as_fn_arith ()
17261 as_val
=`expr "$@" || test $? -eq 1`
17266 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17267 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17273 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17274 as_basename
=basename
17279 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17285 as_me
=`$as_basename -- "$0" ||
17286 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17287 X"$0" : 'X\(//\)$' \| \
17288 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17290 sed '/^.*\/\([^/][^/]*\)\/*$/{
17304 # Avoid depending upon Character Ranges.
17305 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17306 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17307 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17308 as_cr_digits
='0123456789'
17309 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17311 ECHO_C
= ECHO_N
= ECHO_T
=
17312 case `echo -n x` in #(((((
17314 case `echo 'xy\c'` in
17315 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17317 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17324 rm -f conf$$ conf$$.exe conf$$.
file
17325 if test -d conf$$.dir
; then
17326 rm -f conf$$.dir
/conf$$.
file
17329 mkdir conf$$.dir
2>/dev
/null
17331 if (echo >conf$$.
file) 2>/dev
/null
; then
17332 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17334 # ... but there are two gotchas:
17335 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17336 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17337 # In both cases, we have to default to `cp -p'.
17338 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17340 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17348 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17349 rmdir conf$$.dir
2>/dev
/null
17354 # Create "$as_dir" as a directory, including parents if necessary.
17359 -*) as_dir
=.
/$as_dir;;
17361 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17365 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17366 *) as_qdir
=$as_dir;;
17368 as_dirs
="'$as_qdir' $as_dirs"
17369 as_dir
=`$as_dirname -- "$as_dir" ||
17370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17371 X"$as_dir" : 'X\(//\)[^/]' \| \
17372 X"$as_dir" : 'X\(//\)$' \| \
17373 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17374 $as_echo X"$as_dir" |
17375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17379 /^X\(\/\/\)[^/].*/{
17392 test -d "$as_dir" && break
17394 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17395 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17399 if mkdir
-p .
2>/dev
/null
; then
17400 as_mkdir_p
='mkdir -p "$as_dir"'
17402 test -d .
/-p && rmdir .
/-p
17406 if test -x / >/dev
/null
2>&1; then
17407 as_test_x
='test -x'
17409 if ls -dL / >/dev
/null
2>&1; then
17416 if test -d "$1"; then
17422 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17423 ???[sx]*):;;*)false;;esac;fi
17427 as_executable_p
=$as_test_x
17429 # Sed expression to map a string onto a valid CPP name.
17430 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17432 # Sed expression to map a string onto a valid variable name.
17433 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17437 ## ----------------------------------- ##
17438 ## Main body of $CONFIG_STATUS script. ##
17439 ## ----------------------------------- ##
17441 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17444 # Save the log message, to keep $0 and so on meaningful, and to
17445 # report actual input values of CONFIG_FILES etc. instead of their
17446 # values after options handling.
17448 This file was extended by $as_me, which was
17449 generated by GNU Autoconf 2.64. Invocation command line was
17451 CONFIG_FILES = $CONFIG_FILES
17452 CONFIG_HEADERS = $CONFIG_HEADERS
17453 CONFIG_LINKS = $CONFIG_LINKS
17454 CONFIG_COMMANDS = $CONFIG_COMMANDS
17457 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17462 case $ac_config_files in *"
17463 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17466 case $ac_config_headers in *"
17467 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17472 # Files that config.status was made for.
17473 config_files="$ac_config_files"
17474 config_headers="$ac_config_headers"
17475 config_commands="$ac_config_commands"
17479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17481 \`$as_me' instantiates files and other configuration actions
17482 from templates according to the current configuration. Unless the files
17483 and actions are specified as TAGs, all are instantiated by default.
17485 Usage: $0 [OPTION]... [TAG]...
17487 -h, --help print this help, then exit
17488 -V, --version print version number and configuration settings, then exit
17489 -q, --quiet, --silent
17490 do not print progress messages
17491 -d, --debug don't remove temporary files
17492 --recheck update $as_me by reconfiguring in the same conditions
17493 --file=FILE[:TEMPLATE]
17494 instantiate the configuration file FILE
17495 --header=FILE[:TEMPLATE]
17496 instantiate the configuration header FILE
17498 Configuration files:
17501 Configuration headers:
17504 Configuration commands:
17507 Report bugs to the package provider."
17510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17513 configured by $0, generated by GNU Autoconf 2.64,
17514 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17516 Copyright (C) 2009 Free Software Foundation, Inc.
17517 This config.status script is free software; the Free Software Foundation
17518 gives unlimited permission to copy, distribute and modify it."
17525 test -n "\$AWK" || AWK=awk
17528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17529 # The default lists apply if the user does not specify any file.
17535 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17536 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17547 # Handling of the options.
17548 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17550 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17551 $as_echo "$ac_cs_version"; exit ;;
17552 --debug |
--debu |
--deb |
--de |
--d |
-d )
17554 --file |
--fil |
--fi |
--f )
17557 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17559 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17560 ac_need_defaults
=false
;;
17561 --header |
--heade |
--head |
--hea )
17564 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17566 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17567 ac_need_defaults
=false
;;
17569 # Conflict between --help and --header
17570 as_fn_error
"ambiguous option: \`$1'
17571 Try \`$0 --help' for more information.";;
17572 --help |
--hel |
-h )
17573 $as_echo "$ac_cs_usage"; exit ;;
17574 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17575 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17578 # This is an error.
17579 -*) as_fn_error
"unrecognized option: \`$1'
17580 Try \`$0 --help' for more information." ;;
17582 *) as_fn_append ac_config_targets
" $1"
17583 ac_need_defaults
=false
;;
17589 ac_configure_extra_args
=
17591 if $ac_cs_silent; then
17593 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17598 if \$ac_cs_recheck; then
17599 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17601 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17602 CONFIG_SHELL='$SHELL'
17603 export CONFIG_SHELL
17608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17613 ## Running $as_me. ##
17619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17623 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17626 # The HP-UX ksh and POSIX shell print the target directory to stdout
17627 # if CDPATH is set.
17628 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17630 sed_quote_subst='$sed_quote_subst'
17631 double_quote_subst='$double_quote_subst'
17632 delay_variable_subst='$delay_variable_subst'
17633 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17634 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17635 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17636 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17637 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17638 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17639 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17640 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17641 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17642 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17643 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17644 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17645 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17646 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17647 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17648 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17649 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17650 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17651 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17652 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17653 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17654 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17655 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17656 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17657 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17658 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17659 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17660 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17661 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17662 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17663 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17664 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17665 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17666 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17667 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17668 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17669 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17670 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17671 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17672 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17673 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17674 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17675 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17676 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17677 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17678 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17679 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17680 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17681 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"`'
17682 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17683 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17684 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17685 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17686 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17687 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17688 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17689 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17690 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17691 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17692 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17693 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17694 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17695 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17696 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17697 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17698 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17699 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17700 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17701 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17702 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17703 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17704 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17705 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17706 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17707 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17708 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17709 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17710 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17711 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17712 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17713 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17714 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17715 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17716 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17717 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17718 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17719 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17720 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17721 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17722 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17723 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17724 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17725 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17726 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17727 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17728 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17729 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17730 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17731 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17732 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17733 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17734 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17735 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17736 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17737 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17738 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17739 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17740 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17741 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17742 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17743 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17744 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17745 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17746 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17747 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17748 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17749 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17750 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17751 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17752 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17753 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17754 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17755 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17756 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17757 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17758 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17759 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17760 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17761 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17762 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17763 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17764 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17765 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17766 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17767 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17768 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17769 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17770 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17771 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17772 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17773 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17774 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17775 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17776 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17777 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17778 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17779 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17780 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17781 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17782 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17783 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17784 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17785 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17786 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17787 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17788 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17789 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17790 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17791 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17792 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17793 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17794 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17795 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17796 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17797 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17798 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17799 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17800 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17801 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17802 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17803 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17804 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17805 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17806 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17807 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17810 LTCFLAGS='$LTCFLAGS'
17811 compiler='$compiler_DEFAULT'
17813 # A function that is used when there is no print builtin or printf.
17814 func_fallback_echo ()
17816 eval 'cat <<_LTECHO_EOF
17821 # Quote evaled strings.
17835 deplibs_check_method \
17844 lt_cv_sys_global_symbol_pipe \
17845 lt_cv_sys_global_symbol_to_cdecl \
17846 lt_cv_sys_global_symbol_to_c_name_address \
17847 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17848 lt_prog_compiler_no_builtin_flag \
17849 lt_prog_compiler_wl \
17850 lt_prog_compiler_pic \
17851 lt_prog_compiler_static \
17852 lt_cv_prog_compiler_c_o \
17860 export_dynamic_flag_spec \
17861 whole_archive_flag_spec \
17862 compiler_needs_object \
17864 allow_undefined_flag \
17865 no_undefined_flag \
17866 hardcode_libdir_flag_spec \
17867 hardcode_libdir_flag_spec_ld \
17868 hardcode_libdir_separator \
17873 variables_saved_for_relink \
17875 library_names_spec \
17877 install_override_mode \
17881 compiler_lib_search_dirs \
17886 compiler_lib_search_path \
17890 lt_prog_compiler_no_builtin_flag_CXX \
17891 lt_prog_compiler_wl_CXX \
17892 lt_prog_compiler_pic_CXX \
17893 lt_prog_compiler_static_CXX \
17894 lt_cv_prog_compiler_c_o_CXX \
17895 export_dynamic_flag_spec_CXX \
17896 whole_archive_flag_spec_CXX \
17897 compiler_needs_object_CXX \
17899 allow_undefined_flag_CXX \
17900 no_undefined_flag_CXX \
17901 hardcode_libdir_flag_spec_CXX \
17902 hardcode_libdir_flag_spec_ld_CXX \
17903 hardcode_libdir_separator_CXX \
17904 fix_srcfile_path_CXX \
17905 exclude_expsyms_CXX \
17906 include_expsyms_CXX \
17907 file_list_spec_CXX \
17908 compiler_lib_search_dirs_CXX \
17909 predep_objects_CXX \
17910 postdep_objects_CXX \
17913 compiler_lib_search_path_CXX; do
17914 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17915 *[\\\\\\\`\\"\\\$]*)
17916 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17919 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17924 # Double-quote double-evaled strings.
17925 for var in reload_cmds \
17926 old_postinstall_cmds \
17927 old_postuninstall_cmds \
17929 extract_expsyms_cmds \
17930 old_archive_from_new_cmds \
17931 old_archive_from_expsyms_cmds \
17933 archive_expsym_cmds \
17935 module_expsym_cmds \
17936 export_symbols_cmds \
17939 postuninstall_cmds \
17941 sys_lib_search_path_spec \
17942 sys_lib_dlsearch_path_spec \
17944 old_archive_cmds_CXX \
17945 old_archive_from_new_cmds_CXX \
17946 old_archive_from_expsyms_cmds_CXX \
17948 archive_expsym_cmds_CXX \
17950 module_expsym_cmds_CXX \
17951 export_symbols_cmds_CXX \
17952 prelink_cmds_CXX; do
17953 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17954 *[\\\\\\\`\\"\\\$]*)
17955 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17958 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17963 ac_aux_dir='$ac_aux_dir'
17964 xsi_shell='$xsi_shell'
17965 lt_shell_append='$lt_shell_append'
17967 # See if we are running on zsh, and set the options which allow our
17968 # commands through without removal of \ escapes INIT.
17969 if test -n "\${ZSH_VERSION+set}" ; then
17970 setopt NO_GLOB_SUBST
17976 TIMESTAMP='$TIMESTAMP'
17984 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17985 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17987 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17988 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17989 LINGUAS="${LINGUAS-%UNSET%}"
17994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17996 # Handling of arguments.
17997 for ac_config_target
in $ac_config_targets
17999 case $ac_config_target in
18000 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18001 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18002 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18003 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18004 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18005 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18007 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18012 # If the user did not use the arguments to specify the items to instantiate,
18013 # then the envvar interface is used. Set only those that are not.
18014 # We use the long form for the default assignment because of an extremely
18015 # bizarre bug on SunOS 4.1.3.
18016 if $ac_need_defaults; then
18017 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18018 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18019 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18022 # Have a temporary directory for convenience. Make it in the build tree
18023 # simply because there is no reason against having it here, and in addition,
18024 # creating and moving files from /tmp can sometimes cause problems.
18025 # Hook for its removal unless debugging.
18026 # Note that there is a small window in which the directory will not be cleaned:
18027 # after its creation but before its name has been assigned to `$tmp'.
18031 trap 'exit_status=$?
18032 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18034 trap 'as_fn_exit 1' 1 2 13 15
18036 # Create a (secure) tmp directory for tmp files.
18039 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18040 test -n "$tmp" && test -d "$tmp"
18043 tmp
=.
/conf$$
-$RANDOM
18044 (umask 077 && mkdir
"$tmp")
18045 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18047 # Set up the scripts for CONFIG_FILES section.
18048 # No need to generate them if there are no CONFIG_FILES.
18049 # This happens for instance with `./config.status config.h'.
18050 if test -n "$CONFIG_FILES"; then
18052 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18053 ac_cs_awk_getline
=:
18054 ac_cs_awk_pipe_init
=
18055 ac_cs_awk_read_file
='
18056 while ((getline aline < (F[key])) > 0)
18059 ac_cs_awk_pipe_fini
=
18061 ac_cs_awk_getline
=false
18062 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18063 ac_cs_awk_read_file
='
18065 print "cat " F[key] " &&"
18066 '$ac_cs_awk_pipe_init
18067 # The final `:' finishes the AND list.
18068 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18070 ac_cr
=`echo X | tr X '\015'`
18071 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18072 # But we know of no other shell where ac_cr would be empty at this
18073 # point, so we can use a bashism as a fallback.
18074 if test "x$ac_cr" = x
; then
18075 eval ac_cr
=\$
\'\\r
\'
18077 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18078 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18081 ac_cs_awk_cr
=$ac_cr
18084 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18087 # Create commands to substitute file output variables.
18089 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18090 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
18091 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18094 } >conf$
$files.sh
&&
18095 . .
/conf$
$files.sh ||
18096 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
18097 rm -f conf$
$files.sh
18100 echo "cat >conf$$subs.awk <<_ACEOF" &&
18101 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18103 } >conf$$subs.sh ||
18104 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18105 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18107 for ac_last_try in false false false false false :; do
18108 . ./conf$$subs.sh ||
18109 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18111 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18112 if test $ac_delim_n = $ac_delim_num; then
18114 elif $ac_last_try; then
18115 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18117 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18120 rm -f conf$$subs.sh
18122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18123 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18127 s/^/S["/; s
/!.
*/"]=/
18137 s/\(.\{148\}\).*/\1/
18139 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18144 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18151 s/\(.\{148\}\).*/\1/
18153 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18157 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18162 ' <conf$$subs.awk | sed '
18167 ' >>$CONFIG_STATUS || ac_write_fail=1
18168 rm -f conf$$subs.awk
18169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18171 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18172 for (key in S) S_is_set[key] = 1
18174 \$ac_cs_awk_pipe_init
18178 nfields = split(line, field, "@
")
18180 len = length(field[1])
18181 for (i = 2; i < nfields; i++) {
18183 keylen = length(key)
18184 if (S_is_set[key]) {
18186 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18187 len += length(value) + length(field[++i])
18192 if (nfields == 3 && !substed) {
18194 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18195 \$ac_cs_awk_read_file
18201 \$ac_cs_awk_pipe_fini
18204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18205 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18206 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18209 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18210 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18213 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18214 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18215 # trailing colons and then remove the whole line if VPATH becomes empty
18216 # (actually we leave an empty line to preserve line numbers).
18217 if test "x
$srcdir" = x.; then
18218 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18219 s/:*\$(srcdir):*/:/
18220 s/:*\${srcdir}:*/:/
18222 s/^\([^=]*=[ ]*\):*/\1/
18228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18229 fi # test -n "$CONFIG_FILES"
18231 # Set up the scripts for CONFIG_HEADERS section.
18232 # No need to generate them if there are no CONFIG_HEADERS.
18233 # This happens for instance with `./config.status Makefile'.
18234 if test -n "$CONFIG_HEADERS"; then
18235 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18239 # Transform confdefs.h into an awk script `defines.awk', embedded as
18240 # here-document in config.status, that substitutes the proper values into
18241 # config.h.in to produce config.h.
18243 # Create a delimiter string that does not exist in confdefs.h, to ease
18244 # handling of long lines.
18246 for ac_last_try in false false :; do
18247 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18248 if test -z "$ac_t"; then
18250 elif $ac_last_try; then
18251 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
18253 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18257 # For the awk script, D is an array of macro values keyed by name,
18258 # likewise P contains macro parameters if any. Preserve backslash
18259 # newline sequences.
18261 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18263 s/.\{148\}/&'"$ac_delim"'/g
18266 s/^[ ]*#[ ]*define[ ][ ]*/ /
18273 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18275 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18279 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18280 D["\
1"]=" \
3\\\\\\n
"\\/p
18282 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18287 s/.\{148\}/&'"$ac_delim"'/g
18292 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18295 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18297 ' <confdefs.h | sed '
18298 s/'"$ac_delim"'/"\\\
18299 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18302 for (key in D) D_is_set[key] = 1
18305 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18307 split(line, arg, " ")
18308 if (arg[1] == "#") {
18312 defundef
= substr
(arg
[1], 2)
18315 split(mac1
, mac2
, "(") #)
18317 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18318 if (D_is_set
[macro
]) {
18319 # Preserve the white space surrounding the "#".
18320 print prefix
"define", macro P
[macro
] D
[macro
]
18323 # Replace #undef with comments. This is necessary, for example,
18324 # in the case of _POSIX_SOURCE, which is predefined and required
18325 # on some systems where configure will not decide to define it.
18326 if (defundef
== "undef") {
18327 print
"/*", prefix defundef
, macro
, "*/"
18335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18336 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
18337 fi # test -n "$CONFIG_HEADERS"
18340 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18345 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18347 case $ac_mode$ac_tag in
18349 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18350 :[FH
]-) ac_tag
=-:-;;
18351 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18368 -) ac_f
="$tmp/stdin";;
18369 *) # Look for the file first in the build tree, then in the source tree
18370 # (if the path is not absolute). The absolute path cannot be DOS-style,
18371 # because $ac_f cannot contain `:'.
18375 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18377 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
18379 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18380 as_fn_append ac_file_inputs
" '$ac_f'"
18383 # Let's still pretend it is `configure' which instantiates (i.e., don't
18384 # use $as_me), people would be surprised to read:
18385 # /* config.h. Generated by config.status. */
18386 configure_input
='Generated from '`
18387 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18389 if test x
"$ac_file" != x-
; then
18390 configure_input
="$ac_file. $configure_input"
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18392 $as_echo "$as_me: creating $ac_file" >&6;}
18394 # Neutralize special characters interpreted by sed in replacement strings.
18395 case $configure_input in #(
18396 *\
&* |
*\|
* |
*\\* )
18397 ac_sed_conf_input
=`$as_echo "$configure_input" |
18398 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18399 *) ac_sed_conf_input
=$configure_input;;
18403 *:-:* |
*:-) cat >"$tmp/stdin" \
18404 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
18409 ac_dir
=`$as_dirname -- "$ac_file" ||
18410 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18411 X"$ac_file" : 'X\(//\)[^/]' \| \
18412 X"$ac_file" : 'X\(//\)$' \| \
18413 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18414 $as_echo X"$ac_file" |
18415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18419 /^X\(\/\/\)[^/].*/{
18432 as_dir
="$ac_dir"; as_fn_mkdir_p
18436 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18438 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18439 # A ".." for each directory in $ac_dir_suffix.
18440 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18441 case $ac_top_builddir_sub in
18442 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18443 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18446 ac_abs_top_builddir
=$ac_pwd
18447 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18448 # for backward compatibility:
18449 ac_top_builddir
=$ac_top_build_prefix
18452 .
) # We are building in place.
18454 ac_top_srcdir
=$ac_top_builddir_sub
18455 ac_abs_top_srcdir
=$ac_pwd ;;
18456 [\\/]* | ?
:[\\/]* ) # Absolute name.
18457 ac_srcdir
=$srcdir$ac_dir_suffix;
18458 ac_top_srcdir
=$srcdir
18459 ac_abs_top_srcdir
=$srcdir ;;
18460 *) # Relative name.
18461 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18462 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18463 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18465 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18475 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18476 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18478 ac_MKDIR_P
=$MKDIR_P
18480 [\\/$
]* | ?
:[\\/]* ) ;;
18481 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18486 # If the template does not know about datarootdir, expand it.
18487 # FIXME: This hack should be removed a few years after 2.60.
18488 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18499 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18500 *datarootdir
*) ac_datarootdir_seen
=yes;;
18501 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18503 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18506 ac_datarootdir_hack='
18507 s&@datadir@&$datadir&g
18508 s&@docdir@&$docdir&g
18509 s&@infodir@&$infodir&g
18510 s&@localedir@&$localedir&g
18511 s&@mandir@&$mandir&g
18512 s&\\\${datarootdir}&$datarootdir&g' ;;
18516 # Neutralize VPATH when `$srcdir' = `.'.
18517 # Shell code in configure.ac might set extrasub.
18518 # FIXME: do we really want to maintain this feature?
18519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18520 ac_sed_extra="$ac_vpsub
18523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18525 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18526 s|@configure_input@|
$ac_sed_conf_input|
;t t
18527 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18528 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18529 s
&@srcdir@
&$ac_srcdir&;t t
18530 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18531 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18532 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18533 s
&@builddir@
&$ac_builddir&;t t
18534 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18535 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18536 s
&@INSTALL@
&$ac_INSTALL&;t t
18537 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18538 $ac_datarootdir_hack
18540 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18541 if $ac_cs_awk_getline; then
18542 $AWK -f "$tmp/subs.
awk"
18544 $AWK -f "$tmp/subs.
awk" | $SHELL
18546 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18548 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18549 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18550 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18552 which seems to be undefined. Please make sure it is defined." >&5
18553 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18554 which seems to be undefined. Please make sure it is defined." >&2;}
18558 -) cat "$tmp/out" && rm -f "$tmp/out";;
18559 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18561 || as_fn_error "could not create $ac_file" "$LINENO" 5
18567 if test x"$ac_file" != x-; then
18569 $as_echo "/* $configure_input */" \
18570 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18571 } >"$tmp/config.h" \
18572 || as_fn_error "could not create $ac_file" "$LINENO" 5
18573 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18575 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18578 mv "$tmp/config.h" "$ac_file" \
18579 || as_fn_error "could not create $ac_file" "$LINENO" 5
18582 $as_echo "/* $configure_input */" \
18583 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18584 || as_fn_error "could not create -" "$LINENO" 5
18586 # Compute "$ac_file"'s index
in $config_headers.
18589 for _am_header
in $config_headers :; do
18590 case $_am_header in
18591 $_am_arg |
$_am_arg:* )
18594 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18597 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18598 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18599 X"$_am_arg" : 'X\(//\)[^/]' \| \
18600 X"$_am_arg" : 'X\(//\)$' \| \
18601 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18602 $as_echo X"$_am_arg" |
18603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18607 /^X\(\/\/\)[^/].*/{
18619 s/.*/./; q'`/stamp-h
$_am_stamp_count
18622 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18623 $as_echo "$as_me: executing $ac_file commands" >&6;}
18628 case $ac_file$ac_mode in
18629 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18630 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18631 # are listed without --file. Let's play safe and only enable the eval
18632 # if we detect the quoting.
18633 case $CONFIG_FILES in
18634 *\'*) eval set x
"$CONFIG_FILES" ;;
18635 *) set x
$CONFIG_FILES ;;
18640 # Strip MF so we end up with the name of the file.
18641 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18642 # Check whether this is an Automake generated Makefile or not.
18643 # We used to match only the files named `Makefile.in', but
18644 # some people rename them; so instead we look at the file content.
18645 # Grep'ing the first line is not enough: some people post-process
18646 # each Makefile.in and add a new line on top of each file to say so.
18647 # Grep'ing the whole file is not good either: AIX grep has a line
18648 # limit of 2048, but all sed's we know have understand at least 4000.
18649 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18650 dirpart
=`$as_dirname -- "$mf" ||
18651 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18652 X"$mf" : 'X\(//\)[^/]' \| \
18653 X"$mf" : 'X\(//\)$' \| \
18654 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18660 /^X\(\/\/\)[^/].*/{
18676 # Extract the definition of DEPDIR, am__include, and am__quote
18677 # from the Makefile without running `make'.
18678 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18679 test -z "$DEPDIR" && continue
18680 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18681 test -z "am__include" && continue
18682 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18683 # When using ansi2knr, U may be empty or an underscore; expand it
18684 U
=`sed -n 's/^U = //p' < "$mf"`
18685 # Find all dependency output files, they are included files with
18686 # $(DEPDIR) in their names. We invoke sed twice because it is the
18687 # simplest approach to changing $(DEPDIR) to its actual value in the
18689 for file in `sed -n "
18690 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18691 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18692 # Make sure the directory exists.
18693 test -f "$dirpart/$file" && continue
18694 fdir
=`$as_dirname -- "$file" ||
18695 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18696 X"$file" : 'X\(//\)[^/]' \| \
18697 X"$file" : 'X\(//\)$' \| \
18698 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18699 $as_echo X"$file" |
18700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18704 /^X\(\/\/\)[^/].*/{
18717 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18718 # echo "creating $dirpart/$file"
18719 echo '# dummy' > "$dirpart/$file"
18726 # See if we are running on zsh, and set the options which allow our
18727 # commands through without removal of \ escapes.
18728 if test -n "${ZSH_VERSION+set}" ; then
18729 setopt NO_GLOB_SUBST
18732 cfgfile
="${ofile}T"
18733 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18736 cat <<_LT_EOF >> "$cfgfile"
18739 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18740 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18741 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18742 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18744 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18745 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18746 # Written by Gordon Matzigkeit, 1996
18748 # This file is part of GNU Libtool.
18750 # GNU Libtool is free software; you can redistribute it and/or
18751 # modify it under the terms of the GNU General Public License as
18752 # published by the Free Software Foundation; either version 2 of
18753 # the License, or (at your option) any later version.
18755 # As a special exception to the GNU General Public License,
18756 # if you distribute this file as part of a program or library that
18757 # is built using GNU Libtool, you may include this file under the
18758 # same distribution terms that you use for the rest of that program.
18760 # GNU Libtool is distributed in the hope that it will be useful,
18761 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18762 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18763 # GNU General Public License for more details.
18765 # You should have received a copy of the GNU General Public License
18766 # along with GNU Libtool; see the file COPYING. If not, a copy
18767 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18768 # obtained by writing to the Free Software Foundation, Inc.,
18769 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18772 # The names of the tagged configurations supported by this script.
18773 available_tags="CXX "
18775 # ### BEGIN LIBTOOL CONFIG
18777 # Which release of libtool.m4 was used?
18778 macro_version=$macro_version
18779 macro_revision=$macro_revision
18781 # Whether or not to build shared libraries.
18782 build_libtool_libs=$enable_shared
18784 # Whether or not to build static libraries.
18785 build_old_libs=$enable_static
18787 # What type of objects to build.
18790 # Whether or not to optimize for fast installation.
18791 fast_install=$enable_fast_install
18793 # Shell to use when invoking shell scripts.
18796 # An echo program that protects backslashes.
18800 host_alias=$host_alias
18804 # The build system.
18805 build_alias=$build_alias
18809 # A sed program that does not truncate output.
18812 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18813 Xsed="\$SED -e 1s/^X//"
18815 # A grep program that handles long lines.
18821 # A literal string matcher.
18824 # A BSD- or MS-compatible name lister.
18827 # Whether we need soft or hard links.
18830 # What is the maximum length of a command?
18831 max_cmd_len=$max_cmd_len
18833 # Object file suffix (normally "o").
18836 # Executable file suffix (normally "").
18839 # whether the shell understands "unset".
18842 # turn spaces into newlines.
18845 # turn newlines into spaces.
18848 # An object symbol dumper.
18849 OBJDUMP=$lt_OBJDUMP
18851 # Method to check whether dependent libraries are shared objects.
18852 deplibs_check_method=$lt_deplibs_check_method
18854 # Command to use when deplibs_check_method == "file_magic".
18855 file_magic_cmd=$lt_file_magic_cmd
18859 AR_FLAGS=$lt_AR_FLAGS
18861 # A symbol stripping program.
18864 # Commands used to install an old-style archive.
18866 old_postinstall_cmds=$lt_old_postinstall_cmds
18867 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18869 # Whether to use a lock for old archive extraction.
18870 lock_old_archive_extraction=$lock_old_archive_extraction
18875 # LTCC compiler flags.
18876 LTCFLAGS=$lt_CFLAGS
18878 # Take the output of nm and produce a listing of raw symbols and C names.
18879 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18881 # Transform the output of nm in a proper C declaration.
18882 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18884 # Transform the output of nm in a C name address pair.
18885 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18887 # Transform the output of nm in a C name address pair when lib prefix is needed.
18888 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18890 # The name of the directory that contains temporary libtool files.
18893 # Used to examine libraries when file_magic_cmd begins with "file".
18894 MAGIC_CMD=$MAGIC_CMD
18896 # Must we lock files when doing compilation?
18897 need_locks=$lt_need_locks
18899 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18900 DSYMUTIL=$lt_DSYMUTIL
18902 # Tool to change global to local symbols on Mac OS X.
18905 # Tool to manipulate fat objects and archives on Mac OS X.
18908 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18911 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18912 OTOOL64=$lt_OTOOL64
18914 # Old archive suffix (normally "a").
18917 # Shared library suffix (normally ".so").
18918 shrext_cmds=$lt_shrext_cmds
18920 # The commands to extract the exported symbol list from a shared archive.
18921 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18923 # Variables whose values should be saved in libtool wrapper scripts and
18924 # restored at link time.
18925 variables_saved_for_relink=$lt_variables_saved_for_relink
18927 # Do we need the "lib" prefix for modules?
18928 need_lib_prefix=$need_lib_prefix
18930 # Do we need a version for libraries?
18931 need_version=$need_version
18933 # Library versioning type.
18934 version_type=$version_type
18936 # Shared library runtime path variable.
18937 runpath_var=$runpath_var
18939 # Shared library path variable.
18940 shlibpath_var=$shlibpath_var
18942 # Is shlibpath searched before the hard-coded library search path?
18943 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18945 # Format of library name prefix.
18946 libname_spec=$lt_libname_spec
18948 # List of archive names. First name is the real one, the rest are links.
18949 # The last name is the one that the linker finds with -lNAME
18950 library_names_spec=$lt_library_names_spec
18952 # The coded name of the library, if different from the real name.
18953 soname_spec=$lt_soname_spec
18955 # Permission mode override for installation of shared libraries.
18956 install_override_mode=$lt_install_override_mode
18958 # Command to use after installation of a shared archive.
18959 postinstall_cmds=$lt_postinstall_cmds
18961 # Command to use after uninstallation of a shared archive.
18962 postuninstall_cmds=$lt_postuninstall_cmds
18964 # Commands used to finish a libtool library installation in a directory.
18965 finish_cmds=$lt_finish_cmds
18967 # As "finish_cmds", except a single script fragment to be evaled but
18969 finish_eval=$lt_finish_eval
18971 # Whether we should hardcode library paths into libraries.
18972 hardcode_into_libs=$hardcode_into_libs
18974 # Compile-time system search path for libraries.
18975 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18977 # Run-time system search path for libraries.
18978 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18980 # Whether dlopen is supported.
18981 dlopen_support=$enable_dlopen
18983 # Whether dlopen of programs is supported.
18984 dlopen_self=$enable_dlopen_self
18986 # Whether dlopen of statically linked programs is supported.
18987 dlopen_self_static=$enable_dlopen_self_static
18989 # Commands to strip libraries.
18990 old_striplib=$lt_old_striplib
18991 striplib=$lt_striplib
18994 # The linker used to build libraries.
18997 # How to create reloadable object files.
18998 reload_flag=$lt_reload_flag
18999 reload_cmds=$lt_reload_cmds
19001 # Commands used to build an old-style archive.
19002 old_archive_cmds=$lt_old_archive_cmds
19004 # A language specific compiler.
19007 # Is the compiler the GNU compiler?
19010 # Compiler flag to turn off builtin functions.
19011 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19013 # How to pass a linker flag through the compiler.
19014 wl=$lt_lt_prog_compiler_wl
19016 # Additional compiler flags for building library objects.
19017 pic_flag=$lt_lt_prog_compiler_pic
19019 # Compiler flag to prevent dynamic linking.
19020 link_static_flag=$lt_lt_prog_compiler_static
19022 # Does compiler simultaneously support -c and -o options?
19023 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19025 # Whether or not to add -lc for building shared libraries.
19026 build_libtool_need_lc=$archive_cmds_need_lc
19028 # Whether or not to disallow shared libs when runtime libs are static.
19029 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19031 # Compiler flag to allow reflexive dlopens.
19032 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19034 # Compiler flag to generate shared objects directly from archives.
19035 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19037 # Whether the compiler copes with passing no objects directly.
19038 compiler_needs_object=$lt_compiler_needs_object
19040 # Create an old-style archive from a shared archive.
19041 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19043 # Create a temporary old-style archive to link instead of a shared archive.
19044 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19046 # Commands used to build a shared archive.
19047 archive_cmds=$lt_archive_cmds
19048 archive_expsym_cmds=$lt_archive_expsym_cmds
19050 # Commands used to build a loadable module if different from building
19051 # a shared archive.
19052 module_cmds=$lt_module_cmds
19053 module_expsym_cmds=$lt_module_expsym_cmds
19055 # Whether we are building with GNU ld or not.
19056 with_gnu_ld=$lt_with_gnu_ld
19058 # Flag that allows shared libraries with undefined symbols to be built.
19059 allow_undefined_flag=$lt_allow_undefined_flag
19061 # Flag that enforces no undefined symbols.
19062 no_undefined_flag=$lt_no_undefined_flag
19064 # Flag to hardcode \$libdir into a binary during linking.
19065 # This must work even if \$libdir does not exist
19066 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19068 # If ld is used when linking, flag to hardcode \$libdir into a binary
19069 # during linking. This must work even if \$libdir does not exist.
19070 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19072 # Whether we need a single "-rpath" flag with a separated argument.
19073 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19075 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19076 # DIR into the resulting binary.
19077 hardcode_direct=$hardcode_direct
19079 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19080 # DIR into the resulting binary and the resulting library dependency is
19081 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19082 # library is relocated.
19083 hardcode_direct_absolute=$hardcode_direct_absolute
19085 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19086 # into the resulting binary.
19087 hardcode_minus_L=$hardcode_minus_L
19089 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19090 # into the resulting binary.
19091 hardcode_shlibpath_var=$hardcode_shlibpath_var
19093 # Set to "yes" if building a shared library automatically hardcodes DIR
19094 # into the library and all subsequent libraries and executables linked
19096 hardcode_automatic=$hardcode_automatic
19098 # Set to yes if linker adds runtime paths of dependent libraries
19099 # to runtime path list.
19100 inherit_rpath=$inherit_rpath
19102 # Whether libtool must link a program against all its dependency libraries.
19103 link_all_deplibs=$link_all_deplibs
19105 # Fix the shell variable \$srcfile for the compiler.
19106 fix_srcfile_path=$lt_fix_srcfile_path
19108 # Set to "yes" if exported symbols are required.
19109 always_export_symbols=$always_export_symbols
19111 # The commands to list exported symbols.
19112 export_symbols_cmds=$lt_export_symbols_cmds
19114 # Symbols that should not be listed in the preloaded symbols.
19115 exclude_expsyms=$lt_exclude_expsyms
19117 # Symbols that must always be exported.
19118 include_expsyms=$lt_include_expsyms
19120 # Commands necessary for linking programs (against libraries) with templates.
19121 prelink_cmds=$lt_prelink_cmds
19123 # Specify filename containing input files.
19124 file_list_spec=$lt_file_list_spec
19126 # How to hardcode a shared library path into an executable.
19127 hardcode_action=$hardcode_action
19129 # The directories searched by this compiler when creating a shared library.
19130 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19132 # Dependencies to place before and after the objects being linked to
19133 # create a shared library.
19134 predep_objects=$lt_predep_objects
19135 postdep_objects=$lt_postdep_objects
19136 predeps=$lt_predeps
19137 postdeps=$lt_postdeps
19139 # The library search path used internally by the compiler when linking
19140 # a shared library.
19141 compiler_lib_search_path=$lt_compiler_lib_search_path
19143 # ### END LIBTOOL CONFIG
19149 cat <<\_LT_EOF
>> "$cfgfile"
19150 # AIX sometimes has problems with the GCC collect2 program. For some
19151 # reason, if we set the COLLECT_NAMES environment variable, the problems
19152 # vanish in a puff of smoke.
19153 if test "X${COLLECT_NAMES+set}" != Xset
; then
19155 export COLLECT_NAMES
19162 ltmain
="$ac_aux_dir/ltmain.sh"
19165 # We use sed instead of cat because bash on DJGPP gets confused if
19166 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19167 # text mode, it properly converts lines to CR/LF. This bash problem
19168 # is reportedly fixed, but why not run on old versions too?
19169 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19170 ||
(rm -f "$cfgfile"; exit 1)
19174 cat << \_LT_EOF
>> "$cfgfile"
19176 # func_dirname file append nondir_replacement
19177 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19178 # otherwise set result to NONDIR_REPLACEMENT.
19182 */*) func_dirname_result
="${1%/*}${2}" ;;
19183 * ) func_dirname_result
="${3}" ;;
19187 # func_basename file
19190 func_basename_result
="${1##*/}"
19193 # func_dirname_and_basename file append nondir_replacement
19194 # perform func_basename and func_dirname in a single function
19196 # dirname: Compute the dirname of FILE. If nonempty,
19197 # add APPEND to the result, otherwise set result
19198 # to NONDIR_REPLACEMENT.
19199 # value returned in "$func_dirname_result"
19200 # basename: Compute filename of FILE.
19201 # value retuned in "$func_basename_result"
19202 # Implementation must be kept synchronized with func_dirname
19203 # and func_basename. For efficiency, we do not delegate to
19204 # those functions but instead duplicate the functionality here.
19205 func_dirname_and_basename
()
19208 */*) func_dirname_result
="${1%/*}${2}" ;;
19209 * ) func_dirname_result
="${3}" ;;
19211 func_basename_result
="${1##*/}"
19214 # func_stripname prefix suffix name
19215 # strip PREFIX and SUFFIX off of NAME.
19216 # PREFIX and SUFFIX must not contain globbing or regex special
19217 # characters, hashes, percent signs, but SUFFIX may contain a leading
19218 # dot (in which case that matches only a dot).
19221 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19222 # positional parameters, so assign one to ordinary parameter first.
19223 func_stripname_result
=${3}
19224 func_stripname_result
=${func_stripname_result#"${1}"}
19225 func_stripname_result
=${func_stripname_result%"${2}"}
19231 func_opt_split_opt
=${1%%=*}
19232 func_opt_split_arg
=${1#*=}
19239 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19240 *) func_lo2o_result
=${1} ;;
19244 # func_xform libobj-or-source
19247 func_xform_result
=${1%.*}.lo
19250 # func_arith arithmetic-term...
19253 func_arith_result
=$
(( $
* ))
19257 # STRING may not start with a hyphen.
19260 func_len_result
=${#1}
19265 *) # Bourne compatible functions.
19266 cat << \_LT_EOF
>> "$cfgfile"
19268 # func_dirname file append nondir_replacement
19269 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19270 # otherwise set result to NONDIR_REPLACEMENT.
19273 # Extract subdirectory from the argument.
19274 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19275 if test "X$func_dirname_result" = "X${1}"; then
19276 func_dirname_result
="${3}"
19278 func_dirname_result
="$func_dirname_result${2}"
19282 # func_basename file
19285 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19289 # func_stripname prefix suffix name
19290 # strip PREFIX and SUFFIX off of NAME.
19291 # PREFIX and SUFFIX must not contain globbing or regex special
19292 # characters, hashes, percent signs, but SUFFIX may contain a leading
19293 # dot (in which case that matches only a dot).
19294 # func_strip_suffix prefix name
19298 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19299 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19304 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19305 my_sed_long_arg
='1s/^-[^=]*=//'
19310 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19311 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19317 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19320 # func_xform libobj-or-source
19323 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19326 # func_arith arithmetic-term...
19329 func_arith_result
=`expr "$@"`
19333 # STRING may not start with a hyphen.
19336 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19342 case $lt_shell_append in
19344 cat << \_LT_EOF
>> "$cfgfile"
19346 # func_append var value
19347 # Append VALUE to the end of shell variable VAR.
19355 cat << \_LT_EOF
>> "$cfgfile"
19357 # func_append var value
19358 # Append VALUE to the end of shell variable VAR.
19369 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19370 ||
(rm -f "$cfgfile"; exit 1)
19372 mv -f "$cfgfile" "$ofile" ||
19373 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19377 cat <<_LT_EOF >> "$ofile"
19379 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19381 # The linker used to build libraries.
19384 # How to create reloadable object files.
19385 reload_flag=$lt_reload_flag_CXX
19386 reload_cmds=$lt_reload_cmds_CXX
19388 # Commands used to build an old-style archive.
19389 old_archive_cmds=$lt_old_archive_cmds_CXX
19391 # A language specific compiler.
19392 CC=$lt_compiler_CXX
19394 # Is the compiler the GNU compiler?
19397 # Compiler flag to turn off builtin functions.
19398 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19400 # How to pass a linker flag through the compiler.
19401 wl=$lt_lt_prog_compiler_wl_CXX
19403 # Additional compiler flags for building library objects.
19404 pic_flag=$lt_lt_prog_compiler_pic_CXX
19406 # Compiler flag to prevent dynamic linking.
19407 link_static_flag=$lt_lt_prog_compiler_static_CXX
19409 # Does compiler simultaneously support -c and -o options?
19410 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19412 # Whether or not to add -lc for building shared libraries.
19413 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19415 # Whether or not to disallow shared libs when runtime libs are static.
19416 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19418 # Compiler flag to allow reflexive dlopens.
19419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19421 # Compiler flag to generate shared objects directly from archives.
19422 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19424 # Whether the compiler copes with passing no objects directly.
19425 compiler_needs_object=$lt_compiler_needs_object_CXX
19427 # Create an old-style archive from a shared archive.
19428 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19430 # Create a temporary old-style archive to link instead of a shared archive.
19431 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19433 # Commands used to build a shared archive.
19434 archive_cmds=$lt_archive_cmds_CXX
19435 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19437 # Commands used to build a loadable module if different from building
19438 # a shared archive.
19439 module_cmds=$lt_module_cmds_CXX
19440 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19442 # Whether we are building with GNU ld or not.
19443 with_gnu_ld=$lt_with_gnu_ld_CXX
19445 # Flag that allows shared libraries with undefined symbols to be built.
19446 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19448 # Flag that enforces no undefined symbols.
19449 no_undefined_flag=$lt_no_undefined_flag_CXX
19451 # Flag to hardcode \$libdir into a binary during linking.
19452 # This must work even if \$libdir does not exist
19453 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19455 # If ld is used when linking, flag to hardcode \$libdir into a binary
19456 # during linking. This must work even if \$libdir does not exist.
19457 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19459 # Whether we need a single "-rpath" flag with a separated argument.
19460 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19462 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19463 # DIR into the resulting binary.
19464 hardcode_direct=$hardcode_direct_CXX
19466 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19467 # DIR into the resulting binary and the resulting library dependency is
19468 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19469 # library is relocated.
19470 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19472 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19473 # into the resulting binary.
19474 hardcode_minus_L=$hardcode_minus_L_CXX
19476 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19477 # into the resulting binary.
19478 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19480 # Set to "yes" if building a shared library automatically hardcodes DIR
19481 # into the library and all subsequent libraries and executables linked
19483 hardcode_automatic=$hardcode_automatic_CXX
19485 # Set to yes if linker adds runtime paths of dependent libraries
19486 # to runtime path list.
19487 inherit_rpath=$inherit_rpath_CXX
19489 # Whether libtool must link a program against all its dependency libraries.
19490 link_all_deplibs=$link_all_deplibs_CXX
19492 # Fix the shell variable \$srcfile for the compiler.
19493 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19495 # Set to "yes" if exported symbols are required.
19496 always_export_symbols=$always_export_symbols_CXX
19498 # The commands to list exported symbols.
19499 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19501 # Symbols that should not be listed in the preloaded symbols.
19502 exclude_expsyms=$lt_exclude_expsyms_CXX
19504 # Symbols that must always be exported.
19505 include_expsyms=$lt_include_expsyms_CXX
19507 # Commands necessary for linking programs (against libraries) with templates.
19508 prelink_cmds=$lt_prelink_cmds_CXX
19510 # Specify filename containing input files.
19511 file_list_spec=$lt_file_list_spec_CXX
19513 # How to hardcode a shared library path into an executable.
19514 hardcode_action=$hardcode_action_CXX
19516 # The directories searched by this compiler when creating a shared library.
19517 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19519 # Dependencies to place before and after the objects being linked to
19520 # create a shared library.
19521 predep_objects=$lt_predep_objects_CXX
19522 postdep_objects=$lt_postdep_objects_CXX
19523 predeps=$lt_predeps_CXX
19524 postdeps=$lt_postdeps_CXX
19526 # The library search path used internally by the compiler when linking
19527 # a shared library.
19528 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19530 # ### END LIBTOOL TAG CONFIG: CXX
19535 for ac_file
in $CONFIG_FILES; do
19536 # Support "outfile[:infile[:infile...]]"
19538 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19540 # PO directories have a Makefile.in generated from Makefile.in.in.
19541 case "$ac_file" in */Makefile.
in)
19542 # Adjust a relative srcdir.
19543 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19544 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
19545 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19546 # In autoconf-2.13 it is called $ac_given_srcdir.
19547 # In autoconf-2.50 it is called $srcdir.
19548 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
19549 case "$ac_given_srcdir" in
19550 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
19551 /*) top_srcdir
="$ac_given_srcdir" ;;
19552 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19554 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19555 rm -f "$ac_dir/POTFILES"
19556 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
19557 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19558 POMAKEFILEDEPS
="POTFILES.in"
19559 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
19560 # on $ac_dir but don't depend on user-specified configuration
19562 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19563 # The LINGUAS file contains the set of available languages.
19564 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19565 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
19567 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19568 # Hide the ALL_LINGUAS assigment from automake.
19569 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19570 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
19572 # The set of available languages was given in configure.in.
19573 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19575 case "$ac_given_srcdir" in
19577 *) srcdirpre
='$(srcdir)/' ;;
19583 for lang
in $ALL_LINGUAS; do
19584 POFILES
="$POFILES $srcdirpre$lang.po"
19585 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
19586 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
19587 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
19589 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19590 # environment variable.
19592 if test -n "$ALL_LINGUAS"; then
19593 for presentlang
in $ALL_LINGUAS; do
19595 if test "%UNSET%" != "$LINGUAS"; then
19596 desiredlanguages
="$LINGUAS"
19598 desiredlanguages
="$ALL_LINGUAS"
19600 for desiredlang
in $desiredlanguages; do
19601 # Use the presentlang catalog if desiredlang is
19602 # a. equal to presentlang, or
19603 # b. a variant of presentlang (because in this case,
19604 # presentlang can be used as a fallback for messages
19605 # which are not translated in the desiredlang catalog).
19606 case "$desiredlang" in
19607 "$presentlang"*) useit
=yes;;
19610 if test $useit = yes; then
19611 INST_LINGUAS
="$INST_LINGUAS $presentlang"
19616 if test -n "$INST_LINGUAS"; then
19617 for lang
in $INST_LINGUAS; do
19618 CATALOGS
="$CATALOGS $lang.gmo"
19621 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
19622 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19623 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
19624 if test -f "$f"; then
19626 *.orig |
*.bak |
*~
) ;;
19627 *) cat "$f" >> "$ac_dir/Makefile" ;;
19642 ac_clean_files
=$ac_clean_files_save
19644 test $ac_write_fail = 0 ||
19645 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19648 # configure is writing to config.log, and then calls config.status.
19649 # config.status does its own redirection, appending to config.log.
19650 # Unfortunately, on DOS this fails, as config.log is still kept open
19651 # by configure, so config.status won't be able to write to it; its
19652 # output is simply discarded. So we exec the FD to /dev/null,
19653 # effectively closing config.log, so it can be properly (re)opened and
19654 # appended to by config.status. When coming back to configure, we
19655 # need to make the FD available again.
19656 if test "$no_create" != yes; then
19658 ac_config_status_args
=
19659 test "$silent" = yes &&
19660 ac_config_status_args
="$ac_config_status_args --quiet"
19662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19665 # would make configure fail if this is the last instruction.
19666 $ac_cs_success || as_fn_exit $?
19668 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19670 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}