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
617 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
618 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
619 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
620 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
621 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
622 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
630 MAINTAINER_MODE_FALSE
657 am__fastdepCCAS_FALSE
696 INSTALL_STRIP_PROGRAM
752 program_transform_name
765 enable_option_checking
766 enable_version_specific_runtime_libs
767 enable_generated_files_in_srcdir
769 enable_dependency_tracking
776 enable_maintainer_mode
780 with_gcc_major_version_only
782 ac_precious_vars
='build_alias
790 # Initialize some variables set by options.
792 ac_init_version
=false
793 ac_unrecognized_opts
=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 as_fn_error
"invalid feature name: $ac_useropt"
897 ac_useropt_orig
=$ac_useropt
898 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep
=', ';;
906 eval enable_
$ac_useropt=no
;;
908 -docdir |
--docdir |
--docdi |
--doc |
--do)
910 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
913 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
915 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
918 -enable-* |
--enable-*)
919 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
922 as_fn_error
"invalid feature name: $ac_useropt"
923 ac_useropt_orig
=$ac_useropt
924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep
=', ';;
932 eval enable_
$ac_useropt=\
$ac_optarg ;;
934 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
935 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
936 |
--exec |
--exe |
--ex)
937 ac_prev
=exec_prefix
;;
938 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
939 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
940 |
--exec=* |
--exe=* |
--ex=*)
941 exec_prefix
=$ac_optarg ;;
943 -gas |
--gas |
--ga |
--g)
944 # Obsolete; use --with-gas.
947 -help |
--help |
--hel |
--he |
-h)
949 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
950 ac_init_help
=recursive
;;
951 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
952 ac_init_help
=short
;;
954 -host |
--host |
--hos |
--ho)
955 ac_prev
=host_alias
;;
956 -host=* |
--host=* |
--hos=* |
--ho=*)
957 host_alias
=$ac_optarg ;;
959 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
961 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
963 htmldir
=$ac_optarg ;;
965 -includedir |
--includedir |
--includedi |
--included |
--include \
966 |
--includ |
--inclu |
--incl |
--inc)
967 ac_prev
=includedir
;;
968 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
969 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
970 includedir
=$ac_optarg ;;
972 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
974 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
975 infodir
=$ac_optarg ;;
977 -libdir |
--libdir |
--libdi |
--libd)
979 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
982 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
983 |
--libexe |
--libex |
--libe)
984 ac_prev
=libexecdir
;;
985 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
986 |
--libexe=* |
--libex=* |
--libe=*)
987 libexecdir
=$ac_optarg ;;
989 -localedir |
--localedir |
--localedi |
--localed |
--locale)
991 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
992 localedir
=$ac_optarg ;;
994 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
995 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
996 ac_prev
=localstatedir
;;
997 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
998 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
999 localstatedir
=$ac_optarg ;;
1001 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1003 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1004 mandir
=$ac_optarg ;;
1006 -nfp |
--nfp |
--nf)
1007 # Obsolete; use --without-fp.
1010 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1011 |
--no-cr |
--no-c |
-n)
1014 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1015 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1018 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1019 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1020 |
--oldin |
--oldi |
--old |
--ol |
--o)
1021 ac_prev
=oldincludedir
;;
1022 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1023 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1024 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1025 oldincludedir
=$ac_optarg ;;
1027 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1029 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1030 prefix
=$ac_optarg ;;
1032 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1033 |
--program-pre |
--program-pr |
--program-p)
1034 ac_prev
=program_prefix
;;
1035 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1036 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1037 program_prefix
=$ac_optarg ;;
1039 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1040 |
--program-suf |
--program-su |
--program-s)
1041 ac_prev
=program_suffix
;;
1042 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1043 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1044 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1054 -program-transform-name=* |
--program-transform-name=* \
1055 |
--program-transform-nam=* |
--program-transform-na=* \
1056 |
--program-transform-n=* |
--program-transform-=* \
1057 |
--program-transform=* |
--program-transfor=* \
1058 |
--program-transfo=* |
--program-transf=* \
1059 |
--program-trans=* |
--program-tran=* \
1060 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1061 program_transform_name
=$ac_optarg ;;
1063 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1065 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1066 pdfdir
=$ac_optarg ;;
1068 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1070 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1073 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1074 |
-silent |
--silent |
--silen |
--sile |
--sil)
1077 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1079 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1081 sbindir
=$ac_optarg ;;
1083 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1084 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1085 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1087 ac_prev
=sharedstatedir
;;
1088 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1089 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1090 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1092 sharedstatedir
=$ac_optarg ;;
1094 -site |
--site |
--sit)
1096 -site=* |
--site=* |
--sit=*)
1099 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1101 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1102 srcdir
=$ac_optarg ;;
1104 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1105 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1106 ac_prev
=sysconfdir
;;
1107 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1108 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1109 sysconfdir
=$ac_optarg ;;
1111 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1112 ac_prev
=target_alias
;;
1113 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1114 target_alias
=$ac_optarg ;;
1116 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1119 -version |
--version |
--versio |
--versi |
--vers |
-V)
1120 ac_init_version
=: ;;
1123 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=\
$ac_optarg ;;
1138 -without-* |
--without-*)
1139 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=no
;;
1155 # Obsolete; use --with-x.
1158 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1159 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1160 ac_prev
=x_includes
;;
1161 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1162 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1163 x_includes
=$ac_optarg ;;
1165 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1166 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1167 ac_prev
=x_libraries
;;
1168 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1169 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1170 x_libraries
=$ac_optarg ;;
1172 -*) as_fn_error
"unrecognized option: \`$ac_option'
1173 Try \`$0 --help' for more information."
1177 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1178 # Reject names that are not valid shell variable names.
1179 case $ac_envvar in #(
1180 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1181 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1183 eval $ac_envvar=\
$ac_optarg
1184 export $ac_envvar ;;
1187 # FIXME: should be removed in autoconf 3.0.
1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1197 if test -n "$ac_prev"; then
1198 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1199 as_fn_error
"missing argument to $ac_option"
1202 if test -n "$ac_unrecognized_opts"; then
1203 case $enable_option_checking in
1205 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 # Check all directory arguments for consistency.
1211 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214 libdir localedir mandir
1216 eval ac_val
=\$
$ac_var
1217 # Remove trailing slashes.
1220 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221 eval $ac_var=\
$ac_val;;
1223 # Be sure to have absolute directory names.
1225 [\\/$
]* | ?
:[\\/]* ) continue;;
1226 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1228 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target
=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x
; then
1240 if test "x$build_alias" = x
; then
1241 cross_compiling
=maybe
1242 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243 If a cross compiler is detected then cross compile mode will be used." >&2
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1252 test "$silent" = yes && exec 6>/dev
/null
1255 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di
=`ls -di .` &&
1257 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1258 as_fn_error
"working directory cannot be determined"
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 as_fn_error
"pwd does not report name of working directory"
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted
=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir
=`$as_dirname -- "$as_myself" ||
1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$as_myself" : 'X\(//\)[^/]' \| \
1270 X"$as_myself" : 'X\(//\)$' \| \
1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272 $as_echo X"$as_myself" |
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted
=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1299 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1301 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1305 # When building in place, set srcdir=.
1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309 # Remove unnecessary trailing slashes from srcdir.
1310 # Double slashes in file names in object file debugging info
1311 # mess up M-x gdb in Emacs.
1313 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 for ac_var
in $ac_precious_vars; do
1316 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1318 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1323 # Report the --help message.
1325 if test "$ac_init_help" = "long"; then
1326 # Omit some internal or obsolete options to make the list less imposing.
1327 # This message is too long to be a string in the A/UX 3.1 sh.
1329 \`configure' configures GNU TM Runtime Library 1.0 to adapt to many kinds of systems.
1331 Usage: $0 [OPTION]... [VAR=VALUE]...
1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334 VAR=VALUE. See below for descriptions of some of the useful variables.
1336 Defaults for the options are specified in brackets.
1339 -h, --help display this help and exit
1340 --help=short display options specific to this package
1341 --help=recursive display the short help of all the included packages
1342 -V, --version display version information and exit
1343 -q, --quiet, --silent do not print \`checking...' messages
1344 --cache-file=FILE cache test results in FILE [disabled]
1345 -C, --config-cache alias for \`--cache-file=config.cache'
1346 -n, --no-create do not create output files
1347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1349 Installation directories:
1350 --prefix=PREFIX install architecture-independent files in PREFIX
1351 [$ac_default_prefix]
1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1355 By default, \`make install' will install all the files in
1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358 for instance \`--prefix=\$HOME'.
1360 For better control, use the options below.
1362 Fine tuning of the installation directories:
1363 --bindir=DIR user executables [EPREFIX/bin]
1364 --sbindir=DIR system admin executables [EPREFIX/sbin]
1365 --libexecdir=DIR program executables [EPREFIX/libexec]
1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1369 --libdir=DIR object code libraries [EPREFIX/lib]
1370 --includedir=DIR C header files [PREFIX/include]
1371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1374 --infodir=DIR info documentation [DATAROOTDIR/info]
1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1376 --mandir=DIR man documentation [DATAROOTDIR/man]
1377 --docdir=DIR documentation root [DATAROOTDIR/doc/libitm]
1378 --htmldir=DIR html documentation [DOCDIR]
1379 --dvidir=DIR dvi documentation [DOCDIR]
1380 --pdfdir=DIR pdf documentation [DOCDIR]
1381 --psdir=DIR ps documentation [DOCDIR]
1387 --program-prefix=PREFIX prepend PREFIX to installed program names
1388 --program-suffix=SUFFIX append SUFFIX to installed program names
1389 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1392 --build=BUILD configure
for building on BUILD
[guessed
]
1393 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1394 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1398 if test -n "$ac_init_help"; then
1399 case $ac_init_help in
1400 short | recursive
) echo "Configuration of GNU TM Runtime Library 1.0:";;
1405 --disable-option-checking ignore unrecognized
--enable/--with options
1406 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1407 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1408 --enable-version-specific-runtime-libs
1409 Specify that runtime libraries should be installed
1410 in a compiler-specific directory
[default
=no
]
1411 --enable-generated-files-in-srcdir
1412 put copies of generated files
in source dir intended
1413 for creating
source tarballs
for users without
1414 texinfo bison or flex.
[default
=no
]
1415 --enable-multilib build many library versions
(default
)
1416 --disable-dependency-tracking speeds up one-time build
1417 --enable-dependency-tracking do not reject slow dependency extractors
1418 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1419 --enable-static[=PKGS
] build static libraries
[default
=yes]
1420 --enable-fast-install[=PKGS
]
1421 optimize
for fast installation
[default
=yes]
1422 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1423 --enable-maintainer-mode enable make rules and dependencies not useful
1424 (and sometimes confusing
) to the casual installer
1425 --enable-linux-futex use the Linux futex system call
[default
=default
]
1426 --enable-tls Use thread-local storage
[default
=yes]
1427 --enable-symvers=STYLE enables symbol versioning of the shared library
1431 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1432 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1433 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1435 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1436 --with-gcc-major-version-only
1437 use only GCC major number
in filesystem paths
1439 Some influential environment variables
:
1440 CC C compiler
command
1441 CFLAGS C compiler flags
1442 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1443 nonstandard directory
<lib dir
>
1444 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1445 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1446 you have headers
in a nonstandard directory
<include dir
>
1447 CXX C
++ compiler
command
1448 CXXFLAGS C
++ compiler flags
1449 CCAS assembler compiler
command (defaults to CC
)
1450 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1452 CXXCPP C
++ preprocessor
1454 Use these variables to override the choices made by
`configure' or to help
1455 it to find libraries and programs with nonstandard names/locations.
1457 Report bugs to the package provider.
1458 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
1459 General help using GNU software: <http://www.gnu.org/gethelp/>.
1464 if test "$ac_init_help" = "recursive"; then
1465 # If there are subdirs, report their specific --help.
1466 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1467 test -d "$ac_dir" ||
1468 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1476 # A ".." for each directory in $ac_dir_suffix.
1477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1478 case $ac_top_builddir_sub in
1479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483 ac_abs_top_builddir=$ac_pwd
1484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1485 # for backward compatibility:
1486 ac_top_builddir=$ac_top_build_prefix
1489 .) # We are building in place.
1491 ac_top_srcdir=$ac_top_builddir_sub
1492 ac_abs_top_srcdir=$ac_pwd ;;
1493 [\\/]* | ?:[\\/]* ) # Absolute name.
1494 ac_srcdir=$srcdir$ac_dir_suffix;
1495 ac_top_srcdir=$srcdir
1496 ac_abs_top_srcdir=$srcdir ;;
1498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1499 ac_top_srcdir=$ac_top_build_prefix$srcdir
1500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1504 cd "$ac_dir" || { ac_status=$?; continue; }
1505 # Check for guested configure.
1506 if test -f "$ac_srcdir/configure.gnu"; then
1508 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509 elif test -f "$ac_srcdir/configure"; then
1511 $SHELL "$ac_srcdir/configure" --help=recursive
1513 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1515 cd "$ac_pwd" || { ac_status=$?; break; }
1519 test -n "$ac_init_help" && exit $ac_status
1520 if $ac_init_version; then
1522 GNU TM Runtime Library configure 1.0
1523 generated by GNU Autoconf 2.64
1525 Copyright (C) 2009 Free Software Foundation, Inc.
1526 This configure script is free software; the Free Software Foundation
1527 gives unlimited permission to copy, distribute and modify it.
1532 ## ------------------------ ##
1533 ## Autoconf initialization. ##
1534 ## ------------------------ ##
1536 # ac_fn_c_try_compile LINENO
1537 # --------------------------
1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1539 ac_fn_c_try_compile ()
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 rm -f conftest.$ac_objext
1543 if { { ac_try="$ac_compile"
1545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1546 *) ac_try_echo
=$ac_try;;
1548 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_compile") 2>conftest.err
1552 if test -s conftest.err
; then
1553 grep -v '^ *+' conftest.err
>conftest.er1
1554 cat conftest.er1
>&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest.
$ac_objext; then :
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.
$ac_ext >&5
1569 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1572 } # ac_fn_c_try_compile
1574 # ac_fn_cxx_try_compile LINENO
1575 # ----------------------------
1576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1577 ac_fn_cxx_try_compile
()
1579 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1580 rm -f conftest.
$ac_objext
1581 if { { ac_try
="$ac_compile"
1583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_compile") 2>conftest.err
1590 if test -s conftest.err; then
1591 grep -v '^ *+' conftest.err >conftest.er1
1592 cat conftest.er1 >&5
1593 mv -f conftest.er1 conftest.err
1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } && {
1597 test -z "$ac_cxx_werror_flag" ||
1598 test ! -s conftest.err
1599 } && test -s conftest.$ac_objext; then :
1602 $as_echo "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.$ac_ext >&5
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1610 } # ac_fn_cxx_try_compile
1612 # ac_fn_c_try_link LINENO
1613 # -----------------------
1614 # Try to link conftest.$ac_ext, and return whether this succeeded.
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 rm -f conftest.$ac_objext conftest$ac_exeext
1619 if { { ac_try="$ac_link"
1621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1622 *) ac_try_echo
=$ac_try;;
1624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_link") 2>conftest.err
1628 if test -s conftest.err
; then
1629 grep -v '^ *+' conftest.err
>conftest.er1
1630 cat conftest.er1
>&5
1631 mv -f conftest.er1 conftest.err
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } && {
1635 test -z "$ac_c_werror_flag" ||
1636 test ! -s conftest.err
1637 } && test -s conftest
$ac_exeext && {
1638 test "$cross_compiling" = yes ||
1639 $as_test_x conftest
$ac_exeext
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.
$ac_ext >&5
1648 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1649 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1650 # interfere with the next link command; also delete a directory that is
1651 # left behind by Apple's compiler. We do this before executing the actions.
1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1656 } # ac_fn_c_try_link
1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists and can be compiled using the include files in
1661 # INCLUDES, setting the cache variable VAR accordingly.
1662 ac_fn_c_check_header_compile
()
1664 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1668 $as_echo_n "(cached) " >&6
1670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1675 if ac_fn_c_try_compile
"$LINENO"; then :
1680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1687 } # ac_fn_c_check_header_compile
1689 # ac_fn_c_try_cpp LINENO
1690 # ----------------------
1691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1695 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } >/dev/null && {
1711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 # ac_fn_c_try_run LINENO
1727 # ----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729 # that executables *can* be run.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if { { ac_try="$ac_link"
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_link") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1744 { { case "(($ac_try" in
1745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_try") 2>&5
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; }; }; then :
1756 $as_echo "$as_me: program exited with status $ac_status" >&5
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=$ac_status
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768 # ac_fn_c_check_func LINENO FUNC VAR
1769 # ----------------------------------
1770 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1771 ac_fn_c_check_func ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775 $as_echo_n "checking for $2... " >&6; }
1776 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1777 $as_echo_n "(cached) " >&6
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */
1781 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1783 #define $2 innocuous_$2
1785 /* System header to define __stub macros and hopefully few prototypes,
1786 which can conflict with char $2 (); below.
1787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1788 <limits.h> exists even on freestanding compilers. */
1791 # include <limits.h>
1793 # include <assert.h>
1798 /* Override any GCC internal prototype to avoid an error.
1799 Use char because int might match the return type of a GCC
1800 builtin and then its argument prototype would still apply. */
1805 /* The GNU C library defines this for functions which it implements
1806 to always fail with ENOSYS. Some functions are actually named
1807 something starting with __ and the normal name is an alias. */
1808 #if defined __stub_$2 || defined __stub___$2
1820 if ac_fn_c_try_link "$LINENO"; then :
1825 rm -f core conftest.err conftest.$ac_objext \
1826 conftest$ac_exeext conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833 } # ac_fn_c_check_func
1835 # ac_fn_cxx_try_cpp LINENO
1836 # ------------------------
1837 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1838 ac_fn_cxx_try_cpp ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 if { { ac_try="$ac_cpp conftest.$ac_ext"
1843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1844 *) ac_try_echo
=$ac_try;;
1846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1850 if test -s conftest.err
; then
1851 grep -v '^ *+' conftest.err
>conftest.er1
1852 cat conftest.er1
>&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } >/dev
/null
&& {
1857 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1858 test ! -s conftest.err
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.
$ac_ext >&5
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1870 } # ac_fn_cxx_try_cpp
1872 # ac_fn_cxx_try_link LINENO
1873 # -------------------------
1874 # Try to link conftest.$ac_ext, and return whether this succeeded.
1875 ac_fn_cxx_try_link
()
1877 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1878 rm -f conftest.
$ac_objext conftest
$ac_exeext
1879 if { { ac_try
="$ac_link"
1881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link") 2>conftest.err
1888 if test -s conftest.err; then
1889 grep -v '^ *+' conftest.err >conftest.er1
1890 cat conftest.er1 >&5
1891 mv -f conftest.er1 conftest.err
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && {
1895 test -z "$ac_cxx_werror_flag" ||
1896 test ! -s conftest.err
1897 } && test -s conftest$ac_exeext && {
1898 test "$cross_compiling" = yes ||
1899 $as_test_x conftest$ac_exeext
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1908 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1909 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1910 # interfere with the next link command; also delete a directory that is
1911 # left behind by Apple's compiler. We do this before executing the actions.
1912 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916 } # ac_fn_cxx_try_link
1918 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1919 # -------------------------------------------------------
1920 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1921 # the include files in INCLUDES and setting the cache variable VAR
1923 ac_fn_c_check_header_mongrel ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1930 $as_echo_n "(cached) " >&6
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1936 # Is the header compilable?
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1938 $as_echo_n "checking $2 usability... " >&6; }
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 ac_header_compiler=yes
1947 ac_header_compiler=no
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1951 $as_echo "$ac_header_compiler" >&6; }
1953 # Is the header present?
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1955 $as_echo_n "checking $2 presence... " >&6; }
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1960 if ac_fn_c_try_cpp "$LINENO"; then :
1961 ac_header_preproc=yes
1963 ac_header_preproc=no
1965 rm -f conftest.err conftest.$ac_ext
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1967 $as_echo "$ac_header_preproc" >&6; }
1969 # So? What about this header?
1970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1973 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1979 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1981 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1983 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1985 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1987 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991 $as_echo_n "checking for $2... " >&6; }
1992 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1993 $as_echo_n "(cached) " >&6
1995 eval "$3=\$ac_header_compiler"
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 } # ac_fn_c_check_header_mongrel
2005 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2006 # -------------------------------------------
2007 # Tests whether TYPE exists after having included INCLUDES, setting cache
2008 # variable VAR accordingly.
2009 ac_fn_c_check_type ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2015 $as_echo_n "(cached) " >&6
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2030 if ac_fn_c_try_compile "$LINENO"; then :
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2043 if ac_fn_c_try_compile "$LINENO"; then :
2048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054 $as_echo "$ac_res" >&6; }
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2057 } # ac_fn_c_check_type
2059 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2060 # --------------------------------------------
2061 # Tries to find the compile-time value of EXPR in a program that includes
2062 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2064 ac_fn_c_compute_int ()
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 if test "$cross_compiling" = yes; then
2068 # Depending upon the size, compute the lo and hi bounds.
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2075 static int test_array [1 - 2 * !(($2) >= 0)];
2082 if ac_fn_c_try_compile "$LINENO"; then :
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2091 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2098 if ac_fn_c_try_compile "$LINENO"; then :
2099 ac_hi=$ac_mid; break
2101 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2102 if test $ac_lo -le $ac_mid; then
2106 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2117 static int test_array [1 - 2 * !(($2) < 0)];
2124 if ac_fn_c_try_compile "$LINENO"; then :
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2133 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2140 if ac_fn_c_try_compile "$LINENO"; then :
2141 ac_lo=$ac_mid; break
2143 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2144 if test $ac_mid -le $ac_hi; then
2148 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158 # Binary search between lo and hi bounds.
2159 while test "x$ac_lo" != "x$ac_hi"; do
2160 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2167 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2174 if ac_fn_c_try_compile "$LINENO"; then :
2177 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2189 static long int longval () { return $2; }
2190 static unsigned long int ulongval () { return $2; }
2197 FILE *f = fopen ("conftest.val", "w");
2202 long int i = longval ();
2205 fprintf (f, "%ld", i);
2209 unsigned long int i = ulongval ();
2212 fprintf (f, "%lu", i);
2214 /* Do not output a trailing newline, as this causes \r\n confusion
2215 on some platforms. */
2216 return ferror (f) || fclose (f) != 0;
2222 if ac_fn_c_try_run "$LINENO"; then :
2223 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2228 conftest.$ac_objext conftest.beam conftest.$ac_ext
2232 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2235 } # ac_fn_c_compute_int
2237 # ac_fn_c_check_decl LINENO SYMBOL VAR
2238 # ------------------------------------
2239 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2240 ac_fn_c_check_decl ()
2242 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2243 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2244 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2246 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2247 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2248 $as_echo_n "(cached) " >&6
2250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2251 /* end confdefs.h. */
2256 #ifndef $as_decl_name
2258 (void) $as_decl_use;
2260 (void) $as_decl_name;
2268 if ac_fn_c_try_compile "$LINENO"; then :
2273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2277 $as_echo "$ac_res" >&6; }
2278 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2280 } # ac_fn_c_check_decl
2281 cat >config.log <<_ACEOF
2282 This file contains any messages produced by compilers while
2283 running configure, to aid debugging if configure makes a mistake.
2285 It was created by GNU TM Runtime Library $as_me 1.0, which was
2286 generated by GNU Autoconf 2.64. Invocation command line was
2298 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2299 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2300 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2301 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2302 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2304 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2305 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2307 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2308 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2309 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2310 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2311 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2312 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2313 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 $as_echo "PATH: $as_dir"
2338 # Keep a trace of the command line.
2339 # Strip out --no-create and --no-recursion so they do not pile up.
2340 # Strip out --silent because we don't want to record it for future runs.
2341 # Also quote any args containing shell meta-characters.
2342 # Make two passes to allow for proper duplicate-argument suppression.
2346 ac_must_keep_next=false
2352 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2354 | -silent | --silent | --silen | --sile | --sil)
2357 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2360 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2362 as_fn_append ac_configure_args1 " '$ac_arg'"
2363 if test $ac_must_keep_next = true; then
2364 ac_must_keep_next=false # Got value, back to normal.
2367 *=* | --config-cache | -C | -disable-* | --disable-* \
2368 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2369 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2370 | -with-* | --with-* | -without-* | --without-* | --x)
2371 case "$ac_configure_args0 " in
2372 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2375 -* ) ac_must_keep_next=true ;;
2378 as_fn_append ac_configure_args " '$ac_arg'"
2383 { ac_configure_args0=; unset ac_configure_args0;}
2384 { ac_configure_args1=; unset ac_configure_args1;}
2386 # When interrupted or exit'd, cleanup temporary files, and complete
2387 # config.log. We remove comments because anyway the quotes in there
2388 # would cause problems or look ugly.
2389 # WARNING: Use '\'' to represent an apostrophe within the trap.
2390 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2391 trap 'exit_status=$?
2392 # Save into config.log some information that might help in debugging.
2397 ## ---------------- ##
2398 ## Cache variables. ##
2399 ## ---------------- ##
2402 # The following way of writing the cache mishandles newlines in values,
2404 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2405 eval ac_val=\$$ac_var
2409 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2410 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2413 _ | IFS | as_nl) ;; #(
2414 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2415 *) { eval $ac_var=; unset $ac_var;} ;;
2420 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2421 *${as_nl}ac_space=\ *)
2423 "s/'\''/'\''\\\\'\'''\''/g;
2424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2435 ## ----------------- ##
2436 ## Output variables. ##
2437 ## ----------------- ##
2440 for ac_var in $ac_subst_vars
2442 eval ac_val=\$$ac_var
2444 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2446 $as_echo "$ac_var='\''$ac_val'\''"
2450 if test -n "$ac_subst_files"; then
2452 ## ------------------- ##
2453 ## File substitutions. ##
2454 ## ------------------- ##
2457 for ac_var in $ac_subst_files
2459 eval ac_val=\$$ac_var
2461 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2463 $as_echo "$ac_var='\''$ac_val'\''"
2468 if test -s confdefs.h; then
2478 test "$ac_signal" != 0 &&
2479 $as_echo "$as_me: caught signal $ac_signal"
2480 $as_echo "$as_me: exit $exit_status"
2482 rm -f core *.core core.conftest.* &&
2483 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2486 for ac_signal in 1 2 13 15; do
2487 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2491 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2492 rm -f -r conftest* confdefs.h
2494 $as_echo "/* confdefs.h */" > confdefs.h
2496 # Predefined preprocessor variables.
2498 cat >>confdefs.h <<_ACEOF
2499 #define PACKAGE_NAME "$PACKAGE_NAME"
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_STRING "$PACKAGE_STRING"
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_URL "$PACKAGE_URL"
2523 # Let the site file select an alternate cache file if it wants to.
2524 # Prefer an explicitly selected file to automatically selected ones.
2527 if test -n "$CONFIG_SITE"; then
2528 ac_site_file1=$CONFIG_SITE
2529 elif test "x$prefix" != xNONE; then
2530 ac_site_file1=$prefix/share/config.site
2531 ac_site_file2=$prefix/etc/config.site
2533 ac_site_file1=$ac_default_prefix/share/config.site
2534 ac_site_file2=$ac_default_prefix/etc/config.site
2536 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2538 test "x$ac_site_file" = xNONE && continue
2539 if test -r "$ac_site_file"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2541 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2542 sed 's/^/| /' "$ac_site_file" >&5
2547 if test -r "$cache_file"; then
2548 # Some versions of bash will fail to source /dev/null (special
2549 # files actually), so we avoid doing that.
2550 if test -f "$cache_file"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2552 $as_echo "$as_me: loading cache $cache_file" >&6;}
2554 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2555 *) . "./$cache_file";;
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2560 $as_echo "$as_me: creating cache $cache_file" >&6;}
2564 # Check that the precious variables saved in the cache have kept the same
2566 ac_cache_corrupted=false
2567 for ac_var in $ac_precious_vars; do
2568 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2569 eval ac_new_set=\$ac_env_${ac_var}_set
2570 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2571 eval ac_new_val=\$ac_env_${ac_var}_value
2572 case $ac_old_set,$ac_new_set in
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2575 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2576 ac_cache_corrupted=: ;;
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2579 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2580 ac_cache_corrupted=: ;;
2583 if test "x$ac_old_val" != "x$ac_new_val"; then
2584 # differences in whitespace do not lead to failure.
2585 ac_old_val_w=`echo x
$ac_old_val`
2586 ac_new_val_w=`echo x
$ac_new_val`
2587 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2589 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2590 ac_cache_corrupted=:
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2593 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2594 eval $ac_var=\$ac_old_val
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2597 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2599 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2602 # Pass precious variables to config.status.
2603 if test "$ac_new_set" = set; then
2605 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2606 *) ac_arg=$ac_var=$ac_new_val ;;
2608 case " $ac_configure_args " in
2609 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2610 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2614 if $ac_cache_corrupted; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2618 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2619 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2621 ## -------------------- ##
2622 ## Main body of script. ##
2623 ## -------------------- ##
2626 ac_cpp='$CPP $CPPFLAGS'
2627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2635 ac_config_headers="$ac_config_headers config.h"
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2643 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2644 # Check whether --enable-version-specific-runtime-libs was given.
2645 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2646 enableval=$enable_version_specific_runtime_libs;
2647 case "$enableval" in
2649 *) as_fn_error "Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2653 enable_version_specific_runtime_libs=no
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2658 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2660 # We would like our source tree to be readonly. However when releases or
2661 # pre-releases are generated, the flex/bison generated files as well as the
2662 # various formats of manuals need to be included along with the rest of the
2663 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2666 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2667 # Check whether --enable-generated-files-in-srcdir was given.
2668 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2669 enableval=$enable_generated_files_in_srcdir;
2670 case "$enableval" in
2672 *) as_fn_error "Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2676 enable_generated_files_in_srcdir=no
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2681 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2682 if test "$enable_generated_files_in_srcdir" = yes; then
2695 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2697 # You will slowly go insane if you do not grok the following fact: when
2698 # building this library, the top-level /target/ becomes the library's /host/.
2700 # configure then causes --target to default to --host, exactly like any
2701 # other package using autoconf. Therefore, 'target' and 'host' will
2702 # always be the same. This makes sense both for native and cross compilers
2703 # just think about it for a little while. :-)
2705 # Also, if this library is being configured as part of a cross compiler, the
2706 # top-level configure script will pass the "real" host as $with_cross_host.
2708 # Do not delete or change the following two lines. For why, see
2709 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2711 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2712 for ac_t in install-sh install.sh shtool; do
2713 if test -f "$ac_dir/$ac_t"; then
2715 ac_install_sh="$ac_aux_dir/$ac_t -c"
2720 if test -z "$ac_aux_dir"; then
2721 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2724 # These three variables are undocumented and unsupported,
2725 # and are intended to be withdrawn in a future Autoconf release.
2726 # They can cause serious problems if a builder's source tree is in a directory
2727 # whose full name contains unusual characters.
2728 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2729 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2730 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2733 # Make sure we can run config.sub.
2734 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2735 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2738 $as_echo_n "checking build system type... " >&6; }
2739 if test "${ac_cv_build+set}" = set; then :
2740 $as_echo_n "(cached) " >&6
2742 ac_build_alias=$build_alias
2743 test "x$ac_build_alias" = x &&
2744 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2745 test "x$ac_build_alias" = x &&
2746 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2747 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2748 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2752 $as_echo "$ac_cv_build" >&6; }
2753 case $ac_cv_build in
2755 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2758 ac_save_IFS=$IFS; IFS='-'
2764 # Remember, the first character of IFS is used to create $*,
2765 # except with old shells:
2768 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2772 $as_echo_n "checking host system type... " >&6; }
2773 if test "${ac_cv_host+set}" = set; then :
2774 $as_echo_n "(cached) " >&6
2776 if test "x$host_alias" = x; then
2777 ac_cv_host=$ac_cv_build
2779 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2780 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2785 $as_echo "$ac_cv_host" >&6; }
2788 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2791 ac_save_IFS=$IFS; IFS='-'
2797 # Remember, the first character of IFS is used to create $*,
2798 # except with old shells:
2801 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2805 $as_echo_n "checking target system type... " >&6; }
2806 if test "${ac_cv_target+set}" = set; then :
2807 $as_echo_n "(cached) " >&6
2809 if test "x$target_alias" = x; then
2810 ac_cv_target=$ac_cv_host
2812 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2813 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2818 $as_echo "$ac_cv_target" >&6; }
2819 case $ac_cv_target in
2821 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2823 target=$ac_cv_target
2824 ac_save_IFS=$IFS; IFS='-'
2830 # Remember, the first character of IFS is used to create $*,
2831 # except with old shells:
2834 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2837 # The aliases save the names the user supplied, while $host etc.
2838 # will get canonicalized.
2839 test -n "$target_alias" &&
2840 test "$program_prefix$program_suffix$program_transform_name" = \
2842 program_prefix=${target_alias}-
2844 target_alias=${target_alias-$host_alias}
2846 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2847 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2848 # 1.9.0: minimum required version
2849 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2850 # of other PACKAGE_* variables will, however, and there's nothing
2851 # we can do about that; they come from AC_INIT).
2852 # no-dist: we don't want 'dist' and related rules.
2853 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2854 # file in the top srcdir, etc, etc), so stop complaining.
2855 # -Wall: turns on all automake warnings...
2856 # -Wno-portability: ...except this one, since GNU make is required.
2857 # -Wno-override: ... and this one, since we do want this in testsuite.
2858 am__api_version='1.11'
2860 # Find a good install program. We prefer a C program (faster),
2861 # so one script is as good as another. But avoid the broken or
2862 # incompatible versions:
2863 # SysV /etc/install, /usr/sbin/install
2864 # SunOS /usr/etc/install
2865 # IRIX /sbin/install
2867 # AmigaOS /C/install, which installs bootblocks on floppy discs
2868 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2869 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2870 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2871 # OS/2's system install, which has a completely different semantic
2872 # ./install, which can be erroneously created by make from ./install.sh.
2873 # Reject install programs that cannot install multiple files.
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2875 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2876 if test -z "$INSTALL"; then
2877 if test "${ac_cv_path_install+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 # Account for people who put trailing slashes in PATH elements.
2886 case $as_dir/ in #((
2887 ./ | .// | /[cC]/* | \
2888 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2889 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2892 # OSF1 and SCO ODT 3.0 have their own names for install.
2893 # Don't use installbsd from OSF since it installs stuff as root
2895 for ac_prog in ginstall scoinst install; do
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2898 if test $ac_prog = install &&
2899 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2900 # AIX install. It has an incompatible calling convention.
2902 elif test $ac_prog = install &&
2903 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2904 # program-specific install script used by HP pwplus--don't use.
2907 rm -rf conftest.one conftest.two conftest.dir
2908 echo one > conftest.one
2909 echo two > conftest.two
2911 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2912 test -s conftest.one && test -s conftest.two &&
2913 test -s conftest.dir/conftest.one &&
2914 test -s conftest.dir/conftest.two
2916 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2929 rm -rf conftest.one conftest.two conftest.dir
2932 if test "${ac_cv_path_install+set}" = set; then
2933 INSTALL=$ac_cv_path_install
2935 # As a last resort, use the slow shell script. Don't cache a
2936 # value for INSTALL within a source directory, because that will
2937 # break other packages using the cache if that directory is
2938 # removed, or if the value is a relative name.
2939 INSTALL=$ac_install_sh
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2943 $as_echo "$INSTALL" >&6; }
2945 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2946 # It thinks the first close brace ends the variable substitution.
2947 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2949 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2951 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2954 $as_echo_n "checking whether build environment is sane... " >&6; }
2957 echo timestamp > conftest.file
2958 # Reject unsafe characters in $srcdir or the absolute working directory
2959 # name. Accept space and tab only in the latter.
2963 *[\\\"\#\$\&\'\`$am_lf]*)
2964 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2967 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2968 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2971 # Do `set' in a subshell so we don't clobber the current shell's
2972 # arguments. Must try -L first in case configure is actually a
2973 # symlink; some systems play weird games with the mod time of symlinks
2974 # (eg FreeBSD returns the mod time of the symlink's containing
2977 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2978 if test "$*" = "X"; then
2980 set X
`ls -t "$srcdir/configure" conftest.file`
2983 if test "$*" != "X $srcdir/configure conftest.file" \
2984 && test "$*" != "X conftest.file $srcdir/configure"; then
2986 # If neither matched, then we have a broken ls. This can happen
2987 # if, for instance, CONFIG_SHELL is bash and it inherits a
2988 # broken ls alias from the environment. This has actually
2989 # happened. Such a system could not be considered "sane".
2990 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2991 alias in your environment" "$LINENO" 5
2994 test "$2" = conftest.
file
3000 as_fn_error
"newly created file is older than distributed files!
3001 Check your system clock" "$LINENO" 5
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3004 $as_echo "yes" >&6; }
3005 test "$program_prefix" != NONE
&&
3006 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3007 # Use a double $ so make ignores it.
3008 test "$program_suffix" != NONE
&&
3009 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3010 # Double any \ or $.
3011 # By default was `s,x,x', remove it if useless.
3012 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3013 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3015 # expand $ac_aux_dir to an absolute path
3016 am_aux_dir
=`cd $ac_aux_dir && pwd`
3018 if test x
"${MISSING+set}" != xset
; then
3021 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3023 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3026 # Use eval to expand $SHELL
3027 if eval "$MISSING --run true"; then
3028 am_missing_run
="$MISSING --run "
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3032 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3035 if test x
"${install_sh}" != xset
; then
3038 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3040 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3044 # Installed binaries are usually stripped using `strip' when the user
3045 # run `make install-strip'. However `strip' might not be the right
3046 # tool to use in cross-compilation environments, therefore Automake
3047 # will honor the `STRIP' environment variable to overrule this program.
3048 if test "$cross_compiling" != no
; then
3049 if test -n "$ac_tool_prefix"; then
3050 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3051 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if test "${ac_cv_prog_STRIP+set}" = set; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$STRIP"; then
3058 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir
=.
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 STRIP
=$ac_cv_prog_STRIP
3078 if test -n "$STRIP"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3080 $as_echo "$STRIP" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3088 if test -z "$ac_cv_prog_STRIP"; then
3090 # Extract the first word of "strip", so it can be a program name with args.
3091 set dummy strip
; ac_word
=$2
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093 $as_echo_n "checking for $ac_word... " >&6; }
3094 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3095 $as_echo_n "(cached) " >&6
3097 if test -n "$ac_ct_STRIP"; then
3098 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir
=.
3105 for ac_exec_ext
in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3107 ac_cv_prog_ac_ct_STRIP
="strip"
3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3118 if test -n "$ac_ct_STRIP"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3120 $as_echo "$ac_ct_STRIP" >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3126 if test "x$ac_ct_STRIP" = x
; then
3129 case $cross_compiling:$ac_tool_warned in
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3133 ac_tool_warned
=yes ;;
3138 STRIP
="$ac_cv_prog_STRIP"
3142 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3145 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3146 if test -z "$MKDIR_P"; then
3147 if test "${ac_cv_path_mkdir+set}" = set; then :
3148 $as_echo_n "(cached) " >&6
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_prog
in mkdir gmkdir
; do
3156 for ac_exec_ext
in '' $ac_executable_extensions; do
3157 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3158 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3159 'mkdir (GNU coreutils) '* | \
3160 'mkdir (coreutils) '* | \
3161 'mkdir (fileutils) '4.1*)
3162 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3172 if test "${ac_cv_path_mkdir+set}" = set; then
3173 MKDIR_P
="$ac_cv_path_mkdir -p"
3175 # As a last resort, use the slow shell script. Don't cache a
3176 # value for MKDIR_P within a source directory, because that will
3177 # break other packages using the cache if that directory is
3178 # removed, or if the value is a relative name.
3179 test -d .
/--version && rmdir .
/--version
3180 MKDIR_P
="$ac_install_sh -d"
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3184 $as_echo "$MKDIR_P" >&6; }
3188 [\\/$
]* | ?
:[\\/]*) ;;
3189 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3192 for ac_prog
in gawk mawk nawk
awk
3194 # Extract the first word of "$ac_prog", so it can be a program name with args.
3195 set dummy
$ac_prog; ac_word
=$2
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if test "${ac_cv_prog_AWK+set}" = set; then :
3199 $as_echo_n "(cached) " >&6
3201 if test -n "$AWK"; then
3202 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir
=.
3209 for ac_exec_ext
in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_AWK
="$ac_prog"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$AWK"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3224 $as_echo "$AWK" >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3231 test -n "$AWK" && break
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3235 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3237 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3238 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3239 $as_echo_n "(cached) " >&6
3241 cat >conftest.
make <<\_ACEOF
3244 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3249 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3251 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3255 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 SET_MAKE
="MAKE=${MAKE-make}"
3265 rm -rf .tst
2>/dev
/null
3266 mkdir .tst
2>/dev
/null
3267 if test -d .tst
; then
3272 rmdir .tst
2>/dev
/null
3274 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3275 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3276 # is not polluted with repeated "-I."
3277 am__isrc
=' -I$(srcdir)'
3278 # test to see if srcdir already configured
3279 if test -f $srcdir/config.status
; then
3280 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3284 # test whether we have cygpath
3285 if test -z "$CYGPATH_W"; then
3286 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3287 CYGPATH_W
='cygpath -w'
3294 # Define the identity of the package.
3299 cat >>confdefs.h
<<_ACEOF
3300 #define PACKAGE "$PACKAGE"
3304 cat >>confdefs.h
<<_ACEOF
3305 #define VERSION "$VERSION"
3308 # Some tools Automake needs.
3310 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3313 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3316 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3319 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3322 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3324 # We need awk for the "check" target. The system "awk" is bad on
3326 # Always define AMTAR for backward compatibility. Yes, it's still used
3327 # in the wild :-( We should find a proper way to deprecate it ...
3330 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3336 # Default to --enable-multilib
3337 # Check whether --enable-multilib was given.
3338 if test "${enable_multilib+set}" = set; then :
3339 enableval
=$enable_multilib; case "$enableval" in
3340 yes) multilib
=yes ;;
3342 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3349 # We may get other options which we leave undocumented:
3350 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3351 # See config-ml.in if you want the gory details.
3353 if test "$srcdir" = "."; then
3354 if test "$with_target_subdir" != "."; then
3355 multi_basedir
="$srcdir/$with_multisrctop../.."
3357 multi_basedir
="$srcdir/$with_multisrctop.."
3360 multi_basedir
="$srcdir/.."
3364 # Even if the default multilib is not a cross compilation,
3365 # it may be that some of the other multilibs are.
3366 if test $cross_compiling = no
&& test $multilib = yes \
3367 && test "x${with_multisubdir}" != x
; then
3368 cross_compiling
=maybe
3371 ac_config_commands
="$ac_config_commands default-1"
3374 # Calculate toolexeclibdir
3375 # Also toolexecdir, though it's only used in toolexeclibdir
3376 case ${enable_version_specific_runtime_libs} in
3378 # Need the gcc compiler version to know where to install libraries
3379 # and header files if --enable-version-specific-runtime-libs option
3381 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3382 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3385 if test -n "$with_cross_host" &&
3386 test x
"$with_cross_host" != x
"no"; then
3387 # Install a library built with a cross compiler in tooldir, not libdir.
3388 toolexecdir
='$(exec_prefix)/$(target_alias)'
3389 toolexeclibdir
='$(toolexecdir)/lib'
3391 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3392 toolexeclibdir
='$(libdir)'
3394 multi_os_directory
=`$CC -print-multi-os-directory`
3395 case $multi_os_directory in
3396 .
) ;; # Avoid trailing /.
3397 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3404 # Check the compiler.
3405 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3406 # We must force CC to /not/ be precious variables; otherwise
3407 # the wrong, non-multilib-adjusted value will be used in multilibs.
3408 # As a side effect, we have to subst CFLAGS ourselves.
3413 ac_cpp
='$CPP $CPPFLAGS'
3414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3417 if test -n "$ac_tool_prefix"; then
3418 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3419 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_CC+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$CC"; then
3426 ac_cv_prog_CC
="$CC" # Let the user override the test.
3428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir
=.
3433 for ac_exec_ext
in '' $ac_executable_extensions; do
3434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 if test -n "$CC"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3448 $as_echo "$CC" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3456 if test -z "$ac_cv_prog_CC"; then
3458 # Extract the first word of "gcc", so it can be a program name with args.
3459 set dummy gcc
; ac_word
=$2
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3463 $as_echo_n "(cached) " >&6
3465 if test -n "$ac_ct_CC"; then
3466 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3472 test -z "$as_dir" && as_dir
=.
3473 for ac_exec_ext
in '' $ac_executable_extensions; do
3474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475 ac_cv_prog_ac_ct_CC
="gcc"
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3486 if test -n "$ac_ct_CC"; then
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3488 $as_echo "$ac_ct_CC" >&6; }
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3494 if test "x$ac_ct_CC" = x
; then
3497 case $cross_compiling:$ac_tool_warned in
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3501 ac_tool_warned
=yes ;;
3509 if test -z "$CC"; then
3510 if test -n "$ac_tool_prefix"; then
3511 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3512 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if test "${ac_cv_prog_CC+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3518 if test -n "$CC"; then
3519 ac_cv_prog_CC
="$CC" # Let the user override the test.
3521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir
=.
3526 for ac_exec_ext
in '' $ac_executable_extensions; do
3527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3528 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 if test -n "$CC"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3541 $as_echo "$CC" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3550 if test -z "$CC"; then
3551 # Extract the first word of "cc", so it can be a program name with args.
3552 set dummy cc
; ac_word
=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if test "${ac_cv_prog_CC+set}" = set; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -n "$CC"; then
3559 ac_cv_prog_CC
="$CC" # Let the user override the test.
3562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir
=.
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3570 ac_prog_rejected
=yes
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 if test $ac_prog_rejected = yes; then
3582 # We found a bogon in the path, so make sure we never use it.
3583 set dummy
$ac_cv_prog_CC
3585 if test $# != 0; then
3586 # We chose a different compiler from the bogus one.
3587 # However, it has the same basename, so the bogon will be chosen
3588 # first if we set CC to just the basename; use the full file name.
3590 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3596 if test -n "$CC"; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3598 $as_echo "$CC" >&6; }
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3606 if test -z "$CC"; then
3607 if test -n "$ac_tool_prefix"; then
3608 for ac_prog
in cl.exe
3610 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3611 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if test "${ac_cv_prog_CC+set}" = set; then :
3615 $as_echo_n "(cached) " >&6
3617 if test -n "$CC"; then
3618 ac_cv_prog_CC
="$CC" # Let the user override the test.
3620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir
=.
3625 for ac_exec_ext
in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 if test -n "$CC"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3640 $as_echo "$CC" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3647 test -n "$CC" && break
3650 if test -z "$CC"; then
3652 for ac_prog
in cl.exe
3654 # Extract the first word of "$ac_prog", so it can be a program name with args.
3655 set dummy
$ac_prog; ac_word
=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3659 $as_echo_n "(cached) " >&6
3661 if test -n "$ac_ct_CC"; then
3662 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir
=.
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3671 ac_cv_prog_ac_ct_CC
="$ac_prog"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3682 if test -n "$ac_ct_CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3684 $as_echo "$ac_ct_CC" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3691 test -n "$ac_ct_CC" && break
3694 if test "x$ac_ct_CC" = x
; then
3697 case $cross_compiling:$ac_tool_warned in
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3701 ac_tool_warned
=yes ;;
3710 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error
"no acceptable C compiler found in \$PATH
3713 See \`config.log' for more details." "$LINENO" 5; }
3715 # Provide some information about the compiler.
3716 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3719 for ac_option
in --version -v -V -qversion; do
3720 { { ac_try
="$ac_compiler $ac_option >&5"
3722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3729 if test -s conftest.err; then
3731 ... rest of stderr output deleted ...
3732 10q' conftest.err >conftest.er1
3733 cat conftest.er1 >&5
3734 rm -f conftest.er1 conftest.err
3736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3737 test $ac_status = 0; }
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3751 ac_clean_files_save=$ac_clean_files
3752 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3753 # Try to create an executable without -o first, disregard a.out.
3754 # It will help us diagnose broken compilers, and finding out an intuition
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3757 $as_echo_n "checking for C compiler default output file name... " >&6; }
3758 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3760 # The possible output files:
3761 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3764 for ac_file in $ac_files
3767 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3768 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3773 if { { ac_try="$ac_link_default"
3775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3776 *) ac_try_echo
=$ac_try;;
3778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3779 $as_echo "$ac_try_echo"; } >&5
3780 (eval "$ac_link_default") 2>&5
3782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3783 test $ac_status = 0; }; then :
3784 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3785 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3786 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3787 # so that the user can short-circuit this test for compilers unknown to
3789 for ac_file
in $ac_files ''
3791 test -f "$ac_file" ||
continue
3793 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3796 # We found the default executable, but exeext='' is most
3800 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3802 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3804 # We set ac_cv_exeext here because the later test for it is not
3805 # safe: cross compilers may not add the suffix if given an `-o'
3806 # argument, so we may need to know it at that point already.
3807 # Even if this section looks crufty: it has the advantage of
3814 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3820 $as_echo "$ac_file" >&6; }
3821 if test -z "$ac_file"; then :
3822 $as_echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 { as_fn_set_status
77
3828 as_fn_error
"C compiler cannot create executables
3829 See \`config.log' for more details." "$LINENO" 5; }; }
3831 ac_exeext
=$ac_cv_exeext
3833 # Check that the compiler produces executables we can run. If not, either
3834 # the compiler is broken, or we cross compile.
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3836 $as_echo_n "checking whether the C compiler works... " >&6; }
3837 # If not cross compiling, check that we can run a simple program.
3838 if test "$cross_compiling" != yes; then
3839 if { ac_try
='./$ac_file'
3840 { { case "(($ac_try" in
3841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_try") 2>&5
3848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3849 test $ac_status = 0; }; }; then
3852 if test "$cross_compiling" = maybe; then
3855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 as_fn_error "cannot run C compiled programs.
3858 If you meant to cross compile
, use \
`--host'.
3859 See \`config.log
' for more details." "$LINENO" 5; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3864 $as_echo "yes" >&6; }
3866 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3867 ac_clean_files=$ac_clean_files_save
3868 # Check that the compiler produces executables we can run. If not, either
3869 # the compiler is broken, or we cross compile.
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3871 $as_echo_n "checking whether we are cross compiling... " >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3873 $as_echo "$cross_compiling" >&6; }
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3876 $as_echo_n "checking for suffix of executables... " >&6; }
3877 if { { ac_try="$ac_link"
3879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884 (eval "$ac_link") 2>&5
3886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3887 test $ac_status = 0; }; then :
3888 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3889 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3890 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3892 for ac_file
in conftest.exe conftest conftest.
*; do
3893 test -f "$ac_file" ||
continue
3895 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3896 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3905 See \`config.log' for more details." "$LINENO" 5; }
3907 rm -f conftest
$ac_cv_exeext
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3909 $as_echo "$ac_cv_exeext" >&6; }
3911 rm -f conftest.
$ac_ext
3912 EXEEXT
=$ac_cv_exeext
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3915 $as_echo_n "checking for suffix of object files... " >&6; }
3916 if test "${ac_cv_objext+set}" = set; then :
3917 $as_echo_n "(cached) " >&6
3919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 rm -f conftest.o conftest.obj
3931 if { { ac_try
="$ac_compile"
3933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_compile") 2>&5
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }; then :
3942 for ac_file in conftest.o conftest.obj conftest.*; do
3943 test -f "$ac_file" || continue;
3945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3946 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3951 $as_echo "$as_me: failed program was:" >&5
3952 sed 's/^/| /' conftest.$ac_ext >&5
3954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3956 as_fn_error "cannot compute suffix of object files
: cannot compile
3957 See \
`config.log' for more details." "$LINENO" 5; }
3959 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3962 $as_echo "$ac_cv_objext" >&6; }
3963 OBJEXT=$ac_cv_objext
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3966 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3967 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3968 $as_echo_n "(cached) " >&6
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3984 if ac_fn_c_try_compile "$LINENO"; then :
3989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3994 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3995 if test $ac_compiler_gnu = yes; then
4000 ac_test_CFLAGS=${CFLAGS+set}
4001 ac_save_CFLAGS=$CFLAGS
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4003 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4004 if test "${ac_cv_prog_cc_g+set}" = set; then :
4005 $as_echo_n "(cached) " >&6
4007 ac_save_c_werror_flag=$ac_c_werror_flag
4008 ac_c_werror_flag=yes
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4022 if ac_fn_c_try_compile "$LINENO"; then :
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4037 if ac_fn_c_try_compile "$LINENO"; then :
4040 ac_c_werror_flag=$ac_save_c_werror_flag
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 if ac_fn_c_try_compile "$LINENO"; then :
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4061 ac_c_werror_flag=$ac_save_c_werror_flag
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4064 $as_echo "$ac_cv_prog_cc_g" >&6; }
4065 if test "$ac_test_CFLAGS" = set; then
4066 CFLAGS=$ac_save_CFLAGS
4067 elif test $ac_cv_prog_cc_g = yes; then
4068 if test "$GCC" = yes; then
4074 if test "$GCC" = yes; then
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4081 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4082 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4083 $as_echo_n "(cached) " >&6
4085 ac_cv_prog_cc_c89=no
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 #include <sys/types.h>
4092 #include <sys/stat.h>
4093 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4094 struct buf { int x; };
4095 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4096 static char *e (p, i)
4102 static char *f (char * (*g) (char **, int), char **p, ...)
4107 s = g (p, va_arg (v,int));
4112 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4113 function prototypes and stuff, but not '\xHH' hex character constants.
4114 These don't provoke an error unfortunately, instead are silently treated
4115 as 'x'. The following induces an error, until -std is added to get
4116 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4117 array size at least. It's necessary to write '\x00'==0 to get something
4118 that's true only with -std. */
4119 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4121 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4122 inside strings and character constants. */
4124 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4126 int test (int i, double x);
4127 struct s1 {int (*f) (int a);};
4128 struct s2 {int (*f) (double a);};
4129 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4135 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4140 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4141 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4143 CC="$ac_save_CC $ac_arg"
4144 if ac_fn_c_try_compile "$LINENO"; then :
4145 ac_cv_prog_cc_c89=$ac_arg
4147 rm -f core conftest.err conftest.$ac_objext
4148 test "x$ac_cv_prog_cc_c89" != "xno" && break
4150 rm -f conftest.$ac_ext
4155 case "x$ac_cv_prog_cc_c89" in
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4158 $as_echo "none needed" >&6; } ;;
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4161 $as_echo "unsupported" >&6; } ;;
4163 CC="$CC $ac_cv_prog_cc_c89"
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4165 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4167 if test "x$ac_cv_prog_cc_c89" != xno; then :
4172 ac_cpp='$CPP $CPPFLAGS'
4173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4176 DEPDIR="${am__leading_dot}deps"
4178 ac_config_commands="$ac_config_commands depfiles"
4181 am_make=${MAKE-make}
4182 cat > confinc << 'END'
4184 @echo this is the am__doit target
4187 # If we don't find an include directive, just comment out the code.
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4189 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4193 # First try GNU make style include.
4194 echo "include confinc" > confmf
4195 # Ignore all kinds of additional output from `make'.
4196 case `$am_make -s -f confmf 2> /dev/null` in #(
4197 *the\ am__doit\ target*)
4203 # Now try BSD make style include.
4204 if test "$am__include" = "#"; then
4205 echo '.include
"confinc"' > confmf
4206 case `$am_make -s -f confmf 2> /dev/null` in #(
4207 *the\ am__doit\ target*)
4208 am__include=.include
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4217 $as_echo "$_am_result" >&6; }
4218 rm -f confinc confmf
4220 # Check whether --enable-dependency-tracking was given.
4221 if test "${enable_dependency_tracking+set}" = set; then :
4222 enableval=$enable_dependency_tracking;
4225 if test "x$enable_dependency_tracking" != xno; then
4226 am_depcomp="$ac_aux_dir/depcomp"
4230 if test "x$enable_dependency_tracking" != xno
; then
4240 depcc
="$CC" am_compiler_list
=
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4243 $as_echo_n "checking dependency style of $depcc... " >&6; }
4244 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4245 $as_echo_n "(cached) " >&6
4247 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4248 # We make a subdir and do the tests there. Otherwise we can end up
4249 # making bogus files that we don't know about and never remove. For
4250 # instance it was reported that on HP-UX the gcc test will end up
4251 # making a dummy file named `D' -- because `-MD' means `put the output
4255 # Copy depcomp to subdir because otherwise we won't find it if we're
4256 # using a relative directory.
4257 cp "$am_depcomp" conftest.dir
4259 # We will build objects and dependencies in a subdirectory because
4260 # it helps to detect inapplicable dependency modes. For instance
4261 # both Tru64's cc and ICC support -MD to output dependencies as a
4262 # side effect of compilation, but ICC will put the dependencies in
4263 # the current directory while Tru64 will put them in the object
4267 am_cv_CC_dependencies_compiler_type
=none
4268 if test "$am_compiler_list" = ""; then
4269 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4272 case " $depcc " in #(
4273 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4276 for depmode
in $am_compiler_list; do
4277 # Setup a source with many dependencies, because some compilers
4278 # like to wrap large dependency lists on column 80 (with \), and
4279 # we should not choose a depcomp mode which is confused by this.
4281 # We need to recreate these files for each test, as the compiler may
4282 # overwrite some of them when testing with obscure command lines.
4283 # This happens at least with the AIX C compiler.
4285 for i
in 1 2 3 4 5 6; do
4286 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4287 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4288 # Solaris 8's {/usr,}/bin/sh.
4289 touch sub
/conftst
$i.h
4291 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4293 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4294 # mode. It turns out that the SunPro C++ compiler does not properly
4295 # handle `-M -o', and we need to detect this. Also, some Intel
4296 # versions had trouble with output in subdirs
4297 am__obj
=sub
/conftest.
${OBJEXT-o}
4298 am__minus_obj
="-o $am__obj"
4301 # This depmode causes a compiler race in universal mode.
4302 test "$am__universal" = false ||
continue
4305 # after this tag, mechanisms are not by side-effect, so they'll
4306 # only be used when explicitly requested
4307 if test "x$enable_dependency_tracking" = xyes
; then
4313 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4314 # This compiler won't grok `-c -o', but also, the minuso test has
4315 # not run yet. These depmodes are late enough in the game, and
4316 # so weak that their functioning should not be impacted.
4317 am__obj
=conftest.
${OBJEXT-o}
4322 if depmode
=$depmode \
4323 source=sub
/conftest.c object
=$am__obj \
4324 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4325 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4326 >/dev
/null
2>conftest.err
&&
4327 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4328 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4329 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4330 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4331 # icc doesn't choke on unknown options, it will just issue warnings
4332 # or remarks (even with -Werror). So we grep stderr for any message
4333 # that says an option was ignored or not supported.
4334 # When given -MP, icc 7.0 and 7.1 complain thusly:
4335 # icc: Command line warning: ignoring option '-M'; no argument required
4336 # The diagnosis changed in icc 8.0:
4337 # icc: Command line remark: option '-MP' not supported
4338 if (grep 'ignoring option' conftest.err ||
4339 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4340 am_cv_CC_dependencies_compiler_type
=$depmode
4349 am_cv_CC_dependencies_compiler_type
=none
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4354 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4355 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4358 test "x$enable_dependency_tracking" != xno \
4359 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4361 am__fastdepCC_FALSE
='#'
4363 am__fastdepCC_TRUE
='#'
4364 am__fastdepCC_FALSE
=
4369 ac_cpp
='$CXXCPP $CPPFLAGS'
4370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4373 if test -z "$CXX"; then
4374 if test -n "$CCC"; then
4377 if test -n "$ac_tool_prefix"; then
4378 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if test "${ac_cv_prog_CXX+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -n "$CXX"; then
4388 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir
=.
4395 for ac_exec_ext
in '' $ac_executable_extensions; do
4396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 if test -n "$CXX"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4410 $as_echo "$CXX" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4417 test -n "$CXX" && break
4420 if test -z "$CXX"; then
4422 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4424 # Extract the first word of "$ac_prog", so it can be a program name with args.
4425 set dummy
$ac_prog; ac_word
=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4429 $as_echo_n "(cached) " >&6
4431 if test -n "$ac_ct_CXX"; then
4432 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 for ac_exec_ext
in '' $ac_executable_extensions; do
4440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4441 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4452 if test -n "$ac_ct_CXX"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4454 $as_echo "$ac_ct_CXX" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4461 test -n "$ac_ct_CXX" && break
4464 if test "x$ac_ct_CXX" = x
; then
4467 case $cross_compiling:$ac_tool_warned in
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4471 ac_tool_warned
=yes ;;
4479 # Provide some information about the compiler.
4480 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4483 for ac_option
in --version -v -V -qversion; do
4484 { { ac_try
="$ac_compiler $ac_option >&5"
4486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4490 $as_echo "$ac_try_echo"; } >&5
4491 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4493 if test -s conftest.err; then
4495 ... rest of stderr output deleted ...
4496 10q' conftest.err >conftest.er1
4497 cat conftest.er1 >&5
4498 rm -f conftest.er1 conftest.err
4500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4501 test $ac_status = 0; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4505 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4506 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4523 if ac_fn_cxx_try_compile "$LINENO"; then :
4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4533 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4534 if test $ac_compiler_gnu = yes; then
4539 ac_test_CXXFLAGS=${CXXFLAGS+set}
4540 ac_save_CXXFLAGS=$CXXFLAGS
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4542 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4543 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4544 $as_echo_n "(cached) " >&6
4546 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4547 ac_cxx_werror_flag=yes
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4561 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 ac_cv_prog_cxx_g=yes
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4579 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4592 if ac_fn_cxx_try_compile "$LINENO"; then :
4593 ac_cv_prog_cxx_g=yes
4595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4603 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4604 if test "$ac_test_CXXFLAGS" = set; then
4605 CXXFLAGS=$ac_save_CXXFLAGS
4606 elif test $ac_cv_prog_cxx_g = yes; then
4607 if test "$GXX" = yes; then
4613 if test "$GXX" = yes; then
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4625 depcc="$CXX" am_compiler_list=
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4628 $as_echo_n "checking dependency style of $depcc... " >&6; }
4629 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4630 $as_echo_n "(cached) " >&6
4632 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4633 # We make a subdir and do the tests there. Otherwise we can end up
4634 # making bogus files that we don't know about and never remove. For
4635 # instance it was reported that on HP-UX the gcc test will end up
4636 # making a dummy file named `D
' -- because `-MD' means
`put the output
4640 # Copy depcomp to subdir because otherwise we won't find it if we're
4641 # using a relative directory.
4642 cp "$am_depcomp" conftest.dir
4644 # We will build objects and dependencies in a subdirectory because
4645 # it helps to detect inapplicable dependency modes. For instance
4646 # both Tru64's cc and ICC support -MD to output dependencies as a
4647 # side effect of compilation, but ICC will put the dependencies in
4648 # the current directory while Tru64 will put them in the object
4652 am_cv_CXX_dependencies_compiler_type=none
4653 if test "$am_compiler_list" = ""; then
4654 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4657 case " $depcc " in #(
4658 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4661 for depmode in $am_compiler_list; do
4662 # Setup a source with many dependencies, because some compilers
4663 # like to wrap large dependency lists on column 80 (with \), and
4664 # we should not choose a depcomp mode which is confused by this.
4666 # We need to recreate these files for each test, as the compiler may
4667 # overwrite some of them when testing with obscure command lines.
4668 # This happens at least with the AIX C compiler.
4670 for i in 1 2 3 4 5 6; do
4671 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4672 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4673 # Solaris 8's
{/usr
,}/bin
/sh.
4674 touch sub
/conftst
$i.h
4676 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4678 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4679 # mode. It turns out that the SunPro C++ compiler does not properly
4680 # handle `-M -o', and we need to detect this. Also, some Intel
4681 # versions had trouble with output in subdirs
4682 am__obj
=sub
/conftest.
${OBJEXT-o}
4683 am__minus_obj
="-o $am__obj"
4686 # This depmode causes a compiler race in universal mode.
4687 test "$am__universal" = false ||
continue
4690 # after this tag, mechanisms are not by side-effect, so they'll
4691 # only be used when explicitly requested
4692 if test "x$enable_dependency_tracking" = xyes
; then
4698 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4699 # This compiler won't grok `-c -o', but also, the minuso test has
4700 # not run yet. These depmodes are late enough in the game, and
4701 # so weak that their functioning should not be impacted.
4702 am__obj
=conftest.
${OBJEXT-o}
4707 if depmode
=$depmode \
4708 source=sub
/conftest.c object
=$am__obj \
4709 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4710 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4711 >/dev
/null
2>conftest.err
&&
4712 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4713 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4714 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4715 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4716 # icc doesn't choke on unknown options, it will just issue warnings
4717 # or remarks (even with -Werror). So we grep stderr for any message
4718 # that says an option was ignored or not supported.
4719 # When given -MP, icc 7.0 and 7.1 complain thusly:
4720 # icc: Command line warning: ignoring option '-M'; no argument required
4721 # The diagnosis changed in icc 8.0:
4722 # icc: Command line remark: option '-MP' not supported
4723 if (grep 'ignoring option' conftest.err ||
4724 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4725 am_cv_CXX_dependencies_compiler_type
=$depmode
4734 am_cv_CXX_dependencies_compiler_type
=none
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4739 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4740 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4743 test "x$enable_dependency_tracking" != xno \
4744 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4745 am__fastdepCXX_TRUE
=
4746 am__fastdepCXX_FALSE
='#'
4748 am__fastdepCXX_TRUE
='#'
4749 am__fastdepCXX_FALSE
=
4753 # By default we simply use the C compiler to build assembly code.
4755 test "${CCAS+set}" = set || CCAS
=$CC
4756 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4760 depcc
="$CCAS" am_compiler_list
=
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4763 $as_echo_n "checking dependency style of $depcc... " >&6; }
4764 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4765 $as_echo_n "(cached) " >&6
4767 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4768 # We make a subdir and do the tests there. Otherwise we can end up
4769 # making bogus files that we don't know about and never remove. For
4770 # instance it was reported that on HP-UX the gcc test will end up
4771 # making a dummy file named `D' -- because `-MD' means `put the output
4775 # Copy depcomp to subdir because otherwise we won't find it if we're
4776 # using a relative directory.
4777 cp "$am_depcomp" conftest.dir
4779 # We will build objects and dependencies in a subdirectory because
4780 # it helps to detect inapplicable dependency modes. For instance
4781 # both Tru64's cc and ICC support -MD to output dependencies as a
4782 # side effect of compilation, but ICC will put the dependencies in
4783 # the current directory while Tru64 will put them in the object
4787 am_cv_CCAS_dependencies_compiler_type
=none
4788 if test "$am_compiler_list" = ""; then
4789 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4794 for depmode
in $am_compiler_list; do
4795 # Setup a source with many dependencies, because some compilers
4796 # like to wrap large dependency lists on column 80 (with \), and
4797 # we should not choose a depcomp mode which is confused by this.
4799 # We need to recreate these files for each test, as the compiler may
4800 # overwrite some of them when testing with obscure command lines.
4801 # This happens at least with the AIX C compiler.
4803 for i
in 1 2 3 4 5 6; do
4804 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4805 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4806 # Solaris 8's {/usr,}/bin/sh.
4807 touch sub
/conftst
$i.h
4809 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4811 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4812 # mode. It turns out that the SunPro C++ compiler does not properly
4813 # handle `-M -o', and we need to detect this. Also, some Intel
4814 # versions had trouble with output in subdirs
4815 am__obj
=sub
/conftest.
${OBJEXT-o}
4816 am__minus_obj
="-o $am__obj"
4819 # This depmode causes a compiler race in universal mode.
4820 test "$am__universal" = false ||
continue
4823 # after this tag, mechanisms are not by side-effect, so they'll
4824 # only be used when explicitly requested
4825 if test "x$enable_dependency_tracking" = xyes
; then
4831 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4832 # This compiler won't grok `-c -o', but also, the minuso test has
4833 # not run yet. These depmodes are late enough in the game, and
4834 # so weak that their functioning should not be impacted.
4835 am__obj
=conftest.
${OBJEXT-o}
4840 if depmode
=$depmode \
4841 source=sub
/conftest.c object
=$am__obj \
4842 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4843 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4844 >/dev
/null
2>conftest.err
&&
4845 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4846 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4847 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4848 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4849 # icc doesn't choke on unknown options, it will just issue warnings
4850 # or remarks (even with -Werror). So we grep stderr for any message
4851 # that says an option was ignored or not supported.
4852 # When given -MP, icc 7.0 and 7.1 complain thusly:
4853 # icc: Command line warning: ignoring option '-M'; no argument required
4854 # The diagnosis changed in icc 8.0:
4855 # icc: Command line remark: option '-MP' not supported
4856 if (grep 'ignoring option' conftest.err ||
4857 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4858 am_cv_CCAS_dependencies_compiler_type
=$depmode
4867 am_cv_CCAS_dependencies_compiler_type
=none
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4872 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4873 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4876 test "x$enable_dependency_tracking" != xno \
4877 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4878 am__fastdepCCAS_TRUE
=
4879 am__fastdepCCAS_FALSE
='#'
4881 am__fastdepCCAS_TRUE
='#'
4882 am__fastdepCCAS_FALSE
=
4890 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4891 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4892 # in both places for now and restore CFLAGS at the end of config.
4893 save_CFLAGS
="$CFLAGS"
4895 # Find other programs we need.
4896 if test -n "$ac_tool_prefix"; then
4897 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4898 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if test "${ac_cv_prog_AR+set}" = set; then :
4902 $as_echo_n "(cached) " >&6
4904 if test -n "$AR"; then
4905 ac_cv_prog_AR
="$AR" # Let the user override the test.
4907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 test -z "$as_dir" && as_dir
=.
4912 for ac_exec_ext
in '' $ac_executable_extensions; do
4913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4914 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925 if test -n "$AR"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4927 $as_echo "$AR" >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4935 if test -z "$ac_cv_prog_AR"; then
4937 # Extract the first word of "ar", so it can be a program name with args.
4938 set dummy
ar; ac_word
=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$ac_ct_AR"; then
4945 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4954 ac_cv_prog_ac_ct_AR
="ar"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4965 if test -n "$ac_ct_AR"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4967 $as_echo "$ac_ct_AR" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4973 if test "x$ac_ct_AR" = x
; then
4976 case $cross_compiling:$ac_tool_warned in
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4980 ac_tool_warned
=yes ;;
4988 if test -n "$ac_tool_prefix"; then
4989 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4990 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if test "${ac_cv_prog_NM+set}" = set; then :
4994 $as_echo_n "(cached) " >&6
4996 if test -n "$NM"; then
4997 ac_cv_prog_NM
="$NM" # Let the user override the test.
4999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5003 test -z "$as_dir" && as_dir
=.
5004 for ac_exec_ext
in '' $ac_executable_extensions; do
5005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5006 ac_cv_prog_NM
="${ac_tool_prefix}nm"
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 if test -n "$NM"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5019 $as_echo "$NM" >&6; }
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5027 if test -z "$ac_cv_prog_NM"; then
5029 # Extract the first word of "nm", so it can be a program name with args.
5030 set dummy nm
; ac_word
=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$ac_ct_NM"; then
5037 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_ac_ct_NM
="nm"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5057 if test -n "$ac_ct_NM"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5059 $as_echo "$ac_ct_NM" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5065 if test "x$ac_ct_NM" = x
; then
5068 case $cross_compiling:$ac_tool_warned in
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned
=yes ;;
5080 if test -n "$ac_tool_prefix"; then
5081 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5082 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$RANLIB"; then
5089 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 RANLIB
=$ac_cv_prog_RANLIB
5109 if test -n "$RANLIB"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5111 $as_echo "$RANLIB" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5119 if test -z "$ac_cv_prog_RANLIB"; then
5120 ac_ct_RANLIB
=$RANLIB
5121 # Extract the first word of "ranlib", so it can be a program name with args.
5122 set dummy ranlib
; ac_word
=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5126 $as_echo_n "(cached) " >&6
5128 if test -n "$ac_ct_RANLIB"; then
5129 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir
=.
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5149 if test -n "$ac_ct_RANLIB"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5151 $as_echo "$ac_ct_RANLIB" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5157 if test "x$ac_ct_RANLIB" = x
; then
5158 RANLIB
="ranlib-not-found-in-path-error"
5160 case $cross_compiling:$ac_tool_warned in
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5164 ac_tool_warned
=yes ;;
5166 RANLIB
=$ac_ct_RANLIB
5169 RANLIB
="$ac_cv_prog_RANLIB"
5172 # Extract the first word of "perl", so it can be a program name with args.
5173 set dummy perl
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_path_PERL+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5181 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
5203 PERL
=$ac_cv_path_PERL
5204 if test -n "$PERL"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5206 $as_echo "$PERL" >&6; }
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5214 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5216 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5217 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5218 $as_echo_n "(cached) " >&6
5220 cat >conftest.
make <<\_ACEOF
5223 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5228 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5230 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5234 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5236 $as_echo "yes" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5241 SET_MAKE
="MAKE=${MAKE-make}"
5246 # See if makeinfo has been installed and is modern enough
5247 # that we can use it.
5249 # Extract the first word of "makeinfo", so it can be a program name with args.
5250 set dummy makeinfo
; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$MAKEINFO"; then
5257 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_MAKEINFO
="makeinfo"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 MAKEINFO
=$ac_cv_prog_MAKEINFO
5277 if test -n "$MAKEINFO"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5279 $as_echo "$MAKEINFO" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 if test -n "$MAKEINFO"; then
5287 # Found it, now check the version.
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
5289 $as_echo_n "checking for modern makeinfo... " >&6; }
5290 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
5291 $as_echo_n "(cached) " >&6
5293 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
5294 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5296 case $ac_prog_version in
5297 '') gcc_cv_prog_makeinfo_modern
=no
;;
5298 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
5299 *) gcc_cv_prog_makeinfo_modern
=no
;;
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
5304 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
5306 gcc_cv_prog_makeinfo_modern
=no
5308 if test $gcc_cv_prog_makeinfo_modern = no
; then
5309 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
5312 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
5314 BUILD_INFO_FALSE
='#'
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5326 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5331 macro_version
='2.2.7a'
5332 macro_revision
='1.3134'
5346 ltmain
="$ac_aux_dir/ltmain.sh"
5348 # Backslashify metacharacters that are still active within
5349 # double-quoted strings.
5350 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5352 # Same as above, but do not quote variable references.
5353 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5355 # Sed substitution to delay expansion of an escaped shell variable in a
5356 # double_quote_subst'ed string.
5357 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5359 # Sed substitution to delay expansion of an escaped single quote.
5360 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5362 # Sed substitution to avoid accidental globbing in evaled expressions
5363 no_glob_subst
='s/\*/\\\*/g'
5365 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5366 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5367 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5370 $as_echo_n "checking how to print strings... " >&6; }
5371 # Test print first, because it will be a builtin if present.
5372 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5373 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5375 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5378 # Use this function as a fallback that always works.
5379 func_fallback_echo ()
5381 eval 'cat <<_LTECHO_EOF
5385 ECHO='func_fallback_echo
'
5388 # func_echo_all arg...
5389 # Invoke $ECHO with all args, space-separated.
5396 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5397 $as_echo "printf" >&6; } ;;
5398 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5399 $as_echo "print -r" >&6; } ;;
5400 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5401 $as_echo "cat" >&6; } ;;
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5418 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5419 if test "${ac_cv_path_SED+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5422 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5423 for ac_i in 1 2 3 4 5 6 7; do
5424 ac_script="$ac_script$as_nl$ac_script"
5426 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5427 { ac_script=; unset ac_script;}
5428 if test -z "$SED"; then
5429 ac_path_SED_found=false
5430 # Loop through the user's path and
test for each of PROGNAME-LIST
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_prog
in sed gsed
; do
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5439 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5440 # Check for GNU ac_path_SED and select it if it is found.
5441 # Check for GNU $ac_path_SED
5442 case `"$ac_path_SED" --version 2>&1` in
5444 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5447 $as_echo_n 0123456789 >"conftest.in"
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo '' >> "conftest.nl"
5454 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5455 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5456 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5457 if test $ac_count -gt ${ac_path_SED_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_SED
="$ac_path_SED"
5460 ac_path_SED_max
=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5465 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5468 $ac_path_SED_found && break 3
5473 if test -z "$ac_cv_path_SED"; then
5474 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5482 $as_echo "$ac_cv_path_SED" >&6; }
5483 SED
="$ac_cv_path_SED"
5486 test -z "$SED" && SED
=sed
5487 Xsed
="$SED -e 1s/^X//"
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5500 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5501 if test "${ac_cv_path_GREP+set}" = set; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -z "$GREP"; then
5505 ac_path_GREP_found
=false
5506 # Loop through the user's path and test for each of PROGNAME-LIST
5507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5508 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5511 test -z "$as_dir" && as_dir
=.
5512 for ac_prog
in grep ggrep
; do
5513 for ac_exec_ext
in '' $ac_executable_extensions; do
5514 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5515 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5516 # Check for GNU ac_path_GREP and select it if it is found.
5517 # Check for GNU $ac_path_GREP
5518 case `"$ac_path_GREP" --version 2>&1` in
5520 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5523 $as_echo_n 0123456789 >"conftest.in"
5526 cat "conftest.in" "conftest.in" >"conftest.tmp"
5527 mv "conftest.tmp" "conftest.in"
5528 cp "conftest.in" "conftest.nl"
5529 $as_echo 'GREP' >> "conftest.nl"
5530 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5531 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5532 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5533 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5534 # Best one so far, save it but keep looking for a better one
5535 ac_cv_path_GREP
="$ac_path_GREP"
5536 ac_path_GREP_max
=$ac_count
5538 # 10*(2^10) chars as input seems more than enough
5539 test $ac_count -gt 10 && break
5541 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5544 $ac_path_GREP_found && break 3
5549 if test -z "$ac_cv_path_GREP"; then
5550 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5553 ac_cv_path_GREP
=$GREP
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5558 $as_echo "$ac_cv_path_GREP" >&6; }
5559 GREP
="$ac_cv_path_GREP"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5563 $as_echo_n "checking for egrep... " >&6; }
5564 if test "${ac_cv_path_EGREP+set}" = set; then :
5565 $as_echo_n "(cached) " >&6
5567 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5568 then ac_cv_path_EGREP
="$GREP -E"
5570 if test -z "$EGREP"; then
5571 ac_path_EGREP_found
=false
5572 # Loop through the user's path and test for each of PROGNAME-LIST
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_prog
in egrep; do
5579 for ac_exec_ext
in '' $ac_executable_extensions; do
5580 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5581 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5582 # Check for GNU ac_path_EGREP and select it if it is found.
5583 # Check for GNU $ac_path_EGREP
5584 case `"$ac_path_EGREP" --version 2>&1` in
5586 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5589 $as_echo_n 0123456789 >"conftest.in"
5592 cat "conftest.in" "conftest.in" >"conftest.tmp"
5593 mv "conftest.tmp" "conftest.in"
5594 cp "conftest.in" "conftest.nl"
5595 $as_echo 'EGREP' >> "conftest.nl"
5596 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5597 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5598 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5599 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5600 # Best one so far, save it but keep looking for a better one
5601 ac_cv_path_EGREP
="$ac_path_EGREP"
5602 ac_path_EGREP_max
=$ac_count
5604 # 10*(2^10) chars as input seems more than enough
5605 test $ac_count -gt 10 && break
5607 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5610 $ac_path_EGREP_found && break 3
5615 if test -z "$ac_cv_path_EGREP"; then
5616 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5619 ac_cv_path_EGREP
=$EGREP
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5625 $as_echo "$ac_cv_path_EGREP" >&6; }
5626 EGREP
="$ac_cv_path_EGREP"
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5630 $as_echo_n "checking for fgrep... " >&6; }
5631 if test "${ac_cv_path_FGREP+set}" = set; then :
5632 $as_echo_n "(cached) " >&6
5634 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5635 then ac_cv_path_FGREP
="$GREP -F"
5637 if test -z "$FGREP"; then
5638 ac_path_FGREP_found
=false
5639 # Loop through the user's path and test for each of PROGNAME-LIST
5640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5641 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5644 test -z "$as_dir" && as_dir
=.
5645 for ac_prog
in fgrep
; do
5646 for ac_exec_ext
in '' $ac_executable_extensions; do
5647 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5648 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5649 # Check for GNU ac_path_FGREP and select it if it is found.
5650 # Check for GNU $ac_path_FGREP
5651 case `"$ac_path_FGREP" --version 2>&1` in
5653 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5656 $as_echo_n 0123456789 >"conftest.in"
5659 cat "conftest.in" "conftest.in" >"conftest.tmp"
5660 mv "conftest.tmp" "conftest.in"
5661 cp "conftest.in" "conftest.nl"
5662 $as_echo 'FGREP' >> "conftest.nl"
5663 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5664 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5665 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5666 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5667 # Best one so far, save it but keep looking for a better one
5668 ac_cv_path_FGREP
="$ac_path_FGREP"
5669 ac_path_FGREP_max
=$ac_count
5671 # 10*(2^10) chars as input seems more than enough
5672 test $ac_count -gt 10 && break
5674 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5677 $ac_path_FGREP_found && break 3
5682 if test -z "$ac_cv_path_FGREP"; then
5683 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5686 ac_cv_path_FGREP
=$FGREP
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5692 $as_echo "$ac_cv_path_FGREP" >&6; }
5693 FGREP
="$ac_cv_path_FGREP"
5696 test -z "$GREP" && GREP
=grep
5716 # Check whether --with-gnu-ld was given.
5717 if test "${with_gnu_ld+set}" = set; then :
5718 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5724 if test "$GCC" = yes; then
5725 # Check if gcc -print-prog-name=ld gives a path.
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5727 $as_echo_n "checking for ld used by $CC... " >&6; }
5730 # gcc leaves a trailing carriage return which upsets mingw
5731 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5733 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5736 # Accept absolute paths.
5738 re_direlt
='/[^/][^/]*/\.\./'
5739 # Canonicalize the pathname of ld
5740 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5741 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5742 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5744 test -z "$LD" && LD
="$ac_prog"
5747 # If it fails, then pretend we aren't using GCC.
5751 # If it is relative, then search for the first ld in PATH.
5755 elif test "$with_gnu_ld" = yes; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5757 $as_echo_n "checking for GNU ld... " >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5760 $as_echo_n "checking for non-GNU ld... " >&6; }
5762 if test "${lt_cv_path_LD+set}" = set; then :
5763 $as_echo_n "(cached) " >&6
5765 if test -z "$LD"; then
5766 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5767 for ac_dir
in $PATH; do
5769 test -z "$ac_dir" && ac_dir
=.
5770 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5771 lt_cv_path_LD
="$ac_dir/$ac_prog"
5772 # Check to see if the program is GNU ld. I'd rather use --version,
5773 # but apparently some variants of GNU ld only accept -v.
5774 # Break only if it was the GNU/non-GNU ld that we prefer.
5775 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5776 *GNU
* |
*'with BFD'*)
5777 test "$with_gnu_ld" != no
&& break
5780 test "$with_gnu_ld" != yes && break
5787 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5792 if test -n "$LD"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5794 $as_echo "$LD" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5799 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5801 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5802 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5803 $as_echo_n "(cached) " >&6
5805 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5806 case `$LD -v 2>&1 </dev/null` in
5807 *GNU
* |
*'with BFD'*)
5808 lt_cv_prog_gnu_ld
=yes
5811 lt_cv_prog_gnu_ld
=no
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5816 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5817 with_gnu_ld
=$lt_cv_prog_gnu_ld
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5828 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5829 if test "${lt_cv_path_NM+set}" = set; then :
5830 $as_echo_n "(cached) " >&6
5832 if test -n "$NM"; then
5833 # Let the user override the test.
5836 lt_nm_to_check
="${ac_tool_prefix}nm"
5837 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5838 lt_nm_to_check
="$lt_nm_to_check nm"
5840 for lt_tmp_nm
in $lt_nm_to_check; do
5841 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5842 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5844 test -z "$ac_dir" && ac_dir
=.
5845 tmp_nm
="$ac_dir/$lt_tmp_nm"
5846 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5847 # Check to see if the nm accepts a BSD-compat flag.
5848 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5849 # nm: unknown option "B" ignored
5850 # Tru64's nm complains that /dev/null is an invalid object file
5851 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5852 */dev
/null
* |
*'Invalid file or object type'*)
5853 lt_cv_path_NM
="$tmp_nm -B"
5857 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5859 lt_cv_path_NM
="$tmp_nm -p"
5863 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5864 continue # so that we can try to find one that supports BSD flags
5873 : ${lt_cv_path_NM=no}
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5877 $as_echo "$lt_cv_path_NM" >&6; }
5878 if test "$lt_cv_path_NM" != "no"; then
5881 # Didn't find any BSD compatible name lister, look for dumpbin.
5882 if test -n "$DUMPBIN"; then :
5883 # Let the user override the test.
5885 if test -n "$ac_tool_prefix"; then
5886 for ac_prog
in dumpbin
"link -dump"
5888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5889 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5893 $as_echo_n "(cached) " >&6
5895 if test -n "$DUMPBIN"; then
5896 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir
=.
5903 for ac_exec_ext
in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 DUMPBIN
=$ac_cv_prog_DUMPBIN
5916 if test -n "$DUMPBIN"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5918 $as_echo "$DUMPBIN" >&6; }
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5925 test -n "$DUMPBIN" && break
5928 if test -z "$DUMPBIN"; then
5929 ac_ct_DUMPBIN
=$DUMPBIN
5930 for ac_prog
in dumpbin
"link -dump"
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy
$ac_prog; ac_word
=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5939 if test -n "$ac_ct_DUMPBIN"; then
5940 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir
=.
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5960 if test -n "$ac_ct_DUMPBIN"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5962 $as_echo "$ac_ct_DUMPBIN" >&6; }
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5969 test -n "$ac_ct_DUMPBIN" && break
5972 if test "x$ac_ct_DUMPBIN" = x
; then
5975 case $cross_compiling:$ac_tool_warned in
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5979 ac_tool_warned
=yes ;;
5981 DUMPBIN
=$ac_ct_DUMPBIN
5985 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5987 DUMPBIN
="$DUMPBIN -symbols"
5995 if test "$DUMPBIN" != ":"; then
5999 test -z "$NM" && NM
=nm
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6007 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6008 if test "${lt_cv_nm_interface+set}" = set; then :
6009 $as_echo_n "(cached) " >&6
6011 lt_cv_nm_interface
="BSD nm"
6012 echo "int some_variable = 0;" > conftest.
$ac_ext
6013 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6014 (eval "$ac_compile" 2>conftest.err
)
6015 cat conftest.err
>&5
6016 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6017 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6018 cat conftest.err
>&5
6019 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6020 cat conftest.out
>&5
6021 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6022 lt_cv_nm_interface
="MS dumpbin"
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6027 $as_echo "$lt_cv_nm_interface" >&6; }
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6030 $as_echo_n "checking whether ln -s works... " >&6; }
6032 if test "$LN_S" = "ln -s"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6034 $as_echo "yes" >&6; }
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6037 $as_echo "no, using $LN_S" >&6; }
6040 # find the maximum length of command line arguments
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6042 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6043 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6044 $as_echo_n "(cached) " >&6
6051 # On DJGPP, this test can blow up pretty badly due to problems in libc
6052 # (any single argument exceeding 2000 bytes causes a buffer overrun
6053 # during glob expansion). Even if it were fixed, the result of this
6054 # check would be larger than it should be.
6055 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6059 # Under GNU Hurd, this test is not required because there is
6060 # no limit to the length of command line arguments.
6061 # Libtool will interpret -1 as no limit whatsoever
6062 lt_cv_sys_max_cmd_len
=-1;
6065 cygwin
* | mingw
* | cegcc
*)
6066 # On Win9x/ME, this test blows up -- it succeeds, but takes
6067 # about 5 minutes as the teststring grows exponentially.
6068 # Worse, since 9x/ME are not pre-emptively multitasking,
6069 # you end up with a "frozen" computer, even though with patience
6070 # the test eventually succeeds (with a max line length of 256k).
6071 # Instead, let's just punt: use the minimum linelength reported by
6072 # all of the supported platforms: 8192 (on NT/2K/XP).
6073 lt_cv_sys_max_cmd_len
=8192;
6077 # On MiNT this can take a long time and run out of memory.
6078 lt_cv_sys_max_cmd_len
=8192;
6082 # On AmigaOS with pdksh, this test takes hours, literally.
6083 # So we just punt and use a minimum line length of 8192.
6084 lt_cv_sys_max_cmd_len
=8192;
6087 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6088 # This has been around since 386BSD, at least. Likely further.
6089 if test -x /sbin
/sysctl
; then
6090 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6091 elif test -x /usr
/sbin
/sysctl
; then
6092 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6094 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6096 # And add a safety zone
6097 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6098 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6102 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6103 lt_cv_sys_max_cmd_len
=196608
6107 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6108 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6109 # nice to cause kernel panics so lets avoid the loop below.
6110 # First set a reasonable default.
6111 lt_cv_sys_max_cmd_len
=16384
6113 if test -x /sbin
/sysconfig
; then
6114 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6115 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6120 lt_cv_sys_max_cmd_len
=102400
6122 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6123 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6124 if test -n "$kargmax"; then
6125 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6127 lt_cv_sys_max_cmd_len
=32768
6131 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6132 if test -n "$lt_cv_sys_max_cmd_len"; then
6133 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6134 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6136 # Make teststring a little bigger before we do anything with it.
6137 # a 1K string should be a reasonable start.
6138 for i
in 1 2 3 4 5 6 7 8 ; do
6139 teststring
=$teststring$teststring
6141 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6142 # If test is not a shell built-in, we'll probably end up computing a
6143 # maximum length that is only half of the actual maximum length, but
6145 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6146 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6147 test $i != 17 # 1/2 MB should be enough
6150 teststring
=$teststring$teststring
6152 # Only check the string length outside the loop.
6153 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6155 # Add a significant safety factor because C++ compilers can tack on
6156 # massive amounts of additional arguments before passing them to the
6157 # linker. It appears as though 1/2 is a usable value.
6158 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6165 if test -n $lt_cv_sys_max_cmd_len ; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6167 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6170 $as_echo "none" >&6; }
6172 max_cmd_len
=$lt_cv_sys_max_cmd_len
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6184 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6185 # Try some XSI features
6188 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6190 && eval 'test $(( 1 + 1 )) -eq 2 \
6191 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6194 $as_echo "$xsi_shell" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6198 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6200 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6202 && lt_shell_append=yes
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6204 $as_echo "$lt_shell_append" >&6; }
6207 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6217 # test EBCDIC or ASCII
6218 case `echo X|tr X '\101'` in
6219 A) # ASCII based system
6220 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6221 lt_SP2NL='tr \040 \012'
6222 lt_NL2SP='tr \015\012 \040\040'
6224 *) # EBCDIC based system
6225 lt_SP2NL='tr \100 \n'
6226 lt_NL2SP='tr \r\n \100\100'
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6239 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6240 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6241 $as_echo_n "(cached
) " >&6
6243 lt_cv_ld_reload_flag='-r'
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6246 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6247 reload_flag=$lt_cv_ld_reload_flag
6248 case $reload_flag in
6250 *) reload_flag=" $reload_flag" ;;
6252 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6255 if test "$GCC" = yes; then
6256 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6258 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6271 if test -n "$ac_tool_prefix"; then
6272 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6273 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6275 $as_echo_n "checking
for $ac_word...
" >&6; }
6276 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6277 $as_echo_n "(cached
) " >&6
6279 if test -n "$OBJDUMP"; then
6280 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6289 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6299 OBJDUMP=$ac_cv_prog_OBJDUMP
6300 if test -n "$OBJDUMP"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6302 $as_echo "$OBJDUMP" >&6; }
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6305 $as_echo "no
" >&6; }
6310 if test -z "$ac_cv_prog_OBJDUMP"; then
6311 ac_ct_OBJDUMP=$OBJDUMP
6312 # Extract the first word of "objdump
", so it can be a program name with args.
6313 set dummy objdump; ac_word=$2
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6315 $as_echo_n "checking
for $ac_word...
" >&6; }
6316 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6317 $as_echo_n "(cached
) " >&6
6319 if test -n "$ac_ct_OBJDUMP"; then
6320 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6329 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6339 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6340 if test -n "$ac_ct_OBJDUMP"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6342 $as_echo "$ac_ct_OBJDUMP" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6345 $as_echo "no
" >&6; }
6348 if test "x
$ac_ct_OBJDUMP" = x; then
6351 case $cross_compiling:$ac_tool_warned in
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6354 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6355 ac_tool_warned=yes ;;
6357 OBJDUMP=$ac_ct_OBJDUMP
6360 OBJDUMP="$ac_cv_prog_OBJDUMP"
6363 test -z "$OBJDUMP" && OBJDUMP=objdump
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6374 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6375 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6376 $as_echo_n "(cached
) " >&6
6378 lt_cv_file_magic_cmd='$MAGIC_CMD'
6379 lt_cv_file_magic_test_file=
6380 lt_cv_deplibs_check_method='unknown'
6381 # Need to set the preceding variable on all platforms that support
6382 # interlibrary dependencies.
6383 # 'none' -- dependencies not supported.
6384 # `unknown' -- same as none, but documents that we really don't know.
6385 # 'pass_all' -- all dependencies passed with no checks.
6386 # 'test_compile' -- check by making test program.
6387 # 'file_magic [[regex]]' -- check by looking for files in library path
6388 # which responds to the $file_magic_cmd with a given extended regex.
6389 # If you have `file' or equivalent on your system and you're not sure
6390 # whether `pass_all' will *always* work, you probably want this one.
6394 lt_cv_deplibs_check_method=pass_all
6398 lt_cv_deplibs_check_method=pass_all
6402 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6403 lt_cv_file_magic_cmd='/usr/bin/file -L'
6404 lt_cv_file_magic_test_file=/shlib/libc.so
6408 # func_win32_libid is a shell function defined in ltmain.sh
6409 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6410 lt_cv_file_magic_cmd='func_win32_libid'
6414 # Base MSYS/MinGW do not provide the 'file' command needed by
6415 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6416 # unless we find 'file', for example because we are cross-compiling.
6417 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6418 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6419 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6420 lt_cv_file_magic_cmd='func_win32_libid'
6422 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6423 lt_cv_file_magic_cmd='$OBJDUMP -f'
6428 # use the weaker test based on 'objdump'. See mingw*.
6429 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6430 lt_cv_file_magic_cmd='$OBJDUMP -f'
6433 darwin* | rhapsody*)
6434 lt_cv_deplibs_check_method=pass_all
6437 freebsd* | dragonfly*)
6438 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6441 # Not sure whether the presence of OpenBSD here was a mistake.
6442 # Let's accept both of them until this is cleared up.
6443 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6444 lt_cv_file_magic_cmd=/usr/bin/file
6445 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6449 lt_cv_deplibs_check_method=pass_all
6454 lt_cv_deplibs_check_method=pass_all
6458 lt_cv_deplibs_check_method=pass_all
6461 hpux10.20* | hpux11*)
6462 lt_cv_file_magic_cmd=/usr/bin/file
6465 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6466 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6469 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]'
6470 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6473 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6474 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6480 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6481 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6484 irix5* | irix6* | nonstopux*)
6486 *-32|*"-32 ") libmagic=32-bit;;
6487 *-n32|*"-n32 ") libmagic=N32;;
6488 *-64|*"-64 ") libmagic=64-bit;;
6489 *) libmagic=never-match;;
6491 lt_cv_deplibs_check_method=pass_all
6494 # This must be Linux ELF.
6495 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6496 lt_cv_deplibs_check_method=pass_all
6500 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6501 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6503 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6508 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6509 lt_cv_file_magic_cmd=/usr/bin/file
6510 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6514 lt_cv_deplibs_check_method=pass_all
6518 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6519 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6521 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6525 osf3* | osf4* | osf5*)
6526 lt_cv_deplibs_check_method=pass_all
6530 lt_cv_deplibs_check_method=pass_all
6534 lt_cv_deplibs_check_method=pass_all
6537 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6538 lt_cv_deplibs_check_method=pass_all
6542 case $host_vendor in
6544 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]'
6545 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6548 lt_cv_deplibs_check_method=pass_all
6551 lt_cv_file_magic_cmd='/bin/file'
6552 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6555 lt_cv_file_magic_cmd='/bin/file'
6556 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6557 lt_cv_file_magic_test_file=/lib/libc.so
6560 lt_cv_deplibs_check_method=pass_all
6563 lt_cv_deplibs_check_method=pass_all
6569 lt_cv_deplibs_check_method=pass_all
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6575 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6576 file_magic_cmd=$lt_cv_file_magic_cmd
6577 deplibs_check_method=$lt_cv_deplibs_check_method
6578 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6591 if test -n "$ac_tool_prefix"; then
6592 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6593 set dummy ${ac_tool_prefix}ar; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6595 $as_echo_n "checking
for $ac_word...
" >&6; }
6596 if test "${ac_cv_prog_AR+set}" = set; then :
6597 $as_echo_n "(cached
) " >&6
6599 if test -n "$AR"; then
6600 ac_cv_prog_AR="$AR" # Let the user override the test.
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6609 ac_cv_prog_AR="${ac_tool_prefix}ar"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6620 if test -n "$AR"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6622 $as_echo "$AR" >&6; }
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6625 $as_echo "no
" >&6; }
6630 if test -z "$ac_cv_prog_AR"; then
6632 # Extract the first word of "ar", so it can be a program name with args.
6633 set dummy ar; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6635 $as_echo_n "checking
for $ac_word...
" >&6; }
6636 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6637 $as_echo_n "(cached
) " >&6
6639 if test -n "$ac_ct_AR"; then
6640 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649 ac_cv_prog_ac_ct_AR="ar"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6659 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6660 if test -n "$ac_ct_AR"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6662 $as_echo "$ac_ct_AR" >&6; }
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6665 $as_echo "no
" >&6; }
6668 if test "x
$ac_ct_AR" = x; then
6671 case $cross_compiling:$ac_tool_warned in
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6674 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6675 ac_tool_warned=yes ;;
6683 test -z "$AR" && AR=ar
6684 test -z "$AR_FLAGS" && AR_FLAGS=cru
6696 if test -n "$ac_tool_prefix"; then
6697 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6698 set dummy ${ac_tool_prefix}strip; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6700 $as_echo_n "checking
for $ac_word...
" >&6; }
6701 if test "${ac_cv_prog_STRIP+set}" = set; then :
6702 $as_echo_n "(cached
) " >&6
6704 if test -n "$STRIP"; then
6705 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6724 STRIP=$ac_cv_prog_STRIP
6725 if test -n "$STRIP"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6727 $as_echo "$STRIP" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6730 $as_echo "no
" >&6; }
6735 if test -z "$ac_cv_prog_STRIP"; then
6737 # Extract the first word of "strip
", so it can be a program name with args.
6738 set dummy strip; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6740 $as_echo_n "checking
for $ac_word...
" >&6; }
6741 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6742 $as_echo_n "(cached
) " >&6
6744 if test -n "$ac_ct_STRIP"; then
6745 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir=.
6752 for ac_exec_ext in '' $ac_executable_extensions; do
6753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6754 ac_cv_prog_ac_ct_STRIP="strip
"
6755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6764 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6765 if test -n "$ac_ct_STRIP"; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6767 $as_echo "$ac_ct_STRIP" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6770 $as_echo "no
" >&6; }
6773 if test "x
$ac_ct_STRIP" = x; then
6776 case $cross_compiling:$ac_tool_warned in
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6779 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6780 ac_tool_warned=yes ;;
6785 STRIP="$ac_cv_prog_STRIP"
6788 test -z "$STRIP" && STRIP=:
6795 if test -n "$ac_tool_prefix"; then
6796 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6797 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6799 $as_echo_n "checking
for $ac_word...
" >&6; }
6800 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6801 $as_echo_n "(cached
) " >&6
6803 if test -n "$RANLIB"; then
6804 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6813 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6823 RANLIB=$ac_cv_prog_RANLIB
6824 if test -n "$RANLIB"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6826 $as_echo "$RANLIB" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6829 $as_echo "no
" >&6; }
6834 if test -z "$ac_cv_prog_RANLIB"; then
6835 ac_ct_RANLIB=$RANLIB
6836 # Extract the first word of "ranlib
", so it can be a program name with args.
6837 set dummy ranlib; ac_word=$2
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6839 $as_echo_n "checking
for $ac_word...
" >&6; }
6840 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6841 $as_echo_n "(cached
) " >&6
6843 if test -n "$ac_ct_RANLIB"; then
6844 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir=.
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6863 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6864 if test -n "$ac_ct_RANLIB"; then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6866 $as_echo "$ac_ct_RANLIB" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6869 $as_echo "no
" >&6; }
6872 if test "x
$ac_ct_RANLIB" = x; then
6875 case $cross_compiling:$ac_tool_warned in
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6878 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6879 ac_tool_warned=yes ;;
6881 RANLIB=$ac_ct_RANLIB
6884 RANLIB="$ac_cv_prog_RANLIB"
6887 test -z "$RANLIB" && RANLIB=:
6894 # Determine commands to create old-style static archives.
6895 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6896 old_postinstall_cmds='chmod 644 $oldlib'
6897 old_postuninstall_cmds=
6899 if test -n "$RANLIB"; then
6902 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6905 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6908 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6913 lock_old_archive_extraction=yes ;;
6915 lock_old_archive_extraction=no ;;
6956 # If no C compiler was specified, use CC.
6959 # If no C compiler flags were specified, use CFLAGS.
6960 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6962 # Allow CC to be a program name with arguments.
6966 # Check for command to grab the raw symbol name followed by C symbol from nm.
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6968 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6969 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6970 $as_echo_n "(cached
) " >&6
6973 # These are sane defaults that work on at least a few old systems.
6974 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6976 # Character class describing NM global symbol codes.
6977 symcode='[BCDEGRST]'
6979 # Regexp to match symbols that can be accessed directly from C.
6980 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6982 # Define system-specific variables.
6987 cygwin* | mingw* | pw32* | cegcc*)
6988 symcode='[ABCDGISTW]'
6991 if test "$host_cpu" = ia64; then
6992 symcode='[ABCDEGRST]'
6996 symcode='[BCDEGRST]'
6999 symcode='[BCDEGQRST]'
7010 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7018 # If we're using GNU nm, then use its standard symbol codes.
7019 case `$NM -V 2>&1` in
7020 *GNU* | *'with BFD'*)
7021 symcode='[ABCDGIRSTW]' ;;
7024 # Transform an extracted symbol line into a proper C declaration.
7025 # Some systems (esp. on ia64) link data and code symbols differently,
7026 # so use this general approach.
7027 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7029 # Transform an extracted symbol line into symbol name and symbol address
7030 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7031 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'"
7033 # Handle CRLF in mingw tool chain
7037 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7041 # Try without a prefix underscore, then with it.
7042 for ac_symprfx in "" "_
"; do
7044 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7045 symxfrm="\\1 $ac_symprfx\\2 \\2"
7047 # Write the raw and C identifiers.
7048 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7049 # Fake it for dumpbin and say T for any non-static function
7050 # and D for any global variable.
7051 # Also find C++ and __fastcall symbols from MSVC++,
7052 # which start with @ or ?.
7053 lt_cv_sys_global_symbol_pipe="$AWK '"\
7054 " {last_section=section; section=\$ 3};"\
7055 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7056 " \$ 0!~/External *\|/{next};"\
7057 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7058 " {if(hide[section]) next};"\
7059 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7060 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7061 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7062 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7063 " ' prfx
=^
$ac_symprfx"
7065 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7068 # Check to see that the pipe works correctly.
7072 cat > conftest.$ac_ext <<_LT_EOF
7077 void nm_test_func(void);
7078 void nm_test_func(void){}
7082 int main(){nm_test_var='a';nm_test_func();return(0);}
7085 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7086 (eval $ac_compile) 2>&5
7088 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7089 test $ac_status = 0; }; then
7090 # Now try to grab the symbols.
7092 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7093 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7095 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7096 test $ac_status = 0; } && test -s "$nlist"; then
7097 # Try sorting and uniquifying the output.
7098 if sort "$nlist" | uniq > "$nlist"T; then
7099 mv -f "$nlist"T "$nlist"
7104 # Make sure that we snagged all the symbols we need.
7105 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7106 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7107 cat <<_LT_EOF > conftest.$ac_ext
7113 # Now generate the symbol file.
7114 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7116 cat <<_LT_EOF >> conftest.$ac_ext
7118 /* The mapping between symbol names and symbols. */
7123 lt__PROGRAM__LTX_preloaded_symbols[] =
7125 { "@PROGRAM@
", (void *) 0 },
7127 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7128 cat <<\_LT_EOF >> conftest.$ac_ext
7132 /* This works around a problem in FreeBSD linker */
7133 #ifdef FREEBSD_WORKAROUND
7134 static const void *lt_preloaded_setup() {
7135 return lt__PROGRAM__LTX_preloaded_symbols;
7143 # Now try linking the two files.
7144 mv conftest.$ac_objext conftstm.$ac_objext
7145 lt_save_LIBS="$LIBS"
7146 lt_save_CFLAGS="$CFLAGS"
7147 LIBS="conftstm.
$ac_objext"
7148 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7149 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7150 (eval $ac_link) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7153 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7156 LIBS="$lt_save_LIBS"
7157 CFLAGS="$lt_save_CFLAGS"
7159 echo "cannot
find nm_test_func
in $nlist" >&5
7162 echo "cannot
find nm_test_var
in $nlist" >&5
7165 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7168 echo "$progname: failed program was
:" >&5
7169 cat conftest.$ac_ext >&5
7171 rm -rf conftest* conftst*
7173 # Do not use the global_symbol_pipe unless it works.
7174 if test "$pipe_works" = yes; then
7177 lt_cv_sys_global_symbol_pipe=
7183 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7184 lt_cv_sys_global_symbol_to_cdecl=
7186 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7188 $as_echo "failed
" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7191 $as_echo "ok
" >&6; }
7216 # Check whether --enable-libtool-lock was given.
7217 if test "${enable_libtool_lock+set}" = set; then :
7218 enableval=$enable_libtool_lock;
7221 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7223 # Some flags need to be propagated to the compiler or linker for good
7227 # Find out which ABI we are using.
7228 echo 'int i;' > conftest.$ac_ext
7229 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7230 (eval $ac_compile) 2>&5
7232 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7233 test $ac_status = 0; }; then
7234 case `/usr/bin/file conftest.$ac_objext` in
7246 # Find out which ABI we are using.
7247 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7248 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7249 (eval $ac_compile) 2>&5
7251 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7252 test $ac_status = 0; }; then
7253 if test "$lt_cv_prog_gnu_ld" = yes; then
7254 case `/usr/bin/file conftest.$ac_objext` in
7256 LD="${LD-ld} -melf32bsmip"
7259 LD="${LD-ld} -melf32bmipn32"
7262 LD="${LD-ld} -melf64bmip"
7266 case `/usr/bin/file conftest.$ac_objext` in
7282 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7283 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7284 # Find out which ABI we are using.
7285 echo 'int i;' > conftest.$ac_ext
7286 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7287 (eval $ac_compile) 2>&5
7289 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7290 test $ac_status = 0; }; then
7291 case `/usr/bin/file conftest.o` in
7294 x86_64-*kfreebsd*-gnu)
7295 LD="${LD-ld} -m elf_i386_fbsd
"
7298 case `/usr/bin/file conftest.o` in
7300 LD="${LD-ld} -m elf32_x86_64
"
7303 LD="${LD-ld} -m elf_i386
"
7307 powerpc64le-*linux*)
7308 LD="${LD-ld} -m elf32lppclinux
"
7311 LD="${LD-ld} -m elf32ppclinux
"
7314 LD="${LD-ld} -m elf_s390
"
7317 LD="${LD-ld} -m elf32_sparc
"
7323 x86_64-*kfreebsd*-gnu)
7324 LD="${LD-ld} -m elf_x86_64_fbsd
"
7327 LD="${LD-ld} -m elf_x86_64
"
7330 LD="${LD-ld} -m elf64lppc
"
7333 LD="${LD-ld} -m elf64ppc
"
7335 s390*-*linux*|s390*-*tpf*)
7336 LD="${LD-ld} -m elf64_s390
"
7339 LD="${LD-ld} -m elf64_sparc
"
7349 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7350 SAVE_CFLAGS="$CFLAGS"
7351 CFLAGS="$CFLAGS -belf"
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7353 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7354 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7355 $as_echo_n "(cached
) " >&6
7358 ac_cpp='$CPP $CPPFLAGS'
7359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7374 if ac_fn_c_try_link "$LINENO"; then :
7375 lt_cv_cc_needs_belf=yes
7377 lt_cv_cc_needs_belf=no
7379 rm -f core conftest.err conftest.$ac_objext \
7380 conftest$ac_exeext conftest.$ac_ext
7382 ac_cpp='$CPP $CPPFLAGS'
7383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7389 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7390 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7391 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7392 CFLAGS="$SAVE_CFLAGS"
7396 # Find out which ABI we are using.
7397 echo 'int i;' > conftest.$ac_ext
7398 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7399 (eval $ac_compile) 2>&5
7401 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7402 test $ac_status = 0; }; then
7403 case `/usr/bin/file conftest.o` in
7405 case $lt_cv_prog_gnu_ld in
7406 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7408 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7420 need_locks="$enable_libtool_lock"
7424 rhapsody* | darwin*)
7425 if test -n "$ac_tool_prefix"; then
7426 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7427 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7429 $as_echo_n "checking
for $ac_word...
" >&6; }
7430 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7431 $as_echo_n "(cached
) " >&6
7433 if test -n "$DSYMUTIL"; then
7434 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440 test -z "$as_dir" && as_dir=.
7441 for ac_exec_ext in '' $ac_executable_extensions; do
7442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7443 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7453 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7454 if test -n "$DSYMUTIL"; then
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7456 $as_echo "$DSYMUTIL" >&6; }
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7459 $as_echo "no
" >&6; }
7464 if test -z "$ac_cv_prog_DSYMUTIL"; then
7465 ac_ct_DSYMUTIL=$DSYMUTIL
7466 # Extract the first word of "dsymutil
", so it can be a program name with args.
7467 set dummy dsymutil; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7469 $as_echo_n "checking
for $ac_word...
" >&6; }
7470 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7471 $as_echo_n "(cached
) " >&6
7473 if test -n "$ac_ct_DSYMUTIL"; then
7474 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7483 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7493 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7494 if test -n "$ac_ct_DSYMUTIL"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7496 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7499 $as_echo "no
" >&6; }
7502 if test "x
$ac_ct_DSYMUTIL" = x; then
7505 case $cross_compiling:$ac_tool_warned in
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7508 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7509 ac_tool_warned=yes ;;
7511 DSYMUTIL=$ac_ct_DSYMUTIL
7514 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7517 if test -n "$ac_tool_prefix"; then
7518 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7519 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7521 $as_echo_n "checking
for $ac_word...
" >&6; }
7522 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7523 $as_echo_n "(cached
) " >&6
7525 if test -n "$NMEDIT"; then
7526 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir=.
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7535 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7545 NMEDIT=$ac_cv_prog_NMEDIT
7546 if test -n "$NMEDIT"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7548 $as_echo "$NMEDIT" >&6; }
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7551 $as_echo "no
" >&6; }
7556 if test -z "$ac_cv_prog_NMEDIT"; then
7557 ac_ct_NMEDIT=$NMEDIT
7558 # Extract the first word of "nmedit
", so it can be a program name with args.
7559 set dummy nmedit; ac_word=$2
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7561 $as_echo_n "checking
for $ac_word...
" >&6; }
7562 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7563 $as_echo_n "(cached
) " >&6
7565 if test -n "$ac_ct_NMEDIT"; then
7566 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7572 test -z "$as_dir" && as_dir=.
7573 for ac_exec_ext in '' $ac_executable_extensions; do
7574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7575 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7585 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7586 if test -n "$ac_ct_NMEDIT"; then
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7588 $as_echo "$ac_ct_NMEDIT" >&6; }
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7591 $as_echo "no
" >&6; }
7594 if test "x
$ac_ct_NMEDIT" = x; then
7597 case $cross_compiling:$ac_tool_warned in
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7600 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7601 ac_tool_warned=yes ;;
7603 NMEDIT=$ac_ct_NMEDIT
7606 NMEDIT="$ac_cv_prog_NMEDIT"
7609 if test -n "$ac_tool_prefix"; then
7610 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7611 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7613 $as_echo_n "checking
for $ac_word...
" >&6; }
7614 if test "${ac_cv_prog_LIPO+set}" = set; then :
7615 $as_echo_n "(cached
) " >&6
7617 if test -n "$LIPO"; then
7618 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624 test -z "$as_dir" && as_dir=.
7625 for ac_exec_ext in '' $ac_executable_extensions; do
7626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7627 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7637 LIPO=$ac_cv_prog_LIPO
7638 if test -n "$LIPO"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7640 $as_echo "$LIPO" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7643 $as_echo "no
" >&6; }
7648 if test -z "$ac_cv_prog_LIPO"; then
7650 # Extract the first word of "lipo
", so it can be a program name with args.
7651 set dummy lipo; ac_word=$2
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7653 $as_echo_n "checking
for $ac_word...
" >&6; }
7654 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7655 $as_echo_n "(cached
) " >&6
7657 if test -n "$ac_ct_LIPO"; then
7658 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7664 test -z "$as_dir" && as_dir=.
7665 for ac_exec_ext in '' $ac_executable_extensions; do
7666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7667 ac_cv_prog_ac_ct_LIPO="lipo
"
7668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7677 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7678 if test -n "$ac_ct_LIPO"; then
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7680 $as_echo "$ac_ct_LIPO" >&6; }
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7683 $as_echo "no
" >&6; }
7686 if test "x
$ac_ct_LIPO" = x; then
7689 case $cross_compiling:$ac_tool_warned in
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7692 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7693 ac_tool_warned=yes ;;
7698 LIPO="$ac_cv_prog_LIPO"
7701 if test -n "$ac_tool_prefix"; then
7702 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7703 set dummy ${ac_tool_prefix}otool; ac_word=$2
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7705 $as_echo_n "checking
for $ac_word...
" >&6; }
7706 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7707 $as_echo_n "(cached
) " >&6
7709 if test -n "$OTOOL"; then
7710 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7716 test -z "$as_dir" && as_dir=.
7717 for ac_exec_ext in '' $ac_executable_extensions; do
7718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7719 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7729 OTOOL=$ac_cv_prog_OTOOL
7730 if test -n "$OTOOL"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7732 $as_echo "$OTOOL" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7735 $as_echo "no
" >&6; }
7740 if test -z "$ac_cv_prog_OTOOL"; then
7742 # Extract the first word of "otool
", so it can be a program name with args.
7743 set dummy otool; ac_word=$2
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7745 $as_echo_n "checking
for $ac_word...
" >&6; }
7746 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7747 $as_echo_n "(cached
) " >&6
7749 if test -n "$ac_ct_OTOOL"; then
7750 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7756 test -z "$as_dir" && as_dir=.
7757 for ac_exec_ext in '' $ac_executable_extensions; do
7758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7759 ac_cv_prog_ac_ct_OTOOL="otool
"
7760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7769 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7770 if test -n "$ac_ct_OTOOL"; then
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7772 $as_echo "$ac_ct_OTOOL" >&6; }
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7775 $as_echo "no
" >&6; }
7778 if test "x
$ac_ct_OTOOL" = x; then
7781 case $cross_compiling:$ac_tool_warned in
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7784 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7785 ac_tool_warned=yes ;;
7790 OTOOL="$ac_cv_prog_OTOOL"
7793 if test -n "$ac_tool_prefix"; then
7794 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7795 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7797 $as_echo_n "checking
for $ac_word...
" >&6; }
7798 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7799 $as_echo_n "(cached
) " >&6
7801 if test -n "$OTOOL64"; then
7802 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808 test -z "$as_dir" && as_dir=.
7809 for ac_exec_ext in '' $ac_executable_extensions; do
7810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7811 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7821 OTOOL64=$ac_cv_prog_OTOOL64
7822 if test -n "$OTOOL64"; then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7824 $as_echo "$OTOOL64" >&6; }
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7827 $as_echo "no
" >&6; }
7832 if test -z "$ac_cv_prog_OTOOL64"; then
7833 ac_ct_OTOOL64=$OTOOL64
7834 # Extract the first word of "otool64
", so it can be a program name with args.
7835 set dummy otool64; ac_word=$2
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7837 $as_echo_n "checking
for $ac_word...
" >&6; }
7838 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7839 $as_echo_n "(cached
) " >&6
7841 if test -n "$ac_ct_OTOOL64"; then
7842 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848 test -z "$as_dir" && as_dir=.
7849 for ac_exec_ext in '' $ac_executable_extensions; do
7850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7851 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7861 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7862 if test -n "$ac_ct_OTOOL64"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7864 $as_echo "$ac_ct_OTOOL64" >&6; }
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7867 $as_echo "no
" >&6; }
7870 if test "x
$ac_ct_OTOOL64" = x; then
7873 case $cross_compiling:$ac_tool_warned in
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7876 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7877 ac_tool_warned=yes ;;
7879 OTOOL64=$ac_ct_OTOOL64
7882 OTOOL64="$ac_cv_prog_OTOOL64"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7912 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7913 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7914 $as_echo_n "(cached
) " >&6
7916 lt_cv_apple_cc_single_mod=no
7917 if test -z "${LT_MULTI_MODULE}"; then
7918 # By default we will add the -single_module flag. You can override
7919 # by either setting the environment variable LT_MULTI_MODULE
7920 # non-empty at configure time, or by adding -multi_module to the
7922 rm -rf libconftest.dylib*
7923 echo "int foo
(void
){return 1;}" > conftest.c
7924 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7925 -dynamiclib -Wl,-single_module conftest.c
" >&5
7926 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7927 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7929 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7930 lt_cv_apple_cc_single_mod=yes
7932 cat conftest.err >&5
7934 rm -rf libconftest.dylib*
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7939 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7941 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7942 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7943 $as_echo_n "(cached
) " >&6
7945 lt_cv_ld_exported_symbols_list=no
7946 save_LDFLAGS=$LDFLAGS
7947 echo "_main
" > conftest.sym
7948 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7960 if ac_fn_c_try_link "$LINENO"; then :
7961 lt_cv_ld_exported_symbols_list=yes
7963 lt_cv_ld_exported_symbols_list=no
7965 rm -f core conftest.err conftest.$ac_objext \
7966 conftest$ac_exeext conftest.$ac_ext
7967 LDFLAGS="$save_LDFLAGS"
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7971 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7973 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7974 if test "${lt_cv_ld_force_load+set}" = set; then :
7975 $as_echo_n "(cached
) " >&6
7977 lt_cv_ld_force_load=no
7978 cat > conftest.c << _LT_EOF
7979 int forced_loaded() { return 2;}
7981 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7982 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7983 echo "$AR cru libconftest.a conftest.o
" >&5
7984 $AR cru libconftest.a conftest.o 2>&5
7985 cat > conftest.c << _LT_EOF
7986 int main() { return 0;}
7988 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7989 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7991 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7992 lt_cv_ld_force_load=yes
7994 cat conftest.err >&5
7996 rm -f conftest.err libconftest.a conftest conftest.c
7997 rm -rf conftest.dSYM
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8001 $as_echo "$lt_cv_ld_force_load" >&6; }
8003 rhapsody* | darwin1.[012])
8004 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8006 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8007 darwin*) # darwin 5.x on
8008 # if running on 10.5 or later, the deployment target defaults
8009 # to the OS version, if on x86, and 10.4, the deployment
8010 # target defaults to 10.4. Don't you love it?
8011 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8012 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8013 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8015 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8017 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8021 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8022 _lt_dar_single_mod='$single_module'
8024 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8025 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8027 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8029 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8030 _lt_dsymutil='~$DSYMUTIL $lib || :'
8038 ac_cpp='$CPP $CPPFLAGS'
8039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8043 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8044 # On Suns, sometimes $CPP names a directory.
8045 if test -n "$CPP" && test -d "$CPP"; then
8048 if test -z "$CPP"; then
8049 if test "${ac_cv_prog_CPP+set}" = set; then :
8050 $as_echo_n "(cached
) " >&6
8052 # Double quotes because CPP needs to be expanded
8053 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8056 for ac_c_preproc_warn_flag in '' yes
8058 # Use a header file that comes with gcc, so configuring glibc
8059 # with a fresh cross-compiler works.
8060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8061 # <limits.h> exists even on freestanding compilers.
8062 # On the NeXT, cc -E runs the code through the compiler's parser,
8063 # not just through cpp. "Syntax error
" is here to catch this case.
8064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8065 /* end confdefs.h. */
8067 # include <limits.h>
8069 # include <assert.h>
8073 if ac_fn_c_try_cpp "$LINENO"; then :
8076 # Broken: fails on valid input.
8079 rm -f conftest.err conftest.$ac_ext
8081 # OK, works on sane cases. Now check whether nonexistent headers
8082 # can be detected and how.
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8085 #include <ac_nonexistent.h>
8087 if ac_fn_c_try_cpp "$LINENO"; then :
8088 # Broken: success on invalid input.
8091 # Passes both tests.
8095 rm -f conftest.err conftest.$ac_ext
8098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8099 rm -f conftest.err conftest.$ac_ext
8100 if $ac_preproc_ok; then :
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8113 $as_echo "$CPP" >&6; }
8115 for ac_c_preproc_warn_flag in '' yes
8117 # Use a header file that comes with gcc, so configuring glibc
8118 # with a fresh cross-compiler works.
8119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8120 # <limits.h> exists even on freestanding compilers.
8121 # On the NeXT, cc -E runs the code through the compiler's parser,
8122 # not just through cpp. "Syntax error
" is here to catch this case.
8123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8124 /* end confdefs.h. */
8126 # include <limits.h>
8128 # include <assert.h>
8132 if ac_fn_c_try_cpp "$LINENO"; then :
8135 # Broken: fails on valid input.
8138 rm -f conftest.err conftest.$ac_ext
8140 # OK, works on sane cases. Now check whether nonexistent headers
8141 # can be detected and how.
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8144 #include <ac_nonexistent.h>
8146 if ac_fn_c_try_cpp "$LINENO"; then :
8147 # Broken: success on invalid input.
8150 # Passes both tests.
8154 rm -f conftest.err conftest.$ac_ext
8157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8158 rm -f conftest.err conftest.$ac_ext
8159 if $ac_preproc_ok; then :
8162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8164 as_fn_error "C preprocessor \"$CPP\" fails sanity check
8165 See \`config.log' for more details.
" "$LINENO" 5; }
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8176 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8177 if test "${ac_cv_header_stdc+set}" = set; then :
8178 $as_echo_n "(cached
) " >&6
8180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8181 /* end confdefs.h. */
8195 if ac_fn_c_try_compile "$LINENO"; then :
8196 ac_cv_header_stdc=yes
8198 ac_cv_header_stdc=no
8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8202 if test $ac_cv_header_stdc = yes; then
8203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8209 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8210 $EGREP "memchr
" >/dev/null 2>&1; then :
8213 ac_cv_header_stdc=no
8219 if test $ac_cv_header_stdc = yes; then
8220 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222 /* end confdefs.h. */
8226 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8227 $EGREP "free
" >/dev/null 2>&1; then :
8230 ac_cv_header_stdc=no
8236 if test $ac_cv_header_stdc = yes; then
8237 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8238 if test "$cross_compiling" = yes; then :
8241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8245 #if ((' ' & 0x0FF) == 0x020)
8246 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8247 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8249 # define ISLOWER(c) \
8250 (('a' <= (c) && (c) <= 'i') \
8251 || ('j' <= (c) && (c) <= 'r') \
8252 || ('s' <= (c) && (c) <= 'z'))
8253 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8256 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8261 for (i = 0; i < 256; i++)
8262 if (XOR (islower (i), ISLOWER (i))
8263 || toupper (i) != TOUPPER (i))
8268 if ac_fn_c_try_run "$LINENO"; then :
8271 ac_cv_header_stdc=no
8273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8274 conftest.$ac_objext conftest.beam conftest.$ac_ext
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8280 $as_echo "$ac_cv_header_stdc" >&6; }
8281 if test $ac_cv_header_stdc = yes; then
8283 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8287 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8288 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8289 inttypes.h stdint.h unistd.h
8291 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8292 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8294 eval as_val
=\$
$as_ac_Header
8295 if test "x$as_val" = x
""yes; then :
8296 cat >>confdefs.h
<<_ACEOF
8297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8305 for ac_header
in dlfcn.h
8307 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8309 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8310 cat >>confdefs.h
<<_ACEOF
8311 #define HAVE_DLFCN_H 1
8333 # Check whether --enable-shared was given.
8334 if test "${enable_shared+set}" = set; then :
8335 enableval
=$enable_shared; p
=${PACKAGE-default}
8337 yes) enable_shared
=yes ;;
8338 no
) enable_shared
=no
;;
8341 # Look at the argument we got. We use all the common list separators.
8342 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8343 for pkg
in $enableval; do
8345 if test "X$pkg" = "X$p"; then
8364 # Check whether --enable-static was given.
8365 if test "${enable_static+set}" = set; then :
8366 enableval
=$enable_static; p
=${PACKAGE-default}
8368 yes) enable_static
=yes ;;
8369 no
) enable_static
=no
;;
8372 # Look at the argument we got. We use all the common list separators.
8373 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8374 for pkg
in $enableval; do
8376 if test "X$pkg" = "X$p"; then
8396 # Check whether --with-pic was given.
8397 if test "${with_pic+set}" = set; then :
8398 withval
=$with_pic; pic_mode
="$withval"
8404 test -z "$pic_mode" && pic_mode
=default
8412 # Check whether --enable-fast-install was given.
8413 if test "${enable_fast_install+set}" = set; then :
8414 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8416 yes) enable_fast_install
=yes ;;
8417 no
) enable_fast_install
=no
;;
8419 enable_fast_install
=no
8420 # Look at the argument we got. We use all the common list separators.
8421 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8422 for pkg
in $enableval; do
8424 if test "X$pkg" = "X$p"; then
8425 enable_fast_install
=yes
8432 enable_fast_install
=yes
8445 # This can be used to rebuild libtool when needed
8446 LIBTOOL_DEPS
="$ltmain"
8448 # Always use our own libtool.
8449 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8476 test -z "$LN_S" && LN_S
="ln -s"
8491 if test -n "${ZSH_VERSION+set}" ; then
8492 setopt NO_GLOB_SUBST
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8496 $as_echo_n "checking for objdir... " >&6; }
8497 if test "${lt_cv_objdir+set}" = set; then :
8498 $as_echo_n "(cached) " >&6
8500 rm -f .libs
2>/dev
/null
8501 mkdir .libs
2>/dev
/null
8502 if test -d .libs
; then
8505 # MS-DOS does not allow filenames that begin with a dot.
8508 rmdir .libs
2>/dev
/null
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8511 $as_echo "$lt_cv_objdir" >&6; }
8512 objdir
=$lt_cv_objdir
8518 cat >>confdefs.h
<<_ACEOF
8519 #define LT_OBJDIR "$lt_cv_objdir/"
8527 # AIX sometimes has problems with the GCC collect2 program. For some
8528 # reason, if we set the COLLECT_NAMES environment variable, the problems
8529 # vanish in a puff of smoke.
8530 if test "X${COLLECT_NAMES+set}" != Xset
; then
8532 export COLLECT_NAMES
8539 can_build_shared
=yes
8541 # All known linkers require a `.a' archive for static linking (except MSVC,
8542 # which needs '.lib').
8545 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8548 old_CFLAGS
="$CFLAGS"
8550 # Set sane defaults for various variables
8551 test -z "$CC" && CC
=cc
8552 test -z "$LTCC" && LTCC
=$CC
8553 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8554 test -z "$LD" && LD
=ld
8555 test -z "$ac_objext" && ac_objext
=o
8557 for cc_temp
in $compiler""; do
8559 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8560 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8565 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8568 # Only perform the check for file, if the check method requires it
8569 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8570 case $deplibs_check_method in
8572 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8574 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8575 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8576 $as_echo_n "(cached) " >&6
8580 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8583 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8584 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8585 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8586 for ac_dir
in $ac_dummy; do
8588 test -z "$ac_dir" && ac_dir
=.
8589 if test -f $ac_dir/${ac_tool_prefix}file; then
8590 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8591 if test -n "$file_magic_test_file"; then
8592 case $deplibs_check_method in
8594 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8595 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8596 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8597 $EGREP "$file_magic_regex" > /dev
/null
; then
8602 *** Warning: the command libtool uses to detect shared libraries,
8603 *** $file_magic_cmd, produces output that libtool cannot recognize.
8604 *** The result is that libtool may fail to recognize shared libraries
8605 *** as such. This will affect the creation of libtool libraries that
8606 *** depend on shared libraries, but programs linked with such libtool
8607 *** libraries will work regardless of this problem. Nevertheless, you
8608 *** may want to report the problem to your system manager and/or to
8609 *** bug-libtool@gnu.org
8619 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8624 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8625 if test -n "$MAGIC_CMD"; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8627 $as_echo "$MAGIC_CMD" >&6; }
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630 $as_echo "no" >&6; }
8637 if test -z "$lt_cv_path_MAGIC_CMD"; then
8638 if test -n "$ac_tool_prefix"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8640 $as_echo_n "checking for file... " >&6; }
8641 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8642 $as_echo_n "(cached) " >&6
8646 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8649 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8650 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8651 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8652 for ac_dir
in $ac_dummy; do
8654 test -z "$ac_dir" && ac_dir
=.
8655 if test -f $ac_dir/file; then
8656 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8657 if test -n "$file_magic_test_file"; then
8658 case $deplibs_check_method in
8660 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8661 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8662 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8663 $EGREP "$file_magic_regex" > /dev
/null
; then
8668 *** Warning: the command libtool uses to detect shared libraries,
8669 *** $file_magic_cmd, produces output that libtool cannot recognize.
8670 *** The result is that libtool may fail to recognize shared libraries
8671 *** as such. This will affect the creation of libtool libraries that
8672 *** depend on shared libraries, but programs linked with such libtool
8673 *** libraries will work regardless of this problem. Nevertheless, you
8674 *** may want to report the problem to your system manager and/or to
8675 *** bug-libtool@gnu.org
8685 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8690 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8691 if test -n "$MAGIC_CMD"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8693 $as_echo "$MAGIC_CMD" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8696 $as_echo "no" >&6; }
8709 # Use C for the default configuration in the libtool script
8713 ac_cpp
='$CPP $CPPFLAGS'
8714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8719 # Source file extension for C test sources.
8722 # Object file extension for compiled C test sources.
8726 # Code to be used in simple compile tests
8727 lt_simple_compile_test_code
="int some_variable = 0;"
8729 # Code to be used in simple link tests
8730 lt_simple_link_test_code
='int main(){return(0);}'
8738 # If no C compiler was specified, use CC.
8741 # If no C compiler flags were specified, use CFLAGS.
8742 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8744 # Allow CC to be a program name with arguments.
8747 # Save the default compiler, since it gets overwritten when the other
8748 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8749 compiler_DEFAULT
=$CC
8751 # save warnings/boilerplate of simple test code
8752 ac_outfile
=conftest.
$ac_objext
8753 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8754 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8755 _lt_compiler_boilerplate
=`cat conftest.err`
8758 ac_outfile
=conftest.
$ac_objext
8759 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8760 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8761 _lt_linker_boilerplate
=`cat conftest.err`
8766 ## There is no encapsulation within the following macros, do not change
8767 ## the running order or otherwise move them around unless you know exactly
8768 ## what you are doing...
8769 if test -n "$compiler"; then
8771 lt_prog_compiler_no_builtin_flag
=
8773 if test "$GCC" = yes; then
8774 case $cc_basename in
8776 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8778 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8782 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8783 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8784 $as_echo_n "(cached) " >&6
8786 lt_cv_prog_compiler_rtti_exceptions
=no
8787 ac_outfile
=conftest.
$ac_objext
8788 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8789 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8790 # Insert the option either (1) after the last *FLAGS variable, or
8791 # (2) before a word containing "conftest.", or (3) at the end.
8792 # Note that $ac_compile itself does not contain backslashes and begins
8793 # with a dollar sign (not a hyphen), so the echo should work correctly.
8794 # The option is referenced via a variable to avoid confusing sed.
8795 lt_compile
=`echo "$ac_compile" | $SED \
8796 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8798 -e 's:$: $lt_compiler_flag:'`
8799 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8800 (eval "$lt_compile" 2>conftest.err
)
8802 cat conftest.err
>&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 if (exit $ac_status) && test -s "$ac_outfile"; then
8805 # The compiler can only warn and ignore the option if not recognized
8806 # So say no if there are warnings other than the usual output.
8807 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8808 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8809 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8810 lt_cv_prog_compiler_rtti_exceptions
=yes
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8817 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8819 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8820 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8832 lt_prog_compiler_wl
=
8833 lt_prog_compiler_pic
=
8834 lt_prog_compiler_static
=
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8837 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8839 if test "$GCC" = yes; then
8840 lt_prog_compiler_wl
='-Wl,'
8841 lt_prog_compiler_static
='-static'
8845 # All AIX code is PIC.
8846 if test "$host_cpu" = ia64
; then
8847 # AIX 5 now supports IA64 processor
8848 lt_prog_compiler_static
='-Bstatic'
8850 lt_prog_compiler_pic
='-fPIC'
8856 # see comment about AmigaOS4 .so support
8857 lt_prog_compiler_pic
='-fPIC'
8860 # FIXME: we need at least 68020 code to build shared libraries, but
8861 # adding the `-m68020' flag to GCC prevents building anything better,
8863 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8868 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8869 # PIC is the default for these OSes.
8872 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8873 # This hack is so that the source file can tell whether it is being
8874 # built for inclusion in a dll (and should export symbols for example).
8875 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8876 # (--disable-auto-import) libraries
8877 lt_prog_compiler_pic
='-DDLL_EXPORT'
8880 darwin
* | rhapsody
*)
8881 # PIC is the default on this platform
8882 # Common symbols not allowed in MH_DYLIB files
8883 lt_prog_compiler_pic
='-fno-common'
8887 # PIC is the default for Haiku.
8888 # The "-static" flag exists, but is broken.
8889 lt_prog_compiler_static
=
8893 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8894 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8895 # sets the default TLS model and affects inlining.
8901 lt_prog_compiler_pic
='-fPIC'
8907 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8908 # Instead, we relocate shared libraries at runtime.
8912 # Just because we use GCC doesn't mean we suddenly get shared libraries
8913 # on systems that don't support them.
8914 lt_prog_compiler_can_build_shared
=no
8919 # QNX uses GNU C++, but need to define -shared option too, otherwise
8921 lt_prog_compiler_pic
='-fPIC -shared'
8925 if test -d /usr
/nec
; then
8926 lt_prog_compiler_pic
=-Kconform_pic
8931 lt_prog_compiler_pic
='-fPIC'
8935 case $cc_basename in
8936 nvcc
*) # Cuda Compiler Driver 2.2
8937 lt_prog_compiler_wl
='-Xlinker '
8938 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8942 # PORTME Check for flag to pass linker flags through the system compiler.
8945 lt_prog_compiler_wl
='-Wl,'
8946 if test "$host_cpu" = ia64
; then
8947 # AIX 5 now supports IA64 processor
8948 lt_prog_compiler_static
='-Bstatic'
8950 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8954 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8955 # This hack is so that the source file can tell whether it is being
8956 # built for inclusion in a dll (and should export symbols for example).
8957 lt_prog_compiler_pic
='-DDLL_EXPORT'
8960 hpux9
* | hpux10
* | hpux11
*)
8961 lt_prog_compiler_wl
='-Wl,'
8962 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8969 lt_prog_compiler_pic
='+Z'
8972 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8973 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8976 irix5
* | irix6
* | nonstopux
*)
8977 lt_prog_compiler_wl
='-Wl,'
8978 # PIC (with -KPIC) is the default.
8979 lt_prog_compiler_static
='-non_shared'
8982 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8983 case $cc_basename in
8984 # old Intel for x86_64 which still supported -KPIC.
8986 lt_prog_compiler_wl
='-Wl,'
8987 lt_prog_compiler_pic
='-KPIC'
8988 lt_prog_compiler_static
='-static'
8990 # icc used to be incompatible with GCC.
8991 # ICC 10 doesn't accept -KPIC any more.
8993 lt_prog_compiler_wl
='-Wl,'
8994 lt_prog_compiler_pic
='-fPIC'
8995 lt_prog_compiler_static
='-static'
8997 # Lahey Fortran 8.1.
8999 lt_prog_compiler_wl
='-Wl,'
9000 lt_prog_compiler_pic
='--shared'
9001 lt_prog_compiler_static
='--static'
9003 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9004 # Portland Group compilers (*not* the Pentium gcc compiler,
9005 # which looks to be a dead project)
9006 lt_prog_compiler_wl
='-Wl,'
9007 lt_prog_compiler_pic
='-fpic'
9008 lt_prog_compiler_static
='-Bstatic'
9011 lt_prog_compiler_wl
='-Wl,'
9012 # All Alpha code is PIC.
9013 lt_prog_compiler_static
='-non_shared'
9015 xl
* | bgxl
* | bgf
* | mpixl
*)
9016 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9017 lt_prog_compiler_wl
='-Wl,'
9018 lt_prog_compiler_pic
='-qpic'
9019 lt_prog_compiler_static
='-qstaticlink'
9022 case `$CC -V 2>&1 | sed 5q` in
9023 *Sun\ F
* |
*Sun
*Fortran
*)
9024 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9025 lt_prog_compiler_pic
='-KPIC'
9026 lt_prog_compiler_static
='-Bstatic'
9027 lt_prog_compiler_wl
=''
9031 lt_prog_compiler_pic
='-KPIC'
9032 lt_prog_compiler_static
='-Bstatic'
9033 lt_prog_compiler_wl
='-Wl,'
9041 lt_prog_compiler_pic
='-KPIC'
9042 lt_prog_compiler_static
='-Bstatic'
9046 # QNX uses GNU C++, but need to define -shared option too, otherwise
9048 lt_prog_compiler_pic
='-fPIC -shared'
9051 osf3
* | osf4
* | osf5
*)
9052 lt_prog_compiler_wl
='-Wl,'
9053 # All OSF/1 code is PIC.
9054 lt_prog_compiler_static
='-non_shared'
9058 lt_prog_compiler_static
='-non_shared'
9062 lt_prog_compiler_pic
='-KPIC'
9063 lt_prog_compiler_static
='-Bstatic'
9064 case $cc_basename in
9066 lt_prog_compiler_wl
='-Qoption ld ';;
9068 lt_prog_compiler_wl
='-Wl,';;
9073 lt_prog_compiler_wl
='-Qoption ld '
9074 lt_prog_compiler_pic
='-PIC'
9075 lt_prog_compiler_static
='-Bstatic'
9078 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9079 lt_prog_compiler_wl
='-Wl,'
9080 lt_prog_compiler_pic
='-KPIC'
9081 lt_prog_compiler_static
='-Bstatic'
9085 if test -d /usr
/nec
;then
9086 lt_prog_compiler_pic
='-Kconform_pic'
9087 lt_prog_compiler_static
='-Bstatic'
9091 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9092 lt_prog_compiler_wl
='-Wl,'
9093 lt_prog_compiler_pic
='-KPIC'
9094 lt_prog_compiler_static
='-Bstatic'
9098 lt_prog_compiler_wl
='-Wl,'
9099 lt_prog_compiler_can_build_shared
=no
9103 lt_prog_compiler_pic
='-pic'
9104 lt_prog_compiler_static
='-Bstatic'
9108 lt_prog_compiler_can_build_shared
=no
9114 # For platforms which do not support PIC, -DPIC is meaningless:
9116 lt_prog_compiler_pic
=
9119 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9123 $as_echo "$lt_prog_compiler_pic" >&6; }
9131 # Check to make sure the PIC flag actually works.
9133 if test -n "$lt_prog_compiler_pic"; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9135 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9136 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9137 $as_echo_n "(cached) " >&6
9139 lt_cv_prog_compiler_pic_works
=no
9140 ac_outfile
=conftest.
$ac_objext
9141 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9142 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9143 # Insert the option either (1) after the last *FLAGS variable, or
9144 # (2) before a word containing "conftest.", or (3) at the end.
9145 # Note that $ac_compile itself does not contain backslashes and begins
9146 # with a dollar sign (not a hyphen), so the echo should work correctly.
9147 # The option is referenced via a variable to avoid confusing sed.
9148 lt_compile
=`echo "$ac_compile" | $SED \
9149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9151 -e 's:$: $lt_compiler_flag:'`
9152 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9153 (eval "$lt_compile" 2>conftest.err
)
9155 cat conftest.err
>&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 if (exit $ac_status) && test -s "$ac_outfile"; then
9158 # The compiler can only warn and ignore the option if not recognized
9159 # So say no if there are warnings other than the usual output.
9160 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9161 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9162 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9163 lt_cv_prog_compiler_pic_works
=yes
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9170 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9172 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9173 case $lt_prog_compiler_pic in
9175 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9178 lt_prog_compiler_pic
=
9179 lt_prog_compiler_can_build_shared
=no
9190 # Check to make sure the static flag actually works.
9192 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9194 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9195 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9196 $as_echo_n "(cached) " >&6
9198 lt_cv_prog_compiler_static_works
=no
9199 save_LDFLAGS
="$LDFLAGS"
9200 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9201 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9202 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9203 # The linker can only warn and ignore the option if not recognized
9204 # So say no if there are warnings
9205 if test -s conftest.err
; then
9206 # Append any errors to the config.log.
9207 cat conftest.err
1>&5
9208 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9209 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9210 if diff conftest.exp conftest.er2
>/dev
/null
; then
9211 lt_cv_prog_compiler_static_works
=yes
9214 lt_cv_prog_compiler_static_works
=yes
9218 LDFLAGS
="$save_LDFLAGS"
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9222 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9224 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9227 lt_prog_compiler_static
=
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9237 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9238 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9239 $as_echo_n "(cached) " >&6
9241 lt_cv_prog_compiler_c_o
=no
9242 $RM -r conftest
2>/dev
/null
9246 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9248 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9249 # Insert the option either (1) after the last *FLAGS variable, or
9250 # (2) before a word containing "conftest.", or (3) at the end.
9251 # Note that $ac_compile itself does not contain backslashes and begins
9252 # with a dollar sign (not a hyphen), so the echo should work correctly.
9253 lt_compile
=`echo "$ac_compile" | $SED \
9254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9256 -e 's:$: $lt_compiler_flag:'`
9257 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9258 (eval "$lt_compile" 2>out
/conftest.err
)
9260 cat out
/conftest.err
>&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9264 # The compiler can only warn and ignore the option if not recognized
9265 # So say no if there are warnings
9266 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9267 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9268 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9269 lt_cv_prog_compiler_c_o
=yes
9274 # SGI C++ compiler will create directory out/ii_files/ for
9275 # template instantiation
9276 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9277 $RM out
/* && rmdir out
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9284 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9292 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9293 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9294 $as_echo_n "(cached) " >&6
9296 lt_cv_prog_compiler_c_o
=no
9297 $RM -r conftest
2>/dev
/null
9301 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9303 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9304 # Insert the option either (1) after the last *FLAGS variable, or
9305 # (2) before a word containing "conftest.", or (3) at the end.
9306 # Note that $ac_compile itself does not contain backslashes and begins
9307 # with a dollar sign (not a hyphen), so the echo should work correctly.
9308 lt_compile
=`echo "$ac_compile" | $SED \
9309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9311 -e 's:$: $lt_compiler_flag:'`
9312 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9313 (eval "$lt_compile" 2>out
/conftest.err
)
9315 cat out
/conftest.err
>&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9319 # The compiler can only warn and ignore the option if not recognized
9320 # So say no if there are warnings
9321 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9322 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9323 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9324 lt_cv_prog_compiler_c_o
=yes
9329 # SGI C++ compiler will create directory out/ii_files/ for
9330 # template instantiation
9331 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9332 $RM out
/* && rmdir out
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9339 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9344 hard_links
="nottested"
9345 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9346 # do not overwrite the value of need_locks provided by the user
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9348 $as_echo_n "checking if we can lock with hard links... " >&6; }
9351 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9353 ln conftest.a conftest.b
2>&5 || hard_links
=no
9354 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9356 $as_echo "$hard_links" >&6; }
9357 if test "$hard_links" = no
; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9359 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9372 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9375 allow_undefined_flag
=
9376 always_export_symbols
=no
9378 archive_expsym_cmds
=
9379 compiler_needs_object
=no
9380 enable_shared_with_static_runtimes
=no
9381 export_dynamic_flag_spec
=
9382 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9383 hardcode_automatic
=no
9385 hardcode_direct_absolute
=no
9386 hardcode_libdir_flag_spec
=
9387 hardcode_libdir_flag_spec_ld
=
9388 hardcode_libdir_separator
=
9390 hardcode_shlibpath_var
=unsupported
9392 link_all_deplibs
=unknown
9395 old_archive_from_new_cmds
=
9396 old_archive_from_expsyms_cmds
=
9397 thread_safe_flag_spec
=
9398 whole_archive_flag_spec
=
9399 # include_expsyms should be a list of space-separated symbols to be *always*
9400 # included in the symbol list
9402 # exclude_expsyms can be an extended regexp of symbols to exclude
9403 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9404 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9405 # as well as any symbol that contains `d'.
9406 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9407 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9408 # platforms (ab)use it in PIC code, but their linkers get confused if
9409 # the symbol is explicitly referenced. Since portable code cannot
9410 # rely on this symbol name, it's probably fine to never include it in
9411 # preloaded symbol tables.
9412 # Exclude shared library initialization/finalization symbols.
9413 extract_expsyms_cmds
=
9416 cygwin
* | mingw
* | pw32
* | cegcc
*)
9417 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9418 # When not using gcc, we currently assume that we are using
9419 # Microsoft Visual C++.
9420 if test "$GCC" != yes; then
9425 # we just hope/assume this is gcc and not c89 (= MSVC++)
9435 # On some targets, GNU ld is compatible enough with the native linker
9436 # that we're better off using the native interface for both.
9437 lt_use_gnu_ld_interface
=no
9438 if test "$with_gnu_ld" = yes; then
9441 # The AIX port of GNU ld has always aspired to compatibility
9442 # with the native linker. However, as the warning in the GNU ld
9443 # block says, versions before 2.19.5* couldn't really create working
9444 # shared libraries, regardless of the interface used.
9445 case `$LD -v 2>&1` in
9446 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9447 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9448 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9450 lt_use_gnu_ld_interface
=yes
9455 lt_use_gnu_ld_interface
=yes
9460 if test "$lt_use_gnu_ld_interface" = yes; then
9461 # If archive_cmds runs LD, not CC, wlarc should be empty
9464 # Set some defaults for GNU ld with shared library support. These
9465 # are reset later if shared libraries are not supported. Putting them
9466 # here allows them to be overridden if necessary.
9467 runpath_var
=LD_RUN_PATH
9468 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9469 export_dynamic_flag_spec
='${wl}--export-dynamic'
9470 # ancient GNU ld didn't support --whole-archive et. al.
9471 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9472 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9474 whole_archive_flag_spec
=
9476 supports_anon_versioning
=no
9477 case `$LD -v 2>&1` in
9478 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9479 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9480 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9481 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9482 *\
2.11.
*) ;; # other 2.11 versions
9483 *) supports_anon_versioning
=yes ;;
9486 # See if GNU ld supports shared libraries.
9489 # On AIX/PPC, the GNU linker is very broken
9490 if test "$host_cpu" != ia64
; then
9494 *** Warning: the GNU linker, at least up to release 2.19, is reported
9495 *** to be unable to reliably create shared libraries on AIX.
9496 *** Therefore, libtool is disabling shared libraries support. If you
9497 *** really care for shared libraries, you may want to install binutils
9498 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9499 *** You will then need to restart the configuration process.
9508 # see comment about AmigaOS4 .so support
9509 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510 archive_expsym_cmds
=''
9513 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)'
9514 hardcode_libdir_flag_spec
='-L$libdir'
9515 hardcode_minus_L
=yes
9521 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9522 allow_undefined_flag
=unsupported
9523 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9524 # support --undefined. This deserves some investigation. FIXME
9525 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9531 cygwin
* | mingw
* | pw32
* | cegcc
*)
9532 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9533 # as there is no search path for DLLs.
9534 hardcode_libdir_flag_spec
='-L$libdir'
9535 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9536 allow_undefined_flag
=unsupported
9537 always_export_symbols
=no
9538 enable_shared_with_static_runtimes
=yes
9539 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9541 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9543 # If the export-symbols file already is a .def file (1st line
9544 # is EXPORTS), use it as is; otherwise, prepend...
9545 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9546 cp $export_symbols $output_objdir/$soname.def;
9548 echo EXPORTS > $output_objdir/$soname.def;
9549 cat $export_symbols >> $output_objdir/$soname.def;
9551 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9558 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9559 link_all_deplibs
=yes
9564 hardcode_shlibpath_var
=no
9565 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9566 export_dynamic_flag_spec
='${wl}-E'
9567 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9568 # Instead, shared libraries are loaded at an image base (0x10000000 by
9569 # default) and relocated if they conflict, which is a slow very memory
9570 # consuming and fragmenting process. To avoid this, we pick a random,
9571 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9572 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9573 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9574 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'
9577 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9579 if test "$host_os" = linux-dietlibc
; then
9580 case $cc_basename in
9581 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9584 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9585 && test "$tmp_diet" = no
9587 tmp_addflag
=' $pic_flag'
9588 tmp_sharedflag
='-shared'
9589 case $cc_basename,$host_cpu in
9590 pgcc
*) # Portland Group C compiler
9591 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'
9592 tmp_addflag
=' $pic_flag'
9594 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9595 # Portland Group f77 and f90 compilers
9596 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'
9597 tmp_addflag
=' $pic_flag -Mnomain' ;;
9598 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9599 tmp_addflag
=' -i_dynamic' ;;
9600 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9601 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9602 ifc
* | ifort
*) # Intel Fortran compiler
9603 tmp_addflag
=' -nofor_main' ;;
9604 lf95
*) # Lahey Fortran 8.1
9605 whole_archive_flag_spec
=
9606 tmp_sharedflag
='--shared' ;;
9607 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9608 tmp_sharedflag
='-qmkshrobj'
9610 nvcc
*) # Cuda Compiler Driver 2.2
9611 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'
9612 compiler_needs_object
=yes
9615 case `$CC -V 2>&1 | sed 5q` in
9616 *Sun\ C
*) # Sun C 5.9
9617 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'
9618 compiler_needs_object
=yes
9619 tmp_sharedflag
='-G' ;;
9620 *Sun\ F
*) # Sun Fortran 8.3
9621 tmp_sharedflag
='-G' ;;
9623 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9625 if test "x$supports_anon_versioning" = xyes
; then
9626 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9627 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9628 echo "local: *; };" >> $output_objdir/$libname.ver~
9629 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9632 case $cc_basename in
9633 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9634 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9635 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9636 hardcode_libdir_flag_spec
=
9637 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9638 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9639 if test "x$supports_anon_versioning" = xyes
; then
9640 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9641 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9642 echo "local: *; };" >> $output_objdir/$libname.ver~
9643 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9653 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9654 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9658 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9663 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9667 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9668 *** create shared libraries on Solaris systems. Therefore, libtool
9669 *** is disabling shared libraries support. We urge you to upgrade GNU
9670 *** binutils to release 2.9.1 or newer. Another option is to modify
9671 *** your PATH or compiler configuration so that the native linker is
9672 *** used, and then restart.
9675 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9676 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9683 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9684 case `$LD -v 2>&1` in
9685 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9689 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9690 *** reliably create shared libraries on SCO systems. Therefore, libtool
9691 *** is disabling shared libraries support. We urge you to upgrade GNU
9692 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9693 *** your PATH or compiler configuration so that the native linker is
9694 *** used, and then restart.
9699 # For security reasons, it is highly recommended that you always
9700 # use absolute paths for naming shared libraries, and exclude the
9701 # DT_RUNPATH tag from executables and libraries. But doing so
9702 # requires that you compile everything twice, which is a pain.
9703 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9704 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9705 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9706 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9715 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9718 hardcode_shlibpath_var
=no
9722 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9723 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9724 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9731 if test "$ld_shlibs" = no
; then
9733 hardcode_libdir_flag_spec
=
9734 export_dynamic_flag_spec
=
9735 whole_archive_flag_spec
=
9738 # PORTME fill in a description of your system's linker (not GNU ld)
9741 allow_undefined_flag
=unsupported
9742 always_export_symbols
=yes
9743 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'
9744 # Note: this linker hardcodes the directories in LIBPATH if there
9745 # are no directories specified by -L.
9746 hardcode_minus_L
=yes
9747 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9748 # Neither direct hardcoding nor static linking is supported with a
9750 hardcode_direct
=unsupported
9755 if test "$host_cpu" = ia64
; then
9756 # On IA64, the linker does run time linking by default, so we don't
9757 # have to do anything special.
9758 aix_use_runtimelinking
=no
9759 exp_sym_flag
='-Bexport'
9762 # If we're using GNU nm, then we don't want the "-C" option.
9763 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9764 # Also, AIX nm treats weak defined symbols like other global
9765 # defined symbols, whereas GNU nm marks them as "W".
9766 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9767 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'
9769 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9771 aix_use_runtimelinking
=no
9773 # Test if we are trying to use run time linking or normal
9774 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9775 # need to do runtime linking.
9776 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9777 for ld_flag
in $LDFLAGS; do
9778 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9779 aix_use_runtimelinking
=yes
9786 exp_sym_flag
='-bexport'
9787 no_entry_flag
='-bnoentry'
9790 # When large executables or shared objects are built, AIX ld can
9791 # have problems creating the table of contents. If linking a library
9792 # or program results in "error TOC overflow" add -mminimal-toc to
9793 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9794 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9798 hardcode_direct_absolute
=yes
9799 hardcode_libdir_separator
=':'
9800 link_all_deplibs
=yes
9801 file_list_spec
='${wl}-f,'
9803 if test "$GCC" = yes; then
9804 case $host_os in aix4.
[012]|aix4.
[012].
*)
9805 # We only want to do this on AIX 4.2 and lower, the check
9806 # below for broken collect2 doesn't work under 4.3+
9807 collect2name
=`${CC} -print-prog-name=collect2`
9808 if test -f "$collect2name" &&
9809 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9811 # We have reworked collect2
9814 # We have old collect2
9815 hardcode_direct
=unsupported
9816 # It fails to find uninstalled libraries when the uninstalled
9817 # path is not listed in the libpath. Setting hardcode_minus_L
9818 # to unsupported forces relinking
9819 hardcode_minus_L
=yes
9820 hardcode_libdir_flag_spec
='-L$libdir'
9821 hardcode_libdir_separator
=
9825 shared_flag
='-shared'
9826 if test "$aix_use_runtimelinking" = yes; then
9827 shared_flag
="$shared_flag "'${wl}-G'
9831 if test "$host_cpu" = ia64
; then
9832 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9833 # chokes on -Wl,-G. The following line is correct:
9836 if test "$aix_use_runtimelinking" = yes; then
9837 shared_flag
='${wl}-G'
9839 shared_flag
='${wl}-bM:SRE'
9844 export_dynamic_flag_spec
='${wl}-bexpall'
9845 # It seems that -bexpall does not export symbols beginning with
9846 # underscore (_), so it is better to generate a list of symbols to export.
9847 always_export_symbols
=yes
9848 if test "$aix_use_runtimelinking" = yes; then
9849 # Warning - without using the other runtime loading flags (-brtl),
9850 # -berok will link without error, but may produce a broken library.
9851 allow_undefined_flag
='-berok'
9852 # Determine the default libpath from the value encoded in an
9854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9865 if ac_fn_c_try_link
"$LINENO"; then :
9867 lt_aix_libpath_sed
='
9868 /Import File Strings/,/^$/ {
9874 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9875 # Check for a 64-bit object if we didn't find anything.
9876 if test -z "$aix_libpath"; then
9877 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9880 rm -f core conftest.err conftest.
$ac_objext \
9881 conftest
$ac_exeext conftest.
$ac_ext
9882 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9884 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9885 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"
9887 if test "$host_cpu" = ia64
; then
9888 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9889 allow_undefined_flag
="-z nodefs"
9890 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"
9892 # Determine the default libpath from the value encoded in an
9894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9905 if ac_fn_c_try_link
"$LINENO"; then :
9907 lt_aix_libpath_sed
='
9908 /Import File Strings/,/^$/ {
9914 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9915 # Check for a 64-bit object if we didn't find anything.
9916 if test -z "$aix_libpath"; then
9917 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9920 rm -f core conftest.err conftest.
$ac_objext \
9921 conftest
$ac_exeext conftest.
$ac_ext
9922 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9924 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9925 # Warning - without using the other run time loading flags,
9926 # -berok will link without error, but may produce a broken library.
9927 no_undefined_flag
=' ${wl}-bernotok'
9928 allow_undefined_flag
=' ${wl}-berok'
9929 if test "$with_gnu_ld" = yes; then
9930 # We only use this code for GNU lds that support --whole-archive.
9931 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9933 # Exported symbols can be pulled into shared objects from archives
9934 whole_archive_flag_spec
='$convenience'
9936 archive_cmds_need_lc
=yes
9937 # This is similar to how AIX traditionally builds its shared libraries.
9938 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'
9946 # see comment about AmigaOS4 .so support
9947 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9948 archive_expsym_cmds
=''
9951 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)'
9952 hardcode_libdir_flag_spec
='-L$libdir'
9953 hardcode_minus_L
=yes
9959 export_dynamic_flag_spec
=-rdynamic
9962 cygwin
* | mingw
* | pw32
* | cegcc
*)
9963 # When not using gcc, we currently assume that we are using
9964 # Microsoft Visual C++.
9965 # hardcode_libdir_flag_spec is actually meaningless, as there is
9966 # no search path for DLLs.
9967 hardcode_libdir_flag_spec
=' '
9968 allow_undefined_flag
=unsupported
9969 # Tell ltmain to make .lib files, not .a files.
9971 # Tell ltmain to make .dll files, not .so files.
9973 # FIXME: Setting linknames here is a bad hack.
9974 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9975 # The linker will automatically build a .lib file if we build a DLL.
9976 old_archive_from_new_cmds
='true'
9977 # FIXME: Should let the user specify the lib program.
9978 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9979 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9980 enable_shared_with_static_runtimes
=yes
9983 darwin
* | rhapsody
*)
9986 archive_cmds_need_lc
=no
9988 hardcode_automatic
=yes
9989 hardcode_shlibpath_var
=unsupported
9990 if test "$lt_cv_ld_force_load" = "yes"; then
9991 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\"`'
9993 whole_archive_flag_spec
=''
9995 link_all_deplibs
=yes
9996 allow_undefined_flag
="$_lt_dar_allow_undefined"
9997 case $cc_basename in
9998 ifort
*) _lt_dar_can_shared
=yes ;;
9999 *) _lt_dar_can_shared
=$GCC ;;
10001 if test "$_lt_dar_can_shared" = "yes"; then
10002 output_verbose_link_cmd
=func_echo_all
10003 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10004 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10005 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}"
10006 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}"
10015 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10016 hardcode_libdir_flag_spec
='-L$libdir'
10017 hardcode_shlibpath_var
=no
10020 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10021 # support. Future versions do this automatically, but an explicit c++rt0.o
10022 # does not break anything, and helps significantly (at the cost of a little
10025 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10026 hardcode_libdir_flag_spec
='-R$libdir'
10027 hardcode_direct
=yes
10028 hardcode_shlibpath_var
=no
10031 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10033 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct
=yes
10035 hardcode_minus_L
=yes
10036 hardcode_shlibpath_var
=no
10039 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10040 freebsd
* | dragonfly
*)
10041 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10042 hardcode_libdir_flag_spec
='-R$libdir'
10043 hardcode_direct
=yes
10044 hardcode_shlibpath_var
=no
10048 if test "$GCC" = yes; then
10049 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'
10051 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'
10053 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10054 hardcode_libdir_separator
=:
10055 hardcode_direct
=yes
10057 # hardcode_minus_L: Not really in the search PATH,
10058 # but as the default location of the library.
10059 hardcode_minus_L
=yes
10060 export_dynamic_flag_spec
='${wl}-E'
10064 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10065 archive_cmds
='$CC -shared -fPIC ${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'
10069 if test "$with_gnu_ld" = no
; then
10070 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10071 hardcode_libdir_flag_spec_ld
='+b $libdir'
10072 hardcode_libdir_separator
=:
10073 hardcode_direct
=yes
10074 hardcode_direct_absolute
=yes
10075 export_dynamic_flag_spec
='${wl}-E'
10076 # hardcode_minus_L: Not really in the search PATH,
10077 # but as the default location of the library.
10078 hardcode_minus_L
=yes
10083 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10086 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10101 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10105 # Older versions of the 11.00 compiler do not understand -b yet
10106 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10108 $as_echo_n "checking if $CC understands -b... " >&6; }
10109 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10110 $as_echo_n "(cached) " >&6
10112 lt_cv_prog_compiler__b
=no
10113 save_LDFLAGS
="$LDFLAGS"
10114 LDFLAGS
="$LDFLAGS -b"
10115 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10116 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10117 # The linker can only warn and ignore the option if not recognized
10118 # So say no if there are warnings
10119 if test -s conftest.err
; then
10120 # Append any errors to the config.log.
10121 cat conftest.err
1>&5
10122 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10123 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10124 if diff conftest.exp conftest.er2
>/dev
/null
; then
10125 lt_cv_prog_compiler__b
=yes
10128 lt_cv_prog_compiler__b
=yes
10132 LDFLAGS
="$save_LDFLAGS"
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10136 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10138 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10139 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10141 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10147 if test "$with_gnu_ld" = no
; then
10148 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10149 hardcode_libdir_separator
=:
10154 hardcode_shlibpath_var
=no
10157 hardcode_direct
=yes
10158 hardcode_direct_absolute
=yes
10159 export_dynamic_flag_spec
='${wl}-E'
10161 # hardcode_minus_L: Not really in the search PATH,
10162 # but as the default location of the library.
10163 hardcode_minus_L
=yes
10169 irix5
* | irix6
* | nonstopux
*)
10170 if test "$GCC" = yes; then
10171 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'
10172 # Try to use the -exported_symbol ld option, if it does not
10173 # work, assume that -exports_file does not work either and
10174 # implicitly export all symbols.
10175 save_LDFLAGS
="$LDFLAGS"
10176 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10181 if ac_fn_c_try_link
"$LINENO"; then :
10182 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'
10185 rm -f core conftest.err conftest.
$ac_objext \
10186 conftest
$ac_exeext conftest.
$ac_ext
10187 LDFLAGS
="$save_LDFLAGS"
10189 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'
10190 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'
10192 archive_cmds_need_lc
='no'
10193 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10194 hardcode_libdir_separator
=:
10196 link_all_deplibs
=yes
10200 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10201 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10203 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10205 hardcode_libdir_flag_spec
='-R$libdir'
10206 hardcode_direct
=yes
10207 hardcode_shlibpath_var
=no
10211 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_direct
=yes
10213 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10214 hardcode_libdir_separator
=:
10215 hardcode_shlibpath_var
=no
10222 if test -f /usr
/libexec
/ld.so
; then
10223 hardcode_direct
=yes
10224 hardcode_shlibpath_var
=no
10225 hardcode_direct_absolute
=yes
10226 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10227 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10228 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10229 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10230 export_dynamic_flag_spec
='${wl}-E'
10233 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10234 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10235 hardcode_libdir_flag_spec
='-R$libdir'
10238 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10239 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10249 hardcode_libdir_flag_spec
='-L$libdir'
10250 hardcode_minus_L
=yes
10251 allow_undefined_flag
=unsupported
10252 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'
10253 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10257 if test "$GCC" = yes; then
10258 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10259 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'
10261 allow_undefined_flag
=' -expect_unresolved \*'
10262 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'
10264 archive_cmds_need_lc
='no'
10265 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10266 hardcode_libdir_separator
=:
10269 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10270 if test "$GCC" = yes; then
10271 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10272 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'
10273 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10275 allow_undefined_flag
=' -expect_unresolved \*'
10276 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'
10277 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~
10278 $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'
10280 # Both c and cxx compiler support -rpath directly
10281 hardcode_libdir_flag_spec
='-rpath $libdir'
10283 archive_cmds_need_lc
='no'
10284 hardcode_libdir_separator
=:
10288 no_undefined_flag
=' -z defs'
10289 if test "$GCC" = yes; then
10291 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10292 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10293 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10295 case `$CC -V 2>&1` in
10298 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10299 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10300 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10304 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10305 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10306 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10310 hardcode_libdir_flag_spec
='-R$libdir'
10311 hardcode_shlibpath_var
=no
10313 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10315 # The compiler driver will combine and reorder linker options,
10316 # but understands `-z linker_flag'. GCC discards it without `$wl',
10317 # but is careful enough not to reorder.
10318 # Supported since Solaris 2.6 (maybe 2.5.1?)
10319 if test "$GCC" = yes; then
10320 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10322 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10326 link_all_deplibs
=yes
10330 if test "x$host_vendor" = xsequent
; then
10331 # Use $CC to link under sequent, because it throws in some extra .o
10332 # files that make .init and .fini sections work.
10333 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10335 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10337 hardcode_libdir_flag_spec
='-L$libdir'
10338 hardcode_direct
=yes
10339 hardcode_minus_L
=yes
10340 hardcode_shlibpath_var
=no
10344 case $host_vendor in
10346 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10347 hardcode_direct
=yes # is this really true???
10350 ## LD is ld it makes a PLAMLIB
10351 ## CC just makes a GrossModule.
10352 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10353 reload_cmds
='$CC -r -o $output$reload_objs'
10357 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10358 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10361 runpath_var
='LD_RUN_PATH'
10362 hardcode_shlibpath_var
=no
10366 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10367 hardcode_shlibpath_var
=no
10368 export_dynamic_flag_spec
='-Bexport'
10372 if test -d /usr
/nec
; then
10373 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_shlibpath_var
=no
10375 runpath_var
=LD_RUN_PATH
10376 hardcode_runpath_var
=yes
10381 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10382 no_undefined_flag
='${wl}-z,text'
10383 archive_cmds_need_lc
=no
10384 hardcode_shlibpath_var
=no
10385 runpath_var
='LD_RUN_PATH'
10387 if test "$GCC" = yes; then
10388 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10389 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10391 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396 sysv5
* | sco3.2v5
* | sco5v6
*)
10397 # Note: We can NOT use -z defs as we might desire, because we do not
10398 # link with -lc, and that would cause any symbols used from libc to
10399 # always be unresolved, which means just about no library would
10400 # ever link correctly. If we're not using GNU ld we use -z text
10401 # though, which does catch some bad symbols but isn't as heavy-handed
10403 no_undefined_flag
='${wl}-z,text'
10404 allow_undefined_flag
='${wl}-z,nodefs'
10405 archive_cmds_need_lc
=no
10406 hardcode_shlibpath_var
=no
10407 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10408 hardcode_libdir_separator
=':'
10409 link_all_deplibs
=yes
10410 export_dynamic_flag_spec
='${wl}-Bexport'
10411 runpath_var
='LD_RUN_PATH'
10413 if test "$GCC" = yes; then
10414 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10415 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10424 hardcode_libdir_flag_spec
='-L$libdir'
10425 hardcode_shlibpath_var
=no
10433 if test x
$host_vendor = xsni
; then
10435 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10436 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10443 $as_echo "$ld_shlibs" >&6; }
10444 test "$ld_shlibs" = no
&& can_build_shared
=no
10446 with_gnu_ld
=$with_gnu_ld
10463 # Do we need to explicitly link libc?
10465 case "x$archive_cmds_need_lc" in
10467 # Assume -lc should be added
10468 archive_cmds_need_lc
=yes
10470 if test "$enable_shared" = yes && test "$GCC" = yes; then
10471 case $archive_cmds in
10473 # FIXME: we may have to deal with multi-command sequences.
10476 # Test whether the compiler implicitly links with -lc since on some
10477 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10478 # to ld, don't add -lc before -lgcc.
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10480 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10481 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10482 $as_echo_n "(cached) " >&6
10485 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10487 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10488 (eval $ac_compile) 2>&5
10490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10491 test $ac_status = 0; } 2>conftest.err
; then
10494 libobjs
=conftest.
$ac_objext
10496 wl
=$lt_prog_compiler_wl
10497 pic_flag
=$lt_prog_compiler_pic
10503 lt_save_allow_undefined_flag
=$allow_undefined_flag
10504 allow_undefined_flag
=
10505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10506 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10509 test $ac_status = 0; }
10511 lt_cv_archive_cmds_need_lc
=no
10513 lt_cv_archive_cmds_need_lc
=yes
10515 allow_undefined_flag
=$lt_save_allow_undefined_flag
10517 cat conftest.err
1>&5
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10523 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10524 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10688 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10690 if test "$GCC" = yes; then
10692 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10693 *) lt_awk_arg
="/^libraries:/" ;;
10696 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10697 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10699 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10700 case $lt_search_path_spec in
10702 # if the path contains ";" then we assume it to be the separator
10703 # otherwise default to the standard path separator (i.e. ":") - it is
10704 # assumed that no part of a normal pathname contains ";" but that should
10705 # okay in the real world where ";" in dirpaths is itself problematic.
10706 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10709 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10712 # Ok, now we have the path, separated by spaces, we can step through it
10713 # and add multilib dir if necessary.
10714 lt_tmp_lt_search_path_spec
=
10715 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10716 for lt_sys_path
in $lt_search_path_spec; do
10717 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10718 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10720 test -d "$lt_sys_path" && \
10721 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10724 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10725 BEGIN {RS=" "; FS="/|\n";} {
10728 for (lt_i = NF; lt_i > 0; lt_i--) {
10729 if ($lt_i != "" && $lt_i != ".") {
10730 if ($lt_i == "..") {
10733 if (lt_count == 0) {
10734 lt_foo="/" $lt_i lt_foo;
10741 if (lt_foo != "") { lt_freq[lt_foo]++; }
10742 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10744 # AWK program above erroneously prepends '/' to C:/dos/paths
10747 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10748 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10750 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10752 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10754 library_names_spec
=
10755 libname_spec
='lib$name'
10759 postuninstall_cmds
=
10763 shlibpath_overrides_runpath
=unknown
10765 dynamic_linker
="$host_os ld.so"
10766 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10767 need_lib_prefix
=unknown
10768 hardcode_into_libs
=no
10770 # when you set need_version to no, make sure it does not cause -set_version
10771 # flags to be left without arguments
10772 need_version
=unknown
10777 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10778 shlibpath_var
=LIBPATH
10780 # AIX 3 has no versioning support, so we append a major version to the name.
10781 soname_spec
='${libname}${release}${shared_ext}$major'
10788 hardcode_into_libs
=yes
10789 if test "$host_cpu" = ia64
; then
10790 # AIX 5 supports IA64
10791 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10792 shlibpath_var
=LD_LIBRARY_PATH
10794 # With GCC up to 2.95.x, collect2 would create an import file
10795 # for dependence libraries. The import file would start with
10796 # the line `#! .'. This would cause the generated library to
10797 # depend on `.', always an invalid library. This was fixed in
10798 # development snapshots of GCC prior to 3.0.
10800 aix4 | aix4.
[01] | aix4.
[01].
*)
10801 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10803 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10806 can_build_shared
=no
10810 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10811 # soname into executable. Probably we can add versioning support to
10812 # collect2, so additional links can be useful in future.
10813 if test "$aix_use_runtimelinking" = yes; then
10814 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10815 # instead of lib<name>.a to let people know that these are not
10816 # typical AIX shared libraries.
10817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 # We preserve .a as extension for shared libraries through AIX4.2
10820 # and later when we are not doing run time linking.
10821 library_names_spec
='${libname}${release}.a $libname.a'
10822 soname_spec
='${libname}${release}${shared_ext}$major'
10824 shlibpath_var
=LIBPATH
10831 # Since July 2007 AmigaOS4 officially supports .so libraries.
10832 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10836 library_names_spec
='$libname.ixlibrary $libname.a'
10837 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10838 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'
10844 library_names_spec
='${libname}${shared_ext}'
10845 dynamic_linker
="$host_os ld.so"
10846 shlibpath_var
=LIBRARY_PATH
10852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 soname_spec
='${libname}${release}${shared_ext}$major'
10854 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10855 shlibpath_var
=LD_LIBRARY_PATH
10856 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10857 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10858 # the default ld.so.conf also contains /usr/contrib/lib and
10859 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10860 # libtool to hard-code these into programs
10863 cygwin
* | mingw
* | pw32
* | cegcc
*)
10864 version_type
=windows
10869 case $GCC,$host_os in
10870 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10871 library_names_spec
='$libname.dll.a'
10872 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10873 postinstall_cmds
='base_file=`basename \${file}`~
10874 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10875 dldir=$destdir/`dirname \$dlpath`~
10876 test -d \$dldir || mkdir -p \$dldir~
10877 $install_prog $dir/$dlname \$dldir/$dlname~
10878 chmod a+x \$dldir/$dlname~
10879 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10880 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10882 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10883 dlpath=$dir/\$dldll~
10885 shlibpath_overrides_runpath
=yes
10889 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10890 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10892 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10895 # MinGW DLLs use traditional 'lib' prefix
10896 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10899 # pw32 DLLs use 'pw' prefix rather than 'lib'
10900 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10906 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10909 dynamic_linker
='Win32 ld.exe'
10910 # FIXME: first we should search . and the directory the executable is in
10914 darwin
* | rhapsody
*)
10915 dynamic_linker
="$host_os dyld"
10916 version_type
=darwin
10919 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10920 soname_spec
='${libname}${release}${major}$shared_ext'
10921 shlibpath_overrides_runpath
=yes
10922 shlibpath_var
=DYLD_LIBRARY_PATH
10923 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10925 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10926 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10934 soname_spec
='${libname}${release}${shared_ext}$major'
10935 shlibpath_var
=LD_LIBRARY_PATH
10938 freebsd
* | dragonfly
*)
10939 # DragonFly does not have aout. When/if they implement a new
10940 # versioning mechanism, adjust this.
10941 if test -x /usr
/bin
/objformat
; then
10942 objformat
=`/usr/bin/objformat`
10945 freebsd
[23].
*) objformat
=aout
;;
10946 *) objformat
=elf
;;
10949 version_type
=freebsd-
$objformat
10950 case $version_type in
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10957 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10961 shlibpath_var
=LD_LIBRARY_PATH
10964 shlibpath_overrides_runpath
=yes
10966 freebsd3.
[01]* | freebsdelf3.
[01]*)
10967 shlibpath_overrides_runpath
=yes
10968 hardcode_into_libs
=yes
10970 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10971 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10972 shlibpath_overrides_runpath
=no
10973 hardcode_into_libs
=yes
10975 *) # from 4.6 on, and DragonFly
10976 shlibpath_overrides_runpath
=yes
10977 hardcode_into_libs
=yes
10986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10987 soname_spec
='${libname}${release}${shared_ext}$major'
10988 shlibpath_var
=LD_LIBRARY_PATH
10989 hardcode_into_libs
=yes
10996 dynamic_linker
="$host_os runtime_loader"
10997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10998 soname_spec
='${libname}${release}${shared_ext}$major'
10999 shlibpath_var
=LIBRARY_PATH
11000 shlibpath_overrides_runpath
=yes
11001 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11002 hardcode_into_libs
=yes
11005 hpux9
* | hpux10
* | hpux11
*)
11006 # Give a soname corresponding to the major version so that dld.sl refuses to
11007 # link against other versions.
11014 hardcode_into_libs
=yes
11015 dynamic_linker
="$host_os dld.so"
11016 shlibpath_var
=LD_LIBRARY_PATH
11017 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11019 soname_spec
='${libname}${release}${shared_ext}$major'
11020 if test "X$HPUX_IA64_MODE" = X32
; then
11021 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11023 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11025 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11029 hardcode_into_libs
=yes
11030 dynamic_linker
="$host_os dld.sl"
11031 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11032 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11034 soname_spec
='${libname}${release}${shared_ext}$major'
11035 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11036 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11040 dynamic_linker
="$host_os dld.sl"
11041 shlibpath_var
=SHLIB_PATH
11042 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 soname_spec
='${libname}${release}${shared_ext}$major'
11047 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11048 postinstall_cmds
='chmod 555 $lib'
11049 # or fails outright, so override atomically:
11050 install_override_mode
=555
11057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11058 soname_spec
='${libname}${release}${shared_ext}$major'
11059 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11060 shlibpath_var
=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath
=no
11062 hardcode_into_libs
=yes
11065 irix5
* | irix6
* | nonstopux
*)
11067 nonstopux
*) version_type
=nonstopux
;;
11069 if test "$lt_cv_prog_gnu_ld" = yes; then
11077 soname_spec
='${libname}${release}${shared_ext}$major'
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11080 irix5
* | nonstopux
*)
11081 libsuff
= shlibsuff
=
11084 case $LD in # libtool.m4 will add one of these switches to LD
11085 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11086 libsuff
= shlibsuff
= libmagic
=32-bit;;
11087 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11088 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11089 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11090 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11091 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11095 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11096 shlibpath_overrides_runpath
=no
11097 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11098 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11099 hardcode_into_libs
=yes
11102 # No shared lib support for Linux oldld, aout, or coff.
11103 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11107 # This must be Linux ELF.
11108 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113 soname_spec
='${libname}${release}${shared_ext}$major'
11114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11115 shlibpath_var
=LD_LIBRARY_PATH
11116 shlibpath_overrides_runpath
=no
11118 # Some binutils ld are patched to set DT_RUNPATH
11119 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11120 $as_echo_n "(cached) " >&6
11122 lt_cv_shlibpath_overrides_runpath
=no
11123 save_LDFLAGS
=$LDFLAGS
11124 save_libdir
=$libdir
11125 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11126 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11138 if ac_fn_c_try_link
"$LINENO"; then :
11139 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11140 lt_cv_shlibpath_overrides_runpath
=yes
11143 rm -f core conftest.err conftest.
$ac_objext \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 LDFLAGS
=$save_LDFLAGS
11146 libdir
=$save_libdir
11150 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11152 # This implies no fast_install, which is unacceptable.
11153 # Some rework will be needed to allow for fast_install
11154 # before this can be enabled.
11155 hardcode_into_libs
=yes
11157 # Append ld.so.conf contents to the search path
11158 if test -f /etc
/ld.so.conf
; then
11159 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' ' '`
11160 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11163 # We used to test for /lib/ld.so.1 and disable shared libraries on
11164 # powerpc, because MkLinux only supported shared libraries with the
11165 # GNU dynamic linker. Since this was broken with cross compilers,
11166 # most powerpc-linux boxes support dynamic linking these days and
11167 # people can always --disable-shared, the test was removed, and we
11168 # assume the GNU/Linux dynamic linker is in use.
11169 dynamic_linker
='GNU/Linux ld.so'
11176 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11178 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11179 dynamic_linker
='NetBSD (a.out) ld.so'
11181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11182 soname_spec
='${libname}${release}${shared_ext}$major'
11183 dynamic_linker
='NetBSD ld.elf_so'
11185 shlibpath_var
=LD_LIBRARY_PATH
11186 shlibpath_overrides_runpath
=yes
11187 hardcode_into_libs
=yes
11192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11193 shlibpath_var
=LD_LIBRARY_PATH
11194 shlibpath_overrides_runpath
=yes
11201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 soname_spec
='${libname}${release}${shared_ext}$major'
11203 shlibpath_var
=LD_LIBRARY_PATH
11204 shlibpath_overrides_runpath
=no
11205 hardcode_into_libs
=yes
11206 dynamic_linker
='ldqnx.so'
11211 sys_lib_dlsearch_path_spec
="/usr/lib"
11213 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11215 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11216 *) need_version
=no
;;
11218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11219 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11220 shlibpath_var
=LD_LIBRARY_PATH
11221 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11223 openbsd2.
[89] | openbsd2.
[89].
*)
11224 shlibpath_overrides_runpath
=no
11227 shlibpath_overrides_runpath
=yes
11231 shlibpath_overrides_runpath
=yes
11236 libname_spec
='$name'
11239 library_names_spec
='$libname${shared_ext} $libname.a'
11240 dynamic_linker
='OS/2 ld.exe'
11241 shlibpath_var
=LIBPATH
11244 osf3
* | osf4
* | osf5
*)
11248 soname_spec
='${libname}${release}${shared_ext}$major'
11249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11250 shlibpath_var
=LD_LIBRARY_PATH
11251 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11252 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11264 soname_spec
='${libname}${release}${shared_ext}$major'
11265 shlibpath_var
=LD_LIBRARY_PATH
11266 shlibpath_overrides_runpath
=yes
11267 hardcode_into_libs
=yes
11268 # ldd complains unless libraries are executable
11269 postinstall_cmds
='chmod +x $lib'
11274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11275 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11276 shlibpath_var
=LD_LIBRARY_PATH
11277 shlibpath_overrides_runpath
=yes
11278 if test "$with_gnu_ld" = yes; then
11286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287 soname_spec
='${libname}${release}${shared_ext}$major'
11288 shlibpath_var
=LD_LIBRARY_PATH
11289 case $host_vendor in
11291 shlibpath_overrides_runpath
=no
11293 runpath_var
=LD_RUN_PATH
11301 shlibpath_overrides_runpath
=no
11302 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11308 if test -d /usr
/nec
;then
11310 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11311 soname_spec
='$libname${shared_ext}.$major'
11312 shlibpath_var
=LD_LIBRARY_PATH
11316 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11317 version_type
=freebsd-elf
11320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11321 soname_spec
='${libname}${release}${shared_ext}$major'
11322 shlibpath_var
=LD_LIBRARY_PATH
11323 shlibpath_overrides_runpath
=yes
11324 hardcode_into_libs
=yes
11325 if test "$with_gnu_ld" = yes; then
11326 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11328 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11331 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11335 sys_lib_dlsearch_path_spec
='/usr/lib'
11339 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11344 shlibpath_var
=LD_LIBRARY_PATH
11345 shlibpath_overrides_runpath
=no
11346 hardcode_into_libs
=yes
11351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11352 soname_spec
='${libname}${release}${shared_ext}$major'
11353 shlibpath_var
=LD_LIBRARY_PATH
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11361 $as_echo "$dynamic_linker" >&6; }
11362 test "$dynamic_linker" = no
&& can_build_shared
=no
11364 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11365 if test "$GCC" = yes; then
11366 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11369 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11370 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11372 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11373 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11468 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11470 if test -n "$hardcode_libdir_flag_spec" ||
11471 test -n "$runpath_var" ||
11472 test "X$hardcode_automatic" = "Xyes" ; then
11474 # We can hardcode non-existent directories.
11475 if test "$hardcode_direct" != no
&&
11476 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11477 # have to relink, otherwise we might link with an installed library
11478 # when we should be linking with a yet-to-be-installed one
11479 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11480 test "$hardcode_minus_L" != no
; then
11481 # Linking always hardcodes the temporary library directory.
11482 hardcode_action
=relink
11484 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11485 hardcode_action
=immediate
11488 # We cannot hardcode anything, or else we can only hardcode existing
11490 hardcode_action
=unsupported
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11493 $as_echo "$hardcode_action" >&6; }
11495 if test "$hardcode_action" = relink ||
11496 test "$inherit_rpath" = yes; then
11497 # Fast installation is not supported
11498 enable_fast_install
=no
11499 elif test "$shlibpath_overrides_runpath" = yes ||
11500 test "$enable_shared" = no
; then
11501 # Fast installation is not necessary
11502 enable_fast_install
=needless
11510 if test "x$enable_dlopen" != xyes
; then
11511 enable_dlopen
=unknown
11512 enable_dlopen_self
=unknown
11513 enable_dlopen_self_static
=unknown
11520 lt_cv_dlopen
="load_add_on"
11522 lt_cv_dlopen_self
=yes
11525 mingw
* | pw32
* | cegcc
*)
11526 lt_cv_dlopen
="LoadLibrary"
11531 lt_cv_dlopen
="dlopen"
11536 # if libdl is installed we need to link against it
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11538 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11539 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11540 $as_echo_n "(cached) " >&6
11542 ac_check_lib_save_LIBS
=$LIBS
11544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11562 if ac_fn_c_try_link
"$LINENO"; then :
11563 ac_cv_lib_dl_dlopen
=yes
11565 ac_cv_lib_dl_dlopen
=no
11567 rm -f core conftest.err conftest.
$ac_objext \
11568 conftest
$ac_exeext conftest.
$ac_ext
11569 LIBS
=$ac_check_lib_save_LIBS
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11572 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11573 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11574 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11577 lt_cv_dlopen
="dyld"
11579 lt_cv_dlopen_self
=yes
11586 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11587 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11588 lt_cv_dlopen
="shl_load"
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11591 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11592 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11593 $as_echo_n "(cached) " >&6
11595 ac_check_lib_save_LIBS
=$LIBS
11597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11610 return shl_load ();
11615 if ac_fn_c_try_link
"$LINENO"; then :
11616 ac_cv_lib_dld_shl_load
=yes
11618 ac_cv_lib_dld_shl_load
=no
11620 rm -f core conftest.err conftest.
$ac_objext \
11621 conftest
$ac_exeext conftest.
$ac_ext
11622 LIBS
=$ac_check_lib_save_LIBS
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11625 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11626 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11627 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11629 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11630 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11631 lt_cv_dlopen
="dlopen"
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11634 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11635 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11636 $as_echo_n "(cached) " >&6
11638 ac_check_lib_save_LIBS
=$LIBS
11640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11643 /* Override any GCC internal prototype to avoid an error.
11644 Use char because int might match the return type of a GCC
11645 builtin and then its argument prototype would still apply. */
11658 if ac_fn_c_try_link
"$LINENO"; then :
11659 ac_cv_lib_dl_dlopen
=yes
11661 ac_cv_lib_dl_dlopen
=no
11663 rm -f core conftest.err conftest.
$ac_objext \
11664 conftest
$ac_exeext conftest.
$ac_ext
11665 LIBS
=$ac_check_lib_save_LIBS
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11668 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11669 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11670 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11673 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11674 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11675 $as_echo_n "(cached) " >&6
11677 ac_check_lib_save_LIBS
=$LIBS
11678 LIBS
="-lsvld $LIBS"
11679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11697 if ac_fn_c_try_link
"$LINENO"; then :
11698 ac_cv_lib_svld_dlopen
=yes
11700 ac_cv_lib_svld_dlopen
=no
11702 rm -f core conftest.err conftest.
$ac_objext \
11703 conftest
$ac_exeext conftest.
$ac_ext
11704 LIBS
=$ac_check_lib_save_LIBS
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11707 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11708 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11709 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11712 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11713 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11714 $as_echo_n "(cached) " >&6
11716 ac_check_lib_save_LIBS
=$LIBS
11718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11721 /* Override any GCC internal prototype to avoid an error.
11722 Use char because int might match the return type of a GCC
11723 builtin and then its argument prototype would still apply. */
11731 return dld_link ();
11736 if ac_fn_c_try_link
"$LINENO"; then :
11737 ac_cv_lib_dld_dld_link
=yes
11739 ac_cv_lib_dld_dld_link
=no
11741 rm -f core conftest.err conftest.
$ac_objext \
11742 conftest
$ac_exeext conftest.
$ac_ext
11743 LIBS
=$ac_check_lib_save_LIBS
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11746 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11747 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11748 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11769 if test "x$lt_cv_dlopen" != xno
; then
11775 case $lt_cv_dlopen in
11777 save_CPPFLAGS
="$CPPFLAGS"
11778 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11780 save_LDFLAGS
="$LDFLAGS"
11781 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11784 LIBS
="$lt_cv_dlopen_libs $LIBS"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11787 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11788 if test "${lt_cv_dlopen_self+set}" = set; then :
11789 $as_echo_n "(cached) " >&6
11791 if test "$cross_compiling" = yes; then :
11792 lt_cv_dlopen_self
=cross
11794 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11795 lt_status
=$lt_dlunknown
11796 cat > conftest.
$ac_ext <<_LT_EOF
11797 #line 11797 "configure"
11798 #include "confdefs.h"
11807 # define LT_DLGLOBAL RTLD_GLOBAL
11810 # define LT_DLGLOBAL DL_GLOBAL
11812 # define LT_DLGLOBAL 0
11816 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11817 find out it does not work in some platform. */
11818 #ifndef LT_DLLAZY_OR_NOW
11820 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11823 # define LT_DLLAZY_OR_NOW DL_LAZY
11826 # define LT_DLLAZY_OR_NOW RTLD_NOW
11829 # define LT_DLLAZY_OR_NOW DL_NOW
11831 # define LT_DLLAZY_OR_NOW 0
11838 /* When -fvisbility=hidden is used, assume the code has been annotated
11839 correspondingly for the symbols needed. */
11840 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11841 void fnord () __attribute__((visibility("default")));
11844 void fnord () { int i=42; }
11847 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11848 int status = $lt_dlunknown;
11852 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11855 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11856 else puts (dlerror ());
11858 /* dlclose (self); */
11866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11867 (eval $ac_link) 2>&5
11869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11870 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11871 (.
/conftest
; exit; ) >&5 2>/dev
/null
11873 case x
$lt_status in
11874 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11875 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11876 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11879 # compilation failed
11880 lt_cv_dlopen_self
=no
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11888 $as_echo "$lt_cv_dlopen_self" >&6; }
11890 if test "x$lt_cv_dlopen_self" = xyes
; then
11891 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11893 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11894 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11895 $as_echo_n "(cached) " >&6
11897 if test "$cross_compiling" = yes; then :
11898 lt_cv_dlopen_self_static
=cross
11900 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11901 lt_status
=$lt_dlunknown
11902 cat > conftest.
$ac_ext <<_LT_EOF
11903 #line 11903 "configure"
11904 #include "confdefs.h"
11913 # define LT_DLGLOBAL RTLD_GLOBAL
11916 # define LT_DLGLOBAL DL_GLOBAL
11918 # define LT_DLGLOBAL 0
11922 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11923 find out it does not work in some platform. */
11924 #ifndef LT_DLLAZY_OR_NOW
11926 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11929 # define LT_DLLAZY_OR_NOW DL_LAZY
11932 # define LT_DLLAZY_OR_NOW RTLD_NOW
11935 # define LT_DLLAZY_OR_NOW DL_NOW
11937 # define LT_DLLAZY_OR_NOW 0
11944 /* When -fvisbility=hidden is used, assume the code has been annotated
11945 correspondingly for the symbols needed. */
11946 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11947 void fnord () __attribute__((visibility("default")));
11950 void fnord () { int i=42; }
11953 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11954 int status = $lt_dlunknown;
11958 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11961 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11962 else puts (dlerror ());
11964 /* dlclose (self); */
11972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11973 (eval $ac_link) 2>&5
11975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11976 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11977 (.
/conftest
; exit; ) >&5 2>/dev
/null
11979 case x
$lt_status in
11980 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11981 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11982 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11985 # compilation failed
11986 lt_cv_dlopen_self_static
=no
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11994 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11997 CPPFLAGS
="$save_CPPFLAGS"
11998 LDFLAGS
="$save_LDFLAGS"
12003 case $lt_cv_dlopen_self in
12004 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12005 *) enable_dlopen_self
=unknown
;;
12008 case $lt_cv_dlopen_self_static in
12009 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12010 *) enable_dlopen_self_static
=unknown
;;
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12033 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12034 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12035 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12036 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12038 $as_echo "yes" >&6; }
12040 # FIXME - insert some real tests, host_os isn't really good enough
12043 if test -n "$STRIP" ; then
12044 striplib
="$STRIP -x"
12045 old_striplib
="$STRIP -S"
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12047 $as_echo "yes" >&6; }
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12050 $as_echo "no" >&6; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055 $as_echo "no" >&6; }
12071 # Report which library types will actually be built
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12073 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12075 $as_echo "$can_build_shared" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12078 $as_echo_n "checking whether to build shared libraries... " >&6; }
12079 test "$can_build_shared" = "no" && enable_shared
=no
12081 # On AIX, shared libraries and static libraries use the same namespace, and
12082 # are all built from PIC.
12085 test "$enable_shared" = yes && enable_static
=no
12086 if test -n "$RANLIB"; then
12087 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12088 postinstall_cmds
='$RANLIB $lib'
12093 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12094 test "$enable_shared" = yes && enable_static
=no
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12099 $as_echo "$enable_shared" >&6; }
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12102 $as_echo_n "checking whether to build static libraries... " >&6; }
12103 # Make sure either enable_shared or enable_static is yes.
12104 test "$enable_shared" = yes || enable_static
=yes
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12106 $as_echo "$enable_static" >&6; }
12113 ac_cpp
='$CPP $CPPFLAGS'
12114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12120 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12121 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12122 (test "X$CXX" != "Xg++"))) ; then
12124 ac_cpp
='$CXXCPP $CPPFLAGS'
12125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12129 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12130 if test -z "$CXXCPP"; then
12131 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12132 $as_echo_n "(cached) " >&6
12134 # Double quotes because CXXCPP needs to be expanded
12135 for CXXCPP
in "$CXX -E" "/lib/cpp"
12137 ac_preproc_ok
=false
12138 for ac_cxx_preproc_warn_flag
in '' yes
12140 # Use a header file that comes with gcc, so configuring glibc
12141 # with a fresh cross-compiler works.
12142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12143 # <limits.h> exists even on freestanding compilers.
12144 # On the NeXT, cc -E runs the code through the compiler's parser,
12145 # not just through cpp. "Syntax error" is here to catch this case.
12146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 # include <limits.h>
12151 # include <assert.h>
12155 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12158 # Broken: fails on valid input.
12161 rm -f conftest.err conftest.
$ac_ext
12163 # OK, works on sane cases. Now check whether nonexistent headers
12164 # can be detected and how.
12165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12167 #include <ac_nonexistent.h>
12169 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12170 # Broken: success on invalid input.
12173 # Passes both tests.
12177 rm -f conftest.err conftest.
$ac_ext
12180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12181 rm -f conftest.err conftest.
$ac_ext
12182 if $ac_preproc_ok; then :
12187 ac_cv_prog_CXXCPP
=$CXXCPP
12190 CXXCPP
=$ac_cv_prog_CXXCPP
12192 ac_cv_prog_CXXCPP
=$CXXCPP
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12195 $as_echo "$CXXCPP" >&6; }
12196 ac_preproc_ok
=false
12197 for ac_cxx_preproc_warn_flag
in '' yes
12199 # Use a header file that comes with gcc, so configuring glibc
12200 # with a fresh cross-compiler works.
12201 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12202 # <limits.h> exists even on freestanding compilers.
12203 # On the NeXT, cc -E runs the code through the compiler's parser,
12204 # not just through cpp. "Syntax error" is here to catch this case.
12205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 # include <limits.h>
12210 # include <assert.h>
12214 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12217 # Broken: fails on valid input.
12220 rm -f conftest.err conftest.
$ac_ext
12222 # OK, works on sane cases. Now check whether nonexistent headers
12223 # can be detected and how.
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 #include <ac_nonexistent.h>
12228 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12229 # Broken: success on invalid input.
12232 # Passes both tests.
12236 rm -f conftest.err conftest.
$ac_ext
12239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12240 rm -f conftest.err conftest.
$ac_ext
12241 if $ac_preproc_ok; then :
12244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12246 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12247 See \`config.log' for more details." "$LINENO" 5; }
12251 ac_cpp
='$CPP $CPPFLAGS'
12252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12257 _lt_caught_CXX_error
=yes
12261 ac_cpp
='$CXXCPP $CPPFLAGS'
12262 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12263 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12264 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12266 archive_cmds_need_lc_CXX
=no
12267 allow_undefined_flag_CXX
=
12268 always_export_symbols_CXX
=no
12269 archive_expsym_cmds_CXX
=
12270 compiler_needs_object_CXX
=no
12271 export_dynamic_flag_spec_CXX
=
12272 hardcode_direct_CXX
=no
12273 hardcode_direct_absolute_CXX
=no
12274 hardcode_libdir_flag_spec_CXX
=
12275 hardcode_libdir_flag_spec_ld_CXX
=
12276 hardcode_libdir_separator_CXX
=
12277 hardcode_minus_L_CXX
=no
12278 hardcode_shlibpath_var_CXX
=unsupported
12279 hardcode_automatic_CXX
=no
12280 inherit_rpath_CXX
=no
12282 module_expsym_cmds_CXX
=
12283 link_all_deplibs_CXX
=unknown
12284 old_archive_cmds_CXX
=$old_archive_cmds
12285 reload_flag_CXX
=$reload_flag
12286 reload_cmds_CXX
=$reload_cmds
12287 no_undefined_flag_CXX
=
12288 whole_archive_flag_spec_CXX
=
12289 enable_shared_with_static_runtimes_CXX
=no
12291 # Source file extension for C++ test sources.
12294 # Object file extension for compiled C++ test sources.
12298 # No sense in running all these tests if we already determined that
12299 # the CXX compiler isn't working. Some variables (like enable_shared)
12300 # are currently assumed to apply to all compilers on this platform,
12301 # and will be corrupted by setting them based on a non-working compiler.
12302 if test "$_lt_caught_CXX_error" != yes; then
12303 # Code to be used in simple compile tests
12304 lt_simple_compile_test_code
="int some_variable = 0;"
12306 # Code to be used in simple link tests
12307 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12309 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12316 # If no C compiler was specified, use CC.
12319 # If no C compiler flags were specified, use CFLAGS.
12320 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12322 # Allow CC to be a program name with arguments.
12326 # save warnings/boilerplate of simple test code
12327 ac_outfile
=conftest.
$ac_objext
12328 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12329 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12330 _lt_compiler_boilerplate
=`cat conftest.err`
12333 ac_outfile
=conftest.
$ac_objext
12334 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12335 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12336 _lt_linker_boilerplate
=`cat conftest.err`
12340 # Allow CC to be a program name with arguments.
12345 lt_save_with_gnu_ld
=$with_gnu_ld
12346 lt_save_path_LD
=$lt_cv_path_LD
12347 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12348 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12350 $as_unset lt_cv_prog_gnu_ld
12352 if test -n "${lt_cv_path_LDCXX+set}"; then
12353 lt_cv_path_LD
=$lt_cv_path_LDCXX
12355 $as_unset lt_cv_path_LD
12357 test -z "${LDCXX+set}" || LD
=$LDCXX
12361 for cc_temp
in $compiler""; do
12363 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12364 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12369 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12372 if test -n "$compiler"; then
12373 # We don't want -fno-exception when compiling C++ code, so set the
12374 # no_builtin_flag separately
12375 if test "$GXX" = yes; then
12376 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12378 lt_prog_compiler_no_builtin_flag_CXX
=
12381 if test "$GXX" = yes; then
12382 # Set up default GNU C++ configuration
12386 # Check whether --with-gnu-ld was given.
12387 if test "${with_gnu_ld+set}" = set; then :
12388 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12394 if test "$GCC" = yes; then
12395 # Check if gcc -print-prog-name=ld gives a path.
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12397 $as_echo_n "checking for ld used by $CC... " >&6; }
12400 # gcc leaves a trailing carriage return which upsets mingw
12401 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12403 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12406 # Accept absolute paths.
12408 re_direlt
='/[^/][^/]*/\.\./'
12409 # Canonicalize the pathname of ld
12410 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12411 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12412 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12414 test -z "$LD" && LD
="$ac_prog"
12417 # If it fails, then pretend we aren't using GCC.
12421 # If it is relative, then search for the first ld in PATH.
12422 with_gnu_ld
=unknown
12425 elif test "$with_gnu_ld" = yes; then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12427 $as_echo_n "checking for GNU ld... " >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12430 $as_echo_n "checking for non-GNU ld... " >&6; }
12432 if test "${lt_cv_path_LD+set}" = set; then :
12433 $as_echo_n "(cached) " >&6
12435 if test -z "$LD"; then
12436 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12437 for ac_dir
in $PATH; do
12439 test -z "$ac_dir" && ac_dir
=.
12440 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12441 lt_cv_path_LD
="$ac_dir/$ac_prog"
12442 # Check to see if the program is GNU ld. I'd rather use --version,
12443 # but apparently some variants of GNU ld only accept -v.
12444 # Break only if it was the GNU/non-GNU ld that we prefer.
12445 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12446 *GNU
* |
*'with BFD'*)
12447 test "$with_gnu_ld" != no
&& break
12450 test "$with_gnu_ld" != yes && break
12457 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12461 LD
="$lt_cv_path_LD"
12462 if test -n "$LD"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12464 $as_echo "$LD" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12469 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12471 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12472 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12473 $as_echo_n "(cached) " >&6
12475 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12476 case `$LD -v 2>&1 </dev/null` in
12477 *GNU
* |
*'with BFD'*)
12478 lt_cv_prog_gnu_ld
=yes
12481 lt_cv_prog_gnu_ld
=no
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12486 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12487 with_gnu_ld
=$lt_cv_prog_gnu_ld
12495 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12496 # archiving commands below assume that GNU ld is being used.
12497 if test "$with_gnu_ld" = yes; then
12498 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12499 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12501 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12502 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12504 # If archive_cmds runs LD, not CC, wlarc should be empty
12505 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12506 # investigate it a little bit more. (MM)
12509 # ancient GNU ld didn't support --whole-archive et. al.
12510 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12511 $GREP 'no-whole-archive' > /dev
/null
; then
12512 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12514 whole_archive_flag_spec_CXX
=
12520 # A generic and very simple default shared library creation
12521 # command for GNU C++ for the case where it uses the native
12522 # linker, instead of GNU ld. If possible, this setting should
12523 # overridden to take advantage of the native linker features on
12524 # the platform it is being used on.
12525 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12528 # Commands to make compiler produce verbose output that lists
12529 # what "hidden" libraries, object files and flags are used when
12530 # linking a shared library.
12531 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12539 # PORTME: fill in a description of your system's C++ link characteristics
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12541 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12545 # FIXME: insert proper C++ library support
12549 if test "$host_cpu" = ia64
; then
12550 # On IA64, the linker does run time linking by default, so we don't
12551 # have to do anything special.
12552 aix_use_runtimelinking
=no
12553 exp_sym_flag
='-Bexport'
12556 aix_use_runtimelinking
=no
12558 # Test if we are trying to use run time linking or normal
12559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12560 # need to do runtime linking.
12561 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12562 for ld_flag
in $LDFLAGS; do
12565 aix_use_runtimelinking
=yes
12573 exp_sym_flag
='-bexport'
12574 no_entry_flag
='-bnoentry'
12577 # When large executables or shared objects are built, AIX ld can
12578 # have problems creating the table of contents. If linking a library
12579 # or program results in "error TOC overflow" add -mminimal-toc to
12580 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12581 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12583 archive_cmds_CXX
=''
12584 hardcode_direct_CXX
=yes
12585 hardcode_direct_absolute_CXX
=yes
12586 hardcode_libdir_separator_CXX
=':'
12587 link_all_deplibs_CXX
=yes
12588 file_list_spec_CXX
='${wl}-f,'
12590 if test "$GXX" = yes; then
12591 case $host_os in aix4.
[012]|aix4.
[012].
*)
12592 # We only want to do this on AIX 4.2 and lower, the check
12593 # below for broken collect2 doesn't work under 4.3+
12594 collect2name
=`${CC} -print-prog-name=collect2`
12595 if test -f "$collect2name" &&
12596 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12598 # We have reworked collect2
12601 # We have old collect2
12602 hardcode_direct_CXX
=unsupported
12603 # It fails to find uninstalled libraries when the uninstalled
12604 # path is not listed in the libpath. Setting hardcode_minus_L
12605 # to unsupported forces relinking
12606 hardcode_minus_L_CXX
=yes
12607 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12608 hardcode_libdir_separator_CXX
=
12611 shared_flag
='-shared'
12612 if test "$aix_use_runtimelinking" = yes; then
12613 shared_flag
="$shared_flag "'${wl}-G'
12617 if test "$host_cpu" = ia64
; then
12618 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12619 # chokes on -Wl,-G. The following line is correct:
12622 if test "$aix_use_runtimelinking" = yes; then
12623 shared_flag
='${wl}-G'
12625 shared_flag
='${wl}-bM:SRE'
12630 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12631 # It seems that -bexpall does not export symbols beginning with
12632 # underscore (_), so it is better to generate a list of symbols to
12634 always_export_symbols_CXX
=yes
12635 if test "$aix_use_runtimelinking" = yes; then
12636 # Warning - without using the other runtime loading flags (-brtl),
12637 # -berok will link without error, but may produce a broken library.
12638 allow_undefined_flag_CXX
='-berok'
12639 # Determine the default libpath from the value encoded in an empty
12641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12652 if ac_fn_cxx_try_link
"$LINENO"; then :
12654 lt_aix_libpath_sed
='
12655 /Import File Strings/,/^$/ {
12661 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12662 # Check for a 64-bit object if we didn't find anything.
12663 if test -z "$aix_libpath"; then
12664 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12667 rm -f core conftest.err conftest.
$ac_objext \
12668 conftest
$ac_exeext conftest.
$ac_ext
12669 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12671 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12673 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"
12675 if test "$host_cpu" = ia64
; then
12676 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12677 allow_undefined_flag_CXX
="-z nodefs"
12678 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"
12680 # Determine the default libpath from the value encoded in an
12681 # empty executable.
12682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12693 if ac_fn_cxx_try_link
"$LINENO"; then :
12695 lt_aix_libpath_sed
='
12696 /Import File Strings/,/^$/ {
12702 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12703 # Check for a 64-bit object if we didn't find anything.
12704 if test -z "$aix_libpath"; then
12705 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12708 rm -f core conftest.err conftest.
$ac_objext \
12709 conftest
$ac_exeext conftest.
$ac_ext
12710 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12712 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12713 # Warning - without using the other run time loading flags,
12714 # -berok will link without error, but may produce a broken library.
12715 no_undefined_flag_CXX
=' ${wl}-bernotok'
12716 allow_undefined_flag_CXX
=' ${wl}-berok'
12717 if test "$with_gnu_ld" = yes; then
12718 # We only use this code for GNU lds that support --whole-archive.
12719 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12721 # Exported symbols can be pulled into shared objects from archives
12722 whole_archive_flag_spec_CXX
='$convenience'
12724 archive_cmds_need_lc_CXX
=yes
12725 # This is similar to how AIX traditionally builds its shared
12727 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'
12733 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12734 allow_undefined_flag_CXX
=unsupported
12735 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12736 # support --undefined. This deserves some investigation. FIXME
12737 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12744 case $cc_basename in
12746 # FIXME: insert proper C++ library support
12752 cygwin
* | mingw
* | pw32
* | cegcc
*)
12753 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12754 # as there is no search path for DLLs.
12755 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12756 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12757 allow_undefined_flag_CXX
=unsupported
12758 always_export_symbols_CXX
=no
12759 enable_shared_with_static_runtimes_CXX
=yes
12761 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12762 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'
12763 # If the export-symbols file already is a .def file (1st line
12764 # is EXPORTS), use it as is; otherwise, prepend...
12765 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12766 cp $export_symbols $output_objdir/$soname.def;
12768 echo EXPORTS > $output_objdir/$soname.def;
12769 cat $export_symbols >> $output_objdir/$soname.def;
12771 $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'
12776 darwin
* | rhapsody
*)
12779 archive_cmds_need_lc_CXX
=no
12780 hardcode_direct_CXX
=no
12781 hardcode_automatic_CXX
=yes
12782 hardcode_shlibpath_var_CXX
=unsupported
12783 if test "$lt_cv_ld_force_load" = "yes"; then
12784 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\"`'
12786 whole_archive_flag_spec_CXX
=''
12788 link_all_deplibs_CXX
=yes
12789 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12790 case $cc_basename in
12791 ifort
*) _lt_dar_can_shared
=yes ;;
12792 *) _lt_dar_can_shared
=$GCC ;;
12794 if test "$_lt_dar_can_shared" = "yes"; then
12795 output_verbose_link_cmd
=func_echo_all
12796 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}"
12797 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12798 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}"
12799 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}"
12800 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12801 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}"
12802 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}"
12812 case $cc_basename in
12814 # FIXME: insert proper C++ library support
12818 # Green Hills C++ Compiler
12819 # FIXME: insert proper C++ library support
12823 # FIXME: insert proper C++ library support
12830 # C++ shared libraries reported to be fairly broken before
12836 archive_cmds_need_lc_CXX
=no
12839 freebsd
* | dragonfly
*)
12840 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12849 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12850 link_all_deplibs_CXX
=yes
12854 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12855 hardcode_libdir_separator_CXX
=:
12856 export_dynamic_flag_spec_CXX
='${wl}-E'
12857 hardcode_direct_CXX
=yes
12858 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12859 # but as the default
12860 # location of the library.
12862 case $cc_basename in
12864 # FIXME: insert proper C++ library support
12868 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'
12869 # Commands to make compiler produce verbose output that lists
12870 # what "hidden" libraries, object files and flags are used when
12871 # linking a shared library.
12873 # There doesn't appear to be a way to prevent this compiler from
12874 # explicitly linking system object files so we need to strip them
12875 # from the output so that they don't get included in the library
12877 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"'
12880 if test "$GXX" = yes; then
12881 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'
12883 # FIXME: insert proper C++ library support
12891 if test $with_gnu_ld = no
; then
12892 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12893 hardcode_libdir_separator_CXX
=:
12899 export_dynamic_flag_spec_CXX
='${wl}-E'
12905 hardcode_direct_CXX
=no
12906 hardcode_shlibpath_var_CXX
=no
12909 hardcode_direct_CXX
=yes
12910 hardcode_direct_absolute_CXX
=yes
12911 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12912 # but as the default
12913 # location of the library.
12917 case $cc_basename in
12919 # FIXME: insert proper C++ library support
12925 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12928 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12931 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12934 # Commands to make compiler produce verbose output that lists
12935 # what "hidden" libraries, object files and flags are used when
12936 # linking a shared library.
12938 # There doesn't appear to be a way to prevent this compiler from
12939 # explicitly linking system object files so we need to strip them
12940 # from the output so that they don't get included in the library
12942 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"'
12945 if test "$GXX" = yes; then
12946 if test $with_gnu_ld = no
; then
12949 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12952 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12955 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'
12960 # FIXME: insert proper C++ library support
12968 hardcode_direct_CXX
=no
12969 hardcode_shlibpath_var_CXX
=no
12970 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12971 export_dynamic_flag_spec_CXX
='${wl}-E'
12972 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12973 # Instead, shared libraries are loaded at an image base (0x10000000 by
12974 # default) and relocated if they conflict, which is a slow very memory
12975 # consuming and fragmenting process. To avoid this, we pick a random,
12976 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12977 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12978 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'
12979 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'
12982 case $cc_basename in
12985 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'
12987 # Archives containing C++ object files must be created using
12988 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12989 # necessary to make sure instantiated templates are included
12991 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12994 if test "$GXX" = yes; then
12995 if test "$with_gnu_ld" = no
; then
12996 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'
12998 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'
13001 link_all_deplibs_CXX
=yes
13004 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13005 hardcode_libdir_separator_CXX
=:
13006 inherit_rpath_CXX
=yes
13009 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13010 case $cc_basename in
13012 # Kuck and Associates, Inc. (KAI) C++ Compiler
13014 # KCC will only create a shared library if the output file
13015 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13016 # to its proper name (with version) after linking.
13017 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'
13018 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'
13019 # Commands to make compiler produce verbose output that lists
13020 # what "hidden" libraries, object files and flags are used when
13021 # linking a shared library.
13023 # There doesn't appear to be a way to prevent this compiler from
13024 # explicitly linking system object files so we need to strip them
13025 # from the output so that they don't get included in the library
13027 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"'
13029 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13030 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13032 # Archives containing C++ object files must be created using
13033 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13034 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13039 # version 8.0 and above of icpc choke on multiply defined symbols
13040 # if we add $predep_objects and $postdep_objects, however 7.1 and
13041 # earlier do not add the objects themselves.
13042 case `$CC -V 2>&1` in
13044 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13045 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'
13047 *) # Version 8.0 or newer
13050 ia64
*) tmp_idyn
=' -i_dynamic';;
13052 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13053 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'
13056 archive_cmds_need_lc_CXX
=no
13057 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13058 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13059 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13062 # Portland Group C++ compiler
13064 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13065 prelink_cmds_CXX
='tpldir=Template.dir~
13067 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13068 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13069 old_archive_cmds_CXX
='tpldir=Template.dir~
13071 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13072 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13074 archive_cmds_CXX
='tpldir=Template.dir~
13076 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13077 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13078 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13080 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13081 $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'
13083 *) # Version 6 and above use weak symbols
13084 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13085 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'
13089 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13090 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13091 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'
13095 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13096 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'
13098 runpath_var
=LD_RUN_PATH
13099 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13100 hardcode_libdir_separator_CXX
=:
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13106 # There doesn't appear to be a way to prevent this compiler from
13107 # explicitly linking system object files so we need to strip them
13108 # from the output so that they don't get included in the library
13110 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'
13112 xl
* | mpixl
* | bgxl
*)
13113 # IBM XL 8.0 on PPC, with GNU ld
13114 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13115 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13116 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13117 if test "x$supports_anon_versioning" = xyes
; then
13118 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13119 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13120 echo "local: *; };" >> $output_objdir/$libname.ver~
13121 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13125 case `$CC -V 2>&1 | sed 5q` in
13128 no_undefined_flag_CXX
=' -zdefs'
13129 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13130 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'
13131 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13132 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'
13133 compiler_needs_object_CXX
=yes
13135 # Not sure whether something based on
13136 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13138 output_verbose_link_cmd
='func_echo_all'
13140 # Archives containing C++ object files must be created using
13141 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13142 # necessary to make sure instantiated templates are included
13144 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13152 # FIXME: insert proper C++ library support
13157 # FIXME: insert proper C++ library support
13162 case $cc_basename in
13164 # FIXME: insert proper C++ library support
13168 # FIXME: insert proper C++ library support
13175 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13176 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13178 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13179 hardcode_direct_CXX
=yes
13180 hardcode_shlibpath_var_CXX
=no
13182 # Workaround some broken pre-1.5 toolchains
13183 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13191 # C++ shared libraries are fairly broken
13196 if test -f /usr
/libexec
/ld.so
; then
13197 hardcode_direct_CXX
=yes
13198 hardcode_shlibpath_var_CXX
=no
13199 hardcode_direct_absolute_CXX
=yes
13200 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13201 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13202 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13203 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13204 export_dynamic_flag_spec_CXX
='${wl}-E'
13205 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13207 output_verbose_link_cmd
=func_echo_all
13213 osf3
* | osf4
* | osf5
*)
13214 case $cc_basename in
13216 # Kuck and Associates, Inc. (KAI) C++ Compiler
13218 # KCC will only create a shared library if the output file
13219 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13220 # to its proper name (with version) after linking.
13221 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'
13223 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13224 hardcode_libdir_separator_CXX
=:
13226 # Archives containing C++ object files must be created using
13227 # the KAI C++ compiler.
13229 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13230 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13234 # Rational C++ 2.4.1
13235 # FIXME: insert proper C++ library support
13241 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13242 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'
13243 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13246 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13247 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'
13248 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13249 echo "-hidden">> $lib.exp~
13250 $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~
13252 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13256 hardcode_libdir_separator_CXX
=:
13258 # Commands to make compiler produce verbose output that lists
13259 # what "hidden" libraries, object files and flags are used when
13260 # linking a shared library.
13262 # There doesn't appear to be a way to prevent this compiler from
13263 # explicitly linking system object files so we need to strip them
13264 # from the output so that they don't get included in the library
13266 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"'
13269 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13270 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13273 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'
13276 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'
13280 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13281 hardcode_libdir_separator_CXX
=:
13283 # Commands to make compiler produce verbose output that lists
13284 # what "hidden" libraries, object files and flags are used when
13285 # linking a shared library.
13286 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13289 # FIXME: insert proper C++ library support
13297 # FIXME: insert proper C++ library support
13302 case $cc_basename in
13305 # FIXME: insert proper C++ library support
13310 # FIXME: insert proper C++ library support
13314 # FIXME: insert proper C++ library support
13321 case $cc_basename in
13323 # Sun C++ 4.2, 5.x and Centerline C++
13324 archive_cmds_need_lc_CXX
=yes
13325 no_undefined_flag_CXX
=' -zdefs'
13326 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13327 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13328 $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'
13330 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13331 hardcode_shlibpath_var_CXX
=no
13333 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13335 # The compiler driver will combine and reorder linker options,
13336 # but understands `-z linker_flag'.
13337 # Supported since Solaris 2.6 (maybe 2.5.1?)
13338 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13341 link_all_deplibs_CXX
=yes
13343 output_verbose_link_cmd
='func_echo_all'
13345 # Archives containing C++ object files must be created using
13346 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13347 # necessary to make sure instantiated templates are included
13349 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13352 # Green Hills C++ Compiler
13353 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13355 # The C++ compiler must be used to create the archive.
13356 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13359 # GNU C++ compiler with Solaris linker
13360 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13361 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13362 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13363 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13364 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13365 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13367 # Commands to make compiler produce verbose output that lists
13368 # what "hidden" libraries, object files and flags are used when
13369 # linking a shared library.
13370 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13372 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13374 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13375 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13376 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13378 # Commands to make compiler produce verbose output that lists
13379 # what "hidden" libraries, object files and flags are used when
13380 # linking a shared library.
13381 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13384 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13386 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13388 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13396 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13397 no_undefined_flag_CXX
='${wl}-z,text'
13398 archive_cmds_need_lc_CXX
=no
13399 hardcode_shlibpath_var_CXX
=no
13400 runpath_var
='LD_RUN_PATH'
13402 case $cc_basename in
13404 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13405 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13408 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13409 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13414 sysv5
* | sco3.2v5
* | sco5v6
*)
13415 # Note: We can NOT use -z defs as we might desire, because we do not
13416 # link with -lc, and that would cause any symbols used from libc to
13417 # always be unresolved, which means just about no library would
13418 # ever link correctly. If we're not using GNU ld we use -z text
13419 # though, which does catch some bad symbols but isn't as heavy-handed
13421 no_undefined_flag_CXX
='${wl}-z,text'
13422 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13423 archive_cmds_need_lc_CXX
=no
13424 hardcode_shlibpath_var_CXX
=no
13425 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13426 hardcode_libdir_separator_CXX
=':'
13427 link_all_deplibs_CXX
=yes
13428 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13429 runpath_var
='LD_RUN_PATH'
13431 case $cc_basename in
13433 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13434 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13435 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13436 '"$old_archive_cmds_CXX"
13437 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13438 '"$reload_cmds_CXX"
13441 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13442 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13448 case $cc_basename in
13450 # NonStop-UX NCC 3.20
13451 # FIXME: insert proper C++ library support
13455 # FIXME: insert proper C++ library support
13462 # FIXME: insert proper C++ library support
13467 # FIXME: insert proper C++ library support
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13473 $as_echo "$ld_shlibs_CXX" >&6; }
13474 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13480 ## There is no encapsulation within the following macros, do not change
13481 ## the running order or otherwise move them around unless you know exactly
13482 ## what you are doing...
13483 # Dependencies to place before and after the object being linked:
13484 predep_objects_CXX
=
13485 postdep_objects_CXX
=
13488 compiler_lib_search_path_CXX
=
13490 cat > conftest.
$ac_ext <<_LT_EOF
13494 Foo (void) { a = 0; }
13500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13501 (eval $ac_compile) 2>&5
13503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13504 test $ac_status = 0; }; then
13505 # Parse the compiler output and extract the necessary
13506 # objects, libraries and library flags.
13508 # Sentinel used to keep track of whether or not we are before
13509 # the conftest object file.
13510 pre_test_object_deps_done
=no
13512 for p
in `eval "$output_verbose_link_cmd"`; do
13516 # Some compilers place space between "-{L,R}" and the path.
13517 # Remove the space.
13518 if test $p = "-L" ||
13519 test $p = "-R"; then
13526 if test "$pre_test_object_deps_done" = no
; then
13529 # Internal compiler library paths should come after those
13530 # provided the user. The postdeps already come after the
13531 # user supplied libs so there is no need to process them.
13532 if test -z "$compiler_lib_search_path_CXX"; then
13533 compiler_lib_search_path_CXX
="${prev}${p}"
13535 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13538 # The "-l" case would never come before the object being
13539 # linked, so don't bother handling this case.
13542 if test -z "$postdeps_CXX"; then
13543 postdeps_CXX
="${prev}${p}"
13545 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13551 # This assumes that the test object file only shows up
13552 # once in the compiler output.
13553 if test "$p" = "conftest.$objext"; then
13554 pre_test_object_deps_done
=yes
13558 if test "$pre_test_object_deps_done" = no
; then
13559 if test -z "$predep_objects_CXX"; then
13560 predep_objects_CXX
="$p"
13562 predep_objects_CXX
="$predep_objects_CXX $p"
13565 if test -z "$postdep_objects_CXX"; then
13566 postdep_objects_CXX
="$p"
13568 postdep_objects_CXX
="$postdep_objects_CXX $p"
13573 *) ;; # Ignore the rest.
13581 echo "libtool.m4: error: problem compiling CXX test program"
13584 $RM -f confest.
$objext
13586 # PORTME: override above test on systems where it is broken
13589 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13590 # hack all around it, let's just trust "g++" to DTRT.
13591 predep_objects_CXX
=
13592 postdep_objects_CXX
=
13597 case `$CC -V 2>&1 | sed 5q` in
13601 # The more standards-conforming stlport4 library is
13602 # incompatible with the Cstd library. Avoid specifying
13603 # it if it's in CXXFLAGS. Ignore libCrun as
13604 # -library=stlport4 depends on it.
13605 case " $CXX $CXXFLAGS " in
13606 *" -library=stlport4 "*)
13607 solaris_use_stlport4
=yes
13611 if test "$solaris_use_stlport4" != yes; then
13612 postdeps_CXX
='-library=Cstd -library=Crun'
13619 case $cc_basename in
13621 # The more standards-conforming stlport4 library is
13622 # incompatible with the Cstd library. Avoid specifying
13623 # it if it's in CXXFLAGS. Ignore libCrun as
13624 # -library=stlport4 depends on it.
13625 case " $CXX $CXXFLAGS " in
13626 *" -library=stlport4 "*)
13627 solaris_use_stlport4
=yes
13631 # Adding this requires a known-good setup of shared libraries for
13632 # Sun compiler versions before 5.6, else PIC objects from an old
13633 # archive will be linked into the output, leading to subtle bugs.
13634 if test "$solaris_use_stlport4" != yes; then
13635 postdeps_CXX
='-library=Cstd -library=Crun'
13643 case " $postdeps_CXX " in
13644 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13646 compiler_lib_search_dirs_CXX
=
13647 if test -n "${compiler_lib_search_path_CXX}"; then
13648 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13681 lt_prog_compiler_wl_CXX
=
13682 lt_prog_compiler_pic_CXX
=
13683 lt_prog_compiler_static_CXX
=
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13686 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13688 # C++ specific cases for pic, static, wl, etc.
13689 if test "$GXX" = yes; then
13690 lt_prog_compiler_wl_CXX
='-Wl,'
13691 lt_prog_compiler_static_CXX
='-static'
13695 # All AIX code is PIC.
13696 if test "$host_cpu" = ia64
; then
13697 # AIX 5 now supports IA64 processor
13698 lt_prog_compiler_static_CXX
='-Bstatic'
13700 lt_prog_compiler_pic_CXX
='-fPIC'
13706 # see comment about AmigaOS4 .so support
13707 lt_prog_compiler_pic_CXX
='-fPIC'
13710 # FIXME: we need at least 68020 code to build shared libraries, but
13711 # adding the `-m68020' flag to GCC prevents building anything better,
13713 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13718 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13719 # PIC is the default for these OSes.
13721 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13722 # This hack is so that the source file can tell whether it is being
13723 # built for inclusion in a dll (and should export symbols for example).
13724 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13725 # (--disable-auto-import) libraries
13726 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13728 darwin
* | rhapsody
*)
13729 # PIC is the default on this platform
13730 # Common symbols not allowed in MH_DYLIB files
13731 lt_prog_compiler_pic_CXX
='-fno-common'
13734 # DJGPP does not support shared libraries at all
13735 lt_prog_compiler_pic_CXX
=
13738 # PIC is the default for Haiku.
13739 # The "-static" flag exists, but is broken.
13740 lt_prog_compiler_static_CXX
=
13743 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13744 # Instead, we relocate shared libraries at runtime.
13747 if test -d /usr
/nec
; then
13748 lt_prog_compiler_pic_CXX
=-Kconform_pic
13752 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13753 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13754 # sets the default TLS model and affects inlining.
13759 lt_prog_compiler_pic_CXX
='-fPIC'
13764 # QNX uses GNU C++, but need to define -shared option too, otherwise
13765 # it will coredump.
13766 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13769 lt_prog_compiler_pic_CXX
='-fPIC'
13775 # All AIX code is PIC.
13776 if test "$host_cpu" = ia64
; then
13777 # AIX 5 now supports IA64 processor
13778 lt_prog_compiler_static_CXX
='-Bstatic'
13780 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13784 case $cc_basename in
13786 # Green Hills C++ Compiler
13787 # _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"
13792 case $cc_basename in
13794 lt_prog_compiler_pic_CXX
='-KPIC'
13797 # Green Hills C++ Compiler
13798 lt_prog_compiler_pic_CXX
='-pic'
13804 freebsd
* | dragonfly
*)
13805 # FreeBSD uses GNU C++
13807 hpux9
* | hpux10
* | hpux11
*)
13808 case $cc_basename in
13810 lt_prog_compiler_wl_CXX
='-Wl,'
13811 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13812 if test "$host_cpu" != ia64
; then
13813 lt_prog_compiler_pic_CXX
='+Z'
13817 lt_prog_compiler_wl_CXX
='-Wl,'
13818 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13824 lt_prog_compiler_pic_CXX
='+Z'
13833 # This is c89, which is MS Visual C++ (no shared libs)
13834 # Anyone wants to do a port?
13836 irix5
* | irix6
* | nonstopux
*)
13837 case $cc_basename in
13839 lt_prog_compiler_wl_CXX
='-Wl,'
13840 lt_prog_compiler_static_CXX
='-non_shared'
13841 # CC pic flag -KPIC is the default.
13847 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13848 case $cc_basename in
13851 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13852 lt_prog_compiler_pic_CXX
='-fPIC'
13855 # old Intel C++ for x86_64 which still supported -KPIC.
13856 lt_prog_compiler_wl_CXX
='-Wl,'
13857 lt_prog_compiler_pic_CXX
='-KPIC'
13858 lt_prog_compiler_static_CXX
='-static'
13861 # Intel C++, used to be incompatible with GCC.
13862 # ICC 10 doesn't accept -KPIC any more.
13863 lt_prog_compiler_wl_CXX
='-Wl,'
13864 lt_prog_compiler_pic_CXX
='-fPIC'
13865 lt_prog_compiler_static_CXX
='-static'
13868 # Portland Group C++ compiler
13869 lt_prog_compiler_wl_CXX
='-Wl,'
13870 lt_prog_compiler_pic_CXX
='-fpic'
13871 lt_prog_compiler_static_CXX
='-Bstatic'
13875 # Make sure the PIC flag is empty. It appears that all Alpha
13876 # Linux and Compaq Tru64 Unix objects are PIC.
13877 lt_prog_compiler_pic_CXX
=
13878 lt_prog_compiler_static_CXX
='-non_shared'
13880 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13881 # IBM XL 8.0, 9.0 on PPC and BlueGene
13882 lt_prog_compiler_wl_CXX
='-Wl,'
13883 lt_prog_compiler_pic_CXX
='-qpic'
13884 lt_prog_compiler_static_CXX
='-qstaticlink'
13887 case `$CC -V 2>&1 | sed 5q` in
13890 lt_prog_compiler_pic_CXX
='-KPIC'
13891 lt_prog_compiler_static_CXX
='-Bstatic'
13892 lt_prog_compiler_wl_CXX
='-Qoption ld '
13903 case $cc_basename in
13905 lt_prog_compiler_pic_CXX
='-W c,exportall'
13914 # QNX uses GNU C++, but need to define -shared option too, otherwise
13915 # it will coredump.
13916 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13918 osf3
* | osf4
* | osf5
*)
13919 case $cc_basename in
13921 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13924 # Rational C++ 2.4.1
13925 lt_prog_compiler_pic_CXX
='-pic'
13928 # Digital/Compaq C++
13929 lt_prog_compiler_wl_CXX
='-Wl,'
13930 # Make sure the PIC flag is empty. It appears that all Alpha
13931 # Linux and Compaq Tru64 Unix objects are PIC.
13932 lt_prog_compiler_pic_CXX
=
13933 lt_prog_compiler_static_CXX
='-non_shared'
13942 case $cc_basename in
13944 # Sun C++ 4.2, 5.x and Centerline C++
13945 lt_prog_compiler_pic_CXX
='-KPIC'
13946 lt_prog_compiler_static_CXX
='-Bstatic'
13947 lt_prog_compiler_wl_CXX
='-Qoption ld '
13950 # Green Hills C++ Compiler
13951 lt_prog_compiler_pic_CXX
='-PIC'
13958 case $cc_basename in
13961 lt_prog_compiler_pic_CXX
='-pic'
13962 lt_prog_compiler_static_CXX
='-Bstatic'
13966 lt_prog_compiler_pic_CXX
='-pic'
13972 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13973 case $cc_basename in
13975 lt_prog_compiler_wl_CXX
='-Wl,'
13976 lt_prog_compiler_pic_CXX
='-KPIC'
13977 lt_prog_compiler_static_CXX
='-Bstatic'
13982 case $cc_basename in
13984 # NonStop-UX NCC 3.20
13985 lt_prog_compiler_pic_CXX
='-KPIC'
13994 lt_prog_compiler_can_build_shared_CXX
=no
14000 # For platforms which do not support PIC, -DPIC is meaningless:
14002 lt_prog_compiler_pic_CXX
=
14005 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14009 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14014 # Check to make sure the PIC flag actually works.
14016 if test -n "$lt_prog_compiler_pic_CXX"; then
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14018 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14019 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14020 $as_echo_n "(cached) " >&6
14022 lt_cv_prog_compiler_pic_works_CXX
=no
14023 ac_outfile
=conftest.
$ac_objext
14024 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14025 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14026 # Insert the option either (1) after the last *FLAGS variable, or
14027 # (2) before a word containing "conftest.", or (3) at the end.
14028 # Note that $ac_compile itself does not contain backslashes and begins
14029 # with a dollar sign (not a hyphen), so the echo should work correctly.
14030 # The option is referenced via a variable to avoid confusing sed.
14031 lt_compile
=`echo "$ac_compile" | $SED \
14032 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14033 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14034 -e 's:$: $lt_compiler_flag:'`
14035 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14036 (eval "$lt_compile" 2>conftest.err
)
14038 cat conftest.err
>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 if (exit $ac_status) && test -s "$ac_outfile"; then
14041 # The compiler can only warn and ignore the option if not recognized
14042 # So say no if there are warnings other than the usual output.
14043 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14044 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14045 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14046 lt_cv_prog_compiler_pic_works_CXX
=yes
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14053 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14055 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14056 case $lt_prog_compiler_pic_CXX in
14058 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14061 lt_prog_compiler_pic_CXX
=
14062 lt_prog_compiler_can_build_shared_CXX
=no
14070 # Check to make sure the static flag actually works.
14072 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14074 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14075 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14076 $as_echo_n "(cached) " >&6
14078 lt_cv_prog_compiler_static_works_CXX
=no
14079 save_LDFLAGS
="$LDFLAGS"
14080 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14081 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14082 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14083 # The linker can only warn and ignore the option if not recognized
14084 # So say no if there are warnings
14085 if test -s conftest.err
; then
14086 # Append any errors to the config.log.
14087 cat conftest.err
1>&5
14088 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14089 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14090 if diff conftest.exp conftest.er2
>/dev
/null
; then
14091 lt_cv_prog_compiler_static_works_CXX
=yes
14094 lt_cv_prog_compiler_static_works_CXX
=yes
14098 LDFLAGS
="$save_LDFLAGS"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14102 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14104 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14107 lt_prog_compiler_static_CXX
=
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14114 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14115 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14116 $as_echo_n "(cached) " >&6
14118 lt_cv_prog_compiler_c_o_CXX
=no
14119 $RM -r conftest
2>/dev
/null
14123 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14125 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14126 # Insert the option either (1) after the last *FLAGS variable, or
14127 # (2) before a word containing "conftest.", or (3) at the end.
14128 # Note that $ac_compile itself does not contain backslashes and begins
14129 # with a dollar sign (not a hyphen), so the echo should work correctly.
14130 lt_compile
=`echo "$ac_compile" | $SED \
14131 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14133 -e 's:$: $lt_compiler_flag:'`
14134 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14135 (eval "$lt_compile" 2>out
/conftest.err
)
14137 cat out
/conftest.err
>&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14141 # The compiler can only warn and ignore the option if not recognized
14142 # So say no if there are warnings
14143 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14144 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14145 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14146 lt_cv_prog_compiler_c_o_CXX
=yes
14151 # SGI C++ compiler will create directory out/ii_files/ for
14152 # template instantiation
14153 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14154 $RM out
/* && rmdir out
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14161 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14166 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14167 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14168 $as_echo_n "(cached) " >&6
14170 lt_cv_prog_compiler_c_o_CXX
=no
14171 $RM -r conftest
2>/dev
/null
14175 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14177 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14178 # Insert the option either (1) after the last *FLAGS variable, or
14179 # (2) before a word containing "conftest.", or (3) at the end.
14180 # Note that $ac_compile itself does not contain backslashes and begins
14181 # with a dollar sign (not a hyphen), so the echo should work correctly.
14182 lt_compile
=`echo "$ac_compile" | $SED \
14183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14185 -e 's:$: $lt_compiler_flag:'`
14186 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14187 (eval "$lt_compile" 2>out
/conftest.err
)
14189 cat out
/conftest.err
>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14193 # The compiler can only warn and ignore the option if not recognized
14194 # So say no if there are warnings
14195 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14196 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14197 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14198 lt_cv_prog_compiler_c_o_CXX
=yes
14203 # SGI C++ compiler will create directory out/ii_files/ for
14204 # template instantiation
14205 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14206 $RM out
/* && rmdir out
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14213 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14218 hard_links
="nottested"
14219 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14220 # do not overwrite the value of need_locks provided by the user
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14222 $as_echo_n "checking if we can lock with hard links... " >&6; }
14225 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14227 ln conftest.a conftest.b
2>&5 || hard_links
=no
14228 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14230 $as_echo "$hard_links" >&6; }
14231 if test "$hard_links" = no
; then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14233 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14243 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14245 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14248 # If we're using GNU nm, then we don't want the "-C" option.
14249 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14250 # Also, AIX nm treats weak defined symbols like other global defined
14251 # symbols, whereas GNU nm marks them as "W".
14252 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14253 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'
14255 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14259 export_symbols_cmds_CXX
="$ltdll_cmds"
14261 cygwin
* | mingw
* | cegcc
*)
14262 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'
14265 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14268 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14271 $as_echo "$ld_shlibs_CXX" >&6; }
14272 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14274 with_gnu_ld_CXX
=$with_gnu_ld
14282 # Do we need to explicitly link libc?
14284 case "x$archive_cmds_need_lc_CXX" in
14286 # Assume -lc should be added
14287 archive_cmds_need_lc_CXX
=yes
14289 if test "$enable_shared" = yes && test "$GCC" = yes; then
14290 case $archive_cmds_CXX in
14292 # FIXME: we may have to deal with multi-command sequences.
14295 # Test whether the compiler implicitly links with -lc since on some
14296 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14297 # to ld, don't add -lc before -lgcc.
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14299 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14300 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14301 $as_echo_n "(cached) " >&6
14304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14307 (eval $ac_compile) 2>&5
14309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14310 test $ac_status = 0; } 2>conftest.err
; then
14313 libobjs
=conftest.
$ac_objext
14315 wl
=$lt_prog_compiler_wl_CXX
14316 pic_flag
=$lt_prog_compiler_pic_CXX
14322 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14323 allow_undefined_flag_CXX
=
14324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14325 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14328 test $ac_status = 0; }
14330 lt_cv_archive_cmds_need_lc_CXX
=no
14332 lt_cv_archive_cmds_need_lc_CXX
=yes
14334 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14336 cat conftest.err
1>&5
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14342 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14343 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14414 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14416 library_names_spec
=
14417 libname_spec
='lib$name'
14421 postuninstall_cmds
=
14425 shlibpath_overrides_runpath
=unknown
14427 dynamic_linker
="$host_os ld.so"
14428 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14429 need_lib_prefix
=unknown
14430 hardcode_into_libs
=no
14432 # when you set need_version to no, make sure it does not cause -set_version
14433 # flags to be left without arguments
14434 need_version
=unknown
14439 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14440 shlibpath_var
=LIBPATH
14442 # AIX 3 has no versioning support, so we append a major version to the name.
14443 soname_spec
='${libname}${release}${shared_ext}$major'
14450 hardcode_into_libs
=yes
14451 if test "$host_cpu" = ia64
; then
14452 # AIX 5 supports IA64
14453 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14454 shlibpath_var
=LD_LIBRARY_PATH
14456 # With GCC up to 2.95.x, collect2 would create an import file
14457 # for dependence libraries. The import file would start with
14458 # the line `#! .'. This would cause the generated library to
14459 # depend on `.', always an invalid library. This was fixed in
14460 # development snapshots of GCC prior to 3.0.
14462 aix4 | aix4.
[01] | aix4.
[01].
*)
14463 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14465 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14468 can_build_shared
=no
14472 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14473 # soname into executable. Probably we can add versioning support to
14474 # collect2, so additional links can be useful in future.
14475 if test "$aix_use_runtimelinking" = yes; then
14476 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14477 # instead of lib<name>.a to let people know that these are not
14478 # typical AIX shared libraries.
14479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 # We preserve .a as extension for shared libraries through AIX4.2
14482 # and later when we are not doing run time linking.
14483 library_names_spec
='${libname}${release}.a $libname.a'
14484 soname_spec
='${libname}${release}${shared_ext}$major'
14486 shlibpath_var
=LIBPATH
14493 # Since July 2007 AmigaOS4 officially supports .so libraries.
14494 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 library_names_spec
='$libname.ixlibrary $libname.a'
14499 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14500 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'
14506 library_names_spec
='${libname}${shared_ext}'
14507 dynamic_linker
="$host_os ld.so"
14508 shlibpath_var
=LIBRARY_PATH
14514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515 soname_spec
='${libname}${release}${shared_ext}$major'
14516 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14517 shlibpath_var
=LD_LIBRARY_PATH
14518 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14519 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14520 # the default ld.so.conf also contains /usr/contrib/lib and
14521 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14522 # libtool to hard-code these into programs
14525 cygwin
* | mingw
* | pw32
* | cegcc
*)
14526 version_type
=windows
14531 case $GCC,$host_os in
14532 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14533 library_names_spec
='$libname.dll.a'
14534 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14535 postinstall_cmds
='base_file=`basename \${file}`~
14536 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14537 dldir=$destdir/`dirname \$dlpath`~
14538 test -d \$dldir || mkdir -p \$dldir~
14539 $install_prog $dir/$dlname \$dldir/$dlname~
14540 chmod a+x \$dldir/$dlname~
14541 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14542 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14544 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14545 dlpath=$dir/\$dldll~
14547 shlibpath_overrides_runpath
=yes
14551 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14552 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14556 # MinGW DLLs use traditional 'lib' prefix
14557 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14560 # pw32 DLLs use 'pw' prefix rather than 'lib'
14561 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14567 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14570 dynamic_linker
='Win32 ld.exe'
14571 # FIXME: first we should search . and the directory the executable is in
14575 darwin
* | rhapsody
*)
14576 dynamic_linker
="$host_os dyld"
14577 version_type
=darwin
14580 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14581 soname_spec
='${libname}${release}${major}$shared_ext'
14582 shlibpath_overrides_runpath
=yes
14583 shlibpath_var
=DYLD_LIBRARY_PATH
14584 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14586 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14594 soname_spec
='${libname}${release}${shared_ext}$major'
14595 shlibpath_var
=LD_LIBRARY_PATH
14598 freebsd
* | dragonfly
*)
14599 # DragonFly does not have aout. When/if they implement a new
14600 # versioning mechanism, adjust this.
14601 if test -x /usr
/bin
/objformat
; then
14602 objformat
=`/usr/bin/objformat`
14605 freebsd
[23].
*) objformat
=aout
;;
14606 *) objformat
=elf
;;
14609 version_type
=freebsd-
$objformat
14610 case $version_type in
14612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14617 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14621 shlibpath_var
=LD_LIBRARY_PATH
14624 shlibpath_overrides_runpath
=yes
14626 freebsd3.
[01]* | freebsdelf3.
[01]*)
14627 shlibpath_overrides_runpath
=yes
14628 hardcode_into_libs
=yes
14630 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14631 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14632 shlibpath_overrides_runpath
=no
14633 hardcode_into_libs
=yes
14635 *) # from 4.6 on, and DragonFly
14636 shlibpath_overrides_runpath
=yes
14637 hardcode_into_libs
=yes
14646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14647 soname_spec
='${libname}${release}${shared_ext}$major'
14648 shlibpath_var
=LD_LIBRARY_PATH
14649 hardcode_into_libs
=yes
14656 dynamic_linker
="$host_os runtime_loader"
14657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14658 soname_spec
='${libname}${release}${shared_ext}$major'
14659 shlibpath_var
=LIBRARY_PATH
14660 shlibpath_overrides_runpath
=yes
14661 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14662 hardcode_into_libs
=yes
14665 hpux9
* | hpux10
* | hpux11
*)
14666 # Give a soname corresponding to the major version so that dld.sl refuses to
14667 # link against other versions.
14674 hardcode_into_libs
=yes
14675 dynamic_linker
="$host_os dld.so"
14676 shlibpath_var
=LD_LIBRARY_PATH
14677 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14679 soname_spec
='${libname}${release}${shared_ext}$major'
14680 if test "X$HPUX_IA64_MODE" = X32
; then
14681 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14683 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14685 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14689 hardcode_into_libs
=yes
14690 dynamic_linker
="$host_os dld.sl"
14691 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14692 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14694 soname_spec
='${libname}${release}${shared_ext}$major'
14695 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14696 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14700 dynamic_linker
="$host_os dld.sl"
14701 shlibpath_var
=SHLIB_PATH
14702 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14704 soname_spec
='${libname}${release}${shared_ext}$major'
14707 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14708 postinstall_cmds
='chmod 555 $lib'
14709 # or fails outright, so override atomically:
14710 install_override_mode
=555
14717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14718 soname_spec
='${libname}${release}${shared_ext}$major'
14719 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14720 shlibpath_var
=LD_LIBRARY_PATH
14721 shlibpath_overrides_runpath
=no
14722 hardcode_into_libs
=yes
14725 irix5
* | irix6
* | nonstopux
*)
14727 nonstopux
*) version_type
=nonstopux
;;
14729 if test "$lt_cv_prog_gnu_ld" = yes; then
14737 soname_spec
='${libname}${release}${shared_ext}$major'
14738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14740 irix5
* | nonstopux
*)
14741 libsuff
= shlibsuff
=
14744 case $LD in # libtool.m4 will add one of these switches to LD
14745 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14746 libsuff
= shlibsuff
= libmagic
=32-bit;;
14747 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14748 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14749 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14750 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14751 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14755 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14756 shlibpath_overrides_runpath
=no
14757 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14758 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14759 hardcode_into_libs
=yes
14762 # No shared lib support for Linux oldld, aout, or coff.
14763 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14767 # This must be Linux ELF.
14768 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14773 soname_spec
='${libname}${release}${shared_ext}$major'
14774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14775 shlibpath_var
=LD_LIBRARY_PATH
14776 shlibpath_overrides_runpath
=no
14778 # Some binutils ld are patched to set DT_RUNPATH
14779 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14780 $as_echo_n "(cached) " >&6
14782 lt_cv_shlibpath_overrides_runpath
=no
14783 save_LDFLAGS
=$LDFLAGS
14784 save_libdir
=$libdir
14785 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14786 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14798 if ac_fn_cxx_try_link
"$LINENO"; then :
14799 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14800 lt_cv_shlibpath_overrides_runpath
=yes
14803 rm -f core conftest.err conftest.
$ac_objext \
14804 conftest
$ac_exeext conftest.
$ac_ext
14805 LDFLAGS
=$save_LDFLAGS
14806 libdir
=$save_libdir
14810 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14812 # This implies no fast_install, which is unacceptable.
14813 # Some rework will be needed to allow for fast_install
14814 # before this can be enabled.
14815 hardcode_into_libs
=yes
14817 # Append ld.so.conf contents to the search path
14818 if test -f /etc
/ld.so.conf
; then
14819 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' ' '`
14820 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14823 # We used to test for /lib/ld.so.1 and disable shared libraries on
14824 # powerpc, because MkLinux only supported shared libraries with the
14825 # GNU dynamic linker. Since this was broken with cross compilers,
14826 # most powerpc-linux boxes support dynamic linking these days and
14827 # people can always --disable-shared, the test was removed, and we
14828 # assume the GNU/Linux dynamic linker is in use.
14829 dynamic_linker
='GNU/Linux ld.so'
14836 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14838 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14839 dynamic_linker
='NetBSD (a.out) ld.so'
14841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14842 soname_spec
='${libname}${release}${shared_ext}$major'
14843 dynamic_linker
='NetBSD ld.elf_so'
14845 shlibpath_var
=LD_LIBRARY_PATH
14846 shlibpath_overrides_runpath
=yes
14847 hardcode_into_libs
=yes
14852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14853 shlibpath_var
=LD_LIBRARY_PATH
14854 shlibpath_overrides_runpath
=yes
14861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14862 soname_spec
='${libname}${release}${shared_ext}$major'
14863 shlibpath_var
=LD_LIBRARY_PATH
14864 shlibpath_overrides_runpath
=no
14865 hardcode_into_libs
=yes
14866 dynamic_linker
='ldqnx.so'
14871 sys_lib_dlsearch_path_spec
="/usr/lib"
14873 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14875 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14876 *) need_version
=no
;;
14878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14880 shlibpath_var
=LD_LIBRARY_PATH
14881 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14883 openbsd2.
[89] | openbsd2.
[89].
*)
14884 shlibpath_overrides_runpath
=no
14887 shlibpath_overrides_runpath
=yes
14891 shlibpath_overrides_runpath
=yes
14896 libname_spec
='$name'
14899 library_names_spec
='$libname${shared_ext} $libname.a'
14900 dynamic_linker
='OS/2 ld.exe'
14901 shlibpath_var
=LIBPATH
14904 osf3
* | osf4
* | osf5
*)
14908 soname_spec
='${libname}${release}${shared_ext}$major'
14909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14910 shlibpath_var
=LD_LIBRARY_PATH
14911 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14912 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14924 soname_spec
='${libname}${release}${shared_ext}$major'
14925 shlibpath_var
=LD_LIBRARY_PATH
14926 shlibpath_overrides_runpath
=yes
14927 hardcode_into_libs
=yes
14928 # ldd complains unless libraries are executable
14929 postinstall_cmds
='chmod +x $lib'
14934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14935 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14936 shlibpath_var
=LD_LIBRARY_PATH
14937 shlibpath_overrides_runpath
=yes
14938 if test "$with_gnu_ld" = yes; then
14946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947 soname_spec
='${libname}${release}${shared_ext}$major'
14948 shlibpath_var
=LD_LIBRARY_PATH
14949 case $host_vendor in
14951 shlibpath_overrides_runpath
=no
14953 runpath_var
=LD_RUN_PATH
14961 shlibpath_overrides_runpath
=no
14962 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14968 if test -d /usr
/nec
;then
14970 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14971 soname_spec
='$libname${shared_ext}.$major'
14972 shlibpath_var
=LD_LIBRARY_PATH
14976 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14977 version_type
=freebsd-elf
14980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14981 soname_spec
='${libname}${release}${shared_ext}$major'
14982 shlibpath_var
=LD_LIBRARY_PATH
14983 shlibpath_overrides_runpath
=yes
14984 hardcode_into_libs
=yes
14985 if test "$with_gnu_ld" = yes; then
14986 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14988 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14991 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14995 sys_lib_dlsearch_path_spec
='/usr/lib'
14999 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 shlibpath_var
=LD_LIBRARY_PATH
15005 shlibpath_overrides_runpath
=no
15006 hardcode_into_libs
=yes
15011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 soname_spec
='${libname}${release}${shared_ext}$major'
15013 shlibpath_var
=LD_LIBRARY_PATH
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15021 $as_echo "$dynamic_linker" >&6; }
15022 test "$dynamic_linker" = no
&& can_build_shared
=no
15024 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15025 if test "$GCC" = yes; then
15026 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15029 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15030 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15032 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15033 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15074 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15075 hardcode_action_CXX
=
15076 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15077 test -n "$runpath_var_CXX" ||
15078 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15080 # We can hardcode non-existent directories.
15081 if test "$hardcode_direct_CXX" != no
&&
15082 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15083 # have to relink, otherwise we might link with an installed library
15084 # when we should be linking with a yet-to-be-installed one
15085 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15086 test "$hardcode_minus_L_CXX" != no
; then
15087 # Linking always hardcodes the temporary library directory.
15088 hardcode_action_CXX
=relink
15090 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15091 hardcode_action_CXX
=immediate
15094 # We cannot hardcode anything, or else we can only hardcode existing
15096 hardcode_action_CXX
=unsupported
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15099 $as_echo "$hardcode_action_CXX" >&6; }
15101 if test "$hardcode_action_CXX" = relink ||
15102 test "$inherit_rpath_CXX" = yes; then
15103 # Fast installation is not supported
15104 enable_fast_install
=no
15105 elif test "$shlibpath_overrides_runpath" = yes ||
15106 test "$enable_shared" = no
; then
15107 # Fast installation is not necessary
15108 enable_fast_install
=needless
15117 fi # test -n "$compiler"
15123 with_gnu_ld
=$lt_save_with_gnu_ld
15124 lt_cv_path_LDCXX
=$lt_cv_path_LD
15125 lt_cv_path_LD
=$lt_save_path_LD
15126 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15127 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15128 fi # test "$_lt_caught_CXX_error" != yes
15131 ac_cpp
='$CPP $CPPFLAGS'
15132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15148 ac_config_commands
="$ac_config_commands libtool"
15153 # Only expand once:
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
15161 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
15162 # Check whether --enable-maintainer-mode was given.
15163 if test "${enable_maintainer_mode+set}" = set; then :
15164 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
15166 USE_MAINTAINER_MODE
=no
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
15170 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15171 if test $USE_MAINTAINER_MODE = yes; then
15172 MAINTAINER_MODE_TRUE
=
15173 MAINTAINER_MODE_FALSE
='#'
15175 MAINTAINER_MODE_TRUE
='#'
15176 MAINTAINER_MODE_FALSE
=
15179 MAINT
=$MAINTAINER_MODE_TRUE
15183 # For libtool versioning info, format is CURRENT:REVISION:AGE
15184 libtool_VERSION
=1:0:0
15187 # Check header files.
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15189 $as_echo_n "checking for ANSI C header files... " >&6; }
15190 if test "${ac_cv_header_stdc+set}" = set; then :
15191 $as_echo_n "(cached) " >&6
15193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15195 #include <stdlib.h>
15196 #include <stdarg.h>
15197 #include <string.h>
15208 if ac_fn_c_try_compile
"$LINENO"; then :
15209 ac_cv_header_stdc
=yes
15211 ac_cv_header_stdc
=no
15213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15215 if test $ac_cv_header_stdc = yes; then
15216 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 #include <string.h>
15222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15223 $EGREP "memchr" >/dev
/null
2>&1; then :
15226 ac_cv_header_stdc
=no
15232 if test $ac_cv_header_stdc = yes; then
15233 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15236 #include <stdlib.h>
15239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15240 $EGREP "free" >/dev
/null
2>&1; then :
15243 ac_cv_header_stdc
=no
15249 if test $ac_cv_header_stdc = yes; then
15250 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15251 if test "$cross_compiling" = yes; then :
15254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15255 /* end confdefs.h. */
15257 #include <stdlib.h>
15258 #if ((' ' & 0x0FF) == 0x020)
15259 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15260 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15262 # define ISLOWER(c) \
15263 (('a' <= (c) && (c) <= 'i') \
15264 || ('j' <= (c) && (c) <= 'r') \
15265 || ('s' <= (c) && (c) <= 'z'))
15266 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15269 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15274 for (i = 0; i < 256; i++)
15275 if (XOR (islower (i), ISLOWER (i))
15276 || toupper (i) != TOUPPER (i))
15281 if ac_fn_c_try_run
"$LINENO"; then :
15284 ac_cv_header_stdc
=no
15286 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15287 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15293 $as_echo "$ac_cv_header_stdc" >&6; }
15294 if test $ac_cv_header_stdc = yes; then
15296 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15301 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15302 if test "${ac_cv_header_time+set}" = set; then :
15303 $as_echo_n "(cached) " >&6
15305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15307 #include <sys/types.h>
15308 #include <sys/time.h>
15314 if ((struct tm *) 0)
15320 if ac_fn_c_try_compile
"$LINENO"; then :
15321 ac_cv_header_time
=yes
15323 ac_cv_header_time
=no
15325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15328 $as_echo "$ac_cv_header_time" >&6; }
15329 if test $ac_cv_header_time = yes; then
15331 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
15336 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
15337 if test "${gcc_cv_header_string+set}" = set; then :
15338 $as_echo_n "(cached) " >&6
15340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15342 #include <string.h>
15343 #include <strings.h>
15352 if ac_fn_c_try_compile
"$LINENO"; then :
15353 gcc_cv_header_string
=yes
15355 gcc_cv_header_string
=no
15357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
15360 $as_echo "$gcc_cv_header_string" >&6; }
15361 if test $gcc_cv_header_string = yes; then
15363 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
15367 for ac_header
in unistd.h semaphore.h sys
/time.h sys
/auxv.h malloc.h
15369 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15370 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15371 eval as_val
=\$
$as_ac_Header
15372 if test "x$as_val" = x
""yes; then :
15373 cat >>confdefs.h
<<_ACEOF
15374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15384 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15386 acx_cv_header_stdint
=stddef.h
15387 acx_cv_header_stdint_kind
="(already complete)"
15388 for i
in stdint.h
$inttype_headers; do
15389 unset ac_cv_type_uintptr_t
15390 unset ac_cv_type_uintmax_t
15391 unset ac_cv_type_int_least32_t
15392 unset ac_cv_type_int_fast32_t
15393 unset ac_cv_type_uint64_t
15394 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15395 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15398 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15399 acx_cv_header_stdint
=$i
15404 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15407 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15410 acx_cv_header_stdint_kind
="(mostly complete)"
15413 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15416 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15419 acx_cv_header_stdint_kind
="(mostly complete)"
15422 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15425 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15428 acx_cv_header_stdint_kind
="(mostly complete)"
15431 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15434 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15437 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15442 if test "$acx_cv_header_stdint" = stddef.h
; then
15443 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15444 for i
in stdint.h
$inttype_headers; do
15445 unset ac_cv_type_uintptr_t
15446 unset ac_cv_type_uint32_t
15447 unset ac_cv_type_uint64_t
15448 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15449 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15452 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15453 acx_cv_header_stdint
=$i
15458 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15461 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15465 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15468 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15475 if test "$acx_cv_header_stdint" = stddef.h
; then
15476 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15477 for i
in sys
/types.h
$inttype_headers; do
15478 unset ac_cv_type_u_int32_t
15479 unset ac_cv_type_u_int64_t
15480 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15481 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15484 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15485 acx_cv_header_stdint
=$i
15490 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15493 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15500 if test "$acx_cv_header_stdint" = stddef.h
; then
15501 acx_cv_header_stdint_kind
="(using manual detection)"
15504 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15505 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15506 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15507 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15508 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15510 # ----------------- Summarize what we found so far
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15513 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15515 case `$as_basename -- gstdint.h ||
15516 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15517 Xgstdint.h : 'X\(//\)$' \| \
15518 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15519 $as_echo X/gstdint.h |
15520 sed '/^.*\/\([^/][^/]*\)\/*$/{
15533 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15534 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15535 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15536 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15541 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15543 # ----------------- done included file, check C basic types --------
15545 # Lacking an uintptr_t? Test size of void *
15546 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15547 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15548 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15549 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15550 # This bug is HP SR number 8606223364.
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15552 $as_echo_n "checking size of void *... " >&6; }
15553 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15554 $as_echo_n "(cached) " >&6
15556 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15559 if test "$ac_cv_type_void_p" = yes; then
15560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15562 { as_fn_set_status
77
15563 as_fn_error
"cannot compute sizeof (void *)
15564 See \`config.log' for more details." "$LINENO" 5; }; }
15566 ac_cv_sizeof_void_p
=0
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15572 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15576 cat >>confdefs.h
<<_ACEOF
15577 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15583 # Lacking an uint64_t? Test size of long
15584 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15585 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15588 # This bug is HP SR number 8606223364.
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15590 $as_echo_n "checking size of long... " >&6; }
15591 if test "${ac_cv_sizeof_long+set}" = set; then :
15592 $as_echo_n "(cached) " >&6
15594 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15597 if test "$ac_cv_type_long" = yes; then
15598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15600 { as_fn_set_status
77
15601 as_fn_error
"cannot compute sizeof (long)
15602 See \`config.log' for more details." "$LINENO" 5; }; }
15604 ac_cv_sizeof_long
=0
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15610 $as_echo "$ac_cv_sizeof_long" >&6; }
15614 cat >>confdefs.h
<<_ACEOF
15615 #define SIZEOF_LONG $ac_cv_sizeof_long
15621 if test $acx_cv_header_stdint = stddef.h
; then
15622 # Lacking a good header? Test size of everything and deduce all types.
15623 # The cast to long int works around a bug in the HP C Compiler
15624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15626 # This bug is HP SR number 8606223364.
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15628 $as_echo_n "checking size of int... " >&6; }
15629 if test "${ac_cv_sizeof_int+set}" = set; then :
15630 $as_echo_n "(cached) " >&6
15632 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15635 if test "$ac_cv_type_int" = yes; then
15636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15638 { as_fn_set_status
77
15639 as_fn_error
"cannot compute sizeof (int)
15640 See \`config.log' for more details." "$LINENO" 5; }; }
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15648 $as_echo "$ac_cv_sizeof_int" >&6; }
15652 cat >>confdefs.h
<<_ACEOF
15653 #define SIZEOF_INT $ac_cv_sizeof_int
15657 # The cast to long int works around a bug in the HP C Compiler
15658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15660 # This bug is HP SR number 8606223364.
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15662 $as_echo_n "checking size of short... " >&6; }
15663 if test "${ac_cv_sizeof_short+set}" = set; then :
15664 $as_echo_n "(cached) " >&6
15666 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15669 if test "$ac_cv_type_short" = yes; then
15670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15672 { as_fn_set_status
77
15673 as_fn_error
"cannot compute sizeof (short)
15674 See \`config.log' for more details." "$LINENO" 5; }; }
15676 ac_cv_sizeof_short
=0
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15682 $as_echo "$ac_cv_sizeof_short" >&6; }
15686 cat >>confdefs.h
<<_ACEOF
15687 #define SIZEOF_SHORT $ac_cv_sizeof_short
15691 # The cast to long int works around a bug in the HP C Compiler
15692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15694 # This bug is HP SR number 8606223364.
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15696 $as_echo_n "checking size of char... " >&6; }
15697 if test "${ac_cv_sizeof_char+set}" = set; then :
15698 $as_echo_n "(cached) " >&6
15700 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15703 if test "$ac_cv_type_char" = yes; then
15704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15706 { as_fn_set_status
77
15707 as_fn_error
"cannot compute sizeof (char)
15708 See \`config.log' for more details." "$LINENO" 5; }; }
15710 ac_cv_sizeof_char
=0
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15716 $as_echo "$ac_cv_sizeof_char" >&6; }
15720 cat >>confdefs.h
<<_ACEOF
15721 #define SIZEOF_CHAR $ac_cv_sizeof_char
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15727 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15728 case "$ac_cv_sizeof_char" in
15729 1) acx_cv_type_int8_t
=char
;;
15730 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15733 $as_echo "$acx_cv_type_int8_t" >&6; }
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15736 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15737 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15738 2:*) acx_cv_type_int16_t
=int
;;
15739 *:2) acx_cv_type_int16_t
=short
;;
15740 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15743 $as_echo "$acx_cv_type_int16_t" >&6; }
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15746 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15747 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15748 4:*) acx_cv_type_int32_t
=int
;;
15749 *:4) acx_cv_type_int32_t
=long
;;
15750 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15753 $as_echo "$acx_cv_type_int32_t" >&6; }
15756 # These tests are here to make the output prettier
15758 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15759 case "$ac_cv_sizeof_long" in
15760 8) acx_cv_type_int64_t
=long
;;
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15763 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15765 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15768 # Now we can use the above types
15770 if test "$ac_cv_type_uintptr_t" != yes; then
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15772 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15773 case $ac_cv_sizeof_void_p in
15774 2) acx_cv_type_intptr_t
=int16_t
;;
15775 4) acx_cv_type_intptr_t
=int32_t
;;
15776 8) acx_cv_type_intptr_t
=int64_t
;;
15777 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15780 $as_echo "$acx_cv_type_intptr_t" >&6; }
15783 # ----------------- done all checks, emit header -------------
15784 ac_config_commands
="$ac_config_commands gstdint.h"
15790 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
15791 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
15792 gcc_header_sys_mman_h
=yes
15794 gcc_header_sys_mman_h
=no
15798 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
15799 if test "x$ac_cv_func_mmap" = x
""yes; then :
15805 if test "$gcc_header_sys_mman_h" != yes \
15806 ||
test "$gcc_func_mmap" != yes; then
15807 gcc_cv_func_mmap_file
=no
15808 gcc_cv_func_mmap_dev_zero
=no
15809 gcc_cv_func_mmap_anon
=no
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
15812 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
15813 if test "${gcc_cv_func_mmap_file+set}" = set; then :
15814 $as_echo_n "(cached) " >&6
15816 # Add a system to this blacklist if
15817 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
15818 # memory area containing the same data that you'd get if you applied
15819 # read() to the same fd. The only system known to have a problem here
15820 # is VMS, where text files have record structure.
15823 gcc_cv_func_mmap_file
=no
;;
15825 gcc_cv_func_mmap_file
=yes;;
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_file" >&5
15829 $as_echo "$gcc_cv_func_mmap_file" >&6; }
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
15831 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
15832 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then :
15833 $as_echo_n "(cached) " >&6
15835 # Add a system to this blacklist if it has mmap() but /dev/zero
15836 # does not exist, or if mmapping /dev/zero does not give anonymous
15837 # zeroed pages with both the following properties:
15838 # 1. If you map N consecutive pages in with one call, and then
15839 # unmap any subset of those pages, the pages that were not
15840 # explicitly unmapped remain accessible.
15841 # 2. If you map two adjacent blocks of memory and then unmap them
15842 # both at once, they must both go away.
15843 # Systems known to be in this category are Windows (all variants),
15846 *vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
15847 gcc_cv_func_mmap_dev_zero
=no
;;
15849 gcc_cv_func_mmap_dev_zero
=yes;;
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_dev_zero" >&5
15853 $as_echo "$gcc_cv_func_mmap_dev_zero" >&6; }
15855 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
15857 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
15858 if test "${gcc_cv_decl_map_anon+set}" = set; then :
15859 $as_echo_n "(cached) " >&6
15861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h. */
15863 #include <sys/types.h>
15864 #include <sys/mman.h>
15865 #include <unistd.h>
15867 #ifndef MAP_ANONYMOUS
15868 #define MAP_ANONYMOUS MAP_ANON
15874 int n = MAP_ANONYMOUS;
15879 if ac_fn_c_try_compile
"$LINENO"; then :
15880 gcc_cv_decl_map_anon
=yes
15882 gcc_cv_decl_map_anon
=no
15884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_decl_map_anon" >&5
15887 $as_echo "$gcc_cv_decl_map_anon" >&6; }
15889 if test $gcc_cv_decl_map_anon = no
; then
15890 gcc_cv_func_mmap_anon
=no
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
15893 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
15894 if test "${gcc_cv_func_mmap_anon+set}" = set; then :
15895 $as_echo_n "(cached) " >&6
15897 # Add a system to this blacklist if it has mmap() and MAP_ANON or
15898 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
15899 # doesn't give anonymous zeroed pages with the same properties listed
15900 # above for use of /dev/zero.
15901 # Systems known to be in this category are Windows, VMS, and SCO Unix.
15903 *vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
15904 gcc_cv_func_mmap_anon
=no
;;
15906 gcc_cv_func_mmap_anon
=yes;;
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_anon" >&5
15910 $as_echo "$gcc_cv_func_mmap_anon" >&6; }
15914 if test $gcc_cv_func_mmap_file = yes; then
15916 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
15919 if test $gcc_cv_func_mmap_dev_zero = yes; then
15921 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
15924 if test $gcc_cv_func_mmap_anon = yes; then
15926 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15932 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15933 if test "${ac_cv_c_bigendian+set}" = set; then :
15934 $as_echo_n "(cached) " >&6
15936 ac_cv_c_bigendian
=unknown
15937 # See if we're dealing with a universal compiler.
15938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15940 #ifndef __APPLE_CC__
15941 not a universal capable compiler
15946 if ac_fn_c_try_compile
"$LINENO"; then :
15948 # Check for potential -arch flags. It is not universal unless
15949 # there are at least two -arch flags with different values.
15952 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15953 if test -n "$ac_prev"; then
15955 i?
86 | x86_64 | ppc | ppc64
)
15956 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
15959 ac_cv_c_bigendian
=universal
15965 elif test "x$ac_word" = "x-arch"; then
15970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15971 if test $ac_cv_c_bigendian = unknown
; then
15972 # See if sys/param.h defines the BYTE_ORDER macro.
15973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15975 #include <sys/types.h>
15976 #include <sys/param.h>
15981 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15982 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15984 bogus endian macros
15991 if ac_fn_c_try_compile
"$LINENO"; then :
15992 # It does; now see whether it defined to BIG_ENDIAN or not.
15993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15995 #include <sys/types.h>
15996 #include <sys/param.h>
16001 #if BYTE_ORDER != BIG_ENDIAN
16009 if ac_fn_c_try_compile
"$LINENO"; then :
16010 ac_cv_c_bigendian
=yes
16012 ac_cv_c_bigendian
=no
16014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16018 if test $ac_cv_c_bigendian = unknown
; then
16019 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16022 #include <limits.h>
16027 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16028 bogus endian macros
16035 if ac_fn_c_try_compile
"$LINENO"; then :
16036 # It does; now see whether it defined to _BIG_ENDIAN or not.
16037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h. */
16039 #include <limits.h>
16044 #ifndef _BIG_ENDIAN
16052 if ac_fn_c_try_compile
"$LINENO"; then :
16053 ac_cv_c_bigendian
=yes
16055 ac_cv_c_bigendian
=no
16057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16061 if test $ac_cv_c_bigendian = unknown
; then
16062 # Compile a test program.
16063 if test "$cross_compiling" = yes; then :
16064 # Try to guess by grepping values from an object file.
16065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16066 /* end confdefs.h. */
16067 short int ascii_mm[] =
16068 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16069 short int ascii_ii[] =
16070 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16071 int use_ascii (int i) {
16072 return ascii_mm[i] + ascii_ii[i];
16074 short int ebcdic_ii[] =
16075 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16076 short int ebcdic_mm[] =
16077 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16078 int use_ebcdic (int i) {
16079 return ebcdic_mm[i] + ebcdic_ii[i];
16086 return use_ascii (foo) == use_ebcdic (foo);
16091 if ac_fn_c_try_compile
"$LINENO"; then :
16092 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16093 ac_cv_c_bigendian
=yes
16095 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16096 if test "$ac_cv_c_bigendian" = unknown
; then
16097 ac_cv_c_bigendian
=no
16099 # finding both strings is unlikely to happen, but who knows?
16100 ac_cv_c_bigendian
=unknown
16104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16108 $ac_includes_default
16113 /* Are we little or big endian? From Harbison&Steele. */
16117 char c[sizeof (long int)];
16120 return u.c[sizeof (long int) - 1] == 1;
16126 if ac_fn_c_try_run
"$LINENO"; then :
16127 ac_cv_c_bigendian
=no
16129 ac_cv_c_bigendian
=yes
16131 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16132 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16138 $as_echo "$ac_cv_c_bigendian" >&6; }
16139 case $ac_cv_c_bigendian in #(
16141 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16147 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16151 as_fn_error
"unknown endianness
16152 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16155 # I don't like the default behaviour of WORDS_BIGENDIAN undefined for LE.
16158 # Check to see if -pthread or -lpthread is needed. Prefer the former.
16159 # In case the pthread.h system header is not found, this test will fail.
16161 CFLAGS
="$CFLAGS -pthread"
16162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16164 #include <pthread.h>
16165 void *g(void *d) { return NULL; }
16169 pthread_t t; pthread_create(&t,NULL,g,NULL);
16174 if ac_fn_c_try_link
"$LINENO"; then :
16175 XPCFLAGS
=" -Wc,-pthread"
16177 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
16178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16179 /* end confdefs.h. */
16180 #include <pthread.h>
16181 void *g(void *d) { return NULL; }
16185 pthread_t t; pthread_create(&t,NULL,g,NULL);
16190 if ac_fn_c_try_link
"$LINENO"; then :
16193 as_fn_error
"Pthreads are required to build libitm" "$LINENO" 5
16195 rm -f core conftest.err conftest.
$ac_objext \
16196 conftest
$ac_exeext conftest.
$ac_ext
16198 rm -f core conftest.err conftest.
$ac_objext \
16199 conftest
$ac_exeext conftest.
$ac_ext
16201 # Check for functions needed.
16202 for ac_func
in strtoull memalign posix_memalign getauxval
16204 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16205 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16206 eval as_val
=\$
$as_ac_var
16207 if test "x$as_val" = x
""yes; then :
16208 cat >>confdefs.h
<<_ACEOF
16209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16216 # Check for broken semaphore implementation on darwin.
16217 # sem_init returns: sem_init error: Function not implemented.
16221 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
16226 # Check whether --enable-linux-futex was given.
16227 if test "${enable_linux_futex+set}" = set; then :
16228 enableval
=$enable_linux_futex;
16229 case "$enableval" in
16231 *) as_fn_error
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
16235 enable_linux_futex
=default
16241 case "$enable_linux_futex" in
16243 # If headers don't have gettid/futex syscalls definition, then
16244 # default to no, otherwise there will be compile time failures.
16245 # Otherwise, default to yes. If we don't detect we are
16246 # compiled/linked against NPTL and not cross-compiling, check
16247 # if programs are run by default against NPTL and if not, issue
16249 enable_linux_futex
=no
16250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 #include <sys/syscall.h>
16257 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16262 if ac_fn_c_try_link
"$LINENO"; then :
16264 LIBS
="-lpthread $LIBS"
16265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16267 #ifndef _GNU_SOURCE
16268 #define _GNU_SOURCE 1
16270 #include <pthread.h>
16271 pthread_t th; void *status;
16275 pthread_tryjoin_np (th, &status);
16280 if ac_fn_c_try_link
"$LINENO"; then :
16281 enable_linux_futex
=yes
16283 if test x
$cross_compiling = xno
; then
16284 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
16285 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
16287 If so, please configure with --disable-linux-futex" >&5
16288 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
16289 If so, please configure with --disable-linux-futex" >&2;}
16292 enable_linux_futex
=yes
16294 rm -f core conftest.err conftest.
$ac_objext \
16295 conftest
$ac_exeext conftest.
$ac_ext
16298 rm -f core conftest.err conftest.
$ac_objext \
16299 conftest
$ac_exeext conftest.
$ac_ext
16302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #include <sys/syscall.h>
16309 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16314 if ac_fn_c_try_link
"$LINENO"; then :
16317 as_fn_error
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
16319 rm -f core conftest.err conftest.
$ac_objext \
16320 conftest
$ac_exeext conftest.
$ac_ext
16325 enable_linux_futex
=no
16328 if test x
$enable_linux_futex = xyes
; then
16333 # See if we support thread-local storage.
16336 # Check whether --enable-tls was given.
16337 if test "${enable_tls+set}" = set; then :
16338 enableval
=$enable_tls;
16339 case "$enableval" in
16341 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
16350 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
16351 if test "${gcc_cv_have_tls+set}" = set; then :
16352 $as_echo_n "(cached) " >&6
16355 if test "$cross_compiling" = yes; then :
16356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16358 __thread int a; int b; int main() { return a = b; }
16360 if ac_fn_c_try_link
"$LINENO"; then :
16361 chktls_save_LDFLAGS
="$LDFLAGS"
16364 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
16367 chktls_save_CFLAGS
="$CFLAGS"
16368 CFLAGS
="-fPIC $CFLAGS"
16369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 int f() { return 0; }
16373 if ac_fn_c_try_link
"$LINENO"; then :
16374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 __thread int a; int b; int f() { return a = b; }
16378 if ac_fn_c_try_link
"$LINENO"; then :
16379 gcc_cv_have_tls
=yes
16383 rm -f core conftest.err conftest.
$ac_objext \
16384 conftest
$ac_exeext conftest.
$ac_ext
16386 gcc_cv_have_tls
=yes
16388 rm -f core conftest.err conftest.
$ac_objext \
16389 conftest
$ac_exeext conftest.
$ac_ext
16390 CFLAGS
="$chktls_save_CFLAGS"
16391 LDFLAGS
="$chktls_save_LDFLAGS"
16395 rm -f core conftest.err conftest.
$ac_objext \
16396 conftest
$ac_exeext conftest.
$ac_ext
16400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h. */
16402 __thread int a; int b; int main() { return a = b; }
16404 if ac_fn_c_try_run
"$LINENO"; then :
16405 chktls_save_LDFLAGS
="$LDFLAGS"
16406 LDFLAGS
="-static $LDFLAGS"
16407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409 int main() { return 0; }
16411 if ac_fn_c_try_link
"$LINENO"; then :
16412 if test "$cross_compiling" = yes; then :
16413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16415 as_fn_error
"cannot run test program while cross compiling
16416 See \`config.log' for more details." "$LINENO" 5; }
16418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 __thread int a; int b; int main() { return a = b; }
16422 if ac_fn_c_try_run
"$LINENO"; then :
16423 gcc_cv_have_tls
=yes
16427 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16428 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16432 gcc_cv_have_tls
=yes
16434 rm -f core conftest.err conftest.
$ac_objext \
16435 conftest
$ac_exeext conftest.
$ac_ext
16436 LDFLAGS
="$chktls_save_LDFLAGS"
16437 if test $gcc_cv_have_tls = yes; then
16438 chktls_save_CFLAGS
="$CFLAGS"
16439 thread_CFLAGS
=failed
16440 for flag
in '' '-pthread' '-lpthread'; do
16441 CFLAGS
="$flag $chktls_save_CFLAGS"
16442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #include <pthread.h>
16445 void *g(void *d) { return NULL; }
16449 pthread_t t; pthread_create(&t,NULL,g,NULL);
16454 if ac_fn_c_try_link
"$LINENO"; then :
16455 thread_CFLAGS
="$flag"
16457 rm -f core conftest.err conftest.
$ac_objext \
16458 conftest
$ac_exeext conftest.
$ac_ext
16459 if test "X$thread_CFLAGS" != Xfailed
; then
16463 CFLAGS
="$chktls_save_CFLAGS"
16464 if test "X$thread_CFLAGS" != Xfailed
; then
16465 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
16466 if test "$cross_compiling" = yes; then :
16467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16469 as_fn_error
"cannot run test program while cross compiling
16470 See \`config.log' for more details." "$LINENO" 5; }
16472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16474 #include <pthread.h>
16476 static int *volatile a_in_other_thread;
16478 thread_func (void *arg)
16480 a_in_other_thread = &a;
16487 void *thread_retval;
16488 int *volatile a_in_main_thread;
16489 a_in_main_thread = &a;
16490 if (pthread_create (&thread, (pthread_attr_t *)0,
16491 thread_func, (void *)0))
16493 if (pthread_join (thread, &thread_retval))
16495 return (a_in_other_thread == a_in_main_thread);
16500 if ac_fn_c_try_run
"$LINENO"; then :
16501 gcc_cv_have_tls
=yes
16505 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16506 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16509 CFLAGS
="$chktls_save_CFLAGS"
16515 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16516 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
16521 $as_echo "$gcc_cv_have_tls" >&6; }
16522 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
16524 $as_echo "#define HAVE_TLS 1" >>confdefs.h
16528 # See what sort of export controls are available.
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
16531 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
16532 if test "${libitm_cv_have_attribute_visibility+set}" = set; then :
16533 $as_echo_n "(cached) " >&6
16536 save_CFLAGS
="$CFLAGS"
16537 CFLAGS
="$CFLAGS -Werror"
16538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 void __attribute__((visibility("hidden"))) foo(void) { }
16549 if ac_fn_c_try_compile
"$LINENO"; then :
16550 libitm_cv_have_attribute_visibility
=yes
16552 libitm_cv_have_attribute_visibility
=no
16554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16555 CFLAGS
="$save_CFLAGS"
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_visibility" >&5
16558 $as_echo "$libitm_cv_have_attribute_visibility" >&6; }
16559 if test $libitm_cv_have_attribute_visibility = yes; then
16561 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
16566 $as_echo_n "checking whether the target supports dllexport... " >&6; }
16567 if test "${libitm_cv_have_attribute_dllexport+set}" = set; then :
16568 $as_echo_n "(cached) " >&6
16571 save_CFLAGS
="$CFLAGS"
16572 CFLAGS
="$CFLAGS -Werror"
16573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16575 void __attribute__((dllexport)) foo(void) { }
16584 if ac_fn_c_try_compile
"$LINENO"; then :
16585 libitm_cv_have_attribute_dllexport
=yes
16587 libitm_cv_have_attribute_dllexport
=no
16589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16590 CFLAGS
="$save_CFLAGS"
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_dllexport" >&5
16593 $as_echo "$libitm_cv_have_attribute_dllexport" >&6; }
16594 if test $libitm_cv_have_attribute_dllexport = yes; then
16596 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
16601 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
16602 if test "${libitm_cv_have_attribute_alias+set}" = set; then :
16603 $as_echo_n "(cached) " >&6
16606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16610 extern void bar(void) __attribute__((alias("foo")));
16619 if ac_fn_c_try_link
"$LINENO"; then :
16620 libitm_cv_have_attribute_alias
=yes
16622 libitm_cv_have_attribute_alias
=no
16624 rm -f core conftest.err conftest.
$ac_objext \
16625 conftest
$ac_exeext conftest.
$ac_ext
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_alias" >&5
16628 $as_echo "$libitm_cv_have_attribute_alias" >&6; }
16629 if test $libitm_cv_have_attribute_alias = yes; then
16631 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
16635 # Check linker hardware capability support.
16638 # Check whether --with-gnu-ld was given.
16639 if test "${with_gnu_ld+set}" = set; then :
16640 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16646 if test "$GCC" = yes; then
16647 # Check if gcc -print-prog-name=ld gives a path.
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16649 $as_echo_n "checking for ld used by $CC... " >&6; }
16652 # gcc leaves a trailing carriage return which upsets mingw
16653 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16655 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16658 # Accept absolute paths.
16660 re_direlt
='/[^/][^/]*/\.\./'
16661 # Canonicalize the pathname of ld
16662 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16663 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16664 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16666 test -z "$LD" && LD
="$ac_prog"
16669 # If it fails, then pretend we aren't using GCC.
16673 # If it is relative, then search for the first ld in PATH.
16674 with_gnu_ld
=unknown
16677 elif test "$with_gnu_ld" = yes; then
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16679 $as_echo_n "checking for GNU ld... " >&6; }
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16682 $as_echo_n "checking for non-GNU ld... " >&6; }
16684 if test "${lt_cv_path_LD+set}" = set; then :
16685 $as_echo_n "(cached) " >&6
16687 if test -z "$LD"; then
16688 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
16689 for ac_dir
in $PATH; do
16691 test -z "$ac_dir" && ac_dir
=.
16692 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16693 lt_cv_path_LD
="$ac_dir/$ac_prog"
16694 # Check to see if the program is GNU ld. I'd rather use --version,
16695 # but apparently some variants of GNU ld only accept -v.
16696 # Break only if it was the GNU/non-GNU ld that we prefer.
16697 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16698 *GNU
* |
*'with BFD'*)
16699 test "$with_gnu_ld" != no
&& break
16702 test "$with_gnu_ld" != yes && break
16709 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
16713 LD
="$lt_cv_path_LD"
16714 if test -n "$LD"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16716 $as_echo "$LD" >&6; }
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16719 $as_echo "no" >&6; }
16721 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16723 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16724 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
16725 $as_echo_n "(cached) " >&6
16727 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16728 case `$LD -v 2>&1 </dev/null` in
16729 *GNU
* |
*'with BFD'*)
16730 lt_cv_prog_gnu_ld
=yes
16733 lt_cv_prog_gnu_ld
=no
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16738 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16739 with_gnu_ld
=$lt_cv_prog_gnu_ld
16747 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS
=''
16750 ac_save_LDFLAGS
="$LDFLAGS"
16751 LDFLAGS
="$LFLAGS -mclear-hwcap"
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
16754 $as_echo_n "checking for -mclear-hwcap... " >&6; }
16755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16766 if ac_fn_c_try_link
"$LINENO"; then :
16767 ac_hwcap_ldflags
=yes
16769 ac_hwcap_ldflags
=no
16771 rm -f core conftest.err conftest.
$ac_objext \
16772 conftest
$ac_exeext conftest.
$ac_ext
16773 if test "$ac_hwcap_ldflags" = "yes"; then
16774 HWCAP_LDFLAGS
="-mclear-hwcap $HWCAP_LDFLAGS"
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
16777 $as_echo "$ac_hwcap_ldflags" >&6; }
16779 LDFLAGS
="$ac_save_LDFLAGS"
16783 if test $ac_hwcap_ldflags != no
; then
16785 HAVE_HWCAP_FALSE
='#'
16787 HAVE_HWCAP_TRUE
='#'
16792 # If defaulting to -mavx, don't clear hwcaps.
16793 ac_fn_c_check_decl
"$LINENO" "__AVX__" "ac_cv_have_decl___AVX__" "$ac_includes_default"
16794 if test "x$ac_cv_have_decl___AVX__" = x
""yes; then :
16800 # If we're not using GNU ld, then there's no point in even trying these
16801 # tests. Check for that first. We should have already tested for gld
16802 # by now (in libtool), but require it now just to be safe...
16803 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
16804 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
16808 # The name set by libtool depends on the version of libtool. Shame on us
16809 # for depending on an impl detail, but c'est la vie. Older versions used
16810 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
16811 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
16812 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
16813 # set (hence we're using an older libtool), then set it.
16814 if test x
${with_gnu_ld+set} != xset
; then
16815 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
16816 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
16819 with_gnu_ld
=$ac_cv_prog_gnu_ld
16823 # Start by getting the version number. I think the libtool test already
16824 # does some of this, but throws away the result.
16825 libitm_ld_is_gold
=no
16826 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
16827 libitm_ld_is_gold
=yes
16830 ldver
=`$LD --version 2>/dev/null |
16831 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'`
16833 libitm_gnu_ld_version
=`echo $ldver | \
16834 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
16836 # Set --gc-sections.
16837 if test "$with_gnu_ld" = "notbroken"; then
16838 # GNU ld it is! Joy and bunny rabbits!
16840 # All these tests are for C++; save the language and the compiler flags.
16841 # Need to do this so that g++ won't try to link in libstdc++
16842 ac_test_CFLAGS
="${CFLAGS+set}"
16843 ac_save_CFLAGS
="$CFLAGS"
16844 CFLAGS
='-x c++ -Wl,--gc-sections'
16846 # Check for -Wl,--gc-sections
16847 # XXX This test is broken at the moment, as symbols required for linking
16848 # are now in libsupc++ (not built yet). In addition, this test has
16849 # cored on solaris in the past. In addition, --gc-sections doesn't
16850 # really work at the moment (keeps on discarding used sections, first
16851 # .eh_frame and now some of the glibc sections for iconv).
16852 # Bzzzzt. Thanks for playing, maybe next time.
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
16854 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
16855 if test "$cross_compiling" = yes; then :
16856 ac_sectionLDflags
=yes
16858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16869 if ac_fn_c_try_run
"$LINENO"; then :
16870 ac_sectionLDflags
=yes
16872 ac_sectionLDflags
=no
16874 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16875 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16878 if test "$ac_test_CFLAGS" = set; then
16879 CFLAGS
="$ac_save_CFLAGS"
16881 # this is the suspicious part
16884 if test "$ac_sectionLDflags" = "yes"; then
16885 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
16888 $as_echo "$ac_sectionLDflags" >&6; }
16891 # Set linker optimization flags.
16892 if test x
"$with_gnu_ld" = x
"yes"; then
16893 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
16901 # Check whether --enable-symvers was given.
16902 if test "${enable_symvers+set}" = set; then :
16903 enableval
=$enable_symvers;
16904 case "$enableval" in
16905 yes|no|gnu
*|sun
) ;;
16906 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
16915 # If we never went through the LIBITM_CHECK_LINKER_FEATURES macro, then we
16916 # don't know enough about $LD to do tricks...
16919 # Turn a 'yes' into a suitable default.
16920 if test x
$enable_symvers = xyes
; then
16921 # FIXME The following test is too strict, in theory.
16922 if test $enable_shared = no ||
test "x$LD" = x
; then
16925 if test $with_gnu_ld = yes ; then
16928 case ${target_os} in
16929 # Sun symbol versioning exists since Solaris 2.5.
16930 solaris2.
[5-9]* | solaris2.1
[0-9]*)
16931 enable_symvers
=sun
;;
16933 enable_symvers
=no
;;
16939 # Check if 'sun' was requested on non-Solaris 2 platforms.
16940 if test x
$enable_symvers = xsun
; then
16941 case ${target_os} in
16946 # Unlikely to work.
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
16948 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
16950 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16952 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16958 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
16959 if test $enable_symvers != no
; then
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
16961 $as_echo_n "checking for shared libgcc... " >&6; }
16962 ac_save_CFLAGS
="$CFLAGS"
16964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16975 if ac_fn_c_try_link
"$LINENO"; then :
16976 libitm_shared_libgcc
=yes
16978 libitm_shared_libgcc
=no
16980 rm -f core conftest.err conftest.
$ac_objext \
16981 conftest
$ac_exeext conftest.
$ac_ext
16982 CFLAGS
="$ac_save_CFLAGS"
16983 if test $libitm_shared_libgcc = no
; then
16984 cat > conftest.c
<<EOF
16985 int main (void) { return 0; }
16987 libitm_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
16988 -shared -shared-libgcc -o conftest.so \
16989 conftest.c -v 2>&1 >/dev/null \
16990 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
16991 rm -f conftest.c conftest.so
16992 if test x
${libitm_libgcc_s_suffix+set} = xset
; then
16993 CFLAGS
=" -lgcc_s$libitm_libgcc_s_suffix"
16994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
17005 if ac_fn_c_try_link
"$LINENO"; then :
17006 libitm_shared_libgcc
=yes
17008 rm -f core conftest.err conftest.
$ac_objext \
17009 conftest
$ac_exeext conftest.
$ac_ext
17010 CFLAGS
="$ac_save_CFLAGS"
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_shared_libgcc" >&5
17014 $as_echo "$libitm_shared_libgcc" >&6; }
17017 # For GNU ld, we need at least this version. The format is described in
17018 # LIBITM_CHECK_LINKER_FEATURES above.
17019 libitm_min_gnu_ld_version
=21400
17020 # XXXXXXXXXXX libitm_gnu_ld_version=21390
17022 # Check to see if unspecified "yes" value can win, given results above.
17023 # Change "yes" into either "no" or a style name.
17024 if test $enable_symvers != no
&& test $libitm_shared_libgcc = yes; then
17025 if test $with_gnu_ld = yes; then
17026 if test $libitm_gnu_ld_version -ge $libitm_min_gnu_ld_version ; then
17028 elif test $libitm_ld_is_gold = yes ; then
17031 # The right tools, the right setup, but too old. Fallbacks?
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&5
17033 $as_echo "$as_me: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&2;}
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
17035 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
17037 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&5
17039 $as_echo "$as_me: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&2;}
17040 if test $libitm_gnu_ld_version -ge 21200 ; then
17041 # Globbing fix is present, proper block support is not.
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17043 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17048 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17052 elif test $enable_symvers = sun
; then
17053 : All interesting versions of Sun ld support sun style symbol versioning.
17055 # just fail for now
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
17057 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
17059 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
17061 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17063 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17068 if test $enable_symvers != no
; then
17069 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
=
17070 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
='#'
17072 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
='#'
17073 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
=
17076 if test $enable_symvers = gnu
; then
17077 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
17078 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
17080 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
17081 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
17084 if test $enable_symvers = sun
; then
17085 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
17086 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
17088 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
17089 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
17093 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
17095 if test $enable_symvers = gnu
; then
17097 $as_echo "#define LIBITM_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
17101 # See if we can emit unwind info in the sjlj stub.
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .cfi pseudo-op support" >&5
17103 $as_echo_n "checking assembler .cfi pseudo-op support... " >&6; }
17104 if test "${gcc_cv_as_cfi_pseudo_op+set}" = set; then :
17105 $as_echo_n "(cached) " >&6
17108 gcc_cv_as_cfi_pseudo_op
=unknown
17109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 asm (".cfi_startproc\n\t.cfi_endproc");
17120 if ac_fn_c_try_compile
"$LINENO"; then :
17121 gcc_cv_as_cfi_pseudo_op
=yes
17123 gcc_cv_as_cfi_pseudo_op
=no
17125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_cfi_pseudo_op" >&5
17129 $as_echo "$gcc_cv_as_cfi_pseudo_op" >&6; }
17130 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes
; then
17132 $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs.h
17137 # Determine the proper ABI type for size_t.
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
17140 $as_echo_n "checking how size_t is mangled... " >&6; }
17141 if test "${libitm_cv_size_t_mangling+set}" = set; then :
17142 $as_echo_n "(cached) " >&6
17145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h. */
17151 extern __SIZE_TYPE__ x; extern unsigned long x;
17156 if ac_fn_c_try_compile
"$LINENO"; then :
17157 libitm_cv_size_t_mangling
=m
17160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17166 extern __SIZE_TYPE__ x; extern unsigned int x;
17171 if ac_fn_c_try_compile
"$LINENO"; then :
17172 libitm_cv_size_t_mangling
=j
17175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17181 extern __SIZE_TYPE__ x; extern unsigned long long x;
17186 if ac_fn_c_try_compile
"$LINENO"; then :
17187 libitm_cv_size_t_mangling
=y
17190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17196 extern __SIZE_TYPE__ x; extern unsigned short x;
17201 if ac_fn_c_try_compile
"$LINENO"; then :
17202 libitm_cv_size_t_mangling
=t
17204 libitm_cv_size_t_mangling
=x
17206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_size_t_mangling" >&5
17219 $as_echo "$libitm_cv_size_t_mangling" >&6; }
17220 if test $libitm_cv_size_t_mangling = x
; then
17221 as_fn_error
"Unknown underlying type for size_t" "$LINENO" 5
17224 cat >>confdefs.h
<<_ACEOF
17225 #define MANGLE_SIZE_T $libitm_cv_size_t_mangling
17230 # Get target configury.
17231 .
${srcdir}/configure.tgt
17232 if test -n "$UNSUPPORTED"; then
17233 as_fn_error
"Configuration ${target} is unsupported." "$LINENO" 5
17236 CFLAGS
="$save_CFLAGS $XCFLAGS"
17238 # Check for __sync_val_compare_and_swap, but only after the target has
17239 # had a chance to set XCFLAGS.
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
17242 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
17243 if test "${libitm_cv_have_sync_builtins+set}" = set; then :
17244 $as_echo_n "(cached) " >&6
17247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17253 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
17258 if ac_fn_c_try_link
"$LINENO"; then :
17259 libitm_cv_have_sync_builtins
=yes
17261 libitm_cv_have_sync_builtins
=no
17263 rm -f core conftest.err conftest.
$ac_objext \
17264 conftest
$ac_exeext conftest.
$ac_ext
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_sync_builtins" >&5
17267 $as_echo "$libitm_cv_have_sync_builtins" >&6; }
17268 if test $libitm_cv_have_sync_builtins = yes; then
17270 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports 64-bit __sync_*_compare_and_swap" >&5
17275 $as_echo_n "checking whether the target supports 64-bit __sync_*_compare_and_swap... " >&6; }
17276 if test "${libitm_cv_have_64bit_sync_builtins+set}" = set; then :
17277 $as_echo_n "(cached) " >&6
17280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 #include <stdint.h>
17287 bar = __sync_val_compare_and_swap(&foo, 0, 1);
17292 if ac_fn_c_try_link
"$LINENO"; then :
17293 libitm_cv_have_64bit_sync_builtins
=yes
17295 libitm_cv_have_64bit_sync_builtins
=no
17297 rm -f core conftest.err conftest.
$ac_objext \
17298 conftest
$ac_exeext conftest.
$ac_ext
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_64bit_sync_builtins" >&5
17301 $as_echo "$libitm_cv_have_64bit_sync_builtins" >&6; }
17302 if test $libitm_cv_have_64bit_sync_builtins = yes; then
17304 $as_echo "#define HAVE_64BIT_SYNC_BUILTINS 1" >>confdefs.h
17308 case "${target_cpu}" in
17309 i
[34567]86 | x86_64
)
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
17311 $as_echo_n "checking if the assembler supports AVX... " >&6; }
17312 if test "${libitm_cv_as_avx+set}" = set; then :
17313 $as_echo_n "(cached) " >&6
17316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17327 if ac_fn_c_try_compile
"$LINENO"; then :
17328 libitm_cv_as_avx
=yes
17330 libitm_cv_as_avx
=no
17332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_avx" >&5
17336 $as_echo "$libitm_cv_as_avx" >&6; }
17337 if test x
$libitm_cv_as_avx = xyes
; then
17339 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
17345 case "${target_cpu}" in
17346 i
[34567]86 | x86_64
)
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports RTM" >&5
17348 $as_echo_n "checking if the assembler supports RTM... " >&6; }
17349 if test "${libitm_cv_as_rtm+set}" = set; then :
17350 $as_echo_n "(cached) " >&6
17353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17359 asm("1: xbegin 1b; xend");
17364 if ac_fn_c_try_compile
"$LINENO"; then :
17365 libitm_cv_as_rtm
=yes
17367 libitm_cv_as_rtm
=no
17369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_rtm" >&5
17373 $as_echo "$libitm_cv_as_rtm" >&6; }
17374 if test x
$libitm_cv_as_rtm = xyes
; then
17376 $as_echo "#define HAVE_AS_RTM 1" >>confdefs.h
17382 case "${target_cpu}" in
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports HTM" >&5
17385 $as_echo_n "checking if the assembler supports HTM... " >&6; }
17386 if test "${libitm_cv_as_htm+set}" = set; then :
17387 $as_echo_n "(cached) " >&6
17390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17396 asm("tbegin. 0; tend. 0");
17401 if ac_fn_c_try_compile
"$LINENO"; then :
17402 libitm_cv_as_htm
=yes
17404 libitm_cv_as_htm
=no
17406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_htm" >&5
17410 $as_echo "$libitm_cv_as_htm" >&6; }
17411 if test x
$libitm_cv_as_htm = xyes
; then
17413 $as_echo "#define HAVE_AS_HTM 1" >>confdefs.h
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports HTM" >&5
17419 $as_echo_n "checking if the assembler supports HTM... " >&6; }
17420 if test "${libitm_cv_as_htm+set}" = set; then :
17421 $as_echo_n "(cached) " >&6
17424 save_CFLAGS
="$CFLAGS"
17425 CFLAGS
="$CFLAGS -march=zEC12"
17426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17432 asm("tbegin 0,0; tend");
17437 if ac_fn_c_try_compile
"$LINENO"; then :
17438 libitm_cv_as_htm
=yes
17440 libitm_cv_as_htm
=no
17442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17443 CFLAGS
="$save_CFLAGS"
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_htm" >&5
17446 $as_echo "$libitm_cv_as_htm" >&6; }
17447 if test x
$libitm_cv_as_htm = xyes
; then
17449 $as_echo "#define HAVE_AS_HTM 1" >>confdefs.h
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether weak refs work like ELF" >&5
17457 $as_echo_n "checking whether weak refs work like ELF... " >&6; }
17458 if test "${ac_cv_have_elf_style_weakref+set}" = set; then :
17459 $as_echo_n "(cached) " >&6
17462 weakref_m4_saved_CFLAGS
="$CFLAGS"
17464 *-apple-darwin*) CFLAGS
="$CFLAGS -Wl,-undefined,dynamic_lookup" ;;
17467 if test "$cross_compiling" = yes; then :
17470 *-apple-darwin[89]*) ac_cv_have_elf_style_weakref
=no
;;
17471 *) ac_cv_have_elf_style_weakref
=yes;;
17474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17477 extern void fNotToBeFound(void) __attribute__((weak));
17487 if ac_fn_c_try_run
"$LINENO"; then :
17488 ac_cv_have_elf_style_weakref
=yes
17490 ac_cv_have_elf_style_weakref
=no
17492 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17493 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17495 CFLAGS
="$weakref_m4_saved_CFLAGS"
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_elf_style_weakref" >&5
17498 $as_echo "$ac_cv_have_elf_style_weakref" >&6; }
17499 if test x
"$ac_cv_have_elf_style_weakref" = xyes
; then
17501 $as_echo "#define HAVE_ELF_STYLE_WEAKREF 1" >>confdefs.h
17505 # Cleanup and exit.
17506 CFLAGS
="$save_CFLAGS"
17507 cat >confcache
<<\_ACEOF
17508 # This file is a shell script that caches the results of configure
17509 # tests run on this system so they can be shared between configure
17510 # scripts and configure runs, see configure's option --config-cache.
17511 # It is not useful on other systems. If it contains results you don't
17512 # want to keep, you may remove or edit it.
17514 # config.status only pays attention to the cache file if you give it
17515 # the --recheck option to rerun configure.
17517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17519 # following values.
17523 # The following way of writing the cache mishandles newlines in values,
17524 # but we know of no workaround that is simple, portable, and efficient.
17525 # So, we kill variables containing newlines.
17526 # Ultrix sh set writes to stderr and can't be redirected directly,
17527 # and sets the high bit in the cache file unless we assign to the vars.
17529 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17530 eval ac_val
=\$
$ac_var
17534 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17535 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17538 _ | IFS | as_nl
) ;; #(
17539 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17540 *) { eval $ac_var=; unset $ac_var;} ;;
17546 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17547 *${as_nl}ac_space
=\
*)
17548 # `set' does not quote correctly, so add quotes: double-quote
17549 # substitution turns \\\\ into \\, and sed turns \\ into \.
17552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17555 # `set' quotes correctly as required by POSIX, so do not add quotes.
17556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17567 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17569 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17570 if test -w "$cache_file"; then
17571 test "x$cache_file" != "x/dev/null" &&
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17573 $as_echo "$as_me: updating cache $cache_file" >&6;}
17574 cat confcache
>$cache_file
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17577 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17582 # Add -Wall -Werror if we are using GCC.
17583 if test "x$GCC" = "xyes"; then
17584 XCFLAGS
="$XCFLAGS -Wall -Werror"
17587 XCFLAGS
="$XCFLAGS $XPCFLAGS"
17593 if test ${multilib} = yes; then
17594 multilib_arg
="--enable-multilib"
17599 # Set up the set of libraries that we need to link against for libitm.
17600 # Note that the GTM_SELF_SPECS in gcc.c will force -pthread for -fgnu-tm,
17601 # which will force linkage against -lpthread (or equivalent for the system).
17602 # That's not 100% ideal, but about the best we can do easily.
17603 if test $enable_shared = yes; then
17604 link_itm
="-litm %{static: $LIBS}"
17606 link_itm
="-litm $LIBS"
17610 if test "$ARCH" = arm
; then
17618 if test "$ARCH" = x86
; then
17626 if test "$libitm_cv_as_avx" = yes; then
17628 ARCH_X86_AVX_FALSE
='#'
17630 ARCH_X86_AVX_TRUE
='#'
17631 ARCH_X86_AVX_FALSE
=
17634 if test $enable_linux_futex = yes; then
17636 ARCH_FUTEX_FALSE
='#'
17638 ARCH_FUTEX_TRUE
='#'
17643 # Determine what GCC version number to use in filesystem paths.
17645 get_gcc_base_ver
="cat"
17647 # Check whether --with-gcc-major-version-only was given.
17648 if test "${with_gcc_major_version_only+set}" = set; then :
17649 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
17650 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
17658 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libitm.spec"
17660 cat >confcache
<<\_ACEOF
17661 # This file is a shell script that caches the results of configure
17662 # tests run on this system so they can be shared between configure
17663 # scripts and configure runs, see configure's option --config-cache.
17664 # It is not useful on other systems. If it contains results you don't
17665 # want to keep, you may remove or edit it.
17667 # config.status only pays attention to the cache file if you give it
17668 # the --recheck option to rerun configure.
17670 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17671 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17672 # following values.
17676 # The following way of writing the cache mishandles newlines in values,
17677 # but we know of no workaround that is simple, portable, and efficient.
17678 # So, we kill variables containing newlines.
17679 # Ultrix sh set writes to stderr and can't be redirected directly,
17680 # and sets the high bit in the cache file unless we assign to the vars.
17682 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17683 eval ac_val
=\$
$ac_var
17687 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17691 _ | IFS | as_nl
) ;; #(
17692 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17693 *) { eval $ac_var=; unset $ac_var;} ;;
17699 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17700 *${as_nl}ac_space
=\
*)
17701 # `set' does not quote correctly, so add quotes: double-quote
17702 # substitution turns \\\\ into \\, and sed turns \\ into \.
17705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17708 # `set' quotes correctly as required by POSIX, so do not add quotes.
17709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17720 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17722 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17723 if test -w "$cache_file"; then
17724 test "x$cache_file" != "x/dev/null" &&
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17726 $as_echo "$as_me: updating cache $cache_file" >&6;}
17727 cat confcache
>$cache_file
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17730 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17735 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17736 # Let make expand exec_prefix.
17737 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17739 DEFS
=-DHAVE_CONFIG_H
17743 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17744 # 1. Remove the extension, and $U if already installed.
17745 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17746 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17747 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17748 # will be set to the directory where LIBOBJS objects are built.
17749 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17750 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17752 LIBOBJS
=$ac_libobjs
17754 LTLIBOBJS
=$ac_ltlibobjs
17757 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
17758 as_fn_error
"conditional \"GENINSRC\" was never defined.
17759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17761 if test -n "$EXEEXT"; then
17763 am__EXEEXT_FALSE
='#'
17765 am__EXEEXT_TRUE
='#'
17769 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17770 as_fn_error
"conditional \"AMDEP\" was never defined.
17771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17773 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17774 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
17775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17777 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17778 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
17779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17781 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17782 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
17783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17785 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
17786 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
17787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17789 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17790 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17794 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
17795 as_fn_error
"conditional \"HAVE_HWCAP\" was never defined.
17796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17798 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_FALSE}"; then
17799 as_fn_error
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB\" was never defined.
17800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17802 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
17803 as_fn_error
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
17804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17806 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
17807 as_fn_error
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
17808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17810 if test -z "${ARCH_ARM_TRUE}" && test -z "${ARCH_ARM_FALSE}"; then
17811 as_fn_error
"conditional \"ARCH_ARM\" was never defined.
17812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17814 if test -z "${ARCH_X86_TRUE}" && test -z "${ARCH_X86_FALSE}"; then
17815 as_fn_error
"conditional \"ARCH_X86\" was never defined.
17816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17818 if test -z "${ARCH_X86_AVX_TRUE}" && test -z "${ARCH_X86_AVX_FALSE}"; then
17819 as_fn_error
"conditional \"ARCH_X86_AVX\" was never defined.
17820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17822 if test -z "${ARCH_FUTEX_TRUE}" && test -z "${ARCH_FUTEX_FALSE}"; then
17823 as_fn_error
"conditional \"ARCH_FUTEX\" was never defined.
17824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17827 : ${CONFIG_STATUS=./config.status}
17829 ac_clean_files_save
=$ac_clean_files
17830 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17832 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17834 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17836 # Generated by $as_me.
17837 # Run this file to recreate the current configuration.
17838 # Compiler output produced by configure, useful for debugging
17839 # configure, is in config.log if it exists.
17842 ac_cs_recheck=false
17845 SHELL=\${CONFIG_SHELL-$SHELL}
17848 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17849 ## -------------------- ##
17850 ## M4sh Initialization. ##
17851 ## -------------------- ##
17853 # Be more Bourne compatible
17854 DUALCASE
=1; export DUALCASE
# for MKS sh
17855 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17858 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17859 # is contrary to our usage. Disable this feature.
17860 alias -g '${1+"$@"}'='"$@"'
17861 setopt NO_GLOB_SUBST
17863 case `(set -o) 2>/dev/null` in #(
17875 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17876 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17879 # Prefer a ksh shell builtin over an external printf program on Solaris,
17880 # but without wasting forks for bash or zsh.
17881 if test -z "$BASH_VERSION$ZSH_VERSION" \
17882 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17883 as_echo='print
-r --'
17884 as_echo_n='print
-rn --'
17885 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17886 as_echo='printf %s
\n'
17887 as_echo_n='printf %s
'
17889 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17890 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17891 as_echo_n='/usr
/ucb
/echo -n'
17893 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17894 as_echo_n_body='eval
17898 expr "X$arg" : "X\\(.*\\)$as_nl";
17899 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17901 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17903 export as_echo_n_body
17904 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17906 export as_echo_body
17907 as_echo='sh
-c $as_echo_body as_echo
'
17910 # The user is always right.
17911 if test "${PATH_SEPARATOR+set}" != set; then
17913 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17914 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17921 # We need space, tab and new line, in precisely that order. Quoting is
17922 # there to prevent editors from complaining about space-tab.
17923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17924 # splitting by setting IFS to empty value.)
17927 # Find who we are. Look in the path if we contain no directory separator.
17929 *[\\/]* ) as_myself=$0 ;;
17930 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17931 for as_dir in $PATH
17934 test -z "$as_dir" && as_dir=.
17935 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17941 # We did not find ourselves, most probably we were run as `sh COMMAND'
17942 # in which case we are not to be found in the path.
17943 if test "x$as_myself" = x
; then
17946 if test ! -f "$as_myself"; then
17947 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17951 # Unset variables that we do not need and which cause bugs (e.g. in
17952 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17953 # suppresses any "Segmentation fault" message there. '((' could
17954 # trigger a bug in pdksh 5.2.14.
17955 for as_var
in BASH_ENV ENV MAIL MAILPATH
17956 do eval test x\
${$as_var+set} = xset \
17957 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17970 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17973 # as_fn_error ERROR [LINENO LOG_FD]
17974 # ---------------------------------
17975 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17976 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17977 # script with status $?, using 1 if that was 0.
17980 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17982 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17983 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17985 $as_echo "$as_me: error: $1" >&2
17986 as_fn_exit
$as_status
17990 # as_fn_set_status STATUS
17991 # -----------------------
17992 # Set $? to STATUS, without forking.
17993 as_fn_set_status
()
17996 } # as_fn_set_status
17998 # as_fn_exit STATUS
17999 # -----------------
18000 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18004 as_fn_set_status
$1
18010 # Portably unset VAR.
18013 { eval $1=; unset $1;}
18015 as_unset
=as_fn_unset
18016 # as_fn_append VAR VALUE
18017 # ----------------------
18018 # Append the text in VALUE to the end of the definition contained in VAR. Take
18019 # advantage of any shell optimizations that allow amortized linear growth over
18020 # repeated appends, instead of the typical quadratic growth present in naive
18022 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18023 eval 'as_fn_append ()
18034 # as_fn_arith ARG...
18035 # ------------------
18036 # Perform arithmetic evaluation on the ARGs, and store the result in the
18037 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18038 # must be portable across $(()) and expr.
18039 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18040 eval 'as_fn_arith ()
18047 as_val
=`expr "$@" || test $? -eq 1`
18052 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18053 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18059 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18060 as_basename
=basename
18065 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18071 as_me
=`$as_basename -- "$0" ||
18072 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18073 X"$0" : 'X\(//\)$' \| \
18074 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18076 sed '/^.*\/\([^/][^/]*\)\/*$/{
18090 # Avoid depending upon Character Ranges.
18091 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18092 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18093 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18094 as_cr_digits
='0123456789'
18095 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18097 ECHO_C
= ECHO_N
= ECHO_T
=
18098 case `echo -n x` in #(((((
18100 case `echo 'xy\c'` in
18101 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18103 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18110 rm -f conf$$ conf$$.exe conf$$.
file
18111 if test -d conf$$.dir
; then
18112 rm -f conf$$.dir
/conf$$.
file
18115 mkdir conf$$.dir
2>/dev
/null
18117 if (echo >conf$$.
file) 2>/dev
/null
; then
18118 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18120 # ... but there are two gotchas:
18121 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18122 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18123 # In both cases, we have to default to `cp -p'.
18124 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18126 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18134 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18135 rmdir conf$$.dir
2>/dev
/null
18140 # Create "$as_dir" as a directory, including parents if necessary.
18145 -*) as_dir
=.
/$as_dir;;
18147 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18151 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18152 *) as_qdir
=$as_dir;;
18154 as_dirs
="'$as_qdir' $as_dirs"
18155 as_dir
=`$as_dirname -- "$as_dir" ||
18156 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18157 X"$as_dir" : 'X\(//\)[^/]' \| \
18158 X"$as_dir" : 'X\(//\)$' \| \
18159 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18160 $as_echo X"$as_dir" |
18161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18165 /^X\(\/\/\)[^/].*/{
18178 test -d "$as_dir" && break
18180 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18181 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
18185 if mkdir
-p .
2>/dev
/null
; then
18186 as_mkdir_p
='mkdir -p "$as_dir"'
18188 test -d .
/-p && rmdir .
/-p
18192 if test -x / >/dev
/null
2>&1; then
18193 as_test_x
='test -x'
18195 if ls -dL / >/dev
/null
2>&1; then
18202 if test -d "$1"; then
18208 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18209 ???[sx]*):;;*)false;;esac;fi
18213 as_executable_p
=$as_test_x
18215 # Sed expression to map a string onto a valid CPP name.
18216 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18218 # Sed expression to map a string onto a valid variable name.
18219 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18223 ## ----------------------------------- ##
18224 ## Main body of $CONFIG_STATUS script. ##
18225 ## ----------------------------------- ##
18227 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18230 # Save the log message, to keep $0 and so on meaningful, and to
18231 # report actual input values of CONFIG_FILES etc. instead of their
18232 # values after options handling.
18234 This file was extended by GNU TM Runtime Library $as_me 1.0, which was
18235 generated by GNU Autoconf 2.64. Invocation command line was
18237 CONFIG_FILES = $CONFIG_FILES
18238 CONFIG_HEADERS = $CONFIG_HEADERS
18239 CONFIG_LINKS = $CONFIG_LINKS
18240 CONFIG_COMMANDS = $CONFIG_COMMANDS
18243 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18248 case $ac_config_files in *"
18249 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18252 case $ac_config_headers in *"
18253 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18258 # Files that config.status was made for.
18259 config_files="$ac_config_files"
18260 config_headers="$ac_config_headers"
18261 config_commands="$ac_config_commands"
18265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18267 \`$as_me' instantiates files and other configuration actions
18268 from templates according to the current configuration. Unless the files
18269 and actions are specified as TAGs, all are instantiated by default.
18271 Usage: $0 [OPTION]... [TAG]...
18273 -h, --help print this help, then exit
18274 -V, --version print version number and configuration settings, then exit
18275 -q, --quiet, --silent
18276 do not print progress messages
18277 -d, --debug don't remove temporary files
18278 --recheck update $as_me by reconfiguring in the same conditions
18279 --file=FILE[:TEMPLATE]
18280 instantiate the configuration file FILE
18281 --header=FILE[:TEMPLATE]
18282 instantiate the configuration header FILE
18284 Configuration files:
18287 Configuration headers:
18290 Configuration commands:
18293 Report bugs to the package provider.
18294 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
18295 General help using GNU software: <http://www.gnu.org/gethelp/>."
18298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18300 GNU TM Runtime Library config.status 1.0
18301 configured by $0, generated by GNU Autoconf 2.64,
18302 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18304 Copyright (C) 2009 Free Software Foundation, Inc.
18305 This config.status script is free software; the Free Software Foundation
18306 gives unlimited permission to copy, distribute and modify it."
18313 test -n "\$AWK" || AWK=awk
18316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18317 # The default lists apply if the user does not specify any file.
18323 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18324 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18335 # Handling of the options.
18336 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18338 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18339 $as_echo "$ac_cs_version"; exit ;;
18340 --debug |
--debu |
--deb |
--de |
--d |
-d )
18342 --file |
--fil |
--fi |
--f )
18345 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18347 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18348 ac_need_defaults
=false
;;
18349 --header |
--heade |
--head |
--hea )
18352 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18354 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18355 ac_need_defaults
=false
;;
18357 # Conflict between --help and --header
18358 as_fn_error
"ambiguous option: \`$1'
18359 Try \`$0 --help' for more information.";;
18360 --help |
--hel |
-h )
18361 $as_echo "$ac_cs_usage"; exit ;;
18362 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18363 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18366 # This is an error.
18367 -*) as_fn_error
"unrecognized option: \`$1'
18368 Try \`$0 --help' for more information." ;;
18370 *) as_fn_append ac_config_targets
" $1"
18371 ac_need_defaults
=false
;;
18377 ac_configure_extra_args
=
18379 if $ac_cs_silent; then
18381 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18386 if \$ac_cs_recheck; then
18387 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18389 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18390 CONFIG_SHELL='$SHELL'
18391 export CONFIG_SHELL
18396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18400 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18401 ## Running $as_me. ##
18407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18415 with_multisubdir="$with_multisubdir"
18416 with_multisrctop="$with_multisrctop"
18417 with_target_subdir="$with_target_subdir"
18418 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18419 multi_basedir="$multi_basedir"
18420 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18423 GFORTRAN="$GFORTRAN"
18424 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18427 # The HP-UX ksh and POSIX shell print the target directory to stdout
18428 # if CDPATH is set.
18429 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18431 sed_quote_subst='$sed_quote_subst'
18432 double_quote_subst='$double_quote_subst'
18433 delay_variable_subst='$delay_variable_subst'
18434 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18435 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18436 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18437 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18438 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18439 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18440 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18441 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18442 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18443 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18444 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18445 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18446 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18447 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18448 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18449 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18450 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18451 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18452 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18453 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18454 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18455 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18456 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18457 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18458 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18459 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18460 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18461 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18462 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18463 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18464 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18465 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18466 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18467 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18468 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18469 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18470 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18471 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18472 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18473 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18474 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18475 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18476 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18477 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18478 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18479 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18480 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18481 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18482 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"`'
18483 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18484 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18485 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18486 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18487 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18488 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18489 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18490 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18491 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18492 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18493 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18494 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18495 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18496 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18497 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18498 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18499 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18500 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18501 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18502 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18503 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18504 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18505 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18506 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18507 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18508 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18509 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18510 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18511 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18512 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18513 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18514 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18515 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18516 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18517 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18518 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18519 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18520 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18521 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18522 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18523 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18524 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18525 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18526 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18527 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18528 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18529 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18530 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18531 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18532 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18533 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18534 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18535 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18536 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18537 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18538 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18539 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18540 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18541 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18542 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18543 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18544 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18545 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18546 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18547 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18548 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18549 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18550 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18551 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18552 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18553 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18554 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18555 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18556 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18557 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18558 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18559 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18560 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18561 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18562 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18563 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18564 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18565 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18566 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18567 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18568 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18569 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18570 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18571 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18572 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18573 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18574 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18575 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18576 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18577 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18578 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18579 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18580 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18581 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18582 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18583 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18584 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18585 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18586 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18587 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18588 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18589 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18590 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18591 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18592 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18593 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18594 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18595 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18596 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18597 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18598 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18599 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18600 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18601 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18602 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18603 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18604 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18605 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18606 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18607 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18608 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18611 LTCFLAGS='$LTCFLAGS'
18612 compiler='$compiler_DEFAULT'
18614 # A function that is used when there is no print builtin or printf.
18615 func_fallback_echo ()
18617 eval 'cat <<_LTECHO_EOF
18622 # Quote evaled strings.
18636 deplibs_check_method \
18645 lt_cv_sys_global_symbol_pipe \
18646 lt_cv_sys_global_symbol_to_cdecl \
18647 lt_cv_sys_global_symbol_to_c_name_address \
18648 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18649 lt_prog_compiler_no_builtin_flag \
18650 lt_prog_compiler_wl \
18651 lt_prog_compiler_pic \
18652 lt_prog_compiler_static \
18653 lt_cv_prog_compiler_c_o \
18661 export_dynamic_flag_spec \
18662 whole_archive_flag_spec \
18663 compiler_needs_object \
18665 allow_undefined_flag \
18666 no_undefined_flag \
18667 hardcode_libdir_flag_spec \
18668 hardcode_libdir_flag_spec_ld \
18669 hardcode_libdir_separator \
18674 variables_saved_for_relink \
18676 library_names_spec \
18678 install_override_mode \
18682 compiler_lib_search_dirs \
18687 compiler_lib_search_path \
18691 lt_prog_compiler_no_builtin_flag_CXX \
18692 lt_prog_compiler_wl_CXX \
18693 lt_prog_compiler_pic_CXX \
18694 lt_prog_compiler_static_CXX \
18695 lt_cv_prog_compiler_c_o_CXX \
18696 export_dynamic_flag_spec_CXX \
18697 whole_archive_flag_spec_CXX \
18698 compiler_needs_object_CXX \
18700 allow_undefined_flag_CXX \
18701 no_undefined_flag_CXX \
18702 hardcode_libdir_flag_spec_CXX \
18703 hardcode_libdir_flag_spec_ld_CXX \
18704 hardcode_libdir_separator_CXX \
18705 fix_srcfile_path_CXX \
18706 exclude_expsyms_CXX \
18707 include_expsyms_CXX \
18708 file_list_spec_CXX \
18709 compiler_lib_search_dirs_CXX \
18710 predep_objects_CXX \
18711 postdep_objects_CXX \
18714 compiler_lib_search_path_CXX; do
18715 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18716 *[\\\\\\\`\\"\\\$]*)
18717 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18720 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18725 # Double-quote double-evaled strings.
18726 for var in reload_cmds \
18727 old_postinstall_cmds \
18728 old_postuninstall_cmds \
18730 extract_expsyms_cmds \
18731 old_archive_from_new_cmds \
18732 old_archive_from_expsyms_cmds \
18734 archive_expsym_cmds \
18736 module_expsym_cmds \
18737 export_symbols_cmds \
18740 postuninstall_cmds \
18742 sys_lib_search_path_spec \
18743 sys_lib_dlsearch_path_spec \
18745 old_archive_cmds_CXX \
18746 old_archive_from_new_cmds_CXX \
18747 old_archive_from_expsyms_cmds_CXX \
18749 archive_expsym_cmds_CXX \
18751 module_expsym_cmds_CXX \
18752 export_symbols_cmds_CXX \
18753 prelink_cmds_CXX; do
18754 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18755 *[\\\\\\\`\\"\\\$]*)
18756 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18759 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18764 ac_aux_dir='$ac_aux_dir'
18765 xsi_shell='$xsi_shell'
18766 lt_shell_append='$lt_shell_append'
18768 # See if we are running on zsh, and set the options which allow our
18769 # commands through without removal of \ escapes INIT.
18770 if test -n "\${ZSH_VERSION+set}" ; then
18771 setopt NO_GLOB_SUBST
18777 TIMESTAMP='$TIMESTAMP'
18788 acx_cv_header_stdint="$acx_cv_header_stdint"
18789 acx_cv_type_int8_t="$acx_cv_type_int8_t"
18790 acx_cv_type_int16_t="$acx_cv_type_int16_t"
18791 acx_cv_type_int32_t="$acx_cv_type_int32_t"
18792 acx_cv_type_int64_t="$acx_cv_type_int64_t"
18793 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
18794 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
18795 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
18796 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18797 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18798 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
18799 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18800 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18801 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
18806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18808 # Handling of arguments.
18809 for ac_config_target
in $ac_config_targets
18811 case $ac_config_target in
18812 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18813 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18814 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18815 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18816 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
18817 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18818 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
18819 "libitm.spec") CONFIG_FILES
="$CONFIG_FILES libitm.spec" ;;
18821 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18826 # If the user did not use the arguments to specify the items to instantiate,
18827 # then the envvar interface is used. Set only those that are not.
18828 # We use the long form for the default assignment because of an extremely
18829 # bizarre bug on SunOS 4.1.3.
18830 if $ac_need_defaults; then
18831 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18832 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18833 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18836 # Have a temporary directory for convenience. Make it in the build tree
18837 # simply because there is no reason against having it here, and in addition,
18838 # creating and moving files from /tmp can sometimes cause problems.
18839 # Hook for its removal unless debugging.
18840 # Note that there is a small window in which the directory will not be cleaned:
18841 # after its creation but before its name has been assigned to `$tmp'.
18845 trap 'exit_status=$?
18846 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18848 trap 'as_fn_exit 1' 1 2 13 15
18850 # Create a (secure) tmp directory for tmp files.
18853 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18854 test -n "$tmp" && test -d "$tmp"
18857 tmp
=.
/conf$$
-$RANDOM
18858 (umask 077 && mkdir
"$tmp")
18859 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18861 # Set up the scripts for CONFIG_FILES section.
18862 # No need to generate them if there are no CONFIG_FILES.
18863 # This happens for instance with `./config.status config.h'.
18864 if test -n "$CONFIG_FILES"; then
18867 ac_cr
=`echo X | tr X '\015'`
18868 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18869 # But we know of no other shell where ac_cr would be empty at this
18870 # point, so we can use a bashism as a fallback.
18871 if test "x$ac_cr" = x
; then
18872 eval ac_cr
=\$
\'\\r
\'
18874 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18875 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18878 ac_cs_awk_cr
=$ac_cr
18881 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18886 echo "cat >conf$$subs.awk <<_ACEOF" &&
18887 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18889 } >conf$$subs.sh ||
18890 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18891 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18893 for ac_last_try in false false false false false :; do
18894 . ./conf$$subs.sh ||
18895 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18897 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18898 if test $ac_delim_n = $ac_delim_num; then
18900 elif $ac_last_try; then
18901 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18903 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18906 rm -f conf$$subs.sh
18908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18909 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18913 s/^/S["/; s
/!.
*/"]=/
18923 s/\(.\{148\}\).*/\1/
18925 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18930 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18937 s/\(.\{148\}\).*/\1/
18939 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18943 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18948 ' <conf$$subs.awk | sed '
18953 ' >>$CONFIG_STATUS || ac_write_fail=1
18954 rm -f conf$$subs.awk
18955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18957 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18958 for (key in S) S_is_set[key] = 1
18964 nfields = split(line, field, "@
")
18966 len = length(field[1])
18967 for (i = 2; i < nfields; i++) {
18969 keylen = length(key)
18970 if (S_is_set[key]) {
18972 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18973 len += length(value) + length(field[++i])
18984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18985 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18986 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18989 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18990 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18993 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18994 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18995 # trailing colons and then remove the whole line if VPATH becomes empty
18996 # (actually we leave an empty line to preserve line numbers).
18997 if test "x
$srcdir" = x.; then
18998 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18999 s/:*\$(srcdir):*/:/
19000 s/:*\${srcdir}:*/:/
19002 s/^\([^=]*=[ ]*\):*/\1/
19008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19009 fi # test -n "$CONFIG_FILES"
19011 # Set up the scripts for CONFIG_HEADERS section.
19012 # No need to generate them if there are no CONFIG_HEADERS.
19013 # This happens for instance with `./config.status Makefile'.
19014 if test -n "$CONFIG_HEADERS"; then
19015 cat >"$tmp/defines.
awk" <<\_ACAWK ||
19019 # Transform confdefs.h into an awk script `defines.awk', embedded as
19020 # here-document in config.status, that substitutes the proper values into
19021 # config.h.in to produce config.h.
19023 # Create a delimiter string that does not exist in confdefs.h, to ease
19024 # handling of long lines.
19026 for ac_last_try in false false :; do
19027 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
19028 if test -z "$ac_t"; then
19030 elif $ac_last_try; then
19031 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
19033 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19037 # For the awk script, D is an array of macro values keyed by name,
19038 # likewise P contains macro parameters if any. Preserve backslash
19039 # newline sequences.
19041 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19043 s/.\{148\}/&'"$ac_delim"'/g
19046 s/^[ ]*#[ ]*define[ ][ ]*/ /
19053 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19055 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19059 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19060 D["\
1"]=" \
3\\\\\\n
"\\/p
19062 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19067 s/.\{148\}/&'"$ac_delim"'/g
19072 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19075 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19077 ' <confdefs.h | sed '
19078 s/'"$ac_delim"'/"\\\
19079 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19082 for (key in D) D_is_set[key] = 1
19085 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19087 split(line, arg, " ")
19088 if (arg[1] == "#") {
19092 defundef
= substr
(arg
[1], 2)
19095 split(mac1
, mac2
, "(") #)
19097 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19098 if (D_is_set
[macro
]) {
19099 # Preserve the white space surrounding the "#".
19100 print prefix
"define", macro P
[macro
] D
[macro
]
19103 # Replace #undef with comments. This is necessary, for example,
19104 # in the case of _POSIX_SOURCE, which is predefined and required
19105 # on some systems where configure will not decide to define it.
19106 if (defundef
== "undef") {
19107 print
"/*", prefix defundef
, macro
, "*/"
19115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19116 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
19117 fi # test -n "$CONFIG_HEADERS"
19120 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19125 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19127 case $ac_mode$ac_tag in
19129 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19130 :[FH
]-) ac_tag
=-:-;;
19131 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19148 -) ac_f
="$tmp/stdin";;
19149 *) # Look for the file first in the build tree, then in the source tree
19150 # (if the path is not absolute). The absolute path cannot be DOS-style,
19151 # because $ac_f cannot contain `:'.
19155 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19157 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
19159 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19160 as_fn_append ac_file_inputs
" '$ac_f'"
19163 # Let's still pretend it is `configure' which instantiates (i.e., don't
19164 # use $as_me), people would be surprised to read:
19165 # /* config.h. Generated by config.status. */
19166 configure_input
='Generated from '`
19167 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19169 if test x
"$ac_file" != x-
; then
19170 configure_input
="$ac_file. $configure_input"
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19172 $as_echo "$as_me: creating $ac_file" >&6;}
19174 # Neutralize special characters interpreted by sed in replacement strings.
19175 case $configure_input in #(
19176 *\
&* |
*\|
* |
*\\* )
19177 ac_sed_conf_input
=`$as_echo "$configure_input" |
19178 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19179 *) ac_sed_conf_input
=$configure_input;;
19183 *:-:* |
*:-) cat >"$tmp/stdin" \
19184 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
19189 ac_dir
=`$as_dirname -- "$ac_file" ||
19190 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19191 X"$ac_file" : 'X\(//\)[^/]' \| \
19192 X"$ac_file" : 'X\(//\)$' \| \
19193 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19194 $as_echo X"$ac_file" |
19195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19199 /^X\(\/\/\)[^/].*/{
19212 as_dir
="$ac_dir"; as_fn_mkdir_p
19216 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19218 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19219 # A ".." for each directory in $ac_dir_suffix.
19220 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19221 case $ac_top_builddir_sub in
19222 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19223 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19226 ac_abs_top_builddir
=$ac_pwd
19227 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19228 # for backward compatibility:
19229 ac_top_builddir
=$ac_top_build_prefix
19232 .
) # We are building in place.
19234 ac_top_srcdir
=$ac_top_builddir_sub
19235 ac_abs_top_srcdir
=$ac_pwd ;;
19236 [\\/]* | ?
:[\\/]* ) # Absolute name.
19237 ac_srcdir
=$srcdir$ac_dir_suffix;
19238 ac_top_srcdir
=$srcdir
19239 ac_abs_top_srcdir
=$srcdir ;;
19240 *) # Relative name.
19241 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19242 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19243 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19245 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19255 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19256 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19258 ac_MKDIR_P
=$MKDIR_P
19260 [\\/$
]* | ?
:[\\/]* ) ;;
19261 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19266 # If the template does not know about datarootdir, expand it.
19267 # FIXME: This hack should be removed a few years after 2.60.
19268 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19279 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19280 *datarootdir
*) ac_datarootdir_seen
=yes;;
19281 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19283 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19286 ac_datarootdir_hack='
19287 s&@datadir@&$datadir&g
19288 s&@docdir@&$docdir&g
19289 s&@infodir@&$infodir&g
19290 s&@localedir@&$localedir&g
19291 s&@mandir@&$mandir&g
19292 s&\\\${datarootdir}&$datarootdir&g' ;;
19296 # Neutralize VPATH when `$srcdir' = `.'.
19297 # Shell code in configure.ac might set extrasub.
19298 # FIXME: do we really want to maintain this feature?
19299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19300 ac_sed_extra="$ac_vpsub
19303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19305 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19306 s|@configure_input@|
$ac_sed_conf_input|
;t t
19307 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19308 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19309 s
&@srcdir@
&$ac_srcdir&;t t
19310 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19311 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19312 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19313 s
&@builddir@
&$ac_builddir&;t t
19314 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19315 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19316 s
&@INSTALL@
&$ac_INSTALL&;t t
19317 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19318 $ac_datarootdir_hack
19320 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19321 || as_fn_error "could not create
$ac_file" "$LINENO" 5
19323 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19324 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19325 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19327 which seems to be undefined. Please make sure it is defined." >&5
19328 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19329 which seems to be undefined. Please make sure it is defined." >&2;}
19333 -) cat "$tmp/out" && rm -f "$tmp/out";;
19334 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19336 || as_fn_error "could not create $ac_file" "$LINENO" 5
19342 if test x"$ac_file" != x-; then
19344 $as_echo "/* $configure_input */" \
19345 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19346 } >"$tmp/config.h" \
19347 || as_fn_error "could not create $ac_file" "$LINENO" 5
19348 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19350 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19353 mv "$tmp/config.h" "$ac_file" \
19354 || as_fn_error "could not create $ac_file" "$LINENO" 5
19357 $as_echo "/* $configure_input */" \
19358 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19359 || as_fn_error "could not create -" "$LINENO" 5
19361 # Compute "$ac_file"'s index
in $config_headers.
19364 for _am_header
in $config_headers :; do
19365 case $_am_header in
19366 $_am_arg |
$_am_arg:* )
19369 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19372 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19373 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19374 X"$_am_arg" : 'X\(//\)[^/]' \| \
19375 X"$_am_arg" : 'X\(//\)$' \| \
19376 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19377 $as_echo X"$_am_arg" |
19378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19382 /^X\(\/\/\)[^/].*/{
19394 s/.*/./; q'`/stamp-h
$_am_stamp_count
19397 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19398 $as_echo "$as_me: executing $ac_file commands" >&6;}
19403 case $ac_file$ac_mode in
19405 # Only add multilib support code if we just rebuilt the top-level
19407 case " $CONFIG_FILES " in
19409 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
19412 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19413 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19414 # are listed without --file. Let's play safe and only enable the eval
19415 # if we detect the quoting.
19416 case $CONFIG_FILES in
19417 *\'*) eval set x
"$CONFIG_FILES" ;;
19418 *) set x
$CONFIG_FILES ;;
19423 # Strip MF so we end up with the name of the file.
19424 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19425 # Check whether this is an Automake generated Makefile or not.
19426 # We used to match only the files named `Makefile.in', but
19427 # some people rename them; so instead we look at the file content.
19428 # Grep'ing the first line is not enough: some people post-process
19429 # each Makefile.in and add a new line on top of each file to say so.
19430 # Grep'ing the whole file is not good either: AIX grep has a line
19431 # limit of 2048, but all sed's we know have understand at least 4000.
19432 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19433 dirpart
=`$as_dirname -- "$mf" ||
19434 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19435 X"$mf" : 'X\(//\)[^/]' \| \
19436 X"$mf" : 'X\(//\)$' \| \
19437 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19443 /^X\(\/\/\)[^/].*/{
19459 # Extract the definition of DEPDIR, am__include, and am__quote
19460 # from the Makefile without running `make'.
19461 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19462 test -z "$DEPDIR" && continue
19463 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19464 test -z "am__include" && continue
19465 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19466 # When using ansi2knr, U may be empty or an underscore; expand it
19467 U
=`sed -n 's/^U = //p' < "$mf"`
19468 # Find all dependency output files, they are included files with
19469 # $(DEPDIR) in their names. We invoke sed twice because it is the
19470 # simplest approach to changing $(DEPDIR) to its actual value in the
19472 for file in `sed -n "
19473 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19474 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19475 # Make sure the directory exists.
19476 test -f "$dirpart/$file" && continue
19477 fdir
=`$as_dirname -- "$file" ||
19478 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19479 X"$file" : 'X\(//\)[^/]' \| \
19480 X"$file" : 'X\(//\)$' \| \
19481 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19482 $as_echo X"$file" |
19483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19487 /^X\(\/\/\)[^/].*/{
19500 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19501 # echo "creating $dirpart/$file"
19502 echo '# dummy' > "$dirpart/$file"
19509 # See if we are running on zsh, and set the options which allow our
19510 # commands through without removal of \ escapes.
19511 if test -n "${ZSH_VERSION+set}" ; then
19512 setopt NO_GLOB_SUBST
19515 cfgfile
="${ofile}T"
19516 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19519 cat <<_LT_EOF >> "$cfgfile"
19522 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19523 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19524 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19525 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19527 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19528 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19529 # Written by Gordon Matzigkeit, 1996
19531 # This file is part of GNU Libtool.
19533 # GNU Libtool is free software; you can redistribute it and/or
19534 # modify it under the terms of the GNU General Public License as
19535 # published by the Free Software Foundation; either version 2 of
19536 # the License, or (at your option) any later version.
19538 # As a special exception to the GNU General Public License,
19539 # if you distribute this file as part of a program or library that
19540 # is built using GNU Libtool, you may include this file under the
19541 # same distribution terms that you use for the rest of that program.
19543 # GNU Libtool is distributed in the hope that it will be useful,
19544 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19545 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19546 # GNU General Public License for more details.
19548 # You should have received a copy of the GNU General Public License
19549 # along with GNU Libtool; see the file COPYING. If not, a copy
19550 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19551 # obtained by writing to the Free Software Foundation, Inc.,
19552 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19555 # The names of the tagged configurations supported by this script.
19556 available_tags="CXX "
19558 # ### BEGIN LIBTOOL CONFIG
19560 # Which release of libtool.m4 was used?
19561 macro_version=$macro_version
19562 macro_revision=$macro_revision
19564 # Whether or not to build shared libraries.
19565 build_libtool_libs=$enable_shared
19567 # Whether or not to build static libraries.
19568 build_old_libs=$enable_static
19570 # What type of objects to build.
19573 # Whether or not to optimize for fast installation.
19574 fast_install=$enable_fast_install
19576 # Shell to use when invoking shell scripts.
19579 # An echo program that protects backslashes.
19583 host_alias=$host_alias
19587 # The build system.
19588 build_alias=$build_alias
19592 # A sed program that does not truncate output.
19595 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19596 Xsed="\$SED -e 1s/^X//"
19598 # A grep program that handles long lines.
19604 # A literal string matcher.
19607 # A BSD- or MS-compatible name lister.
19610 # Whether we need soft or hard links.
19613 # What is the maximum length of a command?
19614 max_cmd_len=$max_cmd_len
19616 # Object file suffix (normally "o").
19619 # Executable file suffix (normally "").
19622 # whether the shell understands "unset".
19625 # turn spaces into newlines.
19628 # turn newlines into spaces.
19631 # An object symbol dumper.
19632 OBJDUMP=$lt_OBJDUMP
19634 # Method to check whether dependent libraries are shared objects.
19635 deplibs_check_method=$lt_deplibs_check_method
19637 # Command to use when deplibs_check_method == "file_magic".
19638 file_magic_cmd=$lt_file_magic_cmd
19642 AR_FLAGS=$lt_AR_FLAGS
19644 # A symbol stripping program.
19647 # Commands used to install an old-style archive.
19649 old_postinstall_cmds=$lt_old_postinstall_cmds
19650 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19652 # Whether to use a lock for old archive extraction.
19653 lock_old_archive_extraction=$lock_old_archive_extraction
19658 # LTCC compiler flags.
19659 LTCFLAGS=$lt_CFLAGS
19661 # Take the output of nm and produce a listing of raw symbols and C names.
19662 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19664 # Transform the output of nm in a proper C declaration.
19665 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19667 # Transform the output of nm in a C name address pair.
19668 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19670 # Transform the output of nm in a C name address pair when lib prefix is needed.
19671 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19673 # The name of the directory that contains temporary libtool files.
19676 # Used to examine libraries when file_magic_cmd begins with "file".
19677 MAGIC_CMD=$MAGIC_CMD
19679 # Must we lock files when doing compilation?
19680 need_locks=$lt_need_locks
19682 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19683 DSYMUTIL=$lt_DSYMUTIL
19685 # Tool to change global to local symbols on Mac OS X.
19688 # Tool to manipulate fat objects and archives on Mac OS X.
19691 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19694 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19695 OTOOL64=$lt_OTOOL64
19697 # Old archive suffix (normally "a").
19700 # Shared library suffix (normally ".so").
19701 shrext_cmds=$lt_shrext_cmds
19703 # The commands to extract the exported symbol list from a shared archive.
19704 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19706 # Variables whose values should be saved in libtool wrapper scripts and
19707 # restored at link time.
19708 variables_saved_for_relink=$lt_variables_saved_for_relink
19710 # Do we need the "lib" prefix for modules?
19711 need_lib_prefix=$need_lib_prefix
19713 # Do we need a version for libraries?
19714 need_version=$need_version
19716 # Library versioning type.
19717 version_type=$version_type
19719 # Shared library runtime path variable.
19720 runpath_var=$runpath_var
19722 # Shared library path variable.
19723 shlibpath_var=$shlibpath_var
19725 # Is shlibpath searched before the hard-coded library search path?
19726 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19728 # Format of library name prefix.
19729 libname_spec=$lt_libname_spec
19731 # List of archive names. First name is the real one, the rest are links.
19732 # The last name is the one that the linker finds with -lNAME
19733 library_names_spec=$lt_library_names_spec
19735 # The coded name of the library, if different from the real name.
19736 soname_spec=$lt_soname_spec
19738 # Permission mode override for installation of shared libraries.
19739 install_override_mode=$lt_install_override_mode
19741 # Command to use after installation of a shared archive.
19742 postinstall_cmds=$lt_postinstall_cmds
19744 # Command to use after uninstallation of a shared archive.
19745 postuninstall_cmds=$lt_postuninstall_cmds
19747 # Commands used to finish a libtool library installation in a directory.
19748 finish_cmds=$lt_finish_cmds
19750 # As "finish_cmds", except a single script fragment to be evaled but
19752 finish_eval=$lt_finish_eval
19754 # Whether we should hardcode library paths into libraries.
19755 hardcode_into_libs=$hardcode_into_libs
19757 # Compile-time system search path for libraries.
19758 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19760 # Run-time system search path for libraries.
19761 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19763 # Whether dlopen is supported.
19764 dlopen_support=$enable_dlopen
19766 # Whether dlopen of programs is supported.
19767 dlopen_self=$enable_dlopen_self
19769 # Whether dlopen of statically linked programs is supported.
19770 dlopen_self_static=$enable_dlopen_self_static
19772 # Commands to strip libraries.
19773 old_striplib=$lt_old_striplib
19774 striplib=$lt_striplib
19777 # The linker used to build libraries.
19780 # How to create reloadable object files.
19781 reload_flag=$lt_reload_flag
19782 reload_cmds=$lt_reload_cmds
19784 # Commands used to build an old-style archive.
19785 old_archive_cmds=$lt_old_archive_cmds
19787 # A language specific compiler.
19790 # Is the compiler the GNU compiler?
19793 # Compiler flag to turn off builtin functions.
19794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19796 # How to pass a linker flag through the compiler.
19797 wl=$lt_lt_prog_compiler_wl
19799 # Additional compiler flags for building library objects.
19800 pic_flag=$lt_lt_prog_compiler_pic
19802 # Compiler flag to prevent dynamic linking.
19803 link_static_flag=$lt_lt_prog_compiler_static
19805 # Does compiler simultaneously support -c and -o options?
19806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19808 # Whether or not to add -lc for building shared libraries.
19809 build_libtool_need_lc=$archive_cmds_need_lc
19811 # Whether or not to disallow shared libs when runtime libs are static.
19812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19814 # Compiler flag to allow reflexive dlopens.
19815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19817 # Compiler flag to generate shared objects directly from archives.
19818 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19820 # Whether the compiler copes with passing no objects directly.
19821 compiler_needs_object=$lt_compiler_needs_object
19823 # Create an old-style archive from a shared archive.
19824 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19826 # Create a temporary old-style archive to link instead of a shared archive.
19827 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19829 # Commands used to build a shared archive.
19830 archive_cmds=$lt_archive_cmds
19831 archive_expsym_cmds=$lt_archive_expsym_cmds
19833 # Commands used to build a loadable module if different from building
19834 # a shared archive.
19835 module_cmds=$lt_module_cmds
19836 module_expsym_cmds=$lt_module_expsym_cmds
19838 # Whether we are building with GNU ld or not.
19839 with_gnu_ld=$lt_with_gnu_ld
19841 # Flag that allows shared libraries with undefined symbols to be built.
19842 allow_undefined_flag=$lt_allow_undefined_flag
19844 # Flag that enforces no undefined symbols.
19845 no_undefined_flag=$lt_no_undefined_flag
19847 # Flag to hardcode \$libdir into a binary during linking.
19848 # This must work even if \$libdir does not exist
19849 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19851 # If ld is used when linking, flag to hardcode \$libdir into a binary
19852 # during linking. This must work even if \$libdir does not exist.
19853 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19855 # Whether we need a single "-rpath" flag with a separated argument.
19856 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19859 # DIR into the resulting binary.
19860 hardcode_direct=$hardcode_direct
19862 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19863 # DIR into the resulting binary and the resulting library dependency is
19864 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19865 # library is relocated.
19866 hardcode_direct_absolute=$hardcode_direct_absolute
19868 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19869 # into the resulting binary.
19870 hardcode_minus_L=$hardcode_minus_L
19872 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19873 # into the resulting binary.
19874 hardcode_shlibpath_var=$hardcode_shlibpath_var
19876 # Set to "yes" if building a shared library automatically hardcodes DIR
19877 # into the library and all subsequent libraries and executables linked
19879 hardcode_automatic=$hardcode_automatic
19881 # Set to yes if linker adds runtime paths of dependent libraries
19882 # to runtime path list.
19883 inherit_rpath=$inherit_rpath
19885 # Whether libtool must link a program against all its dependency libraries.
19886 link_all_deplibs=$link_all_deplibs
19888 # Fix the shell variable \$srcfile for the compiler.
19889 fix_srcfile_path=$lt_fix_srcfile_path
19891 # Set to "yes" if exported symbols are required.
19892 always_export_symbols=$always_export_symbols
19894 # The commands to list exported symbols.
19895 export_symbols_cmds=$lt_export_symbols_cmds
19897 # Symbols that should not be listed in the preloaded symbols.
19898 exclude_expsyms=$lt_exclude_expsyms
19900 # Symbols that must always be exported.
19901 include_expsyms=$lt_include_expsyms
19903 # Commands necessary for linking programs (against libraries) with templates.
19904 prelink_cmds=$lt_prelink_cmds
19906 # Specify filename containing input files.
19907 file_list_spec=$lt_file_list_spec
19909 # How to hardcode a shared library path into an executable.
19910 hardcode_action=$hardcode_action
19912 # The directories searched by this compiler when creating a shared library.
19913 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19915 # Dependencies to place before and after the objects being linked to
19916 # create a shared library.
19917 predep_objects=$lt_predep_objects
19918 postdep_objects=$lt_postdep_objects
19919 predeps=$lt_predeps
19920 postdeps=$lt_postdeps
19922 # The library search path used internally by the compiler when linking
19923 # a shared library.
19924 compiler_lib_search_path=$lt_compiler_lib_search_path
19926 # ### END LIBTOOL CONFIG
19932 cat <<\_LT_EOF
>> "$cfgfile"
19933 # AIX sometimes has problems with the GCC collect2 program. For some
19934 # reason, if we set the COLLECT_NAMES environment variable, the problems
19935 # vanish in a puff of smoke.
19936 if test "X${COLLECT_NAMES+set}" != Xset
; then
19938 export COLLECT_NAMES
19945 ltmain
="$ac_aux_dir/ltmain.sh"
19948 # We use sed instead of cat because bash on DJGPP gets confused if
19949 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19950 # text mode, it properly converts lines to CR/LF. This bash problem
19951 # is reportedly fixed, but why not run on old versions too?
19952 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19953 ||
(rm -f "$cfgfile"; exit 1)
19957 cat << \_LT_EOF
>> "$cfgfile"
19959 # func_dirname file append nondir_replacement
19960 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19961 # otherwise set result to NONDIR_REPLACEMENT.
19965 */*) func_dirname_result
="${1%/*}${2}" ;;
19966 * ) func_dirname_result
="${3}" ;;
19970 # func_basename file
19973 func_basename_result
="${1##*/}"
19976 # func_dirname_and_basename file append nondir_replacement
19977 # perform func_basename and func_dirname in a single function
19979 # dirname: Compute the dirname of FILE. If nonempty,
19980 # add APPEND to the result, otherwise set result
19981 # to NONDIR_REPLACEMENT.
19982 # value returned in "$func_dirname_result"
19983 # basename: Compute filename of FILE.
19984 # value retuned in "$func_basename_result"
19985 # Implementation must be kept synchronized with func_dirname
19986 # and func_basename. For efficiency, we do not delegate to
19987 # those functions but instead duplicate the functionality here.
19988 func_dirname_and_basename
()
19991 */*) func_dirname_result
="${1%/*}${2}" ;;
19992 * ) func_dirname_result
="${3}" ;;
19994 func_basename_result
="${1##*/}"
19997 # func_stripname prefix suffix name
19998 # strip PREFIX and SUFFIX off of NAME.
19999 # PREFIX and SUFFIX must not contain globbing or regex special
20000 # characters, hashes, percent signs, but SUFFIX may contain a leading
20001 # dot (in which case that matches only a dot).
20004 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20005 # positional parameters, so assign one to ordinary parameter first.
20006 func_stripname_result
=${3}
20007 func_stripname_result
=${func_stripname_result#"${1}"}
20008 func_stripname_result
=${func_stripname_result%"${2}"}
20014 func_opt_split_opt
=${1%%=*}
20015 func_opt_split_arg
=${1#*=}
20022 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20023 *) func_lo2o_result
=${1} ;;
20027 # func_xform libobj-or-source
20030 func_xform_result
=${1%.*}.lo
20033 # func_arith arithmetic-term...
20036 func_arith_result
=$
(( $
* ))
20040 # STRING may not start with a hyphen.
20043 func_len_result
=${#1}
20048 *) # Bourne compatible functions.
20049 cat << \_LT_EOF
>> "$cfgfile"
20051 # func_dirname file append nondir_replacement
20052 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20053 # otherwise set result to NONDIR_REPLACEMENT.
20056 # Extract subdirectory from the argument.
20057 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
20058 if test "X$func_dirname_result" = "X${1}"; then
20059 func_dirname_result
="${3}"
20061 func_dirname_result
="$func_dirname_result${2}"
20065 # func_basename file
20068 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
20072 # func_stripname prefix suffix name
20073 # strip PREFIX and SUFFIX off of NAME.
20074 # PREFIX and SUFFIX must not contain globbing or regex special
20075 # characters, hashes, percent signs, but SUFFIX may contain a leading
20076 # dot (in which case that matches only a dot).
20077 # func_strip_suffix prefix name
20081 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20082 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20087 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20088 my_sed_long_arg
='1s/^-[^=]*=//'
20093 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20094 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20100 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
20103 # func_xform libobj-or-source
20106 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20109 # func_arith arithmetic-term...
20112 func_arith_result
=`expr "$@"`
20116 # STRING may not start with a hyphen.
20119 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20125 case $lt_shell_append in
20127 cat << \_LT_EOF
>> "$cfgfile"
20129 # func_append var value
20130 # Append VALUE to the end of shell variable VAR.
20138 cat << \_LT_EOF
>> "$cfgfile"
20140 # func_append var value
20141 # Append VALUE to the end of shell variable VAR.
20152 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20153 ||
(rm -f "$cfgfile"; exit 1)
20155 mv -f "$cfgfile" "$ofile" ||
20156 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20160 cat <<_LT_EOF >> "$ofile"
20162 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20164 # The linker used to build libraries.
20167 # How to create reloadable object files.
20168 reload_flag=$lt_reload_flag_CXX
20169 reload_cmds=$lt_reload_cmds_CXX
20171 # Commands used to build an old-style archive.
20172 old_archive_cmds=$lt_old_archive_cmds_CXX
20174 # A language specific compiler.
20175 CC=$lt_compiler_CXX
20177 # Is the compiler the GNU compiler?
20180 # Compiler flag to turn off builtin functions.
20181 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20183 # How to pass a linker flag through the compiler.
20184 wl=$lt_lt_prog_compiler_wl_CXX
20186 # Additional compiler flags for building library objects.
20187 pic_flag=$lt_lt_prog_compiler_pic_CXX
20189 # Compiler flag to prevent dynamic linking.
20190 link_static_flag=$lt_lt_prog_compiler_static_CXX
20192 # Does compiler simultaneously support -c and -o options?
20193 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20195 # Whether or not to add -lc for building shared libraries.
20196 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20198 # Whether or not to disallow shared libs when runtime libs are static.
20199 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20201 # Compiler flag to allow reflexive dlopens.
20202 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20204 # Compiler flag to generate shared objects directly from archives.
20205 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20207 # Whether the compiler copes with passing no objects directly.
20208 compiler_needs_object=$lt_compiler_needs_object_CXX
20210 # Create an old-style archive from a shared archive.
20211 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20213 # Create a temporary old-style archive to link instead of a shared archive.
20214 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20216 # Commands used to build a shared archive.
20217 archive_cmds=$lt_archive_cmds_CXX
20218 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20220 # Commands used to build a loadable module if different from building
20221 # a shared archive.
20222 module_cmds=$lt_module_cmds_CXX
20223 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20225 # Whether we are building with GNU ld or not.
20226 with_gnu_ld=$lt_with_gnu_ld_CXX
20228 # Flag that allows shared libraries with undefined symbols to be built.
20229 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20231 # Flag that enforces no undefined symbols.
20232 no_undefined_flag=$lt_no_undefined_flag_CXX
20234 # Flag to hardcode \$libdir into a binary during linking.
20235 # This must work even if \$libdir does not exist
20236 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20238 # If ld is used when linking, flag to hardcode \$libdir into a binary
20239 # during linking. This must work even if \$libdir does not exist.
20240 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20242 # Whether we need a single "-rpath" flag with a separated argument.
20243 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20245 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20246 # DIR into the resulting binary.
20247 hardcode_direct=$hardcode_direct_CXX
20249 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20250 # DIR into the resulting binary and the resulting library dependency is
20251 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20252 # library is relocated.
20253 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20255 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20256 # into the resulting binary.
20257 hardcode_minus_L=$hardcode_minus_L_CXX
20259 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20260 # into the resulting binary.
20261 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20263 # Set to "yes" if building a shared library automatically hardcodes DIR
20264 # into the library and all subsequent libraries and executables linked
20266 hardcode_automatic=$hardcode_automatic_CXX
20268 # Set to yes if linker adds runtime paths of dependent libraries
20269 # to runtime path list.
20270 inherit_rpath=$inherit_rpath_CXX
20272 # Whether libtool must link a program against all its dependency libraries.
20273 link_all_deplibs=$link_all_deplibs_CXX
20275 # Fix the shell variable \$srcfile for the compiler.
20276 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20278 # Set to "yes" if exported symbols are required.
20279 always_export_symbols=$always_export_symbols_CXX
20281 # The commands to list exported symbols.
20282 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20284 # Symbols that should not be listed in the preloaded symbols.
20285 exclude_expsyms=$lt_exclude_expsyms_CXX
20287 # Symbols that must always be exported.
20288 include_expsyms=$lt_include_expsyms_CXX
20290 # Commands necessary for linking programs (against libraries) with templates.
20291 prelink_cmds=$lt_prelink_cmds_CXX
20293 # Specify filename containing input files.
20294 file_list_spec=$lt_file_list_spec_CXX
20296 # How to hardcode a shared library path into an executable.
20297 hardcode_action=$hardcode_action_CXX
20299 # The directories searched by this compiler when creating a shared library.
20300 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20302 # Dependencies to place before and after the objects being linked to
20303 # create a shared library.
20304 predep_objects=$lt_predep_objects_CXX
20305 postdep_objects=$lt_postdep_objects_CXX
20306 predeps=$lt_predeps_CXX
20307 postdeps=$lt_postdeps_CXX
20309 # The library search path used internally by the compiler when linking
20310 # a shared library.
20311 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20313 # ### END LIBTOOL TAG CONFIG: CXX
20318 if test "$GCC" = yes; then
20319 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
20321 echo "/* generated for $CC */" > tmp-stdint.h
20324 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20326 #ifndef GCC_GENERATED_STDINT_H
20327 #define GCC_GENERATED_STDINT_H 1
20329 #include <sys/types.h>
20332 if test "$acx_cv_header_stdint" != stdint.h
; then
20333 echo "#include <stddef.h>" >> tmp-stdint.h
20335 if test "$acx_cv_header_stdint" != stddef.h
; then
20336 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
20339 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20340 /* glibc uses these symbols as guards to prevent redefinitions. */
20341 #ifdef __int8_t_defined
20346 #ifdef __uint32_t_defined
20352 # ----------------- done header, emit basic int types -------------
20353 if test "$acx_cv_header_stdint" = stddef.h
; then
20354 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20358 #ifndef __uint8_t_defined
20359 #define __uint8_t_defined
20361 typedef unsigned $acx_cv_type_int8_t uint8_t;
20368 #ifndef __uint16_t_defined
20369 #define __uint16_t_defined
20371 typedef unsigned $acx_cv_type_int16_t uint16_t;
20378 #ifndef __uint32_t_defined
20379 #define __uint32_t_defined
20381 typedef unsigned $acx_cv_type_int32_t uint32_t;
20388 #ifndef __int8_t_defined
20389 #define __int8_t_defined
20391 typedef $acx_cv_type_int8_t int8_t;
20398 #ifndef __int16_t_defined
20399 #define __int16_t_defined
20401 typedef $acx_cv_type_int16_t int16_t;
20408 #ifndef __int32_t_defined
20409 #define __int32_t_defined
20411 typedef $acx_cv_type_int32_t int32_t;
20416 elif test "$ac_cv_type_u_int32_t" = yes; then
20417 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20419 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
20432 #ifndef __uint8_t_defined
20433 #define __uint8_t_defined
20435 typedef u_int8_t uint8_t;
20442 #ifndef __uint16_t_defined
20443 #define __uint16_t_defined
20445 typedef u_int16_t uint16_t;
20452 #ifndef __uint32_t_defined
20453 #define __uint32_t_defined
20455 typedef u_int32_t uint32_t;
20461 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20463 /* Some systems have guard macros to prevent redefinitions, define them. */
20485 # ------------- done basic int types, emit int64_t types ------------
20486 if test "$ac_cv_type_uint64_t" = yes; then
20487 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20489 /* system headers have good uint64_t and int64_t */
20497 elif test "$ac_cv_type_u_int64_t" = yes; then
20498 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20500 /* system headers have an u_int64_t (and int64_t) */
20506 #ifndef __uint64_t_defined
20507 #define __uint64_t_defined
20509 typedef u_int64_t uint64_t;
20514 elif test -n "$acx_cv_type_int64_t"; then
20515 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20517 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
20521 typedef $acx_cv_type_int64_t int64_t;
20526 #ifndef __uint64_t_defined
20527 #define __uint64_t_defined
20529 typedef unsigned $acx_cv_type_int64_t uint64_t;
20535 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20537 /* some common heuristics for int64_t, using compiler-specific tests */
20538 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
20541 #ifndef __int64_t_defined
20543 typedef long long int64_t;
20550 typedef unsigned long long uint64_t;
20554 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
20555 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
20556 does not implement __extension__. But that compiler doesn't define
20558 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
20559 # define __extension__
20565 __extension__ typedef long long int64_t;
20571 __extension__ typedef unsigned long long uint64_t;
20575 #elif !defined __STRICT_ANSI__
20576 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20581 typedef __int64 int64_t;
20587 typedef unsigned __int64 uint64_t;
20590 # endif /* compiler */
20592 #endif /* ANSI version */
20596 # ------------- done int64_t types, emit intptr types ------------
20597 if test "$ac_cv_type_uintptr_t" != yes; then
20598 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20600 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
20601 #ifndef __uintptr_t_defined
20603 typedef u$acx_cv_type_intptr_t uintptr_t;
20606 #ifndef __intptr_t_defined
20608 typedef $acx_cv_type_intptr_t intptr_t;
20614 # ------------- done intptr types, emit int_least types ------------
20615 if test "$ac_cv_type_int_least32_t" != yes; then
20616 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20618 /* Define int_least types */
20619 typedef int8_t int_least8_t;
20620 typedef int16_t int_least16_t;
20621 typedef int32_t int_least32_t;
20623 typedef int64_t int_least64_t;
20626 typedef uint8_t uint_least8_t;
20627 typedef uint16_t uint_least16_t;
20628 typedef uint32_t uint_least32_t;
20630 typedef uint64_t uint_least64_t;
20635 # ------------- done intptr types, emit int_fast types ------------
20636 if test "$ac_cv_type_int_fast32_t" != yes; then
20637 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20639 /* Define int_fast types. short is often slow */
20640 typedef int8_t int_fast8_t;
20641 typedef int int_fast16_t;
20642 typedef int32_t int_fast32_t;
20644 typedef int64_t int_fast64_t;
20647 typedef uint8_t uint_fast8_t;
20648 typedef unsigned int uint_fast16_t;
20649 typedef uint32_t uint_fast32_t;
20651 typedef uint64_t uint_fast64_t;
20656 if test "$ac_cv_type_uintmax_t" != yes; then
20657 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20659 /* Define intmax based on what we found */
20662 typedef int64_t intmax_t;
20664 typedef long intmax_t;
20669 typedef uint64_t uintmax_t;
20671 typedef unsigned long uintmax_t;
20677 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20679 #endif /* GCC_GENERATED_STDINT_H */
20682 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
20685 mv -f tmp-stdint.h gstdint.h
20696 ac_clean_files
=$ac_clean_files_save
20698 test $ac_write_fail = 0 ||
20699 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20702 # configure is writing to config.log, and then calls config.status.
20703 # config.status does its own redirection, appending to config.log.
20704 # Unfortunately, on DOS this fails, as config.log is still kept open
20705 # by configure, so config.status won't be able to write to it; its
20706 # output is simply discarded. So we exec the FD to /dev/null,
20707 # effectively closing config.log, so it can be properly (re)opened and
20708 # appended to by config.status. When coming back to configure, we
20709 # need to make the FD available again.
20710 if test "$no_create" != yes; then
20712 ac_config_status_args
=
20713 test "$silent" = yes &&
20714 ac_config_status_args
="$ac_config_status_args --quiet"
20716 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20718 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20719 # would make configure fail if this is the last instruction.
20720 $ac_cs_success || as_fn_exit $?
20722 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20724 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}