2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU TM Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU TM Runtime Library'
558 PACKAGE_TARNAME
='libitm'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='GNU TM Runtime Library 1.0'
562 PACKAGE_URL
='http://www.gnu.org/software/libitm/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
614 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
615 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
616 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
617 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
618 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
619 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
624 MAINTAINER_MODE_FALSE
651 am__fastdepCCAS_FALSE
689 INSTALL_STRIP_PROGRAM
745 program_transform_name
758 enable_option_checking
759 enable_version_specific_runtime_libs
760 enable_generated_files_in_srcdir
762 enable_dependency_tracking
769 enable_maintainer_mode
774 ac_precious_vars
='build_alias
782 # Initialize some variables set by options.
784 ac_init_version
=false
785 ac_unrecognized_opts
=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name
=s
,x
,x
,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir
='${exec_prefix}/bin'
811 sbindir
='${exec_prefix}/sbin'
812 libexecdir
='${exec_prefix}/libexec'
813 datarootdir
='${prefix}/share'
814 datadir
='${datarootdir}'
815 sysconfdir
='${prefix}/etc'
816 sharedstatedir
='${prefix}/com'
817 localstatedir
='${prefix}/var'
818 includedir
='${prefix}/include'
819 oldincludedir
='/usr/include'
820 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir
='${datarootdir}/info'
826 libdir
='${exec_prefix}/lib'
827 localedir
='${datarootdir}/locale'
828 mandir
='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\
$ac_option
842 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
846 # Accept the important Cygnus configure options, so we can diagnose typos.
848 case $ac_dashdash$ac_option in
852 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
854 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
857 -build |
--build |
--buil |
--bui |
--bu)
858 ac_prev
=build_alias
;;
859 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
860 build_alias
=$ac_optarg ;;
862 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
863 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
864 ac_prev
=cache_file
;;
865 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
866 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
867 cache_file
=$ac_optarg ;;
870 cache_file
=config.cache
;;
872 -datadir |
--datadir |
--datadi |
--datad)
874 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
875 datadir
=$ac_optarg ;;
877 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
878 |
--dataroo |
--dataro |
--datar)
879 ac_prev
=datarootdir
;;
880 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
881 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
882 datarootdir
=$ac_optarg ;;
884 -disable-* |
--disable-*)
885 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
888 as_fn_error
"invalid feature name: $ac_useropt"
889 ac_useropt_orig
=$ac_useropt
890 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep
=', ';;
898 eval enable_
$ac_useropt=no
;;
900 -docdir |
--docdir |
--docdi |
--doc |
--do)
902 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
905 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
907 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
910 -enable-* |
--enable-*)
911 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
922 ac_unrecognized_sep
=', ';;
924 eval enable_
$ac_useropt=\
$ac_optarg ;;
926 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
927 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
928 |
--exec |
--exe |
--ex)
929 ac_prev
=exec_prefix
;;
930 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
931 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
932 |
--exec=* |
--exe=* |
--ex=*)
933 exec_prefix
=$ac_optarg ;;
935 -gas |
--gas |
--ga |
--g)
936 # Obsolete; use --with-gas.
939 -help |
--help |
--hel |
--he |
-h)
941 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
942 ac_init_help
=recursive
;;
943 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
944 ac_init_help
=short
;;
946 -host |
--host |
--hos |
--ho)
947 ac_prev
=host_alias
;;
948 -host=* |
--host=* |
--hos=* |
--ho=*)
949 host_alias
=$ac_optarg ;;
951 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
953 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
955 htmldir
=$ac_optarg ;;
957 -includedir |
--includedir |
--includedi |
--included |
--include \
958 |
--includ |
--inclu |
--incl |
--inc)
959 ac_prev
=includedir
;;
960 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
961 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
962 includedir
=$ac_optarg ;;
964 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
966 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
967 infodir
=$ac_optarg ;;
969 -libdir |
--libdir |
--libdi |
--libd)
971 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
974 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
975 |
--libexe |
--libex |
--libe)
976 ac_prev
=libexecdir
;;
977 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
978 |
--libexe=* |
--libex=* |
--libe=*)
979 libexecdir
=$ac_optarg ;;
981 -localedir |
--localedir |
--localedi |
--localed |
--locale)
983 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
984 localedir
=$ac_optarg ;;
986 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
987 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
988 ac_prev
=localstatedir
;;
989 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
990 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
991 localstatedir
=$ac_optarg ;;
993 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
995 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
999 # Obsolete; use --without-fp.
1002 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1003 |
--no-cr |
--no-c |
-n)
1006 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1007 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1010 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1011 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1012 |
--oldin |
--oldi |
--old |
--ol |
--o)
1013 ac_prev
=oldincludedir
;;
1014 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1015 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1016 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1017 oldincludedir
=$ac_optarg ;;
1019 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1021 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1022 prefix
=$ac_optarg ;;
1024 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1025 |
--program-pre |
--program-pr |
--program-p)
1026 ac_prev
=program_prefix
;;
1027 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1028 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1029 program_prefix
=$ac_optarg ;;
1031 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1032 |
--program-suf |
--program-su |
--program-s)
1033 ac_prev
=program_suffix
;;
1034 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1035 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1036 program_suffix
=$ac_optarg ;;
1038 -program-transform-name |
--program-transform-name \
1039 |
--program-transform-nam |
--program-transform-na \
1040 |
--program-transform-n |
--program-transform- \
1041 |
--program-transform |
--program-transfor \
1042 |
--program-transfo |
--program-transf \
1043 |
--program-trans |
--program-tran \
1044 |
--progr-tra |
--program-tr |
--program-t)
1045 ac_prev
=program_transform_name
;;
1046 -program-transform-name=* |
--program-transform-name=* \
1047 |
--program-transform-nam=* |
--program-transform-na=* \
1048 |
--program-transform-n=* |
--program-transform-=* \
1049 |
--program-transform=* |
--program-transfor=* \
1050 |
--program-transfo=* |
--program-transf=* \
1051 |
--program-trans=* |
--program-tran=* \
1052 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1053 program_transform_name
=$ac_optarg ;;
1055 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1057 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1058 pdfdir
=$ac_optarg ;;
1060 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1062 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1065 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1066 |
-silent |
--silent |
--silen |
--sile |
--sil)
1069 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1071 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1073 sbindir
=$ac_optarg ;;
1075 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1076 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1077 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1079 ac_prev
=sharedstatedir
;;
1080 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1081 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1082 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1084 sharedstatedir
=$ac_optarg ;;
1086 -site |
--site |
--sit)
1088 -site=* |
--site=* |
--sit=*)
1091 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1093 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1094 srcdir
=$ac_optarg ;;
1096 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1097 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1098 ac_prev
=sysconfdir
;;
1099 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1100 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1101 sysconfdir
=$ac_optarg ;;
1103 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1104 ac_prev
=target_alias
;;
1105 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1106 target_alias
=$ac_optarg ;;
1108 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1111 -version |
--version |
--versio |
--versi |
--vers |
-V)
1112 ac_init_version
=: ;;
1115 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1118 as_fn_error
"invalid package name: $ac_useropt"
1119 ac_useropt_orig
=$ac_useropt
1120 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep
=', ';;
1128 eval with_
$ac_useropt=\
$ac_optarg ;;
1130 -without-* |
--without-*)
1131 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1134 as_fn_error
"invalid package name: $ac_useropt"
1135 ac_useropt_orig
=$ac_useropt
1136 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep
=', ';;
1144 eval with_
$ac_useropt=no
;;
1147 # Obsolete; use --with-x.
1150 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1151 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1152 ac_prev
=x_includes
;;
1153 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1154 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1155 x_includes
=$ac_optarg ;;
1157 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1158 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1159 ac_prev
=x_libraries
;;
1160 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1161 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1162 x_libraries
=$ac_optarg ;;
1164 -*) as_fn_error
"unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information."
1169 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1173 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1175 eval $ac_envvar=\
$ac_optarg
1176 export $ac_envvar ;;
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1189 if test -n "$ac_prev"; then
1190 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error
"missing argument to $ac_option"
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1197 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202 # Check all directory arguments for consistency.
1203 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1208 eval ac_val
=\$
$ac_var
1209 # Remove trailing slashes.
1212 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\
$ac_val;;
1215 # Be sure to have absolute directory names.
1217 [\\/$
]* | ?
:[\\/]* ) continue;;
1218 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1220 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1228 target
=$target_alias
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x
; then
1232 if test "x$build_alias" = x
; then
1233 cross_compiling
=maybe
1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1235 If a cross compiler is detected then cross compile mode will be used." >&2
1236 elif test "x$build_alias" != "x$host_alias"; then
1242 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1244 test "$silent" = yes && exec 6>/dev
/null
1247 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di
=`ls -di .` &&
1249 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1250 as_fn_error
"working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 as_fn_error
"pwd does not report name of working directory"
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted
=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir
=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1287 ac_srcdir_defaulted
=no
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1291 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1293 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1305 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 for ac_var
in $ac_precious_vars; do
1308 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1309 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1310 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1311 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1315 # Report the --help message.
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1321 \`configure' configures GNU TM Runtime Library 1.0 to adapt to many kinds of systems.
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1328 Defaults for the options are specified in brackets.
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1352 For better control, use the options below.
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --libdir=DIR object code libraries [EPREFIX/lib]
1362 --includedir=DIR C header files [PREFIX/include]
1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1366 --infodir=DIR info documentation [DATAROOTDIR/info]
1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1368 --mandir=DIR man documentation [DATAROOTDIR/man]
1369 --docdir=DIR documentation root [DATAROOTDIR/doc/libitm]
1370 --htmldir=DIR html documentation [DOCDIR]
1371 --dvidir=DIR dvi documentation [DOCDIR]
1372 --pdfdir=DIR pdf documentation [DOCDIR]
1373 --psdir=DIR ps documentation [DOCDIR]
1379 --program-prefix=PREFIX prepend PREFIX to installed program names
1380 --program-suffix=SUFFIX append SUFFIX to installed program names
1381 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1384 --build=BUILD configure
for building on BUILD
[guessed
]
1385 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1386 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1390 if test -n "$ac_init_help"; then
1391 case $ac_init_help in
1392 short | recursive
) echo "Configuration of GNU TM Runtime Library 1.0:";;
1397 --disable-option-checking ignore unrecognized
--enable/--with options
1398 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1399 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1400 --enable-version-specific-runtime-libs
1401 Specify that runtime libraries should be installed
1402 in a compiler-specific directory
[default
=no
]
1403 --enable-generated-files-in-srcdir
1404 put copies of generated files
in source dir intended
1405 for creating
source tarballs
for users without
1406 texinfo bison or flex.
[default
=no
]
1407 --enable-multilib build many library versions
(default
)
1408 --disable-dependency-tracking speeds up one-time build
1409 --enable-dependency-tracking do not reject slow dependency extractors
1410 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1411 --enable-static[=PKGS
] build static libraries
[default
=yes]
1412 --enable-fast-install[=PKGS
]
1413 optimize
for fast installation
[default
=yes]
1414 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1415 --enable-maintainer-mode enable make rules and dependencies not useful
1416 (and sometimes confusing
) to the casual installer
1417 --enable-linux-futex use the Linux futex system call
[default
=default
]
1418 --enable-tls Use thread-local storage
[default
=yes]
1419 --enable-symvers=STYLE enables symbol versioning of the shared library
1423 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1424 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1425 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1427 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1429 Some influential environment variables
:
1430 CC C compiler
command
1431 CFLAGS C compiler flags
1432 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1433 nonstandard directory
<lib dir
>
1434 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1435 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1436 you have headers
in a nonstandard directory
<include dir
>
1437 CXX C
++ compiler
command
1438 CXXFLAGS C
++ compiler flags
1439 CCAS assembler compiler
command (defaults to CC
)
1440 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1442 CXXCPP C
++ preprocessor
1444 Use these variables to override the choices made by
`configure' or to help
1445 it to find libraries and programs with nonstandard names/locations.
1447 Report bugs to the package provider.
1448 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
1449 General help using GNU software: <http://www.gnu.org/gethelp/>.
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir=$ac_pwd
1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir=$ac_top_build_prefix
1479 .) # We are building in place.
1481 ac_top_srcdir=$ac_top_builddir_sub
1482 ac_abs_top_srcdir=$ac_pwd ;;
1483 [\\/]* | ?:[\\/]* ) # Absolute name.
1484 ac_srcdir=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir=$srcdir
1486 ac_abs_top_srcdir=$srcdir ;;
1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" || { ac_status=$?; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" || { ac_status=$?; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1512 GNU TM Runtime Library configure 1.0
1513 generated by GNU Autoconf 2.64
1515 Copyright (C) 2009 Free Software Foundation, Inc.
1516 This configure script is free software; the Free Software Foundation
1517 gives unlimited permission to copy, distribute and modify it.
1522 ## ------------------------ ##
1523 ## Autoconf initialization. ##
1524 ## ------------------------ ##
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile ()
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext
1533 if { { ac_try="$ac_compile"
1535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1536 *) ac_try_echo
=$ac_try;;
1538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1542 if test -s conftest.err
; then
1543 grep -v '^ *+' conftest.err
>conftest.er1
1544 cat conftest.er1
>&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.
$ac_objext; then :
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.
$ac_ext >&5
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1562 } # ac_fn_c_try_compile
1564 # ac_fn_cxx_try_compile LINENO
1565 # ----------------------------
1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1567 ac_fn_cxx_try_compile
()
1569 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1570 rm -f conftest.
$ac_objext
1571 if { { ac_try
="$ac_compile"
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_compile") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_cxx_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest.$ac_objext; then :
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 } # ac_fn_cxx_try_compile
1602 # ac_fn_c_try_link LINENO
1603 # -----------------------
1604 # Try to link conftest.$ac_ext, and return whether this succeeded.
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 rm -f conftest.$ac_objext conftest$ac_exeext
1609 if { { ac_try="$ac_link"
1611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1612 *) ac_try_echo
=$ac_try;;
1614 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_link") 2>conftest.err
1618 if test -s conftest.err
; then
1619 grep -v '^ *+' conftest.err
>conftest.er1
1620 cat conftest.er1
>&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && {
1625 test -z "$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1627 } && test -s conftest
$ac_exeext && {
1628 test "$cross_compiling" = yes ||
1629 $as_test_x conftest
$ac_exeext
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.
$ac_ext >&5
1638 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1639 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1640 # interfere with the next link command; also delete a directory that is
1641 # left behind by Apple's compiler. We do this before executing the actions.
1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1643 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1646 } # ac_fn_c_try_link
1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1649 # -------------------------------------------------------
1650 # Tests whether HEADER exists and can be compiled using the include files in
1651 # INCLUDES, setting the cache variable VAR accordingly.
1652 ac_fn_c_check_header_compile
()
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1658 $as_echo_n "(cached) " >&6
1660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile
"$LINENO"; then :
1670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674 $as_echo "$ac_res" >&6; }
1675 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1677 } # ac_fn_c_check_header_compile
1679 # ac_fn_c_try_cpp LINENO
1680 # ----------------------
1681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1684 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1685 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1694 if test -s conftest.err; then
1695 grep -v '^ *+' conftest.err >conftest.er1
1696 cat conftest.er1 >&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } >/dev/null && {
1701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1711 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716 # ac_fn_c_try_run LINENO
1717 # ----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1719 # that executables *can* be run.
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if { { ac_try="$ac_link"
1725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1726 *) ac_try_echo
=$ac_try;;
1728 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_link") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1734 { { case "(($ac_try" in
1735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_try") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; }; }; then :
1746 $as_echo "$as_me: program exited with status $ac_status" >&5
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 ac_retval=$ac_status
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 # ac_fn_c_check_func LINENO FUNC VAR
1759 # ----------------------------------
1760 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1761 ac_fn_c_check_func ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765 $as_echo_n "checking for $2... " >&6; }
1766 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1767 $as_echo_n "(cached) " >&6
1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1770 /* end confdefs.h. */
1771 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1773 #define $2 innocuous_$2
1775 /* System header to define __stub macros and hopefully few prototypes,
1776 which can conflict with char $2 (); below.
1777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1778 <limits.h> exists even on freestanding compilers. */
1781 # include <limits.h>
1783 # include <assert.h>
1788 /* Override any GCC internal prototype to avoid an error.
1789 Use char because int might match the return type of a GCC
1790 builtin and then its argument prototype would still apply. */
1795 /* The GNU C library defines this for functions which it implements
1796 to always fail with ENOSYS. Some functions are actually named
1797 something starting with __ and the normal name is an alias. */
1798 #if defined __stub_$2 || defined __stub___$2
1810 if ac_fn_c_try_link "$LINENO"; then :
1815 rm -f core conftest.err conftest.$ac_objext \
1816 conftest$ac_exeext conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_c_check_func
1825 # ac_fn_cxx_try_cpp LINENO
1826 # ------------------------
1827 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_cxx_try_cpp ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 if { { ac_try="$ac_cpp conftest.$ac_ext"
1833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1834 *) ac_try_echo
=$ac_try;;
1836 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1840 if test -s conftest.err
; then
1841 grep -v '^ *+' conftest.err
>conftest.er1
1842 cat conftest.er1
>&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } >/dev
/null
&& {
1847 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1848 test ! -s conftest.err
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.
$ac_ext >&5
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1860 } # ac_fn_cxx_try_cpp
1862 # ac_fn_cxx_try_link LINENO
1863 # -------------------------
1864 # Try to link conftest.$ac_ext, and return whether this succeeded.
1865 ac_fn_cxx_try_link
()
1867 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1868 rm -f conftest.
$ac_objext conftest
$ac_exeext
1869 if { { ac_try
="$ac_link"
1871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_link") 2>conftest.err
1878 if test -s conftest.err; then
1879 grep -v '^ *+' conftest.err >conftest.er1
1880 cat conftest.er1 >&5
1881 mv -f conftest.er1 conftest.err
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; } && {
1885 test -z "$ac_cxx_werror_flag" ||
1886 test ! -s conftest.err
1887 } && test -s conftest$ac_exeext && {
1888 test "$cross_compiling" = yes ||
1889 $as_test_x conftest$ac_exeext
1893 $as_echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.$ac_ext >&5
1898 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1899 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1900 # interfere with the next link command; also delete a directory that is
1901 # left behind by Apple's compiler. We do this before executing the actions.
1902 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1903 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1906 } # ac_fn_cxx_try_link
1908 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1909 # -------------------------------------------------------
1910 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1911 # the include files in INCLUDES and setting the cache variable VAR
1913 ac_fn_c_check_header_mongrel ()
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1920 $as_echo_n "(cached) " >&6
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1926 # Is the header compilable?
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1928 $as_echo_n "checking $2 usability... " >&6; }
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1934 if ac_fn_c_try_compile "$LINENO"; then :
1935 ac_header_compiler=yes
1937 ac_header_compiler=no
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1941 $as_echo "$ac_header_compiler" >&6; }
1943 # Is the header present?
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1945 $as_echo_n "checking $2 presence... " >&6; }
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1950 if ac_fn_c_try_cpp "$LINENO"; then :
1951 ac_header_preproc=yes
1953 ac_header_preproc=no
1955 rm -f conftest.err conftest.$ac_ext
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1957 $as_echo "$ac_header_preproc" >&6; }
1959 # So? What about this header?
1960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1963 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1969 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1971 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1973 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1975 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1977 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1981 $as_echo_n "checking for $2... " >&6; }
1982 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1983 $as_echo_n "(cached) " >&6
1985 eval "$3=\$ac_header_compiler"
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1989 $as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993 } # ac_fn_c_check_header_mongrel
1995 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1996 # -------------------------------------------
1997 # Tests whether TYPE exists after having included INCLUDES, setting cache
1998 # variable VAR accordingly.
1999 ac_fn_c_check_type ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003 $as_echo_n "checking for $2... " >&6; }
2004 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2005 $as_echo_n "(cached) " >&6
2008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2020 if ac_fn_c_try_compile "$LINENO"; then :
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2033 if ac_fn_c_try_compile "$LINENO"; then :
2038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2044 $as_echo "$ac_res" >&6; }
2045 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 } # ac_fn_c_check_type
2049 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2050 # --------------------------------------------
2051 # Tries to find the compile-time value of EXPR in a program that includes
2052 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2054 ac_fn_c_compute_int ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 if test "$cross_compiling" = yes; then
2058 # Depending upon the size, compute the lo and hi bounds.
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) >= 0)];
2072 if ac_fn_c_try_compile "$LINENO"; then :
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2081 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2088 if ac_fn_c_try_compile "$LINENO"; then :
2089 ac_hi=$ac_mid; break
2091 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2092 if test $ac_lo -le $ac_mid; then
2096 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2107 static int test_array [1 - 2 * !(($2) < 0)];
2114 if ac_fn_c_try_compile "$LINENO"; then :
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2123 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2130 if ac_fn_c_try_compile "$LINENO"; then :
2131 ac_lo=$ac_mid; break
2133 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2134 if test $ac_mid -le $ac_hi; then
2138 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2148 # Binary search between lo and hi bounds.
2149 while test "x$ac_lo" != "x$ac_hi"; do
2150 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2157 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2164 if ac_fn_c_try_compile "$LINENO"; then :
2167 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2179 static long int longval () { return $2; }
2180 static unsigned long int ulongval () { return $2; }
2187 FILE *f = fopen ("conftest.val", "w");
2192 long int i = longval ();
2195 fprintf (f, "%ld", i);
2199 unsigned long int i = ulongval ();
2202 fprintf (f, "%lu", i);
2204 /* Do not output a trailing newline, as this causes \r\n confusion
2205 on some platforms. */
2206 return ferror (f) || fclose (f) != 0;
2212 if ac_fn_c_try_run "$LINENO"; then :
2213 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2218 conftest.$ac_objext conftest.beam conftest.$ac_ext
2222 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2225 } # ac_fn_c_compute_int
2226 cat >config.log <<_ACEOF
2227 This file contains any messages produced by compilers while
2228 running configure, to aid debugging if configure makes a mistake.
2230 It was created by GNU TM Runtime Library $as_me 1.0, which was
2231 generated by GNU Autoconf 2.64. Invocation command line was
2243 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2244 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2245 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2246 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2247 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2249 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2250 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2252 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2253 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2254 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2255 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2256 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2257 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2258 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 $as_echo "PATH: $as_dir"
2283 # Keep a trace of the command line.
2284 # Strip out --no-create and --no-recursion so they do not pile up.
2285 # Strip out --silent because we don't want to record it for future runs.
2286 # Also quote any args containing shell meta-characters.
2287 # Make two passes to allow for proper duplicate-argument suppression.
2291 ac_must_keep_next=false
2297 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2298 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2299 | -silent | --silent | --silen | --sile | --sil)
2302 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2305 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2307 as_fn_append ac_configure_args1 " '$ac_arg'"
2308 if test $ac_must_keep_next = true; then
2309 ac_must_keep_next=false # Got value, back to normal.
2312 *=* | --config-cache | -C | -disable-* | --disable-* \
2313 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2314 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2315 | -with-* | --with-* | -without-* | --without-* | --x)
2316 case "$ac_configure_args0 " in
2317 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2320 -* ) ac_must_keep_next=true ;;
2323 as_fn_append ac_configure_args " '$ac_arg'"
2328 { ac_configure_args0=; unset ac_configure_args0;}
2329 { ac_configure_args1=; unset ac_configure_args1;}
2331 # When interrupted or exit'd, cleanup temporary files, and complete
2332 # config.log. We remove comments because anyway the quotes in there
2333 # would cause problems or look ugly.
2334 # WARNING: Use '\'' to represent an apostrophe within the trap.
2335 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2336 trap 'exit_status=$?
2337 # Save into config.log some information that might help in debugging.
2342 ## ---------------- ##
2343 ## Cache variables. ##
2344 ## ---------------- ##
2347 # The following way of writing the cache mishandles newlines in values,
2349 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2350 eval ac_val=\$$ac_var
2354 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2355 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2358 _ | IFS | as_nl) ;; #(
2359 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2360 *) { eval $ac_var=; unset $ac_var;} ;;
2365 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2366 *${as_nl}ac_space=\ *)
2368 "s/'\''/'\''\\\\'\'''\''/g;
2369 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2380 ## ----------------- ##
2381 ## Output variables. ##
2382 ## ----------------- ##
2385 for ac_var in $ac_subst_vars
2387 eval ac_val=\$$ac_var
2389 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2391 $as_echo "$ac_var='\''$ac_val'\''"
2395 if test -n "$ac_subst_files"; then
2397 ## ------------------- ##
2398 ## File substitutions. ##
2399 ## ------------------- ##
2402 for ac_var in $ac_subst_files
2404 eval ac_val=\$$ac_var
2406 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2408 $as_echo "$ac_var='\''$ac_val'\''"
2413 if test -s confdefs.h; then
2423 test "$ac_signal" != 0 &&
2424 $as_echo "$as_me: caught signal $ac_signal"
2425 $as_echo "$as_me: exit $exit_status"
2427 rm -f core *.core core.conftest.* &&
2428 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2431 for ac_signal in 1 2 13 15; do
2432 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2436 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2437 rm -f -r conftest* confdefs.h
2439 $as_echo "/* confdefs.h */" > confdefs.h
2441 # Predefined preprocessor variables.
2443 cat >>confdefs.h <<_ACEOF
2444 #define PACKAGE_NAME "$PACKAGE_NAME"
2447 cat >>confdefs.h <<_ACEOF
2448 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2451 cat >>confdefs.h <<_ACEOF
2452 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2455 cat >>confdefs.h <<_ACEOF
2456 #define PACKAGE_STRING "$PACKAGE_STRING"
2459 cat >>confdefs.h <<_ACEOF
2460 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2463 cat >>confdefs.h <<_ACEOF
2464 #define PACKAGE_URL "$PACKAGE_URL"
2468 # Let the site file select an alternate cache file if it wants to.
2469 # Prefer an explicitly selected file to automatically selected ones.
2472 if test -n "$CONFIG_SITE"; then
2473 ac_site_file1=$CONFIG_SITE
2474 elif test "x$prefix" != xNONE; then
2475 ac_site_file1=$prefix/share/config.site
2476 ac_site_file2=$prefix/etc/config.site
2478 ac_site_file1=$ac_default_prefix/share/config.site
2479 ac_site_file2=$ac_default_prefix/etc/config.site
2481 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2483 test "x$ac_site_file" = xNONE && continue
2484 if test -r "$ac_site_file"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2486 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2487 sed 's/^/| /' "$ac_site_file" >&5
2492 if test -r "$cache_file"; then
2493 # Some versions of bash will fail to source /dev/null (special
2494 # files actually), so we avoid doing that.
2495 if test -f "$cache_file"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2497 $as_echo "$as_me: loading cache $cache_file" >&6;}
2499 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2500 *) . "./$cache_file";;
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2505 $as_echo "$as_me: creating cache $cache_file" >&6;}
2509 # Check that the precious variables saved in the cache have kept the same
2511 ac_cache_corrupted=false
2512 for ac_var in $ac_precious_vars; do
2513 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2514 eval ac_new_set=\$ac_env_${ac_var}_set
2515 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2516 eval ac_new_val=\$ac_env_${ac_var}_value
2517 case $ac_old_set,$ac_new_set in
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2520 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2521 ac_cache_corrupted=: ;;
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2524 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2525 ac_cache_corrupted=: ;;
2528 if test "x$ac_old_val" != "x$ac_new_val"; then
2529 # differences in whitespace do not lead to failure.
2530 ac_old_val_w=`echo x
$ac_old_val`
2531 ac_new_val_w=`echo x
$ac_new_val`
2532 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2534 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2535 ac_cache_corrupted=:
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2538 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2539 eval $ac_var=\$ac_old_val
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2542 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2544 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2547 # Pass precious variables to config.status.
2548 if test "$ac_new_set" = set; then
2550 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2551 *) ac_arg=$ac_var=$ac_new_val ;;
2553 case " $ac_configure_args " in
2554 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2555 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2559 if $ac_cache_corrupted; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2563 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2564 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2566 ## -------------------- ##
2567 ## Main body of script. ##
2568 ## -------------------- ##
2571 ac_cpp='$CPP $CPPFLAGS'
2572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2580 ac_config_headers="$ac_config_headers config.h"
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2588 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2589 # Check whether --enable-version-specific-runtime-libs was given.
2590 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2591 enableval=$enable_version_specific_runtime_libs;
2592 case "$enableval" in
2594 *) as_fn_error "Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2598 enable_version_specific_runtime_libs=no
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2603 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2605 # We would like our source tree to be readonly. However when releases or
2606 # pre-releases are generated, the flex/bison generated files as well as the
2607 # various formats of manuals need to be included along with the rest of the
2608 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2611 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2612 # Check whether --enable-generated-files-in-srcdir was given.
2613 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2614 enableval=$enable_generated_files_in_srcdir;
2615 case "$enableval" in
2617 *) as_fn_error "Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2621 enable_generated_files_in_srcdir=no
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2626 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2627 if test "$enable_generated_files_in_srcdir" = yes; then
2640 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2642 # You will slowly go insane if you do not grok the following fact: when
2643 # building this library, the top-level /target/ becomes the library's /host/.
2645 # configure then causes --target to default to --host, exactly like any
2646 # other package using autoconf. Therefore, 'target' and 'host' will
2647 # always be the same. This makes sense both for native and cross compilers
2648 # just think about it for a little while. :-)
2650 # Also, if this library is being configured as part of a cross compiler, the
2651 # top-level configure script will pass the "real" host as $with_cross_host.
2653 # Do not delete or change the following two lines. For why, see
2654 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2656 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2657 for ac_t in install-sh install.sh shtool; do
2658 if test -f "$ac_dir/$ac_t"; then
2660 ac_install_sh="$ac_aux_dir/$ac_t -c"
2665 if test -z "$ac_aux_dir"; then
2666 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2669 # These three variables are undocumented and unsupported,
2670 # and are intended to be withdrawn in a future Autoconf release.
2671 # They can cause serious problems if a builder's source tree is in a directory
2672 # whose full name contains unusual characters.
2673 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2674 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2675 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2678 # Make sure we can run config.sub.
2679 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2680 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2683 $as_echo_n "checking build system type... " >&6; }
2684 if test "${ac_cv_build+set}" = set; then :
2685 $as_echo_n "(cached) " >&6
2687 ac_build_alias=$build_alias
2688 test "x$ac_build_alias" = x &&
2689 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2690 test "x$ac_build_alias" = x &&
2691 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2692 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2693 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2697 $as_echo "$ac_cv_build" >&6; }
2698 case $ac_cv_build in
2700 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2703 ac_save_IFS=$IFS; IFS='-'
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2713 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2717 $as_echo_n "checking host system type... " >&6; }
2718 if test "${ac_cv_host+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 if test "x$host_alias" = x; then
2722 ac_cv_host=$ac_cv_build
2724 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2725 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2730 $as_echo "$ac_cv_host" >&6; }
2733 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2736 ac_save_IFS=$IFS; IFS='-'
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2746 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2750 $as_echo_n "checking target system type... " >&6; }
2751 if test "${ac_cv_target+set}" = set; then :
2752 $as_echo_n "(cached) " >&6
2754 if test "x$target_alias" = x; then
2755 ac_cv_target=$ac_cv_host
2757 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2758 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2763 $as_echo "$ac_cv_target" >&6; }
2764 case $ac_cv_target in
2766 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2768 target=$ac_cv_target
2769 ac_save_IFS=$IFS; IFS='-'
2775 # Remember, the first character of IFS is used to create $*,
2776 # except with old shells:
2779 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2782 # The aliases save the names the user supplied, while $host etc.
2783 # will get canonicalized.
2784 test -n "$target_alias" &&
2785 test "$program_prefix$program_suffix$program_transform_name" = \
2787 program_prefix=${target_alias}-
2789 target_alias=${target_alias-$host_alias}
2791 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2792 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2793 # 1.9.0: minimum required version
2794 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2795 # of other PACKAGE_* variables will, however, and there's nothing
2796 # we can do about that; they come from AC_INIT).
2797 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2798 # file in the top srcdir, etc, etc), so stop complaining.
2799 # -Wall: turns on all automake warnings...
2800 # -Wno-portability: ...except this one, since GNU make is required.
2801 # -Wno-override: ... and this one, since we do want this in testsuite.
2802 am__api_version='1.11'
2804 # Find a good install program. We prefer a C program (faster),
2805 # so one script is as good as another. But avoid the broken or
2806 # incompatible versions:
2807 # SysV /etc/install, /usr/sbin/install
2808 # SunOS /usr/etc/install
2809 # IRIX /sbin/install
2811 # AmigaOS /C/install, which installs bootblocks on floppy discs
2812 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2813 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2814 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2815 # OS/2's system install, which has a completely different semantic
2816 # ./install, which can be erroneously created by make from ./install.sh.
2817 # Reject install programs that cannot install multiple files.
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2819 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2820 if test -z "$INSTALL"; then
2821 if test "${ac_cv_path_install+set}" = set; then :
2822 $as_echo_n "(cached) " >&6
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 # Account for people who put trailing slashes in PATH elements.
2830 case $as_dir/ in #((
2831 ./ | .// | /[cC]/* | \
2832 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2833 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2836 # OSF1 and SCO ODT 3.0 have their own names for install.
2837 # Don't use installbsd from OSF since it installs stuff as root
2839 for ac_prog in ginstall scoinst install; do
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2842 if test $ac_prog = install &&
2843 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2844 # AIX install. It has an incompatible calling convention.
2846 elif test $ac_prog = install &&
2847 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2848 # program-specific install script used by HP pwplus--don't use.
2851 rm -rf conftest.one conftest.two conftest.dir
2852 echo one > conftest.one
2853 echo two > conftest.two
2855 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2856 test -s conftest.one && test -s conftest.two &&
2857 test -s conftest.dir/conftest.one &&
2858 test -s conftest.dir/conftest.two
2860 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2873 rm -rf conftest.one conftest.two conftest.dir
2876 if test "${ac_cv_path_install+set}" = set; then
2877 INSTALL=$ac_cv_path_install
2879 # As a last resort, use the slow shell script. Don't cache a
2880 # value for INSTALL within a source directory, because that will
2881 # break other packages using the cache if that directory is
2882 # removed, or if the value is a relative name.
2883 INSTALL=$ac_install_sh
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2887 $as_echo "$INSTALL" >&6; }
2889 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2890 # It thinks the first close brace ends the variable substitution.
2891 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2893 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2895 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2898 $as_echo_n "checking whether build environment is sane... " >&6; }
2901 echo timestamp > conftest.file
2902 # Reject unsafe characters in $srcdir or the absolute working directory
2903 # name. Accept space and tab only in the latter.
2907 *[\\\"\#\$\&\'\`$am_lf]*)
2908 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2911 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2912 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2915 # Do `set' in a subshell so we don't clobber the current shell's
2916 # arguments. Must try -L first in case configure is actually a
2917 # symlink; some systems play weird games with the mod time of symlinks
2918 # (eg FreeBSD returns the mod time of the symlink's containing
2921 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2922 if test "$*" = "X"; then
2924 set X
`ls -t "$srcdir/configure" conftest.file`
2927 if test "$*" != "X $srcdir/configure conftest.file" \
2928 && test "$*" != "X conftest.file $srcdir/configure"; then
2930 # If neither matched, then we have a broken ls. This can happen
2931 # if, for instance, CONFIG_SHELL is bash and it inherits a
2932 # broken ls alias from the environment. This has actually
2933 # happened. Such a system could not be considered "sane".
2934 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2935 alias in your environment" "$LINENO" 5
2938 test "$2" = conftest.
file
2944 as_fn_error
"newly created file is older than distributed files!
2945 Check your system clock" "$LINENO" 5
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2948 $as_echo "yes" >&6; }
2949 test "$program_prefix" != NONE
&&
2950 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2951 # Use a double $ so make ignores it.
2952 test "$program_suffix" != NONE
&&
2953 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2954 # Double any \ or $.
2955 # By default was `s,x,x', remove it if useless.
2956 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2957 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2959 # expand $ac_aux_dir to an absolute path
2960 am_aux_dir
=`cd $ac_aux_dir && pwd`
2962 if test x
"${MISSING+set}" != xset
; then
2965 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2967 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2970 # Use eval to expand $SHELL
2971 if eval "$MISSING --run true"; then
2972 am_missing_run
="$MISSING --run "
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2976 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2979 if test x
"${install_sh}" != xset
; then
2982 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2984 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2988 # Installed binaries are usually stripped using `strip' when the user
2989 # run `make install-strip'. However `strip' might not be the right
2990 # tool to use in cross-compilation environments, therefore Automake
2991 # will honor the `STRIP' environment variable to overrule this program.
2992 if test "$cross_compiling" != no
; then
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2995 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if test "${ac_cv_prog_STRIP+set}" = set; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$STRIP"; then
3002 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir
=.
3009 for ac_exec_ext
in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 STRIP
=$ac_cv_prog_STRIP
3022 if test -n "$STRIP"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3024 $as_echo "$STRIP" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3032 if test -z "$ac_cv_prog_STRIP"; then
3034 # Extract the first word of "strip", so it can be a program name with args.
3035 set dummy strip
; ac_word
=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$ac_ct_STRIP"; then
3042 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir
=.
3049 for ac_exec_ext
in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_STRIP
="strip"
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3062 if test -n "$ac_ct_STRIP"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3064 $as_echo "$ac_ct_STRIP" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3070 if test "x$ac_ct_STRIP" = x
; then
3073 case $cross_compiling:$ac_tool_warned in
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077 ac_tool_warned
=yes ;;
3082 STRIP
="$ac_cv_prog_STRIP"
3086 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3089 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3090 if test -z "$MKDIR_P"; then
3091 if test "${ac_cv_path_mkdir+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3095 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3098 test -z "$as_dir" && as_dir
=.
3099 for ac_prog
in mkdir gmkdir
; do
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3102 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3103 'mkdir (GNU coreutils) '* | \
3104 'mkdir (coreutils) '* | \
3105 'mkdir (fileutils) '4.1*)
3106 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3116 if test "${ac_cv_path_mkdir+set}" = set; then
3117 MKDIR_P
="$ac_cv_path_mkdir -p"
3119 # As a last resort, use the slow shell script. Don't cache a
3120 # value for MKDIR_P within a source directory, because that will
3121 # break other packages using the cache if that directory is
3122 # removed, or if the value is a relative name.
3123 test -d .
/--version && rmdir .
/--version
3124 MKDIR_P
="$ac_install_sh -d"
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3128 $as_echo "$MKDIR_P" >&6; }
3132 [\\/$
]* | ?
:[\\/]*) ;;
3133 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3136 for ac_prog
in gawk mawk nawk
awk
3138 # Extract the first word of "$ac_prog", so it can be a program name with args.
3139 set dummy
$ac_prog; ac_word
=$2
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141 $as_echo_n "checking for $ac_word... " >&6; }
3142 if test "${ac_cv_prog_AWK+set}" = set; then :
3143 $as_echo_n "(cached) " >&6
3145 if test -n "$AWK"; then
3146 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_exec_ext
in '' $ac_executable_extensions; do
3154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3155 ac_cv_prog_AWK
="$ac_prog"
3156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 if test -n "$AWK"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3168 $as_echo "$AWK" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3175 test -n "$AWK" && break
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3179 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3181 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3182 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3183 $as_echo_n "(cached) " >&6
3185 cat >conftest.
make <<\_ACEOF
3188 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3190 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3191 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3193 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3195 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3199 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3201 $as_echo "yes" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3206 SET_MAKE
="MAKE=${MAKE-make}"
3209 rm -rf .tst
2>/dev
/null
3210 mkdir .tst
2>/dev
/null
3211 if test -d .tst
; then
3216 rmdir .tst
2>/dev
/null
3218 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3219 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3220 # is not polluted with repeated "-I."
3221 am__isrc
=' -I$(srcdir)'
3222 # test to see if srcdir already configured
3223 if test -f $srcdir/config.status
; then
3224 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3228 # test whether we have cygpath
3229 if test -z "$CYGPATH_W"; then
3230 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3231 CYGPATH_W
='cygpath -w'
3238 # Define the identity of the package.
3243 cat >>confdefs.h
<<_ACEOF
3244 #define PACKAGE "$PACKAGE"
3248 cat >>confdefs.h
<<_ACEOF
3249 #define VERSION "$VERSION"
3252 # Some tools Automake needs.
3254 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3257 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3260 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3263 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3266 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3268 # We need awk for the "check" target. The system "awk" is bad on
3270 # Always define AMTAR for backward compatibility.
3272 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3274 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3280 # Default to --enable-multilib
3281 # Check whether --enable-multilib was given.
3282 if test "${enable_multilib+set}" = set; then :
3283 enableval
=$enable_multilib; case "$enableval" in
3284 yes) multilib
=yes ;;
3286 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3293 # We may get other options which we leave undocumented:
3294 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3295 # See config-ml.in if you want the gory details.
3297 if test "$srcdir" = "."; then
3298 if test "$with_target_subdir" != "."; then
3299 multi_basedir
="$srcdir/$with_multisrctop../.."
3301 multi_basedir
="$srcdir/$with_multisrctop.."
3304 multi_basedir
="$srcdir/.."
3308 # Even if the default multilib is not a cross compilation,
3309 # it may be that some of the other multilibs are.
3310 if test $cross_compiling = no
&& test $multilib = yes \
3311 && test "x${with_multisubdir}" != x
; then
3312 cross_compiling
=maybe
3315 ac_config_commands
="$ac_config_commands default-1"
3318 # Calculate toolexeclibdir
3319 # Also toolexecdir, though it's only used in toolexeclibdir
3320 case ${enable_version_specific_runtime_libs} in
3322 # Need the gcc compiler version to know where to install libraries
3323 # and header files if --enable-version-specific-runtime-libs option
3325 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3326 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3329 if test -n "$with_cross_host" &&
3330 test x
"$with_cross_host" != x
"no"; then
3331 # Install a library built with a cross compiler in tooldir, not libdir.
3332 toolexecdir
='$(exec_prefix)/$(target_alias)'
3333 toolexeclibdir
='$(toolexecdir)/lib'
3335 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3336 toolexeclibdir
='$(libdir)'
3338 multi_os_directory
=`$CC -print-multi-os-directory`
3339 case $multi_os_directory in
3340 .
) ;; # Avoid trailing /.
3341 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3348 # Check the compiler.
3349 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3350 # We must force CC to /not/ be precious variables; otherwise
3351 # the wrong, non-multilib-adjusted value will be used in multilibs.
3352 # As a side effect, we have to subst CFLAGS ourselves.
3357 ac_cpp
='$CPP $CPPFLAGS'
3358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3361 if test -n "$ac_tool_prefix"; then
3362 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3363 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if test "${ac_cv_prog_CC+set}" = set; then :
3367 $as_echo_n "(cached) " >&6
3369 if test -n "$CC"; then
3370 ac_cv_prog_CC
="$CC" # Let the user override the test.
3372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir
=.
3377 for ac_exec_ext
in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 if test -n "$CC"; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3392 $as_echo "$CC" >&6; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3400 if test -z "$ac_cv_prog_CC"; then
3402 # Extract the first word of "gcc", so it can be a program name with args.
3403 set dummy gcc
; ac_word
=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$ac_ct_CC"; then
3410 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3416 test -z "$as_dir" && as_dir
=.
3417 for ac_exec_ext
in '' $ac_executable_extensions; do
3418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419 ac_cv_prog_ac_ct_CC
="gcc"
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3430 if test -n "$ac_ct_CC"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3432 $as_echo "$ac_ct_CC" >&6; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3438 if test "x$ac_ct_CC" = x
; then
3441 case $cross_compiling:$ac_tool_warned in
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3445 ac_tool_warned
=yes ;;
3453 if test -z "$CC"; then
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3456 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if test "${ac_cv_prog_CC+set}" = set; then :
3460 $as_echo_n "(cached) " >&6
3462 if test -n "$CC"; then
3463 ac_cv_prog_CC
="$CC" # Let the user override the test.
3465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir
=.
3470 for ac_exec_ext
in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 if test -n "$CC"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3485 $as_echo "$CC" >&6; }
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3494 if test -z "$CC"; then
3495 # Extract the first word of "cc", so it can be a program name with args.
3496 set dummy cc
; ac_word
=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if test "${ac_cv_prog_CC+set}" = set; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$CC"; then
3503 ac_cv_prog_CC
="$CC" # Let the user override the test.
3506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir
=.
3511 for ac_exec_ext
in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3514 ac_prog_rejected
=yes
3518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525 if test $ac_prog_rejected = yes; then
3526 # We found a bogon in the path, so make sure we never use it.
3527 set dummy
$ac_cv_prog_CC
3529 if test $# != 0; then
3530 # We chose a different compiler from the bogus one.
3531 # However, it has the same basename, so the bogon will be chosen
3532 # first if we set CC to just the basename; use the full file name.
3534 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3540 if test -n "$CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3550 if test -z "$CC"; then
3551 if test -n "$ac_tool_prefix"; then
3552 for ac_prog
in cl.exe
3554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3555 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if test "${ac_cv_prog_CC+set}" = set; then :
3559 $as_echo_n "(cached) " >&6
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC
="$CC" # Let the user override the test.
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 for ac_exec_ext
in '' $ac_executable_extensions; do
3570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 if test -n "$CC"; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3584 $as_echo "$CC" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3591 test -n "$CC" && break
3594 if test -z "$CC"; then
3596 for ac_prog
in cl.exe
3598 # Extract the first word of "$ac_prog", so it can be a program name with args.
3599 set dummy
$ac_prog; ac_word
=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$ac_ct_CC"; then
3606 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3615 ac_cv_prog_ac_ct_CC
="$ac_prog"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3635 test -n "$ac_ct_CC" && break
3638 if test "x$ac_ct_CC" = x
; then
3641 case $cross_compiling:$ac_tool_warned in
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3645 ac_tool_warned
=yes ;;
3654 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3656 as_fn_error
"no acceptable C compiler found in \$PATH
3657 See \`config.log' for more details." "$LINENO" 5; }
3659 # Provide some information about the compiler.
3660 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3663 for ac_option
in --version -v -V -qversion; do
3664 { { ac_try
="$ac_compiler $ac_option >&5"
3666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3667 *) ac_try_echo=$ac_try;;
3669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3670 $as_echo "$ac_try_echo"; } >&5
3671 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3673 if test -s conftest.err; then
3675 ... rest of stderr output deleted ...
3676 10q' conftest.err >conftest.er1
3677 cat conftest.er1 >&5
3678 rm -f conftest.er1 conftest.err
3680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681 test $ac_status = 0; }
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3695 ac_clean_files_save=$ac_clean_files
3696 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3697 # Try to create an executable without -o first, disregard a.out.
3698 # It will help us diagnose broken compilers, and finding out an intuition
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3701 $as_echo_n "checking for C compiler default output file name... " >&6; }
3702 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3704 # The possible output files:
3705 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3708 for ac_file in $ac_files
3711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3712 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3717 if { { ac_try="$ac_link_default"
3719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3720 *) ac_try_echo
=$ac_try;;
3722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3723 $as_echo "$ac_try_echo"; } >&5
3724 (eval "$ac_link_default") 2>&5
3726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3727 test $ac_status = 0; }; then :
3728 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3729 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3730 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3731 # so that the user can short-circuit this test for compilers unknown to
3733 for ac_file
in $ac_files ''
3735 test -f "$ac_file" ||
continue
3737 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3740 # We found the default executable, but exeext='' is most
3744 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3746 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3748 # We set ac_cv_exeext here because the later test for it is not
3749 # safe: cross compilers may not add the suffix if given an `-o'
3750 # argument, so we may need to know it at that point already.
3751 # Even if this section looks crufty: it has the advantage of
3758 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3764 $as_echo "$ac_file" >&6; }
3765 if test -z "$ac_file"; then :
3766 $as_echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.
$ac_ext >&5
3769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3771 { as_fn_set_status
77
3772 as_fn_error
"C compiler cannot create executables
3773 See \`config.log' for more details." "$LINENO" 5; }; }
3775 ac_exeext
=$ac_cv_exeext
3777 # Check that the compiler produces executables we can run. If not, either
3778 # the compiler is broken, or we cross compile.
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3780 $as_echo_n "checking whether the C compiler works... " >&6; }
3781 # If not cross compiling, check that we can run a simple program.
3782 if test "$cross_compiling" != yes; then
3783 if { ac_try
='./$ac_file'
3784 { { case "(($ac_try" in
3785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3789 $as_echo "$ac_try_echo"; } >&5
3790 (eval "$ac_try") 2>&5
3792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793 test $ac_status = 0; }; }; then
3796 if test "$cross_compiling" = maybe; then
3799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error "cannot run C compiled programs.
3802 If you meant to cross compile
, use \
`--host'.
3803 See \`config.log
' for more details." "$LINENO" 5; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3808 $as_echo "yes" >&6; }
3810 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3811 ac_clean_files=$ac_clean_files_save
3812 # Check that the compiler produces executables we can run. If not, either
3813 # the compiler is broken, or we cross compile.
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3815 $as_echo_n "checking whether we are cross compiling... " >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3817 $as_echo "$cross_compiling" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3820 $as_echo_n "checking for suffix of executables... " >&6; }
3821 if { { ac_try="$ac_link"
3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3827 $as_echo "$ac_try_echo"; } >&5
3828 (eval "$ac_link") 2>&5
3830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831 test $ac_status = 0; }; then :
3832 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3833 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3834 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3836 for ac_file
in conftest.exe conftest conftest.
*; do
3837 test -f "$ac_file" ||
continue
3839 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3840 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3849 See \`config.log' for more details." "$LINENO" 5; }
3851 rm -f conftest
$ac_cv_exeext
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3853 $as_echo "$ac_cv_exeext" >&6; }
3855 rm -f conftest.
$ac_ext
3856 EXEEXT
=$ac_cv_exeext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3859 $as_echo_n "checking for suffix of object files... " >&6; }
3860 if test "${ac_cv_objext+set}" = set; then :
3861 $as_echo_n "(cached) " >&6
3863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3874 rm -f conftest.o conftest.obj
3875 if { { ac_try
="$ac_compile"
3877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3881 $as_echo "$ac_try_echo"; } >&5
3882 (eval "$ac_compile") 2>&5
3884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3885 test $ac_status = 0; }; then :
3886 for ac_file in conftest.o conftest.obj conftest.*; do
3887 test -f "$ac_file" || continue;
3889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3890 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3895 $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 as_fn_error "cannot compute suffix of object files
: cannot compile
3901 See \
`config.log' for more details." "$LINENO" 5; }
3903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3906 $as_echo "$ac_cv_objext" >&6; }
3907 OBJEXT=$ac_cv_objext
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3911 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3912 $as_echo_n "(cached) " >&6
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3928 if ac_fn_c_try_compile "$LINENO"; then :
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3939 if test $ac_compiler_gnu = yes; then
3944 ac_test_CFLAGS=${CFLAGS+set}
3945 ac_save_CFLAGS=$CFLAGS
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3948 if test "${ac_cv_prog_cc_g+set}" = set; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_save_c_werror_flag=$ac_c_werror_flag
3952 ac_c_werror_flag=yes
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"; then :
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_c_werror_flag=$ac_save_c_werror_flag
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3997 if ac_fn_c_try_compile "$LINENO"; then :
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 ac_c_werror_flag=$ac_save_c_werror_flag
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4008 $as_echo "$ac_cv_prog_cc_g" >&6; }
4009 if test "$ac_test_CFLAGS" = set; then
4010 CFLAGS=$ac_save_CFLAGS
4011 elif test $ac_cv_prog_cc_g = yes; then
4012 if test "$GCC" = yes; then
4018 if test "$GCC" = yes; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4026 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 ac_cv_prog_cc_c89=no
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4035 #include <sys/types.h>
4036 #include <sys/stat.h>
4037 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4038 struct buf { int x; };
4039 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4040 static char *e (p, i)
4046 static char *f (char * (*g) (char **, int), char **p, ...)
4051 s = g (p, va_arg (v,int));
4056 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4057 function prototypes and stuff, but not '\xHH' hex character constants.
4058 These don't provoke an error unfortunately, instead are silently treated
4059 as 'x'. The following induces an error, until -std is added to get
4060 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4061 array size at least. It's necessary to write '\x00'==0 to get something
4062 that's true only with -std. */
4063 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4065 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4066 inside strings and character constants. */
4068 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4070 int test (int i, double x);
4071 struct s1 {int (*f) (int a);};
4072 struct s2 {int (*f) (double a);};
4073 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4079 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4084 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4085 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4087 CC="$ac_save_CC $ac_arg"
4088 if ac_fn_c_try_compile "$LINENO"; then :
4089 ac_cv_prog_cc_c89=$ac_arg
4091 rm -f core conftest.err conftest.$ac_objext
4092 test "x$ac_cv_prog_cc_c89" != "xno" && break
4094 rm -f conftest.$ac_ext
4099 case "x$ac_cv_prog_cc_c89" in
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4102 $as_echo "none needed" >&6; } ;;
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4105 $as_echo "unsupported" >&6; } ;;
4107 CC="$CC $ac_cv_prog_cc_c89"
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4109 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4111 if test "x$ac_cv_prog_cc_c89" != xno; then :
4116 ac_cpp='$CPP $CPPFLAGS'
4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120 DEPDIR="${am__leading_dot}deps"
4122 ac_config_commands="$ac_config_commands depfiles"
4125 am_make=${MAKE-make}
4126 cat > confinc << 'END'
4128 @echo this is the am__doit target
4131 # If we don't find an include directive, just comment out the code.
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4133 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4137 # First try GNU make style include.
4138 echo "include confinc" > confmf
4139 # Ignore all kinds of additional output from `make'.
4140 case `$am_make -s -f confmf 2> /dev/null` in #(
4141 *the\ am__doit\ target*)
4147 # Now try BSD make style include.
4148 if test "$am__include" = "#"; then
4149 echo '.include
"confinc"' > confmf
4150 case `$am_make -s -f confmf 2> /dev/null` in #(
4151 *the\ am__doit\ target*)
4152 am__include=.include
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4161 $as_echo "$_am_result" >&6; }
4162 rm -f confinc confmf
4164 # Check whether --enable-dependency-tracking was given.
4165 if test "${enable_dependency_tracking+set}" = set; then :
4166 enableval=$enable_dependency_tracking;
4169 if test "x$enable_dependency_tracking" != xno; then
4170 am_depcomp="$ac_aux_dir/depcomp"
4173 if test "x$enable_dependency_tracking" != xno
; then
4183 depcc
="$CC" am_compiler_list
=
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4186 $as_echo_n "checking dependency style of $depcc... " >&6; }
4187 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4191 # We make a subdir and do the tests there. Otherwise we can end up
4192 # making bogus files that we don't know about and never remove. For
4193 # instance it was reported that on HP-UX the gcc test will end up
4194 # making a dummy file named `D' -- because `-MD' means `put the output
4197 # Copy depcomp to subdir because otherwise we won't find it if we're
4198 # using a relative directory.
4199 cp "$am_depcomp" conftest.dir
4201 # We will build objects and dependencies in a subdirectory because
4202 # it helps to detect inapplicable dependency modes. For instance
4203 # both Tru64's cc and ICC support -MD to output dependencies as a
4204 # side effect of compilation, but ICC will put the dependencies in
4205 # the current directory while Tru64 will put them in the object
4209 am_cv_CC_dependencies_compiler_type
=none
4210 if test "$am_compiler_list" = ""; then
4211 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4214 case " $depcc " in #(
4215 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4218 for depmode
in $am_compiler_list; do
4219 # Setup a source with many dependencies, because some compilers
4220 # like to wrap large dependency lists on column 80 (with \), and
4221 # we should not choose a depcomp mode which is confused by this.
4223 # We need to recreate these files for each test, as the compiler may
4224 # overwrite some of them when testing with obscure command lines.
4225 # This happens at least with the AIX C compiler.
4227 for i
in 1 2 3 4 5 6; do
4228 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4229 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4230 # Solaris 8's {/usr,}/bin/sh.
4231 touch sub
/conftst
$i.h
4233 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4235 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4236 # mode. It turns out that the SunPro C++ compiler does not properly
4237 # handle `-M -o', and we need to detect this. Also, some Intel
4238 # versions had trouble with output in subdirs
4239 am__obj
=sub
/conftest.
${OBJEXT-o}
4240 am__minus_obj
="-o $am__obj"
4243 # This depmode causes a compiler race in universal mode.
4244 test "$am__universal" = false ||
continue
4247 # after this tag, mechanisms are not by side-effect, so they'll
4248 # only be used when explicitly requested
4249 if test "x$enable_dependency_tracking" = xyes
; then
4255 msvisualcpp | msvcmsys
)
4256 # This compiler won't grok `-c -o', but also, the minuso test has
4257 # not run yet. These depmodes are late enough in the game, and
4258 # so weak that their functioning should not be impacted.
4259 am__obj
=conftest.
${OBJEXT-o}
4264 if depmode
=$depmode \
4265 source=sub
/conftest.c object
=$am__obj \
4266 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4267 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4268 >/dev
/null
2>conftest.err
&&
4269 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4270 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4271 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4272 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4273 # icc doesn't choke on unknown options, it will just issue warnings
4274 # or remarks (even with -Werror). So we grep stderr for any message
4275 # that says an option was ignored or not supported.
4276 # When given -MP, icc 7.0 and 7.1 complain thusly:
4277 # icc: Command line warning: ignoring option '-M'; no argument required
4278 # The diagnosis changed in icc 8.0:
4279 # icc: Command line remark: option '-MP' not supported
4280 if (grep 'ignoring option' conftest.err ||
4281 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4282 am_cv_CC_dependencies_compiler_type
=$depmode
4291 am_cv_CC_dependencies_compiler_type
=none
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4296 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4297 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4300 test "x$enable_dependency_tracking" != xno \
4301 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4303 am__fastdepCC_FALSE
='#'
4305 am__fastdepCC_TRUE
='#'
4306 am__fastdepCC_FALSE
=
4311 ac_cpp
='$CXXCPP $CPPFLAGS'
4312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4315 if test -z "$CXX"; then
4316 if test -n "$CCC"; then
4319 if test -n "$ac_tool_prefix"; then
4320 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 $as_echo_n "checking for $ac_word... " >&6; }
4326 if test "${ac_cv_prog_CXX+set}" = set; then :
4327 $as_echo_n "(cached) " >&6
4329 if test -n "$CXX"; then
4330 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for ac_exec_ext
in '' $ac_executable_extensions; do
4338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4339 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 if test -n "$CXX"; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4352 $as_echo "$CXX" >&6; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4359 test -n "$CXX" && break
4362 if test -z "$CXX"; then
4364 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4366 # Extract the first word of "$ac_prog", so it can be a program name with args.
4367 set dummy
$ac_prog; ac_word
=$2
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4369 $as_echo_n "checking for $ac_word... " >&6; }
4370 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4371 $as_echo_n "(cached) " >&6
4373 if test -n "$ac_ct_CXX"; then
4374 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir
=.
4381 for ac_exec_ext
in '' $ac_executable_extensions; do
4382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4383 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4394 if test -n "$ac_ct_CXX"; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4396 $as_echo "$ac_ct_CXX" >&6; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4403 test -n "$ac_ct_CXX" && break
4406 if test "x$ac_ct_CXX" = x
; then
4409 case $cross_compiling:$ac_tool_warned in
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4413 ac_tool_warned
=yes ;;
4421 # Provide some information about the compiler.
4422 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4425 for ac_option
in --version -v -V -qversion; do
4426 { { ac_try
="$ac_compiler $ac_option >&5"
4428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4429 *) ac_try_echo=$ac_try;;
4431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4432 $as_echo "$ac_try_echo"; } >&5
4433 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4435 if test -s conftest.err; then
4437 ... rest of stderr output deleted ...
4438 10q' conftest.err >conftest.er1
4439 cat conftest.er1 >&5
4440 rm -f conftest.er1 conftest.err
4442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4443 test $ac_status = 0; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4447 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4448 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4465 if ac_fn_cxx_try_compile "$LINENO"; then :
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4471 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4475 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4476 if test $ac_compiler_gnu = yes; then
4481 ac_test_CXXFLAGS=${CXXFLAGS+set}
4482 ac_save_CXXFLAGS=$CXXFLAGS
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4484 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4485 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4486 $as_echo_n "(cached) " >&6
4488 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4489 ac_cxx_werror_flag=yes
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_cxx_try_compile "$LINENO"; then :
4504 ac_cv_prog_cxx_g=yes
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 if ac_fn_cxx_try_compile "$LINENO"; then :
4535 ac_cv_prog_cxx_g=yes
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4545 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4546 if test "$ac_test_CXXFLAGS" = set; then
4547 CXXFLAGS=$ac_save_CXXFLAGS
4548 elif test $ac_cv_prog_cxx_g = yes; then
4549 if test "$GXX" = yes; then
4555 if test "$GXX" = yes; then
4562 ac_cpp='$CPP $CPPFLAGS'
4563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4567 depcc="$CXX" am_compiler_list=
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4570 $as_echo_n "checking dependency style of $depcc... " >&6; }
4571 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4574 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4575 # We make a subdir and do the tests there. Otherwise we can end up
4576 # making bogus files that we don't know about and never remove. For
4577 # instance it was reported that on HP-UX the gcc test will end up
4578 # making a dummy file named `D
' -- because `-MD' means
`put the output
4581 # Copy depcomp to subdir because otherwise we won't find it if we're
4582 # using a relative directory.
4583 cp "$am_depcomp" conftest.dir
4585 # We will build objects and dependencies in a subdirectory because
4586 # it helps to detect inapplicable dependency modes. For instance
4587 # both Tru64's cc and ICC support -MD to output dependencies as a
4588 # side effect of compilation, but ICC will put the dependencies in
4589 # the current directory while Tru64 will put them in the object
4593 am_cv_CXX_dependencies_compiler_type=none
4594 if test "$am_compiler_list" = ""; then
4595 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4598 case " $depcc " in #(
4599 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4602 for depmode in $am_compiler_list; do
4603 # Setup a source with many dependencies, because some compilers
4604 # like to wrap large dependency lists on column 80 (with \), and
4605 # we should not choose a depcomp mode which is confused by this.
4607 # We need to recreate these files for each test, as the compiler may
4608 # overwrite some of them when testing with obscure command lines.
4609 # This happens at least with the AIX C compiler.
4611 for i in 1 2 3 4 5 6; do
4612 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4613 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4614 # Solaris 8's
{/usr
,}/bin
/sh.
4615 touch sub
/conftst
$i.h
4617 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4619 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4620 # mode. It turns out that the SunPro C++ compiler does not properly
4621 # handle `-M -o', and we need to detect this. Also, some Intel
4622 # versions had trouble with output in subdirs
4623 am__obj
=sub
/conftest.
${OBJEXT-o}
4624 am__minus_obj
="-o $am__obj"
4627 # This depmode causes a compiler race in universal mode.
4628 test "$am__universal" = false ||
continue
4631 # after this tag, mechanisms are not by side-effect, so they'll
4632 # only be used when explicitly requested
4633 if test "x$enable_dependency_tracking" = xyes
; then
4639 msvisualcpp | msvcmsys
)
4640 # This compiler won't grok `-c -o', but also, the minuso test has
4641 # not run yet. These depmodes are late enough in the game, and
4642 # so weak that their functioning should not be impacted.
4643 am__obj
=conftest.
${OBJEXT-o}
4648 if depmode
=$depmode \
4649 source=sub
/conftest.c object
=$am__obj \
4650 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4651 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4652 >/dev
/null
2>conftest.err
&&
4653 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4654 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4655 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4656 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4657 # icc doesn't choke on unknown options, it will just issue warnings
4658 # or remarks (even with -Werror). So we grep stderr for any message
4659 # that says an option was ignored or not supported.
4660 # When given -MP, icc 7.0 and 7.1 complain thusly:
4661 # icc: Command line warning: ignoring option '-M'; no argument required
4662 # The diagnosis changed in icc 8.0:
4663 # icc: Command line remark: option '-MP' not supported
4664 if (grep 'ignoring option' conftest.err ||
4665 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4666 am_cv_CXX_dependencies_compiler_type
=$depmode
4675 am_cv_CXX_dependencies_compiler_type
=none
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4680 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4681 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4684 test "x$enable_dependency_tracking" != xno \
4685 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4686 am__fastdepCXX_TRUE
=
4687 am__fastdepCXX_FALSE
='#'
4689 am__fastdepCXX_TRUE
='#'
4690 am__fastdepCXX_FALSE
=
4694 # By default we simply use the C compiler to build assembly code.
4696 test "${CCAS+set}" = set || CCAS
=$CC
4697 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4701 depcc
="$CCAS" am_compiler_list
=
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4704 $as_echo_n "checking dependency style of $depcc... " >&6; }
4705 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4709 # We make a subdir and do the tests there. Otherwise we can end up
4710 # making bogus files that we don't know about and never remove. For
4711 # instance it was reported that on HP-UX the gcc test will end up
4712 # making a dummy file named `D' -- because `-MD' means `put the output
4715 # Copy depcomp to subdir because otherwise we won't find it if we're
4716 # using a relative directory.
4717 cp "$am_depcomp" conftest.dir
4719 # We will build objects and dependencies in a subdirectory because
4720 # it helps to detect inapplicable dependency modes. For instance
4721 # both Tru64's cc and ICC support -MD to output dependencies as a
4722 # side effect of compilation, but ICC will put the dependencies in
4723 # the current directory while Tru64 will put them in the object
4727 am_cv_CCAS_dependencies_compiler_type
=none
4728 if test "$am_compiler_list" = ""; then
4729 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4734 for depmode
in $am_compiler_list; do
4735 # Setup a source with many dependencies, because some compilers
4736 # like to wrap large dependency lists on column 80 (with \), and
4737 # we should not choose a depcomp mode which is confused by this.
4739 # We need to recreate these files for each test, as the compiler may
4740 # overwrite some of them when testing with obscure command lines.
4741 # This happens at least with the AIX C compiler.
4743 for i
in 1 2 3 4 5 6; do
4744 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4745 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4746 # Solaris 8's {/usr,}/bin/sh.
4747 touch sub
/conftst
$i.h
4749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4751 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4752 # mode. It turns out that the SunPro C++ compiler does not properly
4753 # handle `-M -o', and we need to detect this. Also, some Intel
4754 # versions had trouble with output in subdirs
4755 am__obj
=sub
/conftest.
${OBJEXT-o}
4756 am__minus_obj
="-o $am__obj"
4759 # This depmode causes a compiler race in universal mode.
4760 test "$am__universal" = false ||
continue
4763 # after this tag, mechanisms are not by side-effect, so they'll
4764 # only be used when explicitly requested
4765 if test "x$enable_dependency_tracking" = xyes
; then
4771 msvisualcpp | msvcmsys
)
4772 # This compiler won't grok `-c -o', but also, the minuso test has
4773 # not run yet. These depmodes are late enough in the game, and
4774 # so weak that their functioning should not be impacted.
4775 am__obj
=conftest.
${OBJEXT-o}
4780 if depmode
=$depmode \
4781 source=sub
/conftest.c object
=$am__obj \
4782 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4783 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4784 >/dev
/null
2>conftest.err
&&
4785 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4786 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4787 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4788 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4789 # icc doesn't choke on unknown options, it will just issue warnings
4790 # or remarks (even with -Werror). So we grep stderr for any message
4791 # that says an option was ignored or not supported.
4792 # When given -MP, icc 7.0 and 7.1 complain thusly:
4793 # icc: Command line warning: ignoring option '-M'; no argument required
4794 # The diagnosis changed in icc 8.0:
4795 # icc: Command line remark: option '-MP' not supported
4796 if (grep 'ignoring option' conftest.err ||
4797 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4798 am_cv_CCAS_dependencies_compiler_type
=$depmode
4807 am_cv_CCAS_dependencies_compiler_type
=none
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4812 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4813 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4816 test "x$enable_dependency_tracking" != xno \
4817 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4818 am__fastdepCCAS_TRUE
=
4819 am__fastdepCCAS_FALSE
='#'
4821 am__fastdepCCAS_TRUE
='#'
4822 am__fastdepCCAS_FALSE
=
4830 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4831 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4832 # in both places for now and restore CFLAGS at the end of config.
4833 save_CFLAGS
="$CFLAGS"
4835 # Find other programs we need.
4836 if test -n "$ac_tool_prefix"; then
4837 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4838 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840 $as_echo_n "checking for $ac_word... " >&6; }
4841 if test "${ac_cv_prog_AR+set}" = set; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -n "$AR"; then
4845 ac_cv_prog_AR
="$AR" # Let the user override the test.
4847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4851 test -z "$as_dir" && as_dir
=.
4852 for ac_exec_ext
in '' $ac_executable_extensions; do
4853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4854 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 if test -n "$AR"; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4867 $as_echo "$AR" >&6; }
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 $as_echo "no" >&6; }
4875 if test -z "$ac_cv_prog_AR"; then
4877 # Extract the first word of "ar", so it can be a program name with args.
4878 set dummy
ar; ac_word
=$2
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 $as_echo_n "checking for $ac_word... " >&6; }
4881 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4882 $as_echo_n "(cached) " >&6
4884 if test -n "$ac_ct_AR"; then
4885 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4891 test -z "$as_dir" && as_dir
=.
4892 for ac_exec_ext
in '' $ac_executable_extensions; do
4893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4894 ac_cv_prog_ac_ct_AR
="ar"
4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4905 if test -n "$ac_ct_AR"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4907 $as_echo "$ac_ct_AR" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4913 if test "x$ac_ct_AR" = x
; then
4916 case $cross_compiling:$ac_tool_warned in
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4920 ac_tool_warned
=yes ;;
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4930 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_NM+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4936 if test -n "$NM"; then
4937 ac_cv_prog_NM
="$NM" # Let the user override the test.
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir
=.
4944 for ac_exec_ext
in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_NM
="${ac_tool_prefix}nm"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 if test -n "$NM"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
4959 $as_echo "$NM" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4967 if test -z "$ac_cv_prog_NM"; then
4969 # Extract the first word of "nm", so it can be a program name with args.
4970 set dummy nm
; ac_word
=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$ac_ct_NM"; then
4977 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_exec_ext
in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_NM
="nm"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
4997 if test -n "$ac_ct_NM"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
4999 $as_echo "$ac_ct_NM" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5005 if test "x$ac_ct_NM" = x
; then
5008 case $cross_compiling:$ac_tool_warned in
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012 ac_tool_warned
=yes ;;
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5022 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5028 if test -n "$RANLIB"; then
5029 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir
=.
5036 for ac_exec_ext
in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 RANLIB
=$ac_cv_prog_RANLIB
5049 if test -n "$RANLIB"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5051 $as_echo "$RANLIB" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5059 if test -z "$ac_cv_prog_RANLIB"; then
5060 ac_ct_RANLIB
=$RANLIB
5061 # Extract the first word of "ranlib", so it can be a program name with args.
5062 set dummy ranlib
; ac_word
=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$ac_ct_RANLIB"; then
5069 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5089 if test -n "$ac_ct_RANLIB"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5091 $as_echo "$ac_ct_RANLIB" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5097 if test "x$ac_ct_RANLIB" = x
; then
5098 RANLIB
="ranlib-not-found-in-path-error"
5100 case $cross_compiling:$ac_tool_warned in
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned
=yes ;;
5106 RANLIB
=$ac_ct_RANLIB
5109 RANLIB
="$ac_cv_prog_RANLIB"
5112 # Extract the first word of "perl", so it can be a program name with args.
5113 set dummy perl
; ac_word
=$2
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5116 if test "${ac_cv_path_PERL+set}" = set; then :
5117 $as_echo_n "(cached) " >&6
5121 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
5143 PERL
=$ac_cv_path_PERL
5144 if test -n "$PERL"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5146 $as_echo "$PERL" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5154 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5156 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5157 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5158 $as_echo_n "(cached) " >&6
5160 cat >conftest.
make <<\_ACEOF
5163 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5165 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5166 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5168 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5170 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5174 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5176 $as_echo "yes" >&6; }
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5181 SET_MAKE
="MAKE=${MAKE-make}"
5186 # See if makeinfo has been installed and is modern enough
5187 # that we can use it.
5189 # Extract the first word of "makeinfo", so it can be a program name with args.
5190 set dummy makeinfo
; ac_word
=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$MAKEINFO"; then
5197 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 ac_cv_prog_MAKEINFO
="makeinfo"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 MAKEINFO
=$ac_cv_prog_MAKEINFO
5217 if test -n "$MAKEINFO"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5219 $as_echo "$MAKEINFO" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 if test -n "$MAKEINFO"; then
5227 # Found it, now check the version.
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
5229 $as_echo_n "checking for modern makeinfo... " >&6; }
5230 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
5231 $as_echo_n "(cached) " >&6
5233 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
5234 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5236 case $ac_prog_version in
5237 '') gcc_cv_prog_makeinfo_modern
=no
;;
5238 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
5239 *) gcc_cv_prog_makeinfo_modern
=no
;;
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
5244 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
5246 gcc_cv_prog_makeinfo_modern
=no
5248 if test $gcc_cv_prog_makeinfo_modern = no
; then
5249 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
5252 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
5254 BUILD_INFO_FALSE
='#'
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5266 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5271 macro_version
='2.2.7a'
5272 macro_revision
='1.3134'
5286 ltmain
="$ac_aux_dir/ltmain.sh"
5288 # Backslashify metacharacters that are still active within
5289 # double-quoted strings.
5290 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5292 # Same as above, but do not quote variable references.
5293 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5295 # Sed substitution to delay expansion of an escaped shell variable in a
5296 # double_quote_subst'ed string.
5297 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5299 # Sed substitution to delay expansion of an escaped single quote.
5300 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5302 # Sed substitution to avoid accidental globbing in evaled expressions
5303 no_glob_subst
='s/\*/\\\*/g'
5305 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5306 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5307 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5310 $as_echo_n "checking how to print strings... " >&6; }
5311 # Test print first, because it will be a builtin if present.
5312 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5313 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5315 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5318 # Use this function as a fallback that always works.
5319 func_fallback_echo ()
5321 eval 'cat <<_LTECHO_EOF
5325 ECHO='func_fallback_echo
'
5328 # func_echo_all arg...
5329 # Invoke $ECHO with all args, space-separated.
5336 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5337 $as_echo "printf" >&6; } ;;
5338 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5339 $as_echo "print -r" >&6; } ;;
5340 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5341 $as_echo "cat" >&6; } ;;
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5358 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5359 if test "${ac_cv_path_SED+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5363 for ac_i in 1 2 3 4 5 6 7; do
5364 ac_script="$ac_script$as_nl$ac_script"
5366 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5367 { ac_script=; unset ac_script;}
5368 if test -z "$SED"; then
5369 ac_path_SED_found=false
5370 # Loop through the user's path and
test for each of PROGNAME-LIST
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_prog
in sed gsed
; do
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5379 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5380 # Check for GNU ac_path_SED and select it if it is found.
5381 # Check for GNU $ac_path_SED
5382 case `"$ac_path_SED" --version 2>&1` in
5384 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5387 $as_echo_n 0123456789 >"conftest.in"
5390 cat "conftest.in" "conftest.in" >"conftest.tmp"
5391 mv "conftest.tmp" "conftest.in"
5392 cp "conftest.in" "conftest.nl"
5393 $as_echo '' >> "conftest.nl"
5394 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5395 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5396 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5397 if test $ac_count -gt ${ac_path_SED_max-0}; then
5398 # Best one so far, save it but keep looking for a better one
5399 ac_cv_path_SED
="$ac_path_SED"
5400 ac_path_SED_max
=$ac_count
5402 # 10*(2^10) chars as input seems more than enough
5403 test $ac_count -gt 10 && break
5405 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5408 $ac_path_SED_found && break 3
5413 if test -z "$ac_cv_path_SED"; then
5414 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5422 $as_echo "$ac_cv_path_SED" >&6; }
5423 SED
="$ac_cv_path_SED"
5426 test -z "$SED" && SED
=sed
5427 Xsed
="$SED -e 1s/^X//"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5440 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5441 if test "${ac_cv_path_GREP+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 if test -z "$GREP"; then
5445 ac_path_GREP_found
=false
5446 # Loop through the user's path and test for each of PROGNAME-LIST
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_prog
in grep ggrep
; do
5453 for ac_exec_ext
in '' $ac_executable_extensions; do
5454 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5455 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5456 # Check for GNU ac_path_GREP and select it if it is found.
5457 # Check for GNU $ac_path_GREP
5458 case `"$ac_path_GREP" --version 2>&1` in
5460 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5463 $as_echo_n 0123456789 >"conftest.in"
5466 cat "conftest.in" "conftest.in" >"conftest.tmp"
5467 mv "conftest.tmp" "conftest.in"
5468 cp "conftest.in" "conftest.nl"
5469 $as_echo 'GREP' >> "conftest.nl"
5470 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5471 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5472 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5473 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5474 # Best one so far, save it but keep looking for a better one
5475 ac_cv_path_GREP
="$ac_path_GREP"
5476 ac_path_GREP_max
=$ac_count
5478 # 10*(2^10) chars as input seems more than enough
5479 test $ac_count -gt 10 && break
5481 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5484 $ac_path_GREP_found && break 3
5489 if test -z "$ac_cv_path_GREP"; then
5490 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5493 ac_cv_path_GREP
=$GREP
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5498 $as_echo "$ac_cv_path_GREP" >&6; }
5499 GREP
="$ac_cv_path_GREP"
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5503 $as_echo_n "checking for egrep... " >&6; }
5504 if test "${ac_cv_path_EGREP+set}" = set; then :
5505 $as_echo_n "(cached) " >&6
5507 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5508 then ac_cv_path_EGREP
="$GREP -E"
5510 if test -z "$EGREP"; then
5511 ac_path_EGREP_found
=false
5512 # Loop through the user's path and test for each of PROGNAME-LIST
5513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5517 test -z "$as_dir" && as_dir
=.
5518 for ac_prog
in egrep; do
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5521 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5522 # Check for GNU ac_path_EGREP and select it if it is found.
5523 # Check for GNU $ac_path_EGREP
5524 case `"$ac_path_EGREP" --version 2>&1` in
5526 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5529 $as_echo_n 0123456789 >"conftest.in"
5532 cat "conftest.in" "conftest.in" >"conftest.tmp"
5533 mv "conftest.tmp" "conftest.in"
5534 cp "conftest.in" "conftest.nl"
5535 $as_echo 'EGREP' >> "conftest.nl"
5536 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5537 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5538 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5539 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5540 # Best one so far, save it but keep looking for a better one
5541 ac_cv_path_EGREP
="$ac_path_EGREP"
5542 ac_path_EGREP_max
=$ac_count
5544 # 10*(2^10) chars as input seems more than enough
5545 test $ac_count -gt 10 && break
5547 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5550 $ac_path_EGREP_found && break 3
5555 if test -z "$ac_cv_path_EGREP"; then
5556 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5559 ac_cv_path_EGREP
=$EGREP
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5565 $as_echo "$ac_cv_path_EGREP" >&6; }
5566 EGREP
="$ac_cv_path_EGREP"
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5570 $as_echo_n "checking for fgrep... " >&6; }
5571 if test "${ac_cv_path_FGREP+set}" = set; then :
5572 $as_echo_n "(cached) " >&6
5574 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5575 then ac_cv_path_FGREP
="$GREP -F"
5577 if test -z "$FGREP"; then
5578 ac_path_FGREP_found
=false
5579 # Loop through the user's path and test for each of PROGNAME-LIST
5580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5581 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5584 test -z "$as_dir" && as_dir
=.
5585 for ac_prog
in fgrep
; do
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5588 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5589 # Check for GNU ac_path_FGREP and select it if it is found.
5590 # Check for GNU $ac_path_FGREP
5591 case `"$ac_path_FGREP" --version 2>&1` in
5593 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5596 $as_echo_n 0123456789 >"conftest.in"
5599 cat "conftest.in" "conftest.in" >"conftest.tmp"
5600 mv "conftest.tmp" "conftest.in"
5601 cp "conftest.in" "conftest.nl"
5602 $as_echo 'FGREP' >> "conftest.nl"
5603 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5604 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5605 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5606 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5607 # Best one so far, save it but keep looking for a better one
5608 ac_cv_path_FGREP
="$ac_path_FGREP"
5609 ac_path_FGREP_max
=$ac_count
5611 # 10*(2^10) chars as input seems more than enough
5612 test $ac_count -gt 10 && break
5614 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5617 $ac_path_FGREP_found && break 3
5622 if test -z "$ac_cv_path_FGREP"; then
5623 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5626 ac_cv_path_FGREP
=$FGREP
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5632 $as_echo "$ac_cv_path_FGREP" >&6; }
5633 FGREP
="$ac_cv_path_FGREP"
5636 test -z "$GREP" && GREP
=grep
5656 # Check whether --with-gnu-ld was given.
5657 if test "${with_gnu_ld+set}" = set; then :
5658 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5664 if test "$GCC" = yes; then
5665 # Check if gcc -print-prog-name=ld gives a path.
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5667 $as_echo_n "checking for ld used by $CC... " >&6; }
5670 # gcc leaves a trailing carriage return which upsets mingw
5671 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5673 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5676 # Accept absolute paths.
5678 re_direlt
='/[^/][^/]*/\.\./'
5679 # Canonicalize the pathname of ld
5680 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5681 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5682 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5684 test -z "$LD" && LD
="$ac_prog"
5687 # If it fails, then pretend we aren't using GCC.
5691 # If it is relative, then search for the first ld in PATH.
5695 elif test "$with_gnu_ld" = yes; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5697 $as_echo_n "checking for GNU ld... " >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5700 $as_echo_n "checking for non-GNU ld... " >&6; }
5702 if test "${lt_cv_path_LD+set}" = set; then :
5703 $as_echo_n "(cached) " >&6
5705 if test -z "$LD"; then
5706 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5707 for ac_dir
in $PATH; do
5709 test -z "$ac_dir" && ac_dir
=.
5710 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5711 lt_cv_path_LD
="$ac_dir/$ac_prog"
5712 # Check to see if the program is GNU ld. I'd rather use --version,
5713 # but apparently some variants of GNU ld only accept -v.
5714 # Break only if it was the GNU/non-GNU ld that we prefer.
5715 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5716 *GNU
* |
*'with BFD'*)
5717 test "$with_gnu_ld" != no
&& break
5720 test "$with_gnu_ld" != yes && break
5727 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5732 if test -n "$LD"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5734 $as_echo "$LD" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5739 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5742 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5743 $as_echo_n "(cached) " >&6
5745 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5746 case `$LD -v 2>&1 </dev/null` in
5747 *GNU
* |
*'with BFD'*)
5748 lt_cv_prog_gnu_ld
=yes
5751 lt_cv_prog_gnu_ld
=no
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5756 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5757 with_gnu_ld
=$lt_cv_prog_gnu_ld
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5768 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5769 if test "${lt_cv_path_NM+set}" = set; then :
5770 $as_echo_n "(cached) " >&6
5772 if test -n "$NM"; then
5773 # Let the user override the test.
5776 lt_nm_to_check
="${ac_tool_prefix}nm"
5777 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5778 lt_nm_to_check
="$lt_nm_to_check nm"
5780 for lt_tmp_nm
in $lt_nm_to_check; do
5781 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5782 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5784 test -z "$ac_dir" && ac_dir
=.
5785 tmp_nm
="$ac_dir/$lt_tmp_nm"
5786 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5787 # Check to see if the nm accepts a BSD-compat flag.
5788 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5789 # nm: unknown option "B" ignored
5790 # Tru64's nm complains that /dev/null is an invalid object file
5791 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5792 */dev
/null
* |
*'Invalid file or object type'*)
5793 lt_cv_path_NM
="$tmp_nm -B"
5797 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5799 lt_cv_path_NM
="$tmp_nm -p"
5803 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5804 continue # so that we can try to find one that supports BSD flags
5813 : ${lt_cv_path_NM=no}
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5817 $as_echo "$lt_cv_path_NM" >&6; }
5818 if test "$lt_cv_path_NM" != "no"; then
5821 # Didn't find any BSD compatible name lister, look for dumpbin.
5822 if test -n "$DUMPBIN"; then :
5823 # Let the user override the test.
5825 if test -n "$ac_tool_prefix"; then
5826 for ac_prog
in dumpbin
"link -dump"
5828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5829 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5835 if test -n "$DUMPBIN"; then
5836 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir
=.
5843 for ac_exec_ext
in '' $ac_executable_extensions; do
5844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5845 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 DUMPBIN
=$ac_cv_prog_DUMPBIN
5856 if test -n "$DUMPBIN"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5858 $as_echo "$DUMPBIN" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5865 test -n "$DUMPBIN" && break
5868 if test -z "$DUMPBIN"; then
5869 ac_ct_DUMPBIN
=$DUMPBIN
5870 for ac_prog
in dumpbin
"link -dump"
5872 # Extract the first word of "$ac_prog", so it can be a program name with args.
5873 set dummy
$ac_prog; ac_word
=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir
=.
5887 for ac_exec_ext
in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5900 if test -n "$ac_ct_DUMPBIN"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5902 $as_echo "$ac_ct_DUMPBIN" >&6; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5909 test -n "$ac_ct_DUMPBIN" && break
5912 if test "x$ac_ct_DUMPBIN" = x
; then
5915 case $cross_compiling:$ac_tool_warned in
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5919 ac_tool_warned
=yes ;;
5921 DUMPBIN
=$ac_ct_DUMPBIN
5925 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5927 DUMPBIN
="$DUMPBIN -symbols"
5935 if test "$DUMPBIN" != ":"; then
5939 test -z "$NM" && NM
=nm
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5947 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5948 if test "${lt_cv_nm_interface+set}" = set; then :
5949 $as_echo_n "(cached) " >&6
5951 lt_cv_nm_interface
="BSD nm"
5952 echo "int some_variable = 0;" > conftest.
$ac_ext
5953 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5954 (eval "$ac_compile" 2>conftest.err
)
5955 cat conftest.err
>&5
5956 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5957 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5958 cat conftest.err
>&5
5959 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5960 cat conftest.out
>&5
5961 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5962 lt_cv_nm_interface
="MS dumpbin"
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5967 $as_echo "$lt_cv_nm_interface" >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5970 $as_echo_n "checking whether ln -s works... " >&6; }
5972 if test "$LN_S" = "ln -s"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5974 $as_echo "yes" >&6; }
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5977 $as_echo "no, using $LN_S" >&6; }
5980 # find the maximum length of command line arguments
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5982 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5983 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5984 $as_echo_n "(cached) " >&6
5991 # On DJGPP, this test can blow up pretty badly due to problems in libc
5992 # (any single argument exceeding 2000 bytes causes a buffer overrun
5993 # during glob expansion). Even if it were fixed, the result of this
5994 # check would be larger than it should be.
5995 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5999 # Under GNU Hurd, this test is not required because there is
6000 # no limit to the length of command line arguments.
6001 # Libtool will interpret -1 as no limit whatsoever
6002 lt_cv_sys_max_cmd_len
=-1;
6005 cygwin
* | mingw
* | cegcc
*)
6006 # On Win9x/ME, this test blows up -- it succeeds, but takes
6007 # about 5 minutes as the teststring grows exponentially.
6008 # Worse, since 9x/ME are not pre-emptively multitasking,
6009 # you end up with a "frozen" computer, even though with patience
6010 # the test eventually succeeds (with a max line length of 256k).
6011 # Instead, let's just punt: use the minimum linelength reported by
6012 # all of the supported platforms: 8192 (on NT/2K/XP).
6013 lt_cv_sys_max_cmd_len
=8192;
6017 # On MiNT this can take a long time and run out of memory.
6018 lt_cv_sys_max_cmd_len
=8192;
6022 # On AmigaOS with pdksh, this test takes hours, literally.
6023 # So we just punt and use a minimum line length of 8192.
6024 lt_cv_sys_max_cmd_len
=8192;
6027 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6028 # This has been around since 386BSD, at least. Likely further.
6029 if test -x /sbin
/sysctl
; then
6030 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6031 elif test -x /usr
/sbin
/sysctl
; then
6032 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6034 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6036 # And add a safety zone
6037 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6038 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6042 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6043 lt_cv_sys_max_cmd_len
=196608
6047 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6048 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6049 # nice to cause kernel panics so lets avoid the loop below.
6050 # First set a reasonable default.
6051 lt_cv_sys_max_cmd_len
=16384
6053 if test -x /sbin
/sysconfig
; then
6054 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6055 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6060 lt_cv_sys_max_cmd_len
=102400
6062 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6063 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6064 if test -n "$kargmax"; then
6065 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6067 lt_cv_sys_max_cmd_len
=32768
6071 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6072 if test -n "$lt_cv_sys_max_cmd_len"; then
6073 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6074 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6076 # Make teststring a little bigger before we do anything with it.
6077 # a 1K string should be a reasonable start.
6078 for i
in 1 2 3 4 5 6 7 8 ; do
6079 teststring
=$teststring$teststring
6081 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6082 # If test is not a shell built-in, we'll probably end up computing a
6083 # maximum length that is only half of the actual maximum length, but
6085 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6086 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6087 test $i != 17 # 1/2 MB should be enough
6090 teststring
=$teststring$teststring
6092 # Only check the string length outside the loop.
6093 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6095 # Add a significant safety factor because C++ compilers can tack on
6096 # massive amounts of additional arguments before passing them to the
6097 # linker. It appears as though 1/2 is a usable value.
6098 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6105 if test -n $lt_cv_sys_max_cmd_len ; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6107 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6110 $as_echo "none" >&6; }
6112 max_cmd_len
=$lt_cv_sys_max_cmd_len
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6124 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6125 # Try some XSI features
6128 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6130 && eval 'test $(( 1 + 1 )) -eq 2 \
6131 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6134 $as_echo "$xsi_shell" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6138 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6140 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6142 && lt_shell_append=yes
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6144 $as_echo "$lt_shell_append" >&6; }
6147 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6157 # test EBCDIC or ASCII
6158 case `echo X|tr X '\101'` in
6159 A) # ASCII based system
6160 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6161 lt_SP2NL='tr \040 \012'
6162 lt_NL2SP='tr \015\012 \040\040'
6164 *) # EBCDIC based system
6165 lt_SP2NL='tr \100 \n'
6166 lt_NL2SP='tr \r\n \100\100'
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6179 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6180 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6181 $as_echo_n "(cached
) " >&6
6183 lt_cv_ld_reload_flag='-r'
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6186 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6187 reload_flag=$lt_cv_ld_reload_flag
6188 case $reload_flag in
6190 *) reload_flag=" $reload_flag" ;;
6192 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6195 if test "$GCC" = yes; then
6196 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6198 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6211 if test -n "$ac_tool_prefix"; then
6212 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6213 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6215 $as_echo_n "checking
for $ac_word...
" >&6; }
6216 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6217 $as_echo_n "(cached
) " >&6
6219 if test -n "$OBJDUMP"; then
6220 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 test -z "$as_dir" && as_dir=.
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6229 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6239 OBJDUMP=$ac_cv_prog_OBJDUMP
6240 if test -n "$OBJDUMP"; then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6242 $as_echo "$OBJDUMP" >&6; }
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6245 $as_echo "no
" >&6; }
6250 if test -z "$ac_cv_prog_OBJDUMP"; then
6251 ac_ct_OBJDUMP=$OBJDUMP
6252 # Extract the first word of "objdump
", so it can be a program name with args.
6253 set dummy objdump; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6255 $as_echo_n "checking
for $ac_word...
" >&6; }
6256 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6257 $as_echo_n "(cached
) " >&6
6259 if test -n "$ac_ct_OBJDUMP"; then
6260 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6269 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6279 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6280 if test -n "$ac_ct_OBJDUMP"; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6282 $as_echo "$ac_ct_OBJDUMP" >&6; }
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6285 $as_echo "no
" >&6; }
6288 if test "x
$ac_ct_OBJDUMP" = x; then
6291 case $cross_compiling:$ac_tool_warned in
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6294 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6295 ac_tool_warned=yes ;;
6297 OBJDUMP=$ac_ct_OBJDUMP
6300 OBJDUMP="$ac_cv_prog_OBJDUMP"
6303 test -z "$OBJDUMP" && OBJDUMP=objdump
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6314 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6315 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6316 $as_echo_n "(cached
) " >&6
6318 lt_cv_file_magic_cmd='$MAGIC_CMD'
6319 lt_cv_file_magic_test_file=
6320 lt_cv_deplibs_check_method='unknown'
6321 # Need to set the preceding variable on all platforms that support
6322 # interlibrary dependencies.
6323 # 'none' -- dependencies not supported.
6324 # `unknown' -- same as none, but documents that we really don't know.
6325 # 'pass_all' -- all dependencies passed with no checks.
6326 # 'test_compile' -- check by making test program.
6327 # 'file_magic [[regex]]' -- check by looking for files in library path
6328 # which responds to the $file_magic_cmd with a given extended regex.
6329 # If you have `file' or equivalent on your system and you're not sure
6330 # whether `pass_all' will *always* work, you probably want this one.
6334 lt_cv_deplibs_check_method=pass_all
6338 lt_cv_deplibs_check_method=pass_all
6342 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6343 lt_cv_file_magic_cmd='/usr/bin/file -L'
6344 lt_cv_file_magic_test_file=/shlib/libc.so
6348 # func_win32_libid is a shell function defined in ltmain.sh
6349 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6350 lt_cv_file_magic_cmd='func_win32_libid'
6354 # Base MSYS/MinGW do not provide the 'file' command needed by
6355 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6356 # unless we find 'file', for example because we are cross-compiling.
6357 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6358 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6359 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6360 lt_cv_file_magic_cmd='func_win32_libid'
6362 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6363 lt_cv_file_magic_cmd='$OBJDUMP -f'
6368 # use the weaker test based on 'objdump'. See mingw*.
6369 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6370 lt_cv_file_magic_cmd='$OBJDUMP -f'
6373 darwin* | rhapsody*)
6374 lt_cv_deplibs_check_method=pass_all
6377 freebsd* | dragonfly*)
6378 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6381 # Not sure whether the presence of OpenBSD here was a mistake.
6382 # Let's accept both of them until this is cleared up.
6383 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6384 lt_cv_file_magic_cmd=/usr/bin/file
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6389 lt_cv_deplibs_check_method=pass_all
6394 lt_cv_deplibs_check_method=pass_all
6398 lt_cv_deplibs_check_method=pass_all
6401 hpux10.20* | hpux11*)
6402 lt_cv_file_magic_cmd=/usr/bin/file
6405 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6406 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6409 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]'
6410 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6413 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6414 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6420 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6424 irix5* | irix6* | nonstopux*)
6426 *-32|*"-32 ") libmagic=32-bit;;
6427 *-n32|*"-n32 ") libmagic=N32;;
6428 *-64|*"-64 ") libmagic=64-bit;;
6429 *) libmagic=never-match;;
6431 lt_cv_deplibs_check_method=pass_all
6434 # This must be Linux ELF.
6435 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6436 lt_cv_deplibs_check_method=pass_all
6440 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6448 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6449 lt_cv_file_magic_cmd=/usr/bin/file
6450 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6454 lt_cv_deplibs_check_method=pass_all
6458 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6459 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6465 osf3* | osf4* | osf5*)
6466 lt_cv_deplibs_check_method=pass_all
6470 lt_cv_deplibs_check_method=pass_all
6474 lt_cv_deplibs_check_method=pass_all
6477 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6478 lt_cv_deplibs_check_method=pass_all
6482 case $host_vendor in
6484 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]'
6485 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6488 lt_cv_deplibs_check_method=pass_all
6491 lt_cv_file_magic_cmd='/bin/file'
6492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6495 lt_cv_file_magic_cmd='/bin/file'
6496 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6497 lt_cv_file_magic_test_file=/lib/libc.so
6500 lt_cv_deplibs_check_method=pass_all
6503 lt_cv_deplibs_check_method=pass_all
6509 lt_cv_deplibs_check_method=pass_all
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6515 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6516 file_magic_cmd=$lt_cv_file_magic_cmd
6517 deplibs_check_method=$lt_cv_deplibs_check_method
6518 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6531 if test -n "$ac_tool_prefix"; then
6532 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6533 set dummy ${ac_tool_prefix}ar; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6535 $as_echo_n "checking
for $ac_word...
" >&6; }
6536 if test "${ac_cv_prog_AR+set}" = set; then :
6537 $as_echo_n "(cached
) " >&6
6539 if test -n "$AR"; then
6540 ac_cv_prog_AR="$AR" # Let the user override the test.
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6549 ac_cv_prog_AR="${ac_tool_prefix}ar"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6560 if test -n "$AR"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6562 $as_echo "$AR" >&6; }
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6565 $as_echo "no
" >&6; }
6570 if test -z "$ac_cv_prog_AR"; then
6572 # Extract the first word of "ar", so it can be a program name with args.
6573 set dummy ar; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6575 $as_echo_n "checking
for $ac_word...
" >&6; }
6576 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6577 $as_echo_n "(cached
) " >&6
6579 if test -n "$ac_ct_AR"; then
6580 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6589 ac_cv_prog_ac_ct_AR="ar"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6599 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6600 if test -n "$ac_ct_AR"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6602 $as_echo "$ac_ct_AR" >&6; }
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6605 $as_echo "no
" >&6; }
6608 if test "x
$ac_ct_AR" = x; then
6611 case $cross_compiling:$ac_tool_warned in
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6614 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6615 ac_tool_warned=yes ;;
6623 test -z "$AR" && AR=ar
6624 test -z "$AR_FLAGS" && AR_FLAGS=cru
6636 if test -n "$ac_tool_prefix"; then
6637 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}strip; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6640 $as_echo_n "checking
for $ac_word...
" >&6; }
6641 if test "${ac_cv_prog_STRIP+set}" = set; then :
6642 $as_echo_n "(cached
) " >&6
6644 if test -n "$STRIP"; then
6645 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6664 STRIP=$ac_cv_prog_STRIP
6665 if test -n "$STRIP"; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6667 $as_echo "$STRIP" >&6; }
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6670 $as_echo "no
" >&6; }
6675 if test -z "$ac_cv_prog_STRIP"; then
6677 # Extract the first word of "strip
", so it can be a program name with args.
6678 set dummy strip; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6680 $as_echo_n "checking
for $ac_word...
" >&6; }
6681 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6682 $as_echo_n "(cached
) " >&6
6684 if test -n "$ac_ct_STRIP"; then
6685 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_ac_ct_STRIP="strip
"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6704 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6705 if test -n "$ac_ct_STRIP"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6707 $as_echo "$ac_ct_STRIP" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6710 $as_echo "no
" >&6; }
6713 if test "x
$ac_ct_STRIP" = x; then
6716 case $cross_compiling:$ac_tool_warned in
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6719 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6720 ac_tool_warned=yes ;;
6725 STRIP="$ac_cv_prog_STRIP"
6728 test -z "$STRIP" && STRIP=:
6735 if test -n "$ac_tool_prefix"; then
6736 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6737 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6739 $as_echo_n "checking
for $ac_word...
" >&6; }
6740 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6741 $as_echo_n "(cached
) " >&6
6743 if test -n "$RANLIB"; then
6744 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6763 RANLIB=$ac_cv_prog_RANLIB
6764 if test -n "$RANLIB"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6766 $as_echo "$RANLIB" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6769 $as_echo "no
" >&6; }
6774 if test -z "$ac_cv_prog_RANLIB"; then
6775 ac_ct_RANLIB=$RANLIB
6776 # Extract the first word of "ranlib
", so it can be a program name with args.
6777 set dummy ranlib; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6779 $as_echo_n "checking
for $ac_word...
" >&6; }
6780 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6781 $as_echo_n "(cached
) " >&6
6783 if test -n "$ac_ct_RANLIB"; then
6784 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6803 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6804 if test -n "$ac_ct_RANLIB"; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6806 $as_echo "$ac_ct_RANLIB" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6809 $as_echo "no
" >&6; }
6812 if test "x
$ac_ct_RANLIB" = x; then
6815 case $cross_compiling:$ac_tool_warned in
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6818 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6819 ac_tool_warned=yes ;;
6821 RANLIB=$ac_ct_RANLIB
6824 RANLIB="$ac_cv_prog_RANLIB"
6827 test -z "$RANLIB" && RANLIB=:
6834 # Determine commands to create old-style static archives.
6835 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6836 old_postinstall_cmds='chmod 644 $oldlib'
6837 old_postuninstall_cmds=
6839 if test -n "$RANLIB"; then
6842 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6845 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6848 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6853 lock_old_archive_extraction=yes ;;
6855 lock_old_archive_extraction=no ;;
6896 # If no C compiler was specified, use CC.
6899 # If no C compiler flags were specified, use CFLAGS.
6900 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6902 # Allow CC to be a program name with arguments.
6906 # Check for command to grab the raw symbol name followed by C symbol from nm.
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6908 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6909 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6910 $as_echo_n "(cached
) " >&6
6913 # These are sane defaults that work on at least a few old systems.
6914 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6916 # Character class describing NM global symbol codes.
6917 symcode='[BCDEGRST]'
6919 # Regexp to match symbols that can be accessed directly from C.
6920 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6922 # Define system-specific variables.
6927 cygwin* | mingw* | pw32* | cegcc*)
6928 symcode='[ABCDGISTW]'
6931 if test "$host_cpu" = ia64; then
6932 symcode='[ABCDEGRST]'
6936 symcode='[BCDEGRST]'
6939 symcode='[BCDEGQRST]'
6950 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6958 # If we're using GNU nm, then use its standard symbol codes.
6959 case `$NM -V 2>&1` in
6960 *GNU* | *'with BFD'*)
6961 symcode='[ABCDGIRSTW]' ;;
6964 # Transform an extracted symbol line into a proper C declaration.
6965 # Some systems (esp. on ia64) link data and code symbols differently,
6966 # so use this general approach.
6967 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6969 # Transform an extracted symbol line into symbol name and symbol address
6970 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6971 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'"
6973 # Handle CRLF in mingw tool chain
6977 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6981 # Try without a prefix underscore, then with it.
6982 for ac_symprfx in "" "_
"; do
6984 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6985 symxfrm="\\1 $ac_symprfx\\2 \\2"
6987 # Write the raw and C identifiers.
6988 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6989 # Fake it for dumpbin and say T for any non-static function
6990 # and D for any global variable.
6991 # Also find C++ and __fastcall symbols from MSVC++,
6992 # which start with @ or ?.
6993 lt_cv_sys_global_symbol_pipe="$AWK '"\
6994 " {last_section=section; section=\$ 3};"\
6995 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6996 " \$ 0!~/External *\|/{next};"\
6997 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6998 " {if(hide[section]) next};"\
6999 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7000 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7001 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7002 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7003 " ' prfx
=^
$ac_symprfx"
7005 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7008 # Check to see that the pipe works correctly.
7012 cat > conftest.$ac_ext <<_LT_EOF
7017 void nm_test_func(void);
7018 void nm_test_func(void){}
7022 int main(){nm_test_var='a';nm_test_func();return(0);}
7025 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7026 (eval $ac_compile) 2>&5
7028 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7029 test $ac_status = 0; }; then
7030 # Now try to grab the symbols.
7032 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7033 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7035 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7036 test $ac_status = 0; } && test -s "$nlist"; then
7037 # Try sorting and uniquifying the output.
7038 if sort "$nlist" | uniq > "$nlist"T; then
7039 mv -f "$nlist"T "$nlist"
7044 # Make sure that we snagged all the symbols we need.
7045 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7046 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7047 cat <<_LT_EOF > conftest.$ac_ext
7053 # Now generate the symbol file.
7054 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7056 cat <<_LT_EOF >> conftest.$ac_ext
7058 /* The mapping between symbol names and symbols. */
7063 lt__PROGRAM__LTX_preloaded_symbols[] =
7065 { "@PROGRAM@
", (void *) 0 },
7067 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7068 cat <<\_LT_EOF >> conftest.$ac_ext
7072 /* This works around a problem in FreeBSD linker */
7073 #ifdef FREEBSD_WORKAROUND
7074 static const void *lt_preloaded_setup() {
7075 return lt__PROGRAM__LTX_preloaded_symbols;
7083 # Now try linking the two files.
7084 mv conftest.$ac_objext conftstm.$ac_objext
7085 lt_save_LIBS="$LIBS"
7086 lt_save_CFLAGS="$CFLAGS"
7087 LIBS="conftstm.
$ac_objext"
7088 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7089 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7090 (eval $ac_link) 2>&5
7092 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7093 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7096 LIBS="$lt_save_LIBS"
7097 CFLAGS="$lt_save_CFLAGS"
7099 echo "cannot
find nm_test_func
in $nlist" >&5
7102 echo "cannot
find nm_test_var
in $nlist" >&5
7105 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7108 echo "$progname: failed program was
:" >&5
7109 cat conftest.$ac_ext >&5
7111 rm -rf conftest* conftst*
7113 # Do not use the global_symbol_pipe unless it works.
7114 if test "$pipe_works" = yes; then
7117 lt_cv_sys_global_symbol_pipe=
7123 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7124 lt_cv_sys_global_symbol_to_cdecl=
7126 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7128 $as_echo "failed
" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7131 $as_echo "ok
" >&6; }
7156 # Check whether --enable-libtool-lock was given.
7157 if test "${enable_libtool_lock+set}" = set; then :
7158 enableval=$enable_libtool_lock;
7161 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7163 # Some flags need to be propagated to the compiler or linker for good
7167 # Find out which ABI we are using.
7168 echo 'int i;' > conftest.$ac_ext
7169 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7170 (eval $ac_compile) 2>&5
7172 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7173 test $ac_status = 0; }; then
7174 case `/usr/bin/file conftest.$ac_objext` in
7186 # Find out which ABI we are using.
7187 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7188 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7189 (eval $ac_compile) 2>&5
7191 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7192 test $ac_status = 0; }; then
7193 if test "$lt_cv_prog_gnu_ld" = yes; then
7194 case `/usr/bin/file conftest.$ac_objext` in
7196 LD="${LD-ld} -melf32bsmip"
7199 LD="${LD-ld} -melf32bmipn32"
7202 LD="${LD-ld} -melf64bmip"
7206 case `/usr/bin/file conftest.$ac_objext` in
7222 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7223 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7224 # Find out which ABI we are using.
7225 echo 'int i;' > conftest.$ac_ext
7226 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7227 (eval $ac_compile) 2>&5
7229 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7230 test $ac_status = 0; }; then
7231 case `/usr/bin/file conftest.o` in
7234 x86_64-*kfreebsd*-gnu)
7235 LD="${LD-ld} -m elf_i386_fbsd
"
7238 LD="${LD-ld} -m elf_i386
"
7240 ppc64-*linux*|powerpc64-*linux*)
7241 LD="${LD-ld} -m elf32ppclinux
"
7244 LD="${LD-ld} -m elf_s390
"
7247 LD="${LD-ld} -m elf32_sparc
"
7253 x86_64-*kfreebsd*-gnu)
7254 LD="${LD-ld} -m elf_x86_64_fbsd
"
7257 LD="${LD-ld} -m elf_x86_64
"
7259 ppc*-*linux*|powerpc*-*linux*)
7260 LD="${LD-ld} -m elf64ppc
"
7262 s390*-*linux*|s390*-*tpf*)
7263 LD="${LD-ld} -m elf64_s390
"
7266 LD="${LD-ld} -m elf64_sparc
"
7276 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7277 SAVE_CFLAGS="$CFLAGS"
7278 CFLAGS="$CFLAGS -belf"
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7280 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7281 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7282 $as_echo_n "(cached
) " >&6
7285 ac_cpp='$CPP $CPPFLAGS'
7286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h. */
7301 if ac_fn_c_try_link "$LINENO"; then :
7302 lt_cv_cc_needs_belf=yes
7304 lt_cv_cc_needs_belf=no
7306 rm -f core conftest.err conftest.$ac_objext \
7307 conftest$ac_exeext conftest.$ac_ext
7309 ac_cpp='$CPP $CPPFLAGS'
7310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7316 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7317 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7318 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7319 CFLAGS="$SAVE_CFLAGS"
7323 # Find out which ABI we are using.
7324 echo 'int i;' > conftest.$ac_ext
7325 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7326 (eval $ac_compile) 2>&5
7328 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7329 test $ac_status = 0; }; then
7330 case `/usr/bin/file conftest.o` in
7332 case $lt_cv_prog_gnu_ld in
7333 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7335 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7347 need_locks="$enable_libtool_lock"
7351 rhapsody* | darwin*)
7352 if test -n "$ac_tool_prefix"; then
7353 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7354 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7356 $as_echo_n "checking
for $ac_word...
" >&6; }
7357 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7358 $as_echo_n "(cached
) " >&6
7360 if test -n "$DSYMUTIL"; then
7361 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7380 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7381 if test -n "$DSYMUTIL"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7383 $as_echo "$DSYMUTIL" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7386 $as_echo "no
" >&6; }
7391 if test -z "$ac_cv_prog_DSYMUTIL"; then
7392 ac_ct_DSYMUTIL=$DSYMUTIL
7393 # Extract the first word of "dsymutil
", so it can be a program name with args.
7394 set dummy dsymutil; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7396 $as_echo_n "checking
for $ac_word...
" >&6; }
7397 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7398 $as_echo_n "(cached
) " >&6
7400 if test -n "$ac_ct_DSYMUTIL"; then
7401 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7410 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7420 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7421 if test -n "$ac_ct_DSYMUTIL"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7423 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7426 $as_echo "no
" >&6; }
7429 if test "x
$ac_ct_DSYMUTIL" = x; then
7432 case $cross_compiling:$ac_tool_warned in
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7435 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7436 ac_tool_warned=yes ;;
7438 DSYMUTIL=$ac_ct_DSYMUTIL
7441 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7444 if test -n "$ac_tool_prefix"; then
7445 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7446 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7448 $as_echo_n "checking
for $ac_word...
" >&6; }
7449 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7450 $as_echo_n "(cached
) " >&6
7452 if test -n "$NMEDIT"; then
7453 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 test -z "$as_dir" && as_dir=.
7460 for ac_exec_ext in '' $ac_executable_extensions; do
7461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7462 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7472 NMEDIT=$ac_cv_prog_NMEDIT
7473 if test -n "$NMEDIT"; then
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7475 $as_echo "$NMEDIT" >&6; }
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7478 $as_echo "no
" >&6; }
7483 if test -z "$ac_cv_prog_NMEDIT"; then
7484 ac_ct_NMEDIT=$NMEDIT
7485 # Extract the first word of "nmedit
", so it can be a program name with args.
7486 set dummy nmedit; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7488 $as_echo_n "checking
for $ac_word...
" >&6; }
7489 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7490 $as_echo_n "(cached
) " >&6
7492 if test -n "$ac_ct_NMEDIT"; then
7493 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7502 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7512 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7513 if test -n "$ac_ct_NMEDIT"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7515 $as_echo "$ac_ct_NMEDIT" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7518 $as_echo "no
" >&6; }
7521 if test "x
$ac_ct_NMEDIT" = x; then
7524 case $cross_compiling:$ac_tool_warned in
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7527 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7528 ac_tool_warned=yes ;;
7530 NMEDIT=$ac_ct_NMEDIT
7533 NMEDIT="$ac_cv_prog_NMEDIT"
7536 if test -n "$ac_tool_prefix"; then
7537 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7538 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7540 $as_echo_n "checking
for $ac_word...
" >&6; }
7541 if test "${ac_cv_prog_LIPO+set}" = set; then :
7542 $as_echo_n "(cached
) " >&6
7544 if test -n "$LIPO"; then
7545 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7554 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7564 LIPO=$ac_cv_prog_LIPO
7565 if test -n "$LIPO"; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7567 $as_echo "$LIPO" >&6; }
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7570 $as_echo "no
" >&6; }
7575 if test -z "$ac_cv_prog_LIPO"; then
7577 # Extract the first word of "lipo
", so it can be a program name with args.
7578 set dummy lipo; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7580 $as_echo_n "checking
for $ac_word...
" >&6; }
7581 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7582 $as_echo_n "(cached
) " >&6
7584 if test -n "$ac_ct_LIPO"; then
7585 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7594 ac_cv_prog_ac_ct_LIPO="lipo
"
7595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7604 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7605 if test -n "$ac_ct_LIPO"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7607 $as_echo "$ac_ct_LIPO" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7610 $as_echo "no
" >&6; }
7613 if test "x
$ac_ct_LIPO" = x; then
7616 case $cross_compiling:$ac_tool_warned in
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7619 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7620 ac_tool_warned=yes ;;
7625 LIPO="$ac_cv_prog_LIPO"
7628 if test -n "$ac_tool_prefix"; then
7629 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7630 set dummy ${ac_tool_prefix}otool; ac_word=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7632 $as_echo_n "checking
for $ac_word...
" >&6; }
7633 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7634 $as_echo_n "(cached
) " >&6
7636 if test -n "$OTOOL"; then
7637 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643 test -z "$as_dir" && as_dir=.
7644 for ac_exec_ext in '' $ac_executable_extensions; do
7645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7646 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7656 OTOOL=$ac_cv_prog_OTOOL
7657 if test -n "$OTOOL"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7659 $as_echo "$OTOOL" >&6; }
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7662 $as_echo "no
" >&6; }
7667 if test -z "$ac_cv_prog_OTOOL"; then
7669 # Extract the first word of "otool
", so it can be a program name with args.
7670 set dummy otool; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7672 $as_echo_n "checking
for $ac_word...
" >&6; }
7673 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7674 $as_echo_n "(cached
) " >&6
7676 if test -n "$ac_ct_OTOOL"; then
7677 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7686 ac_cv_prog_ac_ct_OTOOL="otool
"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7696 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7697 if test -n "$ac_ct_OTOOL"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7699 $as_echo "$ac_ct_OTOOL" >&6; }
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7702 $as_echo "no
" >&6; }
7705 if test "x
$ac_ct_OTOOL" = x; then
7708 case $cross_compiling:$ac_tool_warned in
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7711 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7712 ac_tool_warned=yes ;;
7717 OTOOL="$ac_cv_prog_OTOOL"
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7724 $as_echo_n "checking
for $ac_word...
" >&6; }
7725 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7726 $as_echo_n "(cached
) " >&6
7728 if test -n "$OTOOL64"; then
7729 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7748 OTOOL64=$ac_cv_prog_OTOOL64
7749 if test -n "$OTOOL64"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7751 $as_echo "$OTOOL64" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7754 $as_echo "no
" >&6; }
7759 if test -z "$ac_cv_prog_OTOOL64"; then
7760 ac_ct_OTOOL64=$OTOOL64
7761 # Extract the first word of "otool64
", so it can be a program name with args.
7762 set dummy otool64; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7764 $as_echo_n "checking
for $ac_word...
" >&6; }
7765 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7766 $as_echo_n "(cached
) " >&6
7768 if test -n "$ac_ct_OTOOL64"; then
7769 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7788 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7789 if test -n "$ac_ct_OTOOL64"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7791 $as_echo "$ac_ct_OTOOL64" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7794 $as_echo "no
" >&6; }
7797 if test "x
$ac_ct_OTOOL64" = x; then
7800 case $cross_compiling:$ac_tool_warned in
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7803 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7804 ac_tool_warned=yes ;;
7806 OTOOL64=$ac_ct_OTOOL64
7809 OTOOL64="$ac_cv_prog_OTOOL64"
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7839 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7840 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7841 $as_echo_n "(cached
) " >&6
7843 lt_cv_apple_cc_single_mod=no
7844 if test -z "${LT_MULTI_MODULE}"; then
7845 # By default we will add the -single_module flag. You can override
7846 # by either setting the environment variable LT_MULTI_MODULE
7847 # non-empty at configure time, or by adding -multi_module to the
7849 rm -rf libconftest.dylib*
7850 echo "int foo
(void
){return 1;}" > conftest.c
7851 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7852 -dynamiclib -Wl,-single_module conftest.c
" >&5
7853 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7854 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7856 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7857 lt_cv_apple_cc_single_mod=yes
7859 cat conftest.err >&5
7861 rm -rf libconftest.dylib*
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7866 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7868 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7869 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7870 $as_echo_n "(cached
) " >&6
7872 lt_cv_ld_exported_symbols_list=no
7873 save_LDFLAGS=$LDFLAGS
7874 echo "_main
" > conftest.sym
7875 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h. */
7887 if ac_fn_c_try_link "$LINENO"; then :
7888 lt_cv_ld_exported_symbols_list=yes
7890 lt_cv_ld_exported_symbols_list=no
7892 rm -f core conftest.err conftest.$ac_objext \
7893 conftest$ac_exeext conftest.$ac_ext
7894 LDFLAGS="$save_LDFLAGS"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7898 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7900 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7901 if test "${lt_cv_ld_force_load+set}" = set; then :
7902 $as_echo_n "(cached
) " >&6
7904 lt_cv_ld_force_load=no
7905 cat > conftest.c << _LT_EOF
7906 int forced_loaded() { return 2;}
7908 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7909 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7910 echo "$AR cru libconftest.a conftest.o
" >&5
7911 $AR cru libconftest.a conftest.o 2>&5
7912 cat > conftest.c << _LT_EOF
7913 int main() { return 0;}
7915 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7916 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7918 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7919 lt_cv_ld_force_load=yes
7921 cat conftest.err >&5
7923 rm -f conftest.err libconftest.a conftest conftest.c
7924 rm -rf conftest.dSYM
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7928 $as_echo "$lt_cv_ld_force_load" >&6; }
7930 rhapsody* | darwin1.[012])
7931 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7933 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7934 darwin*) # darwin 5.x on
7935 # if running on 10.5 or later, the deployment target defaults
7936 # to the OS version, if on x86, and 10.4, the deployment
7937 # target defaults to 10.4. Don't you love it?
7938 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7939 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7940 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7942 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7944 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7948 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7949 _lt_dar_single_mod='$single_module'
7951 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7952 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7954 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7956 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7957 _lt_dsymutil='~$DSYMUTIL $lib || :'
7965 ac_cpp='$CPP $CPPFLAGS'
7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7970 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7971 # On Suns, sometimes $CPP names a directory.
7972 if test -n "$CPP" && test -d "$CPP"; then
7975 if test -z "$CPP"; then
7976 if test "${ac_cv_prog_CPP+set}" = set; then :
7977 $as_echo_n "(cached
) " >&6
7979 # Double quotes because CPP needs to be expanded
7980 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7983 for ac_c_preproc_warn_flag in '' yes
7985 # Use a header file that comes with gcc, so configuring glibc
7986 # with a fresh cross-compiler works.
7987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7988 # <limits.h> exists even on freestanding compilers.
7989 # On the NeXT, cc -E runs the code through the compiler's parser,
7990 # not just through cpp. "Syntax error
" is here to catch this case.
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7994 # include <limits.h>
7996 # include <assert.h>
8000 if ac_fn_c_try_cpp "$LINENO"; then :
8003 # Broken: fails on valid input.
8006 rm -f conftest.err conftest.$ac_ext
8008 # OK, works on sane cases. Now check whether nonexistent headers
8009 # can be detected and how.
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8012 #include <ac_nonexistent.h>
8014 if ac_fn_c_try_cpp "$LINENO"; then :
8015 # Broken: success on invalid input.
8018 # Passes both tests.
8022 rm -f conftest.err conftest.$ac_ext
8025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8026 rm -f conftest.err conftest.$ac_ext
8027 if $ac_preproc_ok; then :
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8040 $as_echo "$CPP" >&6; }
8042 for ac_c_preproc_warn_flag in '' yes
8044 # Use a header file that comes with gcc, so configuring glibc
8045 # with a fresh cross-compiler works.
8046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8047 # <limits.h> exists even on freestanding compilers.
8048 # On the NeXT, cc -E runs the code through the compiler's parser,
8049 # not just through cpp. "Syntax error
" is here to catch this case.
8050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8053 # include <limits.h>
8055 # include <assert.h>
8059 if ac_fn_c_try_cpp "$LINENO"; then :
8062 # Broken: fails on valid input.
8065 rm -f conftest.err conftest.$ac_ext
8067 # OK, works on sane cases. Now check whether nonexistent headers
8068 # can be detected and how.
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8071 #include <ac_nonexistent.h>
8073 if ac_fn_c_try_cpp "$LINENO"; then :
8074 # Broken: success on invalid input.
8077 # Passes both tests.
8081 rm -f conftest.err conftest.$ac_ext
8084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8085 rm -f conftest.err conftest.$ac_ext
8086 if $ac_preproc_ok; then :
8089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8091 as_fn_error "C preprocessor \"$CPP\" fails sanity check
8092 See \`config.log' for more details.
" "$LINENO" 5; }
8096 ac_cpp='$CPP $CPPFLAGS'
8097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8103 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8104 if test "${ac_cv_header_stdc+set}" = set; then :
8105 $as_echo_n "(cached
) " >&6
8107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h. */
8122 if ac_fn_c_try_compile "$LINENO"; then :
8123 ac_cv_header_stdc=yes
8125 ac_cv_header_stdc=no
8127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8129 if test $ac_cv_header_stdc = yes; then
8130 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8136 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8137 $EGREP "memchr
" >/dev/null 2>&1; then :
8140 ac_cv_header_stdc=no
8146 if test $ac_cv_header_stdc = yes; then
8147 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8153 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8154 $EGREP "free
" >/dev/null 2>&1; then :
8157 ac_cv_header_stdc=no
8163 if test $ac_cv_header_stdc = yes; then
8164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8165 if test "$cross_compiling" = yes; then :
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8172 #if ((' ' & 0x0FF) == 0x020)
8173 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8174 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8176 # define ISLOWER(c) \
8177 (('a' <= (c) && (c) <= 'i') \
8178 || ('j' <= (c) && (c) <= 'r') \
8179 || ('s' <= (c) && (c) <= 'z'))
8180 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8183 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8188 for (i = 0; i < 256; i++)
8189 if (XOR (islower (i), ISLOWER (i))
8190 || toupper (i) != TOUPPER (i))
8195 if ac_fn_c_try_run "$LINENO"; then :
8198 ac_cv_header_stdc=no
8200 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8201 conftest.$ac_objext conftest.beam conftest.$ac_ext
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8207 $as_echo "$ac_cv_header_stdc" >&6; }
8208 if test $ac_cv_header_stdc = yes; then
8210 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8214 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8215 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8216 inttypes.h stdint.h unistd.h
8218 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8219 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8221 eval as_val
=\$
$as_ac_Header
8222 if test "x$as_val" = x
""yes; then :
8223 cat >>confdefs.h
<<_ACEOF
8224 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8232 for ac_header
in dlfcn.h
8234 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8236 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8237 cat >>confdefs.h
<<_ACEOF
8238 #define HAVE_DLFCN_H 1
8260 # Check whether --enable-shared was given.
8261 if test "${enable_shared+set}" = set; then :
8262 enableval
=$enable_shared; p
=${PACKAGE-default}
8264 yes) enable_shared
=yes ;;
8265 no
) enable_shared
=no
;;
8268 # Look at the argument we got. We use all the common list separators.
8269 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8270 for pkg
in $enableval; do
8272 if test "X$pkg" = "X$p"; then
8291 # Check whether --enable-static was given.
8292 if test "${enable_static+set}" = set; then :
8293 enableval
=$enable_static; p
=${PACKAGE-default}
8295 yes) enable_static
=yes ;;
8296 no
) enable_static
=no
;;
8299 # Look at the argument we got. We use all the common list separators.
8300 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8301 for pkg
in $enableval; do
8303 if test "X$pkg" = "X$p"; then
8323 # Check whether --with-pic was given.
8324 if test "${with_pic+set}" = set; then :
8325 withval
=$with_pic; pic_mode
="$withval"
8331 test -z "$pic_mode" && pic_mode
=default
8339 # Check whether --enable-fast-install was given.
8340 if test "${enable_fast_install+set}" = set; then :
8341 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8343 yes) enable_fast_install
=yes ;;
8344 no
) enable_fast_install
=no
;;
8346 enable_fast_install
=no
8347 # Look at the argument we got. We use all the common list separators.
8348 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8349 for pkg
in $enableval; do
8351 if test "X$pkg" = "X$p"; then
8352 enable_fast_install
=yes
8359 enable_fast_install
=yes
8372 # This can be used to rebuild libtool when needed
8373 LIBTOOL_DEPS
="$ltmain"
8375 # Always use our own libtool.
8376 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8403 test -z "$LN_S" && LN_S
="ln -s"
8418 if test -n "${ZSH_VERSION+set}" ; then
8419 setopt NO_GLOB_SUBST
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8423 $as_echo_n "checking for objdir... " >&6; }
8424 if test "${lt_cv_objdir+set}" = set; then :
8425 $as_echo_n "(cached) " >&6
8427 rm -f .libs
2>/dev
/null
8428 mkdir .libs
2>/dev
/null
8429 if test -d .libs
; then
8432 # MS-DOS does not allow filenames that begin with a dot.
8435 rmdir .libs
2>/dev
/null
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8438 $as_echo "$lt_cv_objdir" >&6; }
8439 objdir
=$lt_cv_objdir
8445 cat >>confdefs.h
<<_ACEOF
8446 #define LT_OBJDIR "$lt_cv_objdir/"
8454 # AIX sometimes has problems with the GCC collect2 program. For some
8455 # reason, if we set the COLLECT_NAMES environment variable, the problems
8456 # vanish in a puff of smoke.
8457 if test "X${COLLECT_NAMES+set}" != Xset
; then
8459 export COLLECT_NAMES
8466 can_build_shared
=yes
8468 # All known linkers require a `.a' archive for static linking (except MSVC,
8469 # which needs '.lib').
8472 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8475 old_CFLAGS
="$CFLAGS"
8477 # Set sane defaults for various variables
8478 test -z "$CC" && CC
=cc
8479 test -z "$LTCC" && LTCC
=$CC
8480 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8481 test -z "$LD" && LD
=ld
8482 test -z "$ac_objext" && ac_objext
=o
8484 for cc_temp
in $compiler""; do
8486 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8487 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8492 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8495 # Only perform the check for file, if the check method requires it
8496 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8497 case $deplibs_check_method in
8499 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8501 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8502 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8507 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8510 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8511 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8512 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8513 for ac_dir
in $ac_dummy; do
8515 test -z "$ac_dir" && ac_dir
=.
8516 if test -f $ac_dir/${ac_tool_prefix}file; then
8517 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8518 if test -n "$file_magic_test_file"; then
8519 case $deplibs_check_method in
8521 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8522 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8523 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8524 $EGREP "$file_magic_regex" > /dev
/null
; then
8529 *** Warning: the command libtool uses to detect shared libraries,
8530 *** $file_magic_cmd, produces output that libtool cannot recognize.
8531 *** The result is that libtool may fail to recognize shared libraries
8532 *** as such. This will affect the creation of libtool libraries that
8533 *** depend on shared libraries, but programs linked with such libtool
8534 *** libraries will work regardless of this problem. Nevertheless, you
8535 *** may want to report the problem to your system manager and/or to
8536 *** bug-libtool@gnu.org
8546 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8551 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8552 if test -n "$MAGIC_CMD"; then
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8554 $as_echo "$MAGIC_CMD" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8557 $as_echo "no" >&6; }
8564 if test -z "$lt_cv_path_MAGIC_CMD"; then
8565 if test -n "$ac_tool_prefix"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8567 $as_echo_n "checking for file... " >&6; }
8568 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8569 $as_echo_n "(cached) " >&6
8573 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8576 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8577 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8578 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8579 for ac_dir
in $ac_dummy; do
8581 test -z "$ac_dir" && ac_dir
=.
8582 if test -f $ac_dir/file; then
8583 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8584 if test -n "$file_magic_test_file"; then
8585 case $deplibs_check_method in
8587 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8588 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8589 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8590 $EGREP "$file_magic_regex" > /dev
/null
; then
8595 *** Warning: the command libtool uses to detect shared libraries,
8596 *** $file_magic_cmd, produces output that libtool cannot recognize.
8597 *** The result is that libtool may fail to recognize shared libraries
8598 *** as such. This will affect the creation of libtool libraries that
8599 *** depend on shared libraries, but programs linked with such libtool
8600 *** libraries will work regardless of this problem. Nevertheless, you
8601 *** may want to report the problem to your system manager and/or to
8602 *** bug-libtool@gnu.org
8612 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8617 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8618 if test -n "$MAGIC_CMD"; then
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8620 $as_echo "$MAGIC_CMD" >&6; }
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8623 $as_echo "no" >&6; }
8636 # Use C for the default configuration in the libtool script
8640 ac_cpp
='$CPP $CPPFLAGS'
8641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8646 # Source file extension for C test sources.
8649 # Object file extension for compiled C test sources.
8653 # Code to be used in simple compile tests
8654 lt_simple_compile_test_code
="int some_variable = 0;"
8656 # Code to be used in simple link tests
8657 lt_simple_link_test_code
='int main(){return(0);}'
8665 # If no C compiler was specified, use CC.
8668 # If no C compiler flags were specified, use CFLAGS.
8669 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8671 # Allow CC to be a program name with arguments.
8674 # Save the default compiler, since it gets overwritten when the other
8675 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8676 compiler_DEFAULT
=$CC
8678 # save warnings/boilerplate of simple test code
8679 ac_outfile
=conftest.
$ac_objext
8680 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8681 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8682 _lt_compiler_boilerplate
=`cat conftest.err`
8685 ac_outfile
=conftest.
$ac_objext
8686 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8687 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8688 _lt_linker_boilerplate
=`cat conftest.err`
8693 ## There is no encapsulation within the following macros, do not change
8694 ## the running order or otherwise move them around unless you know exactly
8695 ## what you are doing...
8696 if test -n "$compiler"; then
8698 lt_prog_compiler_no_builtin_flag
=
8700 if test "$GCC" = yes; then
8701 case $cc_basename in
8703 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8705 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8709 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8710 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8711 $as_echo_n "(cached) " >&6
8713 lt_cv_prog_compiler_rtti_exceptions
=no
8714 ac_outfile
=conftest.
$ac_objext
8715 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8716 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8717 # Insert the option either (1) after the last *FLAGS variable, or
8718 # (2) before a word containing "conftest.", or (3) at the end.
8719 # Note that $ac_compile itself does not contain backslashes and begins
8720 # with a dollar sign (not a hyphen), so the echo should work correctly.
8721 # The option is referenced via a variable to avoid confusing sed.
8722 lt_compile
=`echo "$ac_compile" | $SED \
8723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8725 -e 's:$: $lt_compiler_flag:'`
8726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8727 (eval "$lt_compile" 2>conftest.err
)
8729 cat conftest.err
>&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 if (exit $ac_status) && test -s "$ac_outfile"; then
8732 # The compiler can only warn and ignore the option if not recognized
8733 # So say no if there are warnings other than the usual output.
8734 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8735 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8736 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8737 lt_cv_prog_compiler_rtti_exceptions
=yes
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8744 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8746 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8747 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8759 lt_prog_compiler_wl
=
8760 lt_prog_compiler_pic
=
8761 lt_prog_compiler_static
=
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8764 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8766 if test "$GCC" = yes; then
8767 lt_prog_compiler_wl
='-Wl,'
8768 lt_prog_compiler_static
='-static'
8772 # All AIX code is PIC.
8773 if test "$host_cpu" = ia64
; then
8774 # AIX 5 now supports IA64 processor
8775 lt_prog_compiler_static
='-Bstatic'
8782 # see comment about AmigaOS4 .so support
8783 lt_prog_compiler_pic
='-fPIC'
8786 # FIXME: we need at least 68020 code to build shared libraries, but
8787 # adding the `-m68020' flag to GCC prevents building anything better,
8789 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8794 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8795 # PIC is the default for these OSes.
8798 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8799 # This hack is so that the source file can tell whether it is being
8800 # built for inclusion in a dll (and should export symbols for example).
8801 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8802 # (--disable-auto-import) libraries
8803 lt_prog_compiler_pic
='-DDLL_EXPORT'
8806 darwin
* | rhapsody
*)
8807 # PIC is the default on this platform
8808 # Common symbols not allowed in MH_DYLIB files
8809 lt_prog_compiler_pic
='-fno-common'
8813 # PIC is the default for Haiku.
8814 # The "-static" flag exists, but is broken.
8815 lt_prog_compiler_static
=
8819 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8820 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8821 # sets the default TLS model and affects inlining.
8827 lt_prog_compiler_pic
='-fPIC'
8833 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8834 # Instead, we relocate shared libraries at runtime.
8838 # Just because we use GCC doesn't mean we suddenly get shared libraries
8839 # on systems that don't support them.
8840 lt_prog_compiler_can_build_shared
=no
8845 # QNX uses GNU C++, but need to define -shared option too, otherwise
8847 lt_prog_compiler_pic
='-fPIC -shared'
8851 if test -d /usr
/nec
; then
8852 lt_prog_compiler_pic
=-Kconform_pic
8857 lt_prog_compiler_pic
='-fPIC'
8861 case $cc_basename in
8862 nvcc
*) # Cuda Compiler Driver 2.2
8863 lt_prog_compiler_wl
='-Xlinker '
8864 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8868 # PORTME Check for flag to pass linker flags through the system compiler.
8871 lt_prog_compiler_wl
='-Wl,'
8872 if test "$host_cpu" = ia64
; then
8873 # AIX 5 now supports IA64 processor
8874 lt_prog_compiler_static
='-Bstatic'
8876 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8880 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8881 # This hack is so that the source file can tell whether it is being
8882 # built for inclusion in a dll (and should export symbols for example).
8883 lt_prog_compiler_pic
='-DDLL_EXPORT'
8886 hpux9
* | hpux10
* | hpux11
*)
8887 lt_prog_compiler_wl
='-Wl,'
8888 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8895 lt_prog_compiler_pic
='+Z'
8898 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8899 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8902 irix5
* | irix6
* | nonstopux
*)
8903 lt_prog_compiler_wl
='-Wl,'
8904 # PIC (with -KPIC) is the default.
8905 lt_prog_compiler_static
='-non_shared'
8908 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8909 case $cc_basename in
8910 # old Intel for x86_64 which still supported -KPIC.
8912 lt_prog_compiler_wl
='-Wl,'
8913 lt_prog_compiler_pic
='-KPIC'
8914 lt_prog_compiler_static
='-static'
8916 # icc used to be incompatible with GCC.
8917 # ICC 10 doesn't accept -KPIC any more.
8919 lt_prog_compiler_wl
='-Wl,'
8920 lt_prog_compiler_pic
='-fPIC'
8921 lt_prog_compiler_static
='-static'
8923 # Lahey Fortran 8.1.
8925 lt_prog_compiler_wl
='-Wl,'
8926 lt_prog_compiler_pic
='--shared'
8927 lt_prog_compiler_static
='--static'
8929 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8930 # Portland Group compilers (*not* the Pentium gcc compiler,
8931 # which looks to be a dead project)
8932 lt_prog_compiler_wl
='-Wl,'
8933 lt_prog_compiler_pic
='-fpic'
8934 lt_prog_compiler_static
='-Bstatic'
8937 lt_prog_compiler_wl
='-Wl,'
8938 # All Alpha code is PIC.
8939 lt_prog_compiler_static
='-non_shared'
8941 xl
* | bgxl
* | bgf
* | mpixl
*)
8942 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8943 lt_prog_compiler_wl
='-Wl,'
8944 lt_prog_compiler_pic
='-qpic'
8945 lt_prog_compiler_static
='-qstaticlink'
8948 case `$CC -V 2>&1 | sed 5q` in
8949 *Sun\ F
* |
*Sun
*Fortran
*)
8950 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8951 lt_prog_compiler_pic
='-KPIC'
8952 lt_prog_compiler_static
='-Bstatic'
8953 lt_prog_compiler_wl
=''
8957 lt_prog_compiler_pic
='-KPIC'
8958 lt_prog_compiler_static
='-Bstatic'
8959 lt_prog_compiler_wl
='-Wl,'
8967 lt_prog_compiler_pic
='-KPIC'
8968 lt_prog_compiler_static
='-Bstatic'
8972 # QNX uses GNU C++, but need to define -shared option too, otherwise
8974 lt_prog_compiler_pic
='-fPIC -shared'
8977 osf3
* | osf4
* | osf5
*)
8978 lt_prog_compiler_wl
='-Wl,'
8979 # All OSF/1 code is PIC.
8980 lt_prog_compiler_static
='-non_shared'
8984 lt_prog_compiler_static
='-non_shared'
8988 lt_prog_compiler_pic
='-KPIC'
8989 lt_prog_compiler_static
='-Bstatic'
8990 case $cc_basename in
8992 lt_prog_compiler_wl
='-Qoption ld ';;
8994 lt_prog_compiler_wl
='-Wl,';;
8999 lt_prog_compiler_wl
='-Qoption ld '
9000 lt_prog_compiler_pic
='-PIC'
9001 lt_prog_compiler_static
='-Bstatic'
9004 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9005 lt_prog_compiler_wl
='-Wl,'
9006 lt_prog_compiler_pic
='-KPIC'
9007 lt_prog_compiler_static
='-Bstatic'
9011 if test -d /usr
/nec
;then
9012 lt_prog_compiler_pic
='-Kconform_pic'
9013 lt_prog_compiler_static
='-Bstatic'
9017 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9018 lt_prog_compiler_wl
='-Wl,'
9019 lt_prog_compiler_pic
='-KPIC'
9020 lt_prog_compiler_static
='-Bstatic'
9024 lt_prog_compiler_wl
='-Wl,'
9025 lt_prog_compiler_can_build_shared
=no
9029 lt_prog_compiler_pic
='-pic'
9030 lt_prog_compiler_static
='-Bstatic'
9034 lt_prog_compiler_can_build_shared
=no
9040 # For platforms which do not support PIC, -DPIC is meaningless:
9042 lt_prog_compiler_pic
=
9045 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9049 $as_echo "$lt_prog_compiler_pic" >&6; }
9057 # Check to make sure the PIC flag actually works.
9059 if test -n "$lt_prog_compiler_pic"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9061 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9062 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9063 $as_echo_n "(cached) " >&6
9065 lt_cv_prog_compiler_pic_works
=no
9066 ac_outfile
=conftest.
$ac_objext
9067 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9068 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9069 # Insert the option either (1) after the last *FLAGS variable, or
9070 # (2) before a word containing "conftest.", or (3) at the end.
9071 # Note that $ac_compile itself does not contain backslashes and begins
9072 # with a dollar sign (not a hyphen), so the echo should work correctly.
9073 # The option is referenced via a variable to avoid confusing sed.
9074 lt_compile
=`echo "$ac_compile" | $SED \
9075 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9077 -e 's:$: $lt_compiler_flag:'`
9078 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9079 (eval "$lt_compile" 2>conftest.err
)
9081 cat conftest.err
>&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 if (exit $ac_status) && test -s "$ac_outfile"; then
9084 # The compiler can only warn and ignore the option if not recognized
9085 # So say no if there are warnings other than the usual output.
9086 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9087 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9088 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9089 lt_cv_prog_compiler_pic_works
=yes
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9096 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9098 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9099 case $lt_prog_compiler_pic in
9101 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9104 lt_prog_compiler_pic
=
9105 lt_prog_compiler_can_build_shared
=no
9116 # Check to make sure the static flag actually works.
9118 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9120 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9121 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9122 $as_echo_n "(cached) " >&6
9124 lt_cv_prog_compiler_static_works
=no
9125 save_LDFLAGS
="$LDFLAGS"
9126 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9127 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9128 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9129 # The linker can only warn and ignore the option if not recognized
9130 # So say no if there are warnings
9131 if test -s conftest.err
; then
9132 # Append any errors to the config.log.
9133 cat conftest.err
1>&5
9134 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9135 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9136 if diff conftest.exp conftest.er2
>/dev
/null
; then
9137 lt_cv_prog_compiler_static_works
=yes
9140 lt_cv_prog_compiler_static_works
=yes
9144 LDFLAGS
="$save_LDFLAGS"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9148 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9150 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9153 lt_prog_compiler_static
=
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9163 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9164 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9165 $as_echo_n "(cached) " >&6
9167 lt_cv_prog_compiler_c_o
=no
9168 $RM -r conftest
2>/dev
/null
9172 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9174 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9175 # Insert the option either (1) after the last *FLAGS variable, or
9176 # (2) before a word containing "conftest.", or (3) at the end.
9177 # Note that $ac_compile itself does not contain backslashes and begins
9178 # with a dollar sign (not a hyphen), so the echo should work correctly.
9179 lt_compile
=`echo "$ac_compile" | $SED \
9180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9182 -e 's:$: $lt_compiler_flag:'`
9183 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9184 (eval "$lt_compile" 2>out
/conftest.err
)
9186 cat out
/conftest.err
>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9190 # The compiler can only warn and ignore the option if not recognized
9191 # So say no if there are warnings
9192 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9193 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9194 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9195 lt_cv_prog_compiler_c_o
=yes
9200 # SGI C++ compiler will create directory out/ii_files/ for
9201 # template instantiation
9202 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9203 $RM out
/* && rmdir out
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9210 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9218 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9219 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9220 $as_echo_n "(cached) " >&6
9222 lt_cv_prog_compiler_c_o
=no
9223 $RM -r conftest
2>/dev
/null
9227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9229 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9230 # Insert the option either (1) after the last *FLAGS variable, or
9231 # (2) before a word containing "conftest.", or (3) at the end.
9232 # Note that $ac_compile itself does not contain backslashes and begins
9233 # with a dollar sign (not a hyphen), so the echo should work correctly.
9234 lt_compile
=`echo "$ac_compile" | $SED \
9235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9237 -e 's:$: $lt_compiler_flag:'`
9238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9239 (eval "$lt_compile" 2>out
/conftest.err
)
9241 cat out
/conftest.err
>&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9245 # The compiler can only warn and ignore the option if not recognized
9246 # So say no if there are warnings
9247 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9248 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9249 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9250 lt_cv_prog_compiler_c_o
=yes
9255 # SGI C++ compiler will create directory out/ii_files/ for
9256 # template instantiation
9257 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9258 $RM out
/* && rmdir out
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9265 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9270 hard_links
="nottested"
9271 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9272 # do not overwrite the value of need_locks provided by the user
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9274 $as_echo_n "checking if we can lock with hard links... " >&6; }
9277 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9279 ln conftest.a conftest.b
2>&5 || hard_links
=no
9280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9282 $as_echo "$hard_links" >&6; }
9283 if test "$hard_links" = no
; then
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9285 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9298 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9301 allow_undefined_flag
=
9302 always_export_symbols
=no
9304 archive_expsym_cmds
=
9305 compiler_needs_object
=no
9306 enable_shared_with_static_runtimes
=no
9307 export_dynamic_flag_spec
=
9308 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9309 hardcode_automatic
=no
9311 hardcode_direct_absolute
=no
9312 hardcode_libdir_flag_spec
=
9313 hardcode_libdir_flag_spec_ld
=
9314 hardcode_libdir_separator
=
9316 hardcode_shlibpath_var
=unsupported
9318 link_all_deplibs
=unknown
9321 old_archive_from_new_cmds
=
9322 old_archive_from_expsyms_cmds
=
9323 thread_safe_flag_spec
=
9324 whole_archive_flag_spec
=
9325 # include_expsyms should be a list of space-separated symbols to be *always*
9326 # included in the symbol list
9328 # exclude_expsyms can be an extended regexp of symbols to exclude
9329 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9330 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9331 # as well as any symbol that contains `d'.
9332 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9333 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9334 # platforms (ab)use it in PIC code, but their linkers get confused if
9335 # the symbol is explicitly referenced. Since portable code cannot
9336 # rely on this symbol name, it's probably fine to never include it in
9337 # preloaded symbol tables.
9338 # Exclude shared library initialization/finalization symbols.
9339 extract_expsyms_cmds
=
9342 cygwin
* | mingw
* | pw32
* | cegcc
*)
9343 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9344 # When not using gcc, we currently assume that we are using
9345 # Microsoft Visual C++.
9346 if test "$GCC" != yes; then
9351 # we just hope/assume this is gcc and not c89 (= MSVC++)
9361 # On some targets, GNU ld is compatible enough with the native linker
9362 # that we're better off using the native interface for both.
9363 lt_use_gnu_ld_interface
=no
9364 if test "$with_gnu_ld" = yes; then
9367 # The AIX port of GNU ld has always aspired to compatibility
9368 # with the native linker. However, as the warning in the GNU ld
9369 # block says, versions before 2.19.5* couldn't really create working
9370 # shared libraries, regardless of the interface used.
9371 case `$LD -v 2>&1` in
9372 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9373 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9374 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9376 lt_use_gnu_ld_interface
=yes
9381 lt_use_gnu_ld_interface
=yes
9386 if test "$lt_use_gnu_ld_interface" = yes; then
9387 # If archive_cmds runs LD, not CC, wlarc should be empty
9390 # Set some defaults for GNU ld with shared library support. These
9391 # are reset later if shared libraries are not supported. Putting them
9392 # here allows them to be overridden if necessary.
9393 runpath_var
=LD_RUN_PATH
9394 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9395 export_dynamic_flag_spec
='${wl}--export-dynamic'
9396 # ancient GNU ld didn't support --whole-archive et. al.
9397 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9398 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9400 whole_archive_flag_spec
=
9402 supports_anon_versioning
=no
9403 case `$LD -v 2>&1` in
9404 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9405 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9406 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9407 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9408 *\
2.11.
*) ;; # other 2.11 versions
9409 *) supports_anon_versioning
=yes ;;
9412 # See if GNU ld supports shared libraries.
9415 # On AIX/PPC, the GNU linker is very broken
9416 if test "$host_cpu" != ia64
; then
9420 *** Warning: the GNU linker, at least up to release 2.19, is reported
9421 *** to be unable to reliably create shared libraries on AIX.
9422 *** Therefore, libtool is disabling shared libraries support. If you
9423 *** really care for shared libraries, you may want to install binutils
9424 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9425 *** You will then need to restart the configuration process.
9434 # see comment about AmigaOS4 .so support
9435 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9436 archive_expsym_cmds
=''
9439 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)'
9440 hardcode_libdir_flag_spec
='-L$libdir'
9441 hardcode_minus_L
=yes
9447 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9448 allow_undefined_flag
=unsupported
9449 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9450 # support --undefined. This deserves some investigation. FIXME
9451 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9457 cygwin
* | mingw
* | pw32
* | cegcc
*)
9458 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9459 # as there is no search path for DLLs.
9460 hardcode_libdir_flag_spec
='-L$libdir'
9461 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9462 allow_undefined_flag
=unsupported
9463 always_export_symbols
=no
9464 enable_shared_with_static_runtimes
=yes
9465 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9467 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9469 # If the export-symbols file already is a .def file (1st line
9470 # is EXPORTS), use it as is; otherwise, prepend...
9471 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9472 cp $export_symbols $output_objdir/$soname.def;
9474 echo EXPORTS > $output_objdir/$soname.def;
9475 cat $export_symbols >> $output_objdir/$soname.def;
9477 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9484 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485 link_all_deplibs
=yes
9490 hardcode_shlibpath_var
=no
9491 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9492 export_dynamic_flag_spec
='${wl}-E'
9493 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9494 # Instead, shared libraries are loaded at an image base (0x10000000 by
9495 # default) and relocated if they conflict, which is a slow very memory
9496 # consuming and fragmenting process. To avoid this, we pick a random,
9497 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9498 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9499 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9500 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'
9503 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9505 if test "$host_os" = linux-dietlibc
; then
9506 case $cc_basename in
9507 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9510 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9511 && test "$tmp_diet" = no
9514 tmp_sharedflag
='-shared'
9515 case $cc_basename,$host_cpu in
9516 pgcc
*) # Portland Group C compiler
9517 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'
9518 tmp_addflag
=' $pic_flag'
9520 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9521 # Portland Group f77 and f90 compilers
9522 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'
9523 tmp_addflag
=' $pic_flag -Mnomain' ;;
9524 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9525 tmp_addflag
=' -i_dynamic' ;;
9526 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9527 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9528 ifc
* | ifort
*) # Intel Fortran compiler
9529 tmp_addflag
=' -nofor_main' ;;
9530 lf95
*) # Lahey Fortran 8.1
9531 whole_archive_flag_spec
=
9532 tmp_sharedflag
='--shared' ;;
9533 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9534 tmp_sharedflag
='-qmkshrobj'
9536 nvcc
*) # Cuda Compiler Driver 2.2
9537 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'
9538 compiler_needs_object
=yes
9541 case `$CC -V 2>&1 | sed 5q` in
9542 *Sun\ C
*) # Sun C 5.9
9543 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'
9544 compiler_needs_object
=yes
9545 tmp_sharedflag
='-G' ;;
9546 *Sun\ F
*) # Sun Fortran 8.3
9547 tmp_sharedflag
='-G' ;;
9549 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551 if test "x$supports_anon_versioning" = xyes
; then
9552 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9554 echo "local: *; };" >> $output_objdir/$libname.ver~
9555 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9558 case $cc_basename in
9559 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9560 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9561 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9562 hardcode_libdir_flag_spec
=
9563 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9564 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9565 if test "x$supports_anon_versioning" = xyes
; then
9566 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9568 echo "local: *; };" >> $output_objdir/$libname.ver~
9569 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9579 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9580 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9583 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9584 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9589 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9593 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9594 *** create shared libraries on Solaris systems. Therefore, libtool
9595 *** is disabling shared libraries support. We urge you to upgrade GNU
9596 *** binutils to release 2.9.1 or newer. Another option is to modify
9597 *** your PATH or compiler configuration so that the native linker is
9598 *** used, and then restart.
9601 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9603 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9609 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9610 case `$LD -v 2>&1` in
9611 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9615 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9616 *** reliably create shared libraries on SCO systems. Therefore, libtool
9617 *** is disabling shared libraries support. We urge you to upgrade GNU
9618 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9619 *** your PATH or compiler configuration so that the native linker is
9620 *** used, and then restart.
9625 # For security reasons, it is highly recommended that you always
9626 # use absolute paths for naming shared libraries, and exclude the
9627 # DT_RUNPATH tag from executables and libraries. But doing so
9628 # requires that you compile everything twice, which is a pain.
9629 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9630 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9631 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9632 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9641 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9644 hardcode_shlibpath_var
=no
9648 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9649 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9650 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9657 if test "$ld_shlibs" = no
; then
9659 hardcode_libdir_flag_spec
=
9660 export_dynamic_flag_spec
=
9661 whole_archive_flag_spec
=
9664 # PORTME fill in a description of your system's linker (not GNU ld)
9667 allow_undefined_flag
=unsupported
9668 always_export_symbols
=yes
9669 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'
9670 # Note: this linker hardcodes the directories in LIBPATH if there
9671 # are no directories specified by -L.
9672 hardcode_minus_L
=yes
9673 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9674 # Neither direct hardcoding nor static linking is supported with a
9676 hardcode_direct
=unsupported
9681 if test "$host_cpu" = ia64
; then
9682 # On IA64, the linker does run time linking by default, so we don't
9683 # have to do anything special.
9684 aix_use_runtimelinking
=no
9685 exp_sym_flag
='-Bexport'
9688 # If we're using GNU nm, then we don't want the "-C" option.
9689 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9690 # Also, AIX nm treats weak defined symbols like other global
9691 # defined symbols, whereas GNU nm marks them as "W".
9692 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9693 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'
9695 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'
9697 aix_use_runtimelinking
=no
9699 # Test if we are trying to use run time linking or normal
9700 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9701 # need to do runtime linking.
9702 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9703 for ld_flag
in $LDFLAGS; do
9704 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9705 aix_use_runtimelinking
=yes
9712 exp_sym_flag
='-bexport'
9713 no_entry_flag
='-bnoentry'
9716 # When large executables or shared objects are built, AIX ld can
9717 # have problems creating the table of contents. If linking a library
9718 # or program results in "error TOC overflow" add -mminimal-toc to
9719 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9720 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9724 hardcode_direct_absolute
=yes
9725 hardcode_libdir_separator
=':'
9726 link_all_deplibs
=yes
9727 file_list_spec
='${wl}-f,'
9729 if test "$GCC" = yes; then
9730 case $host_os in aix4.
[012]|aix4.
[012].
*)
9731 # We only want to do this on AIX 4.2 and lower, the check
9732 # below for broken collect2 doesn't work under 4.3+
9733 collect2name
=`${CC} -print-prog-name=collect2`
9734 if test -f "$collect2name" &&
9735 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9737 # We have reworked collect2
9740 # We have old collect2
9741 hardcode_direct
=unsupported
9742 # It fails to find uninstalled libraries when the uninstalled
9743 # path is not listed in the libpath. Setting hardcode_minus_L
9744 # to unsupported forces relinking
9745 hardcode_minus_L
=yes
9746 hardcode_libdir_flag_spec
='-L$libdir'
9747 hardcode_libdir_separator
=
9751 shared_flag
='-shared'
9752 if test "$aix_use_runtimelinking" = yes; then
9753 shared_flag
="$shared_flag "'${wl}-G'
9757 if test "$host_cpu" = ia64
; then
9758 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9759 # chokes on -Wl,-G. The following line is correct:
9762 if test "$aix_use_runtimelinking" = yes; then
9763 shared_flag
='${wl}-G'
9765 shared_flag
='${wl}-bM:SRE'
9770 export_dynamic_flag_spec
='${wl}-bexpall'
9771 # It seems that -bexpall does not export symbols beginning with
9772 # underscore (_), so it is better to generate a list of symbols to export.
9773 always_export_symbols
=yes
9774 if test "$aix_use_runtimelinking" = yes; then
9775 # Warning - without using the other runtime loading flags (-brtl),
9776 # -berok will link without error, but may produce a broken library.
9777 allow_undefined_flag
='-berok'
9778 # Determine the default libpath from the value encoded in an
9780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9791 if ac_fn_c_try_link
"$LINENO"; then :
9793 lt_aix_libpath_sed
='
9794 /Import File Strings/,/^$/ {
9800 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9801 # Check for a 64-bit object if we didn't find anything.
9802 if test -z "$aix_libpath"; then
9803 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9806 rm -f core conftest.err conftest.
$ac_objext \
9807 conftest
$ac_exeext conftest.
$ac_ext
9808 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9810 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9811 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"
9813 if test "$host_cpu" = ia64
; then
9814 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9815 allow_undefined_flag
="-z nodefs"
9816 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"
9818 # Determine the default libpath from the value encoded in an
9820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9831 if ac_fn_c_try_link
"$LINENO"; then :
9833 lt_aix_libpath_sed
='
9834 /Import File Strings/,/^$/ {
9840 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841 # Check for a 64-bit object if we didn't find anything.
9842 if test -z "$aix_libpath"; then
9843 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9846 rm -f core conftest.err conftest.
$ac_objext \
9847 conftest
$ac_exeext conftest.
$ac_ext
9848 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9850 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9851 # Warning - without using the other run time loading flags,
9852 # -berok will link without error, but may produce a broken library.
9853 no_undefined_flag
=' ${wl}-bernotok'
9854 allow_undefined_flag
=' ${wl}-berok'
9855 if test "$with_gnu_ld" = yes; then
9856 # We only use this code for GNU lds that support --whole-archive.
9857 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9859 # Exported symbols can be pulled into shared objects from archives
9860 whole_archive_flag_spec
='$convenience'
9862 archive_cmds_need_lc
=yes
9863 # This is similar to how AIX traditionally builds its shared libraries.
9864 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'
9872 # see comment about AmigaOS4 .so support
9873 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9874 archive_expsym_cmds
=''
9877 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)'
9878 hardcode_libdir_flag_spec
='-L$libdir'
9879 hardcode_minus_L
=yes
9885 export_dynamic_flag_spec
=-rdynamic
9888 cygwin
* | mingw
* | pw32
* | cegcc
*)
9889 # When not using gcc, we currently assume that we are using
9890 # Microsoft Visual C++.
9891 # hardcode_libdir_flag_spec is actually meaningless, as there is
9892 # no search path for DLLs.
9893 hardcode_libdir_flag_spec
=' '
9894 allow_undefined_flag
=unsupported
9895 # Tell ltmain to make .lib files, not .a files.
9897 # Tell ltmain to make .dll files, not .so files.
9899 # FIXME: Setting linknames here is a bad hack.
9900 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9901 # The linker will automatically build a .lib file if we build a DLL.
9902 old_archive_from_new_cmds
='true'
9903 # FIXME: Should let the user specify the lib program.
9904 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9905 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9906 enable_shared_with_static_runtimes
=yes
9909 darwin
* | rhapsody
*)
9912 archive_cmds_need_lc
=no
9914 hardcode_automatic
=yes
9915 hardcode_shlibpath_var
=unsupported
9916 if test "$lt_cv_ld_force_load" = "yes"; then
9917 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\"`'
9919 whole_archive_flag_spec
=''
9921 link_all_deplibs
=yes
9922 allow_undefined_flag
="$_lt_dar_allow_undefined"
9923 case $cc_basename in
9924 ifort
*) _lt_dar_can_shared
=yes ;;
9925 *) _lt_dar_can_shared
=$GCC ;;
9927 if test "$_lt_dar_can_shared" = "yes"; then
9928 output_verbose_link_cmd
=func_echo_all
9929 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9930 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9931 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}"
9932 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}"
9941 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942 hardcode_libdir_flag_spec
='-L$libdir'
9943 hardcode_shlibpath_var
=no
9946 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9947 # support. Future versions do this automatically, but an explicit c++rt0.o
9948 # does not break anything, and helps significantly (at the cost of a little
9951 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9952 hardcode_libdir_flag_spec
='-R$libdir'
9954 hardcode_shlibpath_var
=no
9957 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9959 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9961 hardcode_minus_L
=yes
9962 hardcode_shlibpath_var
=no
9965 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9966 freebsd
* | dragonfly
*)
9967 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9968 hardcode_libdir_flag_spec
='-R$libdir'
9970 hardcode_shlibpath_var
=no
9974 if test "$GCC" = yes; then
9975 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'
9977 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'
9979 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9980 hardcode_libdir_separator
=:
9983 # hardcode_minus_L: Not really in the search PATH,
9984 # but as the default location of the library.
9985 hardcode_minus_L
=yes
9986 export_dynamic_flag_spec
='${wl}-E'
9990 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9991 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9995 if test "$with_gnu_ld" = no
; then
9996 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9997 hardcode_libdir_flag_spec_ld
='+b $libdir'
9998 hardcode_libdir_separator
=:
10000 hardcode_direct_absolute
=yes
10001 export_dynamic_flag_spec
='${wl}-E'
10002 # hardcode_minus_L: Not really in the search PATH,
10003 # but as the default location of the library.
10004 hardcode_minus_L
=yes
10009 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10012 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10018 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10031 # Older versions of the 11.00 compiler do not understand -b yet
10032 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10034 $as_echo_n "checking if $CC understands -b... " >&6; }
10035 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10036 $as_echo_n "(cached) " >&6
10038 lt_cv_prog_compiler__b
=no
10039 save_LDFLAGS
="$LDFLAGS"
10040 LDFLAGS
="$LDFLAGS -b"
10041 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10042 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10043 # The linker can only warn and ignore the option if not recognized
10044 # So say no if there are warnings
10045 if test -s conftest.err
; then
10046 # Append any errors to the config.log.
10047 cat conftest.err
1>&5
10048 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10049 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10050 if diff conftest.exp conftest.er2
>/dev
/null
; then
10051 lt_cv_prog_compiler__b
=yes
10054 lt_cv_prog_compiler__b
=yes
10058 LDFLAGS
="$save_LDFLAGS"
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10062 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10064 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10065 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10073 if test "$with_gnu_ld" = no
; then
10074 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10075 hardcode_libdir_separator
=:
10080 hardcode_shlibpath_var
=no
10083 hardcode_direct
=yes
10084 hardcode_direct_absolute
=yes
10085 export_dynamic_flag_spec
='${wl}-E'
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L
=yes
10095 irix5
* | irix6
* | nonstopux
*)
10096 if test "$GCC" = yes; then
10097 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'
10098 # Try to use the -exported_symbol ld option, if it does not
10099 # work, assume that -exports_file does not work either and
10100 # implicitly export all symbols.
10101 save_LDFLAGS
="$LDFLAGS"
10102 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10107 if ac_fn_c_try_link
"$LINENO"; then :
10108 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'
10111 rm -f core conftest.err conftest.
$ac_objext \
10112 conftest
$ac_exeext conftest.
$ac_ext
10113 LDFLAGS
="$save_LDFLAGS"
10115 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'
10116 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'
10118 archive_cmds_need_lc
='no'
10119 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10120 hardcode_libdir_separator
=:
10122 link_all_deplibs
=yes
10126 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10127 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10129 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10131 hardcode_libdir_flag_spec
='-R$libdir'
10132 hardcode_direct
=yes
10133 hardcode_shlibpath_var
=no
10137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_direct
=yes
10139 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10140 hardcode_libdir_separator
=:
10141 hardcode_shlibpath_var
=no
10148 if test -f /usr
/libexec
/ld.so
; then
10149 hardcode_direct
=yes
10150 hardcode_shlibpath_var
=no
10151 hardcode_direct_absolute
=yes
10152 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10153 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10155 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10156 export_dynamic_flag_spec
='${wl}-E'
10159 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10160 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10161 hardcode_libdir_flag_spec
='-R$libdir'
10164 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10165 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10175 hardcode_libdir_flag_spec
='-L$libdir'
10176 hardcode_minus_L
=yes
10177 allow_undefined_flag
=unsupported
10178 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'
10179 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10183 if test "$GCC" = yes; then
10184 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10185 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'
10187 allow_undefined_flag
=' -expect_unresolved \*'
10188 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'
10190 archive_cmds_need_lc
='no'
10191 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10192 hardcode_libdir_separator
=:
10195 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10196 if test "$GCC" = yes; then
10197 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10198 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'
10199 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10201 allow_undefined_flag
=' -expect_unresolved \*'
10202 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'
10203 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~
10204 $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'
10206 # Both c and cxx compiler support -rpath directly
10207 hardcode_libdir_flag_spec
='-rpath $libdir'
10209 archive_cmds_need_lc
='no'
10210 hardcode_libdir_separator
=:
10214 no_undefined_flag
=' -z defs'
10215 if test "$GCC" = yes; then
10217 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10219 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10221 case `$CC -V 2>&1` in
10224 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10225 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10226 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10230 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10232 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10236 hardcode_libdir_flag_spec
='-R$libdir'
10237 hardcode_shlibpath_var
=no
10239 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10241 # The compiler driver will combine and reorder linker options,
10242 # but understands `-z linker_flag'. GCC discards it without `$wl',
10243 # but is careful enough not to reorder.
10244 # Supported since Solaris 2.6 (maybe 2.5.1?)
10245 if test "$GCC" = yes; then
10246 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10248 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10252 link_all_deplibs
=yes
10256 if test "x$host_vendor" = xsequent
; then
10257 # Use $CC to link under sequent, because it throws in some extra .o
10258 # files that make .init and .fini sections work.
10259 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10263 hardcode_libdir_flag_spec
='-L$libdir'
10264 hardcode_direct
=yes
10265 hardcode_minus_L
=yes
10266 hardcode_shlibpath_var
=no
10270 case $host_vendor in
10272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10273 hardcode_direct
=yes # is this really true???
10276 ## LD is ld it makes a PLAMLIB
10277 ## CC just makes a GrossModule.
10278 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10279 reload_cmds
='$CC -r -o $output$reload_objs'
10283 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10284 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10287 runpath_var
='LD_RUN_PATH'
10288 hardcode_shlibpath_var
=no
10292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10293 hardcode_shlibpath_var
=no
10294 export_dynamic_flag_spec
='-Bexport'
10298 if test -d /usr
/nec
; then
10299 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10300 hardcode_shlibpath_var
=no
10301 runpath_var
=LD_RUN_PATH
10302 hardcode_runpath_var
=yes
10307 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10308 no_undefined_flag
='${wl}-z,text'
10309 archive_cmds_need_lc
=no
10310 hardcode_shlibpath_var
=no
10311 runpath_var
='LD_RUN_PATH'
10313 if test "$GCC" = yes; then
10314 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10315 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10318 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10322 sysv5
* | sco3.2v5
* | sco5v6
*)
10323 # Note: We can NOT use -z defs as we might desire, because we do not
10324 # link with -lc, and that would cause any symbols used from libc to
10325 # always be unresolved, which means just about no library would
10326 # ever link correctly. If we're not using GNU ld we use -z text
10327 # though, which does catch some bad symbols but isn't as heavy-handed
10329 no_undefined_flag
='${wl}-z,text'
10330 allow_undefined_flag
='${wl}-z,nodefs'
10331 archive_cmds_need_lc
=no
10332 hardcode_shlibpath_var
=no
10333 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10334 hardcode_libdir_separator
=':'
10335 link_all_deplibs
=yes
10336 export_dynamic_flag_spec
='${wl}-Bexport'
10337 runpath_var
='LD_RUN_PATH'
10339 if test "$GCC" = yes; then
10340 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10343 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10344 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10350 hardcode_libdir_flag_spec
='-L$libdir'
10351 hardcode_shlibpath_var
=no
10359 if test x
$host_vendor = xsni
; then
10361 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10362 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10369 $as_echo "$ld_shlibs" >&6; }
10370 test "$ld_shlibs" = no
&& can_build_shared
=no
10372 with_gnu_ld
=$with_gnu_ld
10389 # Do we need to explicitly link libc?
10391 case "x$archive_cmds_need_lc" in
10393 # Assume -lc should be added
10394 archive_cmds_need_lc
=yes
10396 if test "$enable_shared" = yes && test "$GCC" = yes; then
10397 case $archive_cmds in
10399 # FIXME: we may have to deal with multi-command sequences.
10402 # Test whether the compiler implicitly links with -lc since on some
10403 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10404 # to ld, don't add -lc before -lgcc.
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10406 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10407 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10408 $as_echo_n "(cached) " >&6
10411 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10414 (eval $ac_compile) 2>&5
10416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10417 test $ac_status = 0; } 2>conftest.err
; then
10420 libobjs
=conftest.
$ac_objext
10422 wl
=$lt_prog_compiler_wl
10423 pic_flag
=$lt_prog_compiler_pic
10429 lt_save_allow_undefined_flag
=$allow_undefined_flag
10430 allow_undefined_flag
=
10431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10432 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10435 test $ac_status = 0; }
10437 lt_cv_archive_cmds_need_lc
=no
10439 lt_cv_archive_cmds_need_lc
=yes
10441 allow_undefined_flag
=$lt_save_allow_undefined_flag
10443 cat conftest.err
1>&5
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10449 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10450 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10614 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10616 if test "$GCC" = yes; then
10618 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10619 *) lt_awk_arg
="/^libraries:/" ;;
10622 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10623 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10625 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10626 case $lt_search_path_spec in
10628 # if the path contains ";" then we assume it to be the separator
10629 # otherwise default to the standard path separator (i.e. ":") - it is
10630 # assumed that no part of a normal pathname contains ";" but that should
10631 # okay in the real world where ";" in dirpaths is itself problematic.
10632 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10635 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10638 # Ok, now we have the path, separated by spaces, we can step through it
10639 # and add multilib dir if necessary.
10640 lt_tmp_lt_search_path_spec
=
10641 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10642 for lt_sys_path
in $lt_search_path_spec; do
10643 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10644 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10646 test -d "$lt_sys_path" && \
10647 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10650 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10651 BEGIN {RS=" "; FS="/|\n";} {
10654 for (lt_i = NF; lt_i > 0; lt_i--) {
10655 if ($lt_i != "" && $lt_i != ".") {
10656 if ($lt_i == "..") {
10659 if (lt_count == 0) {
10660 lt_foo="/" $lt_i lt_foo;
10667 if (lt_foo != "") { lt_freq[lt_foo]++; }
10668 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10670 # AWK program above erroneously prepends '/' to C:/dos/paths
10673 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10674 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10676 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10678 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10680 library_names_spec
=
10681 libname_spec
='lib$name'
10685 postuninstall_cmds
=
10689 shlibpath_overrides_runpath
=unknown
10691 dynamic_linker
="$host_os ld.so"
10692 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10693 need_lib_prefix
=unknown
10694 hardcode_into_libs
=no
10696 # when you set need_version to no, make sure it does not cause -set_version
10697 # flags to be left without arguments
10698 need_version
=unknown
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10704 shlibpath_var
=LIBPATH
10706 # AIX 3 has no versioning support, so we append a major version to the name.
10707 soname_spec
='${libname}${release}${shared_ext}$major'
10714 hardcode_into_libs
=yes
10715 if test "$host_cpu" = ia64
; then
10716 # AIX 5 supports IA64
10717 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10718 shlibpath_var
=LD_LIBRARY_PATH
10720 # With GCC up to 2.95.x, collect2 would create an import file
10721 # for dependence libraries. The import file would start with
10722 # the line `#! .'. This would cause the generated library to
10723 # depend on `.', always an invalid library. This was fixed in
10724 # development snapshots of GCC prior to 3.0.
10726 aix4 | aix4.
[01] | aix4.
[01].
*)
10727 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10729 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10732 can_build_shared
=no
10736 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10737 # soname into executable. Probably we can add versioning support to
10738 # collect2, so additional links can be useful in future.
10739 if test "$aix_use_runtimelinking" = yes; then
10740 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10741 # instead of lib<name>.a to let people know that these are not
10742 # typical AIX shared libraries.
10743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 # We preserve .a as extension for shared libraries through AIX4.2
10746 # and later when we are not doing run time linking.
10747 library_names_spec
='${libname}${release}.a $libname.a'
10748 soname_spec
='${libname}${release}${shared_ext}$major'
10750 shlibpath_var
=LIBPATH
10757 # Since July 2007 AmigaOS4 officially supports .so libraries.
10758 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 library_names_spec
='$libname.ixlibrary $libname.a'
10763 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10764 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'
10770 library_names_spec
='${libname}${shared_ext}'
10771 dynamic_linker
="$host_os ld.so"
10772 shlibpath_var
=LIBRARY_PATH
10778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10779 soname_spec
='${libname}${release}${shared_ext}$major'
10780 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10781 shlibpath_var
=LD_LIBRARY_PATH
10782 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10783 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10784 # the default ld.so.conf also contains /usr/contrib/lib and
10785 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10786 # libtool to hard-code these into programs
10789 cygwin
* | mingw
* | pw32
* | cegcc
*)
10790 version_type
=windows
10795 case $GCC,$host_os in
10796 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10797 library_names_spec
='$libname.dll.a'
10798 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10799 postinstall_cmds
='base_file=`basename \${file}`~
10800 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10801 dldir=$destdir/`dirname \$dlpath`~
10802 test -d \$dldir || mkdir -p \$dldir~
10803 $install_prog $dir/$dlname \$dldir/$dlname~
10804 chmod a+x \$dldir/$dlname~
10805 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10806 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10808 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10809 dlpath=$dir/\$dldll~
10811 shlibpath_overrides_runpath
=yes
10815 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10816 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10818 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10821 # MinGW DLLs use traditional 'lib' prefix
10822 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10825 # pw32 DLLs use 'pw' prefix rather than 'lib'
10826 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10832 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10835 dynamic_linker
='Win32 ld.exe'
10836 # FIXME: first we should search . and the directory the executable is in
10840 darwin
* | rhapsody
*)
10841 dynamic_linker
="$host_os dyld"
10842 version_type
=darwin
10845 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10846 soname_spec
='${libname}${release}${major}$shared_ext'
10847 shlibpath_overrides_runpath
=yes
10848 shlibpath_var
=DYLD_LIBRARY_PATH
10849 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10851 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10852 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10860 soname_spec
='${libname}${release}${shared_ext}$major'
10861 shlibpath_var
=LD_LIBRARY_PATH
10864 freebsd
* | dragonfly
*)
10865 # DragonFly does not have aout. When/if they implement a new
10866 # versioning mechanism, adjust this.
10867 if test -x /usr
/bin
/objformat
; then
10868 objformat
=`/usr/bin/objformat`
10871 freebsd
[23].
*) objformat
=aout
;;
10872 *) objformat
=elf
;;
10875 version_type
=freebsd-
$objformat
10876 case $version_type in
10878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10887 shlibpath_var
=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath
=yes
10892 freebsd3.
[01]* | freebsdelf3.
[01]*)
10893 shlibpath_overrides_runpath
=yes
10894 hardcode_into_libs
=yes
10896 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10897 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10898 shlibpath_overrides_runpath
=no
10899 hardcode_into_libs
=yes
10901 *) # from 4.6 on, and DragonFly
10902 shlibpath_overrides_runpath
=yes
10903 hardcode_into_libs
=yes
10912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10913 soname_spec
='${libname}${release}${shared_ext}$major'
10914 shlibpath_var
=LD_LIBRARY_PATH
10915 hardcode_into_libs
=yes
10922 dynamic_linker
="$host_os runtime_loader"
10923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10924 soname_spec
='${libname}${release}${shared_ext}$major'
10925 shlibpath_var
=LIBRARY_PATH
10926 shlibpath_overrides_runpath
=yes
10927 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10928 hardcode_into_libs
=yes
10931 hpux9
* | hpux10
* | hpux11
*)
10932 # Give a soname corresponding to the major version so that dld.sl refuses to
10933 # link against other versions.
10940 hardcode_into_libs
=yes
10941 dynamic_linker
="$host_os dld.so"
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 soname_spec
='${libname}${release}${shared_ext}$major'
10946 if test "X$HPUX_IA64_MODE" = X32
; then
10947 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10949 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10951 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10955 hardcode_into_libs
=yes
10956 dynamic_linker
="$host_os dld.sl"
10957 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10958 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 soname_spec
='${libname}${release}${shared_ext}$major'
10961 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10962 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10966 dynamic_linker
="$host_os dld.sl"
10967 shlibpath_var
=SHLIB_PATH
10968 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970 soname_spec
='${libname}${release}${shared_ext}$major'
10973 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10974 postinstall_cmds
='chmod 555 $lib'
10975 # or fails outright, so override atomically:
10976 install_override_mode
=555
10983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10984 soname_spec
='${libname}${release}${shared_ext}$major'
10985 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10986 shlibpath_var
=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath
=no
10988 hardcode_into_libs
=yes
10991 irix5
* | irix6
* | nonstopux
*)
10993 nonstopux
*) version_type
=nonstopux
;;
10995 if test "$lt_cv_prog_gnu_ld" = yes; then
11003 soname_spec
='${libname}${release}${shared_ext}$major'
11004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11006 irix5
* | nonstopux
*)
11007 libsuff
= shlibsuff
=
11010 case $LD in # libtool.m4 will add one of these switches to LD
11011 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11012 libsuff
= shlibsuff
= libmagic
=32-bit;;
11013 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11014 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11015 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11016 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11017 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11021 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11022 shlibpath_overrides_runpath
=no
11023 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11024 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11025 hardcode_into_libs
=yes
11028 # No shared lib support for Linux oldld, aout, or coff.
11029 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11033 # This must be Linux ELF.
11034 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 soname_spec
='${libname}${release}${shared_ext}$major'
11040 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11041 shlibpath_var
=LD_LIBRARY_PATH
11042 shlibpath_overrides_runpath
=no
11044 # Some binutils ld are patched to set DT_RUNPATH
11045 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11046 $as_echo_n "(cached) " >&6
11048 lt_cv_shlibpath_overrides_runpath
=no
11049 save_LDFLAGS
=$LDFLAGS
11050 save_libdir
=$libdir
11051 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11052 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11064 if ac_fn_c_try_link
"$LINENO"; then :
11065 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11066 lt_cv_shlibpath_overrides_runpath
=yes
11069 rm -f core conftest.err conftest.
$ac_objext \
11070 conftest
$ac_exeext conftest.
$ac_ext
11071 LDFLAGS
=$save_LDFLAGS
11072 libdir
=$save_libdir
11076 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11078 # This implies no fast_install, which is unacceptable.
11079 # Some rework will be needed to allow for fast_install
11080 # before this can be enabled.
11081 hardcode_into_libs
=yes
11083 # Append ld.so.conf contents to the search path
11084 if test -f /etc
/ld.so.conf
; then
11085 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' ' '`
11086 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11089 # We used to test for /lib/ld.so.1 and disable shared libraries on
11090 # powerpc, because MkLinux only supported shared libraries with the
11091 # GNU dynamic linker. Since this was broken with cross compilers,
11092 # most powerpc-linux boxes support dynamic linking these days and
11093 # people can always --disable-shared, the test was removed, and we
11094 # assume the GNU/Linux dynamic linker is in use.
11095 dynamic_linker
='GNU/Linux ld.so'
11102 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11105 dynamic_linker
='NetBSD (a.out) ld.so'
11107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11108 soname_spec
='${libname}${release}${shared_ext}$major'
11109 dynamic_linker
='NetBSD ld.elf_so'
11111 shlibpath_var
=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath
=yes
11113 hardcode_into_libs
=yes
11118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 shlibpath_var
=LD_LIBRARY_PATH
11120 shlibpath_overrides_runpath
=yes
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 soname_spec
='${libname}${release}${shared_ext}$major'
11129 shlibpath_var
=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath
=no
11131 hardcode_into_libs
=yes
11132 dynamic_linker
='ldqnx.so'
11137 sys_lib_dlsearch_path_spec
="/usr/lib"
11139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11141 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11142 *) need_version
=no
;;
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11146 shlibpath_var
=LD_LIBRARY_PATH
11147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11149 openbsd2.
[89] | openbsd2.
[89].
*)
11150 shlibpath_overrides_runpath
=no
11153 shlibpath_overrides_runpath
=yes
11157 shlibpath_overrides_runpath
=yes
11162 libname_spec
='$name'
11165 library_names_spec
='$libname${shared_ext} $libname.a'
11166 dynamic_linker
='OS/2 ld.exe'
11167 shlibpath_var
=LIBPATH
11170 osf3
* | osf4
* | osf5
*)
11174 soname_spec
='${libname}${release}${shared_ext}$major'
11175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 shlibpath_var
=LD_LIBRARY_PATH
11177 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11178 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190 soname_spec
='${libname}${release}${shared_ext}$major'
11191 shlibpath_var
=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath
=yes
11193 hardcode_into_libs
=yes
11194 # ldd complains unless libraries are executable
11195 postinstall_cmds
='chmod +x $lib'
11200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11201 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11202 shlibpath_var
=LD_LIBRARY_PATH
11203 shlibpath_overrides_runpath
=yes
11204 if test "$with_gnu_ld" = yes; then
11212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213 soname_spec
='${libname}${release}${shared_ext}$major'
11214 shlibpath_var
=LD_LIBRARY_PATH
11215 case $host_vendor in
11217 shlibpath_overrides_runpath
=no
11219 runpath_var
=LD_RUN_PATH
11227 shlibpath_overrides_runpath
=no
11228 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11234 if test -d /usr
/nec
;then
11236 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11237 soname_spec
='$libname${shared_ext}.$major'
11238 shlibpath_var
=LD_LIBRARY_PATH
11242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11243 version_type
=freebsd-elf
11246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11247 soname_spec
='${libname}${release}${shared_ext}$major'
11248 shlibpath_var
=LD_LIBRARY_PATH
11249 shlibpath_overrides_runpath
=yes
11250 hardcode_into_libs
=yes
11251 if test "$with_gnu_ld" = yes; then
11252 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11254 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11257 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11261 sys_lib_dlsearch_path_spec
='/usr/lib'
11265 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270 shlibpath_var
=LD_LIBRARY_PATH
11271 shlibpath_overrides_runpath
=no
11272 hardcode_into_libs
=yes
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
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11287 $as_echo "$dynamic_linker" >&6; }
11288 test "$dynamic_linker" = no
&& can_build_shared
=no
11290 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11291 if test "$GCC" = yes; then
11292 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11295 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11296 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11298 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11299 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11394 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11396 if test -n "$hardcode_libdir_flag_spec" ||
11397 test -n "$runpath_var" ||
11398 test "X$hardcode_automatic" = "Xyes" ; then
11400 # We can hardcode non-existent directories.
11401 if test "$hardcode_direct" != no
&&
11402 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11403 # have to relink, otherwise we might link with an installed library
11404 # when we should be linking with a yet-to-be-installed one
11405 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11406 test "$hardcode_minus_L" != no
; then
11407 # Linking always hardcodes the temporary library directory.
11408 hardcode_action
=relink
11410 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11411 hardcode_action
=immediate
11414 # We cannot hardcode anything, or else we can only hardcode existing
11416 hardcode_action
=unsupported
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11419 $as_echo "$hardcode_action" >&6; }
11421 if test "$hardcode_action" = relink ||
11422 test "$inherit_rpath" = yes; then
11423 # Fast installation is not supported
11424 enable_fast_install
=no
11425 elif test "$shlibpath_overrides_runpath" = yes ||
11426 test "$enable_shared" = no
; then
11427 # Fast installation is not necessary
11428 enable_fast_install
=needless
11436 if test "x$enable_dlopen" != xyes
; then
11437 enable_dlopen
=unknown
11438 enable_dlopen_self
=unknown
11439 enable_dlopen_self_static
=unknown
11446 lt_cv_dlopen
="load_add_on"
11448 lt_cv_dlopen_self
=yes
11451 mingw
* | pw32
* | cegcc
*)
11452 lt_cv_dlopen
="LoadLibrary"
11457 lt_cv_dlopen
="dlopen"
11462 # if libdl is installed we need to link against it
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11464 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11465 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11466 $as_echo_n "(cached) " >&6
11468 ac_check_lib_save_LIBS
=$LIBS
11470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11488 if ac_fn_c_try_link
"$LINENO"; then :
11489 ac_cv_lib_dl_dlopen
=yes
11491 ac_cv_lib_dl_dlopen
=no
11493 rm -f core conftest.err conftest.
$ac_objext \
11494 conftest
$ac_exeext conftest.
$ac_ext
11495 LIBS
=$ac_check_lib_save_LIBS
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11498 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11499 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11500 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11503 lt_cv_dlopen
="dyld"
11505 lt_cv_dlopen_self
=yes
11512 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11513 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11514 lt_cv_dlopen
="shl_load"
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11517 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11518 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11519 $as_echo_n "(cached) " >&6
11521 ac_check_lib_save_LIBS
=$LIBS
11523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11536 return shl_load ();
11541 if ac_fn_c_try_link
"$LINENO"; then :
11542 ac_cv_lib_dld_shl_load
=yes
11544 ac_cv_lib_dld_shl_load
=no
11546 rm -f core conftest.err conftest.
$ac_objext \
11547 conftest
$ac_exeext conftest.
$ac_ext
11548 LIBS
=$ac_check_lib_save_LIBS
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11551 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11552 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11553 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11555 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11556 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11557 lt_cv_dlopen
="dlopen"
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11560 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11561 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11562 $as_echo_n "(cached) " >&6
11564 ac_check_lib_save_LIBS
=$LIBS
11566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11569 /* Override any GCC internal prototype to avoid an error.
11570 Use char because int might match the return type of a GCC
11571 builtin and then its argument prototype would still apply. */
11584 if ac_fn_c_try_link
"$LINENO"; then :
11585 ac_cv_lib_dl_dlopen
=yes
11587 ac_cv_lib_dl_dlopen
=no
11589 rm -f core conftest.err conftest.
$ac_objext \
11590 conftest
$ac_exeext conftest.
$ac_ext
11591 LIBS
=$ac_check_lib_save_LIBS
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11594 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11595 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11596 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11599 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11600 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11601 $as_echo_n "(cached) " >&6
11603 ac_check_lib_save_LIBS
=$LIBS
11604 LIBS
="-lsvld $LIBS"
11605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11623 if ac_fn_c_try_link
"$LINENO"; then :
11624 ac_cv_lib_svld_dlopen
=yes
11626 ac_cv_lib_svld_dlopen
=no
11628 rm -f core conftest.err conftest.
$ac_objext \
11629 conftest
$ac_exeext conftest.
$ac_ext
11630 LIBS
=$ac_check_lib_save_LIBS
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11633 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11634 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11635 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11638 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11639 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_lib_save_LIBS
=$LIBS
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11657 return dld_link ();
11662 if ac_fn_c_try_link
"$LINENO"; then :
11663 ac_cv_lib_dld_dld_link
=yes
11665 ac_cv_lib_dld_dld_link
=no
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_lib_save_LIBS
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11672 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11673 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11674 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11695 if test "x$lt_cv_dlopen" != xno
; then
11701 case $lt_cv_dlopen in
11703 save_CPPFLAGS
="$CPPFLAGS"
11704 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11706 save_LDFLAGS
="$LDFLAGS"
11707 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11710 LIBS
="$lt_cv_dlopen_libs $LIBS"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11713 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11714 if test "${lt_cv_dlopen_self+set}" = set; then :
11715 $as_echo_n "(cached) " >&6
11717 if test "$cross_compiling" = yes; then :
11718 lt_cv_dlopen_self
=cross
11720 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11721 lt_status
=$lt_dlunknown
11722 cat > conftest.
$ac_ext <<_LT_EOF
11723 #line 11723 "configure"
11724 #include "confdefs.h"
11733 # define LT_DLGLOBAL RTLD_GLOBAL
11736 # define LT_DLGLOBAL DL_GLOBAL
11738 # define LT_DLGLOBAL 0
11742 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11743 find out it does not work in some platform. */
11744 #ifndef LT_DLLAZY_OR_NOW
11746 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11749 # define LT_DLLAZY_OR_NOW DL_LAZY
11752 # define LT_DLLAZY_OR_NOW RTLD_NOW
11755 # define LT_DLLAZY_OR_NOW DL_NOW
11757 # define LT_DLLAZY_OR_NOW 0
11764 /* When -fvisbility=hidden is used, assume the code has been annotated
11765 correspondingly for the symbols needed. */
11766 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11767 void fnord () __attribute__((visibility("default")));
11770 void fnord () { int i=42; }
11773 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11774 int status = $lt_dlunknown;
11778 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11781 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11782 else puts (dlerror ());
11784 /* dlclose (self); */
11792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11793 (eval $ac_link) 2>&5
11795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11796 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11797 (.
/conftest
; exit; ) >&5 2>/dev
/null
11799 case x
$lt_status in
11800 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11801 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11802 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11805 # compilation failed
11806 lt_cv_dlopen_self
=no
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11814 $as_echo "$lt_cv_dlopen_self" >&6; }
11816 if test "x$lt_cv_dlopen_self" = xyes
; then
11817 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11819 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11820 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11821 $as_echo_n "(cached) " >&6
11823 if test "$cross_compiling" = yes; then :
11824 lt_cv_dlopen_self_static
=cross
11826 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11827 lt_status
=$lt_dlunknown
11828 cat > conftest.
$ac_ext <<_LT_EOF
11829 #line 11829 "configure"
11830 #include "confdefs.h"
11839 # define LT_DLGLOBAL RTLD_GLOBAL
11842 # define LT_DLGLOBAL DL_GLOBAL
11844 # define LT_DLGLOBAL 0
11848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11849 find out it does not work in some platform. */
11850 #ifndef LT_DLLAZY_OR_NOW
11852 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11855 # define LT_DLLAZY_OR_NOW DL_LAZY
11858 # define LT_DLLAZY_OR_NOW RTLD_NOW
11861 # define LT_DLLAZY_OR_NOW DL_NOW
11863 # define LT_DLLAZY_OR_NOW 0
11870 /* When -fvisbility=hidden is used, assume the code has been annotated
11871 correspondingly for the symbols needed. */
11872 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11873 void fnord () __attribute__((visibility("default")));
11876 void fnord () { int i=42; }
11879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11880 int status = $lt_dlunknown;
11884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11887 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11888 else puts (dlerror ());
11890 /* dlclose (self); */
11898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11899 (eval $ac_link) 2>&5
11901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11902 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11903 (.
/conftest
; exit; ) >&5 2>/dev
/null
11905 case x
$lt_status in
11906 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11907 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11908 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11911 # compilation failed
11912 lt_cv_dlopen_self_static
=no
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11920 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11923 CPPFLAGS
="$save_CPPFLAGS"
11924 LDFLAGS
="$save_LDFLAGS"
11929 case $lt_cv_dlopen_self in
11930 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11931 *) enable_dlopen_self
=unknown
;;
11934 case $lt_cv_dlopen_self_static in
11935 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11936 *) enable_dlopen_self_static
=unknown
;;
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11959 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11960 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11961 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11962 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11964 $as_echo "yes" >&6; }
11966 # FIXME - insert some real tests, host_os isn't really good enough
11969 if test -n "$STRIP" ; then
11970 striplib
="$STRIP -x"
11971 old_striplib
="$STRIP -S"
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11973 $as_echo "yes" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11976 $as_echo "no" >&6; }
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11981 $as_echo "no" >&6; }
11997 # Report which library types will actually be built
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11999 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12001 $as_echo "$can_build_shared" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12004 $as_echo_n "checking whether to build shared libraries... " >&6; }
12005 test "$can_build_shared" = "no" && enable_shared
=no
12007 # On AIX, shared libraries and static libraries use the same namespace, and
12008 # are all built from PIC.
12011 test "$enable_shared" = yes && enable_static
=no
12012 if test -n "$RANLIB"; then
12013 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12014 postinstall_cmds
='$RANLIB $lib'
12019 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12020 test "$enable_shared" = yes && enable_static
=no
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12025 $as_echo "$enable_shared" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12028 $as_echo_n "checking whether to build static libraries... " >&6; }
12029 # Make sure either enable_shared or enable_static is yes.
12030 test "$enable_shared" = yes || enable_static
=yes
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12032 $as_echo "$enable_static" >&6; }
12039 ac_cpp
='$CPP $CPPFLAGS'
12040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12046 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12047 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12048 (test "X$CXX" != "Xg++"))) ; then
12050 ac_cpp
='$CXXCPP $CPPFLAGS'
12051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12055 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12056 if test -z "$CXXCPP"; then
12057 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12058 $as_echo_n "(cached) " >&6
12060 # Double quotes because CXXCPP needs to be expanded
12061 for CXXCPP
in "$CXX -E" "/lib/cpp"
12063 ac_preproc_ok
=false
12064 for ac_cxx_preproc_warn_flag
in '' yes
12066 # Use a header file that comes with gcc, so configuring glibc
12067 # with a fresh cross-compiler works.
12068 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12069 # <limits.h> exists even on freestanding compilers.
12070 # On the NeXT, cc -E runs the code through the compiler's parser,
12071 # not just through cpp. "Syntax error" is here to catch this case.
12072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 # include <limits.h>
12077 # include <assert.h>
12081 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12084 # Broken: fails on valid input.
12087 rm -f conftest.err conftest.
$ac_ext
12089 # OK, works on sane cases. Now check whether nonexistent headers
12090 # can be detected and how.
12091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12093 #include <ac_nonexistent.h>
12095 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12096 # Broken: success on invalid input.
12099 # Passes both tests.
12103 rm -f conftest.err conftest.
$ac_ext
12106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12107 rm -f conftest.err conftest.
$ac_ext
12108 if $ac_preproc_ok; then :
12113 ac_cv_prog_CXXCPP
=$CXXCPP
12116 CXXCPP
=$ac_cv_prog_CXXCPP
12118 ac_cv_prog_CXXCPP
=$CXXCPP
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12121 $as_echo "$CXXCPP" >&6; }
12122 ac_preproc_ok
=false
12123 for ac_cxx_preproc_warn_flag
in '' yes
12125 # Use a header file that comes with gcc, so configuring glibc
12126 # with a fresh cross-compiler works.
12127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12128 # <limits.h> exists even on freestanding compilers.
12129 # On the NeXT, cc -E runs the code through the compiler's parser,
12130 # not just through cpp. "Syntax error" is here to catch this case.
12131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 # include <limits.h>
12136 # include <assert.h>
12140 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12143 # Broken: fails on valid input.
12146 rm -f conftest.err conftest.
$ac_ext
12148 # OK, works on sane cases. Now check whether nonexistent headers
12149 # can be detected and how.
12150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 #include <ac_nonexistent.h>
12154 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12155 # Broken: success on invalid input.
12158 # Passes both tests.
12162 rm -f conftest.err conftest.
$ac_ext
12165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12166 rm -f conftest.err conftest.
$ac_ext
12167 if $ac_preproc_ok; then :
12170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12172 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12173 See \`config.log' for more details." "$LINENO" 5; }
12177 ac_cpp
='$CPP $CPPFLAGS'
12178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12183 _lt_caught_CXX_error
=yes
12187 ac_cpp
='$CXXCPP $CPPFLAGS'
12188 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12189 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12190 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12192 archive_cmds_need_lc_CXX
=no
12193 allow_undefined_flag_CXX
=
12194 always_export_symbols_CXX
=no
12195 archive_expsym_cmds_CXX
=
12196 compiler_needs_object_CXX
=no
12197 export_dynamic_flag_spec_CXX
=
12198 hardcode_direct_CXX
=no
12199 hardcode_direct_absolute_CXX
=no
12200 hardcode_libdir_flag_spec_CXX
=
12201 hardcode_libdir_flag_spec_ld_CXX
=
12202 hardcode_libdir_separator_CXX
=
12203 hardcode_minus_L_CXX
=no
12204 hardcode_shlibpath_var_CXX
=unsupported
12205 hardcode_automatic_CXX
=no
12206 inherit_rpath_CXX
=no
12208 module_expsym_cmds_CXX
=
12209 link_all_deplibs_CXX
=unknown
12210 old_archive_cmds_CXX
=$old_archive_cmds
12211 reload_flag_CXX
=$reload_flag
12212 reload_cmds_CXX
=$reload_cmds
12213 no_undefined_flag_CXX
=
12214 whole_archive_flag_spec_CXX
=
12215 enable_shared_with_static_runtimes_CXX
=no
12217 # Source file extension for C++ test sources.
12220 # Object file extension for compiled C++ test sources.
12224 # No sense in running all these tests if we already determined that
12225 # the CXX compiler isn't working. Some variables (like enable_shared)
12226 # are currently assumed to apply to all compilers on this platform,
12227 # and will be corrupted by setting them based on a non-working compiler.
12228 if test "$_lt_caught_CXX_error" != yes; then
12229 # Code to be used in simple compile tests
12230 lt_simple_compile_test_code
="int some_variable = 0;"
12232 # Code to be used in simple link tests
12233 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12235 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12242 # If no C compiler was specified, use CC.
12245 # If no C compiler flags were specified, use CFLAGS.
12246 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12248 # Allow CC to be a program name with arguments.
12252 # save warnings/boilerplate of simple test code
12253 ac_outfile
=conftest.
$ac_objext
12254 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12255 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12256 _lt_compiler_boilerplate
=`cat conftest.err`
12259 ac_outfile
=conftest.
$ac_objext
12260 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12261 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12262 _lt_linker_boilerplate
=`cat conftest.err`
12266 # Allow CC to be a program name with arguments.
12271 lt_save_with_gnu_ld
=$with_gnu_ld
12272 lt_save_path_LD
=$lt_cv_path_LD
12273 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12274 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12276 $as_unset lt_cv_prog_gnu_ld
12278 if test -n "${lt_cv_path_LDCXX+set}"; then
12279 lt_cv_path_LD
=$lt_cv_path_LDCXX
12281 $as_unset lt_cv_path_LD
12283 test -z "${LDCXX+set}" || LD
=$LDCXX
12287 for cc_temp
in $compiler""; do
12289 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12290 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12295 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12298 if test -n "$compiler"; then
12299 # We don't want -fno-exception when compiling C++ code, so set the
12300 # no_builtin_flag separately
12301 if test "$GXX" = yes; then
12302 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12304 lt_prog_compiler_no_builtin_flag_CXX
=
12307 if test "$GXX" = yes; then
12308 # Set up default GNU C++ configuration
12312 # Check whether --with-gnu-ld was given.
12313 if test "${with_gnu_ld+set}" = set; then :
12314 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12320 if test "$GCC" = yes; then
12321 # Check if gcc -print-prog-name=ld gives a path.
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12323 $as_echo_n "checking for ld used by $CC... " >&6; }
12326 # gcc leaves a trailing carriage return which upsets mingw
12327 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12329 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12332 # Accept absolute paths.
12334 re_direlt
='/[^/][^/]*/\.\./'
12335 # Canonicalize the pathname of ld
12336 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12337 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12338 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12340 test -z "$LD" && LD
="$ac_prog"
12343 # If it fails, then pretend we aren't using GCC.
12347 # If it is relative, then search for the first ld in PATH.
12348 with_gnu_ld
=unknown
12351 elif test "$with_gnu_ld" = yes; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12353 $as_echo_n "checking for GNU ld... " >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12356 $as_echo_n "checking for non-GNU ld... " >&6; }
12358 if test "${lt_cv_path_LD+set}" = set; then :
12359 $as_echo_n "(cached) " >&6
12361 if test -z "$LD"; then
12362 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12363 for ac_dir
in $PATH; do
12365 test -z "$ac_dir" && ac_dir
=.
12366 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12367 lt_cv_path_LD
="$ac_dir/$ac_prog"
12368 # Check to see if the program is GNU ld. I'd rather use --version,
12369 # but apparently some variants of GNU ld only accept -v.
12370 # Break only if it was the GNU/non-GNU ld that we prefer.
12371 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12372 *GNU
* |
*'with BFD'*)
12373 test "$with_gnu_ld" != no
&& break
12376 test "$with_gnu_ld" != yes && break
12383 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12387 LD
="$lt_cv_path_LD"
12388 if test -n "$LD"; then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12390 $as_echo "$LD" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12395 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12397 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12398 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12399 $as_echo_n "(cached) " >&6
12401 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12402 case `$LD -v 2>&1 </dev/null` in
12403 *GNU
* |
*'with BFD'*)
12404 lt_cv_prog_gnu_ld
=yes
12407 lt_cv_prog_gnu_ld
=no
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12412 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12413 with_gnu_ld
=$lt_cv_prog_gnu_ld
12421 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12422 # archiving commands below assume that GNU ld is being used.
12423 if test "$with_gnu_ld" = yes; then
12424 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12425 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'
12427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12428 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12430 # If archive_cmds runs LD, not CC, wlarc should be empty
12431 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12432 # investigate it a little bit more. (MM)
12435 # ancient GNU ld didn't support --whole-archive et. al.
12436 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12437 $GREP 'no-whole-archive' > /dev
/null
; then
12438 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12440 whole_archive_flag_spec_CXX
=
12446 # A generic and very simple default shared library creation
12447 # command for GNU C++ for the case where it uses the native
12448 # linker, instead of GNU ld. If possible, this setting should
12449 # overridden to take advantage of the native linker features on
12450 # the platform it is being used on.
12451 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12454 # Commands to make compiler produce verbose output that lists
12455 # what "hidden" libraries, object files and flags are used when
12456 # linking a shared library.
12457 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12465 # PORTME: fill in a description of your system's C++ link characteristics
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12467 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12471 # FIXME: insert proper C++ library support
12475 if test "$host_cpu" = ia64
; then
12476 # On IA64, the linker does run time linking by default, so we don't
12477 # have to do anything special.
12478 aix_use_runtimelinking
=no
12479 exp_sym_flag
='-Bexport'
12482 aix_use_runtimelinking
=no
12484 # Test if we are trying to use run time linking or normal
12485 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12486 # need to do runtime linking.
12487 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12488 for ld_flag
in $LDFLAGS; do
12491 aix_use_runtimelinking
=yes
12499 exp_sym_flag
='-bexport'
12500 no_entry_flag
='-bnoentry'
12503 # When large executables or shared objects are built, AIX ld can
12504 # have problems creating the table of contents. If linking a library
12505 # or program results in "error TOC overflow" add -mminimal-toc to
12506 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12507 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12509 archive_cmds_CXX
=''
12510 hardcode_direct_CXX
=yes
12511 hardcode_direct_absolute_CXX
=yes
12512 hardcode_libdir_separator_CXX
=':'
12513 link_all_deplibs_CXX
=yes
12514 file_list_spec_CXX
='${wl}-f,'
12516 if test "$GXX" = yes; then
12517 case $host_os in aix4.
[012]|aix4.
[012].
*)
12518 # We only want to do this on AIX 4.2 and lower, the check
12519 # below for broken collect2 doesn't work under 4.3+
12520 collect2name
=`${CC} -print-prog-name=collect2`
12521 if test -f "$collect2name" &&
12522 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12524 # We have reworked collect2
12527 # We have old collect2
12528 hardcode_direct_CXX
=unsupported
12529 # It fails to find uninstalled libraries when the uninstalled
12530 # path is not listed in the libpath. Setting hardcode_minus_L
12531 # to unsupported forces relinking
12532 hardcode_minus_L_CXX
=yes
12533 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12534 hardcode_libdir_separator_CXX
=
12537 shared_flag
='-shared'
12538 if test "$aix_use_runtimelinking" = yes; then
12539 shared_flag
="$shared_flag "'${wl}-G'
12543 if test "$host_cpu" = ia64
; then
12544 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12545 # chokes on -Wl,-G. The following line is correct:
12548 if test "$aix_use_runtimelinking" = yes; then
12549 shared_flag
='${wl}-G'
12551 shared_flag
='${wl}-bM:SRE'
12556 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12557 # It seems that -bexpall does not export symbols beginning with
12558 # underscore (_), so it is better to generate a list of symbols to
12560 always_export_symbols_CXX
=yes
12561 if test "$aix_use_runtimelinking" = yes; then
12562 # Warning - without using the other runtime loading flags (-brtl),
12563 # -berok will link without error, but may produce a broken library.
12564 allow_undefined_flag_CXX
='-berok'
12565 # Determine the default libpath from the value encoded in an empty
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12578 if ac_fn_cxx_try_link
"$LINENO"; then :
12580 lt_aix_libpath_sed
='
12581 /Import File Strings/,/^$/ {
12587 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12588 # Check for a 64-bit object if we didn't find anything.
12589 if test -z "$aix_libpath"; then
12590 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12593 rm -f core conftest.err conftest.
$ac_objext \
12594 conftest
$ac_exeext conftest.
$ac_ext
12595 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12597 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12599 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"
12601 if test "$host_cpu" = ia64
; then
12602 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12603 allow_undefined_flag_CXX
="-z nodefs"
12604 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"
12606 # Determine the default libpath from the value encoded in an
12607 # empty executable.
12608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12619 if ac_fn_cxx_try_link
"$LINENO"; then :
12621 lt_aix_libpath_sed
='
12622 /Import File Strings/,/^$/ {
12628 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12629 # Check for a 64-bit object if we didn't find anything.
12630 if test -z "$aix_libpath"; then
12631 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12634 rm -f core conftest.err conftest.
$ac_objext \
12635 conftest
$ac_exeext conftest.
$ac_ext
12636 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12638 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12639 # Warning - without using the other run time loading flags,
12640 # -berok will link without error, but may produce a broken library.
12641 no_undefined_flag_CXX
=' ${wl}-bernotok'
12642 allow_undefined_flag_CXX
=' ${wl}-berok'
12643 if test "$with_gnu_ld" = yes; then
12644 # We only use this code for GNU lds that support --whole-archive.
12645 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12647 # Exported symbols can be pulled into shared objects from archives
12648 whole_archive_flag_spec_CXX
='$convenience'
12650 archive_cmds_need_lc_CXX
=yes
12651 # This is similar to how AIX traditionally builds its shared
12653 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'
12659 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12660 allow_undefined_flag_CXX
=unsupported
12661 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12662 # support --undefined. This deserves some investigation. FIXME
12663 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12670 case $cc_basename in
12672 # FIXME: insert proper C++ library support
12678 cygwin
* | mingw
* | pw32
* | cegcc
*)
12679 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12680 # as there is no search path for DLLs.
12681 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12682 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12683 allow_undefined_flag_CXX
=unsupported
12684 always_export_symbols_CXX
=no
12685 enable_shared_with_static_runtimes_CXX
=yes
12687 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12688 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'
12689 # If the export-symbols file already is a .def file (1st line
12690 # is EXPORTS), use it as is; otherwise, prepend...
12691 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12692 cp $export_symbols $output_objdir/$soname.def;
12694 echo EXPORTS > $output_objdir/$soname.def;
12695 cat $export_symbols >> $output_objdir/$soname.def;
12697 $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'
12702 darwin
* | rhapsody
*)
12705 archive_cmds_need_lc_CXX
=no
12706 hardcode_direct_CXX
=no
12707 hardcode_automatic_CXX
=yes
12708 hardcode_shlibpath_var_CXX
=unsupported
12709 if test "$lt_cv_ld_force_load" = "yes"; then
12710 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\"`'
12712 whole_archive_flag_spec_CXX
=''
12714 link_all_deplibs_CXX
=yes
12715 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12716 case $cc_basename in
12717 ifort
*) _lt_dar_can_shared
=yes ;;
12718 *) _lt_dar_can_shared
=$GCC ;;
12720 if test "$_lt_dar_can_shared" = "yes"; then
12721 output_verbose_link_cmd
=func_echo_all
12722 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}"
12723 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12724 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}"
12725 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}"
12726 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12727 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}"
12728 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}"
12738 case $cc_basename in
12740 # FIXME: insert proper C++ library support
12744 # Green Hills C++ Compiler
12745 # FIXME: insert proper C++ library support
12749 # FIXME: insert proper C++ library support
12756 # C++ shared libraries reported to be fairly broken before
12762 archive_cmds_need_lc_CXX
=no
12765 freebsd
* | dragonfly
*)
12766 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12775 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12776 link_all_deplibs_CXX
=yes
12780 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12781 hardcode_libdir_separator_CXX
=:
12782 export_dynamic_flag_spec_CXX
='${wl}-E'
12783 hardcode_direct_CXX
=yes
12784 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12785 # but as the default
12786 # location of the library.
12788 case $cc_basename in
12790 # FIXME: insert proper C++ library support
12794 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'
12795 # Commands to make compiler produce verbose output that lists
12796 # what "hidden" libraries, object files and flags are used when
12797 # linking a shared library.
12799 # There doesn't appear to be a way to prevent this compiler from
12800 # explicitly linking system object files so we need to strip them
12801 # from the output so that they don't get included in the library
12803 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"'
12806 if test "$GXX" = yes; then
12807 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'
12809 # FIXME: insert proper C++ library support
12817 if test $with_gnu_ld = no
; then
12818 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12819 hardcode_libdir_separator_CXX
=:
12825 export_dynamic_flag_spec_CXX
='${wl}-E'
12831 hardcode_direct_CXX
=no
12832 hardcode_shlibpath_var_CXX
=no
12835 hardcode_direct_CXX
=yes
12836 hardcode_direct_absolute_CXX
=yes
12837 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12838 # but as the default
12839 # location of the library.
12843 case $cc_basename in
12845 # FIXME: insert proper C++ library support
12851 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12854 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12857 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12860 # Commands to make compiler produce verbose output that lists
12861 # what "hidden" libraries, object files and flags are used when
12862 # linking a shared library.
12864 # There doesn't appear to be a way to prevent this compiler from
12865 # explicitly linking system object files so we need to strip them
12866 # from the output so that they don't get included in the library
12868 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"'
12871 if test "$GXX" = yes; then
12872 if test $with_gnu_ld = no
; then
12875 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12878 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12881 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'
12886 # FIXME: insert proper C++ library support
12894 hardcode_direct_CXX
=no
12895 hardcode_shlibpath_var_CXX
=no
12896 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12897 export_dynamic_flag_spec_CXX
='${wl}-E'
12898 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12899 # Instead, shared libraries are loaded at an image base (0x10000000 by
12900 # default) and relocated if they conflict, which is a slow very memory
12901 # consuming and fragmenting process. To avoid this, we pick a random,
12902 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12903 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12904 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'
12905 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'
12908 case $cc_basename in
12911 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'
12913 # Archives containing C++ object files must be created using
12914 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12915 # necessary to make sure instantiated templates are included
12917 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12920 if test "$GXX" = yes; then
12921 if test "$with_gnu_ld" = no
; then
12922 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'
12924 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'
12927 link_all_deplibs_CXX
=yes
12930 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12931 hardcode_libdir_separator_CXX
=:
12932 inherit_rpath_CXX
=yes
12935 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12936 case $cc_basename in
12938 # Kuck and Associates, Inc. (KAI) C++ Compiler
12940 # KCC will only create a shared library if the output file
12941 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12942 # to its proper name (with version) after linking.
12943 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'
12944 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'
12945 # Commands to make compiler produce verbose output that lists
12946 # what "hidden" libraries, object files and flags are used when
12947 # linking a shared library.
12949 # There doesn't appear to be a way to prevent this compiler from
12950 # explicitly linking system object files so we need to strip them
12951 # from the output so that they don't get included in the library
12953 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"'
12955 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12956 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12958 # Archives containing C++ object files must be created using
12959 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12960 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12965 # version 8.0 and above of icpc choke on multiply defined symbols
12966 # if we add $predep_objects and $postdep_objects, however 7.1 and
12967 # earlier do not add the objects themselves.
12968 case `$CC -V 2>&1` in
12970 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12971 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'
12973 *) # Version 8.0 or newer
12976 ia64
*) tmp_idyn
=' -i_dynamic';;
12978 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12979 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'
12982 archive_cmds_need_lc_CXX
=no
12983 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12984 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12985 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12988 # Portland Group C++ compiler
12990 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12991 prelink_cmds_CXX
='tpldir=Template.dir~
12993 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12994 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12995 old_archive_cmds_CXX
='tpldir=Template.dir~
12997 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12998 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13000 archive_cmds_CXX
='tpldir=Template.dir~
13002 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13003 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13004 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13006 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13007 $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'
13009 *) # Version 6 and above use weak symbols
13010 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13011 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'
13015 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13016 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13017 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'
13021 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13022 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'
13024 runpath_var
=LD_RUN_PATH
13025 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13026 hardcode_libdir_separator_CXX
=:
13028 # Commands to make compiler produce verbose output that lists
13029 # what "hidden" libraries, object files and flags are used when
13030 # linking a shared library.
13032 # There doesn't appear to be a way to prevent this compiler from
13033 # explicitly linking system object files so we need to strip them
13034 # from the output so that they don't get included in the library
13036 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'
13038 xl
* | mpixl
* | bgxl
*)
13039 # IBM XL 8.0 on PPC, with GNU ld
13040 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13041 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13042 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13043 if test "x$supports_anon_versioning" = xyes
; then
13044 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13045 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13046 echo "local: *; };" >> $output_objdir/$libname.ver~
13047 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13051 case `$CC -V 2>&1 | sed 5q` in
13054 no_undefined_flag_CXX
=' -zdefs'
13055 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13056 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'
13057 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13058 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'
13059 compiler_needs_object_CXX
=yes
13061 # Not sure whether something based on
13062 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13064 output_verbose_link_cmd
='func_echo_all'
13066 # Archives containing C++ object files must be created using
13067 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13068 # necessary to make sure instantiated templates are included
13070 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13078 # FIXME: insert proper C++ library support
13083 # FIXME: insert proper C++ library support
13088 case $cc_basename in
13090 # FIXME: insert proper C++ library support
13094 # FIXME: insert proper C++ library support
13101 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13102 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13104 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13105 hardcode_direct_CXX
=yes
13106 hardcode_shlibpath_var_CXX
=no
13108 # Workaround some broken pre-1.5 toolchains
13109 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13117 # C++ shared libraries are fairly broken
13122 if test -f /usr
/libexec
/ld.so
; then
13123 hardcode_direct_CXX
=yes
13124 hardcode_shlibpath_var_CXX
=no
13125 hardcode_direct_absolute_CXX
=yes
13126 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13127 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13128 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13129 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13130 export_dynamic_flag_spec_CXX
='${wl}-E'
13131 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13133 output_verbose_link_cmd
=func_echo_all
13139 osf3
* | osf4
* | osf5
*)
13140 case $cc_basename in
13142 # Kuck and Associates, Inc. (KAI) C++ Compiler
13144 # KCC will only create a shared library if the output file
13145 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13146 # to its proper name (with version) after linking.
13147 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'
13149 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13150 hardcode_libdir_separator_CXX
=:
13152 # Archives containing C++ object files must be created using
13153 # the KAI C++ compiler.
13155 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13156 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13160 # Rational C++ 2.4.1
13161 # FIXME: insert proper C++ library support
13167 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13168 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'
13169 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13172 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13173 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'
13174 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13175 echo "-hidden">> $lib.exp~
13176 $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~
13178 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13182 hardcode_libdir_separator_CXX
=:
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13188 # There doesn't appear to be a way to prevent this compiler from
13189 # explicitly linking system object files so we need to strip them
13190 # from the output so that they don't get included in the library
13192 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"'
13195 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13196 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13199 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'
13202 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'
13206 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13207 hardcode_libdir_separator_CXX
=:
13209 # Commands to make compiler produce verbose output that lists
13210 # what "hidden" libraries, object files and flags are used when
13211 # linking a shared library.
13212 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13215 # FIXME: insert proper C++ library support
13223 # FIXME: insert proper C++ library support
13228 case $cc_basename in
13231 # FIXME: insert proper C++ library support
13236 # FIXME: insert proper C++ library support
13240 # FIXME: insert proper C++ library support
13247 case $cc_basename in
13249 # Sun C++ 4.2, 5.x and Centerline C++
13250 archive_cmds_need_lc_CXX
=yes
13251 no_undefined_flag_CXX
=' -zdefs'
13252 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13253 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13254 $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'
13256 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13257 hardcode_shlibpath_var_CXX
=no
13259 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13261 # The compiler driver will combine and reorder linker options,
13262 # but understands `-z linker_flag'.
13263 # Supported since Solaris 2.6 (maybe 2.5.1?)
13264 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13267 link_all_deplibs_CXX
=yes
13269 output_verbose_link_cmd
='func_echo_all'
13271 # Archives containing C++ object files must be created using
13272 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13273 # necessary to make sure instantiated templates are included
13275 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13278 # Green Hills C++ Compiler
13279 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13281 # The C++ compiler must be used to create the archive.
13282 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13285 # GNU C++ compiler with Solaris linker
13286 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13287 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13288 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13289 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13290 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13291 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13293 # Commands to make compiler produce verbose output that lists
13294 # what "hidden" libraries, object files and flags are used when
13295 # linking a shared library.
13296 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13298 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13300 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13301 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13302 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13304 # Commands to make compiler produce verbose output that lists
13305 # what "hidden" libraries, object files and flags are used when
13306 # linking a shared library.
13307 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13310 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13312 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13314 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13322 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13323 no_undefined_flag_CXX
='${wl}-z,text'
13324 archive_cmds_need_lc_CXX
=no
13325 hardcode_shlibpath_var_CXX
=no
13326 runpath_var
='LD_RUN_PATH'
13328 case $cc_basename in
13330 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13331 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13334 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13335 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13340 sysv5
* | sco3.2v5
* | sco5v6
*)
13341 # Note: We can NOT use -z defs as we might desire, because we do not
13342 # link with -lc, and that would cause any symbols used from libc to
13343 # always be unresolved, which means just about no library would
13344 # ever link correctly. If we're not using GNU ld we use -z text
13345 # though, which does catch some bad symbols but isn't as heavy-handed
13347 no_undefined_flag_CXX
='${wl}-z,text'
13348 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13349 archive_cmds_need_lc_CXX
=no
13350 hardcode_shlibpath_var_CXX
=no
13351 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13352 hardcode_libdir_separator_CXX
=':'
13353 link_all_deplibs_CXX
=yes
13354 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13355 runpath_var
='LD_RUN_PATH'
13357 case $cc_basename in
13359 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13360 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13361 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13362 '"$old_archive_cmds_CXX"
13363 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13364 '"$reload_cmds_CXX"
13367 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13368 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13374 case $cc_basename in
13376 # NonStop-UX NCC 3.20
13377 # FIXME: insert proper C++ library support
13381 # FIXME: insert proper C++ library support
13388 # FIXME: insert proper C++ library support
13393 # FIXME: insert proper C++ library support
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13399 $as_echo "$ld_shlibs_CXX" >&6; }
13400 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13406 ## There is no encapsulation within the following macros, do not change
13407 ## the running order or otherwise move them around unless you know exactly
13408 ## what you are doing...
13409 # Dependencies to place before and after the object being linked:
13410 predep_objects_CXX
=
13411 postdep_objects_CXX
=
13414 compiler_lib_search_path_CXX
=
13416 cat > conftest.
$ac_ext <<_LT_EOF
13420 Foo (void) { a = 0; }
13426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13427 (eval $ac_compile) 2>&5
13429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13430 test $ac_status = 0; }; then
13431 # Parse the compiler output and extract the necessary
13432 # objects, libraries and library flags.
13434 # Sentinel used to keep track of whether or not we are before
13435 # the conftest object file.
13436 pre_test_object_deps_done
=no
13438 for p
in `eval "$output_verbose_link_cmd"`; do
13442 # Some compilers place space between "-{L,R}" and the path.
13443 # Remove the space.
13444 if test $p = "-L" ||
13445 test $p = "-R"; then
13452 if test "$pre_test_object_deps_done" = no
; then
13455 # Internal compiler library paths should come after those
13456 # provided the user. The postdeps already come after the
13457 # user supplied libs so there is no need to process them.
13458 if test -z "$compiler_lib_search_path_CXX"; then
13459 compiler_lib_search_path_CXX
="${prev}${p}"
13461 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13464 # The "-l" case would never come before the object being
13465 # linked, so don't bother handling this case.
13468 if test -z "$postdeps_CXX"; then
13469 postdeps_CXX
="${prev}${p}"
13471 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13477 # This assumes that the test object file only shows up
13478 # once in the compiler output.
13479 if test "$p" = "conftest.$objext"; then
13480 pre_test_object_deps_done
=yes
13484 if test "$pre_test_object_deps_done" = no
; then
13485 if test -z "$predep_objects_CXX"; then
13486 predep_objects_CXX
="$p"
13488 predep_objects_CXX
="$predep_objects_CXX $p"
13491 if test -z "$postdep_objects_CXX"; then
13492 postdep_objects_CXX
="$p"
13494 postdep_objects_CXX
="$postdep_objects_CXX $p"
13499 *) ;; # Ignore the rest.
13507 echo "libtool.m4: error: problem compiling CXX test program"
13510 $RM -f confest.
$objext
13512 # PORTME: override above test on systems where it is broken
13515 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13516 # hack all around it, let's just trust "g++" to DTRT.
13517 predep_objects_CXX
=
13518 postdep_objects_CXX
=
13523 case `$CC -V 2>&1 | sed 5q` in
13527 # The more standards-conforming stlport4 library is
13528 # incompatible with the Cstd library. Avoid specifying
13529 # it if it's in CXXFLAGS. Ignore libCrun as
13530 # -library=stlport4 depends on it.
13531 case " $CXX $CXXFLAGS " in
13532 *" -library=stlport4 "*)
13533 solaris_use_stlport4
=yes
13537 if test "$solaris_use_stlport4" != yes; then
13538 postdeps_CXX
='-library=Cstd -library=Crun'
13545 case $cc_basename in
13547 # The more standards-conforming stlport4 library is
13548 # incompatible with the Cstd library. Avoid specifying
13549 # it if it's in CXXFLAGS. Ignore libCrun as
13550 # -library=stlport4 depends on it.
13551 case " $CXX $CXXFLAGS " in
13552 *" -library=stlport4 "*)
13553 solaris_use_stlport4
=yes
13557 # Adding this requires a known-good setup of shared libraries for
13558 # Sun compiler versions before 5.6, else PIC objects from an old
13559 # archive will be linked into the output, leading to subtle bugs.
13560 if test "$solaris_use_stlport4" != yes; then
13561 postdeps_CXX
='-library=Cstd -library=Crun'
13569 case " $postdeps_CXX " in
13570 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13572 compiler_lib_search_dirs_CXX
=
13573 if test -n "${compiler_lib_search_path_CXX}"; then
13574 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13607 lt_prog_compiler_wl_CXX
=
13608 lt_prog_compiler_pic_CXX
=
13609 lt_prog_compiler_static_CXX
=
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13614 # C++ specific cases for pic, static, wl, etc.
13615 if test "$GXX" = yes; then
13616 lt_prog_compiler_wl_CXX
='-Wl,'
13617 lt_prog_compiler_static_CXX
='-static'
13621 # All AIX code is PIC.
13622 if test "$host_cpu" = ia64
; then
13623 # AIX 5 now supports IA64 processor
13624 lt_prog_compiler_static_CXX
='-Bstatic'
13631 # see comment about AmigaOS4 .so support
13632 lt_prog_compiler_pic_CXX
='-fPIC'
13635 # FIXME: we need at least 68020 code to build shared libraries, but
13636 # adding the `-m68020' flag to GCC prevents building anything better,
13638 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13643 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13644 # PIC is the default for these OSes.
13646 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13647 # This hack is so that the source file can tell whether it is being
13648 # built for inclusion in a dll (and should export symbols for example).
13649 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13650 # (--disable-auto-import) libraries
13651 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13653 darwin
* | rhapsody
*)
13654 # PIC is the default on this platform
13655 # Common symbols not allowed in MH_DYLIB files
13656 lt_prog_compiler_pic_CXX
='-fno-common'
13659 # DJGPP does not support shared libraries at all
13660 lt_prog_compiler_pic_CXX
=
13663 # PIC is the default for Haiku.
13664 # The "-static" flag exists, but is broken.
13665 lt_prog_compiler_static_CXX
=
13668 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13669 # Instead, we relocate shared libraries at runtime.
13672 if test -d /usr
/nec
; then
13673 lt_prog_compiler_pic_CXX
=-Kconform_pic
13677 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13678 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13679 # sets the default TLS model and affects inlining.
13684 lt_prog_compiler_pic_CXX
='-fPIC'
13689 # QNX uses GNU C++, but need to define -shared option too, otherwise
13690 # it will coredump.
13691 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13694 lt_prog_compiler_pic_CXX
='-fPIC'
13700 # All AIX code is PIC.
13701 if test "$host_cpu" = ia64
; then
13702 # AIX 5 now supports IA64 processor
13703 lt_prog_compiler_static_CXX
='-Bstatic'
13705 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13709 case $cc_basename in
13711 # Green Hills C++ Compiler
13712 # _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"
13717 case $cc_basename in
13719 lt_prog_compiler_pic_CXX
='-KPIC'
13722 # Green Hills C++ Compiler
13723 lt_prog_compiler_pic_CXX
='-pic'
13729 freebsd
* | dragonfly
*)
13730 # FreeBSD uses GNU C++
13732 hpux9
* | hpux10
* | hpux11
*)
13733 case $cc_basename in
13735 lt_prog_compiler_wl_CXX
='-Wl,'
13736 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13737 if test "$host_cpu" != ia64
; then
13738 lt_prog_compiler_pic_CXX
='+Z'
13742 lt_prog_compiler_wl_CXX
='-Wl,'
13743 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13749 lt_prog_compiler_pic_CXX
='+Z'
13758 # This is c89, which is MS Visual C++ (no shared libs)
13759 # Anyone wants to do a port?
13761 irix5
* | irix6
* | nonstopux
*)
13762 case $cc_basename in
13764 lt_prog_compiler_wl_CXX
='-Wl,'
13765 lt_prog_compiler_static_CXX
='-non_shared'
13766 # CC pic flag -KPIC is the default.
13772 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13773 case $cc_basename in
13776 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13777 lt_prog_compiler_pic_CXX
='-fPIC'
13780 # old Intel C++ for x86_64 which still supported -KPIC.
13781 lt_prog_compiler_wl_CXX
='-Wl,'
13782 lt_prog_compiler_pic_CXX
='-KPIC'
13783 lt_prog_compiler_static_CXX
='-static'
13786 # Intel C++, used to be incompatible with GCC.
13787 # ICC 10 doesn't accept -KPIC any more.
13788 lt_prog_compiler_wl_CXX
='-Wl,'
13789 lt_prog_compiler_pic_CXX
='-fPIC'
13790 lt_prog_compiler_static_CXX
='-static'
13793 # Portland Group C++ compiler
13794 lt_prog_compiler_wl_CXX
='-Wl,'
13795 lt_prog_compiler_pic_CXX
='-fpic'
13796 lt_prog_compiler_static_CXX
='-Bstatic'
13800 # Make sure the PIC flag is empty. It appears that all Alpha
13801 # Linux and Compaq Tru64 Unix objects are PIC.
13802 lt_prog_compiler_pic_CXX
=
13803 lt_prog_compiler_static_CXX
='-non_shared'
13805 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13806 # IBM XL 8.0, 9.0 on PPC and BlueGene
13807 lt_prog_compiler_wl_CXX
='-Wl,'
13808 lt_prog_compiler_pic_CXX
='-qpic'
13809 lt_prog_compiler_static_CXX
='-qstaticlink'
13812 case `$CC -V 2>&1 | sed 5q` in
13815 lt_prog_compiler_pic_CXX
='-KPIC'
13816 lt_prog_compiler_static_CXX
='-Bstatic'
13817 lt_prog_compiler_wl_CXX
='-Qoption ld '
13828 case $cc_basename in
13830 lt_prog_compiler_pic_CXX
='-W c,exportall'
13839 # QNX uses GNU C++, but need to define -shared option too, otherwise
13840 # it will coredump.
13841 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13843 osf3
* | osf4
* | osf5
*)
13844 case $cc_basename in
13846 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13849 # Rational C++ 2.4.1
13850 lt_prog_compiler_pic_CXX
='-pic'
13853 # Digital/Compaq C++
13854 lt_prog_compiler_wl_CXX
='-Wl,'
13855 # Make sure the PIC flag is empty. It appears that all Alpha
13856 # Linux and Compaq Tru64 Unix objects are PIC.
13857 lt_prog_compiler_pic_CXX
=
13858 lt_prog_compiler_static_CXX
='-non_shared'
13867 case $cc_basename in
13869 # Sun C++ 4.2, 5.x and Centerline C++
13870 lt_prog_compiler_pic_CXX
='-KPIC'
13871 lt_prog_compiler_static_CXX
='-Bstatic'
13872 lt_prog_compiler_wl_CXX
='-Qoption ld '
13875 # Green Hills C++ Compiler
13876 lt_prog_compiler_pic_CXX
='-PIC'
13883 case $cc_basename in
13886 lt_prog_compiler_pic_CXX
='-pic'
13887 lt_prog_compiler_static_CXX
='-Bstatic'
13891 lt_prog_compiler_pic_CXX
='-pic'
13897 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13898 case $cc_basename in
13900 lt_prog_compiler_wl_CXX
='-Wl,'
13901 lt_prog_compiler_pic_CXX
='-KPIC'
13902 lt_prog_compiler_static_CXX
='-Bstatic'
13907 case $cc_basename in
13909 # NonStop-UX NCC 3.20
13910 lt_prog_compiler_pic_CXX
='-KPIC'
13919 lt_prog_compiler_can_build_shared_CXX
=no
13925 # For platforms which do not support PIC, -DPIC is meaningless:
13927 lt_prog_compiler_pic_CXX
=
13930 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13934 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13939 # Check to make sure the PIC flag actually works.
13941 if test -n "$lt_prog_compiler_pic_CXX"; then
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13943 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13944 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13945 $as_echo_n "(cached) " >&6
13947 lt_cv_prog_compiler_pic_works_CXX
=no
13948 ac_outfile
=conftest.
$ac_objext
13949 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13950 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13951 # Insert the option either (1) after the last *FLAGS variable, or
13952 # (2) before a word containing "conftest.", or (3) at the end.
13953 # Note that $ac_compile itself does not contain backslashes and begins
13954 # with a dollar sign (not a hyphen), so the echo should work correctly.
13955 # The option is referenced via a variable to avoid confusing sed.
13956 lt_compile
=`echo "$ac_compile" | $SED \
13957 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13959 -e 's:$: $lt_compiler_flag:'`
13960 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13961 (eval "$lt_compile" 2>conftest.err
)
13963 cat conftest.err
>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 if (exit $ac_status) && test -s "$ac_outfile"; then
13966 # The compiler can only warn and ignore the option if not recognized
13967 # So say no if there are warnings other than the usual output.
13968 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13969 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13970 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13971 lt_cv_prog_compiler_pic_works_CXX
=yes
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13978 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13980 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13981 case $lt_prog_compiler_pic_CXX in
13983 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13986 lt_prog_compiler_pic_CXX
=
13987 lt_prog_compiler_can_build_shared_CXX
=no
13995 # Check to make sure the static flag actually works.
13997 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13999 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14000 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14001 $as_echo_n "(cached) " >&6
14003 lt_cv_prog_compiler_static_works_CXX
=no
14004 save_LDFLAGS
="$LDFLAGS"
14005 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14006 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14007 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14008 # The linker can only warn and ignore the option if not recognized
14009 # So say no if there are warnings
14010 if test -s conftest.err
; then
14011 # Append any errors to the config.log.
14012 cat conftest.err
1>&5
14013 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14014 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14015 if diff conftest.exp conftest.er2
>/dev
/null
; then
14016 lt_cv_prog_compiler_static_works_CXX
=yes
14019 lt_cv_prog_compiler_static_works_CXX
=yes
14023 LDFLAGS
="$save_LDFLAGS"
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14027 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14029 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14032 lt_prog_compiler_static_CXX
=
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14039 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14040 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14041 $as_echo_n "(cached) " >&6
14043 lt_cv_prog_compiler_c_o_CXX
=no
14044 $RM -r conftest
2>/dev
/null
14048 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14050 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14051 # Insert the option either (1) after the last *FLAGS variable, or
14052 # (2) before a word containing "conftest.", or (3) at the end.
14053 # Note that $ac_compile itself does not contain backslashes and begins
14054 # with a dollar sign (not a hyphen), so the echo should work correctly.
14055 lt_compile
=`echo "$ac_compile" | $SED \
14056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14058 -e 's:$: $lt_compiler_flag:'`
14059 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14060 (eval "$lt_compile" 2>out
/conftest.err
)
14062 cat out
/conftest.err
>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14066 # The compiler can only warn and ignore the option if not recognized
14067 # So say no if there are warnings
14068 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14069 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14070 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14071 lt_cv_prog_compiler_c_o_CXX
=yes
14076 # SGI C++ compiler will create directory out/ii_files/ for
14077 # template instantiation
14078 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14079 $RM out
/* && rmdir out
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14086 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14091 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14092 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14093 $as_echo_n "(cached) " >&6
14095 lt_cv_prog_compiler_c_o_CXX
=no
14096 $RM -r conftest
2>/dev
/null
14100 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14102 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14103 # Insert the option either (1) after the last *FLAGS variable, or
14104 # (2) before a word containing "conftest.", or (3) at the end.
14105 # Note that $ac_compile itself does not contain backslashes and begins
14106 # with a dollar sign (not a hyphen), so the echo should work correctly.
14107 lt_compile
=`echo "$ac_compile" | $SED \
14108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14110 -e 's:$: $lt_compiler_flag:'`
14111 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14112 (eval "$lt_compile" 2>out
/conftest.err
)
14114 cat out
/conftest.err
>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14118 # The compiler can only warn and ignore the option if not recognized
14119 # So say no if there are warnings
14120 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14121 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14122 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14123 lt_cv_prog_compiler_c_o_CXX
=yes
14128 # SGI C++ compiler will create directory out/ii_files/ for
14129 # template instantiation
14130 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14131 $RM out
/* && rmdir out
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14138 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14143 hard_links
="nottested"
14144 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14145 # do not overwrite the value of need_locks provided by the user
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14147 $as_echo_n "checking if we can lock with hard links... " >&6; }
14150 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14152 ln conftest.a conftest.b
2>&5 || hard_links
=no
14153 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14155 $as_echo "$hard_links" >&6; }
14156 if test "$hard_links" = no
; then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14158 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14168 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14170 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14173 # If we're using GNU nm, then we don't want the "-C" option.
14174 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14175 # Also, AIX nm treats weak defined symbols like other global defined
14176 # symbols, whereas GNU nm marks them as "W".
14177 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14178 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'
14180 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'
14184 export_symbols_cmds_CXX
="$ltdll_cmds"
14186 cygwin
* | mingw
* | cegcc
*)
14187 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'
14190 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14193 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14196 $as_echo "$ld_shlibs_CXX" >&6; }
14197 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14199 with_gnu_ld_CXX
=$with_gnu_ld
14207 # Do we need to explicitly link libc?
14209 case "x$archive_cmds_need_lc_CXX" in
14211 # Assume -lc should be added
14212 archive_cmds_need_lc_CXX
=yes
14214 if test "$enable_shared" = yes && test "$GCC" = yes; then
14215 case $archive_cmds_CXX in
14217 # FIXME: we may have to deal with multi-command sequences.
14220 # Test whether the compiler implicitly links with -lc since on some
14221 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14222 # to ld, don't add -lc before -lgcc.
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14224 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14225 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14226 $as_echo_n "(cached) " >&6
14229 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14232 (eval $ac_compile) 2>&5
14234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14235 test $ac_status = 0; } 2>conftest.err
; then
14238 libobjs
=conftest.
$ac_objext
14240 wl
=$lt_prog_compiler_wl_CXX
14241 pic_flag
=$lt_prog_compiler_pic_CXX
14247 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14248 allow_undefined_flag_CXX
=
14249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14250 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14253 test $ac_status = 0; }
14255 lt_cv_archive_cmds_need_lc_CXX
=no
14257 lt_cv_archive_cmds_need_lc_CXX
=yes
14259 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14261 cat conftest.err
1>&5
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14267 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14268 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14339 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14341 library_names_spec
=
14342 libname_spec
='lib$name'
14346 postuninstall_cmds
=
14350 shlibpath_overrides_runpath
=unknown
14352 dynamic_linker
="$host_os ld.so"
14353 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14354 need_lib_prefix
=unknown
14355 hardcode_into_libs
=no
14357 # when you set need_version to no, make sure it does not cause -set_version
14358 # flags to be left without arguments
14359 need_version
=unknown
14364 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14365 shlibpath_var
=LIBPATH
14367 # AIX 3 has no versioning support, so we append a major version to the name.
14368 soname_spec
='${libname}${release}${shared_ext}$major'
14375 hardcode_into_libs
=yes
14376 if test "$host_cpu" = ia64
; then
14377 # AIX 5 supports IA64
14378 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14379 shlibpath_var
=LD_LIBRARY_PATH
14381 # With GCC up to 2.95.x, collect2 would create an import file
14382 # for dependence libraries. The import file would start with
14383 # the line `#! .'. This would cause the generated library to
14384 # depend on `.', always an invalid library. This was fixed in
14385 # development snapshots of GCC prior to 3.0.
14387 aix4 | aix4.
[01] | aix4.
[01].
*)
14388 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14390 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14393 can_build_shared
=no
14397 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14398 # soname into executable. Probably we can add versioning support to
14399 # collect2, so additional links can be useful in future.
14400 if test "$aix_use_runtimelinking" = yes; then
14401 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14402 # instead of lib<name>.a to let people know that these are not
14403 # typical AIX shared libraries.
14404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14406 # We preserve .a as extension for shared libraries through AIX4.2
14407 # and later when we are not doing run time linking.
14408 library_names_spec
='${libname}${release}.a $libname.a'
14409 soname_spec
='${libname}${release}${shared_ext}$major'
14411 shlibpath_var
=LIBPATH
14418 # Since July 2007 AmigaOS4 officially supports .so libraries.
14419 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14423 library_names_spec
='$libname.ixlibrary $libname.a'
14424 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14425 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'
14431 library_names_spec
='${libname}${shared_ext}'
14432 dynamic_linker
="$host_os ld.so"
14433 shlibpath_var
=LIBRARY_PATH
14439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14440 soname_spec
='${libname}${release}${shared_ext}$major'
14441 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14442 shlibpath_var
=LD_LIBRARY_PATH
14443 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14444 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14445 # the default ld.so.conf also contains /usr/contrib/lib and
14446 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14447 # libtool to hard-code these into programs
14450 cygwin
* | mingw
* | pw32
* | cegcc
*)
14451 version_type
=windows
14456 case $GCC,$host_os in
14457 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14458 library_names_spec
='$libname.dll.a'
14459 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14460 postinstall_cmds
='base_file=`basename \${file}`~
14461 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14462 dldir=$destdir/`dirname \$dlpath`~
14463 test -d \$dldir || mkdir -p \$dldir~
14464 $install_prog $dir/$dlname \$dldir/$dlname~
14465 chmod a+x \$dldir/$dlname~
14466 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14467 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14469 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14470 dlpath=$dir/\$dldll~
14472 shlibpath_overrides_runpath
=yes
14476 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14477 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14481 # MinGW DLLs use traditional 'lib' prefix
14482 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14485 # pw32 DLLs use 'pw' prefix rather than 'lib'
14486 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14492 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14495 dynamic_linker
='Win32 ld.exe'
14496 # FIXME: first we should search . and the directory the executable is in
14500 darwin
* | rhapsody
*)
14501 dynamic_linker
="$host_os dyld"
14502 version_type
=darwin
14505 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14506 soname_spec
='${libname}${release}${major}$shared_ext'
14507 shlibpath_overrides_runpath
=yes
14508 shlibpath_var
=DYLD_LIBRARY_PATH
14509 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14511 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14519 soname_spec
='${libname}${release}${shared_ext}$major'
14520 shlibpath_var
=LD_LIBRARY_PATH
14523 freebsd
* | dragonfly
*)
14524 # DragonFly does not have aout. When/if they implement a new
14525 # versioning mechanism, adjust this.
14526 if test -x /usr
/bin
/objformat
; then
14527 objformat
=`/usr/bin/objformat`
14530 freebsd
[23].
*) objformat
=aout
;;
14531 *) objformat
=elf
;;
14534 version_type
=freebsd-
$objformat
14535 case $version_type in
14537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14542 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14546 shlibpath_var
=LD_LIBRARY_PATH
14549 shlibpath_overrides_runpath
=yes
14551 freebsd3.
[01]* | freebsdelf3.
[01]*)
14552 shlibpath_overrides_runpath
=yes
14553 hardcode_into_libs
=yes
14555 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14556 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14557 shlibpath_overrides_runpath
=no
14558 hardcode_into_libs
=yes
14560 *) # from 4.6 on, and DragonFly
14561 shlibpath_overrides_runpath
=yes
14562 hardcode_into_libs
=yes
14571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14573 shlibpath_var
=LD_LIBRARY_PATH
14574 hardcode_into_libs
=yes
14581 dynamic_linker
="$host_os runtime_loader"
14582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14583 soname_spec
='${libname}${release}${shared_ext}$major'
14584 shlibpath_var
=LIBRARY_PATH
14585 shlibpath_overrides_runpath
=yes
14586 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14587 hardcode_into_libs
=yes
14590 hpux9
* | hpux10
* | hpux11
*)
14591 # Give a soname corresponding to the major version so that dld.sl refuses to
14592 # link against other versions.
14599 hardcode_into_libs
=yes
14600 dynamic_linker
="$host_os dld.so"
14601 shlibpath_var
=LD_LIBRARY_PATH
14602 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14604 soname_spec
='${libname}${release}${shared_ext}$major'
14605 if test "X$HPUX_IA64_MODE" = X32
; then
14606 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14608 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14610 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14614 hardcode_into_libs
=yes
14615 dynamic_linker
="$host_os dld.sl"
14616 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14617 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619 soname_spec
='${libname}${release}${shared_ext}$major'
14620 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14621 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14625 dynamic_linker
="$host_os dld.sl"
14626 shlibpath_var
=SHLIB_PATH
14627 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14629 soname_spec
='${libname}${release}${shared_ext}$major'
14632 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14633 postinstall_cmds
='chmod 555 $lib'
14634 # or fails outright, so override atomically:
14635 install_override_mode
=555
14642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14643 soname_spec
='${libname}${release}${shared_ext}$major'
14644 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14645 shlibpath_var
=LD_LIBRARY_PATH
14646 shlibpath_overrides_runpath
=no
14647 hardcode_into_libs
=yes
14650 irix5
* | irix6
* | nonstopux
*)
14652 nonstopux
*) version_type
=nonstopux
;;
14654 if test "$lt_cv_prog_gnu_ld" = yes; then
14662 soname_spec
='${libname}${release}${shared_ext}$major'
14663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14665 irix5
* | nonstopux
*)
14666 libsuff
= shlibsuff
=
14669 case $LD in # libtool.m4 will add one of these switches to LD
14670 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14671 libsuff
= shlibsuff
= libmagic
=32-bit;;
14672 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14673 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14674 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14675 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14676 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14680 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14681 shlibpath_overrides_runpath
=no
14682 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14683 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14684 hardcode_into_libs
=yes
14687 # No shared lib support for Linux oldld, aout, or coff.
14688 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14692 # This must be Linux ELF.
14693 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14698 soname_spec
='${libname}${release}${shared_ext}$major'
14699 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14700 shlibpath_var
=LD_LIBRARY_PATH
14701 shlibpath_overrides_runpath
=no
14703 # Some binutils ld are patched to set DT_RUNPATH
14704 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14705 $as_echo_n "(cached) " >&6
14707 lt_cv_shlibpath_overrides_runpath
=no
14708 save_LDFLAGS
=$LDFLAGS
14709 save_libdir
=$libdir
14710 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14711 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14723 if ac_fn_cxx_try_link
"$LINENO"; then :
14724 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14725 lt_cv_shlibpath_overrides_runpath
=yes
14728 rm -f core conftest.err conftest.
$ac_objext \
14729 conftest
$ac_exeext conftest.
$ac_ext
14730 LDFLAGS
=$save_LDFLAGS
14731 libdir
=$save_libdir
14735 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14737 # This implies no fast_install, which is unacceptable.
14738 # Some rework will be needed to allow for fast_install
14739 # before this can be enabled.
14740 hardcode_into_libs
=yes
14742 # Append ld.so.conf contents to the search path
14743 if test -f /etc
/ld.so.conf
; then
14744 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' ' '`
14745 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14748 # We used to test for /lib/ld.so.1 and disable shared libraries on
14749 # powerpc, because MkLinux only supported shared libraries with the
14750 # GNU dynamic linker. Since this was broken with cross compilers,
14751 # most powerpc-linux boxes support dynamic linking these days and
14752 # people can always --disable-shared, the test was removed, and we
14753 # assume the GNU/Linux dynamic linker is in use.
14754 dynamic_linker
='GNU/Linux ld.so'
14761 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14763 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14764 dynamic_linker
='NetBSD (a.out) ld.so'
14766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14767 soname_spec
='${libname}${release}${shared_ext}$major'
14768 dynamic_linker
='NetBSD ld.elf_so'
14770 shlibpath_var
=LD_LIBRARY_PATH
14771 shlibpath_overrides_runpath
=yes
14772 hardcode_into_libs
=yes
14777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14778 shlibpath_var
=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath
=yes
14786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14787 soname_spec
='${libname}${release}${shared_ext}$major'
14788 shlibpath_var
=LD_LIBRARY_PATH
14789 shlibpath_overrides_runpath
=no
14790 hardcode_into_libs
=yes
14791 dynamic_linker
='ldqnx.so'
14796 sys_lib_dlsearch_path_spec
="/usr/lib"
14798 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14800 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14801 *) need_version
=no
;;
14803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14804 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14805 shlibpath_var
=LD_LIBRARY_PATH
14806 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14808 openbsd2.
[89] | openbsd2.
[89].
*)
14809 shlibpath_overrides_runpath
=no
14812 shlibpath_overrides_runpath
=yes
14816 shlibpath_overrides_runpath
=yes
14821 libname_spec
='$name'
14824 library_names_spec
='$libname${shared_ext} $libname.a'
14825 dynamic_linker
='OS/2 ld.exe'
14826 shlibpath_var
=LIBPATH
14829 osf3
* | osf4
* | osf5
*)
14833 soname_spec
='${libname}${release}${shared_ext}$major'
14834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835 shlibpath_var
=LD_LIBRARY_PATH
14836 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14837 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14849 soname_spec
='${libname}${release}${shared_ext}$major'
14850 shlibpath_var
=LD_LIBRARY_PATH
14851 shlibpath_overrides_runpath
=yes
14852 hardcode_into_libs
=yes
14853 # ldd complains unless libraries are executable
14854 postinstall_cmds
='chmod +x $lib'
14859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14860 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14861 shlibpath_var
=LD_LIBRARY_PATH
14862 shlibpath_overrides_runpath
=yes
14863 if test "$with_gnu_ld" = yes; then
14871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14872 soname_spec
='${libname}${release}${shared_ext}$major'
14873 shlibpath_var
=LD_LIBRARY_PATH
14874 case $host_vendor in
14876 shlibpath_overrides_runpath
=no
14878 runpath_var
=LD_RUN_PATH
14886 shlibpath_overrides_runpath
=no
14887 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14893 if test -d /usr
/nec
;then
14895 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14896 soname_spec
='$libname${shared_ext}.$major'
14897 shlibpath_var
=LD_LIBRARY_PATH
14901 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14902 version_type
=freebsd-elf
14905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14906 soname_spec
='${libname}${release}${shared_ext}$major'
14907 shlibpath_var
=LD_LIBRARY_PATH
14908 shlibpath_overrides_runpath
=yes
14909 hardcode_into_libs
=yes
14910 if test "$with_gnu_ld" = yes; then
14911 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14913 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14916 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14920 sys_lib_dlsearch_path_spec
='/usr/lib'
14924 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929 shlibpath_var
=LD_LIBRARY_PATH
14930 shlibpath_overrides_runpath
=no
14931 hardcode_into_libs
=yes
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
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14946 $as_echo "$dynamic_linker" >&6; }
14947 test "$dynamic_linker" = no
&& can_build_shared
=no
14949 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14950 if test "$GCC" = yes; then
14951 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14954 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14955 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14957 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14958 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14999 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15000 hardcode_action_CXX
=
15001 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15002 test -n "$runpath_var_CXX" ||
15003 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15005 # We can hardcode non-existent directories.
15006 if test "$hardcode_direct_CXX" != no
&&
15007 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15008 # have to relink, otherwise we might link with an installed library
15009 # when we should be linking with a yet-to-be-installed one
15010 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15011 test "$hardcode_minus_L_CXX" != no
; then
15012 # Linking always hardcodes the temporary library directory.
15013 hardcode_action_CXX
=relink
15015 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15016 hardcode_action_CXX
=immediate
15019 # We cannot hardcode anything, or else we can only hardcode existing
15021 hardcode_action_CXX
=unsupported
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15024 $as_echo "$hardcode_action_CXX" >&6; }
15026 if test "$hardcode_action_CXX" = relink ||
15027 test "$inherit_rpath_CXX" = yes; then
15028 # Fast installation is not supported
15029 enable_fast_install
=no
15030 elif test "$shlibpath_overrides_runpath" = yes ||
15031 test "$enable_shared" = no
; then
15032 # Fast installation is not necessary
15033 enable_fast_install
=needless
15042 fi # test -n "$compiler"
15048 with_gnu_ld
=$lt_save_with_gnu_ld
15049 lt_cv_path_LDCXX
=$lt_cv_path_LD
15050 lt_cv_path_LD
=$lt_save_path_LD
15051 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15052 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15053 fi # test "$_lt_caught_CXX_error" != yes
15056 ac_cpp
='$CPP $CPPFLAGS'
15057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15073 ac_config_commands
="$ac_config_commands libtool"
15078 # Only expand once:
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
15086 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
15087 # Check whether --enable-maintainer-mode was given.
15088 if test "${enable_maintainer_mode+set}" = set; then :
15089 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
15091 USE_MAINTAINER_MODE
=no
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
15095 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15096 if test $USE_MAINTAINER_MODE = yes; then
15097 MAINTAINER_MODE_TRUE
=
15098 MAINTAINER_MODE_FALSE
='#'
15100 MAINTAINER_MODE_TRUE
='#'
15101 MAINTAINER_MODE_FALSE
=
15104 MAINT
=$MAINTAINER_MODE_TRUE
15108 # For libtool versioning info, format is CURRENT:REVISION:AGE
15109 libtool_VERSION
=1:0:0
15112 # Check header files.
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15114 $as_echo_n "checking for ANSI C header files... " >&6; }
15115 if test "${ac_cv_header_stdc+set}" = set; then :
15116 $as_echo_n "(cached) " >&6
15118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 #include <stdlib.h>
15121 #include <stdarg.h>
15122 #include <string.h>
15133 if ac_fn_c_try_compile
"$LINENO"; then :
15134 ac_cv_header_stdc
=yes
15136 ac_cv_header_stdc
=no
15138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15140 if test $ac_cv_header_stdc = yes; then
15141 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15144 #include <string.h>
15147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15148 $EGREP "memchr" >/dev
/null
2>&1; then :
15151 ac_cv_header_stdc
=no
15157 if test $ac_cv_header_stdc = yes; then
15158 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #include <stdlib.h>
15164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15165 $EGREP "free" >/dev
/null
2>&1; then :
15168 ac_cv_header_stdc
=no
15174 if test $ac_cv_header_stdc = yes; then
15175 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15176 if test "$cross_compiling" = yes; then :
15179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 #include <stdlib.h>
15183 #if ((' ' & 0x0FF) == 0x020)
15184 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15185 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15187 # define ISLOWER(c) \
15188 (('a' <= (c) && (c) <= 'i') \
15189 || ('j' <= (c) && (c) <= 'r') \
15190 || ('s' <= (c) && (c) <= 'z'))
15191 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15194 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15199 for (i = 0; i < 256; i++)
15200 if (XOR (islower (i), ISLOWER (i))
15201 || toupper (i) != TOUPPER (i))
15206 if ac_fn_c_try_run
"$LINENO"; then :
15209 ac_cv_header_stdc
=no
15211 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15212 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15218 $as_echo "$ac_cv_header_stdc" >&6; }
15219 if test $ac_cv_header_stdc = yes; then
15221 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15226 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15227 if test "${ac_cv_header_time+set}" = set; then :
15228 $as_echo_n "(cached) " >&6
15230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 #include <sys/types.h>
15233 #include <sys/time.h>
15239 if ((struct tm *) 0)
15245 if ac_fn_c_try_compile
"$LINENO"; then :
15246 ac_cv_header_time
=yes
15248 ac_cv_header_time
=no
15250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15253 $as_echo "$ac_cv_header_time" >&6; }
15254 if test $ac_cv_header_time = yes; then
15256 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
15261 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
15262 if test "${gcc_cv_header_string+set}" = set; then :
15263 $as_echo_n "(cached) " >&6
15265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15267 #include <string.h>
15268 #include <strings.h>
15277 if ac_fn_c_try_compile
"$LINENO"; then :
15278 gcc_cv_header_string
=yes
15280 gcc_cv_header_string
=no
15282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
15285 $as_echo "$gcc_cv_header_string" >&6; }
15286 if test $gcc_cv_header_string = yes; then
15288 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
15292 for ac_header
in unistd.h semaphore.h sys
/time.h malloc.h
15294 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15295 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15296 eval as_val
=\$
$as_ac_Header
15297 if test "x$as_val" = x
""yes; then :
15298 cat >>confdefs.h
<<_ACEOF
15299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15309 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15311 acx_cv_header_stdint
=stddef.h
15312 acx_cv_header_stdint_kind
="(already complete)"
15313 for i
in stdint.h
$inttype_headers; do
15314 unset ac_cv_type_uintptr_t
15315 unset ac_cv_type_uintmax_t
15316 unset ac_cv_type_int_least32_t
15317 unset ac_cv_type_int_fast32_t
15318 unset ac_cv_type_uint64_t
15319 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15320 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15323 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15324 acx_cv_header_stdint
=$i
15329 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15332 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15335 acx_cv_header_stdint_kind
="(mostly complete)"
15338 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15341 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15344 acx_cv_header_stdint_kind
="(mostly complete)"
15347 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15350 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15353 acx_cv_header_stdint_kind
="(mostly complete)"
15356 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15359 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15362 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15367 if test "$acx_cv_header_stdint" = stddef.h
; then
15368 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15369 for i
in stdint.h
$inttype_headers; do
15370 unset ac_cv_type_uintptr_t
15371 unset ac_cv_type_uint32_t
15372 unset ac_cv_type_uint64_t
15373 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15374 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15377 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15378 acx_cv_header_stdint
=$i
15383 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15386 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15390 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15393 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15400 if test "$acx_cv_header_stdint" = stddef.h
; then
15401 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15402 for i
in sys
/types.h
$inttype_headers; do
15403 unset ac_cv_type_u_int32_t
15404 unset ac_cv_type_u_int64_t
15405 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15406 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15409 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15410 acx_cv_header_stdint
=$i
15415 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15418 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15425 if test "$acx_cv_header_stdint" = stddef.h
; then
15426 acx_cv_header_stdint_kind
="(using manual detection)"
15429 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15430 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15431 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15432 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15433 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15435 # ----------------- Summarize what we found so far
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15438 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15440 case `$as_basename -- gstdint.h ||
15441 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15442 Xgstdint.h : 'X\(//\)$' \| \
15443 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15444 $as_echo X/gstdint.h |
15445 sed '/^.*\/\([^/][^/]*\)\/*$/{
15458 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15459 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15460 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15461 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15466 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15468 # ----------------- done included file, check C basic types --------
15470 # Lacking an uintptr_t? Test size of void *
15471 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15472 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15475 # This bug is HP SR number 8606223364.
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15477 $as_echo_n "checking size of void *... " >&6; }
15478 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15479 $as_echo_n "(cached) " >&6
15481 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15484 if test "$ac_cv_type_void_p" = yes; then
15485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15487 { as_fn_set_status
77
15488 as_fn_error
"cannot compute sizeof (void *)
15489 See \`config.log' for more details." "$LINENO" 5; }; }
15491 ac_cv_sizeof_void_p
=0
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15497 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15501 cat >>confdefs.h
<<_ACEOF
15502 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15508 # Lacking an uint64_t? Test size of long
15509 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15510 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15513 # This bug is HP SR number 8606223364.
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15515 $as_echo_n "checking size of long... " >&6; }
15516 if test "${ac_cv_sizeof_long+set}" = set; then :
15517 $as_echo_n "(cached) " >&6
15519 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15522 if test "$ac_cv_type_long" = yes; then
15523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15525 { as_fn_set_status
77
15526 as_fn_error
"cannot compute sizeof (long)
15527 See \`config.log' for more details." "$LINENO" 5; }; }
15529 ac_cv_sizeof_long
=0
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15535 $as_echo "$ac_cv_sizeof_long" >&6; }
15539 cat >>confdefs.h
<<_ACEOF
15540 #define SIZEOF_LONG $ac_cv_sizeof_long
15546 if test $acx_cv_header_stdint = stddef.h
; then
15547 # Lacking a good header? Test size of everything and deduce all types.
15548 # The cast to long int works around a bug in the HP C Compiler
15549 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15550 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15551 # This bug is HP SR number 8606223364.
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15553 $as_echo_n "checking size of int... " >&6; }
15554 if test "${ac_cv_sizeof_int+set}" = set; then :
15555 $as_echo_n "(cached) " >&6
15557 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15560 if test "$ac_cv_type_int" = yes; then
15561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15563 { as_fn_set_status
77
15564 as_fn_error
"cannot compute sizeof (int)
15565 See \`config.log' for more details." "$LINENO" 5; }; }
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15573 $as_echo "$ac_cv_sizeof_int" >&6; }
15577 cat >>confdefs.h
<<_ACEOF
15578 #define SIZEOF_INT $ac_cv_sizeof_int
15582 # The cast to long int works around a bug in the HP C Compiler
15583 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15584 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15585 # This bug is HP SR number 8606223364.
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15587 $as_echo_n "checking size of short... " >&6; }
15588 if test "${ac_cv_sizeof_short+set}" = set; then :
15589 $as_echo_n "(cached) " >&6
15591 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15594 if test "$ac_cv_type_short" = yes; then
15595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15597 { as_fn_set_status
77
15598 as_fn_error
"cannot compute sizeof (short)
15599 See \`config.log' for more details." "$LINENO" 5; }; }
15601 ac_cv_sizeof_short
=0
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15607 $as_echo "$ac_cv_sizeof_short" >&6; }
15611 cat >>confdefs.h
<<_ACEOF
15612 #define SIZEOF_SHORT $ac_cv_sizeof_short
15616 # The cast to long int works around a bug in the HP C Compiler
15617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15619 # This bug is HP SR number 8606223364.
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15621 $as_echo_n "checking size of char... " >&6; }
15622 if test "${ac_cv_sizeof_char+set}" = set; then :
15623 $as_echo_n "(cached) " >&6
15625 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15628 if test "$ac_cv_type_char" = yes; then
15629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15631 { as_fn_set_status
77
15632 as_fn_error
"cannot compute sizeof (char)
15633 See \`config.log' for more details." "$LINENO" 5; }; }
15635 ac_cv_sizeof_char
=0
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15641 $as_echo "$ac_cv_sizeof_char" >&6; }
15645 cat >>confdefs.h
<<_ACEOF
15646 #define SIZEOF_CHAR $ac_cv_sizeof_char
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15652 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15653 case "$ac_cv_sizeof_char" in
15654 1) acx_cv_type_int8_t
=char
;;
15655 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15658 $as_echo "$acx_cv_type_int8_t" >&6; }
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15661 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15662 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15663 2:*) acx_cv_type_int16_t
=int
;;
15664 *:2) acx_cv_type_int16_t
=short
;;
15665 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15668 $as_echo "$acx_cv_type_int16_t" >&6; }
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15671 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15672 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15673 4:*) acx_cv_type_int32_t
=int
;;
15674 *:4) acx_cv_type_int32_t
=long
;;
15675 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15678 $as_echo "$acx_cv_type_int32_t" >&6; }
15681 # These tests are here to make the output prettier
15683 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15684 case "$ac_cv_sizeof_long" in
15685 8) acx_cv_type_int64_t
=long
;;
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15688 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15690 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15693 # Now we can use the above types
15695 if test "$ac_cv_type_uintptr_t" != yes; then
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15697 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15698 case $ac_cv_sizeof_void_p in
15699 2) acx_cv_type_intptr_t
=int16_t
;;
15700 4) acx_cv_type_intptr_t
=int32_t
;;
15701 8) acx_cv_type_intptr_t
=int64_t
;;
15702 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15705 $as_echo "$acx_cv_type_intptr_t" >&6; }
15708 # ----------------- done all checks, emit header -------------
15709 ac_config_commands
="$ac_config_commands gstdint.h"
15715 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
15716 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
15717 gcc_header_sys_mman_h
=yes
15719 gcc_header_sys_mman_h
=no
15723 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
15724 if test "x$ac_cv_func_mmap" = x
""yes; then :
15730 if test "$gcc_header_sys_mman_h" != yes \
15731 ||
test "$gcc_func_mmap" != yes; then
15732 gcc_cv_func_mmap_file
=no
15733 gcc_cv_func_mmap_dev_zero
=no
15734 gcc_cv_func_mmap_anon
=no
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
15737 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
15738 if test "${gcc_cv_func_mmap_file+set}" = set; then :
15739 $as_echo_n "(cached) " >&6
15741 # Add a system to this blacklist if
15742 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
15743 # memory area containing the same data that you'd get if you applied
15744 # read() to the same fd. The only system known to have a problem here
15745 # is VMS, where text files have record structure.
15748 gcc_cv_func_mmap_file
=no
;;
15750 gcc_cv_func_mmap_file
=yes;;
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_file" >&5
15754 $as_echo "$gcc_cv_func_mmap_file" >&6; }
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
15756 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
15757 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then :
15758 $as_echo_n "(cached) " >&6
15760 # Add a system to this blacklist if it has mmap() but /dev/zero
15761 # does not exist, or if mmapping /dev/zero does not give anonymous
15762 # zeroed pages with both the following properties:
15763 # 1. If you map N consecutive pages in with one call, and then
15764 # unmap any subset of those pages, the pages that were not
15765 # explicitly unmapped remain accessible.
15766 # 2. If you map two adjacent blocks of memory and then unmap them
15767 # both at once, they must both go away.
15768 # Systems known to be in this category are Windows (all variants),
15771 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
15772 gcc_cv_func_mmap_dev_zero
=no
;;
15774 gcc_cv_func_mmap_dev_zero
=yes;;
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_dev_zero" >&5
15778 $as_echo "$gcc_cv_func_mmap_dev_zero" >&6; }
15780 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
15782 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
15783 if test "${gcc_cv_decl_map_anon+set}" = set; then :
15784 $as_echo_n "(cached) " >&6
15786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h. */
15788 #include <sys/types.h>
15789 #include <sys/mman.h>
15790 #include <unistd.h>
15792 #ifndef MAP_ANONYMOUS
15793 #define MAP_ANONYMOUS MAP_ANON
15799 int n = MAP_ANONYMOUS;
15804 if ac_fn_c_try_compile
"$LINENO"; then :
15805 gcc_cv_decl_map_anon
=yes
15807 gcc_cv_decl_map_anon
=no
15809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_decl_map_anon" >&5
15812 $as_echo "$gcc_cv_decl_map_anon" >&6; }
15814 if test $gcc_cv_decl_map_anon = no
; then
15815 gcc_cv_func_mmap_anon
=no
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
15818 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
15819 if test "${gcc_cv_func_mmap_anon+set}" = set; then :
15820 $as_echo_n "(cached) " >&6
15822 # Add a system to this blacklist if it has mmap() and MAP_ANON or
15823 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
15824 # doesn't give anonymous zeroed pages with the same properties listed
15825 # above for use of /dev/zero.
15826 # Systems known to be in this category are Windows, VMS, and SCO Unix.
15828 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
15829 gcc_cv_func_mmap_anon
=no
;;
15831 gcc_cv_func_mmap_anon
=yes;;
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_anon" >&5
15835 $as_echo "$gcc_cv_func_mmap_anon" >&6; }
15839 if test $gcc_cv_func_mmap_file = yes; then
15841 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
15844 if test $gcc_cv_func_mmap_dev_zero = yes; then
15846 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
15849 if test $gcc_cv_func_mmap_anon = yes; then
15851 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15857 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15858 if test "${ac_cv_c_bigendian+set}" = set; then :
15859 $as_echo_n "(cached) " >&6
15861 ac_cv_c_bigendian
=unknown
15862 # See if we're dealing with a universal compiler.
15863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h. */
15865 #ifndef __APPLE_CC__
15866 not a universal capable compiler
15871 if ac_fn_c_try_compile
"$LINENO"; then :
15873 # Check for potential -arch flags. It is not universal unless
15874 # there are at least two -arch flags with different values.
15877 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15878 if test -n "$ac_prev"; then
15880 i?
86 | x86_64 | ppc | ppc64
)
15881 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
15884 ac_cv_c_bigendian
=universal
15890 elif test "x$ac_word" = "x-arch"; then
15895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15896 if test $ac_cv_c_bigendian = unknown
; then
15897 # See if sys/param.h defines the BYTE_ORDER macro.
15898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #include <sys/types.h>
15901 #include <sys/param.h>
15906 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15907 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15909 bogus endian macros
15916 if ac_fn_c_try_compile
"$LINENO"; then :
15917 # It does; now see whether it defined to BIG_ENDIAN or not.
15918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15920 #include <sys/types.h>
15921 #include <sys/param.h>
15926 #if BYTE_ORDER != BIG_ENDIAN
15934 if ac_fn_c_try_compile
"$LINENO"; then :
15935 ac_cv_c_bigendian
=yes
15937 ac_cv_c_bigendian
=no
15939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15943 if test $ac_cv_c_bigendian = unknown
; then
15944 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15947 #include <limits.h>
15952 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15953 bogus endian macros
15960 if ac_fn_c_try_compile
"$LINENO"; then :
15961 # It does; now see whether it defined to _BIG_ENDIAN or not.
15962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15964 #include <limits.h>
15969 #ifndef _BIG_ENDIAN
15977 if ac_fn_c_try_compile
"$LINENO"; then :
15978 ac_cv_c_bigendian
=yes
15980 ac_cv_c_bigendian
=no
15982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15986 if test $ac_cv_c_bigendian = unknown
; then
15987 # Compile a test program.
15988 if test "$cross_compiling" = yes; then :
15989 # Try to guess by grepping values from an object file.
15990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15992 short int ascii_mm[] =
15993 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15994 short int ascii_ii[] =
15995 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15996 int use_ascii (int i) {
15997 return ascii_mm[i] + ascii_ii[i];
15999 short int ebcdic_ii[] =
16000 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16001 short int ebcdic_mm[] =
16002 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16003 int use_ebcdic (int i) {
16004 return ebcdic_mm[i] + ebcdic_ii[i];
16011 return use_ascii (foo) == use_ebcdic (foo);
16016 if ac_fn_c_try_compile
"$LINENO"; then :
16017 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16018 ac_cv_c_bigendian
=yes
16020 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16021 if test "$ac_cv_c_bigendian" = unknown
; then
16022 ac_cv_c_bigendian
=no
16024 # finding both strings is unlikely to happen, but who knows?
16025 ac_cv_c_bigendian
=unknown
16029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16033 $ac_includes_default
16038 /* Are we little or big endian? From Harbison&Steele. */
16042 char c[sizeof (long int)];
16045 return u.c[sizeof (long int) - 1] == 1;
16051 if ac_fn_c_try_run
"$LINENO"; then :
16052 ac_cv_c_bigendian
=no
16054 ac_cv_c_bigendian
=yes
16056 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16057 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16063 $as_echo "$ac_cv_c_bigendian" >&6; }
16064 case $ac_cv_c_bigendian in #(
16066 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16072 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16076 as_fn_error
"unknown endianness
16077 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16080 # I don't like the default behaviour of WORDS_BIGENDIAN undefined for LE.
16083 # Check to see if -pthread or -lpthread is needed. Prefer the former.
16084 # In case the pthread.h system header is not found, this test will fail.
16086 CFLAGS
="$CFLAGS -pthread"
16087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16089 #include <pthread.h>
16090 void *g(void *d) { return NULL; }
16094 pthread_t t; pthread_create(&t,NULL,g,NULL);
16099 if ac_fn_c_try_link
"$LINENO"; then :
16100 XPCFLAGS
=" -Wc,-pthread"
16102 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
16103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16105 #include <pthread.h>
16106 void *g(void *d) { return NULL; }
16110 pthread_t t; pthread_create(&t,NULL,g,NULL);
16115 if ac_fn_c_try_link
"$LINENO"; then :
16118 as_fn_error
"Pthreads are required to build libitm" "$LINENO" 5
16120 rm -f core conftest.err conftest.
$ac_objext \
16121 conftest
$ac_exeext conftest.
$ac_ext
16123 rm -f core conftest.err conftest.
$ac_objext \
16124 conftest
$ac_exeext conftest.
$ac_ext
16126 # Check for functions needed.
16127 for ac_func
in strtoull memalign posix_memalign
16129 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16130 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16131 eval as_val
=\$
$as_ac_var
16132 if test "x$as_val" = x
""yes; then :
16133 cat >>confdefs.h
<<_ACEOF
16134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16141 # Check for broken semaphore implementation on darwin.
16142 # sem_init returns: sem_init error: Function not implemented.
16146 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
16151 # Check whether --enable-linux-futex was given.
16152 if test "${enable_linux_futex+set}" = set; then :
16153 enableval
=$enable_linux_futex;
16154 case "$enableval" in
16156 *) as_fn_error
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
16160 enable_linux_futex
=default
16166 case "$enable_linux_futex" in
16168 # If headers don't have gettid/futex syscalls definition, then
16169 # default to no, otherwise there will be compile time failures.
16170 # Otherwise, default to yes. If we don't detect we are
16171 # compiled/linked against NPTL and not cross-compiling, check
16172 # if programs are run by default against NPTL and if not, issue
16174 enable_linux_futex
=no
16175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16177 #include <sys/syscall.h>
16182 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16187 if ac_fn_c_try_link
"$LINENO"; then :
16189 LIBS
="-lpthread $LIBS"
16190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #ifndef _GNU_SOURCE
16193 #define _GNU_SOURCE 1
16195 #include <pthread.h>
16196 pthread_t th; void *status;
16200 pthread_tryjoin_np (th, &status);
16205 if ac_fn_c_try_link
"$LINENO"; then :
16206 enable_linux_futex
=yes
16208 if test x
$cross_compiling = xno
; then
16209 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
16210 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
16212 If so, please configure with --disable-linux-futex" >&5
16213 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
16214 If so, please configure with --disable-linux-futex" >&2;}
16217 enable_linux_futex
=yes
16219 rm -f core conftest.err conftest.
$ac_objext \
16220 conftest
$ac_exeext conftest.
$ac_ext
16223 rm -f core conftest.err conftest.
$ac_objext \
16224 conftest
$ac_exeext conftest.
$ac_ext
16227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16229 #include <sys/syscall.h>
16234 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16239 if ac_fn_c_try_link
"$LINENO"; then :
16242 as_fn_error
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
16244 rm -f core conftest.err conftest.
$ac_objext \
16245 conftest
$ac_exeext conftest.
$ac_ext
16250 enable_linux_futex
=no
16253 if test x
$enable_linux_futex = xyes
; then
16258 # See if we support thread-local storage.
16261 # Check whether --enable-tls was given.
16262 if test "${enable_tls+set}" = set; then :
16263 enableval
=$enable_tls;
16264 case "$enableval" in
16266 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
16275 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
16276 if test "${gcc_cv_have_tls+set}" = set; then :
16277 $as_echo_n "(cached) " >&6
16280 if test "$cross_compiling" = yes; then :
16281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16283 __thread int a; int b; int main() { return a = b; }
16285 if ac_fn_c_try_link
"$LINENO"; then :
16286 chktls_save_LDFLAGS
="$LDFLAGS"
16289 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
16292 chktls_save_CFLAGS
="$CFLAGS"
16293 CFLAGS
="-fPIC $CFLAGS"
16294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16296 int f() { return 0; }
16298 if ac_fn_c_try_link
"$LINENO"; then :
16299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16301 __thread int a; int b; int f() { return a = b; }
16303 if ac_fn_c_try_link
"$LINENO"; then :
16304 gcc_cv_have_tls
=yes
16308 rm -f core conftest.err conftest.
$ac_objext \
16309 conftest
$ac_exeext conftest.
$ac_ext
16311 gcc_cv_have_tls
=yes
16313 rm -f core conftest.err conftest.
$ac_objext \
16314 conftest
$ac_exeext conftest.
$ac_ext
16315 CFLAGS
="$chktls_save_CFLAGS"
16316 LDFLAGS
="$chktls_save_LDFLAGS"
16320 rm -f core conftest.err conftest.
$ac_objext \
16321 conftest
$ac_exeext conftest.
$ac_ext
16325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16327 __thread int a; int b; int main() { return a = b; }
16329 if ac_fn_c_try_run
"$LINENO"; then :
16330 chktls_save_LDFLAGS
="$LDFLAGS"
16331 LDFLAGS
="-static $LDFLAGS"
16332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16333 /* end confdefs.h. */
16334 int main() { return 0; }
16336 if ac_fn_c_try_link
"$LINENO"; then :
16337 if test "$cross_compiling" = yes; then :
16338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16340 as_fn_error
"cannot run test program while cross compiling
16341 See \`config.log' for more details." "$LINENO" 5; }
16343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 __thread int a; int b; int main() { return a = b; }
16347 if ac_fn_c_try_run
"$LINENO"; then :
16348 gcc_cv_have_tls
=yes
16352 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16353 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16357 gcc_cv_have_tls
=yes
16359 rm -f core conftest.err conftest.
$ac_objext \
16360 conftest
$ac_exeext conftest.
$ac_ext
16361 LDFLAGS
="$chktls_save_LDFLAGS"
16362 if test $gcc_cv_have_tls = yes; then
16363 chktls_save_CFLAGS
="$CFLAGS"
16364 thread_CFLAGS
=failed
16365 for flag
in '' '-pthread' '-lpthread'; do
16366 CFLAGS
="$flag $chktls_save_CFLAGS"
16367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16369 #include <pthread.h>
16370 void *g(void *d) { return NULL; }
16374 pthread_t t; pthread_create(&t,NULL,g,NULL);
16379 if ac_fn_c_try_link
"$LINENO"; then :
16380 thread_CFLAGS
="$flag"
16382 rm -f core conftest.err conftest.
$ac_objext \
16383 conftest
$ac_exeext conftest.
$ac_ext
16384 if test "X$thread_CFLAGS" != Xfailed
; then
16388 CFLAGS
="$chktls_save_CFLAGS"
16389 if test "X$thread_CFLAGS" != Xfailed
; then
16390 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
16391 if test "$cross_compiling" = yes; then :
16392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16394 as_fn_error
"cannot run test program while cross compiling
16395 See \`config.log' for more details." "$LINENO" 5; }
16397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16398 /* end confdefs.h. */
16399 #include <pthread.h>
16401 static int *volatile a_in_other_thread;
16403 thread_func (void *arg)
16405 a_in_other_thread = &a;
16412 void *thread_retval;
16413 int *volatile a_in_main_thread;
16414 a_in_main_thread = &a;
16415 if (pthread_create (&thread, (pthread_attr_t *)0,
16416 thread_func, (void *)0))
16418 if (pthread_join (thread, &thread_retval))
16420 return (a_in_other_thread == a_in_main_thread);
16425 if ac_fn_c_try_run
"$LINENO"; then :
16426 gcc_cv_have_tls
=yes
16430 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16431 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16434 CFLAGS
="$chktls_save_CFLAGS"
16440 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16441 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
16446 $as_echo "$gcc_cv_have_tls" >&6; }
16447 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
16449 $as_echo "#define HAVE_TLS 1" >>confdefs.h
16453 # See what sort of export controls are availible.
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
16456 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
16457 if test "${libitm_cv_have_attribute_visibility+set}" = set; then :
16458 $as_echo_n "(cached) " >&6
16461 save_CFLAGS
="$CFLAGS"
16462 CFLAGS
="$CFLAGS -Werror"
16463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16465 void __attribute__((visibility("hidden"))) foo(void) { }
16474 if ac_fn_c_try_compile
"$LINENO"; then :
16475 libitm_cv_have_attribute_visibility
=yes
16477 libitm_cv_have_attribute_visibility
=no
16479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16480 CFLAGS
="$save_CFLAGS"
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_visibility" >&5
16483 $as_echo "$libitm_cv_have_attribute_visibility" >&6; }
16484 if test $libitm_cv_have_attribute_visibility = yes; then
16486 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
16491 $as_echo_n "checking whether the target supports dllexport... " >&6; }
16492 if test "${libitm_cv_have_attribute_dllexport+set}" = set; then :
16493 $as_echo_n "(cached) " >&6
16496 save_CFLAGS
="$CFLAGS"
16497 CFLAGS
="$CFLAGS -Werror"
16498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16499 /* end confdefs.h. */
16500 void __attribute__((dllexport)) foo(void) { }
16509 if ac_fn_c_try_compile
"$LINENO"; then :
16510 libitm_cv_have_attribute_dllexport
=yes
16512 libitm_cv_have_attribute_dllexport
=no
16514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16515 CFLAGS
="$save_CFLAGS"
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_dllexport" >&5
16518 $as_echo "$libitm_cv_have_attribute_dllexport" >&6; }
16519 if test $libitm_cv_have_attribute_dllexport = yes; then
16521 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
16526 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
16527 if test "${libitm_cv_have_attribute_alias+set}" = set; then :
16528 $as_echo_n "(cached) " >&6
16531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16535 extern void bar(void) __attribute__((alias("foo")));
16544 if ac_fn_c_try_link
"$LINENO"; then :
16545 libitm_cv_have_attribute_alias
=yes
16547 libitm_cv_have_attribute_alias
=no
16549 rm -f core conftest.err conftest.
$ac_objext \
16550 conftest
$ac_exeext conftest.
$ac_ext
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_alias" >&5
16553 $as_echo "$libitm_cv_have_attribute_alias" >&6; }
16554 if test $libitm_cv_have_attribute_alias = yes; then
16556 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
16561 # Check whether --with-gnu-ld was given.
16562 if test "${with_gnu_ld+set}" = set; then :
16563 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16569 if test "$GCC" = yes; then
16570 # Check if gcc -print-prog-name=ld gives a path.
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16572 $as_echo_n "checking for ld used by $CC... " >&6; }
16575 # gcc leaves a trailing carriage return which upsets mingw
16576 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16578 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16581 # Accept absolute paths.
16583 re_direlt
='/[^/][^/]*/\.\./'
16584 # Canonicalize the pathname of ld
16585 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16586 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16587 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16589 test -z "$LD" && LD
="$ac_prog"
16592 # If it fails, then pretend we aren't using GCC.
16596 # If it is relative, then search for the first ld in PATH.
16597 with_gnu_ld
=unknown
16600 elif test "$with_gnu_ld" = yes; then
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16602 $as_echo_n "checking for GNU ld... " >&6; }
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16605 $as_echo_n "checking for non-GNU ld... " >&6; }
16607 if test "${lt_cv_path_LD+set}" = set; then :
16608 $as_echo_n "(cached) " >&6
16610 if test -z "$LD"; then
16611 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
16612 for ac_dir
in $PATH; do
16614 test -z "$ac_dir" && ac_dir
=.
16615 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16616 lt_cv_path_LD
="$ac_dir/$ac_prog"
16617 # Check to see if the program is GNU ld. I'd rather use --version,
16618 # but apparently some variants of GNU ld only accept -v.
16619 # Break only if it was the GNU/non-GNU ld that we prefer.
16620 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16621 *GNU
* |
*'with BFD'*)
16622 test "$with_gnu_ld" != no
&& break
16625 test "$with_gnu_ld" != yes && break
16632 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
16636 LD
="$lt_cv_path_LD"
16637 if test -n "$LD"; then
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16639 $as_echo "$LD" >&6; }
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16642 $as_echo "no" >&6; }
16644 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16646 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16647 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
16648 $as_echo_n "(cached) " >&6
16650 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16651 case `$LD -v 2>&1 </dev/null` in
16652 *GNU
* |
*'with BFD'*)
16653 lt_cv_prog_gnu_ld
=yes
16656 lt_cv_prog_gnu_ld
=no
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16661 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16662 with_gnu_ld
=$lt_cv_prog_gnu_ld
16670 # If we're not using GNU ld, then there's no point in even trying these
16671 # tests. Check for that first. We should have already tested for gld
16672 # by now (in libtool), but require it now just to be safe...
16673 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
16674 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
16678 # The name set by libtool depends on the version of libtool. Shame on us
16679 # for depending on an impl detail, but c'est la vie. Older versions used
16680 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
16681 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
16682 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
16683 # set (hence we're using an older libtool), then set it.
16684 if test x
${with_gnu_ld+set} != xset
; then
16685 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
16686 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
16689 with_gnu_ld
=$ac_cv_prog_gnu_ld
16693 # Start by getting the version number. I think the libtool test already
16694 # does some of this, but throws away the result.
16695 libitm_ld_is_gold
=no
16696 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
16697 libitm_ld_is_gold
=yes
16700 ldver
=`$LD --version 2>/dev/null |
16701 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
16703 libitm_gnu_ld_version
=`echo $ldver | \
16704 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
16706 # Set --gc-sections.
16707 if test "$with_gnu_ld" = "notbroken"; then
16708 # GNU ld it is! Joy and bunny rabbits!
16710 # All these tests are for C++; save the language and the compiler flags.
16711 # Need to do this so that g++ won't try to link in libstdc++
16712 ac_test_CFLAGS
="${CFLAGS+set}"
16713 ac_save_CFLAGS
="$CFLAGS"
16714 CFLAGS
='-x c++ -Wl,--gc-sections'
16716 # Check for -Wl,--gc-sections
16717 # XXX This test is broken at the moment, as symbols required for linking
16718 # are now in libsupc++ (not built yet). In addition, this test has
16719 # cored on solaris in the past. In addition, --gc-sections doesn't
16720 # really work at the moment (keeps on discarding used sections, first
16721 # .eh_frame and now some of the glibc sections for iconv).
16722 # Bzzzzt. Thanks for playing, maybe next time.
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
16724 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
16725 if test "$cross_compiling" = yes; then :
16726 ac_sectionLDflags
=yes
16728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16739 if ac_fn_c_try_run
"$LINENO"; then :
16740 ac_sectionLDflags
=yes
16742 ac_sectionLDflags
=no
16744 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16745 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16748 if test "$ac_test_CFLAGS" = set; then
16749 CFLAGS
="$ac_save_CFLAGS"
16751 # this is the suspicious part
16754 if test "$ac_sectionLDflags" = "yes"; then
16755 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
16758 $as_echo "$ac_sectionLDflags" >&6; }
16761 # Set linker optimization flags.
16762 if test x
"$with_gnu_ld" = x
"yes"; then
16763 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
16771 # Check whether --enable-symvers was given.
16772 if test "${enable_symvers+set}" = set; then :
16773 enableval
=$enable_symvers;
16774 case "$enableval" in
16775 yes|no|gnu
*|sun
) ;;
16776 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
16785 # If we never went through the LIBITM_CHECK_LINKER_FEATURES macro, then we
16786 # don't know enough about $LD to do tricks...
16789 # Turn a 'yes' into a suitable default.
16790 if test x
$enable_symvers = xyes
; then
16791 # FIXME The following test is too strict, in theory.
16792 if test $enable_shared = no ||
test "x$LD" = x
; then
16795 if test $with_gnu_ld = yes ; then
16798 case ${target_os} in
16799 # Sun symbol versioning exists since Solaris 2.5.
16800 solaris2.
[5-9]* | solaris2.1
[0-9]*)
16801 enable_symvers
=sun
;;
16803 enable_symvers
=no
;;
16809 # Check if 'sun' was requested on non-Solaris 2 platforms.
16810 if test x
$enable_symvers = xsun
; then
16811 case ${target_os} in
16816 # Unlikely to work.
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
16818 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
16820 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16822 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16828 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
16829 if test $enable_symvers != no
; then
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
16831 $as_echo_n "checking for shared libgcc... " >&6; }
16832 ac_save_CFLAGS
="$CFLAGS"
16834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16845 if ac_fn_c_try_link
"$LINENO"; then :
16846 libitm_shared_libgcc
=yes
16848 libitm_shared_libgcc
=no
16850 rm -f core conftest.err conftest.
$ac_objext \
16851 conftest
$ac_exeext conftest.
$ac_ext
16852 CFLAGS
="$ac_save_CFLAGS"
16853 if test $libitm_shared_libgcc = no
; then
16854 cat > conftest.c
<<EOF
16855 int main (void) { return 0; }
16857 libitm_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
16858 -shared -shared-libgcc -o conftest.so \
16859 conftest.c -v 2>&1 >/dev/null \
16860 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
16861 rm -f conftest.c conftest.so
16862 if test x
${libitm_libgcc_s_suffix+set} = xset
; then
16863 CFLAGS
=" -lgcc_s$libitm_libgcc_s_suffix"
16864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16875 if ac_fn_c_try_link
"$LINENO"; then :
16876 libitm_shared_libgcc
=yes
16878 rm -f core conftest.err conftest.
$ac_objext \
16879 conftest
$ac_exeext conftest.
$ac_ext
16880 CFLAGS
="$ac_save_CFLAGS"
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_shared_libgcc" >&5
16884 $as_echo "$libitm_shared_libgcc" >&6; }
16887 # For GNU ld, we need at least this version. The format is described in
16888 # LIBITM_CHECK_LINKER_FEATURES above.
16889 libitm_min_gnu_ld_version
=21400
16890 # XXXXXXXXXXX libitm_gnu_ld_version=21390
16892 # Check to see if unspecified "yes" value can win, given results above.
16893 # Change "yes" into either "no" or a style name.
16894 if test $enable_symvers != no
&& test $libitm_shared_libgcc = yes; then
16895 if test $with_gnu_ld = yes; then
16896 if test $libitm_gnu_ld_version -ge $libitm_min_gnu_ld_version ; then
16898 elif test $libitm_ld_is_gold = yes ; then
16901 # The right tools, the right setup, but too old. Fallbacks?
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&5
16903 $as_echo "$as_me: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&2;}
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
16905 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
16907 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&5
16909 $as_echo "$as_me: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&2;}
16910 if test $libitm_gnu_ld_version -ge 21200 ; then
16911 # Globbing fix is present, proper block support is not.
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16913 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16918 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16922 elif test $enable_symvers = sun
; then
16923 : All interesting versions of Sun ld support sun style symbol versioning.
16925 # just fail for now
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
16927 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
16929 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
16931 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16933 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16938 if test $enable_symvers != no
; then
16939 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
=
16940 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
='#'
16942 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
='#'
16943 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
=
16946 if test $enable_symvers = gnu
; then
16947 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
16948 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
16950 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
16951 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
16954 if test $enable_symvers = sun
; then
16955 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
16956 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
16958 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
16959 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
16963 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
16966 if test $enable_symvers = gnu
; then
16968 $as_echo "#define LIBITM_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
16972 # See if we can emit unwind info in the sjlj stub.
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .cfi pseudo-op support" >&5
16974 $as_echo_n "checking assembler .cfi pseudo-op support... " >&6; }
16975 if test "${gcc_cv_as_cfi_pseudo_op+set}" = set; then :
16976 $as_echo_n "(cached) " >&6
16979 gcc_cv_as_cfi_pseudo_op
=unknown
16980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 asm (".cfi_startproc\n\t.cfi_endproc");
16991 if ac_fn_c_try_compile
"$LINENO"; then :
16992 gcc_cv_as_cfi_pseudo_op
=yes
16994 gcc_cv_as_cfi_pseudo_op
=no
16996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_cfi_pseudo_op" >&5
17000 $as_echo "$gcc_cv_as_cfi_pseudo_op" >&6; }
17001 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes
; then
17003 $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs.h
17008 # Determine the proper ABI type for size_t.
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
17011 $as_echo_n "checking how size_t is mangled... " >&6; }
17012 if test "${libitm_cv_size_t_mangling+set}" = set; then :
17013 $as_echo_n "(cached) " >&6
17016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17022 extern __SIZE_TYPE__ x; extern unsigned long x;
17027 if ac_fn_c_try_compile
"$LINENO"; then :
17028 libitm_cv_size_t_mangling
=m
17031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17037 extern __SIZE_TYPE__ x; extern unsigned int x;
17042 if ac_fn_c_try_compile
"$LINENO"; then :
17043 libitm_cv_size_t_mangling
=j
17046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17052 extern __SIZE_TYPE__ x; extern unsigned long long x;
17057 if ac_fn_c_try_compile
"$LINENO"; then :
17058 libitm_cv_size_t_mangling
=y
17061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17062 /* end confdefs.h. */
17067 extern __SIZE_TYPE__ x; extern unsigned short x;
17072 if ac_fn_c_try_compile
"$LINENO"; then :
17073 libitm_cv_size_t_mangling
=t
17075 libitm_cv_size_t_mangling
=x
17077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_size_t_mangling" >&5
17090 $as_echo "$libitm_cv_size_t_mangling" >&6; }
17091 if test $libitm_cv_size_t_mangling = x
; then
17092 as_fn_error
"Unknown underlying type for size_t" "$LINENO" 5
17095 cat >>confdefs.h
<<_ACEOF
17096 #define MANGLE_SIZE_T $libitm_cv_size_t_mangling
17101 # Get target configury.
17102 .
${srcdir}/configure.tgt
17103 if test -n "$UNSUPPORTED"; then
17104 as_fn_error
"Configuration ${target} is unsupported." "$LINENO" 5
17107 CFLAGS
="$save_CFLAGS $XCFLAGS"
17109 # Check for __sync_val_compare_and_swap, but only after the target has
17110 # had a chance to set XCFLAGS.
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
17113 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
17114 if test "${libitm_cv_have_sync_builtins+set}" = set; then :
17115 $as_echo_n "(cached) " >&6
17118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17124 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
17129 if ac_fn_c_try_link
"$LINENO"; then :
17130 libitm_cv_have_sync_builtins
=yes
17132 libitm_cv_have_sync_builtins
=no
17134 rm -f core conftest.err conftest.
$ac_objext \
17135 conftest
$ac_exeext conftest.
$ac_ext
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_sync_builtins" >&5
17138 $as_echo "$libitm_cv_have_sync_builtins" >&6; }
17139 if test $libitm_cv_have_sync_builtins = yes; then
17141 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports 64-bit __sync_*_compare_and_swap" >&5
17146 $as_echo_n "checking whether the target supports 64-bit __sync_*_compare_and_swap... " >&6; }
17147 if test "${libitm_cv_have_64bit_sync_builtins+set}" = set; then :
17148 $as_echo_n "(cached) " >&6
17151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #include <stdint.h>
17158 bar = __sync_val_compare_and_swap(&foo, 0, 1);
17163 if ac_fn_c_try_link
"$LINENO"; then :
17164 libitm_cv_have_64bit_sync_builtins
=yes
17166 libitm_cv_have_64bit_sync_builtins
=no
17168 rm -f core conftest.err conftest.
$ac_objext \
17169 conftest
$ac_exeext conftest.
$ac_ext
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_64bit_sync_builtins" >&5
17172 $as_echo "$libitm_cv_have_64bit_sync_builtins" >&6; }
17173 if test $libitm_cv_have_64bit_sync_builtins = yes; then
17175 $as_echo "#define HAVE_64BIT_SYNC_BUILTINS 1" >>confdefs.h
17179 case "${target_cpu}" in
17180 i
[34567]86 | x86_64
)
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
17182 $as_echo_n "checking if the assembler supports AVX... " >&6; }
17183 if test "${libitm_cv_as_avx+set}" = set; then :
17184 $as_echo_n "(cached) " >&6
17187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17198 if ac_fn_c_try_compile
"$LINENO"; then :
17199 libitm_cv_as_avx
=yes
17201 libitm_cv_as_avx
=no
17203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_avx" >&5
17207 $as_echo "$libitm_cv_as_avx" >&6; }
17208 if test x
$libitm_cv_as_avx = xyes
; then
17210 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether weak refs work like ELF" >&5
17218 $as_echo_n "checking whether weak refs work like ELF... " >&6; }
17219 if test "${ac_cv_have_elf_style_weakref+set}" = set; then :
17220 $as_echo_n "(cached) " >&6
17223 weakref_m4_saved_CFLAGS
="$CFLAGS"
17225 *-apple-darwin*) CFLAGS
="$CFLAGS -Wl,-undefined,dynamic_lookup" ;;
17228 if test "$cross_compiling" = yes; then :
17231 alpha
*-dec-osf*) ac_cv_have_elf_style_weakref
=no
;;
17232 *-apple-darwin[89]*) ac_cv_have_elf_style_weakref
=no
;;
17233 *) ac_cv_have_elf_style_weakref
=yes;;
17236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17239 extern void fNotToBeFound(void) __attribute__((weak));
17249 if ac_fn_c_try_run
"$LINENO"; then :
17250 ac_cv_have_elf_style_weakref
=yes
17252 ac_cv_have_elf_style_weakref
=no
17254 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17255 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17257 CFLAGS
="$weakref_m4_saved_CFLAGS"
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_elf_style_weakref" >&5
17260 $as_echo "$ac_cv_have_elf_style_weakref" >&6; }
17261 if test x
"$ac_cv_have_elf_style_weakref" = xyes
; then
17263 $as_echo "#define HAVE_ELF_STYLE_WEAKREF 1" >>confdefs.h
17267 # Cleanup and exit.
17268 CFLAGS
="$save_CFLAGS"
17269 cat >confcache
<<\_ACEOF
17270 # This file is a shell script that caches the results of configure
17271 # tests run on this system so they can be shared between configure
17272 # scripts and configure runs, see configure's option --config-cache.
17273 # It is not useful on other systems. If it contains results you don't
17274 # want to keep, you may remove or edit it.
17276 # config.status only pays attention to the cache file if you give it
17277 # the --recheck option to rerun configure.
17279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17281 # following values.
17285 # The following way of writing the cache mishandles newlines in values,
17286 # but we know of no workaround that is simple, portable, and efficient.
17287 # So, we kill variables containing newlines.
17288 # Ultrix sh set writes to stderr and can't be redirected directly,
17289 # and sets the high bit in the cache file unless we assign to the vars.
17291 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17292 eval ac_val
=\$
$ac_var
17296 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17297 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17300 _ | IFS | as_nl
) ;; #(
17301 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17302 *) { eval $ac_var=; unset $ac_var;} ;;
17308 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17309 *${as_nl}ac_space
=\
*)
17310 # `set' does not quote correctly, so add quotes: double-quote
17311 # substitution turns \\\\ into \\, and sed turns \\ into \.
17314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17317 # `set' quotes correctly as required by POSIX, so do not add quotes.
17318 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17327 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17329 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17331 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17332 if test -w "$cache_file"; then
17333 test "x$cache_file" != "x/dev/null" &&
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17335 $as_echo "$as_me: updating cache $cache_file" >&6;}
17336 cat confcache
>$cache_file
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17339 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17344 # Add -Wall -Werror if we are using GCC.
17345 if test "x$GCC" = "xyes"; then
17346 XCFLAGS
="$XCFLAGS -Wall -Werror"
17349 XCFLAGS
="$XCFLAGS $XPCFLAGS"
17355 if test ${multilib} = yes; then
17356 multilib_arg
="--enable-multilib"
17361 # Set up the set of libraries that we need to link against for libitm.
17362 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
17363 # which will force linkage against -lpthread (or equivalent for the system).
17364 # That's not 100% ideal, but about the best we can do easily.
17365 if test $enable_shared = yes; then
17366 link_itm
="-litm %{static: $LIBS}"
17368 link_itm
="-litm $LIBS"
17372 if test "$ARCH" = x86
; then
17380 if test "$libitm_cv_as_avx" = yes; then
17382 ARCH_X86_AVX_FALSE
='#'
17384 ARCH_X86_AVX_TRUE
='#'
17385 ARCH_X86_AVX_FALSE
=
17388 if test $enable_linux_futex = yes; then
17390 ARCH_FUTEX_FALSE
='#'
17392 ARCH_FUTEX_TRUE
='#'
17397 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libitm.spec"
17399 cat >confcache
<<\_ACEOF
17400 # This file is a shell script that caches the results of configure
17401 # tests run on this system so they can be shared between configure
17402 # scripts and configure runs, see configure's option --config-cache.
17403 # It is not useful on other systems. If it contains results you don't
17404 # want to keep, you may remove or edit it.
17406 # config.status only pays attention to the cache file if you give it
17407 # the --recheck option to rerun configure.
17409 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17410 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17411 # following values.
17415 # The following way of writing the cache mishandles newlines in values,
17416 # but we know of no workaround that is simple, portable, and efficient.
17417 # So, we kill variables containing newlines.
17418 # Ultrix sh set writes to stderr and can't be redirected directly,
17419 # and sets the high bit in the cache file unless we assign to the vars.
17421 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17422 eval ac_val
=\$
$ac_var
17426 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17427 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17430 _ | IFS | as_nl
) ;; #(
17431 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17432 *) { eval $ac_var=; unset $ac_var;} ;;
17438 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17439 *${as_nl}ac_space
=\
*)
17440 # `set' does not quote correctly, so add quotes: double-quote
17441 # substitution turns \\\\ into \\, and sed turns \\ into \.
17444 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17447 # `set' quotes correctly as required by POSIX, so do not add quotes.
17448 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17457 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17459 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17461 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17462 if test -w "$cache_file"; then
17463 test "x$cache_file" != "x/dev/null" &&
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17465 $as_echo "$as_me: updating cache $cache_file" >&6;}
17466 cat confcache
>$cache_file
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17469 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17474 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17475 # Let make expand exec_prefix.
17476 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17478 DEFS
=-DHAVE_CONFIG_H
17482 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17483 # 1. Remove the extension, and $U if already installed.
17484 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17485 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17486 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17487 # will be set to the directory where LIBOBJS objects are built.
17488 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17489 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17491 LIBOBJS
=$ac_libobjs
17493 LTLIBOBJS
=$ac_ltlibobjs
17496 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
17497 as_fn_error
"conditional \"GENINSRC\" was never defined.
17498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17500 if test -n "$EXEEXT"; then
17502 am__EXEEXT_FALSE
='#'
17504 am__EXEEXT_TRUE
='#'
17508 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17509 as_fn_error
"conditional \"AMDEP\" was never defined.
17510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17512 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17513 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
17514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17516 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17517 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
17518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17520 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17521 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
17522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17524 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
17525 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
17526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17528 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17529 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17533 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_FALSE}"; then
17534 as_fn_error
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB\" was never defined.
17535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17537 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
17538 as_fn_error
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
17539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17541 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
17542 as_fn_error
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
17543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17545 if test -z "${ARCH_X86_TRUE}" && test -z "${ARCH_X86_FALSE}"; then
17546 as_fn_error
"conditional \"ARCH_X86\" was never defined.
17547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17549 if test -z "${ARCH_X86_AVX_TRUE}" && test -z "${ARCH_X86_AVX_FALSE}"; then
17550 as_fn_error
"conditional \"ARCH_X86_AVX\" was never defined.
17551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17553 if test -z "${ARCH_FUTEX_TRUE}" && test -z "${ARCH_FUTEX_FALSE}"; then
17554 as_fn_error
"conditional \"ARCH_FUTEX\" was never defined.
17555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17558 : ${CONFIG_STATUS=./config.status}
17560 ac_clean_files_save
=$ac_clean_files
17561 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17563 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17565 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17567 # Generated by $as_me.
17568 # Run this file to recreate the current configuration.
17569 # Compiler output produced by configure, useful for debugging
17570 # configure, is in config.log if it exists.
17573 ac_cs_recheck=false
17576 SHELL=\${CONFIG_SHELL-$SHELL}
17579 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17580 ## -------------------- ##
17581 ## M4sh Initialization. ##
17582 ## -------------------- ##
17584 # Be more Bourne compatible
17585 DUALCASE
=1; export DUALCASE
# for MKS sh
17586 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17589 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17590 # is contrary to our usage. Disable this feature.
17591 alias -g '${1+"$@"}'='"$@"'
17592 setopt NO_GLOB_SUBST
17594 case `(set -o) 2>/dev/null` in #(
17606 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17607 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17608 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17609 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17610 # Prefer a ksh shell builtin over an external printf program on Solaris,
17611 # but without wasting forks for bash or zsh.
17612 if test -z "$BASH_VERSION$ZSH_VERSION" \
17613 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17614 as_echo='print
-r --'
17615 as_echo_n='print
-rn --'
17616 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17617 as_echo='printf %s
\n'
17618 as_echo_n='printf %s
'
17620 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17621 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17622 as_echo_n='/usr
/ucb
/echo -n'
17624 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17625 as_echo_n_body='eval
17629 expr "X$arg" : "X\\(.*\\)$as_nl";
17630 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17632 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17634 export as_echo_n_body
17635 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17637 export as_echo_body
17638 as_echo='sh
-c $as_echo_body as_echo
'
17641 # The user is always right.
17642 if test "${PATH_SEPARATOR+set}" != set; then
17644 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17645 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17652 # We need space, tab and new line, in precisely that order. Quoting is
17653 # there to prevent editors from complaining about space-tab.
17654 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17655 # splitting by setting IFS to empty value.)
17658 # Find who we are. Look in the path if we contain no directory separator.
17660 *[\\/]* ) as_myself=$0 ;;
17661 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17662 for as_dir in $PATH
17665 test -z "$as_dir" && as_dir=.
17666 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17672 # We did not find ourselves, most probably we were run as `sh COMMAND'
17673 # in which case we are not to be found in the path.
17674 if test "x$as_myself" = x
; then
17677 if test ! -f "$as_myself"; then
17678 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17682 # Unset variables that we do not need and which cause bugs (e.g. in
17683 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17684 # suppresses any "Segmentation fault" message there. '((' could
17685 # trigger a bug in pdksh 5.2.14.
17686 for as_var
in BASH_ENV ENV MAIL MAILPATH
17687 do eval test x\
${$as_var+set} = xset \
17688 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17701 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17704 # as_fn_error ERROR [LINENO LOG_FD]
17705 # ---------------------------------
17706 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17707 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17708 # script with status $?, using 1 if that was 0.
17711 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17713 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17714 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17716 $as_echo "$as_me: error: $1" >&2
17717 as_fn_exit
$as_status
17721 # as_fn_set_status STATUS
17722 # -----------------------
17723 # Set $? to STATUS, without forking.
17724 as_fn_set_status
()
17727 } # as_fn_set_status
17729 # as_fn_exit STATUS
17730 # -----------------
17731 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17735 as_fn_set_status
$1
17741 # Portably unset VAR.
17744 { eval $1=; unset $1;}
17746 as_unset
=as_fn_unset
17747 # as_fn_append VAR VALUE
17748 # ----------------------
17749 # Append the text in VALUE to the end of the definition contained in VAR. Take
17750 # advantage of any shell optimizations that allow amortized linear growth over
17751 # repeated appends, instead of the typical quadratic growth present in naive
17753 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17754 eval 'as_fn_append ()
17765 # as_fn_arith ARG...
17766 # ------------------
17767 # Perform arithmetic evaluation on the ARGs, and store the result in the
17768 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17769 # must be portable across $(()) and expr.
17770 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17771 eval 'as_fn_arith ()
17778 as_val
=`expr "$@" || test $? -eq 1`
17783 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17784 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17790 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17791 as_basename
=basename
17796 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17802 as_me
=`$as_basename -- "$0" ||
17803 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17804 X"$0" : 'X\(//\)$' \| \
17805 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17807 sed '/^.*\/\([^/][^/]*\)\/*$/{
17821 # Avoid depending upon Character Ranges.
17822 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17823 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17824 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17825 as_cr_digits
='0123456789'
17826 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17828 ECHO_C
= ECHO_N
= ECHO_T
=
17829 case `echo -n x` in #(((((
17831 case `echo 'xy\c'` in
17832 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17834 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17841 rm -f conf$$ conf$$.exe conf$$.
file
17842 if test -d conf$$.dir
; then
17843 rm -f conf$$.dir
/conf$$.
file
17846 mkdir conf$$.dir
2>/dev
/null
17848 if (echo >conf$$.
file) 2>/dev
/null
; then
17849 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17851 # ... but there are two gotchas:
17852 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17853 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17854 # In both cases, we have to default to `cp -p'.
17855 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17857 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17865 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17866 rmdir conf$$.dir
2>/dev
/null
17871 # Create "$as_dir" as a directory, including parents if necessary.
17876 -*) as_dir
=.
/$as_dir;;
17878 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17882 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17883 *) as_qdir
=$as_dir;;
17885 as_dirs
="'$as_qdir' $as_dirs"
17886 as_dir
=`$as_dirname -- "$as_dir" ||
17887 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17888 X"$as_dir" : 'X\(//\)[^/]' \| \
17889 X"$as_dir" : 'X\(//\)$' \| \
17890 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17891 $as_echo X"$as_dir" |
17892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17896 /^X\(\/\/\)[^/].*/{
17909 test -d "$as_dir" && break
17911 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17912 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17916 if mkdir
-p .
2>/dev
/null
; then
17917 as_mkdir_p
='mkdir -p "$as_dir"'
17919 test -d .
/-p && rmdir .
/-p
17923 if test -x / >/dev
/null
2>&1; then
17924 as_test_x
='test -x'
17926 if ls -dL / >/dev
/null
2>&1; then
17933 if test -d "$1"; then
17939 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17940 ???[sx]*):;;*)false;;esac;fi
17944 as_executable_p
=$as_test_x
17946 # Sed expression to map a string onto a valid CPP name.
17947 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17949 # Sed expression to map a string onto a valid variable name.
17950 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17954 ## ----------------------------------- ##
17955 ## Main body of $CONFIG_STATUS script. ##
17956 ## ----------------------------------- ##
17958 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17961 # Save the log message, to keep $0 and so on meaningful, and to
17962 # report actual input values of CONFIG_FILES etc. instead of their
17963 # values after options handling.
17965 This file was extended by GNU TM Runtime Library $as_me 1.0, which was
17966 generated by GNU Autoconf 2.64. Invocation command line was
17968 CONFIG_FILES = $CONFIG_FILES
17969 CONFIG_HEADERS = $CONFIG_HEADERS
17970 CONFIG_LINKS = $CONFIG_LINKS
17971 CONFIG_COMMANDS = $CONFIG_COMMANDS
17974 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17979 case $ac_config_files in *"
17980 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17983 case $ac_config_headers in *"
17984 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17989 # Files that config.status was made for.
17990 config_files="$ac_config_files"
17991 config_headers="$ac_config_headers"
17992 config_commands="$ac_config_commands"
17996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17998 \`$as_me' instantiates files and other configuration actions
17999 from templates according to the current configuration. Unless the files
18000 and actions are specified as TAGs, all are instantiated by default.
18002 Usage: $0 [OPTION]... [TAG]...
18004 -h, --help print this help, then exit
18005 -V, --version print version number and configuration settings, then exit
18006 -q, --quiet, --silent
18007 do not print progress messages
18008 -d, --debug don't remove temporary files
18009 --recheck update $as_me by reconfiguring in the same conditions
18010 --file=FILE[:TEMPLATE]
18011 instantiate the configuration file FILE
18012 --header=FILE[:TEMPLATE]
18013 instantiate the configuration header FILE
18015 Configuration files:
18018 Configuration headers:
18021 Configuration commands:
18024 Report bugs to the package provider.
18025 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
18026 General help using GNU software: <http://www.gnu.org/gethelp/>."
18029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18031 GNU TM Runtime Library config.status 1.0
18032 configured by $0, generated by GNU Autoconf 2.64,
18033 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18035 Copyright (C) 2009 Free Software Foundation, Inc.
18036 This config.status script is free software; the Free Software Foundation
18037 gives unlimited permission to copy, distribute and modify it."
18044 test -n "\$AWK" || AWK=awk
18047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18048 # The default lists apply if the user does not specify any file.
18054 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18055 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18066 # Handling of the options.
18067 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18069 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18070 $as_echo "$ac_cs_version"; exit ;;
18071 --debug |
--debu |
--deb |
--de |
--d |
-d )
18073 --file |
--fil |
--fi |
--f )
18076 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18078 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18079 ac_need_defaults
=false
;;
18080 --header |
--heade |
--head |
--hea )
18083 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18085 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18086 ac_need_defaults
=false
;;
18088 # Conflict between --help and --header
18089 as_fn_error
"ambiguous option: \`$1'
18090 Try \`$0 --help' for more information.";;
18091 --help |
--hel |
-h )
18092 $as_echo "$ac_cs_usage"; exit ;;
18093 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18094 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18097 # This is an error.
18098 -*) as_fn_error
"unrecognized option: \`$1'
18099 Try \`$0 --help' for more information." ;;
18101 *) as_fn_append ac_config_targets
" $1"
18102 ac_need_defaults
=false
;;
18108 ac_configure_extra_args
=
18110 if $ac_cs_silent; then
18112 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18117 if \$ac_cs_recheck; then
18118 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18120 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18121 CONFIG_SHELL='$SHELL'
18122 export CONFIG_SHELL
18127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18131 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18132 ## Running $as_me. ##
18138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18146 with_multisubdir="$with_multisubdir"
18147 with_multisrctop="$with_multisrctop"
18148 with_target_subdir="$with_target_subdir"
18149 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18150 multi_basedir="$multi_basedir"
18151 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18154 GFORTRAN="$GFORTRAN"
18156 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18159 # The HP-UX ksh and POSIX shell print the target directory to stdout
18160 # if CDPATH is set.
18161 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18163 sed_quote_subst='$sed_quote_subst'
18164 double_quote_subst='$double_quote_subst'
18165 delay_variable_subst='$delay_variable_subst'
18166 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18167 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18168 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18169 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18170 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18171 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18172 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18173 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18174 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18175 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18176 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18177 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18178 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18179 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18180 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18181 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18182 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18183 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18184 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18185 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18186 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18187 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18188 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18189 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18190 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18191 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18192 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18193 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18194 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18195 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18196 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18197 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18198 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18199 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18200 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18201 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18202 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18203 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18204 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18205 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18206 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18207 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18208 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18209 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18210 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18211 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18212 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18213 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18214 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"`'
18215 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18216 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18217 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18218 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18219 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18220 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18221 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18222 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18223 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18224 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18225 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18226 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18227 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18228 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18229 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18230 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18231 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18232 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18233 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18234 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18235 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18236 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18237 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18238 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18239 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18240 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18241 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18242 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18243 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18244 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18245 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18246 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18247 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18248 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18249 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18250 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18251 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18252 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18253 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18254 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18255 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18256 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18257 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18258 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18259 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18260 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18261 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18262 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18263 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18264 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18265 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18266 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18267 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18268 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18269 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18270 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18271 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18272 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18273 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18274 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18275 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18276 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18277 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18278 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18279 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18280 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18281 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18282 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18283 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18284 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18285 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18286 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18287 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18288 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18289 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18290 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18291 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18292 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18293 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18294 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18295 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18296 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18297 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18298 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18299 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18300 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18301 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18302 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18303 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18304 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18305 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18306 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18307 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18308 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18309 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18310 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18311 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18312 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18313 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18314 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18315 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18316 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18317 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18318 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18319 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18320 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18321 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18322 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18323 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18324 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18325 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18326 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18327 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18328 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18329 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18330 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18331 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18332 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18333 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18334 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18335 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18336 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18337 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18338 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18339 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18340 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18343 LTCFLAGS='$LTCFLAGS'
18344 compiler='$compiler_DEFAULT'
18346 # A function that is used when there is no print builtin or printf.
18347 func_fallback_echo ()
18349 eval 'cat <<_LTECHO_EOF
18354 # Quote evaled strings.
18368 deplibs_check_method \
18377 lt_cv_sys_global_symbol_pipe \
18378 lt_cv_sys_global_symbol_to_cdecl \
18379 lt_cv_sys_global_symbol_to_c_name_address \
18380 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18381 lt_prog_compiler_no_builtin_flag \
18382 lt_prog_compiler_wl \
18383 lt_prog_compiler_pic \
18384 lt_prog_compiler_static \
18385 lt_cv_prog_compiler_c_o \
18393 export_dynamic_flag_spec \
18394 whole_archive_flag_spec \
18395 compiler_needs_object \
18397 allow_undefined_flag \
18398 no_undefined_flag \
18399 hardcode_libdir_flag_spec \
18400 hardcode_libdir_flag_spec_ld \
18401 hardcode_libdir_separator \
18406 variables_saved_for_relink \
18408 library_names_spec \
18410 install_override_mode \
18414 compiler_lib_search_dirs \
18419 compiler_lib_search_path \
18423 lt_prog_compiler_no_builtin_flag_CXX \
18424 lt_prog_compiler_wl_CXX \
18425 lt_prog_compiler_pic_CXX \
18426 lt_prog_compiler_static_CXX \
18427 lt_cv_prog_compiler_c_o_CXX \
18428 export_dynamic_flag_spec_CXX \
18429 whole_archive_flag_spec_CXX \
18430 compiler_needs_object_CXX \
18432 allow_undefined_flag_CXX \
18433 no_undefined_flag_CXX \
18434 hardcode_libdir_flag_spec_CXX \
18435 hardcode_libdir_flag_spec_ld_CXX \
18436 hardcode_libdir_separator_CXX \
18437 fix_srcfile_path_CXX \
18438 exclude_expsyms_CXX \
18439 include_expsyms_CXX \
18440 file_list_spec_CXX \
18441 compiler_lib_search_dirs_CXX \
18442 predep_objects_CXX \
18443 postdep_objects_CXX \
18446 compiler_lib_search_path_CXX; do
18447 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18448 *[\\\\\\\`\\"\\\$]*)
18449 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18452 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18457 # Double-quote double-evaled strings.
18458 for var in reload_cmds \
18459 old_postinstall_cmds \
18460 old_postuninstall_cmds \
18462 extract_expsyms_cmds \
18463 old_archive_from_new_cmds \
18464 old_archive_from_expsyms_cmds \
18466 archive_expsym_cmds \
18468 module_expsym_cmds \
18469 export_symbols_cmds \
18472 postuninstall_cmds \
18474 sys_lib_search_path_spec \
18475 sys_lib_dlsearch_path_spec \
18477 old_archive_cmds_CXX \
18478 old_archive_from_new_cmds_CXX \
18479 old_archive_from_expsyms_cmds_CXX \
18481 archive_expsym_cmds_CXX \
18483 module_expsym_cmds_CXX \
18484 export_symbols_cmds_CXX \
18485 prelink_cmds_CXX; do
18486 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18487 *[\\\\\\\`\\"\\\$]*)
18488 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18491 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18496 ac_aux_dir='$ac_aux_dir'
18497 xsi_shell='$xsi_shell'
18498 lt_shell_append='$lt_shell_append'
18500 # See if we are running on zsh, and set the options which allow our
18501 # commands through without removal of \ escapes INIT.
18502 if test -n "\${ZSH_VERSION+set}" ; then
18503 setopt NO_GLOB_SUBST
18509 TIMESTAMP='$TIMESTAMP'
18520 acx_cv_header_stdint="$acx_cv_header_stdint"
18521 acx_cv_type_int8_t="$acx_cv_type_int8_t"
18522 acx_cv_type_int16_t="$acx_cv_type_int16_t"
18523 acx_cv_type_int32_t="$acx_cv_type_int32_t"
18524 acx_cv_type_int64_t="$acx_cv_type_int64_t"
18525 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
18526 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
18527 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
18528 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18529 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18530 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
18531 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18532 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18533 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
18538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18540 # Handling of arguments.
18541 for ac_config_target
in $ac_config_targets
18543 case $ac_config_target in
18544 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18545 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18546 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18547 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18548 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
18549 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18550 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
18551 "libitm.spec") CONFIG_FILES
="$CONFIG_FILES libitm.spec" ;;
18553 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18558 # If the user did not use the arguments to specify the items to instantiate,
18559 # then the envvar interface is used. Set only those that are not.
18560 # We use the long form for the default assignment because of an extremely
18561 # bizarre bug on SunOS 4.1.3.
18562 if $ac_need_defaults; then
18563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18564 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18565 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18568 # Have a temporary directory for convenience. Make it in the build tree
18569 # simply because there is no reason against having it here, and in addition,
18570 # creating and moving files from /tmp can sometimes cause problems.
18571 # Hook for its removal unless debugging.
18572 # Note that there is a small window in which the directory will not be cleaned:
18573 # after its creation but before its name has been assigned to `$tmp'.
18577 trap 'exit_status=$?
18578 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18580 trap 'as_fn_exit 1' 1 2 13 15
18582 # Create a (secure) tmp directory for tmp files.
18585 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18586 test -n "$tmp" && test -d "$tmp"
18589 tmp
=.
/conf$$
-$RANDOM
18590 (umask 077 && mkdir
"$tmp")
18591 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18593 # Set up the scripts for CONFIG_FILES section.
18594 # No need to generate them if there are no CONFIG_FILES.
18595 # This happens for instance with `./config.status config.h'.
18596 if test -n "$CONFIG_FILES"; then
18599 ac_cr
=`echo X | tr X '\015'`
18600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18601 # But we know of no other shell where ac_cr would be empty at this
18602 # point, so we can use a bashism as a fallback.
18603 if test "x$ac_cr" = x
; then
18604 eval ac_cr
=\$
\'\\r
\'
18606 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18610 ac_cs_awk_cr
=$ac_cr
18613 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18618 echo "cat >conf$$subs.awk <<_ACEOF" &&
18619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18621 } >conf$$subs.sh ||
18622 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18625 for ac_last_try in false false false false false :; do
18626 . ./conf$$subs.sh ||
18627 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18629 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18630 if test $ac_delim_n = $ac_delim_num; then
18632 elif $ac_last_try; then
18633 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18635 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18638 rm -f conf$$subs.sh
18640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18645 s/^/S["/; s
/!.
*/"]=/
18655 s/\(.\{148\}\).*/\1/
18657 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18662 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18669 s/\(.\{148\}\).*/\1/
18671 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18675 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18680 ' <conf$$subs.awk | sed '
18685 ' >>$CONFIG_STATUS || ac_write_fail=1
18686 rm -f conf$$subs.awk
18687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18689 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18690 for (key in S) S_is_set[key] = 1
18696 nfields = split(line, field, "@
")
18698 len = length(field[1])
18699 for (i = 2; i < nfields; i++) {
18701 keylen = length(key)
18702 if (S_is_set[key]) {
18704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18705 len += length(value) + length(field[++i])
18716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18717 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18718 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18721 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18722 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18725 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18726 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18727 # trailing colons and then remove the whole line if VPATH becomes empty
18728 # (actually we leave an empty line to preserve line numbers).
18729 if test "x
$srcdir" = x.; then
18730 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18731 s/:*\$(srcdir):*/:/
18732 s/:*\${srcdir}:*/:/
18734 s/^\([^=]*=[ ]*\):*/\1/
18740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18741 fi # test -n "$CONFIG_FILES"
18743 # Set up the scripts for CONFIG_HEADERS section.
18744 # No need to generate them if there are no CONFIG_HEADERS.
18745 # This happens for instance with `./config.status Makefile'.
18746 if test -n "$CONFIG_HEADERS"; then
18747 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18751 # Transform confdefs.h into an awk script `defines.awk', embedded as
18752 # here-document in config.status, that substitutes the proper values into
18753 # config.h.in to produce config.h.
18755 # Create a delimiter string that does not exist in confdefs.h, to ease
18756 # handling of long lines.
18758 for ac_last_try in false false :; do
18759 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18760 if test -z "$ac_t"; then
18762 elif $ac_last_try; then
18763 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
18765 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18769 # For the awk script, D is an array of macro values keyed by name,
18770 # likewise P contains macro parameters if any. Preserve backslash
18771 # newline sequences.
18773 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18775 s/.\{148\}/&'"$ac_delim"'/g
18778 s/^[ ]*#[ ]*define[ ][ ]*/ /
18785 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18787 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18791 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18792 D["\
1"]=" \
3\\\\\\n
"\\/p
18794 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18799 s/.\{148\}/&'"$ac_delim"'/g
18804 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18807 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18809 ' <confdefs.h | sed '
18810 s/'"$ac_delim"'/"\\\
18811 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18814 for (key in D) D_is_set[key] = 1
18817 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18819 split(line, arg, " ")
18820 if (arg[1] == "#") {
18824 defundef
= substr
(arg
[1], 2)
18827 split(mac1
, mac2
, "(") #)
18829 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18830 if (D_is_set
[macro
]) {
18831 # Preserve the white space surrounding the "#".
18832 print prefix
"define", macro P
[macro
] D
[macro
]
18835 # Replace #undef with comments. This is necessary, for example,
18836 # in the case of _POSIX_SOURCE, which is predefined and required
18837 # on some systems where configure will not decide to define it.
18838 if (defundef
== "undef") {
18839 print
"/*", prefix defundef
, macro
, "*/"
18847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18848 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
18849 fi # test -n "$CONFIG_HEADERS"
18852 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18857 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18859 case $ac_mode$ac_tag in
18861 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18862 :[FH
]-) ac_tag
=-:-;;
18863 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18880 -) ac_f
="$tmp/stdin";;
18881 *) # Look for the file first in the build tree, then in the source tree
18882 # (if the path is not absolute). The absolute path cannot be DOS-style,
18883 # because $ac_f cannot contain `:'.
18887 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18889 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
18891 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18892 as_fn_append ac_file_inputs
" '$ac_f'"
18895 # Let's still pretend it is `configure' which instantiates (i.e., don't
18896 # use $as_me), people would be surprised to read:
18897 # /* config.h. Generated by config.status. */
18898 configure_input
='Generated from '`
18899 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18901 if test x
"$ac_file" != x-
; then
18902 configure_input
="$ac_file. $configure_input"
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18904 $as_echo "$as_me: creating $ac_file" >&6;}
18906 # Neutralize special characters interpreted by sed in replacement strings.
18907 case $configure_input in #(
18908 *\
&* |
*\|
* |
*\\* )
18909 ac_sed_conf_input
=`$as_echo "$configure_input" |
18910 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18911 *) ac_sed_conf_input
=$configure_input;;
18915 *:-:* |
*:-) cat >"$tmp/stdin" \
18916 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
18921 ac_dir
=`$as_dirname -- "$ac_file" ||
18922 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18923 X"$ac_file" : 'X\(//\)[^/]' \| \
18924 X"$ac_file" : 'X\(//\)$' \| \
18925 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18926 $as_echo X"$ac_file" |
18927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18931 /^X\(\/\/\)[^/].*/{
18944 as_dir
="$ac_dir"; as_fn_mkdir_p
18948 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18950 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18951 # A ".." for each directory in $ac_dir_suffix.
18952 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18953 case $ac_top_builddir_sub in
18954 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18955 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18958 ac_abs_top_builddir
=$ac_pwd
18959 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18960 # for backward compatibility:
18961 ac_top_builddir
=$ac_top_build_prefix
18964 .
) # We are building in place.
18966 ac_top_srcdir
=$ac_top_builddir_sub
18967 ac_abs_top_srcdir
=$ac_pwd ;;
18968 [\\/]* | ?
:[\\/]* ) # Absolute name.
18969 ac_srcdir
=$srcdir$ac_dir_suffix;
18970 ac_top_srcdir
=$srcdir
18971 ac_abs_top_srcdir
=$srcdir ;;
18972 *) # Relative name.
18973 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18974 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18975 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18977 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18987 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18988 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18990 ac_MKDIR_P
=$MKDIR_P
18992 [\\/$
]* | ?
:[\\/]* ) ;;
18993 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18998 # If the template does not know about datarootdir, expand it.
18999 # FIXME: This hack should be removed a few years after 2.60.
19000 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19011 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19012 *datarootdir
*) ac_datarootdir_seen
=yes;;
19013 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19015 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19018 ac_datarootdir_hack='
19019 s&@datadir@&$datadir&g
19020 s&@docdir@&$docdir&g
19021 s&@infodir@&$infodir&g
19022 s&@localedir@&$localedir&g
19023 s&@mandir@&$mandir&g
19024 s&\\\${datarootdir}&$datarootdir&g' ;;
19028 # Neutralize VPATH when `$srcdir' = `.'.
19029 # Shell code in configure.ac might set extrasub.
19030 # FIXME: do we really want to maintain this feature?
19031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19032 ac_sed_extra="$ac_vpsub
19035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19037 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19038 s|@configure_input@|
$ac_sed_conf_input|
;t t
19039 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19040 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19041 s
&@srcdir@
&$ac_srcdir&;t t
19042 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19043 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19044 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19045 s
&@builddir@
&$ac_builddir&;t t
19046 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19047 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19048 s
&@INSTALL@
&$ac_INSTALL&;t t
19049 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19050 $ac_datarootdir_hack
19052 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19053 || as_fn_error "could not create
$ac_file" "$LINENO" 5
19055 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19056 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19057 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19059 which seems to be undefined. Please make sure it is defined." >&5
19060 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19061 which seems to be undefined. Please make sure it is defined." >&2;}
19065 -) cat "$tmp/out" && rm -f "$tmp/out";;
19066 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19068 || as_fn_error "could not create $ac_file" "$LINENO" 5
19074 if test x"$ac_file" != x-; then
19076 $as_echo "/* $configure_input */" \
19077 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19078 } >"$tmp/config.h" \
19079 || as_fn_error "could not create $ac_file" "$LINENO" 5
19080 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19082 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19085 mv "$tmp/config.h" "$ac_file" \
19086 || as_fn_error "could not create $ac_file" "$LINENO" 5
19089 $as_echo "/* $configure_input */" \
19090 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19091 || as_fn_error "could not create -" "$LINENO" 5
19093 # Compute "$ac_file"'s index
in $config_headers.
19096 for _am_header
in $config_headers :; do
19097 case $_am_header in
19098 $_am_arg |
$_am_arg:* )
19101 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19104 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19105 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19106 X"$_am_arg" : 'X\(//\)[^/]' \| \
19107 X"$_am_arg" : 'X\(//\)$' \| \
19108 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19109 $as_echo X"$_am_arg" |
19110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19114 /^X\(\/\/\)[^/].*/{
19126 s/.*/./; q'`/stamp-h
$_am_stamp_count
19129 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19130 $as_echo "$as_me: executing $ac_file commands" >&6;}
19135 case $ac_file$ac_mode in
19137 # Only add multilib support code if we just rebuilt the top-level
19139 case " $CONFIG_FILES " in
19141 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
19144 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19145 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19146 # are listed without --file. Let's play safe and only enable the eval
19147 # if we detect the quoting.
19148 case $CONFIG_FILES in
19149 *\'*) eval set x
"$CONFIG_FILES" ;;
19150 *) set x
$CONFIG_FILES ;;
19155 # Strip MF so we end up with the name of the file.
19156 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19157 # Check whether this is an Automake generated Makefile or not.
19158 # We used to match only the files named `Makefile.in', but
19159 # some people rename them; so instead we look at the file content.
19160 # Grep'ing the first line is not enough: some people post-process
19161 # each Makefile.in and add a new line on top of each file to say so.
19162 # Grep'ing the whole file is not good either: AIX grep has a line
19163 # limit of 2048, but all sed's we know have understand at least 4000.
19164 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19165 dirpart
=`$as_dirname -- "$mf" ||
19166 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19167 X"$mf" : 'X\(//\)[^/]' \| \
19168 X"$mf" : 'X\(//\)$' \| \
19169 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19175 /^X\(\/\/\)[^/].*/{
19191 # Extract the definition of DEPDIR, am__include, and am__quote
19192 # from the Makefile without running `make'.
19193 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19194 test -z "$DEPDIR" && continue
19195 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19196 test -z "am__include" && continue
19197 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19198 # When using ansi2knr, U may be empty or an underscore; expand it
19199 U
=`sed -n 's/^U = //p' < "$mf"`
19200 # Find all dependency output files, they are included files with
19201 # $(DEPDIR) in their names. We invoke sed twice because it is the
19202 # simplest approach to changing $(DEPDIR) to its actual value in the
19204 for file in `sed -n "
19205 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19206 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19207 # Make sure the directory exists.
19208 test -f "$dirpart/$file" && continue
19209 fdir
=`$as_dirname -- "$file" ||
19210 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19211 X"$file" : 'X\(//\)[^/]' \| \
19212 X"$file" : 'X\(//\)$' \| \
19213 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19214 $as_echo X"$file" |
19215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19219 /^X\(\/\/\)[^/].*/{
19232 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19233 # echo "creating $dirpart/$file"
19234 echo '# dummy' > "$dirpart/$file"
19241 # See if we are running on zsh, and set the options which allow our
19242 # commands through without removal of \ escapes.
19243 if test -n "${ZSH_VERSION+set}" ; then
19244 setopt NO_GLOB_SUBST
19247 cfgfile
="${ofile}T"
19248 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19251 cat <<_LT_EOF >> "$cfgfile"
19254 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19255 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19256 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19257 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19259 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19260 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19261 # Written by Gordon Matzigkeit, 1996
19263 # This file is part of GNU Libtool.
19265 # GNU Libtool is free software; you can redistribute it and/or
19266 # modify it under the terms of the GNU General Public License as
19267 # published by the Free Software Foundation; either version 2 of
19268 # the License, or (at your option) any later version.
19270 # As a special exception to the GNU General Public License,
19271 # if you distribute this file as part of a program or library that
19272 # is built using GNU Libtool, you may include this file under the
19273 # same distribution terms that you use for the rest of that program.
19275 # GNU Libtool is distributed in the hope that it will be useful,
19276 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19277 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19278 # GNU General Public License for more details.
19280 # You should have received a copy of the GNU General Public License
19281 # along with GNU Libtool; see the file COPYING. If not, a copy
19282 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19283 # obtained by writing to the Free Software Foundation, Inc.,
19284 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19287 # The names of the tagged configurations supported by this script.
19288 available_tags="CXX "
19290 # ### BEGIN LIBTOOL CONFIG
19292 # Which release of libtool.m4 was used?
19293 macro_version=$macro_version
19294 macro_revision=$macro_revision
19296 # Whether or not to build shared libraries.
19297 build_libtool_libs=$enable_shared
19299 # Whether or not to build static libraries.
19300 build_old_libs=$enable_static
19302 # What type of objects to build.
19305 # Whether or not to optimize for fast installation.
19306 fast_install=$enable_fast_install
19308 # Shell to use when invoking shell scripts.
19311 # An echo program that protects backslashes.
19315 host_alias=$host_alias
19319 # The build system.
19320 build_alias=$build_alias
19324 # A sed program that does not truncate output.
19327 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19328 Xsed="\$SED -e 1s/^X//"
19330 # A grep program that handles long lines.
19336 # A literal string matcher.
19339 # A BSD- or MS-compatible name lister.
19342 # Whether we need soft or hard links.
19345 # What is the maximum length of a command?
19346 max_cmd_len=$max_cmd_len
19348 # Object file suffix (normally "o").
19351 # Executable file suffix (normally "").
19354 # whether the shell understands "unset".
19357 # turn spaces into newlines.
19360 # turn newlines into spaces.
19363 # An object symbol dumper.
19364 OBJDUMP=$lt_OBJDUMP
19366 # Method to check whether dependent libraries are shared objects.
19367 deplibs_check_method=$lt_deplibs_check_method
19369 # Command to use when deplibs_check_method == "file_magic".
19370 file_magic_cmd=$lt_file_magic_cmd
19374 AR_FLAGS=$lt_AR_FLAGS
19376 # A symbol stripping program.
19379 # Commands used to install an old-style archive.
19381 old_postinstall_cmds=$lt_old_postinstall_cmds
19382 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19384 # Whether to use a lock for old archive extraction.
19385 lock_old_archive_extraction=$lock_old_archive_extraction
19390 # LTCC compiler flags.
19391 LTCFLAGS=$lt_CFLAGS
19393 # Take the output of nm and produce a listing of raw symbols and C names.
19394 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19396 # Transform the output of nm in a proper C declaration.
19397 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19399 # Transform the output of nm in a C name address pair.
19400 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19402 # Transform the output of nm in a C name address pair when lib prefix is needed.
19403 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19405 # The name of the directory that contains temporary libtool files.
19408 # Used to examine libraries when file_magic_cmd begins with "file".
19409 MAGIC_CMD=$MAGIC_CMD
19411 # Must we lock files when doing compilation?
19412 need_locks=$lt_need_locks
19414 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19415 DSYMUTIL=$lt_DSYMUTIL
19417 # Tool to change global to local symbols on Mac OS X.
19420 # Tool to manipulate fat objects and archives on Mac OS X.
19423 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19426 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19427 OTOOL64=$lt_OTOOL64
19429 # Old archive suffix (normally "a").
19432 # Shared library suffix (normally ".so").
19433 shrext_cmds=$lt_shrext_cmds
19435 # The commands to extract the exported symbol list from a shared archive.
19436 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19438 # Variables whose values should be saved in libtool wrapper scripts and
19439 # restored at link time.
19440 variables_saved_for_relink=$lt_variables_saved_for_relink
19442 # Do we need the "lib" prefix for modules?
19443 need_lib_prefix=$need_lib_prefix
19445 # Do we need a version for libraries?
19446 need_version=$need_version
19448 # Library versioning type.
19449 version_type=$version_type
19451 # Shared library runtime path variable.
19452 runpath_var=$runpath_var
19454 # Shared library path variable.
19455 shlibpath_var=$shlibpath_var
19457 # Is shlibpath searched before the hard-coded library search path?
19458 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19460 # Format of library name prefix.
19461 libname_spec=$lt_libname_spec
19463 # List of archive names. First name is the real one, the rest are links.
19464 # The last name is the one that the linker finds with -lNAME
19465 library_names_spec=$lt_library_names_spec
19467 # The coded name of the library, if different from the real name.
19468 soname_spec=$lt_soname_spec
19470 # Permission mode override for installation of shared libraries.
19471 install_override_mode=$lt_install_override_mode
19473 # Command to use after installation of a shared archive.
19474 postinstall_cmds=$lt_postinstall_cmds
19476 # Command to use after uninstallation of a shared archive.
19477 postuninstall_cmds=$lt_postuninstall_cmds
19479 # Commands used to finish a libtool library installation in a directory.
19480 finish_cmds=$lt_finish_cmds
19482 # As "finish_cmds", except a single script fragment to be evaled but
19484 finish_eval=$lt_finish_eval
19486 # Whether we should hardcode library paths into libraries.
19487 hardcode_into_libs=$hardcode_into_libs
19489 # Compile-time system search path for libraries.
19490 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19492 # Run-time system search path for libraries.
19493 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19495 # Whether dlopen is supported.
19496 dlopen_support=$enable_dlopen
19498 # Whether dlopen of programs is supported.
19499 dlopen_self=$enable_dlopen_self
19501 # Whether dlopen of statically linked programs is supported.
19502 dlopen_self_static=$enable_dlopen_self_static
19504 # Commands to strip libraries.
19505 old_striplib=$lt_old_striplib
19506 striplib=$lt_striplib
19509 # The linker used to build libraries.
19512 # How to create reloadable object files.
19513 reload_flag=$lt_reload_flag
19514 reload_cmds=$lt_reload_cmds
19516 # Commands used to build an old-style archive.
19517 old_archive_cmds=$lt_old_archive_cmds
19519 # A language specific compiler.
19522 # Is the compiler the GNU compiler?
19525 # Compiler flag to turn off builtin functions.
19526 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19528 # How to pass a linker flag through the compiler.
19529 wl=$lt_lt_prog_compiler_wl
19531 # Additional compiler flags for building library objects.
19532 pic_flag=$lt_lt_prog_compiler_pic
19534 # Compiler flag to prevent dynamic linking.
19535 link_static_flag=$lt_lt_prog_compiler_static
19537 # Does compiler simultaneously support -c and -o options?
19538 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19540 # Whether or not to add -lc for building shared libraries.
19541 build_libtool_need_lc=$archive_cmds_need_lc
19543 # Whether or not to disallow shared libs when runtime libs are static.
19544 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19546 # Compiler flag to allow reflexive dlopens.
19547 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19549 # Compiler flag to generate shared objects directly from archives.
19550 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19552 # Whether the compiler copes with passing no objects directly.
19553 compiler_needs_object=$lt_compiler_needs_object
19555 # Create an old-style archive from a shared archive.
19556 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19558 # Create a temporary old-style archive to link instead of a shared archive.
19559 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19561 # Commands used to build a shared archive.
19562 archive_cmds=$lt_archive_cmds
19563 archive_expsym_cmds=$lt_archive_expsym_cmds
19565 # Commands used to build a loadable module if different from building
19566 # a shared archive.
19567 module_cmds=$lt_module_cmds
19568 module_expsym_cmds=$lt_module_expsym_cmds
19570 # Whether we are building with GNU ld or not.
19571 with_gnu_ld=$lt_with_gnu_ld
19573 # Flag that allows shared libraries with undefined symbols to be built.
19574 allow_undefined_flag=$lt_allow_undefined_flag
19576 # Flag that enforces no undefined symbols.
19577 no_undefined_flag=$lt_no_undefined_flag
19579 # Flag to hardcode \$libdir into a binary during linking.
19580 # This must work even if \$libdir does not exist
19581 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19583 # If ld is used when linking, flag to hardcode \$libdir into a binary
19584 # during linking. This must work even if \$libdir does not exist.
19585 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19587 # Whether we need a single "-rpath" flag with a separated argument.
19588 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19590 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19591 # DIR into the resulting binary.
19592 hardcode_direct=$hardcode_direct
19594 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19595 # DIR into the resulting binary and the resulting library dependency is
19596 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19597 # library is relocated.
19598 hardcode_direct_absolute=$hardcode_direct_absolute
19600 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19601 # into the resulting binary.
19602 hardcode_minus_L=$hardcode_minus_L
19604 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19605 # into the resulting binary.
19606 hardcode_shlibpath_var=$hardcode_shlibpath_var
19608 # Set to "yes" if building a shared library automatically hardcodes DIR
19609 # into the library and all subsequent libraries and executables linked
19611 hardcode_automatic=$hardcode_automatic
19613 # Set to yes if linker adds runtime paths of dependent libraries
19614 # to runtime path list.
19615 inherit_rpath=$inherit_rpath
19617 # Whether libtool must link a program against all its dependency libraries.
19618 link_all_deplibs=$link_all_deplibs
19620 # Fix the shell variable \$srcfile for the compiler.
19621 fix_srcfile_path=$lt_fix_srcfile_path
19623 # Set to "yes" if exported symbols are required.
19624 always_export_symbols=$always_export_symbols
19626 # The commands to list exported symbols.
19627 export_symbols_cmds=$lt_export_symbols_cmds
19629 # Symbols that should not be listed in the preloaded symbols.
19630 exclude_expsyms=$lt_exclude_expsyms
19632 # Symbols that must always be exported.
19633 include_expsyms=$lt_include_expsyms
19635 # Commands necessary for linking programs (against libraries) with templates.
19636 prelink_cmds=$lt_prelink_cmds
19638 # Specify filename containing input files.
19639 file_list_spec=$lt_file_list_spec
19641 # How to hardcode a shared library path into an executable.
19642 hardcode_action=$hardcode_action
19644 # The directories searched by this compiler when creating a shared library.
19645 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19647 # Dependencies to place before and after the objects being linked to
19648 # create a shared library.
19649 predep_objects=$lt_predep_objects
19650 postdep_objects=$lt_postdep_objects
19651 predeps=$lt_predeps
19652 postdeps=$lt_postdeps
19654 # The library search path used internally by the compiler when linking
19655 # a shared library.
19656 compiler_lib_search_path=$lt_compiler_lib_search_path
19658 # ### END LIBTOOL CONFIG
19664 cat <<\_LT_EOF
>> "$cfgfile"
19665 # AIX sometimes has problems with the GCC collect2 program. For some
19666 # reason, if we set the COLLECT_NAMES environment variable, the problems
19667 # vanish in a puff of smoke.
19668 if test "X${COLLECT_NAMES+set}" != Xset
; then
19670 export COLLECT_NAMES
19677 ltmain
="$ac_aux_dir/ltmain.sh"
19680 # We use sed instead of cat because bash on DJGPP gets confused if
19681 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19682 # text mode, it properly converts lines to CR/LF. This bash problem
19683 # is reportedly fixed, but why not run on old versions too?
19684 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19685 ||
(rm -f "$cfgfile"; exit 1)
19689 cat << \_LT_EOF
>> "$cfgfile"
19691 # func_dirname file append nondir_replacement
19692 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19693 # otherwise set result to NONDIR_REPLACEMENT.
19697 */*) func_dirname_result
="${1%/*}${2}" ;;
19698 * ) func_dirname_result
="${3}" ;;
19702 # func_basename file
19705 func_basename_result
="${1##*/}"
19708 # func_dirname_and_basename file append nondir_replacement
19709 # perform func_basename and func_dirname in a single function
19711 # dirname: Compute the dirname of FILE. If nonempty,
19712 # add APPEND to the result, otherwise set result
19713 # to NONDIR_REPLACEMENT.
19714 # value returned in "$func_dirname_result"
19715 # basename: Compute filename of FILE.
19716 # value retuned in "$func_basename_result"
19717 # Implementation must be kept synchronized with func_dirname
19718 # and func_basename. For efficiency, we do not delegate to
19719 # those functions but instead duplicate the functionality here.
19720 func_dirname_and_basename
()
19723 */*) func_dirname_result
="${1%/*}${2}" ;;
19724 * ) func_dirname_result
="${3}" ;;
19726 func_basename_result
="${1##*/}"
19729 # func_stripname prefix suffix name
19730 # strip PREFIX and SUFFIX off of NAME.
19731 # PREFIX and SUFFIX must not contain globbing or regex special
19732 # characters, hashes, percent signs, but SUFFIX may contain a leading
19733 # dot (in which case that matches only a dot).
19736 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19737 # positional parameters, so assign one to ordinary parameter first.
19738 func_stripname_result
=${3}
19739 func_stripname_result
=${func_stripname_result#"${1}"}
19740 func_stripname_result
=${func_stripname_result%"${2}"}
19746 func_opt_split_opt
=${1%%=*}
19747 func_opt_split_arg
=${1#*=}
19754 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19755 *) func_lo2o_result
=${1} ;;
19759 # func_xform libobj-or-source
19762 func_xform_result
=${1%.*}.lo
19765 # func_arith arithmetic-term...
19768 func_arith_result
=$
(( $
* ))
19772 # STRING may not start with a hyphen.
19775 func_len_result
=${#1}
19780 *) # Bourne compatible functions.
19781 cat << \_LT_EOF
>> "$cfgfile"
19783 # func_dirname file append nondir_replacement
19784 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19785 # otherwise set result to NONDIR_REPLACEMENT.
19788 # Extract subdirectory from the argument.
19789 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19790 if test "X$func_dirname_result" = "X${1}"; then
19791 func_dirname_result
="${3}"
19793 func_dirname_result
="$func_dirname_result${2}"
19797 # func_basename file
19800 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19804 # func_stripname prefix suffix name
19805 # strip PREFIX and SUFFIX off of NAME.
19806 # PREFIX and SUFFIX must not contain globbing or regex special
19807 # characters, hashes, percent signs, but SUFFIX may contain a leading
19808 # dot (in which case that matches only a dot).
19809 # func_strip_suffix prefix name
19813 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19814 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19819 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19820 my_sed_long_arg
='1s/^-[^=]*=//'
19825 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19826 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19832 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19835 # func_xform libobj-or-source
19838 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19841 # func_arith arithmetic-term...
19844 func_arith_result
=`expr "$@"`
19848 # STRING may not start with a hyphen.
19851 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19857 case $lt_shell_append in
19859 cat << \_LT_EOF
>> "$cfgfile"
19861 # func_append var value
19862 # Append VALUE to the end of shell variable VAR.
19870 cat << \_LT_EOF
>> "$cfgfile"
19872 # func_append var value
19873 # Append VALUE to the end of shell variable VAR.
19884 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19885 ||
(rm -f "$cfgfile"; exit 1)
19887 mv -f "$cfgfile" "$ofile" ||
19888 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19892 cat <<_LT_EOF >> "$ofile"
19894 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19896 # The linker used to build libraries.
19899 # How to create reloadable object files.
19900 reload_flag=$lt_reload_flag_CXX
19901 reload_cmds=$lt_reload_cmds_CXX
19903 # Commands used to build an old-style archive.
19904 old_archive_cmds=$lt_old_archive_cmds_CXX
19906 # A language specific compiler.
19907 CC=$lt_compiler_CXX
19909 # Is the compiler the GNU compiler?
19912 # Compiler flag to turn off builtin functions.
19913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19915 # How to pass a linker flag through the compiler.
19916 wl=$lt_lt_prog_compiler_wl_CXX
19918 # Additional compiler flags for building library objects.
19919 pic_flag=$lt_lt_prog_compiler_pic_CXX
19921 # Compiler flag to prevent dynamic linking.
19922 link_static_flag=$lt_lt_prog_compiler_static_CXX
19924 # Does compiler simultaneously support -c and -o options?
19925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19927 # Whether or not to add -lc for building shared libraries.
19928 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19930 # Whether or not to disallow shared libs when runtime libs are static.
19931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19933 # Compiler flag to allow reflexive dlopens.
19934 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19936 # Compiler flag to generate shared objects directly from archives.
19937 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19939 # Whether the compiler copes with passing no objects directly.
19940 compiler_needs_object=$lt_compiler_needs_object_CXX
19942 # Create an old-style archive from a shared archive.
19943 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19945 # Create a temporary old-style archive to link instead of a shared archive.
19946 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19948 # Commands used to build a shared archive.
19949 archive_cmds=$lt_archive_cmds_CXX
19950 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19952 # Commands used to build a loadable module if different from building
19953 # a shared archive.
19954 module_cmds=$lt_module_cmds_CXX
19955 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19957 # Whether we are building with GNU ld or not.
19958 with_gnu_ld=$lt_with_gnu_ld_CXX
19960 # Flag that allows shared libraries with undefined symbols to be built.
19961 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19963 # Flag that enforces no undefined symbols.
19964 no_undefined_flag=$lt_no_undefined_flag_CXX
19966 # Flag to hardcode \$libdir into a binary during linking.
19967 # This must work even if \$libdir does not exist
19968 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19970 # If ld is used when linking, flag to hardcode \$libdir into a binary
19971 # during linking. This must work even if \$libdir does not exist.
19972 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19974 # Whether we need a single "-rpath" flag with a separated argument.
19975 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19977 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19978 # DIR into the resulting binary.
19979 hardcode_direct=$hardcode_direct_CXX
19981 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19982 # DIR into the resulting binary and the resulting library dependency is
19983 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19984 # library is relocated.
19985 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19987 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19988 # into the resulting binary.
19989 hardcode_minus_L=$hardcode_minus_L_CXX
19991 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19992 # into the resulting binary.
19993 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19995 # Set to "yes" if building a shared library automatically hardcodes DIR
19996 # into the library and all subsequent libraries and executables linked
19998 hardcode_automatic=$hardcode_automatic_CXX
20000 # Set to yes if linker adds runtime paths of dependent libraries
20001 # to runtime path list.
20002 inherit_rpath=$inherit_rpath_CXX
20004 # Whether libtool must link a program against all its dependency libraries.
20005 link_all_deplibs=$link_all_deplibs_CXX
20007 # Fix the shell variable \$srcfile for the compiler.
20008 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20010 # Set to "yes" if exported symbols are required.
20011 always_export_symbols=$always_export_symbols_CXX
20013 # The commands to list exported symbols.
20014 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20016 # Symbols that should not be listed in the preloaded symbols.
20017 exclude_expsyms=$lt_exclude_expsyms_CXX
20019 # Symbols that must always be exported.
20020 include_expsyms=$lt_include_expsyms_CXX
20022 # Commands necessary for linking programs (against libraries) with templates.
20023 prelink_cmds=$lt_prelink_cmds_CXX
20025 # Specify filename containing input files.
20026 file_list_spec=$lt_file_list_spec_CXX
20028 # How to hardcode a shared library path into an executable.
20029 hardcode_action=$hardcode_action_CXX
20031 # The directories searched by this compiler when creating a shared library.
20032 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20034 # Dependencies to place before and after the objects being linked to
20035 # create a shared library.
20036 predep_objects=$lt_predep_objects_CXX
20037 postdep_objects=$lt_postdep_objects_CXX
20038 predeps=$lt_predeps_CXX
20039 postdeps=$lt_postdeps_CXX
20041 # The library search path used internally by the compiler when linking
20042 # a shared library.
20043 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20045 # ### END LIBTOOL TAG CONFIG: CXX
20050 if test "$GCC" = yes; then
20051 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
20053 echo "/* generated for $CC */" > tmp-stdint.h
20056 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20058 #ifndef GCC_GENERATED_STDINT_H
20059 #define GCC_GENERATED_STDINT_H 1
20061 #include <sys/types.h>
20064 if test "$acx_cv_header_stdint" != stdint.h
; then
20065 echo "#include <stddef.h>" >> tmp-stdint.h
20067 if test "$acx_cv_header_stdint" != stddef.h
; then
20068 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
20071 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20072 /* glibc uses these symbols as guards to prevent redefinitions. */
20073 #ifdef __int8_t_defined
20078 #ifdef __uint32_t_defined
20084 # ----------------- done header, emit basic int types -------------
20085 if test "$acx_cv_header_stdint" = stddef.h
; then
20086 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20090 #ifndef __uint8_t_defined
20091 #define __uint8_t_defined
20093 typedef unsigned $acx_cv_type_int8_t uint8_t;
20100 #ifndef __uint16_t_defined
20101 #define __uint16_t_defined
20103 typedef unsigned $acx_cv_type_int16_t uint16_t;
20110 #ifndef __uint32_t_defined
20111 #define __uint32_t_defined
20113 typedef unsigned $acx_cv_type_int32_t uint32_t;
20120 #ifndef __int8_t_defined
20121 #define __int8_t_defined
20123 typedef $acx_cv_type_int8_t int8_t;
20130 #ifndef __int16_t_defined
20131 #define __int16_t_defined
20133 typedef $acx_cv_type_int16_t int16_t;
20140 #ifndef __int32_t_defined
20141 #define __int32_t_defined
20143 typedef $acx_cv_type_int32_t int32_t;
20148 elif test "$ac_cv_type_u_int32_t" = yes; then
20149 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20151 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
20164 #ifndef __uint8_t_defined
20165 #define __uint8_t_defined
20167 typedef u_int8_t uint8_t;
20174 #ifndef __uint16_t_defined
20175 #define __uint16_t_defined
20177 typedef u_int16_t uint16_t;
20184 #ifndef __uint32_t_defined
20185 #define __uint32_t_defined
20187 typedef u_int32_t uint32_t;
20193 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20195 /* Some systems have guard macros to prevent redefinitions, define them. */
20217 # ------------- done basic int types, emit int64_t types ------------
20218 if test "$ac_cv_type_uint64_t" = yes; then
20219 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20221 /* system headers have good uint64_t and int64_t */
20229 elif test "$ac_cv_type_u_int64_t" = yes; then
20230 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20232 /* system headers have an u_int64_t (and int64_t) */
20238 #ifndef __uint64_t_defined
20239 #define __uint64_t_defined
20241 typedef u_int64_t uint64_t;
20246 elif test -n "$acx_cv_type_int64_t"; then
20247 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20249 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
20253 typedef $acx_cv_type_int64_t int64_t;
20258 #ifndef __uint64_t_defined
20259 #define __uint64_t_defined
20261 typedef unsigned $acx_cv_type_int64_t uint64_t;
20267 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20269 /* some common heuristics for int64_t, using compiler-specific tests */
20270 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
20273 #ifndef __int64_t_defined
20275 typedef long long int64_t;
20282 typedef unsigned long long uint64_t;
20286 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
20287 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
20288 does not implement __extension__. But that compiler doesn't define
20290 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
20291 # define __extension__
20297 __extension__ typedef long long int64_t;
20303 __extension__ typedef unsigned long long uint64_t;
20307 #elif !defined __STRICT_ANSI__
20308 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20313 typedef __int64 int64_t;
20319 typedef unsigned __int64 uint64_t;
20322 # endif /* compiler */
20324 #endif /* ANSI version */
20328 # ------------- done int64_t types, emit intptr types ------------
20329 if test "$ac_cv_type_uintptr_t" != yes; then
20330 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20332 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
20333 #ifndef __uintptr_t_defined
20335 typedef u$acx_cv_type_intptr_t uintptr_t;
20338 #ifndef __intptr_t_defined
20340 typedef $acx_cv_type_intptr_t intptr_t;
20346 # ------------- done intptr types, emit int_least types ------------
20347 if test "$ac_cv_type_int_least32_t" != yes; then
20348 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20350 /* Define int_least types */
20351 typedef int8_t int_least8_t;
20352 typedef int16_t int_least16_t;
20353 typedef int32_t int_least32_t;
20355 typedef int64_t int_least64_t;
20358 typedef uint8_t uint_least8_t;
20359 typedef uint16_t uint_least16_t;
20360 typedef uint32_t uint_least32_t;
20362 typedef uint64_t uint_least64_t;
20367 # ------------- done intptr types, emit int_fast types ------------
20368 if test "$ac_cv_type_int_fast32_t" != yes; then
20369 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20371 /* Define int_fast types. short is often slow */
20372 typedef int8_t int_fast8_t;
20373 typedef int int_fast16_t;
20374 typedef int32_t int_fast32_t;
20376 typedef int64_t int_fast64_t;
20379 typedef uint8_t uint_fast8_t;
20380 typedef unsigned int uint_fast16_t;
20381 typedef uint32_t uint_fast32_t;
20383 typedef uint64_t uint_fast64_t;
20388 if test "$ac_cv_type_uintmax_t" != yes; then
20389 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20391 /* Define intmax based on what we found */
20394 typedef int64_t intmax_t;
20396 typedef long intmax_t;
20401 typedef uint64_t uintmax_t;
20403 typedef unsigned long uintmax_t;
20409 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20411 #endif /* GCC_GENERATED_STDINT_H */
20414 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
20417 mv -f tmp-stdint.h gstdint.h
20428 ac_clean_files
=$ac_clean_files_save
20430 test $ac_write_fail = 0 ||
20431 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20434 # configure is writing to config.log, and then calls config.status.
20435 # config.status does its own redirection, appending to config.log.
20436 # Unfortunately, on DOS this fails, as config.log is still kept open
20437 # by configure, so config.status won't be able to write to it; its
20438 # output is simply discarded. So we exec the FD to /dev/null,
20439 # effectively closing config.log, so it can be properly (re)opened and
20440 # appended to by config.status. When coming back to configure, we
20441 # need to make the FD available again.
20442 if test "$no_create" != yes; then
20444 ac_config_status_args
=
20445 test "$silent" = yes &&
20446 ac_config_status_args
="$ac_config_status_args --quiet"
20448 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20450 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20451 # would make configure fail if this is the last instruction.
20452 $ac_cs_success || as_fn_exit $?
20454 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20456 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}