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
10364 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10365 # support. Future versions do this automatically, but an explicit c++rt0.o
10366 # does not break anything, and helps significantly (at the cost of a little
10369 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10370 hardcode_libdir_flag_spec
='-R$libdir'
10371 hardcode_direct
=yes
10372 hardcode_shlibpath_var
=no
10375 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10377 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10378 hardcode_direct
=yes
10379 hardcode_minus_L
=yes
10380 hardcode_shlibpath_var
=no
10383 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10384 freebsd
* | dragonfly
*)
10385 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10386 hardcode_libdir_flag_spec
='-R$libdir'
10387 hardcode_direct
=yes
10388 hardcode_shlibpath_var
=no
10392 if test "$GCC" = yes; then
10393 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'
10395 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'
10397 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10398 hardcode_libdir_separator
=:
10399 hardcode_direct
=yes
10401 # hardcode_minus_L: Not really in the search PATH,
10402 # but as the default location of the library.
10403 hardcode_minus_L
=yes
10404 export_dynamic_flag_spec
='${wl}-E'
10408 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10409 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10411 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10413 if test "$with_gnu_ld" = no
; then
10414 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10415 hardcode_libdir_flag_spec_ld
='+b $libdir'
10416 hardcode_libdir_separator
=:
10417 hardcode_direct
=yes
10418 hardcode_direct_absolute
=yes
10419 export_dynamic_flag_spec
='${wl}-E'
10420 # hardcode_minus_L: Not really in the search PATH,
10421 # but as the default location of the library.
10422 hardcode_minus_L
=yes
10427 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10430 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10433 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10436 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10442 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10445 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10449 # Older versions of the 11.00 compiler do not understand -b yet
10450 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10452 $as_echo_n "checking if $CC understands -b... " >&6; }
10453 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10454 $as_echo_n "(cached) " >&6
10456 lt_cv_prog_compiler__b
=no
10457 save_LDFLAGS
="$LDFLAGS"
10458 LDFLAGS
="$LDFLAGS -b"
10459 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10460 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10461 # The linker can only warn and ignore the option if not recognized
10462 # So say no if there are warnings
10463 if test -s conftest.err
; then
10464 # Append any errors to the config.log.
10465 cat conftest.err
1>&5
10466 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10467 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10468 if diff conftest.exp conftest.er2
>/dev
/null
; then
10469 lt_cv_prog_compiler__b
=yes
10472 lt_cv_prog_compiler__b
=yes
10476 LDFLAGS
="$save_LDFLAGS"
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10480 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10482 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10483 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10485 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10491 if test "$with_gnu_ld" = no
; then
10492 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10493 hardcode_libdir_separator
=:
10498 hardcode_shlibpath_var
=no
10501 hardcode_direct
=yes
10502 hardcode_direct_absolute
=yes
10503 export_dynamic_flag_spec
='${wl}-E'
10505 # hardcode_minus_L: Not really in the search PATH,
10506 # but as the default location of the library.
10507 hardcode_minus_L
=yes
10513 irix5
* | irix6
* | nonstopux
*)
10514 if test "$GCC" = yes; then
10515 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'
10516 # Try to use the -exported_symbol ld option, if it does not
10517 # work, assume that -exports_file does not work either and
10518 # implicitly export all symbols.
10519 save_LDFLAGS
="$LDFLAGS"
10520 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10525 if ac_fn_c_try_link
"$LINENO"; then :
10526 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'
10529 rm -f core conftest.err conftest.
$ac_objext \
10530 conftest
$ac_exeext conftest.
$ac_ext
10531 LDFLAGS
="$save_LDFLAGS"
10533 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'
10534 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'
10536 archive_cmds_need_lc
='no'
10537 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10538 hardcode_libdir_separator
=:
10540 link_all_deplibs
=yes
10544 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10545 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10547 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10549 hardcode_libdir_flag_spec
='-R$libdir'
10550 hardcode_direct
=yes
10551 hardcode_shlibpath_var
=no
10555 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10556 hardcode_direct
=yes
10557 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10558 hardcode_libdir_separator
=:
10559 hardcode_shlibpath_var
=no
10566 if test -f /usr
/libexec
/ld.so
; then
10567 hardcode_direct
=yes
10568 hardcode_shlibpath_var
=no
10569 hardcode_direct_absolute
=yes
10570 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10571 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10572 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10573 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10574 export_dynamic_flag_spec
='${wl}-E'
10577 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10578 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10579 hardcode_libdir_flag_spec
='-R$libdir'
10582 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10583 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10593 hardcode_libdir_flag_spec
='-L$libdir'
10594 hardcode_minus_L
=yes
10595 allow_undefined_flag
=unsupported
10596 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'
10597 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10601 if test "$GCC" = yes; then
10602 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10603 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'
10605 allow_undefined_flag
=' -expect_unresolved \*'
10606 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'
10608 archive_cmds_need_lc
='no'
10609 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10610 hardcode_libdir_separator
=:
10613 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10614 if test "$GCC" = yes; then
10615 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10616 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'
10617 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10619 allow_undefined_flag
=' -expect_unresolved \*'
10620 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'
10621 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~
10622 $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'
10624 # Both c and cxx compiler support -rpath directly
10625 hardcode_libdir_flag_spec
='-rpath $libdir'
10627 archive_cmds_need_lc
='no'
10628 hardcode_libdir_separator
=:
10632 no_undefined_flag
=' -z defs'
10633 if test "$GCC" = yes; then
10635 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10636 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10637 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10639 case `$CC -V 2>&1` in
10642 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10643 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10644 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10648 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10649 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10650 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10654 hardcode_libdir_flag_spec
='-R$libdir'
10655 hardcode_shlibpath_var
=no
10657 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10659 # The compiler driver will combine and reorder linker options,
10660 # but understands `-z linker_flag'. GCC discards it without `$wl',
10661 # but is careful enough not to reorder.
10662 # Supported since Solaris 2.6 (maybe 2.5.1?)
10663 if test "$GCC" = yes; then
10664 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10666 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10670 link_all_deplibs
=yes
10674 if test "x$host_vendor" = xsequent
; then
10675 # Use $CC to link under sequent, because it throws in some extra .o
10676 # files that make .init and .fini sections work.
10677 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10679 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10681 hardcode_libdir_flag_spec
='-L$libdir'
10682 hardcode_direct
=yes
10683 hardcode_minus_L
=yes
10684 hardcode_shlibpath_var
=no
10688 case $host_vendor in
10690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691 hardcode_direct
=yes # is this really true???
10694 ## LD is ld it makes a PLAMLIB
10695 ## CC just makes a GrossModule.
10696 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10697 reload_cmds
='$CC -r -o $output$reload_objs'
10701 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10702 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10705 runpath_var
='LD_RUN_PATH'
10706 hardcode_shlibpath_var
=no
10710 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10711 hardcode_shlibpath_var
=no
10712 export_dynamic_flag_spec
='-Bexport'
10716 if test -d /usr
/nec
; then
10717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10718 hardcode_shlibpath_var
=no
10719 runpath_var
=LD_RUN_PATH
10720 hardcode_runpath_var
=yes
10725 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10726 no_undefined_flag
='${wl}-z,text'
10727 archive_cmds_need_lc
=no
10728 hardcode_shlibpath_var
=no
10729 runpath_var
='LD_RUN_PATH'
10731 if test "$GCC" = yes; then
10732 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10733 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10735 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10736 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10740 sysv5
* | sco3.2v5
* | sco5v6
*)
10741 # Note: We can NOT use -z defs as we might desire, because we do not
10742 # link with -lc, and that would cause any symbols used from libc to
10743 # always be unresolved, which means just about no library would
10744 # ever link correctly. If we're not using GNU ld we use -z text
10745 # though, which does catch some bad symbols but isn't as heavy-handed
10747 no_undefined_flag
='${wl}-z,text'
10748 allow_undefined_flag
='${wl}-z,nodefs'
10749 archive_cmds_need_lc
=no
10750 hardcode_shlibpath_var
=no
10751 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10752 hardcode_libdir_separator
=':'
10753 link_all_deplibs
=yes
10754 export_dynamic_flag_spec
='${wl}-Bexport'
10755 runpath_var
='LD_RUN_PATH'
10757 if test "$GCC" = yes; then
10758 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10761 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10762 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10767 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_libdir_flag_spec
='-L$libdir'
10769 hardcode_shlibpath_var
=no
10777 if test x
$host_vendor = xsni
; then
10779 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10780 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10787 $as_echo "$ld_shlibs" >&6; }
10788 test "$ld_shlibs" = no
&& can_build_shared
=no
10790 with_gnu_ld
=$with_gnu_ld
10807 # Do we need to explicitly link libc?
10809 case "x$archive_cmds_need_lc" in
10811 # Assume -lc should be added
10812 archive_cmds_need_lc
=yes
10814 if test "$enable_shared" = yes && test "$GCC" = yes; then
10815 case $archive_cmds in
10817 # FIXME: we may have to deal with multi-command sequences.
10820 # Test whether the compiler implicitly links with -lc since on some
10821 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10822 # to ld, don't add -lc before -lgcc.
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10824 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10825 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10826 $as_echo_n "(cached) " >&6
10829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10832 (eval $ac_compile) 2>&5
10834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10835 test $ac_status = 0; } 2>conftest.err
; then
10838 libobjs
=conftest.
$ac_objext
10840 wl
=$lt_prog_compiler_wl
10841 pic_flag
=$lt_prog_compiler_pic
10847 lt_save_allow_undefined_flag
=$allow_undefined_flag
10848 allow_undefined_flag
=
10849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10850 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10853 test $ac_status = 0; }
10855 lt_cv_archive_cmds_need_lc
=no
10857 lt_cv_archive_cmds_need_lc
=yes
10859 allow_undefined_flag
=$lt_save_allow_undefined_flag
10861 cat conftest.err
1>&5
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10867 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10868 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11032 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11034 if test "$GCC" = yes; then
11036 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11037 *) lt_awk_arg
="/^libraries:/" ;;
11040 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11041 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11043 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11044 case $lt_search_path_spec in
11046 # if the path contains ";" then we assume it to be the separator
11047 # otherwise default to the standard path separator (i.e. ":") - it is
11048 # assumed that no part of a normal pathname contains ";" but that should
11049 # okay in the real world where ";" in dirpaths is itself problematic.
11050 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11053 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11056 # Ok, now we have the path, separated by spaces, we can step through it
11057 # and add multilib dir if necessary.
11058 lt_tmp_lt_search_path_spec
=
11059 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11060 for lt_sys_path
in $lt_search_path_spec; do
11061 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11062 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11064 test -d "$lt_sys_path" && \
11065 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11068 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11069 BEGIN {RS=" "; FS="/|\n";} {
11072 for (lt_i = NF; lt_i > 0; lt_i--) {
11073 if ($lt_i != "" && $lt_i != ".") {
11074 if ($lt_i == "..") {
11077 if (lt_count == 0) {
11078 lt_foo="/" $lt_i lt_foo;
11085 if (lt_foo != "") { lt_freq[lt_foo]++; }
11086 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11088 # AWK program above erroneously prepends '/' to C:/dos/paths
11091 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11092 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11094 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11096 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11098 library_names_spec
=
11099 libname_spec
='lib$name'
11103 postuninstall_cmds
=
11107 shlibpath_overrides_runpath
=unknown
11109 dynamic_linker
="$host_os ld.so"
11110 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11111 need_lib_prefix
=unknown
11112 hardcode_into_libs
=no
11114 # when you set need_version to no, make sure it does not cause -set_version
11115 # flags to be left without arguments
11116 need_version
=unknown
11121 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11122 shlibpath_var
=LIBPATH
11124 # AIX 3 has no versioning support, so we append a major version to the name.
11125 soname_spec
='${libname}${release}${shared_ext}$major'
11132 hardcode_into_libs
=yes
11133 if test "$host_cpu" = ia64
; then
11134 # AIX 5 supports IA64
11135 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11136 shlibpath_var
=LD_LIBRARY_PATH
11138 # With GCC up to 2.95.x, collect2 would create an import file
11139 # for dependence libraries. The import file would start with
11140 # the line `#! .'. This would cause the generated library to
11141 # depend on `.', always an invalid library. This was fixed in
11142 # development snapshots of GCC prior to 3.0.
11144 aix4 | aix4.
[01] | aix4.
[01].
*)
11145 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11147 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11150 can_build_shared
=no
11154 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11155 # soname into executable. Probably we can add versioning support to
11156 # collect2, so additional links can be useful in future.
11157 if test "$aix_use_runtimelinking" = yes; then
11158 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11159 # instead of lib<name>.a to let people know that these are not
11160 # typical AIX shared libraries.
11161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 # We preserve .a as extension for shared libraries through AIX4.2
11164 # and later when we are not doing run time linking.
11165 library_names_spec
='${libname}${release}.a $libname.a'
11166 soname_spec
='${libname}${release}${shared_ext}$major'
11168 shlibpath_var
=LIBPATH
11175 # Since July 2007 AmigaOS4 officially supports .so libraries.
11176 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 library_names_spec
='$libname.ixlibrary $libname.a'
11181 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11182 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'
11188 library_names_spec
='${libname}${shared_ext}'
11189 dynamic_linker
="$host_os ld.so"
11190 shlibpath_var
=LIBRARY_PATH
11196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11197 soname_spec
='${libname}${release}${shared_ext}$major'
11198 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11199 shlibpath_var
=LD_LIBRARY_PATH
11200 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11201 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11202 # the default ld.so.conf also contains /usr/contrib/lib and
11203 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11204 # libtool to hard-code these into programs
11207 cygwin
* | mingw
* | pw32
* | cegcc
*)
11208 version_type
=windows
11213 case $GCC,$host_os in
11214 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11215 library_names_spec
='$libname.dll.a'
11216 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11217 postinstall_cmds
='base_file=`basename \${file}`~
11218 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11219 dldir=$destdir/`dirname \$dlpath`~
11220 test -d \$dldir || mkdir -p \$dldir~
11221 $install_prog $dir/$dlname \$dldir/$dlname~
11222 chmod a+x \$dldir/$dlname~
11223 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11224 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11226 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11227 dlpath=$dir/\$dldll~
11229 shlibpath_overrides_runpath
=yes
11233 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11234 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11236 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11239 # MinGW DLLs use traditional 'lib' prefix
11240 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11243 # pw32 DLLs use 'pw' prefix rather than 'lib'
11244 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11250 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11253 dynamic_linker
='Win32 ld.exe'
11254 # FIXME: first we should search . and the directory the executable is in
11258 darwin
* | rhapsody
*)
11259 dynamic_linker
="$host_os dyld"
11260 version_type
=darwin
11263 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11264 soname_spec
='${libname}${release}${major}$shared_ext'
11265 shlibpath_overrides_runpath
=yes
11266 shlibpath_var
=DYLD_LIBRARY_PATH
11267 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11269 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11270 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11278 soname_spec
='${libname}${release}${shared_ext}$major'
11279 shlibpath_var
=LD_LIBRARY_PATH
11282 freebsd
* | dragonfly
*)
11283 # DragonFly does not have aout. When/if they implement a new
11284 # versioning mechanism, adjust this.
11285 if test -x /usr
/bin
/objformat
; then
11286 objformat
=`/usr/bin/objformat`
11289 freebsd
[123]*) objformat
=aout
;;
11290 *) objformat
=elf
;;
11293 version_type
=freebsd-
$objformat
11294 case $version_type in
11296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11305 shlibpath_var
=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath
=yes
11310 freebsd3.
[01]* | freebsdelf3.
[01]*)
11311 shlibpath_overrides_runpath
=yes
11312 hardcode_into_libs
=yes
11314 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11315 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11316 shlibpath_overrides_runpath
=no
11317 hardcode_into_libs
=yes
11319 *) # from 4.6 on, and DragonFly
11320 shlibpath_overrides_runpath
=yes
11321 hardcode_into_libs
=yes
11330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11331 soname_spec
='${libname}${release}${shared_ext}$major'
11332 shlibpath_var
=LD_LIBRARY_PATH
11333 hardcode_into_libs
=yes
11340 dynamic_linker
="$host_os runtime_loader"
11341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11342 soname_spec
='${libname}${release}${shared_ext}$major'
11343 shlibpath_var
=LIBRARY_PATH
11344 shlibpath_overrides_runpath
=yes
11345 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11346 hardcode_into_libs
=yes
11349 hpux9
* | hpux10
* | hpux11
*)
11350 # Give a soname corresponding to the major version so that dld.sl refuses to
11351 # link against other versions.
11358 hardcode_into_libs
=yes
11359 dynamic_linker
="$host_os dld.so"
11360 shlibpath_var
=LD_LIBRARY_PATH
11361 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11363 soname_spec
='${libname}${release}${shared_ext}$major'
11364 if test "X$HPUX_IA64_MODE" = X32
; then
11365 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11367 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11369 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11373 hardcode_into_libs
=yes
11374 dynamic_linker
="$host_os dld.sl"
11375 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11376 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11378 soname_spec
='${libname}${release}${shared_ext}$major'
11379 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11380 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11384 dynamic_linker
="$host_os dld.sl"
11385 shlibpath_var
=SHLIB_PATH
11386 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388 soname_spec
='${libname}${release}${shared_ext}$major'
11391 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11392 postinstall_cmds
='chmod 555 $lib'
11393 # or fails outright, so override atomically:
11394 install_override_mode
=555
11401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11402 soname_spec
='${libname}${release}${shared_ext}$major'
11403 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11404 shlibpath_var
=LD_LIBRARY_PATH
11405 shlibpath_overrides_runpath
=no
11406 hardcode_into_libs
=yes
11409 irix5
* | irix6
* | nonstopux
*)
11411 nonstopux
*) version_type
=nonstopux
;;
11413 if test "$lt_cv_prog_gnu_ld" = yes; then
11421 soname_spec
='${libname}${release}${shared_ext}$major'
11422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11424 irix5
* | nonstopux
*)
11425 libsuff
= shlibsuff
=
11428 case $LD in # libtool.m4 will add one of these switches to LD
11429 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11430 libsuff
= shlibsuff
= libmagic
=32-bit;;
11431 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11432 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11433 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11434 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11435 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11439 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11440 shlibpath_overrides_runpath
=no
11441 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11442 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11443 hardcode_into_libs
=yes
11446 # No shared lib support for Linux oldld, aout, or coff.
11447 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11451 # This must be Linux ELF.
11452 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457 soname_spec
='${libname}${release}${shared_ext}$major'
11458 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11459 shlibpath_var
=LD_LIBRARY_PATH
11460 shlibpath_overrides_runpath
=no
11462 # Some binutils ld are patched to set DT_RUNPATH
11463 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11464 $as_echo_n "(cached) " >&6
11466 lt_cv_shlibpath_overrides_runpath
=no
11467 save_LDFLAGS
=$LDFLAGS
11468 save_libdir
=$libdir
11469 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11470 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11482 if ac_fn_c_try_link
"$LINENO"; then :
11483 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11484 lt_cv_shlibpath_overrides_runpath
=yes
11487 rm -f core conftest.err conftest.
$ac_objext \
11488 conftest
$ac_exeext conftest.
$ac_ext
11489 LDFLAGS
=$save_LDFLAGS
11490 libdir
=$save_libdir
11494 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11496 # This implies no fast_install, which is unacceptable.
11497 # Some rework will be needed to allow for fast_install
11498 # before this can be enabled.
11499 hardcode_into_libs
=yes
11501 # Append ld.so.conf contents to the search path
11502 if test -f /etc
/ld.so.conf
; then
11503 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' ' '`
11504 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11507 # We used to test for /lib/ld.so.1 and disable shared libraries on
11508 # powerpc, because MkLinux only supported shared libraries with the
11509 # GNU dynamic linker. Since this was broken with cross compilers,
11510 # most powerpc-linux boxes support dynamic linking these days and
11511 # people can always --disable-shared, the test was removed, and we
11512 # assume the GNU/Linux dynamic linker is in use.
11513 dynamic_linker
='GNU/Linux ld.so'
11520 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11522 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11523 dynamic_linker
='NetBSD (a.out) ld.so'
11525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11526 soname_spec
='${libname}${release}${shared_ext}$major'
11527 dynamic_linker
='NetBSD ld.elf_so'
11529 shlibpath_var
=LD_LIBRARY_PATH
11530 shlibpath_overrides_runpath
=yes
11531 hardcode_into_libs
=yes
11536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537 shlibpath_var
=LD_LIBRARY_PATH
11538 shlibpath_overrides_runpath
=yes
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11546 soname_spec
='${libname}${release}${shared_ext}$major'
11547 shlibpath_var
=LD_LIBRARY_PATH
11548 shlibpath_overrides_runpath
=no
11549 hardcode_into_libs
=yes
11550 dynamic_linker
='ldqnx.so'
11555 sys_lib_dlsearch_path_spec
="/usr/lib"
11557 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11559 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11560 *) need_version
=no
;;
11562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11563 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11564 shlibpath_var
=LD_LIBRARY_PATH
11565 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11567 openbsd2.
[89] | openbsd2.
[89].
*)
11568 shlibpath_overrides_runpath
=no
11571 shlibpath_overrides_runpath
=yes
11575 shlibpath_overrides_runpath
=yes
11580 libname_spec
='$name'
11583 library_names_spec
='$libname${shared_ext} $libname.a'
11584 dynamic_linker
='OS/2 ld.exe'
11585 shlibpath_var
=LIBPATH
11588 osf3
* | osf4
* | osf5
*)
11592 soname_spec
='${libname}${release}${shared_ext}$major'
11593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11594 shlibpath_var
=LD_LIBRARY_PATH
11595 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11596 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608 soname_spec
='${libname}${release}${shared_ext}$major'
11609 shlibpath_var
=LD_LIBRARY_PATH
11610 shlibpath_overrides_runpath
=yes
11611 hardcode_into_libs
=yes
11612 # ldd complains unless libraries are executable
11613 postinstall_cmds
='chmod +x $lib'
11618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11619 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11620 shlibpath_var
=LD_LIBRARY_PATH
11621 shlibpath_overrides_runpath
=yes
11622 if test "$with_gnu_ld" = yes; then
11630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 soname_spec
='${libname}${release}${shared_ext}$major'
11632 shlibpath_var
=LD_LIBRARY_PATH
11633 case $host_vendor in
11635 shlibpath_overrides_runpath
=no
11637 runpath_var
=LD_RUN_PATH
11645 shlibpath_overrides_runpath
=no
11646 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11652 if test -d /usr
/nec
;then
11654 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11655 soname_spec
='$libname${shared_ext}.$major'
11656 shlibpath_var
=LD_LIBRARY_PATH
11660 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11661 version_type
=freebsd-elf
11664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11665 soname_spec
='${libname}${release}${shared_ext}$major'
11666 shlibpath_var
=LD_LIBRARY_PATH
11667 shlibpath_overrides_runpath
=yes
11668 hardcode_into_libs
=yes
11669 if test "$with_gnu_ld" = yes; then
11670 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11672 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11675 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11679 sys_lib_dlsearch_path_spec
='/usr/lib'
11683 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11688 shlibpath_var
=LD_LIBRARY_PATH
11689 shlibpath_overrides_runpath
=no
11690 hardcode_into_libs
=yes
11695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11696 soname_spec
='${libname}${release}${shared_ext}$major'
11697 shlibpath_var
=LD_LIBRARY_PATH
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11705 $as_echo "$dynamic_linker" >&6; }
11706 test "$dynamic_linker" = no
&& can_build_shared
=no
11708 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11709 if test "$GCC" = yes; then
11710 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11713 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11714 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11716 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11717 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11812 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11814 if test -n "$hardcode_libdir_flag_spec" ||
11815 test -n "$runpath_var" ||
11816 test "X$hardcode_automatic" = "Xyes" ; then
11818 # We can hardcode non-existent directories.
11819 if test "$hardcode_direct" != no
&&
11820 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11821 # have to relink, otherwise we might link with an installed library
11822 # when we should be linking with a yet-to-be-installed one
11823 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11824 test "$hardcode_minus_L" != no
; then
11825 # Linking always hardcodes the temporary library directory.
11826 hardcode_action
=relink
11828 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11829 hardcode_action
=immediate
11832 # We cannot hardcode anything, or else we can only hardcode existing
11834 hardcode_action
=unsupported
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11837 $as_echo "$hardcode_action" >&6; }
11839 if test "$hardcode_action" = relink ||
11840 test "$inherit_rpath" = yes; then
11841 # Fast installation is not supported
11842 enable_fast_install
=no
11843 elif test "$shlibpath_overrides_runpath" = yes ||
11844 test "$enable_shared" = no
; then
11845 # Fast installation is not necessary
11846 enable_fast_install
=needless
11854 if test "x$enable_dlopen" != xyes
; then
11855 enable_dlopen
=unknown
11856 enable_dlopen_self
=unknown
11857 enable_dlopen_self_static
=unknown
11864 lt_cv_dlopen
="load_add_on"
11866 lt_cv_dlopen_self
=yes
11869 mingw
* | pw32
* | cegcc
*)
11870 lt_cv_dlopen
="LoadLibrary"
11875 lt_cv_dlopen
="dlopen"
11880 # if libdl is installed we need to link against it
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11882 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11884 $as_echo_n "(cached) " >&6
11886 ac_check_lib_save_LIBS
=$LIBS
11888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11906 if ac_fn_c_try_link
"$LINENO"; then :
11907 ac_cv_lib_dl_dlopen
=yes
11909 ac_cv_lib_dl_dlopen
=no
11911 rm -f core conftest.err conftest.
$ac_objext \
11912 conftest
$ac_exeext conftest.
$ac_ext
11913 LIBS
=$ac_check_lib_save_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11916 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11917 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11918 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11921 lt_cv_dlopen
="dyld"
11923 lt_cv_dlopen_self
=yes
11930 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11931 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11932 lt_cv_dlopen
="shl_load"
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11935 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11936 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11937 $as_echo_n "(cached) " >&6
11939 ac_check_lib_save_LIBS
=$LIBS
11941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11954 return shl_load ();
11959 if ac_fn_c_try_link
"$LINENO"; then :
11960 ac_cv_lib_dld_shl_load
=yes
11962 ac_cv_lib_dld_shl_load
=no
11964 rm -f core conftest.err conftest.
$ac_objext \
11965 conftest
$ac_exeext conftest.
$ac_ext
11966 LIBS
=$ac_check_lib_save_LIBS
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11969 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11970 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11971 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11973 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11974 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11975 lt_cv_dlopen
="dlopen"
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11978 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11979 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11980 $as_echo_n "(cached) " >&6
11982 ac_check_lib_save_LIBS
=$LIBS
11984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
12002 if ac_fn_c_try_link
"$LINENO"; then :
12003 ac_cv_lib_dl_dlopen
=yes
12005 ac_cv_lib_dl_dlopen
=no
12007 rm -f core conftest.err conftest.
$ac_objext \
12008 conftest
$ac_exeext conftest.
$ac_ext
12009 LIBS
=$ac_check_lib_save_LIBS
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12012 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12013 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12014 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12017 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12018 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12019 $as_echo_n "(cached) " >&6
12021 ac_check_lib_save_LIBS
=$LIBS
12022 LIBS
="-lsvld $LIBS"
12023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12041 if ac_fn_c_try_link
"$LINENO"; then :
12042 ac_cv_lib_svld_dlopen
=yes
12044 ac_cv_lib_svld_dlopen
=no
12046 rm -f core conftest.err conftest.
$ac_objext \
12047 conftest
$ac_exeext conftest.
$ac_ext
12048 LIBS
=$ac_check_lib_save_LIBS
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12051 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12052 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12053 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12056 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12057 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12058 $as_echo_n "(cached) " >&6
12060 ac_check_lib_save_LIBS
=$LIBS
12062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12075 return dld_link ();
12080 if ac_fn_c_try_link
"$LINENO"; then :
12081 ac_cv_lib_dld_dld_link
=yes
12083 ac_cv_lib_dld_dld_link
=no
12085 rm -f core conftest.err conftest.
$ac_objext \
12086 conftest
$ac_exeext conftest.
$ac_ext
12087 LIBS
=$ac_check_lib_save_LIBS
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12090 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12091 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12092 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12113 if test "x$lt_cv_dlopen" != xno
; then
12119 case $lt_cv_dlopen in
12121 save_CPPFLAGS
="$CPPFLAGS"
12122 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12124 save_LDFLAGS
="$LDFLAGS"
12125 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12128 LIBS
="$lt_cv_dlopen_libs $LIBS"
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12131 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12132 if test "${lt_cv_dlopen_self+set}" = set; then :
12133 $as_echo_n "(cached) " >&6
12135 if test "$cross_compiling" = yes; then :
12136 lt_cv_dlopen_self
=cross
12138 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12139 lt_status
=$lt_dlunknown
12140 cat > conftest.
$ac_ext <<_LT_EOF
12141 #line 12141 "configure"
12142 #include "confdefs.h"
12151 # define LT_DLGLOBAL RTLD_GLOBAL
12154 # define LT_DLGLOBAL DL_GLOBAL
12156 # define LT_DLGLOBAL 0
12160 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12161 find out it does not work in some platform. */
12162 #ifndef LT_DLLAZY_OR_NOW
12164 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12167 # define LT_DLLAZY_OR_NOW DL_LAZY
12170 # define LT_DLLAZY_OR_NOW RTLD_NOW
12173 # define LT_DLLAZY_OR_NOW DL_NOW
12175 # define LT_DLLAZY_OR_NOW 0
12182 /* When -fvisbility=hidden is used, assume the code has been annotated
12183 correspondingly for the symbols needed. */
12184 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12185 void fnord () __attribute__((visibility("default")));
12188 void fnord () { int i=42; }
12191 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12192 int status = $lt_dlunknown;
12196 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12199 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12200 else puts (dlerror ());
12202 /* dlclose (self); */
12210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12211 (eval $ac_link) 2>&5
12213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12214 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12215 (.
/conftest
; exit; ) >&5 2>/dev
/null
12217 case x
$lt_status in
12218 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12219 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12220 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12223 # compilation failed
12224 lt_cv_dlopen_self
=no
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12232 $as_echo "$lt_cv_dlopen_self" >&6; }
12234 if test "x$lt_cv_dlopen_self" = xyes
; then
12235 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12237 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12238 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12239 $as_echo_n "(cached) " >&6
12241 if test "$cross_compiling" = yes; then :
12242 lt_cv_dlopen_self_static
=cross
12244 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12245 lt_status
=$lt_dlunknown
12246 cat > conftest.
$ac_ext <<_LT_EOF
12247 #line 12247 "configure"
12248 #include "confdefs.h"
12257 # define LT_DLGLOBAL RTLD_GLOBAL
12260 # define LT_DLGLOBAL DL_GLOBAL
12262 # define LT_DLGLOBAL 0
12266 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12267 find out it does not work in some platform. */
12268 #ifndef LT_DLLAZY_OR_NOW
12270 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12273 # define LT_DLLAZY_OR_NOW DL_LAZY
12276 # define LT_DLLAZY_OR_NOW RTLD_NOW
12279 # define LT_DLLAZY_OR_NOW DL_NOW
12281 # define LT_DLLAZY_OR_NOW 0
12288 /* When -fvisbility=hidden is used, assume the code has been annotated
12289 correspondingly for the symbols needed. */
12290 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12291 void fnord () __attribute__((visibility("default")));
12294 void fnord () { int i=42; }
12297 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12298 int status = $lt_dlunknown;
12302 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12305 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12306 else puts (dlerror ());
12308 /* dlclose (self); */
12316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12317 (eval $ac_link) 2>&5
12319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12320 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12321 (.
/conftest
; exit; ) >&5 2>/dev
/null
12323 case x
$lt_status in
12324 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12325 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12326 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12329 # compilation failed
12330 lt_cv_dlopen_self_static
=no
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12338 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12341 CPPFLAGS
="$save_CPPFLAGS"
12342 LDFLAGS
="$save_LDFLAGS"
12347 case $lt_cv_dlopen_self in
12348 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12349 *) enable_dlopen_self
=unknown
;;
12352 case $lt_cv_dlopen_self_static in
12353 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12354 *) enable_dlopen_self_static
=unknown
;;
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12377 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12378 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12379 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12380 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12382 $as_echo "yes" >&6; }
12384 # FIXME - insert some real tests, host_os isn't really good enough
12387 if test -n "$STRIP" ; then
12388 striplib
="$STRIP -x"
12389 old_striplib
="$STRIP -S"
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12391 $as_echo "yes" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 $as_echo "no" >&6; }
12415 # Report which library types will actually be built
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12417 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12419 $as_echo "$can_build_shared" >&6; }
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12422 $as_echo_n "checking whether to build shared libraries... " >&6; }
12423 test "$can_build_shared" = "no" && enable_shared
=no
12425 # On AIX, shared libraries and static libraries use the same namespace, and
12426 # are all built from PIC.
12429 test "$enable_shared" = yes && enable_static
=no
12430 if test -n "$RANLIB"; then
12431 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12432 postinstall_cmds
='$RANLIB $lib'
12437 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12438 test "$enable_shared" = yes && enable_static
=no
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12443 $as_echo "$enable_shared" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12446 $as_echo_n "checking whether to build static libraries... " >&6; }
12447 # Make sure either enable_shared or enable_static is yes.
12448 test "$enable_shared" = yes || enable_static
=yes
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12450 $as_echo "$enable_static" >&6; }
12457 ac_cpp
='$CPP $CPPFLAGS'
12458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12464 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12465 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12466 (test "X$CXX" != "Xg++"))) ; then
12468 ac_cpp
='$CXXCPP $CPPFLAGS'
12469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12473 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12474 if test -z "$CXXCPP"; then
12475 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12476 $as_echo_n "(cached) " >&6
12478 # Double quotes because CXXCPP needs to be expanded
12479 for CXXCPP
in "$CXX -E" "/lib/cpp"
12481 ac_preproc_ok
=false
12482 for ac_cxx_preproc_warn_flag
in '' yes
12484 # Use a header file that comes with gcc, so configuring glibc
12485 # with a fresh cross-compiler works.
12486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12487 # <limits.h> exists even on freestanding compilers.
12488 # On the NeXT, cc -E runs the code through the compiler's parser,
12489 # not just through cpp. "Syntax error" is here to catch this case.
12490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 # include <limits.h>
12495 # include <assert.h>
12499 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12502 # Broken: fails on valid input.
12505 rm -f conftest.err conftest.
$ac_ext
12507 # OK, works on sane cases. Now check whether nonexistent headers
12508 # can be detected and how.
12509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12511 #include <ac_nonexistent.h>
12513 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12514 # Broken: success on invalid input.
12517 # Passes both tests.
12521 rm -f conftest.err conftest.
$ac_ext
12524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12525 rm -f conftest.err conftest.
$ac_ext
12526 if $ac_preproc_ok; then :
12531 ac_cv_prog_CXXCPP
=$CXXCPP
12534 CXXCPP
=$ac_cv_prog_CXXCPP
12536 ac_cv_prog_CXXCPP
=$CXXCPP
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12539 $as_echo "$CXXCPP" >&6; }
12540 ac_preproc_ok
=false
12541 for ac_cxx_preproc_warn_flag
in '' yes
12543 # Use a header file that comes with gcc, so configuring glibc
12544 # with a fresh cross-compiler works.
12545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12546 # <limits.h> exists even on freestanding compilers.
12547 # On the NeXT, cc -E runs the code through the compiler's parser,
12548 # not just through cpp. "Syntax error" is here to catch this case.
12549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12552 # include <limits.h>
12554 # include <assert.h>
12558 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12561 # Broken: fails on valid input.
12564 rm -f conftest.err conftest.
$ac_ext
12566 # OK, works on sane cases. Now check whether nonexistent headers
12567 # can be detected and how.
12568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12570 #include <ac_nonexistent.h>
12572 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12573 # Broken: success on invalid input.
12576 # Passes both tests.
12580 rm -f conftest.err conftest.
$ac_ext
12583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12584 rm -f conftest.err conftest.
$ac_ext
12585 if $ac_preproc_ok; then :
12588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12590 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12591 See \`config.log' for more details." "$LINENO" 5; }
12595 ac_cpp
='$CPP $CPPFLAGS'
12596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12601 _lt_caught_CXX_error
=yes
12605 ac_cpp
='$CXXCPP $CPPFLAGS'
12606 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12607 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12608 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12610 archive_cmds_need_lc_CXX
=no
12611 allow_undefined_flag_CXX
=
12612 always_export_symbols_CXX
=no
12613 archive_expsym_cmds_CXX
=
12614 compiler_needs_object_CXX
=no
12615 export_dynamic_flag_spec_CXX
=
12616 hardcode_direct_CXX
=no
12617 hardcode_direct_absolute_CXX
=no
12618 hardcode_libdir_flag_spec_CXX
=
12619 hardcode_libdir_flag_spec_ld_CXX
=
12620 hardcode_libdir_separator_CXX
=
12621 hardcode_minus_L_CXX
=no
12622 hardcode_shlibpath_var_CXX
=unsupported
12623 hardcode_automatic_CXX
=no
12624 inherit_rpath_CXX
=no
12626 module_expsym_cmds_CXX
=
12627 link_all_deplibs_CXX
=unknown
12628 old_archive_cmds_CXX
=$old_archive_cmds
12629 reload_flag_CXX
=$reload_flag
12630 reload_cmds_CXX
=$reload_cmds
12631 no_undefined_flag_CXX
=
12632 whole_archive_flag_spec_CXX
=
12633 enable_shared_with_static_runtimes_CXX
=no
12635 # Source file extension for C++ test sources.
12638 # Object file extension for compiled C++ test sources.
12642 # No sense in running all these tests if we already determined that
12643 # the CXX compiler isn't working. Some variables (like enable_shared)
12644 # are currently assumed to apply to all compilers on this platform,
12645 # and will be corrupted by setting them based on a non-working compiler.
12646 if test "$_lt_caught_CXX_error" != yes; then
12647 # Code to be used in simple compile tests
12648 lt_simple_compile_test_code
="int some_variable = 0;"
12650 # Code to be used in simple link tests
12651 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12653 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12660 # If no C compiler was specified, use CC.
12663 # If no C compiler flags were specified, use CFLAGS.
12664 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12666 # Allow CC to be a program name with arguments.
12670 # save warnings/boilerplate of simple test code
12671 ac_outfile
=conftest.
$ac_objext
12672 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12673 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12674 _lt_compiler_boilerplate
=`cat conftest.err`
12677 ac_outfile
=conftest.
$ac_objext
12678 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12679 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12680 _lt_linker_boilerplate
=`cat conftest.err`
12684 # Allow CC to be a program name with arguments.
12689 lt_save_with_gnu_ld
=$with_gnu_ld
12690 lt_save_path_LD
=$lt_cv_path_LD
12691 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12692 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12694 $as_unset lt_cv_prog_gnu_ld
12696 if test -n "${lt_cv_path_LDCXX+set}"; then
12697 lt_cv_path_LD
=$lt_cv_path_LDCXX
12699 $as_unset lt_cv_path_LD
12701 test -z "${LDCXX+set}" || LD
=$LDCXX
12705 for cc_temp
in $compiler""; do
12707 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12708 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12713 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12716 if test -n "$compiler"; then
12717 # We don't want -fno-exception when compiling C++ code, so set the
12718 # no_builtin_flag separately
12719 if test "$GXX" = yes; then
12720 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12722 lt_prog_compiler_no_builtin_flag_CXX
=
12725 if test "$GXX" = yes; then
12726 # Set up default GNU C++ configuration
12730 # Check whether --with-gnu-ld was given.
12731 if test "${with_gnu_ld+set}" = set; then :
12732 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12738 if test "$GCC" = yes; then
12739 # Check if gcc -print-prog-name=ld gives a path.
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12741 $as_echo_n "checking for ld used by $CC... " >&6; }
12744 # gcc leaves a trailing carriage return which upsets mingw
12745 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12747 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12750 # Accept absolute paths.
12752 re_direlt
='/[^/][^/]*/\.\./'
12753 # Canonicalize the pathname of ld
12754 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12755 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12756 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12758 test -z "$LD" && LD
="$ac_prog"
12761 # If it fails, then pretend we aren't using GCC.
12765 # If it is relative, then search for the first ld in PATH.
12766 with_gnu_ld
=unknown
12769 elif test "$with_gnu_ld" = yes; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12771 $as_echo_n "checking for GNU ld... " >&6; }
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12774 $as_echo_n "checking for non-GNU ld... " >&6; }
12776 if test "${lt_cv_path_LD+set}" = set; then :
12777 $as_echo_n "(cached) " >&6
12779 if test -z "$LD"; then
12780 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12781 for ac_dir
in $PATH; do
12783 test -z "$ac_dir" && ac_dir
=.
12784 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12785 lt_cv_path_LD
="$ac_dir/$ac_prog"
12786 # Check to see if the program is GNU ld. I'd rather use --version,
12787 # but apparently some variants of GNU ld only accept -v.
12788 # Break only if it was the GNU/non-GNU ld that we prefer.
12789 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12790 *GNU
* |
*'with BFD'*)
12791 test "$with_gnu_ld" != no
&& break
12794 test "$with_gnu_ld" != yes && break
12801 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12805 LD
="$lt_cv_path_LD"
12806 if test -n "$LD"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12808 $as_echo "$LD" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 $as_echo "no" >&6; }
12813 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12815 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12816 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12817 $as_echo_n "(cached) " >&6
12819 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12820 case `$LD -v 2>&1 </dev/null` in
12821 *GNU
* |
*'with BFD'*)
12822 lt_cv_prog_gnu_ld
=yes
12825 lt_cv_prog_gnu_ld
=no
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12830 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12831 with_gnu_ld
=$lt_cv_prog_gnu_ld
12839 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12840 # archiving commands below assume that GNU ld is being used.
12841 if test "$with_gnu_ld" = yes; then
12842 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12843 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'
12845 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12846 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12848 # If archive_cmds runs LD, not CC, wlarc should be empty
12849 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12850 # investigate it a little bit more. (MM)
12853 # ancient GNU ld didn't support --whole-archive et. al.
12854 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12855 $GREP 'no-whole-archive' > /dev
/null
; then
12856 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12858 whole_archive_flag_spec_CXX
=
12864 # A generic and very simple default shared library creation
12865 # command for GNU C++ for the case where it uses the native
12866 # linker, instead of GNU ld. If possible, this setting should
12867 # overridden to take advantage of the native linker features on
12868 # the platform it is being used on.
12869 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12872 # Commands to make compiler produce verbose output that lists
12873 # what "hidden" libraries, object files and flags are used when
12874 # linking a shared library.
12875 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12883 # PORTME: fill in a description of your system's C++ link characteristics
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12885 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12889 # FIXME: insert proper C++ library support
12893 if test "$host_cpu" = ia64
; then
12894 # On IA64, the linker does run time linking by default, so we don't
12895 # have to do anything special.
12896 aix_use_runtimelinking
=no
12897 exp_sym_flag
='-Bexport'
12900 aix_use_runtimelinking
=no
12902 # Test if we are trying to use run time linking or normal
12903 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12904 # need to do runtime linking.
12905 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12906 for ld_flag
in $LDFLAGS; do
12909 aix_use_runtimelinking
=yes
12917 exp_sym_flag
='-bexport'
12918 no_entry_flag
='-bnoentry'
12921 # When large executables or shared objects are built, AIX ld can
12922 # have problems creating the table of contents. If linking a library
12923 # or program results in "error TOC overflow" add -mminimal-toc to
12924 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12925 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12927 archive_cmds_CXX
=''
12928 hardcode_direct_CXX
=yes
12929 hardcode_direct_absolute_CXX
=yes
12930 hardcode_libdir_separator_CXX
=':'
12931 link_all_deplibs_CXX
=yes
12932 file_list_spec_CXX
='${wl}-f,'
12934 if test "$GXX" = yes; then
12935 case $host_os in aix4.
[012]|aix4.
[012].
*)
12936 # We only want to do this on AIX 4.2 and lower, the check
12937 # below for broken collect2 doesn't work under 4.3+
12938 collect2name
=`${CC} -print-prog-name=collect2`
12939 if test -f "$collect2name" &&
12940 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12942 # We have reworked collect2
12945 # We have old collect2
12946 hardcode_direct_CXX
=unsupported
12947 # It fails to find uninstalled libraries when the uninstalled
12948 # path is not listed in the libpath. Setting hardcode_minus_L
12949 # to unsupported forces relinking
12950 hardcode_minus_L_CXX
=yes
12951 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12952 hardcode_libdir_separator_CXX
=
12955 shared_flag
='-shared'
12956 if test "$aix_use_runtimelinking" = yes; then
12957 shared_flag
="$shared_flag "'${wl}-G'
12961 if test "$host_cpu" = ia64
; then
12962 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12963 # chokes on -Wl,-G. The following line is correct:
12966 if test "$aix_use_runtimelinking" = yes; then
12967 shared_flag
='${wl}-G'
12969 shared_flag
='${wl}-bM:SRE'
12974 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12975 # It seems that -bexpall does not export symbols beginning with
12976 # underscore (_), so it is better to generate a list of symbols to
12978 always_export_symbols_CXX
=yes
12979 if test "$aix_use_runtimelinking" = yes; then
12980 # Warning - without using the other runtime loading flags (-brtl),
12981 # -berok will link without error, but may produce a broken library.
12982 allow_undefined_flag_CXX
='-berok'
12983 # Determine the default libpath from the value encoded in an empty
12985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12996 if ac_fn_cxx_try_link
"$LINENO"; then :
12998 lt_aix_libpath_sed
='
12999 /Import File Strings/,/^$/ {
13005 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13006 # Check for a 64-bit object if we didn't find anything.
13007 if test -z "$aix_libpath"; then
13008 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13011 rm -f core conftest.err conftest.
$ac_objext \
13012 conftest
$ac_exeext conftest.
$ac_ext
13013 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13015 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13017 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"
13019 if test "$host_cpu" = ia64
; then
13020 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13021 allow_undefined_flag_CXX
="-z nodefs"
13022 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"
13024 # Determine the default libpath from the value encoded in an
13025 # empty executable.
13026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13037 if ac_fn_cxx_try_link
"$LINENO"; then :
13039 lt_aix_libpath_sed
='
13040 /Import File Strings/,/^$/ {
13046 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13047 # Check for a 64-bit object if we didn't find anything.
13048 if test -z "$aix_libpath"; then
13049 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13052 rm -f core conftest.err conftest.
$ac_objext \
13053 conftest
$ac_exeext conftest.
$ac_ext
13054 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13056 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13057 # Warning - without using the other run time loading flags,
13058 # -berok will link without error, but may produce a broken library.
13059 no_undefined_flag_CXX
=' ${wl}-bernotok'
13060 allow_undefined_flag_CXX
=' ${wl}-berok'
13061 if test "$with_gnu_ld" = yes; then
13062 # We only use this code for GNU lds that support --whole-archive.
13063 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13065 # Exported symbols can be pulled into shared objects from archives
13066 whole_archive_flag_spec_CXX
='$convenience'
13068 archive_cmds_need_lc_CXX
=yes
13069 # This is similar to how AIX traditionally builds its shared
13071 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'
13077 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13078 allow_undefined_flag_CXX
=unsupported
13079 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13080 # support --undefined. This deserves some investigation. FIXME
13081 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 case $cc_basename in
13090 # FIXME: insert proper C++ library support
13096 cygwin
* | mingw
* | pw32
* | cegcc
*)
13097 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13098 # as there is no search path for DLLs.
13099 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13100 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13101 allow_undefined_flag_CXX
=unsupported
13102 always_export_symbols_CXX
=no
13103 enable_shared_with_static_runtimes_CXX
=yes
13105 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13106 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'
13107 # If the export-symbols file already is a .def file (1st line
13108 # is EXPORTS), use it as is; otherwise, prepend...
13109 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13110 cp $export_symbols $output_objdir/$soname.def;
13112 echo EXPORTS > $output_objdir/$soname.def;
13113 cat $export_symbols >> $output_objdir/$soname.def;
13115 $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'
13120 darwin
* | rhapsody
*)
13123 archive_cmds_need_lc_CXX
=no
13124 hardcode_direct_CXX
=no
13125 hardcode_automatic_CXX
=yes
13126 hardcode_shlibpath_var_CXX
=unsupported
13127 if test "$lt_cv_ld_force_load" = "yes"; then
13128 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\"`'
13130 whole_archive_flag_spec_CXX
=''
13132 link_all_deplibs_CXX
=yes
13133 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13134 case $cc_basename in
13135 ifort
*) _lt_dar_can_shared
=yes ;;
13136 *) _lt_dar_can_shared
=$GCC ;;
13138 if test "$_lt_dar_can_shared" = "yes"; then
13139 output_verbose_link_cmd
=func_echo_all
13140 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}"
13141 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13142 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}"
13143 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}"
13144 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13145 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}"
13146 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}"
13156 case $cc_basename in
13158 # FIXME: insert proper C++ library support
13162 # Green Hills C++ Compiler
13163 # FIXME: insert proper C++ library support
13167 # FIXME: insert proper C++ library support
13174 # C++ shared libraries reported to be fairly broken before
13180 archive_cmds_need_lc_CXX
=no
13183 freebsd
* | dragonfly
*)
13184 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13193 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13194 link_all_deplibs_CXX
=yes
13198 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13199 hardcode_libdir_separator_CXX
=:
13200 export_dynamic_flag_spec_CXX
='${wl}-E'
13201 hardcode_direct_CXX
=yes
13202 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13203 # but as the default
13204 # location of the library.
13206 case $cc_basename in
13208 # FIXME: insert proper C++ library support
13212 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'
13213 # Commands to make compiler produce verbose output that lists
13214 # what "hidden" libraries, object files and flags are used when
13215 # linking a shared library.
13217 # There doesn't appear to be a way to prevent this compiler from
13218 # explicitly linking system object files so we need to strip them
13219 # from the output so that they don't get included in the library
13221 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"'
13224 if test "$GXX" = yes; then
13225 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'
13227 # FIXME: insert proper C++ library support
13235 if test $with_gnu_ld = no
; then
13236 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13237 hardcode_libdir_separator_CXX
=:
13243 export_dynamic_flag_spec_CXX
='${wl}-E'
13249 hardcode_direct_CXX
=no
13250 hardcode_shlibpath_var_CXX
=no
13253 hardcode_direct_CXX
=yes
13254 hardcode_direct_absolute_CXX
=yes
13255 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13256 # but as the default
13257 # location of the library.
13261 case $cc_basename in
13263 # FIXME: insert proper C++ library support
13269 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13272 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13275 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13278 # Commands to make compiler produce verbose output that lists
13279 # what "hidden" libraries, object files and flags are used when
13280 # linking a shared library.
13282 # There doesn't appear to be a way to prevent this compiler from
13283 # explicitly linking system object files so we need to strip them
13284 # from the output so that they don't get included in the library
13286 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"'
13289 if test "$GXX" = yes; then
13290 if test $with_gnu_ld = no
; then
13293 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13296 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13299 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'
13304 # FIXME: insert proper C++ library support
13312 hardcode_direct_CXX
=no
13313 hardcode_shlibpath_var_CXX
=no
13314 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13315 export_dynamic_flag_spec_CXX
='${wl}-E'
13316 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13317 # Instead, shared libraries are loaded at an image base (0x10000000 by
13318 # default) and relocated if they conflict, which is a slow very memory
13319 # consuming and fragmenting process. To avoid this, we pick a random,
13320 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13321 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13322 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'
13323 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'
13326 case $cc_basename in
13329 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'
13331 # Archives containing C++ object files must be created using
13332 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13333 # necessary to make sure instantiated templates are included
13335 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13338 if test "$GXX" = yes; then
13339 if test "$with_gnu_ld" = no
; then
13340 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'
13342 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'
13345 link_all_deplibs_CXX
=yes
13348 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13349 hardcode_libdir_separator_CXX
=:
13350 inherit_rpath_CXX
=yes
13353 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13354 case $cc_basename in
13356 # Kuck and Associates, Inc. (KAI) C++ Compiler
13358 # KCC will only create a shared library if the output file
13359 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13360 # to its proper name (with version) after linking.
13361 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'
13362 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'
13363 # Commands to make compiler produce verbose output that lists
13364 # what "hidden" libraries, object files and flags are used when
13365 # linking a shared library.
13367 # There doesn't appear to be a way to prevent this compiler from
13368 # explicitly linking system object files so we need to strip them
13369 # from the output so that they don't get included in the library
13371 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"'
13373 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13374 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13376 # Archives containing C++ object files must be created using
13377 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13378 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13383 # version 8.0 and above of icpc choke on multiply defined symbols
13384 # if we add $predep_objects and $postdep_objects, however 7.1 and
13385 # earlier do not add the objects themselves.
13386 case `$CC -V 2>&1` in
13388 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13389 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'
13391 *) # Version 8.0 or newer
13394 ia64
*) tmp_idyn
=' -i_dynamic';;
13396 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13397 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'
13400 archive_cmds_need_lc_CXX
=no
13401 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13402 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13403 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13406 # Portland Group C++ compiler
13408 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13409 prelink_cmds_CXX
='tpldir=Template.dir~
13411 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13412 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13413 old_archive_cmds_CXX
='tpldir=Template.dir~
13415 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13416 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13418 archive_cmds_CXX
='tpldir=Template.dir~
13420 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13421 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13422 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13424 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13425 $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'
13427 *) # Version 6 and above use weak symbols
13428 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13429 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'
13433 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13434 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13435 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'
13439 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13440 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'
13442 runpath_var
=LD_RUN_PATH
13443 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13444 hardcode_libdir_separator_CXX
=:
13446 # Commands to make compiler produce verbose output that lists
13447 # what "hidden" libraries, object files and flags are used when
13448 # linking a shared library.
13450 # There doesn't appear to be a way to prevent this compiler from
13451 # explicitly linking system object files so we need to strip them
13452 # from the output so that they don't get included in the library
13454 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'
13456 xl
* | mpixl
* | bgxl
*)
13457 # IBM XL 8.0 on PPC, with GNU ld
13458 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13459 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13460 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13461 if test "x$supports_anon_versioning" = xyes
; then
13462 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13463 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13464 echo "local: *; };" >> $output_objdir/$libname.ver~
13465 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13469 case `$CC -V 2>&1 | sed 5q` in
13472 no_undefined_flag_CXX
=' -zdefs'
13473 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13474 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'
13475 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13476 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'
13477 compiler_needs_object_CXX
=yes
13479 # Not sure whether something based on
13480 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13482 output_verbose_link_cmd
='func_echo_all'
13484 # Archives containing C++ object files must be created using
13485 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13486 # necessary to make sure instantiated templates are included
13488 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13496 # FIXME: insert proper C++ library support
13501 # FIXME: insert proper C++ library support
13506 case $cc_basename in
13508 # FIXME: insert proper C++ library support
13512 # FIXME: insert proper C++ library support
13519 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13520 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13522 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13523 hardcode_direct_CXX
=yes
13524 hardcode_shlibpath_var_CXX
=no
13526 # Workaround some broken pre-1.5 toolchains
13527 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13535 # C++ shared libraries are fairly broken
13540 if test -f /usr
/libexec
/ld.so
; then
13541 hardcode_direct_CXX
=yes
13542 hardcode_shlibpath_var_CXX
=no
13543 hardcode_direct_absolute_CXX
=yes
13544 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13546 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13547 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13548 export_dynamic_flag_spec_CXX
='${wl}-E'
13549 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13551 output_verbose_link_cmd
=func_echo_all
13557 osf3
* | osf4
* | osf5
*)
13558 case $cc_basename in
13560 # Kuck and Associates, Inc. (KAI) C++ Compiler
13562 # KCC will only create a shared library if the output file
13563 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13564 # to its proper name (with version) after linking.
13565 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'
13567 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13568 hardcode_libdir_separator_CXX
=:
13570 # Archives containing C++ object files must be created using
13571 # the KAI C++ compiler.
13573 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13574 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13578 # Rational C++ 2.4.1
13579 # FIXME: insert proper C++ library support
13585 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13586 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'
13587 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13590 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13591 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'
13592 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13593 echo "-hidden">> $lib.exp~
13594 $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~
13596 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13600 hardcode_libdir_separator_CXX
=:
13602 # Commands to make compiler produce verbose output that lists
13603 # what "hidden" libraries, object files and flags are used when
13604 # linking a shared library.
13606 # There doesn't appear to be a way to prevent this compiler from
13607 # explicitly linking system object files so we need to strip them
13608 # from the output so that they don't get included in the library
13610 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"'
13613 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13614 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13617 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'
13620 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'
13624 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13625 hardcode_libdir_separator_CXX
=:
13627 # Commands to make compiler produce verbose output that lists
13628 # what "hidden" libraries, object files and flags are used when
13629 # linking a shared library.
13630 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13633 # FIXME: insert proper C++ library support
13641 # FIXME: insert proper C++ library support
13646 case $cc_basename in
13649 # FIXME: insert proper C++ library support
13654 # FIXME: insert proper C++ library support
13658 # FIXME: insert proper C++ library support
13665 case $cc_basename in
13667 # Sun C++ 4.2, 5.x and Centerline C++
13668 archive_cmds_need_lc_CXX
=yes
13669 no_undefined_flag_CXX
=' -zdefs'
13670 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13671 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13672 $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'
13674 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13675 hardcode_shlibpath_var_CXX
=no
13677 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13679 # The compiler driver will combine and reorder linker options,
13680 # but understands `-z linker_flag'.
13681 # Supported since Solaris 2.6 (maybe 2.5.1?)
13682 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13685 link_all_deplibs_CXX
=yes
13687 output_verbose_link_cmd
='func_echo_all'
13689 # Archives containing C++ object files must be created using
13690 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13691 # necessary to make sure instantiated templates are included
13693 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13696 # Green Hills C++ Compiler
13697 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13699 # The C++ compiler must be used to create the archive.
13700 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13703 # GNU C++ compiler with Solaris linker
13704 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13705 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13706 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13707 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13708 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13709 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13711 # Commands to make compiler produce verbose output that lists
13712 # what "hidden" libraries, object files and flags are used when
13713 # linking a shared library.
13714 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13716 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13718 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13719 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13720 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13722 # Commands to make compiler produce verbose output that lists
13723 # what "hidden" libraries, object files and flags are used when
13724 # linking a shared library.
13725 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13728 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13730 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13732 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13740 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13741 no_undefined_flag_CXX
='${wl}-z,text'
13742 archive_cmds_need_lc_CXX
=no
13743 hardcode_shlibpath_var_CXX
=no
13744 runpath_var
='LD_RUN_PATH'
13746 case $cc_basename in
13748 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13749 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13752 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13758 sysv5
* | sco3.2v5
* | sco5v6
*)
13759 # Note: We can NOT use -z defs as we might desire, because we do not
13760 # link with -lc, and that would cause any symbols used from libc to
13761 # always be unresolved, which means just about no library would
13762 # ever link correctly. If we're not using GNU ld we use -z text
13763 # though, which does catch some bad symbols but isn't as heavy-handed
13765 no_undefined_flag_CXX
='${wl}-z,text'
13766 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13767 archive_cmds_need_lc_CXX
=no
13768 hardcode_shlibpath_var_CXX
=no
13769 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13770 hardcode_libdir_separator_CXX
=':'
13771 link_all_deplibs_CXX
=yes
13772 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13773 runpath_var
='LD_RUN_PATH'
13775 case $cc_basename in
13777 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13778 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13779 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13780 '"$old_archive_cmds_CXX"
13781 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13782 '"$reload_cmds_CXX"
13785 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13786 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13792 case $cc_basename in
13794 # NonStop-UX NCC 3.20
13795 # FIXME: insert proper C++ library support
13799 # FIXME: insert proper C++ library support
13806 # FIXME: insert proper C++ library support
13811 # FIXME: insert proper C++ library support
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13817 $as_echo "$ld_shlibs_CXX" >&6; }
13818 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13824 ## There is no encapsulation within the following macros, do not change
13825 ## the running order or otherwise move them around unless you know exactly
13826 ## what you are doing...
13827 # Dependencies to place before and after the object being linked:
13828 predep_objects_CXX
=
13829 postdep_objects_CXX
=
13832 compiler_lib_search_path_CXX
=
13834 cat > conftest.
$ac_ext <<_LT_EOF
13838 Foo (void) { a = 0; }
13844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13845 (eval $ac_compile) 2>&5
13847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13848 test $ac_status = 0; }; then
13849 # Parse the compiler output and extract the necessary
13850 # objects, libraries and library flags.
13852 # Sentinel used to keep track of whether or not we are before
13853 # the conftest object file.
13854 pre_test_object_deps_done
=no
13856 for p
in `eval "$output_verbose_link_cmd"`; do
13860 # Some compilers place space between "-{L,R}" and the path.
13861 # Remove the space.
13862 if test $p = "-L" ||
13863 test $p = "-R"; then
13870 if test "$pre_test_object_deps_done" = no
; then
13873 # Internal compiler library paths should come after those
13874 # provided the user. The postdeps already come after the
13875 # user supplied libs so there is no need to process them.
13876 if test -z "$compiler_lib_search_path_CXX"; then
13877 compiler_lib_search_path_CXX
="${prev}${p}"
13879 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13882 # The "-l" case would never come before the object being
13883 # linked, so don't bother handling this case.
13886 if test -z "$postdeps_CXX"; then
13887 postdeps_CXX
="${prev}${p}"
13889 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13895 # This assumes that the test object file only shows up
13896 # once in the compiler output.
13897 if test "$p" = "conftest.$objext"; then
13898 pre_test_object_deps_done
=yes
13902 if test "$pre_test_object_deps_done" = no
; then
13903 if test -z "$predep_objects_CXX"; then
13904 predep_objects_CXX
="$p"
13906 predep_objects_CXX
="$predep_objects_CXX $p"
13909 if test -z "$postdep_objects_CXX"; then
13910 postdep_objects_CXX
="$p"
13912 postdep_objects_CXX
="$postdep_objects_CXX $p"
13917 *) ;; # Ignore the rest.
13925 echo "libtool.m4: error: problem compiling CXX test program"
13928 $RM -f confest.
$objext
13930 # PORTME: override above test on systems where it is broken
13933 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13934 # hack all around it, let's just trust "g++" to DTRT.
13935 predep_objects_CXX
=
13936 postdep_objects_CXX
=
13941 case `$CC -V 2>&1 | sed 5q` in
13945 # The more standards-conforming stlport4 library is
13946 # incompatible with the Cstd library. Avoid specifying
13947 # it if it's in CXXFLAGS. Ignore libCrun as
13948 # -library=stlport4 depends on it.
13949 case " $CXX $CXXFLAGS " in
13950 *" -library=stlport4 "*)
13951 solaris_use_stlport4
=yes
13955 if test "$solaris_use_stlport4" != yes; then
13956 postdeps_CXX
='-library=Cstd -library=Crun'
13963 case $cc_basename in
13965 # The more standards-conforming stlport4 library is
13966 # incompatible with the Cstd library. Avoid specifying
13967 # it if it's in CXXFLAGS. Ignore libCrun as
13968 # -library=stlport4 depends on it.
13969 case " $CXX $CXXFLAGS " in
13970 *" -library=stlport4 "*)
13971 solaris_use_stlport4
=yes
13975 # Adding this requires a known-good setup of shared libraries for
13976 # Sun compiler versions before 5.6, else PIC objects from an old
13977 # archive will be linked into the output, leading to subtle bugs.
13978 if test "$solaris_use_stlport4" != yes; then
13979 postdeps_CXX
='-library=Cstd -library=Crun'
13987 case " $postdeps_CXX " in
13988 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13990 compiler_lib_search_dirs_CXX
=
13991 if test -n "${compiler_lib_search_path_CXX}"; then
13992 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14025 lt_prog_compiler_wl_CXX
=
14026 lt_prog_compiler_pic_CXX
=
14027 lt_prog_compiler_static_CXX
=
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14030 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14032 # C++ specific cases for pic, static, wl, etc.
14033 if test "$GXX" = yes; then
14034 lt_prog_compiler_wl_CXX
='-Wl,'
14035 lt_prog_compiler_static_CXX
='-static'
14039 # All AIX code is PIC.
14040 if test "$host_cpu" = ia64
; then
14041 # AIX 5 now supports IA64 processor
14042 lt_prog_compiler_static_CXX
='-Bstatic'
14049 # see comment about AmigaOS4 .so support
14050 lt_prog_compiler_pic_CXX
='-fPIC'
14053 # FIXME: we need at least 68020 code to build shared libraries, but
14054 # adding the `-m68020' flag to GCC prevents building anything better,
14056 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14061 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14062 # PIC is the default for these OSes.
14064 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14065 # This hack is so that the source file can tell whether it is being
14066 # built for inclusion in a dll (and should export symbols for example).
14067 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14068 # (--disable-auto-import) libraries
14069 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14071 darwin
* | rhapsody
*)
14072 # PIC is the default on this platform
14073 # Common symbols not allowed in MH_DYLIB files
14074 lt_prog_compiler_pic_CXX
='-fno-common'
14077 # DJGPP does not support shared libraries at all
14078 lt_prog_compiler_pic_CXX
=
14081 # PIC is the default for Haiku.
14082 # The "-static" flag exists, but is broken.
14083 lt_prog_compiler_static_CXX
=
14086 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14087 # Instead, we relocate shared libraries at runtime.
14090 if test -d /usr
/nec
; then
14091 lt_prog_compiler_pic_CXX
=-Kconform_pic
14095 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14096 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14097 # sets the default TLS model and affects inlining.
14102 lt_prog_compiler_pic_CXX
='-fPIC'
14107 # QNX uses GNU C++, but need to define -shared option too, otherwise
14108 # it will coredump.
14109 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14112 lt_prog_compiler_pic_CXX
='-fPIC'
14118 # All AIX code is PIC.
14119 if test "$host_cpu" = ia64
; then
14120 # AIX 5 now supports IA64 processor
14121 lt_prog_compiler_static_CXX
='-Bstatic'
14123 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14127 case $cc_basename in
14129 # Green Hills C++ Compiler
14130 # _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"
14135 case $cc_basename in
14137 lt_prog_compiler_pic_CXX
='-KPIC'
14140 # Green Hills C++ Compiler
14141 lt_prog_compiler_pic_CXX
='-pic'
14147 freebsd
* | dragonfly
*)
14148 # FreeBSD uses GNU C++
14150 hpux9
* | hpux10
* | hpux11
*)
14151 case $cc_basename in
14153 lt_prog_compiler_wl_CXX
='-Wl,'
14154 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14155 if test "$host_cpu" != ia64
; then
14156 lt_prog_compiler_pic_CXX
='+Z'
14160 lt_prog_compiler_wl_CXX
='-Wl,'
14161 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14167 lt_prog_compiler_pic_CXX
='+Z'
14176 # This is c89, which is MS Visual C++ (no shared libs)
14177 # Anyone wants to do a port?
14179 irix5
* | irix6
* | nonstopux
*)
14180 case $cc_basename in
14182 lt_prog_compiler_wl_CXX
='-Wl,'
14183 lt_prog_compiler_static_CXX
='-non_shared'
14184 # CC pic flag -KPIC is the default.
14190 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14191 case $cc_basename in
14194 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14195 lt_prog_compiler_pic_CXX
='-fPIC'
14198 # old Intel C++ for x86_64 which still supported -KPIC.
14199 lt_prog_compiler_wl_CXX
='-Wl,'
14200 lt_prog_compiler_pic_CXX
='-KPIC'
14201 lt_prog_compiler_static_CXX
='-static'
14204 # Intel C++, used to be incompatible with GCC.
14205 # ICC 10 doesn't accept -KPIC any more.
14206 lt_prog_compiler_wl_CXX
='-Wl,'
14207 lt_prog_compiler_pic_CXX
='-fPIC'
14208 lt_prog_compiler_static_CXX
='-static'
14211 # Portland Group C++ compiler
14212 lt_prog_compiler_wl_CXX
='-Wl,'
14213 lt_prog_compiler_pic_CXX
='-fpic'
14214 lt_prog_compiler_static_CXX
='-Bstatic'
14218 # Make sure the PIC flag is empty. It appears that all Alpha
14219 # Linux and Compaq Tru64 Unix objects are PIC.
14220 lt_prog_compiler_pic_CXX
=
14221 lt_prog_compiler_static_CXX
='-non_shared'
14223 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14224 # IBM XL 8.0, 9.0 on PPC and BlueGene
14225 lt_prog_compiler_wl_CXX
='-Wl,'
14226 lt_prog_compiler_pic_CXX
='-qpic'
14227 lt_prog_compiler_static_CXX
='-qstaticlink'
14230 case `$CC -V 2>&1 | sed 5q` in
14233 lt_prog_compiler_pic_CXX
='-KPIC'
14234 lt_prog_compiler_static_CXX
='-Bstatic'
14235 lt_prog_compiler_wl_CXX
='-Qoption ld '
14246 case $cc_basename in
14248 lt_prog_compiler_pic_CXX
='-W c,exportall'
14257 # QNX uses GNU C++, but need to define -shared option too, otherwise
14258 # it will coredump.
14259 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14261 osf3
* | osf4
* | osf5
*)
14262 case $cc_basename in
14264 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14267 # Rational C++ 2.4.1
14268 lt_prog_compiler_pic_CXX
='-pic'
14271 # Digital/Compaq C++
14272 lt_prog_compiler_wl_CXX
='-Wl,'
14273 # Make sure the PIC flag is empty. It appears that all Alpha
14274 # Linux and Compaq Tru64 Unix objects are PIC.
14275 lt_prog_compiler_pic_CXX
=
14276 lt_prog_compiler_static_CXX
='-non_shared'
14285 case $cc_basename in
14287 # Sun C++ 4.2, 5.x and Centerline C++
14288 lt_prog_compiler_pic_CXX
='-KPIC'
14289 lt_prog_compiler_static_CXX
='-Bstatic'
14290 lt_prog_compiler_wl_CXX
='-Qoption ld '
14293 # Green Hills C++ Compiler
14294 lt_prog_compiler_pic_CXX
='-PIC'
14301 case $cc_basename in
14304 lt_prog_compiler_pic_CXX
='-pic'
14305 lt_prog_compiler_static_CXX
='-Bstatic'
14309 lt_prog_compiler_pic_CXX
='-pic'
14315 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14316 case $cc_basename in
14318 lt_prog_compiler_wl_CXX
='-Wl,'
14319 lt_prog_compiler_pic_CXX
='-KPIC'
14320 lt_prog_compiler_static_CXX
='-Bstatic'
14325 case $cc_basename in
14327 # NonStop-UX NCC 3.20
14328 lt_prog_compiler_pic_CXX
='-KPIC'
14337 lt_prog_compiler_can_build_shared_CXX
=no
14343 # For platforms which do not support PIC, -DPIC is meaningless:
14345 lt_prog_compiler_pic_CXX
=
14348 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14352 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14357 # Check to make sure the PIC flag actually works.
14359 if test -n "$lt_prog_compiler_pic_CXX"; then
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14361 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14362 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14363 $as_echo_n "(cached) " >&6
14365 lt_cv_prog_compiler_pic_works_CXX
=no
14366 ac_outfile
=conftest.
$ac_objext
14367 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14368 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14369 # Insert the option either (1) after the last *FLAGS variable, or
14370 # (2) before a word containing "conftest.", or (3) at the end.
14371 # Note that $ac_compile itself does not contain backslashes and begins
14372 # with a dollar sign (not a hyphen), so the echo should work correctly.
14373 # The option is referenced via a variable to avoid confusing sed.
14374 lt_compile
=`echo "$ac_compile" | $SED \
14375 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14377 -e 's:$: $lt_compiler_flag:'`
14378 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14379 (eval "$lt_compile" 2>conftest.err
)
14381 cat conftest.err
>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 if (exit $ac_status) && test -s "$ac_outfile"; then
14384 # The compiler can only warn and ignore the option if not recognized
14385 # So say no if there are warnings other than the usual output.
14386 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14387 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14388 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14389 lt_cv_prog_compiler_pic_works_CXX
=yes
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14396 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14398 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14399 case $lt_prog_compiler_pic_CXX in
14401 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14404 lt_prog_compiler_pic_CXX
=
14405 lt_prog_compiler_can_build_shared_CXX
=no
14413 # Check to make sure the static flag actually works.
14415 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14417 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14418 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14419 $as_echo_n "(cached) " >&6
14421 lt_cv_prog_compiler_static_works_CXX
=no
14422 save_LDFLAGS
="$LDFLAGS"
14423 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14424 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14425 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14426 # The linker can only warn and ignore the option if not recognized
14427 # So say no if there are warnings
14428 if test -s conftest.err
; then
14429 # Append any errors to the config.log.
14430 cat conftest.err
1>&5
14431 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14432 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14433 if diff conftest.exp conftest.er2
>/dev
/null
; then
14434 lt_cv_prog_compiler_static_works_CXX
=yes
14437 lt_cv_prog_compiler_static_works_CXX
=yes
14441 LDFLAGS
="$save_LDFLAGS"
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14445 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14447 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14450 lt_prog_compiler_static_CXX
=
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14457 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14458 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14459 $as_echo_n "(cached) " >&6
14461 lt_cv_prog_compiler_c_o_CXX
=no
14462 $RM -r conftest
2>/dev
/null
14466 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14468 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14469 # Insert the option either (1) after the last *FLAGS variable, or
14470 # (2) before a word containing "conftest.", or (3) at the end.
14471 # Note that $ac_compile itself does not contain backslashes and begins
14472 # with a dollar sign (not a hyphen), so the echo should work correctly.
14473 lt_compile
=`echo "$ac_compile" | $SED \
14474 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14475 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14476 -e 's:$: $lt_compiler_flag:'`
14477 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14478 (eval "$lt_compile" 2>out
/conftest.err
)
14480 cat out
/conftest.err
>&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14484 # The compiler can only warn and ignore the option if not recognized
14485 # So say no if there are warnings
14486 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14487 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14488 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14489 lt_cv_prog_compiler_c_o_CXX
=yes
14494 # SGI C++ compiler will create directory out/ii_files/ for
14495 # template instantiation
14496 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14497 $RM out
/* && rmdir out
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14504 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14509 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14510 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14511 $as_echo_n "(cached) " >&6
14513 lt_cv_prog_compiler_c_o_CXX
=no
14514 $RM -r conftest
2>/dev
/null
14518 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14520 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14521 # Insert the option either (1) after the last *FLAGS variable, or
14522 # (2) before a word containing "conftest.", or (3) at the end.
14523 # Note that $ac_compile itself does not contain backslashes and begins
14524 # with a dollar sign (not a hyphen), so the echo should work correctly.
14525 lt_compile
=`echo "$ac_compile" | $SED \
14526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14528 -e 's:$: $lt_compiler_flag:'`
14529 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14530 (eval "$lt_compile" 2>out
/conftest.err
)
14532 cat out
/conftest.err
>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14536 # The compiler can only warn and ignore the option if not recognized
14537 # So say no if there are warnings
14538 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14539 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14540 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14541 lt_cv_prog_compiler_c_o_CXX
=yes
14546 # SGI C++ compiler will create directory out/ii_files/ for
14547 # template instantiation
14548 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14549 $RM out
/* && rmdir out
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14556 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14561 hard_links
="nottested"
14562 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14563 # do not overwrite the value of need_locks provided by the user
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14565 $as_echo_n "checking if we can lock with hard links... " >&6; }
14568 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14570 ln conftest.a conftest.b
2>&5 || hard_links
=no
14571 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14573 $as_echo "$hard_links" >&6; }
14574 if test "$hard_links" = no
; then
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14576 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14586 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14588 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14591 # If we're using GNU nm, then we don't want the "-C" option.
14592 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14593 # Also, AIX nm treats weak defined symbols like other global defined
14594 # symbols, whereas GNU nm marks them as "W".
14595 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14596 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'
14598 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'
14602 export_symbols_cmds_CXX
="$ltdll_cmds"
14604 cygwin
* | mingw
* | cegcc
*)
14605 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'
14608 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14611 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14614 $as_echo "$ld_shlibs_CXX" >&6; }
14615 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14617 with_gnu_ld_CXX
=$with_gnu_ld
14625 # Do we need to explicitly link libc?
14627 case "x$archive_cmds_need_lc_CXX" in
14629 # Assume -lc should be added
14630 archive_cmds_need_lc_CXX
=yes
14632 if test "$enable_shared" = yes && test "$GCC" = yes; then
14633 case $archive_cmds_CXX in
14635 # FIXME: we may have to deal with multi-command sequences.
14638 # Test whether the compiler implicitly links with -lc since on some
14639 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14640 # to ld, don't add -lc before -lgcc.
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14642 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14643 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14644 $as_echo_n "(cached) " >&6
14647 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14650 (eval $ac_compile) 2>&5
14652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14653 test $ac_status = 0; } 2>conftest.err
; then
14656 libobjs
=conftest.
$ac_objext
14658 wl
=$lt_prog_compiler_wl_CXX
14659 pic_flag
=$lt_prog_compiler_pic_CXX
14665 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14666 allow_undefined_flag_CXX
=
14667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14668 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14671 test $ac_status = 0; }
14673 lt_cv_archive_cmds_need_lc_CXX
=no
14675 lt_cv_archive_cmds_need_lc_CXX
=yes
14677 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14679 cat conftest.err
1>&5
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14685 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14686 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14757 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14759 library_names_spec
=
14760 libname_spec
='lib$name'
14764 postuninstall_cmds
=
14768 shlibpath_overrides_runpath
=unknown
14770 dynamic_linker
="$host_os ld.so"
14771 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14772 need_lib_prefix
=unknown
14773 hardcode_into_libs
=no
14775 # when you set need_version to no, make sure it does not cause -set_version
14776 # flags to be left without arguments
14777 need_version
=unknown
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14783 shlibpath_var
=LIBPATH
14785 # AIX 3 has no versioning support, so we append a major version to the name.
14786 soname_spec
='${libname}${release}${shared_ext}$major'
14793 hardcode_into_libs
=yes
14794 if test "$host_cpu" = ia64
; then
14795 # AIX 5 supports IA64
14796 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14797 shlibpath_var
=LD_LIBRARY_PATH
14799 # With GCC up to 2.95.x, collect2 would create an import file
14800 # for dependence libraries. The import file would start with
14801 # the line `#! .'. This would cause the generated library to
14802 # depend on `.', always an invalid library. This was fixed in
14803 # development snapshots of GCC prior to 3.0.
14805 aix4 | aix4.
[01] | aix4.
[01].
*)
14806 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14808 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14811 can_build_shared
=no
14815 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14816 # soname into executable. Probably we can add versioning support to
14817 # collect2, so additional links can be useful in future.
14818 if test "$aix_use_runtimelinking" = yes; then
14819 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14820 # instead of lib<name>.a to let people know that these are not
14821 # typical AIX shared libraries.
14822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 # We preserve .a as extension for shared libraries through AIX4.2
14825 # and later when we are not doing run time linking.
14826 library_names_spec
='${libname}${release}.a $libname.a'
14827 soname_spec
='${libname}${release}${shared_ext}$major'
14829 shlibpath_var
=LIBPATH
14836 # Since July 2007 AmigaOS4 officially supports .so libraries.
14837 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14841 library_names_spec
='$libname.ixlibrary $libname.a'
14842 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14843 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'
14849 library_names_spec
='${libname}${shared_ext}'
14850 dynamic_linker
="$host_os ld.so"
14851 shlibpath_var
=LIBRARY_PATH
14857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14858 soname_spec
='${libname}${release}${shared_ext}$major'
14859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14860 shlibpath_var
=LD_LIBRARY_PATH
14861 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14862 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14863 # the default ld.so.conf also contains /usr/contrib/lib and
14864 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14865 # libtool to hard-code these into programs
14868 cygwin
* | mingw
* | pw32
* | cegcc
*)
14869 version_type
=windows
14874 case $GCC,$host_os in
14875 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14876 library_names_spec
='$libname.dll.a'
14877 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14878 postinstall_cmds
='base_file=`basename \${file}`~
14879 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14880 dldir=$destdir/`dirname \$dlpath`~
14881 test -d \$dldir || mkdir -p \$dldir~
14882 $install_prog $dir/$dlname \$dldir/$dlname~
14883 chmod a+x \$dldir/$dlname~
14884 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14885 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14887 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14888 dlpath=$dir/\$dldll~
14890 shlibpath_overrides_runpath
=yes
14894 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14895 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14899 # MinGW DLLs use traditional 'lib' prefix
14900 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14903 # pw32 DLLs use 'pw' prefix rather than 'lib'
14904 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14910 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14913 dynamic_linker
='Win32 ld.exe'
14914 # FIXME: first we should search . and the directory the executable is in
14918 darwin
* | rhapsody
*)
14919 dynamic_linker
="$host_os dyld"
14920 version_type
=darwin
14923 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14924 soname_spec
='${libname}${release}${major}$shared_ext'
14925 shlibpath_overrides_runpath
=yes
14926 shlibpath_var
=DYLD_LIBRARY_PATH
14927 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14929 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14937 soname_spec
='${libname}${release}${shared_ext}$major'
14938 shlibpath_var
=LD_LIBRARY_PATH
14941 freebsd
* | dragonfly
*)
14942 # DragonFly does not have aout. When/if they implement a new
14943 # versioning mechanism, adjust this.
14944 if test -x /usr
/bin
/objformat
; then
14945 objformat
=`/usr/bin/objformat`
14948 freebsd
[123]*) objformat
=aout
;;
14949 *) objformat
=elf
;;
14952 version_type
=freebsd-
$objformat
14953 case $version_type in
14955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14960 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14964 shlibpath_var
=LD_LIBRARY_PATH
14967 shlibpath_overrides_runpath
=yes
14969 freebsd3.
[01]* | freebsdelf3.
[01]*)
14970 shlibpath_overrides_runpath
=yes
14971 hardcode_into_libs
=yes
14973 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14974 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14975 shlibpath_overrides_runpath
=no
14976 hardcode_into_libs
=yes
14978 *) # from 4.6 on, and DragonFly
14979 shlibpath_overrides_runpath
=yes
14980 hardcode_into_libs
=yes
14989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14990 soname_spec
='${libname}${release}${shared_ext}$major'
14991 shlibpath_var
=LD_LIBRARY_PATH
14992 hardcode_into_libs
=yes
14999 dynamic_linker
="$host_os runtime_loader"
15000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15001 soname_spec
='${libname}${release}${shared_ext}$major'
15002 shlibpath_var
=LIBRARY_PATH
15003 shlibpath_overrides_runpath
=yes
15004 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15005 hardcode_into_libs
=yes
15008 hpux9
* | hpux10
* | hpux11
*)
15009 # Give a soname corresponding to the major version so that dld.sl refuses to
15010 # link against other versions.
15017 hardcode_into_libs
=yes
15018 dynamic_linker
="$host_os dld.so"
15019 shlibpath_var
=LD_LIBRARY_PATH
15020 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15022 soname_spec
='${libname}${release}${shared_ext}$major'
15023 if test "X$HPUX_IA64_MODE" = X32
; then
15024 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15026 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15028 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15032 hardcode_into_libs
=yes
15033 dynamic_linker
="$host_os dld.sl"
15034 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15035 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 soname_spec
='${libname}${release}${shared_ext}$major'
15038 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15039 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15043 dynamic_linker
="$host_os dld.sl"
15044 shlibpath_var
=SHLIB_PATH
15045 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15047 soname_spec
='${libname}${release}${shared_ext}$major'
15050 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15051 postinstall_cmds
='chmod 555 $lib'
15052 # or fails outright, so override atomically:
15053 install_override_mode
=555
15060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15061 soname_spec
='${libname}${release}${shared_ext}$major'
15062 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15063 shlibpath_var
=LD_LIBRARY_PATH
15064 shlibpath_overrides_runpath
=no
15065 hardcode_into_libs
=yes
15068 irix5
* | irix6
* | nonstopux
*)
15070 nonstopux
*) version_type
=nonstopux
;;
15072 if test "$lt_cv_prog_gnu_ld" = yes; then
15080 soname_spec
='${libname}${release}${shared_ext}$major'
15081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15083 irix5
* | nonstopux
*)
15084 libsuff
= shlibsuff
=
15087 case $LD in # libtool.m4 will add one of these switches to LD
15088 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15089 libsuff
= shlibsuff
= libmagic
=32-bit;;
15090 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15091 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15092 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15093 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15094 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15098 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15099 shlibpath_overrides_runpath
=no
15100 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15101 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15102 hardcode_into_libs
=yes
15105 # No shared lib support for Linux oldld, aout, or coff.
15106 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15110 # This must be Linux ELF.
15111 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15116 soname_spec
='${libname}${release}${shared_ext}$major'
15117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15118 shlibpath_var
=LD_LIBRARY_PATH
15119 shlibpath_overrides_runpath
=no
15121 # Some binutils ld are patched to set DT_RUNPATH
15122 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15123 $as_echo_n "(cached) " >&6
15125 lt_cv_shlibpath_overrides_runpath
=no
15126 save_LDFLAGS
=$LDFLAGS
15127 save_libdir
=$libdir
15128 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15129 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15141 if ac_fn_cxx_try_link
"$LINENO"; then :
15142 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15143 lt_cv_shlibpath_overrides_runpath
=yes
15146 rm -f core conftest.err conftest.
$ac_objext \
15147 conftest
$ac_exeext conftest.
$ac_ext
15148 LDFLAGS
=$save_LDFLAGS
15149 libdir
=$save_libdir
15153 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15155 # This implies no fast_install, which is unacceptable.
15156 # Some rework will be needed to allow for fast_install
15157 # before this can be enabled.
15158 hardcode_into_libs
=yes
15160 # Append ld.so.conf contents to the search path
15161 if test -f /etc
/ld.so.conf
; then
15162 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' ' '`
15163 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15166 # We used to test for /lib/ld.so.1 and disable shared libraries on
15167 # powerpc, because MkLinux only supported shared libraries with the
15168 # GNU dynamic linker. Since this was broken with cross compilers,
15169 # most powerpc-linux boxes support dynamic linking these days and
15170 # people can always --disable-shared, the test was removed, and we
15171 # assume the GNU/Linux dynamic linker is in use.
15172 dynamic_linker
='GNU/Linux ld.so'
15179 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15181 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15182 dynamic_linker
='NetBSD (a.out) ld.so'
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15185 soname_spec
='${libname}${release}${shared_ext}$major'
15186 dynamic_linker
='NetBSD ld.elf_so'
15188 shlibpath_var
=LD_LIBRARY_PATH
15189 shlibpath_overrides_runpath
=yes
15190 hardcode_into_libs
=yes
15195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15196 shlibpath_var
=LD_LIBRARY_PATH
15197 shlibpath_overrides_runpath
=yes
15204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15205 soname_spec
='${libname}${release}${shared_ext}$major'
15206 shlibpath_var
=LD_LIBRARY_PATH
15207 shlibpath_overrides_runpath
=no
15208 hardcode_into_libs
=yes
15209 dynamic_linker
='ldqnx.so'
15214 sys_lib_dlsearch_path_spec
="/usr/lib"
15216 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15218 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15219 *) need_version
=no
;;
15221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15223 shlibpath_var
=LD_LIBRARY_PATH
15224 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15226 openbsd2.
[89] | openbsd2.
[89].
*)
15227 shlibpath_overrides_runpath
=no
15230 shlibpath_overrides_runpath
=yes
15234 shlibpath_overrides_runpath
=yes
15239 libname_spec
='$name'
15242 library_names_spec
='$libname${shared_ext} $libname.a'
15243 dynamic_linker
='OS/2 ld.exe'
15244 shlibpath_var
=LIBPATH
15247 osf3
* | osf4
* | osf5
*)
15251 soname_spec
='${libname}${release}${shared_ext}$major'
15252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15253 shlibpath_var
=LD_LIBRARY_PATH
15254 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15255 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15267 soname_spec
='${libname}${release}${shared_ext}$major'
15268 shlibpath_var
=LD_LIBRARY_PATH
15269 shlibpath_overrides_runpath
=yes
15270 hardcode_into_libs
=yes
15271 # ldd complains unless libraries are executable
15272 postinstall_cmds
='chmod +x $lib'
15277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15278 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15279 shlibpath_var
=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath
=yes
15281 if test "$with_gnu_ld" = yes; then
15289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15290 soname_spec
='${libname}${release}${shared_ext}$major'
15291 shlibpath_var
=LD_LIBRARY_PATH
15292 case $host_vendor in
15294 shlibpath_overrides_runpath
=no
15296 runpath_var
=LD_RUN_PATH
15304 shlibpath_overrides_runpath
=no
15305 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15311 if test -d /usr
/nec
;then
15313 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15314 soname_spec
='$libname${shared_ext}.$major'
15315 shlibpath_var
=LD_LIBRARY_PATH
15319 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15320 version_type
=freebsd-elf
15323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15324 soname_spec
='${libname}${release}${shared_ext}$major'
15325 shlibpath_var
=LD_LIBRARY_PATH
15326 shlibpath_overrides_runpath
=yes
15327 hardcode_into_libs
=yes
15328 if test "$with_gnu_ld" = yes; then
15329 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15331 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15334 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15338 sys_lib_dlsearch_path_spec
='/usr/lib'
15342 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15347 shlibpath_var
=LD_LIBRARY_PATH
15348 shlibpath_overrides_runpath
=no
15349 hardcode_into_libs
=yes
15354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15355 soname_spec
='${libname}${release}${shared_ext}$major'
15356 shlibpath_var
=LD_LIBRARY_PATH
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15364 $as_echo "$dynamic_linker" >&6; }
15365 test "$dynamic_linker" = no
&& can_build_shared
=no
15367 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15368 if test "$GCC" = yes; then
15369 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15372 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15373 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15375 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15376 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15417 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15418 hardcode_action_CXX
=
15419 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15420 test -n "$runpath_var_CXX" ||
15421 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15423 # We can hardcode non-existent directories.
15424 if test "$hardcode_direct_CXX" != no
&&
15425 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15426 # have to relink, otherwise we might link with an installed library
15427 # when we should be linking with a yet-to-be-installed one
15428 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15429 test "$hardcode_minus_L_CXX" != no
; then
15430 # Linking always hardcodes the temporary library directory.
15431 hardcode_action_CXX
=relink
15433 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15434 hardcode_action_CXX
=immediate
15437 # We cannot hardcode anything, or else we can only hardcode existing
15439 hardcode_action_CXX
=unsupported
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15442 $as_echo "$hardcode_action_CXX" >&6; }
15444 if test "$hardcode_action_CXX" = relink ||
15445 test "$inherit_rpath_CXX" = yes; then
15446 # Fast installation is not supported
15447 enable_fast_install
=no
15448 elif test "$shlibpath_overrides_runpath" = yes ||
15449 test "$enable_shared" = no
; then
15450 # Fast installation is not necessary
15451 enable_fast_install
=needless
15460 fi # test -n "$compiler"
15466 with_gnu_ld
=$lt_save_with_gnu_ld
15467 lt_cv_path_LDCXX
=$lt_cv_path_LD
15468 lt_cv_path_LD
=$lt_save_path_LD
15469 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15470 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15471 fi # test "$_lt_caught_CXX_error" != yes
15474 ac_cpp
='$CPP $CPPFLAGS'
15475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15491 ac_config_commands
="$ac_config_commands libtool"
15496 # Only expand once:
15500 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga fi id bg"
15501 # If we haven't got the data from the intl directory,
15502 # assume NLS is disabled.
15511 if test -f ..
/intl
/config.intl
; then
15512 . ..
/intl
/config.intl
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15515 $as_echo_n "checking whether NLS is requested... " >&6; }
15516 if test x
"$USE_NLS" != xyes
; then
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15518 $as_echo "no" >&6; }
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15521 $as_echo "yes" >&6; }
15523 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15527 $as_echo_n "checking for catalogs to be installed... " >&6; }
15528 # Look for .po and .gmo files in the source directory.
15531 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
15532 # If there aren't any .gmo files the shell will give us the
15533 # literal string "../path/to/srcdir/po/*.gmo" which has to be
15535 case "$cat" in *\
**)
15538 # The quadruple backslash is collapsed to a double backslash
15539 # by the backticks, then collapsed again by the double quotes,
15540 # leaving us with one backslash in the sed expression (right
15541 # before the dot that mustn't act as a wildcard).
15542 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
15543 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
15544 # The user is allowed to set LINGUAS to a list of languages to
15545 # install catalogs for. If it's empty that means "all of them."
15546 if test "x$LINGUAS" = x
; then
15547 CATALOGS
="$CATALOGS $cat"
15548 XLINGUAS
="$XLINGUAS $lang"
15550 case "$LINGUAS" in *$lang*)
15551 CATALOGS
="$CATALOGS $cat"
15552 XLINGUAS
="$XLINGUAS $lang"
15557 LINGUAS
="$XLINGUAS"
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15559 $as_echo "$LINGUAS" >&6; }
15573 if test -n "$ac_aux_dir"; then
15574 case "$ac_aux_dir" in
15575 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
15576 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
15579 if test -z "$MKINSTALLDIRS"; then
15580 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15586 $as_echo_n "checking whether NLS is requested... " >&6; }
15587 # Check whether --enable-nls was given.
15588 if test "${enable_nls+set}" = set; then :
15589 enableval
=$enable_nls; USE_NLS
=$enableval
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15595 $as_echo "$USE_NLS" >&6; }
15602 # Prepare PATH_SEPARATOR.
15603 # The user is always right.
15604 if test "${PATH_SEPARATOR+set}" != set; then
15605 echo "#! /bin/sh" >conf$$.sh
15606 echo "exit 0" >>conf$$.sh
15608 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15616 # Find out how to test for executable files. Don't use a zero-byte file,
15617 # as systems may use methods other than mode bits to determine executability.
15618 cat >conf$$.
file <<_ASEOF
15622 chmod +x conf$$.
file
15623 if test -x conf$$.
file >/dev
/null
2>&1; then
15624 ac_executable_p
="test -x"
15626 ac_executable_p
="test -f"
15630 # Extract the first word of "msgfmt", so it can be a program name with args.
15631 set dummy msgfmt
; ac_word
=$2
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15633 $as_echo_n "checking for $ac_word... " >&6; }
15634 if test "${ac_cv_path_MSGFMT+set}" = set; then :
15635 $as_echo_n "(cached) " >&6
15639 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15642 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15643 for ac_dir
in $PATH; do
15645 test -z "$ac_dir" && ac_dir
=.
15646 for ac_exec_ext
in '' $ac_executable_extensions; do
15647 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15648 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15649 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15650 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
15657 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15661 MSGFMT
="$ac_cv_path_MSGFMT"
15662 if test "$MSGFMT" != ":"; then
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15664 $as_echo "$MSGFMT" >&6; }
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15667 $as_echo "no" >&6; }
15670 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15671 set dummy gmsgfmt
; ac_word
=$2
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15673 $as_echo_n "checking for $ac_word... " >&6; }
15674 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15675 $as_echo_n "(cached) " >&6
15679 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15683 for as_dir
in $PATH
15686 test -z "$as_dir" && as_dir
=.
15687 for ac_exec_ext
in '' $ac_executable_extensions; do
15688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15689 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15697 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15701 GMSGFMT
=$ac_cv_path_GMSGFMT
15702 if test -n "$GMSGFMT"; then
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15704 $as_echo "$GMSGFMT" >&6; }
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15707 $as_echo "no" >&6; }
15713 # Prepare PATH_SEPARATOR.
15714 # The user is always right.
15715 if test "${PATH_SEPARATOR+set}" != set; then
15716 echo "#! /bin/sh" >conf$$.sh
15717 echo "exit 0" >>conf$$.sh
15719 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15727 # Find out how to test for executable files. Don't use a zero-byte file,
15728 # as systems may use methods other than mode bits to determine executability.
15729 cat >conf$$.
file <<_ASEOF
15733 chmod +x conf$$.
file
15734 if test -x conf$$.
file >/dev
/null
2>&1; then
15735 ac_executable_p
="test -x"
15737 ac_executable_p
="test -f"
15741 # Extract the first word of "xgettext", so it can be a program name with args.
15742 set dummy xgettext
; ac_word
=$2
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15744 $as_echo_n "checking for $ac_word... " >&6; }
15745 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15746 $as_echo_n "(cached) " >&6
15748 case "$XGETTEXT" in
15750 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15753 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15754 for ac_dir
in $PATH; do
15756 test -z "$ac_dir" && ac_dir
=.
15757 for ac_exec_ext
in '' $ac_executable_extensions; do
15758 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15759 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
15760 (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
15761 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
15768 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15772 XGETTEXT
="$ac_cv_path_XGETTEXT"
15773 if test "$XGETTEXT" != ":"; then
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15775 $as_echo "$XGETTEXT" >&6; }
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15778 $as_echo "no" >&6; }
15784 # Prepare PATH_SEPARATOR.
15785 # The user is always right.
15786 if test "${PATH_SEPARATOR+set}" != set; then
15787 echo "#! /bin/sh" >conf$$.sh
15788 echo "exit 0" >>conf$$.sh
15790 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15798 # Find out how to test for executable files. Don't use a zero-byte file,
15799 # as systems may use methods other than mode bits to determine executability.
15800 cat >conf$$.
file <<_ASEOF
15804 chmod +x conf$$.
file
15805 if test -x conf$$.
file >/dev
/null
2>&1; then
15806 ac_executable_p
="test -x"
15808 ac_executable_p
="test -f"
15812 # Extract the first word of "msgmerge", so it can be a program name with args.
15813 set dummy msgmerge
; ac_word
=$2
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15815 $as_echo_n "checking for $ac_word... " >&6; }
15816 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
15817 $as_echo_n "(cached) " >&6
15819 case "$MSGMERGE" in
15821 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15824 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15825 for ac_dir
in $PATH; do
15827 test -z "$ac_dir" && ac_dir
=.
15828 for ac_exec_ext
in '' $ac_executable_extensions; do
15829 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15830 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15831 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
15838 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15842 MSGMERGE
="$ac_cv_path_MSGMERGE"
15843 if test "$MSGMERGE" != ":"; then
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15845 $as_echo "$MSGMERGE" >&6; }
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15848 $as_echo "no" >&6; }
15852 if test "$GMSGFMT" != ":"; then
15853 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15854 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15857 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15859 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
15864 if test "$XGETTEXT" != ":"; then
15865 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
15866 (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
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15870 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15876 ac_config_commands
="$ac_config_commands default-1"
15882 for ac_prog
in 'bison -y' byacc
15884 # Extract the first word of "$ac_prog", so it can be a program name with args.
15885 set dummy
$ac_prog; ac_word
=$2
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15887 $as_echo_n "checking for $ac_word... " >&6; }
15888 if test "${ac_cv_prog_YACC+set}" = set; then :
15889 $as_echo_n "(cached) " >&6
15891 if test -n "$YACC"; then
15892 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
15894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15895 for as_dir
in $PATH
15898 test -z "$as_dir" && as_dir
=.
15899 for ac_exec_ext
in '' $ac_executable_extensions; do
15900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15901 ac_cv_prog_YACC
="$ac_prog"
15902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15911 YACC
=$ac_cv_prog_YACC
15912 if test -n "$YACC"; then
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
15914 $as_echo "$YACC" >&6; }
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15917 $as_echo "no" >&6; }
15921 test -n "$YACC" && break
15923 test -n "$YACC" || YACC
="yacc"
15925 for ac_prog
in flex
lex
15927 # Extract the first word of "$ac_prog", so it can be a program name with args.
15928 set dummy
$ac_prog; ac_word
=$2
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15930 $as_echo_n "checking for $ac_word... " >&6; }
15931 if test "${ac_cv_prog_LEX+set}" = set; then :
15932 $as_echo_n "(cached) " >&6
15934 if test -n "$LEX"; then
15935 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
15937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15938 for as_dir
in $PATH
15941 test -z "$as_dir" && as_dir
=.
15942 for ac_exec_ext
in '' $ac_executable_extensions; do
15943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15944 ac_cv_prog_LEX
="$ac_prog"
15945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15954 LEX
=$ac_cv_prog_LEX
15955 if test -n "$LEX"; then
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
15957 $as_echo "$LEX" >&6; }
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15960 $as_echo "no" >&6; }
15964 test -n "$LEX" && break
15966 test -n "$LEX" || LEX
=":"
15968 if test "x$LEX" != "x:"; then
15969 cat >conftest.l
<<_ACEOF
15975 e { yyless (input () != 0); }
15976 f { unput (yytext[0]); }
15977 . { BEGIN INITIAL; }
15979 #ifdef YYTEXT_POINTER
15980 extern char *yytext;
15985 return ! yylex () + ! yywrap ();
15988 { { ac_try
="$LEX conftest.l"
15989 case "(($ac_try" in
15990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15991 *) ac_try_echo=$ac_try;;
15993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15994 $as_echo "$ac_try_echo"; } >&5
15995 (eval "$LEX conftest.l") 2>&5
15997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15998 test $ac_status = 0; }
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16000 $as_echo_n "checking lex output file root... " >&6; }
16001 if test "${ac_cv_prog_lex_root+set}" = set; then :
16002 $as_echo_n "(cached) " >&6
16005 if test -f lex.yy.c; then
16006 ac_cv_prog_lex_root=lex.yy
16007 elif test -f lexyy.c; then
16008 ac_cv_prog_lex_root=lexyy
16010 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16014 $as_echo "$ac_cv_prog_lex_root" >&6; }
16015 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16017 if test -z "${LEXLIB+set}"; then
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16019 $as_echo_n "checking lex library... " >&6; }
16020 if test "${ac_cv_lib_lex+set}" = set; then :
16021 $as_echo_n "(cached) " >&6
16025 ac_cv_lib_lex='none needed'
16026 for ac_lib in '' -lfl -ll; do
16027 LIBS="$ac_lib $ac_save_LIBS"
16028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16029 /* end confdefs.h. */
16030 `cat $LEX_OUTPUT_ROOT.c
`
16032 if ac_fn_c_try_link "$LINENO"; then :
16033 ac_cv_lib_lex=$ac_lib
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext conftest.$ac_ext
16037 test "$ac_cv_lib_lex" != 'none needed' && break
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16043 $as_echo "$ac_cv_lib_lex" >&6; }
16044 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16049 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16050 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
16051 $as_echo_n "(cached) " >&6
16053 # POSIX says lex can declare yytext either as a pointer or an array; the
16054 # default is implementation-dependent. Figure out which it is, since
16055 # not all implementations provide the %pointer and %array declarations.
16056 ac_cv_prog_lex_yytext_pointer=no
16058 LIBS="$LEXLIB $ac_save_LIBS"
16059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16060 /* end confdefs.h. */
16061 #define YYTEXT_POINTER 1
16062 `cat $LEX_OUTPUT_ROOT.c
`
16064 if ac_fn_c_try_link "$LINENO"; then :
16065 ac_cv_prog_lex_yytext_pointer=yes
16067 rm -f core conftest.err conftest.$ac_objext \
16068 conftest$ac_exeext conftest.$ac_ext
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16073 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16074 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16076 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16079 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16082 if test "$LEX" = :; then
16083 LEX=${am_missing_run}flex
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16088 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16089 # Check whether --enable-maintainer-mode was given.
16090 if test "${enable_maintainer_mode+set}" = set; then :
16091 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16093 USE_MAINTAINER_MODE=no
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16097 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16098 if test $USE_MAINTAINER_MODE = yes; then
16099 MAINTAINER_MODE_TRUE=
16100 MAINTAINER_MODE_FALSE='#'
16102 MAINTAINER_MODE_TRUE='#'
16103 MAINTAINER_MODE_FALSE=
16106 MAINT=$MAINTAINER_MODE_TRUE
16110 GENINSRC_NEVER_TRUE=
16111 GENINSRC_NEVER_FALSE='#'
16113 GENINSRC_NEVER_TRUE='#'
16114 GENINSRC_NEVER_FALSE=
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16118 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16119 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
16120 $as_echo_n "(cached) " >&6
16124 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16125 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16126 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16129 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16132 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16133 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16136 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16143 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16144 do_compare="$gcc_cv_prog_cmp_skip"
16148 . ${srcdir}/configure.host
16155 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h
16157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16158 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16159 eval as_val=\$$as_ac_Header
16160 if test "x$as_val" = x""yes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16169 for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
16171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16172 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16173 eval as_val=\$$as_ac_Header
16174 if test "x$as_val" = x""yes; then :
16175 cat >>confdefs.h <<_ACEOF
16176 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16183 for ac_func in glob mkstemp realpath sbrk waitpid
16185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16187 eval as_val=\$$as_ac_var
16188 if test "x$as_val" = x""yes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16196 for ac_func in open lseek close
16198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16200 eval as_val=\$$as_ac_var
16201 if test "x$as_val" = x""yes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16209 ac_header_dirent=no
16210 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
16211 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
16213 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
16214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
16215 $as_echo_n "(cached) " >&6
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16219 #include <sys/types.h>
16231 if ac_fn_c_try_compile "$LINENO"; then :
16232 eval "$as_ac_Header=yes"
16234 eval "$as_ac_Header=no"
16236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16238 eval ac_res=\$$as_ac_Header
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16240 $as_echo "$ac_res" >&6; }
16241 eval as_val=\$$as_ac_Header
16242 if test "x$as_val" = x""yes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
16247 ac_header_dirent=$ac_hdr; break
16251 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
16252 if test $ac_header_dirent = dirent.h; then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16254 $as_echo_n "checking for library containing opendir... " >&6; }
16255 if test "${ac_cv_search_opendir+set}" = set; then :
16256 $as_echo_n "(cached) " >&6
16258 ac_func_search_save_LIBS=$LIBS
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16262 /* Override any GCC internal prototype to avoid an error.
16263 Use char because int might match the return type of a GCC
16264 builtin and then its argument prototype would still apply. */
16277 for ac_lib in '' dir; do
16278 if test -z "$ac_lib"; then
16279 ac_res="none required"
16282 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16284 if ac_fn_c_try_link "$LINENO"; then :
16285 ac_cv_search_opendir=$ac_res
16287 rm -f core conftest.err conftest.$ac_objext \
16289 if test "${ac_cv_search_opendir+set}" = set; then :
16293 if test "${ac_cv_search_opendir+set}" = set; then :
16296 ac_cv_search_opendir=no
16298 rm conftest.$ac_ext
16299 LIBS=$ac_func_search_save_LIBS
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16302 $as_echo "$ac_cv_search_opendir" >&6; }
16303 ac_res=$ac_cv_search_opendir
16304 if test "$ac_res" != no; then :
16305 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16311 $as_echo_n "checking for library containing opendir... " >&6; }
16312 if test "${ac_cv_search_opendir+set}" = set; then :
16313 $as_echo_n "(cached) " >&6
16315 ac_func_search_save_LIBS=$LIBS
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16319 /* Override any GCC internal prototype to avoid an error.
16320 Use char because int might match the return type of a GCC
16321 builtin and then its argument prototype would still apply. */
16334 for ac_lib in '' x; do
16335 if test -z "$ac_lib"; then
16336 ac_res="none required"
16339 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16341 if ac_fn_c_try_link "$LINENO"; then :
16342 ac_cv_search_opendir=$ac_res
16344 rm -f core conftest.err conftest.$ac_objext \
16346 if test "${ac_cv_search_opendir+set}" = set; then :
16350 if test "${ac_cv_search_opendir+set}" = set; then :
16353 ac_cv_search_opendir=no
16355 rm conftest.$ac_ext
16356 LIBS=$ac_func_search_save_LIBS
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16359 $as_echo "$ac_cv_search_opendir" >&6; }
16360 ac_res=$ac_cv_search_opendir
16361 if test "$ac_res" != no; then :
16362 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16369 # Check for dlopen support and enable plugins if possible.
16371 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
16373 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16381 $as_echo_n "checking for library containing dlopen... " >&6; }
16382 if test "${ac_cv_search_dlopen+set}" = set; then :
16383 $as_echo_n "(cached) " >&6
16385 ac_func_search_save_LIBS=$LIBS
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16389 /* Override any GCC internal prototype to avoid an error.
16390 Use char because int might match the return type of a GCC
16391 builtin and then its argument prototype would still apply. */
16404 for ac_lib in '' dl; do
16405 if test -z "$ac_lib"; then
16406 ac_res="none required"
16409 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16411 if ac_fn_c_try_link "$LINENO"; then :
16412 ac_cv_search_dlopen=$ac_res
16414 rm -f core conftest.err conftest.$ac_objext \
16416 if test "${ac_cv_search_dlopen+set}" = set; then :
16420 if test "${ac_cv_search_dlopen+set}" = set; then :
16423 ac_cv_search_dlopen=no
16425 rm conftest.$ac_ext
16426 LIBS=$ac_func_search_save_LIBS
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16429 $as_echo "$ac_cv_search_dlopen" >&6; }
16430 ac_res=$ac_cv_search_dlopen
16431 if test "$ac_res" != no; then :
16432 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16438 for ac_func in dlopen dlsym dlclose
16440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16442 eval as_val=\$$as_ac_var
16443 if test "x$as_val" = x""yes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16453 # We also support plugins on Windows (MinGW).
16454 if test x$enable_plugins = xno ; then
16455 for ac_header in Windows.h
16457 ac_fn_c_check_header_compile "$LINENO" "Windows.h" "ac_cv_header_Windows_h" "$ac_includes_default
16459 if test "x$ac_cv_header_Windows_h" = x""yes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_WINDOWS_H 1
16469 if test x$enable_plugins = xyes; then
16470 ENABLE_PLUGINS_TRUE=
16471 ENABLE_PLUGINS_FALSE='#'
16473 ENABLE_PLUGINS_TRUE='#'
16474 ENABLE_PLUGINS_FALSE=
16478 # Check whether --enable-initfini-array was given.
16479 if test "${enable_initfini_array+set}" = set; then :
16480 enableval=$enable_initfini_array;
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
16484 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
16485 if test "${gcc_cv_initfini_array+set}" = set; then :
16486 $as_echo_n "(cached) " >&6
16488 if test "x${build}" = "x${target}" ; then
16489 if test "$cross_compiling" = yes; then :
16490 gcc_cv_initfini_array=no
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16496 int main (void) { return x; }
16497 int foo (void) { x = 0; }
16498 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
16500 if ac_fn_c_try_run "$LINENO"; then :
16501 gcc_cv_initfini_array=yes
16503 gcc_cv_initfini_array=no
16505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16506 conftest.$ac_objext conftest.beam conftest.$ac_ext
16510 gcc_cv_initfini_array=no
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_initfini_array" >&5
16514 $as_echo "$gcc_cv_initfini_array" >&6; }
16515 enable_initfini_array=$gcc_cv_initfini_array
16520 if test $enable_initfini_array = yes; then
16522 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
16527 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
16528 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
16529 $as_echo_n "(cached) " >&6
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16533 #include <unistd.h>
16537 extern int getopt (int, char *const*, const char *);
16542 if ac_fn_c_try_compile "$LINENO"; then :
16543 ld_cv_decl_getopt_unistd_h=yes
16545 ld_cv_decl_getopt_unistd_h=no
16547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
16551 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
16552 if test $ld_cv_decl_getopt_unistd_h = yes; then
16554 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
16560 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
16562 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
16566 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
16567 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
16573 cat >>confdefs.h <<_ACEOF
16574 #define HAVE_DECL_STRSTR $ac_have_decl
16576 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
16577 if test "x$ac_cv_have_decl_free" = x""yes; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define HAVE_DECL_FREE $ac_have_decl
16586 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
16587 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
16593 cat >>confdefs.h <<_ACEOF
16594 #define HAVE_DECL_SBRK $ac_have_decl
16596 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
16597 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_DECL_GETENV $ac_have_decl
16606 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
16607 if test "x$ac_cv_have_decl_environ" = x""yes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_DECL_ENVIRON $ac_have_decl
16618 # Link in zlib if we can. This is needed only for the bootstrap tests
16619 # right now, since those tests use libbfd, which depends on zlib.
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
16621 $as_echo_n "checking for library containing zlibVersion... " >&6; }
16622 if test "${ac_cv_search_zlibVersion+set}" = set; then :
16623 $as_echo_n "(cached) " >&6
16625 ac_func_search_save_LIBS=$LIBS
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16629 /* Override any GCC internal prototype to avoid an error.
16630 Use char because int might match the return type of a GCC
16631 builtin and then its argument prototype would still apply. */
16635 char zlibVersion ();
16639 return zlibVersion ();
16644 for ac_lib in '' z; do
16645 if test -z "$ac_lib"; then
16646 ac_res="none required"
16649 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16651 if ac_fn_c_try_link "$LINENO"; then :
16652 ac_cv_search_zlibVersion=$ac_res
16654 rm -f core conftest.err conftest.$ac_objext \
16656 if test "${ac_cv_search_zlibVersion+set}" = set; then :
16660 if test "${ac_cv_search_zlibVersion+set}" = set; then :
16663 ac_cv_search_zlibVersion=no
16665 rm conftest.$ac_ext
16666 LIBS=$ac_func_search_save_LIBS
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
16669 $as_echo "$ac_cv_search_zlibVersion" >&6; }
16670 ac_res=$ac_cv_search_zlibVersion
16671 if test "$ac_res" != no; then :
16672 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16673 for ac_header in zlib.h
16675 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16676 if test "x$ac_cv_header_zlib_h" = x""yes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_ZLIB_H 1
16688 # When converting linker scripts into strings for use in emulation
16689 # files, use astring.sed if the compiler supports ANSI string
16690 # concatenation, or ostring.sed otherwise. This is to support the
16691 # broken Microsoft MSVC compiler, which limits the length of string
16692 # constants, while still supporting pre-ANSI compilers which do not
16693 # support string concatenation.
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
16695 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
16696 if test "${ld_cv_string_concatenation+set}" = set; then :
16697 $as_echo_n "(cached) " >&6
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16710 if ac_fn_c_try_compile "$LINENO"; then :
16711 ld_cv_string_concatenation=yes
16713 ld_cv_string_concatenation=no
16715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
16719 $as_echo "$ld_cv_string_concatenation" >&6; }
16720 if test "$ld_cv_string_concatenation" = "yes"; then
16721 STRINGIFY=astring.sed
16723 STRINGIFY=ostring.sed
16727 # target-specific stuff:
16737 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
16739 if test "$targ_alias" = "all"; then
16742 # Canonicalize the secondary target names.
16743 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
16744 if test -n "$result"; then
16750 . ${srcdir}/configure.tgt
16752 if test "$targ" = "$target"; then
16756 if test x${want64} = xfalse; then
16757 . ${srcdir}/../bfd/config.bfd
16760 if test x${want64} = xtrue; then
16761 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
16762 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
16765 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
16766 case " $all_emuls " in
16769 all_emuls="$all_emuls e${i}.o"
16770 eval result=\$tdir_$i
16771 test -z "$result" && result=$targ_alias
16772 echo tdir_$i=$result >> tdirs
16777 for i in $targ_emul $targ_extra_libpath; do
16778 case " $all_libpath " in
16781 if test -z "$all_libpath"; then
16784 all_libpath="$all_libpath ${i}"
16790 for i in $targ_extra_ofiles; do
16791 case " $all_emul_extras " in
16794 all_emul_extras="$all_emul_extras ${i}"
16806 if test x${all_targets} = xtrue; then
16807 if test x${want64} = xfalse; then
16808 # The cast to long int works around a bug in the HP C Compiler
16809 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16810 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
16811 # This bug is HP SR number 8606223364.
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16813 $as_echo_n "checking size of long... " >&6; }
16814 if test "${ac_cv_sizeof_long+set}" = set; then :
16815 $as_echo_n "(cached) " >&6
16817 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16820 if test "$ac_cv_type_long" = yes; then
16821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16822 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
16823 { as_fn_set_status 77
16824 as_fn_error "cannot compute sizeof (long)
16825 See \`config.log
' for more details." "$LINENO" 5; }; }
16827 ac_cv_sizeof_long=0
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16833 $as_echo "$ac_cv_sizeof_long" >&6; }
16837 cat >>confdefs.h <<_ACEOF
16838 #define SIZEOF_LONG $ac_cv_sizeof_long
16842 if test "x${ac_cv_sizeof_long}" = "x8"; then
16846 if test x${want64} = xtrue; then
16847 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
16849 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
16851 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
16853 EMULATION_OFILES=$all_emuls
16854 EMUL_EXTRA_OFILES=$all_emul_extras
16860 EMULATION_LIBPATH=$all_libpath
16863 if test x${enable_static} = xno; then
16864 TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
16866 TESTBFDLIB="../bfd/.libs/libbfd.a"
16870 target_vendor=${target_vendor=$host_vendor}
16871 case "$target_vendor" in
16872 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
16873 *) EXTRA_SHLIB_EXTENSION= ;;
16876 case "$target_os" in
16877 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
16880 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
16882 cat >>confdefs.h <<_ACEOF
16883 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
16893 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
16895 cat >confcache <<\_ACEOF
16896 # This file is a shell script that caches the results of configure
16897 # tests run on this system so they can be shared between configure
16898 # scripts and configure runs, see configure's option
--config-cache.
16899 # It is not useful on other systems. If it contains results you don't
16900 # want to keep, you may remove or edit it.
16902 # config.status only pays attention to the cache file if you give it
16903 # the --recheck option to rerun configure.
16905 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16906 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16907 # following values.
16911 # The following way of writing the cache mishandles newlines in values,
16912 # but we know of no workaround that is simple, portable, and efficient.
16913 # So, we kill variables containing newlines.
16914 # Ultrix sh set writes to stderr and can't be redirected directly,
16915 # and sets the high bit in the cache file unless we assign to the vars.
16917 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16918 eval ac_val
=\$
$ac_var
16922 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16923 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16926 _ | IFS | as_nl
) ;; #(
16927 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16928 *) { eval $ac_var=; unset $ac_var;} ;;
16934 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16935 *${as_nl}ac_space
=\
*)
16936 # `set' does not quote correctly, so add quotes: double-quote
16937 # substitution turns \\\\ into \\, and sed turns \\ into \.
16940 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16943 # `set' quotes correctly as required by POSIX, so do not add quotes.
16944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16955 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16957 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16958 if test -w "$cache_file"; then
16959 test "x$cache_file" != "x/dev/null" &&
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16961 $as_echo "$as_me: updating cache $cache_file" >&6;}
16962 cat confcache
>$cache_file
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16965 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16970 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16971 # Let make expand exec_prefix.
16972 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16974 DEFS
=-DHAVE_CONFIG_H
16978 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16979 # 1. Remove the extension, and $U if already installed.
16980 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16981 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16982 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16983 # will be set to the directory where LIBOBJS objects are built.
16984 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16985 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16987 LIBOBJS
=$ac_libobjs
16989 LTLIBOBJS
=$ac_ltlibobjs
16992 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16993 as_fn_error
"conditional \"AMDEP\" was never defined.
16994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16996 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16997 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17000 if test -n "$EXEEXT"; then
17002 am__EXEEXT_FALSE
='#'
17004 am__EXEEXT_TRUE
='#'
17008 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17009 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17012 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17013 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
17014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17016 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17017 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17020 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17021 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
17022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17024 if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then
17025 as_fn_error
"conditional \"ENABLE_PLUGINS\" was never defined.
17026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17029 : ${CONFIG_STATUS=./config.status}
17031 ac_clean_files_save
=$ac_clean_files
17032 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17034 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17036 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17038 # Generated by $as_me.
17039 # Run this file to recreate the current configuration.
17040 # Compiler output produced by configure, useful for debugging
17041 # configure, is in config.log if it exists.
17044 ac_cs_recheck=false
17047 SHELL=\${CONFIG_SHELL-$SHELL}
17050 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17051 ## -------------------- ##
17052 ## M4sh Initialization. ##
17053 ## -------------------- ##
17055 # Be more Bourne compatible
17056 DUALCASE
=1; export DUALCASE
# for MKS sh
17057 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17060 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17061 # is contrary to our usage. Disable this feature.
17062 alias -g '${1+"$@"}'='"$@"'
17063 setopt NO_GLOB_SUBST
17065 case `(set -o) 2>/dev/null` in #(
17077 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17078 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17080 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17081 # Prefer a ksh shell builtin over an external printf program on Solaris,
17082 # but without wasting forks for bash or zsh.
17083 if test -z "$BASH_VERSION$ZSH_VERSION" \
17084 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17085 as_echo='print
-r --'
17086 as_echo_n='print
-rn --'
17087 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17088 as_echo='printf %s
\n'
17089 as_echo_n='printf %s
'
17091 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17092 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17093 as_echo_n='/usr
/ucb
/echo -n'
17095 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17096 as_echo_n_body='eval
17100 expr "X$arg" : "X\\(.*\\)$as_nl";
17101 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17103 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17105 export as_echo_n_body
17106 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17108 export as_echo_body
17109 as_echo='sh
-c $as_echo_body as_echo
'
17112 # The user is always right.
17113 if test "${PATH_SEPARATOR+set}" != set; then
17115 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17116 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17123 # We need space, tab and new line, in precisely that order. Quoting is
17124 # there to prevent editors from complaining about space-tab.
17125 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17126 # splitting by setting IFS to empty value.)
17129 # Find who we are. Look in the path if we contain no directory separator.
17131 *[\\/]* ) as_myself=$0 ;;
17132 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17133 for as_dir in $PATH
17136 test -z "$as_dir" && as_dir=.
17137 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17143 # We did not find ourselves, most probably we were run as `sh COMMAND'
17144 # in which case we are not to be found in the path.
17145 if test "x$as_myself" = x
; then
17148 if test ! -f "$as_myself"; then
17149 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17153 # Unset variables that we do not need and which cause bugs (e.g. in
17154 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17155 # suppresses any "Segmentation fault" message there. '((' could
17156 # trigger a bug in pdksh 5.2.14.
17157 for as_var
in BASH_ENV ENV MAIL MAILPATH
17158 do eval test x\
${$as_var+set} = xset \
17159 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17172 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17175 # as_fn_error ERROR [LINENO LOG_FD]
17176 # ---------------------------------
17177 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17178 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17179 # script with status $?, using 1 if that was 0.
17182 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17184 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17185 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17187 $as_echo "$as_me: error: $1" >&2
17188 as_fn_exit
$as_status
17192 # as_fn_set_status STATUS
17193 # -----------------------
17194 # Set $? to STATUS, without forking.
17195 as_fn_set_status
()
17198 } # as_fn_set_status
17200 # as_fn_exit STATUS
17201 # -----------------
17202 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17206 as_fn_set_status
$1
17212 # Portably unset VAR.
17215 { eval $1=; unset $1;}
17217 as_unset
=as_fn_unset
17218 # as_fn_append VAR VALUE
17219 # ----------------------
17220 # Append the text in VALUE to the end of the definition contained in VAR. Take
17221 # advantage of any shell optimizations that allow amortized linear growth over
17222 # repeated appends, instead of the typical quadratic growth present in naive
17224 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17225 eval 'as_fn_append ()
17236 # as_fn_arith ARG...
17237 # ------------------
17238 # Perform arithmetic evaluation on the ARGs, and store the result in the
17239 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17240 # must be portable across $(()) and expr.
17241 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17242 eval 'as_fn_arith ()
17249 as_val
=`expr "$@" || test $? -eq 1`
17254 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17255 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17261 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17262 as_basename
=basename
17267 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17273 as_me
=`$as_basename -- "$0" ||
17274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17275 X"$0" : 'X\(//\)$' \| \
17276 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17278 sed '/^.*\/\([^/][^/]*\)\/*$/{
17292 # Avoid depending upon Character Ranges.
17293 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17294 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17295 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17296 as_cr_digits
='0123456789'
17297 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17299 ECHO_C
= ECHO_N
= ECHO_T
=
17300 case `echo -n x` in #(((((
17302 case `echo 'xy\c'` in
17303 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17305 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17312 rm -f conf$$ conf$$.exe conf$$.
file
17313 if test -d conf$$.dir
; then
17314 rm -f conf$$.dir
/conf$$.
file
17317 mkdir conf$$.dir
2>/dev
/null
17319 if (echo >conf$$.
file) 2>/dev
/null
; then
17320 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17322 # ... but there are two gotchas:
17323 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17324 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17325 # In both cases, we have to default to `cp -p'.
17326 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17328 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17336 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17337 rmdir conf$$.dir
2>/dev
/null
17342 # Create "$as_dir" as a directory, including parents if necessary.
17347 -*) as_dir
=.
/$as_dir;;
17349 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17353 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17354 *) as_qdir
=$as_dir;;
17356 as_dirs
="'$as_qdir' $as_dirs"
17357 as_dir
=`$as_dirname -- "$as_dir" ||
17358 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17359 X"$as_dir" : 'X\(//\)[^/]' \| \
17360 X"$as_dir" : 'X\(//\)$' \| \
17361 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17362 $as_echo X"$as_dir" |
17363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17367 /^X\(\/\/\)[^/].*/{
17380 test -d "$as_dir" && break
17382 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17383 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17387 if mkdir
-p .
2>/dev
/null
; then
17388 as_mkdir_p
='mkdir -p "$as_dir"'
17390 test -d .
/-p && rmdir .
/-p
17394 if test -x / >/dev
/null
2>&1; then
17395 as_test_x
='test -x'
17397 if ls -dL / >/dev
/null
2>&1; then
17404 if test -d "$1"; then
17410 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17411 ???[sx]*):;;*)false;;esac;fi
17415 as_executable_p
=$as_test_x
17417 # Sed expression to map a string onto a valid CPP name.
17418 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17420 # Sed expression to map a string onto a valid variable name.
17421 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17425 ## ----------------------------------- ##
17426 ## Main body of $CONFIG_STATUS script. ##
17427 ## ----------------------------------- ##
17429 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17432 # Save the log message, to keep $0 and so on meaningful, and to
17433 # report actual input values of CONFIG_FILES etc. instead of their
17434 # values after options handling.
17436 This file was extended by $as_me, which was
17437 generated by GNU Autoconf 2.64. Invocation command line was
17439 CONFIG_FILES = $CONFIG_FILES
17440 CONFIG_HEADERS = $CONFIG_HEADERS
17441 CONFIG_LINKS = $CONFIG_LINKS
17442 CONFIG_COMMANDS = $CONFIG_COMMANDS
17445 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17450 case $ac_config_files in *"
17451 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17454 case $ac_config_headers in *"
17455 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17460 # Files that config.status was made for.
17461 config_files="$ac_config_files"
17462 config_headers="$ac_config_headers"
17463 config_commands="$ac_config_commands"
17467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17469 \`$as_me' instantiates files and other configuration actions
17470 from templates according to the current configuration. Unless the files
17471 and actions are specified as TAGs, all are instantiated by default.
17473 Usage: $0 [OPTION]... [TAG]...
17475 -h, --help print this help, then exit
17476 -V, --version print version number and configuration settings, then exit
17477 -q, --quiet, --silent
17478 do not print progress messages
17479 -d, --debug don't remove temporary files
17480 --recheck update $as_me by reconfiguring in the same conditions
17481 --file=FILE[:TEMPLATE]
17482 instantiate the configuration file FILE
17483 --header=FILE[:TEMPLATE]
17484 instantiate the configuration header FILE
17486 Configuration files:
17489 Configuration headers:
17492 Configuration commands:
17495 Report bugs to the package provider."
17498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17501 configured by $0, generated by GNU Autoconf 2.64,
17502 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17504 Copyright (C) 2009 Free Software Foundation, Inc.
17505 This config.status script is free software; the Free Software Foundation
17506 gives unlimited permission to copy, distribute and modify it."
17513 test -n "\$AWK" || AWK=awk
17516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17517 # The default lists apply if the user does not specify any file.
17523 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17524 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17535 # Handling of the options.
17536 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17538 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17539 $as_echo "$ac_cs_version"; exit ;;
17540 --debug |
--debu |
--deb |
--de |
--d |
-d )
17542 --file |
--fil |
--fi |
--f )
17545 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17547 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17548 ac_need_defaults
=false
;;
17549 --header |
--heade |
--head |
--hea )
17552 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17554 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17555 ac_need_defaults
=false
;;
17557 # Conflict between --help and --header
17558 as_fn_error
"ambiguous option: \`$1'
17559 Try \`$0 --help' for more information.";;
17560 --help |
--hel |
-h )
17561 $as_echo "$ac_cs_usage"; exit ;;
17562 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17563 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17566 # This is an error.
17567 -*) as_fn_error
"unrecognized option: \`$1'
17568 Try \`$0 --help' for more information." ;;
17570 *) as_fn_append ac_config_targets
" $1"
17571 ac_need_defaults
=false
;;
17577 ac_configure_extra_args
=
17579 if $ac_cs_silent; then
17581 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17586 if \$ac_cs_recheck; then
17587 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17589 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17590 CONFIG_SHELL='$SHELL'
17591 export CONFIG_SHELL
17596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17600 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17601 ## Running $as_me. ##
17607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17611 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17614 # The HP-UX ksh and POSIX shell print the target directory to stdout
17615 # if CDPATH is set.
17616 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17618 sed_quote_subst='$sed_quote_subst'
17619 double_quote_subst='$double_quote_subst'
17620 delay_variable_subst='$delay_variable_subst'
17621 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17622 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17623 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17624 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17625 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17626 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17627 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17628 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17629 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17630 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17631 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17632 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17633 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17634 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17635 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17636 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17637 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17638 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17639 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17640 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17641 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17642 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17643 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17644 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17645 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17646 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17647 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17648 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17649 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17650 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17651 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17652 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17653 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17654 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17655 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17656 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17657 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17658 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17659 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17660 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17661 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17662 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17663 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17664 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17665 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17666 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17667 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17668 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17669 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"`'
17670 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17671 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17672 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17673 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17674 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17675 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17676 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17677 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17678 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17679 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17680 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17681 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17682 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17683 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17684 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17685 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17686 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17687 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17688 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17689 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17690 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17691 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17692 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17693 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17694 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17695 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17696 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17697 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17698 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17699 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17700 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17701 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17702 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17703 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17704 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17705 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17706 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17707 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17708 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17709 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17710 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17711 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17712 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17713 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17714 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17715 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17716 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17717 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17718 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17719 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17720 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17721 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17722 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17723 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17724 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17725 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17726 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17727 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17728 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17729 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17730 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17731 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17732 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17733 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17734 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17735 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17736 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17737 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17738 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17739 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17740 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17741 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17742 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17743 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17744 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17745 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17746 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17747 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17748 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17749 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17750 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17751 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17752 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17753 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17754 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17755 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17756 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17757 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17758 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17759 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17760 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17761 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17762 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17763 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17764 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17765 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17766 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17767 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17768 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17769 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17770 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17771 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17772 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17773 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17774 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17775 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17776 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17777 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17778 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17779 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17780 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17781 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17782 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17783 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17784 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17785 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17786 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17787 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17788 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17789 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17790 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17791 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17792 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17793 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17794 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17795 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17798 LTCFLAGS='$LTCFLAGS'
17799 compiler='$compiler_DEFAULT'
17801 # A function that is used when there is no print builtin or printf.
17802 func_fallback_echo ()
17804 eval 'cat <<_LTECHO_EOF
17809 # Quote evaled strings.
17823 deplibs_check_method \
17832 lt_cv_sys_global_symbol_pipe \
17833 lt_cv_sys_global_symbol_to_cdecl \
17834 lt_cv_sys_global_symbol_to_c_name_address \
17835 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17836 lt_prog_compiler_no_builtin_flag \
17837 lt_prog_compiler_wl \
17838 lt_prog_compiler_pic \
17839 lt_prog_compiler_static \
17840 lt_cv_prog_compiler_c_o \
17848 export_dynamic_flag_spec \
17849 whole_archive_flag_spec \
17850 compiler_needs_object \
17852 allow_undefined_flag \
17853 no_undefined_flag \
17854 hardcode_libdir_flag_spec \
17855 hardcode_libdir_flag_spec_ld \
17856 hardcode_libdir_separator \
17861 variables_saved_for_relink \
17863 library_names_spec \
17865 install_override_mode \
17869 compiler_lib_search_dirs \
17874 compiler_lib_search_path \
17878 lt_prog_compiler_no_builtin_flag_CXX \
17879 lt_prog_compiler_wl_CXX \
17880 lt_prog_compiler_pic_CXX \
17881 lt_prog_compiler_static_CXX \
17882 lt_cv_prog_compiler_c_o_CXX \
17883 export_dynamic_flag_spec_CXX \
17884 whole_archive_flag_spec_CXX \
17885 compiler_needs_object_CXX \
17887 allow_undefined_flag_CXX \
17888 no_undefined_flag_CXX \
17889 hardcode_libdir_flag_spec_CXX \
17890 hardcode_libdir_flag_spec_ld_CXX \
17891 hardcode_libdir_separator_CXX \
17892 fix_srcfile_path_CXX \
17893 exclude_expsyms_CXX \
17894 include_expsyms_CXX \
17895 file_list_spec_CXX \
17896 compiler_lib_search_dirs_CXX \
17897 predep_objects_CXX \
17898 postdep_objects_CXX \
17901 compiler_lib_search_path_CXX; do
17902 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17903 *[\\\\\\\`\\"\\\$]*)
17904 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17907 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17912 # Double-quote double-evaled strings.
17913 for var in reload_cmds \
17914 old_postinstall_cmds \
17915 old_postuninstall_cmds \
17917 extract_expsyms_cmds \
17918 old_archive_from_new_cmds \
17919 old_archive_from_expsyms_cmds \
17921 archive_expsym_cmds \
17923 module_expsym_cmds \
17924 export_symbols_cmds \
17927 postuninstall_cmds \
17929 sys_lib_search_path_spec \
17930 sys_lib_dlsearch_path_spec \
17932 old_archive_cmds_CXX \
17933 old_archive_from_new_cmds_CXX \
17934 old_archive_from_expsyms_cmds_CXX \
17936 archive_expsym_cmds_CXX \
17938 module_expsym_cmds_CXX \
17939 export_symbols_cmds_CXX \
17940 prelink_cmds_CXX; do
17941 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17942 *[\\\\\\\`\\"\\\$]*)
17943 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17946 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17951 ac_aux_dir='$ac_aux_dir'
17952 xsi_shell='$xsi_shell'
17953 lt_shell_append='$lt_shell_append'
17955 # See if we are running on zsh, and set the options which allow our
17956 # commands through without removal of \ escapes INIT.
17957 if test -n "\${ZSH_VERSION+set}" ; then
17958 setopt NO_GLOB_SUBST
17964 TIMESTAMP='$TIMESTAMP'
17972 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17973 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17975 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17976 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17977 LINGUAS="${LINGUAS-%UNSET%}"
17982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17984 # Handling of arguments.
17985 for ac_config_target
in $ac_config_targets
17987 case $ac_config_target in
17988 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17989 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
17990 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17991 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17992 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17993 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
17995 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18000 # If the user did not use the arguments to specify the items to instantiate,
18001 # then the envvar interface is used. Set only those that are not.
18002 # We use the long form for the default assignment because of an extremely
18003 # bizarre bug on SunOS 4.1.3.
18004 if $ac_need_defaults; then
18005 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18006 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18010 # Have a temporary directory for convenience. Make it in the build tree
18011 # simply because there is no reason against having it here, and in addition,
18012 # creating and moving files from /tmp can sometimes cause problems.
18013 # Hook for its removal unless debugging.
18014 # Note that there is a small window in which the directory will not be cleaned:
18015 # after its creation but before its name has been assigned to `$tmp'.
18019 trap 'exit_status=$?
18020 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18022 trap 'as_fn_exit 1' 1 2 13 15
18024 # Create a (secure) tmp directory for tmp files.
18027 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18028 test -n "$tmp" && test -d "$tmp"
18031 tmp
=.
/conf$$
-$RANDOM
18032 (umask 077 && mkdir
"$tmp")
18033 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18035 # Set up the scripts for CONFIG_FILES section.
18036 # No need to generate them if there are no CONFIG_FILES.
18037 # This happens for instance with `./config.status config.h'.
18038 if test -n "$CONFIG_FILES"; then
18040 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18041 ac_cs_awk_getline
=:
18042 ac_cs_awk_pipe_init
=
18043 ac_cs_awk_read_file
='
18044 while ((getline aline < (F[key])) > 0)
18047 ac_cs_awk_pipe_fini
=
18049 ac_cs_awk_getline
=false
18050 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18051 ac_cs_awk_read_file
='
18053 print "cat " F[key] " &&"
18054 '$ac_cs_awk_pipe_init
18055 # The final `:' finishes the AND list.
18056 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18058 ac_cr
=`echo X | tr X '\015'`
18059 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18060 # But we know of no other shell where ac_cr would be empty at this
18061 # point, so we can use a bashism as a fallback.
18062 if test "x$ac_cr" = x
; then
18063 eval ac_cr
=\$
\'\\r
\'
18065 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18066 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18069 ac_cs_awk_cr
=$ac_cr
18072 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18075 # Create commands to substitute file output variables.
18077 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18078 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
18079 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18082 } >conf$
$files.sh
&&
18083 . .
/conf$
$files.sh ||
18084 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
18085 rm -f conf$
$files.sh
18088 echo "cat >conf$$subs.awk <<_ACEOF" &&
18089 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18091 } >conf$$subs.sh ||
18092 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18093 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18095 for ac_last_try in false false false false false :; do
18096 . ./conf$$subs.sh ||
18097 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18099 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18100 if test $ac_delim_n = $ac_delim_num; then
18102 elif $ac_last_try; then
18103 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18105 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18108 rm -f conf$$subs.sh
18110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18111 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18115 s/^/S["/; s
/!.
*/"]=/
18125 s/\(.\{148\}\).*/\1/
18127 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18132 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18139 s/\(.\{148\}\).*/\1/
18141 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18145 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18150 ' <conf$$subs.awk | sed '
18155 ' >>$CONFIG_STATUS || ac_write_fail=1
18156 rm -f conf$$subs.awk
18157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18159 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18160 for (key in S) S_is_set[key] = 1
18162 \$ac_cs_awk_pipe_init
18166 nfields = split(line, field, "@
")
18168 len = length(field[1])
18169 for (i = 2; i < nfields; i++) {
18171 keylen = length(key)
18172 if (S_is_set[key]) {
18174 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18175 len += length(value) + length(field[++i])
18180 if (nfields == 3 && !substed) {
18182 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18183 \$ac_cs_awk_read_file
18189 \$ac_cs_awk_pipe_fini
18192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18193 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18194 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18197 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18198 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18201 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18202 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18203 # trailing colons and then remove the whole line if VPATH becomes empty
18204 # (actually we leave an empty line to preserve line numbers).
18205 if test "x
$srcdir" = x.; then
18206 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18207 s/:*\$(srcdir):*/:/
18208 s/:*\${srcdir}:*/:/
18210 s/^\([^=]*=[ ]*\):*/\1/
18216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18217 fi # test -n "$CONFIG_FILES"
18219 # Set up the scripts for CONFIG_HEADERS section.
18220 # No need to generate them if there are no CONFIG_HEADERS.
18221 # This happens for instance with `./config.status Makefile'.
18222 if test -n "$CONFIG_HEADERS"; then
18223 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18227 # Transform confdefs.h into an awk script `defines.awk', embedded as
18228 # here-document in config.status, that substitutes the proper values into
18229 # config.h.in to produce config.h.
18231 # Create a delimiter string that does not exist in confdefs.h, to ease
18232 # handling of long lines.
18234 for ac_last_try in false false :; do
18235 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18236 if test -z "$ac_t"; then
18238 elif $ac_last_try; then
18239 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
18241 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18245 # For the awk script, D is an array of macro values keyed by name,
18246 # likewise P contains macro parameters if any. Preserve backslash
18247 # newline sequences.
18249 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18251 s/.\{148\}/&'"$ac_delim"'/g
18254 s/^[ ]*#[ ]*define[ ][ ]*/ /
18261 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18263 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18267 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18268 D["\
1"]=" \
3\\\\\\n
"\\/p
18270 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18275 s/.\{148\}/&'"$ac_delim"'/g
18280 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18283 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18285 ' <confdefs.h | sed '
18286 s/'"$ac_delim"'/"\\\
18287 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18290 for (key in D) D_is_set[key] = 1
18293 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18295 split(line, arg, " ")
18296 if (arg[1] == "#") {
18300 defundef
= substr
(arg
[1], 2)
18303 split(mac1
, mac2
, "(") #)
18305 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18306 if (D_is_set
[macro
]) {
18307 # Preserve the white space surrounding the "#".
18308 print prefix
"define", macro P
[macro
] D
[macro
]
18311 # Replace #undef with comments. This is necessary, for example,
18312 # in the case of _POSIX_SOURCE, which is predefined and required
18313 # on some systems where configure will not decide to define it.
18314 if (defundef
== "undef") {
18315 print
"/*", prefix defundef
, macro
, "*/"
18323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18324 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
18325 fi # test -n "$CONFIG_HEADERS"
18328 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18333 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18335 case $ac_mode$ac_tag in
18337 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18338 :[FH
]-) ac_tag
=-:-;;
18339 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18356 -) ac_f
="$tmp/stdin";;
18357 *) # Look for the file first in the build tree, then in the source tree
18358 # (if the path is not absolute). The absolute path cannot be DOS-style,
18359 # because $ac_f cannot contain `:'.
18363 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18365 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
18367 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18368 as_fn_append ac_file_inputs
" '$ac_f'"
18371 # Let's still pretend it is `configure' which instantiates (i.e., don't
18372 # use $as_me), people would be surprised to read:
18373 # /* config.h. Generated by config.status. */
18374 configure_input
='Generated from '`
18375 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18377 if test x
"$ac_file" != x-
; then
18378 configure_input
="$ac_file. $configure_input"
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18380 $as_echo "$as_me: creating $ac_file" >&6;}
18382 # Neutralize special characters interpreted by sed in replacement strings.
18383 case $configure_input in #(
18384 *\
&* |
*\|
* |
*\\* )
18385 ac_sed_conf_input
=`$as_echo "$configure_input" |
18386 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18387 *) ac_sed_conf_input
=$configure_input;;
18391 *:-:* |
*:-) cat >"$tmp/stdin" \
18392 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
18397 ac_dir
=`$as_dirname -- "$ac_file" ||
18398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18399 X"$ac_file" : 'X\(//\)[^/]' \| \
18400 X"$ac_file" : 'X\(//\)$' \| \
18401 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18402 $as_echo X"$ac_file" |
18403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18407 /^X\(\/\/\)[^/].*/{
18420 as_dir
="$ac_dir"; as_fn_mkdir_p
18424 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18426 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18427 # A ".." for each directory in $ac_dir_suffix.
18428 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18429 case $ac_top_builddir_sub in
18430 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18431 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18434 ac_abs_top_builddir
=$ac_pwd
18435 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18436 # for backward compatibility:
18437 ac_top_builddir
=$ac_top_build_prefix
18440 .
) # We are building in place.
18442 ac_top_srcdir
=$ac_top_builddir_sub
18443 ac_abs_top_srcdir
=$ac_pwd ;;
18444 [\\/]* | ?
:[\\/]* ) # Absolute name.
18445 ac_srcdir
=$srcdir$ac_dir_suffix;
18446 ac_top_srcdir
=$srcdir
18447 ac_abs_top_srcdir
=$srcdir ;;
18448 *) # Relative name.
18449 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18450 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18451 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18453 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18463 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18464 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18466 ac_MKDIR_P
=$MKDIR_P
18468 [\\/$
]* | ?
:[\\/]* ) ;;
18469 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18474 # If the template does not know about datarootdir, expand it.
18475 # FIXME: This hack should be removed a few years after 2.60.
18476 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18487 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18488 *datarootdir
*) ac_datarootdir_seen
=yes;;
18489 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18491 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494 ac_datarootdir_hack='
18495 s&@datadir@&$datadir&g
18496 s&@docdir@&$docdir&g
18497 s&@infodir@&$infodir&g
18498 s&@localedir@&$localedir&g
18499 s&@mandir@&$mandir&g
18500 s&\\\${datarootdir}&$datarootdir&g' ;;
18504 # Neutralize VPATH when `$srcdir' = `.'.
18505 # Shell code in configure.ac might set extrasub.
18506 # FIXME: do we really want to maintain this feature?
18507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18508 ac_sed_extra="$ac_vpsub
18511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18513 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18514 s|@configure_input@|
$ac_sed_conf_input|
;t t
18515 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18516 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18517 s
&@srcdir@
&$ac_srcdir&;t t
18518 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18519 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18520 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18521 s
&@builddir@
&$ac_builddir&;t t
18522 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18523 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18524 s
&@INSTALL@
&$ac_INSTALL&;t t
18525 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18526 $ac_datarootdir_hack
18528 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18529 if $ac_cs_awk_getline; then
18530 $AWK -f "$tmp/subs.
awk"
18532 $AWK -f "$tmp/subs.
awk" | $SHELL
18534 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18536 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18537 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18538 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18540 which seems to be undefined. Please make sure it is defined." >&5
18541 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18542 which seems to be undefined. Please make sure it is defined." >&2;}
18546 -) cat "$tmp/out" && rm -f "$tmp/out";;
18547 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18549 || as_fn_error "could not create $ac_file" "$LINENO" 5
18555 if test x"$ac_file" != x-; then
18557 $as_echo "/* $configure_input */" \
18558 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18559 } >"$tmp/config.h" \
18560 || as_fn_error "could not create $ac_file" "$LINENO" 5
18561 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18563 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18566 mv "$tmp/config.h" "$ac_file" \
18567 || as_fn_error "could not create $ac_file" "$LINENO" 5
18570 $as_echo "/* $configure_input */" \
18571 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18572 || as_fn_error "could not create -" "$LINENO" 5
18574 # Compute "$ac_file"'s index
in $config_headers.
18577 for _am_header
in $config_headers :; do
18578 case $_am_header in
18579 $_am_arg |
$_am_arg:* )
18582 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18585 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18586 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18587 X"$_am_arg" : 'X\(//\)[^/]' \| \
18588 X"$_am_arg" : 'X\(//\)$' \| \
18589 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18590 $as_echo X"$_am_arg" |
18591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18595 /^X\(\/\/\)[^/].*/{
18607 s/.*/./; q'`/stamp-h
$_am_stamp_count
18610 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18611 $as_echo "$as_me: executing $ac_file commands" >&6;}
18616 case $ac_file$ac_mode in
18617 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18618 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18619 # are listed without --file. Let's play safe and only enable the eval
18620 # if we detect the quoting.
18621 case $CONFIG_FILES in
18622 *\'*) eval set x
"$CONFIG_FILES" ;;
18623 *) set x
$CONFIG_FILES ;;
18628 # Strip MF so we end up with the name of the file.
18629 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18630 # Check whether this is an Automake generated Makefile or not.
18631 # We used to match only the files named `Makefile.in', but
18632 # some people rename them; so instead we look at the file content.
18633 # Grep'ing the first line is not enough: some people post-process
18634 # each Makefile.in and add a new line on top of each file to say so.
18635 # Grep'ing the whole file is not good either: AIX grep has a line
18636 # limit of 2048, but all sed's we know have understand at least 4000.
18637 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18638 dirpart
=`$as_dirname -- "$mf" ||
18639 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18640 X"$mf" : 'X\(//\)[^/]' \| \
18641 X"$mf" : 'X\(//\)$' \| \
18642 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18648 /^X\(\/\/\)[^/].*/{
18664 # Extract the definition of DEPDIR, am__include, and am__quote
18665 # from the Makefile without running `make'.
18666 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18667 test -z "$DEPDIR" && continue
18668 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18669 test -z "am__include" && continue
18670 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18671 # When using ansi2knr, U may be empty or an underscore; expand it
18672 U
=`sed -n 's/^U = //p' < "$mf"`
18673 # Find all dependency output files, they are included files with
18674 # $(DEPDIR) in their names. We invoke sed twice because it is the
18675 # simplest approach to changing $(DEPDIR) to its actual value in the
18677 for file in `sed -n "
18678 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18679 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18680 # Make sure the directory exists.
18681 test -f "$dirpart/$file" && continue
18682 fdir
=`$as_dirname -- "$file" ||
18683 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18684 X"$file" : 'X\(//\)[^/]' \| \
18685 X"$file" : 'X\(//\)$' \| \
18686 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18687 $as_echo X"$file" |
18688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18692 /^X\(\/\/\)[^/].*/{
18705 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18706 # echo "creating $dirpart/$file"
18707 echo '# dummy' > "$dirpart/$file"
18714 # See if we are running on zsh, and set the options which allow our
18715 # commands through without removal of \ escapes.
18716 if test -n "${ZSH_VERSION+set}" ; then
18717 setopt NO_GLOB_SUBST
18720 cfgfile
="${ofile}T"
18721 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18724 cat <<_LT_EOF >> "$cfgfile"
18727 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18728 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18729 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18730 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18732 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18733 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18734 # Written by Gordon Matzigkeit, 1996
18736 # This file is part of GNU Libtool.
18738 # GNU Libtool is free software; you can redistribute it and/or
18739 # modify it under the terms of the GNU General Public License as
18740 # published by the Free Software Foundation; either version 2 of
18741 # the License, or (at your option) any later version.
18743 # As a special exception to the GNU General Public License,
18744 # if you distribute this file as part of a program or library that
18745 # is built using GNU Libtool, you may include this file under the
18746 # same distribution terms that you use for the rest of that program.
18748 # GNU Libtool is distributed in the hope that it will be useful,
18749 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18750 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18751 # GNU General Public License for more details.
18753 # You should have received a copy of the GNU General Public License
18754 # along with GNU Libtool; see the file COPYING. If not, a copy
18755 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18756 # obtained by writing to the Free Software Foundation, Inc.,
18757 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18760 # The names of the tagged configurations supported by this script.
18761 available_tags="CXX "
18763 # ### BEGIN LIBTOOL CONFIG
18765 # Which release of libtool.m4 was used?
18766 macro_version=$macro_version
18767 macro_revision=$macro_revision
18769 # Whether or not to build shared libraries.
18770 build_libtool_libs=$enable_shared
18772 # Whether or not to build static libraries.
18773 build_old_libs=$enable_static
18775 # What type of objects to build.
18778 # Whether or not to optimize for fast installation.
18779 fast_install=$enable_fast_install
18781 # Shell to use when invoking shell scripts.
18784 # An echo program that protects backslashes.
18788 host_alias=$host_alias
18792 # The build system.
18793 build_alias=$build_alias
18797 # A sed program that does not truncate output.
18800 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18801 Xsed="\$SED -e 1s/^X//"
18803 # A grep program that handles long lines.
18809 # A literal string matcher.
18812 # A BSD- or MS-compatible name lister.
18815 # Whether we need soft or hard links.
18818 # What is the maximum length of a command?
18819 max_cmd_len=$max_cmd_len
18821 # Object file suffix (normally "o").
18824 # Executable file suffix (normally "").
18827 # whether the shell understands "unset".
18830 # turn spaces into newlines.
18833 # turn newlines into spaces.
18836 # An object symbol dumper.
18837 OBJDUMP=$lt_OBJDUMP
18839 # Method to check whether dependent libraries are shared objects.
18840 deplibs_check_method=$lt_deplibs_check_method
18842 # Command to use when deplibs_check_method == "file_magic".
18843 file_magic_cmd=$lt_file_magic_cmd
18847 AR_FLAGS=$lt_AR_FLAGS
18849 # A symbol stripping program.
18852 # Commands used to install an old-style archive.
18854 old_postinstall_cmds=$lt_old_postinstall_cmds
18855 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18857 # Whether to use a lock for old archive extraction.
18858 lock_old_archive_extraction=$lock_old_archive_extraction
18863 # LTCC compiler flags.
18864 LTCFLAGS=$lt_CFLAGS
18866 # Take the output of nm and produce a listing of raw symbols and C names.
18867 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18869 # Transform the output of nm in a proper C declaration.
18870 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18872 # Transform the output of nm in a C name address pair.
18873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18875 # Transform the output of nm in a C name address pair when lib prefix is needed.
18876 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18878 # The name of the directory that contains temporary libtool files.
18881 # Used to examine libraries when file_magic_cmd begins with "file".
18882 MAGIC_CMD=$MAGIC_CMD
18884 # Must we lock files when doing compilation?
18885 need_locks=$lt_need_locks
18887 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18888 DSYMUTIL=$lt_DSYMUTIL
18890 # Tool to change global to local symbols on Mac OS X.
18893 # Tool to manipulate fat objects and archives on Mac OS X.
18896 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18899 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18900 OTOOL64=$lt_OTOOL64
18902 # Old archive suffix (normally "a").
18905 # Shared library suffix (normally ".so").
18906 shrext_cmds=$lt_shrext_cmds
18908 # The commands to extract the exported symbol list from a shared archive.
18909 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18911 # Variables whose values should be saved in libtool wrapper scripts and
18912 # restored at link time.
18913 variables_saved_for_relink=$lt_variables_saved_for_relink
18915 # Do we need the "lib" prefix for modules?
18916 need_lib_prefix=$need_lib_prefix
18918 # Do we need a version for libraries?
18919 need_version=$need_version
18921 # Library versioning type.
18922 version_type=$version_type
18924 # Shared library runtime path variable.
18925 runpath_var=$runpath_var
18927 # Shared library path variable.
18928 shlibpath_var=$shlibpath_var
18930 # Is shlibpath searched before the hard-coded library search path?
18931 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18933 # Format of library name prefix.
18934 libname_spec=$lt_libname_spec
18936 # List of archive names. First name is the real one, the rest are links.
18937 # The last name is the one that the linker finds with -lNAME
18938 library_names_spec=$lt_library_names_spec
18940 # The coded name of the library, if different from the real name.
18941 soname_spec=$lt_soname_spec
18943 # Permission mode override for installation of shared libraries.
18944 install_override_mode=$lt_install_override_mode
18946 # Command to use after installation of a shared archive.
18947 postinstall_cmds=$lt_postinstall_cmds
18949 # Command to use after uninstallation of a shared archive.
18950 postuninstall_cmds=$lt_postuninstall_cmds
18952 # Commands used to finish a libtool library installation in a directory.
18953 finish_cmds=$lt_finish_cmds
18955 # As "finish_cmds", except a single script fragment to be evaled but
18957 finish_eval=$lt_finish_eval
18959 # Whether we should hardcode library paths into libraries.
18960 hardcode_into_libs=$hardcode_into_libs
18962 # Compile-time system search path for libraries.
18963 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18965 # Run-time system search path for libraries.
18966 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18968 # Whether dlopen is supported.
18969 dlopen_support=$enable_dlopen
18971 # Whether dlopen of programs is supported.
18972 dlopen_self=$enable_dlopen_self
18974 # Whether dlopen of statically linked programs is supported.
18975 dlopen_self_static=$enable_dlopen_self_static
18977 # Commands to strip libraries.
18978 old_striplib=$lt_old_striplib
18979 striplib=$lt_striplib
18982 # The linker used to build libraries.
18985 # How to create reloadable object files.
18986 reload_flag=$lt_reload_flag
18987 reload_cmds=$lt_reload_cmds
18989 # Commands used to build an old-style archive.
18990 old_archive_cmds=$lt_old_archive_cmds
18992 # A language specific compiler.
18995 # Is the compiler the GNU compiler?
18998 # Compiler flag to turn off builtin functions.
18999 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19001 # How to pass a linker flag through the compiler.
19002 wl=$lt_lt_prog_compiler_wl
19004 # Additional compiler flags for building library objects.
19005 pic_flag=$lt_lt_prog_compiler_pic
19007 # Compiler flag to prevent dynamic linking.
19008 link_static_flag=$lt_lt_prog_compiler_static
19010 # Does compiler simultaneously support -c and -o options?
19011 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19013 # Whether or not to add -lc for building shared libraries.
19014 build_libtool_need_lc=$archive_cmds_need_lc
19016 # Whether or not to disallow shared libs when runtime libs are static.
19017 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19019 # Compiler flag to allow reflexive dlopens.
19020 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19022 # Compiler flag to generate shared objects directly from archives.
19023 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19025 # Whether the compiler copes with passing no objects directly.
19026 compiler_needs_object=$lt_compiler_needs_object
19028 # Create an old-style archive from a shared archive.
19029 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19031 # Create a temporary old-style archive to link instead of a shared archive.
19032 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19034 # Commands used to build a shared archive.
19035 archive_cmds=$lt_archive_cmds
19036 archive_expsym_cmds=$lt_archive_expsym_cmds
19038 # Commands used to build a loadable module if different from building
19039 # a shared archive.
19040 module_cmds=$lt_module_cmds
19041 module_expsym_cmds=$lt_module_expsym_cmds
19043 # Whether we are building with GNU ld or not.
19044 with_gnu_ld=$lt_with_gnu_ld
19046 # Flag that allows shared libraries with undefined symbols to be built.
19047 allow_undefined_flag=$lt_allow_undefined_flag
19049 # Flag that enforces no undefined symbols.
19050 no_undefined_flag=$lt_no_undefined_flag
19052 # Flag to hardcode \$libdir into a binary during linking.
19053 # This must work even if \$libdir does not exist
19054 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19056 # If ld is used when linking, flag to hardcode \$libdir into a binary
19057 # during linking. This must work even if \$libdir does not exist.
19058 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19060 # Whether we need a single "-rpath" flag with a separated argument.
19061 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19063 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19064 # DIR into the resulting binary.
19065 hardcode_direct=$hardcode_direct
19067 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19068 # DIR into the resulting binary and the resulting library dependency is
19069 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19070 # library is relocated.
19071 hardcode_direct_absolute=$hardcode_direct_absolute
19073 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19074 # into the resulting binary.
19075 hardcode_minus_L=$hardcode_minus_L
19077 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19078 # into the resulting binary.
19079 hardcode_shlibpath_var=$hardcode_shlibpath_var
19081 # Set to "yes" if building a shared library automatically hardcodes DIR
19082 # into the library and all subsequent libraries and executables linked
19084 hardcode_automatic=$hardcode_automatic
19086 # Set to yes if linker adds runtime paths of dependent libraries
19087 # to runtime path list.
19088 inherit_rpath=$inherit_rpath
19090 # Whether libtool must link a program against all its dependency libraries.
19091 link_all_deplibs=$link_all_deplibs
19093 # Fix the shell variable \$srcfile for the compiler.
19094 fix_srcfile_path=$lt_fix_srcfile_path
19096 # Set to "yes" if exported symbols are required.
19097 always_export_symbols=$always_export_symbols
19099 # The commands to list exported symbols.
19100 export_symbols_cmds=$lt_export_symbols_cmds
19102 # Symbols that should not be listed in the preloaded symbols.
19103 exclude_expsyms=$lt_exclude_expsyms
19105 # Symbols that must always be exported.
19106 include_expsyms=$lt_include_expsyms
19108 # Commands necessary for linking programs (against libraries) with templates.
19109 prelink_cmds=$lt_prelink_cmds
19111 # Specify filename containing input files.
19112 file_list_spec=$lt_file_list_spec
19114 # How to hardcode a shared library path into an executable.
19115 hardcode_action=$hardcode_action
19117 # The directories searched by this compiler when creating a shared library.
19118 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19120 # Dependencies to place before and after the objects being linked to
19121 # create a shared library.
19122 predep_objects=$lt_predep_objects
19123 postdep_objects=$lt_postdep_objects
19124 predeps=$lt_predeps
19125 postdeps=$lt_postdeps
19127 # The library search path used internally by the compiler when linking
19128 # a shared library.
19129 compiler_lib_search_path=$lt_compiler_lib_search_path
19131 # ### END LIBTOOL CONFIG
19137 cat <<\_LT_EOF
>> "$cfgfile"
19138 # AIX sometimes has problems with the GCC collect2 program. For some
19139 # reason, if we set the COLLECT_NAMES environment variable, the problems
19140 # vanish in a puff of smoke.
19141 if test "X${COLLECT_NAMES+set}" != Xset
; then
19143 export COLLECT_NAMES
19150 ltmain
="$ac_aux_dir/ltmain.sh"
19153 # We use sed instead of cat because bash on DJGPP gets confused if
19154 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19155 # text mode, it properly converts lines to CR/LF. This bash problem
19156 # is reportedly fixed, but why not run on old versions too?
19157 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19158 ||
(rm -f "$cfgfile"; exit 1)
19162 cat << \_LT_EOF
>> "$cfgfile"
19164 # func_dirname file append nondir_replacement
19165 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19166 # otherwise set result to NONDIR_REPLACEMENT.
19170 */*) func_dirname_result
="${1%/*}${2}" ;;
19171 * ) func_dirname_result
="${3}" ;;
19175 # func_basename file
19178 func_basename_result
="${1##*/}"
19181 # func_dirname_and_basename file append nondir_replacement
19182 # perform func_basename and func_dirname in a single function
19184 # dirname: Compute the dirname of FILE. If nonempty,
19185 # add APPEND to the result, otherwise set result
19186 # to NONDIR_REPLACEMENT.
19187 # value returned in "$func_dirname_result"
19188 # basename: Compute filename of FILE.
19189 # value retuned in "$func_basename_result"
19190 # Implementation must be kept synchronized with func_dirname
19191 # and func_basename. For efficiency, we do not delegate to
19192 # those functions but instead duplicate the functionality here.
19193 func_dirname_and_basename
()
19196 */*) func_dirname_result
="${1%/*}${2}" ;;
19197 * ) func_dirname_result
="${3}" ;;
19199 func_basename_result
="${1##*/}"
19202 # func_stripname prefix suffix name
19203 # strip PREFIX and SUFFIX off of NAME.
19204 # PREFIX and SUFFIX must not contain globbing or regex special
19205 # characters, hashes, percent signs, but SUFFIX may contain a leading
19206 # dot (in which case that matches only a dot).
19209 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19210 # positional parameters, so assign one to ordinary parameter first.
19211 func_stripname_result
=${3}
19212 func_stripname_result
=${func_stripname_result#"${1}"}
19213 func_stripname_result
=${func_stripname_result%"${2}"}
19219 func_opt_split_opt
=${1%%=*}
19220 func_opt_split_arg
=${1#*=}
19227 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19228 *) func_lo2o_result
=${1} ;;
19232 # func_xform libobj-or-source
19235 func_xform_result
=${1%.*}.lo
19238 # func_arith arithmetic-term...
19241 func_arith_result
=$
(( $
* ))
19245 # STRING may not start with a hyphen.
19248 func_len_result
=${#1}
19253 *) # Bourne compatible functions.
19254 cat << \_LT_EOF
>> "$cfgfile"
19256 # func_dirname file append nondir_replacement
19257 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19258 # otherwise set result to NONDIR_REPLACEMENT.
19261 # Extract subdirectory from the argument.
19262 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19263 if test "X$func_dirname_result" = "X${1}"; then
19264 func_dirname_result
="${3}"
19266 func_dirname_result
="$func_dirname_result${2}"
19270 # func_basename file
19273 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19277 # func_stripname prefix suffix name
19278 # strip PREFIX and SUFFIX off of NAME.
19279 # PREFIX and SUFFIX must not contain globbing or regex special
19280 # characters, hashes, percent signs, but SUFFIX may contain a leading
19281 # dot (in which case that matches only a dot).
19282 # func_strip_suffix prefix name
19286 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19287 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19292 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19293 my_sed_long_arg
='1s/^-[^=]*=//'
19298 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19299 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19305 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19308 # func_xform libobj-or-source
19311 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19314 # func_arith arithmetic-term...
19317 func_arith_result
=`expr "$@"`
19321 # STRING may not start with a hyphen.
19324 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19330 case $lt_shell_append in
19332 cat << \_LT_EOF
>> "$cfgfile"
19334 # func_append var value
19335 # Append VALUE to the end of shell variable VAR.
19343 cat << \_LT_EOF
>> "$cfgfile"
19345 # func_append var value
19346 # Append VALUE to the end of shell variable VAR.
19357 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19358 ||
(rm -f "$cfgfile"; exit 1)
19360 mv -f "$cfgfile" "$ofile" ||
19361 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19365 cat <<_LT_EOF >> "$ofile"
19367 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19369 # The linker used to build libraries.
19372 # How to create reloadable object files.
19373 reload_flag=$lt_reload_flag_CXX
19374 reload_cmds=$lt_reload_cmds_CXX
19376 # Commands used to build an old-style archive.
19377 old_archive_cmds=$lt_old_archive_cmds_CXX
19379 # A language specific compiler.
19380 CC=$lt_compiler_CXX
19382 # Is the compiler the GNU compiler?
19385 # Compiler flag to turn off builtin functions.
19386 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19388 # How to pass a linker flag through the compiler.
19389 wl=$lt_lt_prog_compiler_wl_CXX
19391 # Additional compiler flags for building library objects.
19392 pic_flag=$lt_lt_prog_compiler_pic_CXX
19394 # Compiler flag to prevent dynamic linking.
19395 link_static_flag=$lt_lt_prog_compiler_static_CXX
19397 # Does compiler simultaneously support -c and -o options?
19398 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19400 # Whether or not to add -lc for building shared libraries.
19401 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19403 # Whether or not to disallow shared libs when runtime libs are static.
19404 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19406 # Compiler flag to allow reflexive dlopens.
19407 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19409 # Compiler flag to generate shared objects directly from archives.
19410 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19412 # Whether the compiler copes with passing no objects directly.
19413 compiler_needs_object=$lt_compiler_needs_object_CXX
19415 # Create an old-style archive from a shared archive.
19416 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19418 # Create a temporary old-style archive to link instead of a shared archive.
19419 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19421 # Commands used to build a shared archive.
19422 archive_cmds=$lt_archive_cmds_CXX
19423 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19425 # Commands used to build a loadable module if different from building
19426 # a shared archive.
19427 module_cmds=$lt_module_cmds_CXX
19428 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19430 # Whether we are building with GNU ld or not.
19431 with_gnu_ld=$lt_with_gnu_ld_CXX
19433 # Flag that allows shared libraries with undefined symbols to be built.
19434 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19436 # Flag that enforces no undefined symbols.
19437 no_undefined_flag=$lt_no_undefined_flag_CXX
19439 # Flag to hardcode \$libdir into a binary during linking.
19440 # This must work even if \$libdir does not exist
19441 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19443 # If ld is used when linking, flag to hardcode \$libdir into a binary
19444 # during linking. This must work even if \$libdir does not exist.
19445 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19447 # Whether we need a single "-rpath" flag with a separated argument.
19448 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19450 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19451 # DIR into the resulting binary.
19452 hardcode_direct=$hardcode_direct_CXX
19454 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19455 # DIR into the resulting binary and the resulting library dependency is
19456 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19457 # library is relocated.
19458 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19460 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19461 # into the resulting binary.
19462 hardcode_minus_L=$hardcode_minus_L_CXX
19464 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19465 # into the resulting binary.
19466 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19468 # Set to "yes" if building a shared library automatically hardcodes DIR
19469 # into the library and all subsequent libraries and executables linked
19471 hardcode_automatic=$hardcode_automatic_CXX
19473 # Set to yes if linker adds runtime paths of dependent libraries
19474 # to runtime path list.
19475 inherit_rpath=$inherit_rpath_CXX
19477 # Whether libtool must link a program against all its dependency libraries.
19478 link_all_deplibs=$link_all_deplibs_CXX
19480 # Fix the shell variable \$srcfile for the compiler.
19481 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19483 # Set to "yes" if exported symbols are required.
19484 always_export_symbols=$always_export_symbols_CXX
19486 # The commands to list exported symbols.
19487 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19489 # Symbols that should not be listed in the preloaded symbols.
19490 exclude_expsyms=$lt_exclude_expsyms_CXX
19492 # Symbols that must always be exported.
19493 include_expsyms=$lt_include_expsyms_CXX
19495 # Commands necessary for linking programs (against libraries) with templates.
19496 prelink_cmds=$lt_prelink_cmds_CXX
19498 # Specify filename containing input files.
19499 file_list_spec=$lt_file_list_spec_CXX
19501 # How to hardcode a shared library path into an executable.
19502 hardcode_action=$hardcode_action_CXX
19504 # The directories searched by this compiler when creating a shared library.
19505 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19507 # Dependencies to place before and after the objects being linked to
19508 # create a shared library.
19509 predep_objects=$lt_predep_objects_CXX
19510 postdep_objects=$lt_postdep_objects_CXX
19511 predeps=$lt_predeps_CXX
19512 postdeps=$lt_postdeps_CXX
19514 # The library search path used internally by the compiler when linking
19515 # a shared library.
19516 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19518 # ### END LIBTOOL TAG CONFIG: CXX
19523 for ac_file
in $CONFIG_FILES; do
19524 # Support "outfile[:infile[:infile...]]"
19526 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19528 # PO directories have a Makefile.in generated from Makefile.in.in.
19529 case "$ac_file" in */Makefile.
in)
19530 # Adjust a relative srcdir.
19531 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19532 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
19533 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19534 # In autoconf-2.13 it is called $ac_given_srcdir.
19535 # In autoconf-2.50 it is called $srcdir.
19536 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
19537 case "$ac_given_srcdir" in
19538 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
19539 /*) top_srcdir
="$ac_given_srcdir" ;;
19540 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19542 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19543 rm -f "$ac_dir/POTFILES"
19544 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
19545 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19546 POMAKEFILEDEPS
="POTFILES.in"
19547 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
19548 # on $ac_dir but don't depend on user-specified configuration
19550 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19551 # The LINGUAS file contains the set of available languages.
19552 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19553 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
19555 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19556 # Hide the ALL_LINGUAS assigment from automake.
19557 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19558 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
19560 # The set of available languages was given in configure.in.
19561 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19563 case "$ac_given_srcdir" in
19565 *) srcdirpre
='$(srcdir)/' ;;
19571 for lang
in $ALL_LINGUAS; do
19572 POFILES
="$POFILES $srcdirpre$lang.po"
19573 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
19574 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
19575 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
19577 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19578 # environment variable.
19580 if test -n "$ALL_LINGUAS"; then
19581 for presentlang
in $ALL_LINGUAS; do
19583 if test "%UNSET%" != "$LINGUAS"; then
19584 desiredlanguages
="$LINGUAS"
19586 desiredlanguages
="$ALL_LINGUAS"
19588 for desiredlang
in $desiredlanguages; do
19589 # Use the presentlang catalog if desiredlang is
19590 # a. equal to presentlang, or
19591 # b. a variant of presentlang (because in this case,
19592 # presentlang can be used as a fallback for messages
19593 # which are not translated in the desiredlang catalog).
19594 case "$desiredlang" in
19595 "$presentlang"*) useit
=yes;;
19598 if test $useit = yes; then
19599 INST_LINGUAS
="$INST_LINGUAS $presentlang"
19604 if test -n "$INST_LINGUAS"; then
19605 for lang
in $INST_LINGUAS; do
19606 CATALOGS
="$CATALOGS $lang.gmo"
19609 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
19610 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"
19611 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
19612 if test -f "$f"; then
19614 *.orig |
*.bak |
*~
) ;;
19615 *) cat "$f" >> "$ac_dir/Makefile" ;;
19630 ac_clean_files
=$ac_clean_files_save
19632 test $ac_write_fail = 0 ||
19633 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19636 # configure is writing to config.log, and then calls config.status.
19637 # config.status does its own redirection, appending to config.log.
19638 # Unfortunately, on DOS this fails, as config.log is still kept open
19639 # by configure, so config.status won't be able to write to it; its
19640 # output is simply discarded. So we exec the FD to /dev/null,
19641 # effectively closing config.log, so it can be properly (re)opened and
19642 # appended to by config.status. When coming back to configure, we
19643 # need to make the FD available again.
19644 if test "$no_create" != yes; then
19646 ac_config_status_args
=
19647 test "$silent" = yes &&
19648 ac_config_status_args
="$ac_config_status_args --quiet"
19650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19653 # would make configure fail if this is the last instruction.
19654 $ac_cs_success || as_fn_exit $?
19656 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19658 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}