2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Atomic 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 Atomic Library'
558 PACKAGE_TARNAME
='libatomic'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='GNU Atomic Library 1.0'
562 PACKAGE_URL
='http://www.gnu.org/software/libatomic/'
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
616 LIBAT_BUILD_VERSIONED_SHLIB_SUN_FALSE
617 LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE
618 LIBAT_BUILD_VERSIONED_SHLIB_GNU_FALSE
619 LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE
620 LIBAT_BUILD_VERSIONED_SHLIB_FALSE
621 LIBAT_BUILD_VERSIONED_SHLIB_TRUE
647 am__fastdepCCAS_FALSE
680 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
750 enable_version_specific_runtime_libs
751 enable_generated_files_in_srcdir
753 enable_dependency_tracking
762 ac_precious_vars
='build_alias
769 # Initialize some variables set by options.
771 ac_init_version
=false
772 ac_unrecognized_opts
=
774 # The variables have the same names as the options, with
775 # dashes changed to underlines.
783 program_transform_name
=s
,x
,x
,
791 # Installation directory options.
792 # These are left unexpanded so users can "make install exec_prefix=/foo"
793 # and all the variables that are supposed to be based on exec_prefix
794 # by default will actually change.
795 # Use braces instead of parens because sh, perl, etc. also accept them.
796 # (The list follows the same order as the GNU Coding Standards.)
797 bindir
='${exec_prefix}/bin'
798 sbindir
='${exec_prefix}/sbin'
799 libexecdir
='${exec_prefix}/libexec'
800 datarootdir
='${prefix}/share'
801 datadir
='${datarootdir}'
802 sysconfdir
='${prefix}/etc'
803 sharedstatedir
='${prefix}/com'
804 localstatedir
='${prefix}/var'
805 includedir
='${prefix}/include'
806 oldincludedir
='/usr/include'
807 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
808 infodir
='${datarootdir}/info'
813 libdir
='${exec_prefix}/lib'
814 localedir
='${datarootdir}/locale'
815 mandir
='${datarootdir}/man'
821 # If the previous option needs an argument, assign it.
822 if test -n "$ac_prev"; then
823 eval $ac_prev=\
$ac_option
829 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833 # Accept the important Cygnus configure options, so we can diagnose typos.
835 case $ac_dashdash$ac_option in
839 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
841 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
844 -build |
--build |
--buil |
--bui |
--bu)
845 ac_prev
=build_alias
;;
846 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
847 build_alias
=$ac_optarg ;;
849 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
850 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
851 ac_prev
=cache_file
;;
852 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
853 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
854 cache_file
=$ac_optarg ;;
857 cache_file
=config.cache
;;
859 -datadir |
--datadir |
--datadi |
--datad)
861 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
862 datadir
=$ac_optarg ;;
864 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
865 |
--dataroo |
--dataro |
--datar)
866 ac_prev
=datarootdir
;;
867 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
868 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
869 datarootdir
=$ac_optarg ;;
871 -disable-* |
--disable-*)
872 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
875 as_fn_error
"invalid feature name: $ac_useropt"
876 ac_useropt_orig
=$ac_useropt
877 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
882 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
883 ac_unrecognized_sep
=', ';;
885 eval enable_
$ac_useropt=no
;;
887 -docdir |
--docdir |
--docdi |
--doc |
--do)
889 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
892 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
894 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
897 -enable-* |
--enable-*)
898 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
901 as_fn_error
"invalid feature name: $ac_useropt"
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=\
$ac_optarg ;;
913 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
914 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
915 |
--exec |
--exe |
--ex)
916 ac_prev
=exec_prefix
;;
917 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
918 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
919 |
--exec=* |
--exe=* |
--ex=*)
920 exec_prefix
=$ac_optarg ;;
922 -gas |
--gas |
--ga |
--g)
923 # Obsolete; use --with-gas.
926 -help |
--help |
--hel |
--he |
-h)
928 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
929 ac_init_help
=recursive
;;
930 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
931 ac_init_help
=short
;;
933 -host |
--host |
--hos |
--ho)
934 ac_prev
=host_alias
;;
935 -host=* |
--host=* |
--hos=* |
--ho=*)
936 host_alias
=$ac_optarg ;;
938 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
940 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
942 htmldir
=$ac_optarg ;;
944 -includedir |
--includedir |
--includedi |
--included |
--include \
945 |
--includ |
--inclu |
--incl |
--inc)
946 ac_prev
=includedir
;;
947 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
948 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
949 includedir
=$ac_optarg ;;
951 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
953 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
954 infodir
=$ac_optarg ;;
956 -libdir |
--libdir |
--libdi |
--libd)
958 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
961 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
962 |
--libexe |
--libex |
--libe)
963 ac_prev
=libexecdir
;;
964 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
965 |
--libexe=* |
--libex=* |
--libe=*)
966 libexecdir
=$ac_optarg ;;
968 -localedir |
--localedir |
--localedi |
--localed |
--locale)
970 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
971 localedir
=$ac_optarg ;;
973 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
974 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
975 ac_prev
=localstatedir
;;
976 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
977 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
978 localstatedir
=$ac_optarg ;;
980 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
982 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
986 # Obsolete; use --without-fp.
989 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
990 |
--no-cr |
--no-c |
-n)
993 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
994 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
997 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
998 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
999 |
--oldin |
--oldi |
--old |
--ol |
--o)
1000 ac_prev
=oldincludedir
;;
1001 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1002 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1003 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1004 oldincludedir
=$ac_optarg ;;
1006 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1008 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1009 prefix
=$ac_optarg ;;
1011 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1012 |
--program-pre |
--program-pr |
--program-p)
1013 ac_prev
=program_prefix
;;
1014 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1015 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1016 program_prefix
=$ac_optarg ;;
1018 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1019 |
--program-suf |
--program-su |
--program-s)
1020 ac_prev
=program_suffix
;;
1021 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1022 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1023 program_suffix
=$ac_optarg ;;
1025 -program-transform-name |
--program-transform-name \
1026 |
--program-transform-nam |
--program-transform-na \
1027 |
--program-transform-n |
--program-transform- \
1028 |
--program-transform |
--program-transfor \
1029 |
--program-transfo |
--program-transf \
1030 |
--program-trans |
--program-tran \
1031 |
--progr-tra |
--program-tr |
--program-t)
1032 ac_prev
=program_transform_name
;;
1033 -program-transform-name=* |
--program-transform-name=* \
1034 |
--program-transform-nam=* |
--program-transform-na=* \
1035 |
--program-transform-n=* |
--program-transform-=* \
1036 |
--program-transform=* |
--program-transfor=* \
1037 |
--program-transfo=* |
--program-transf=* \
1038 |
--program-trans=* |
--program-tran=* \
1039 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1040 program_transform_name
=$ac_optarg ;;
1042 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1044 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1045 pdfdir
=$ac_optarg ;;
1047 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1049 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1056 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1058 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1060 sbindir
=$ac_optarg ;;
1062 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1063 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1064 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1066 ac_prev
=sharedstatedir
;;
1067 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1068 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1069 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1071 sharedstatedir
=$ac_optarg ;;
1073 -site |
--site |
--sit)
1075 -site=* |
--site=* |
--sit=*)
1078 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1080 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1081 srcdir
=$ac_optarg ;;
1083 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1084 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1085 ac_prev
=sysconfdir
;;
1086 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1087 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1088 sysconfdir
=$ac_optarg ;;
1090 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1091 ac_prev
=target_alias
;;
1092 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1093 target_alias
=$ac_optarg ;;
1095 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1098 -version |
--version |
--versio |
--versi |
--vers |
-V)
1099 ac_init_version
=: ;;
1102 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 as_fn_error
"invalid package name: $ac_useropt"
1106 ac_useropt_orig
=$ac_useropt
1107 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113 ac_unrecognized_sep
=', ';;
1115 eval with_
$ac_useropt=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=no
;;
1134 # Obsolete; use --with-x.
1137 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1138 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1139 ac_prev
=x_includes
;;
1140 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1141 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1142 x_includes
=$ac_optarg ;;
1144 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1145 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1146 ac_prev
=x_libraries
;;
1147 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1148 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1149 x_libraries
=$ac_optarg ;;
1151 -*) as_fn_error
"unrecognized option: \`$ac_option'
1152 Try \`$0 --help' for more information."
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 case $ac_envvar in #(
1159 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1160 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1162 eval $ac_envvar=\
$ac_optarg
1163 export $ac_envvar ;;
1166 # FIXME: should be removed in autoconf 3.0.
1167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1176 if test -n "$ac_prev"; then
1177 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1178 as_fn_error
"missing argument to $ac_option"
1181 if test -n "$ac_unrecognized_opts"; then
1182 case $enable_option_checking in
1184 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 # Check all directory arguments for consistency.
1190 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191 datadir sysconfdir sharedstatedir localstatedir includedir \
1192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193 libdir localedir mandir
1195 eval ac_val
=\$
$ac_var
1196 # Remove trailing slashes.
1199 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200 eval $ac_var=\
$ac_val;;
1202 # Be sure to have absolute directory names.
1204 [\\/$
]* | ?
:[\\/]* ) continue;;
1205 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1207 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1210 # There might be people who depend on the old broken behavior: `$host'
1211 # used to hold the argument of --host etc.
1212 # FIXME: To remove some day.
1215 target
=$target_alias
1217 # FIXME: To remove some day.
1218 if test "x$host_alias" != x
; then
1219 if test "x$build_alias" = x
; then
1220 cross_compiling
=maybe
1221 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1222 If a cross compiler is detected then cross compile mode will be used." >&2
1223 elif test "x$build_alias" != "x$host_alias"; then
1229 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1231 test "$silent" = yes && exec 6>/dev
/null
1234 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1235 ac_ls_di
=`ls -di .` &&
1236 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1237 as_fn_error
"working directory cannot be determined"
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 as_fn_error
"pwd does not report name of working directory"
1242 # Find the source files, if location was not specified.
1243 if test -z "$srcdir"; then
1244 ac_srcdir_defaulted
=yes
1245 # Try the directory containing this script, then the parent directory.
1246 ac_confdir
=`$as_dirname -- "$as_myself" ||
1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1248 X"$as_myself" : 'X\(//\)[^/]' \| \
1249 X"$as_myself" : 'X\(//\)$' \| \
1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1251 $as_echo X"$as_myself" |
1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1274 ac_srcdir_defaulted
=no
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1277 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1278 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1280 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1284 # When building in place, set srcdir=.
1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288 # Remove unnecessary trailing slashes from srcdir.
1289 # Double slashes in file names in object file debugging info
1290 # mess up M-x gdb in Emacs.
1292 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 for ac_var
in $ac_precious_vars; do
1295 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1297 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1298 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1302 # Report the --help message.
1304 if test "$ac_init_help" = "long"; then
1305 # Omit some internal or obsolete options to make the list less imposing.
1306 # This message is too long to be a string in the A/UX 3.1 sh.
1308 \`configure' configures GNU Atomic Library 1.0 to adapt to many kinds of systems.
1310 Usage: $0 [OPTION]... [VAR=VALUE]...
1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1313 VAR=VALUE. See below for descriptions of some of the useful variables.
1315 Defaults for the options are specified in brackets.
1318 -h, --help display this help and exit
1319 --help=short display options specific to this package
1320 --help=recursive display the short help of all the included packages
1321 -V, --version display version information and exit
1322 -q, --quiet, --silent do not print \`checking...' messages
1323 --cache-file=FILE cache test results in FILE [disabled]
1324 -C, --config-cache alias for \`--cache-file=config.cache'
1325 -n, --no-create do not create output files
1326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1328 Installation directories:
1329 --prefix=PREFIX install architecture-independent files in PREFIX
1330 [$ac_default_prefix]
1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1334 By default, \`make install' will install all the files in
1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1337 for instance \`--prefix=\$HOME'.
1339 For better control, use the options below.
1341 Fine tuning of the installation directories:
1342 --bindir=DIR user executables [EPREFIX/bin]
1343 --sbindir=DIR system admin executables [EPREFIX/sbin]
1344 --libexecdir=DIR program executables [EPREFIX/libexec]
1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1348 --libdir=DIR object code libraries [EPREFIX/lib]
1349 --includedir=DIR C header files [PREFIX/include]
1350 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1353 --infodir=DIR info documentation [DATAROOTDIR/info]
1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1355 --mandir=DIR man documentation [DATAROOTDIR/man]
1356 --docdir=DIR documentation root [DATAROOTDIR/doc/libatomic]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
1366 --program-prefix=PREFIX prepend PREFIX to installed program names
1367 --program-suffix=SUFFIX append SUFFIX to installed program names
1368 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1371 --build=BUILD configure
for building on BUILD
[guessed
]
1372 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1373 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1377 if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive
) echo "Configuration of GNU Atomic Library 1.0:";;
1384 --disable-option-checking ignore unrecognized
--enable/--with options
1385 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1386 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1387 --enable-version-specific-runtime-libs
1388 Specify that runtime libraries should be installed
1389 in a compiler-specific directory
[default
=no
]
1390 --enable-generated-files-in-srcdir
1391 put copies of generated files
in source dir intended
1392 for creating
source tarballs
for users without
1393 texinfo bison or flex.
[default
=no
]
1394 --enable-multilib build many library versions
(default
)
1395 --disable-dependency-tracking speeds up one-time build
1396 --enable-dependency-tracking do not reject slow dependency extractors
1397 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1398 --enable-static[=PKGS
] build static libraries
[default
=yes]
1399 --enable-fast-install[=PKGS
]
1400 optimize
for fast installation
[default
=yes]
1401 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1402 --enable-symvers=STYLE enables symbol versioning of the shared library
1406 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1407 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1408 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1410 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1412 Some influential environment variables
:
1413 CC C compiler
command
1414 CFLAGS C compiler flags
1415 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1416 nonstandard directory
<lib dir
>
1417 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1418 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1419 you have headers
in a nonstandard directory
<include dir
>
1420 CCAS assembler compiler
command (defaults to CC
)
1421 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1424 Use these variables to override the choices made by
`configure' or to help
1425 it to find libraries and programs with nonstandard names/locations.
1427 Report bugs to the package provider.
1428 GNU Atomic Library home page: <http://www.gnu.org/software/libatomic/>.
1429 General help using GNU software: <http://www.gnu.org/gethelp/>.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1492 GNU Atomic Library configure 1.0
1493 generated by GNU Autoconf 2.64
1495 Copyright (C) 2009 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1506 # ac_fn_c_try_compile LINENO
1507 # --------------------------
1508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1516 *) ac_try_echo
=$ac_try;;
1518 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1522 if test -s conftest.err
; then
1523 grep -v '^ *+' conftest.err
>conftest.er1
1524 cat conftest.er1
>&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.
$ac_objext; then :
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.
$ac_ext >&5
1539 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1542 } # ac_fn_c_try_compile
1544 # ac_fn_c_try_link LINENO
1545 # -----------------------
1546 # Try to link conftest.$ac_ext, and return whether this succeeded.
1549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1550 rm -f conftest.
$ac_objext conftest
$ac_exeext
1551 if { { ac_try
="$ac_link"
1553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_link") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest$ac_exeext && {
1570 test "$cross_compiling" = yes ||
1571 $as_test_x conftest$ac_exeext
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1581 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1582 # interfere with the next link command; also delete a directory that is
1583 # left behind by Apple's compiler. We do this before executing the actions.
1584 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1585 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1588 } # ac_fn_c_try_link
1590 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists and can be compiled using the include files in
1593 # INCLUDES, setting the cache variable VAR accordingly.
1594 ac_fn_c_check_header_compile ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1600 $as_echo_n "(cached) " >&6
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1607 if ac_fn_c_try_compile "$LINENO"; then :
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616 $as_echo "$ac_res" >&6; }
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1619 } # ac_fn_c_check_header_compile
1621 # ac_fn_c_try_cpp LINENO
1622 # ----------------------
1623 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1630 *) ac_try_echo
=$ac_try;;
1632 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636 if test -s conftest.err
; then
1637 grep -v '^ *+' conftest.err
>conftest.er1
1638 cat conftest.er1
>&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } >/dev
/null
&& {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.
$ac_ext >&5
1653 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1658 # ac_fn_c_try_run LINENO
1659 # ----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1664 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1665 if { { ac_try
="$ac_link"
1667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
1677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1678 *) ac_try_echo
=$ac_try;;
1680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_try") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.
$ac_ext >&5
1692 ac_retval
=$ac_status
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1700 # ac_fn_c_check_func LINENO FUNC VAR
1701 # ----------------------------------
1702 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1703 ac_fn_c_check_func
()
1705 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1709 $as_echo_n "(cached) " >&6
1711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1715 #define $2 innocuous_$2
1717 /* System header to define __stub macros and hopefully few prototypes,
1718 which can conflict with char $2 (); below.
1719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1720 <limits.h> exists even on freestanding compilers. */
1723 # include <limits.h>
1725 # include <assert.h>
1730 /* Override any GCC internal prototype to avoid an error.
1731 Use char because int might match the return type of a GCC
1732 builtin and then its argument prototype would still apply. */
1737 /* The GNU C library defines this for functions which it implements
1738 to always fail with ENOSYS. Some functions are actually named
1739 something starting with __ and the normal name is an alias. */
1740 #if defined __stub_$2 || defined __stub___$2
1752 if ac_fn_c_try_link
"$LINENO"; then :
1757 rm -f core conftest.err conftest.
$ac_objext \
1758 conftest
$ac_exeext conftest.
$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1765 } # ac_fn_c_check_func
1767 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1768 # -------------------------------------------
1769 # Tests whether TYPE exists after having included INCLUDES, setting cache
1770 # variable VAR accordingly.
1771 ac_fn_c_check_type
()
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
1780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1792 if ac_fn_c_try_compile
"$LINENO"; then :
1793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1805 if ac_fn_c_try_compile
"$LINENO"; then :
1810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816 $as_echo "$ac_res" >&6; }
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1819 } # ac_fn_c_check_type
1821 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1822 # --------------------------------------------
1823 # Tries to find the compile-time value of EXPR in a program that includes
1824 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1826 ac_fn_c_compute_int
()
1828 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1829 if test "$cross_compiling" = yes; then
1830 # Depending upon the size, compute the lo and hi bounds.
1831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1837 static int test_array [1 - 2 * !(($2) >= 0)];
1844 if ac_fn_c_try_compile
"$LINENO"; then :
1847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1853 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1860 if ac_fn_c_try_compile
"$LINENO"; then :
1861 ac_hi
=$ac_mid; break
1863 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1864 if test $ac_lo -le $ac_mid; then
1868 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1879 static int test_array [1 - 2 * !(($2) < 0)];
1886 if ac_fn_c_try_compile
"$LINENO"; then :
1889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1895 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1902 if ac_fn_c_try_compile
"$LINENO"; then :
1903 ac_lo
=$ac_mid; break
1905 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1906 if test $ac_mid -le $ac_hi; then
1910 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1920 # Binary search between lo and hi bounds.
1921 while test "x$ac_lo" != "x$ac_hi"; do
1922 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1929 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1936 if ac_fn_c_try_compile
"$LINENO"; then :
1939 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1944 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1951 static long int longval () { return $2; }
1952 static unsigned long int ulongval () { return $2; }
1959 FILE *f = fopen ("conftest.val", "w");
1964 long int i = longval ();
1967 fprintf (f, "%ld", i);
1971 unsigned long int i = ulongval ();
1974 fprintf (f, "%lu", i);
1976 /* Do not output a trailing newline, as this causes \r\n confusion
1977 on some platforms. */
1978 return ferror (f) || fclose (f) != 0;
1984 if ac_fn_c_try_run
"$LINENO"; then :
1985 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1989 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1990 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1994 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1997 } # ac_fn_c_compute_int
1998 cat >config.log
<<_ACEOF
1999 This file contains any messages produced by compilers while
2000 running configure, to aid debugging if configure makes a mistake.
2002 It was created by GNU Atomic Library $as_me 1.0, which was
2003 generated by GNU Autoconf 2.64. Invocation command line was
2015 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2016 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2017 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2018 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2019 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2021 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2022 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2024 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2025 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2026 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2027 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2028 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2029 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2030 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir
=.
2039 $as_echo "PATH: $as_dir"
2055 # Keep a trace of the command line.
2056 # Strip out --no-create and --no-recursion so they do not pile up.
2057 # Strip out --silent because we don't want to record it for future runs.
2058 # Also quote any args containing shell meta-characters.
2059 # Make two passes to allow for proper duplicate-argument suppression.
2063 ac_must_keep_next
=false
2069 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2071 |
-silent |
--silent |
--silen |
--sile |
--sil)
2074 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2077 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2079 as_fn_append ac_configure_args1
" '$ac_arg'"
2080 if test $ac_must_keep_next = true
; then
2081 ac_must_keep_next
=false
# Got value, back to normal.
2084 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2085 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2086 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2087 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2088 case "$ac_configure_args0 " in
2089 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2092 -* ) ac_must_keep_next
=true
;;
2095 as_fn_append ac_configure_args
" '$ac_arg'"
2100 { ac_configure_args0
=; unset ac_configure_args0
;}
2101 { ac_configure_args1
=; unset ac_configure_args1
;}
2103 # When interrupted or exit'd, cleanup temporary files, and complete
2104 # config.log. We remove comments because anyway the quotes in there
2105 # would cause problems or look ugly.
2106 # WARNING: Use '\'' to represent an apostrophe within the trap.
2107 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2108 trap 'exit_status=$?
2109 # Save into config.log some information that might help in debugging.
2114 ## ---------------- ##
2115 ## Cache variables. ##
2116 ## ---------------- ##
2119 # The following way of writing the cache mishandles newlines in values,
2121 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2122 eval ac_val=\$$ac_var
2126 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2127 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2130 _ | IFS | as_nl) ;; #(
2131 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2132 *) { eval $ac_var=; unset $ac_var;} ;;
2137 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2138 *${as_nl}ac_space=\ *)
2140 "s/'\''/'\''\\\\'\'''\''/g;
2141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2152 ## ----------------- ##
2153 ## Output variables. ##
2154 ## ----------------- ##
2157 for ac_var in $ac_subst_vars
2159 eval ac_val=\$$ac_var
2161 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2163 $as_echo "$ac_var='\''$ac_val'\''"
2167 if test -n "$ac_subst_files"; then
2169 ## ------------------- ##
2170 ## File substitutions. ##
2171 ## ------------------- ##
2174 for ac_var
in $ac_subst_files
2176 eval ac_val
=\$
$ac_var
2178 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2180 $as_echo "$ac_var='\''$ac_val'\''"
2185 if test -s confdefs.h; then
2195 test "$ac_signal" != 0 &&
2196 $as_echo "$as_me: caught signal $ac_signal"
2197 $as_echo "$as_me: exit $exit_status"
2199 rm -f core *.core core.conftest.* &&
2200 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2203 for ac_signal
in 1 2 13 15; do
2204 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2208 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2209 rm -f -r conftest
* confdefs.h
2211 $as_echo "/* confdefs.h */" > confdefs.h
2213 # Predefined preprocessor variables.
2215 cat >>confdefs.h
<<_ACEOF
2216 #define PACKAGE_NAME "$PACKAGE_NAME"
2219 cat >>confdefs.h
<<_ACEOF
2220 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2223 cat >>confdefs.h
<<_ACEOF
2224 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2227 cat >>confdefs.h
<<_ACEOF
2228 #define PACKAGE_STRING "$PACKAGE_STRING"
2231 cat >>confdefs.h
<<_ACEOF
2232 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2235 cat >>confdefs.h
<<_ACEOF
2236 #define PACKAGE_URL "$PACKAGE_URL"
2240 # Let the site file select an alternate cache file if it wants to.
2241 # Prefer an explicitly selected file to automatically selected ones.
2244 if test -n "$CONFIG_SITE"; then
2245 ac_site_file1
=$CONFIG_SITE
2246 elif test "x$prefix" != xNONE
; then
2247 ac_site_file1
=$prefix/share
/config.site
2248 ac_site_file2
=$prefix/etc
/config.site
2250 ac_site_file1
=$ac_default_prefix/share
/config.site
2251 ac_site_file2
=$ac_default_prefix/etc
/config.site
2253 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2255 test "x$ac_site_file" = xNONE
&& continue
2256 if test -r "$ac_site_file"; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2258 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2259 sed 's/^/| /' "$ac_site_file" >&5
2264 if test -r "$cache_file"; then
2265 # Some versions of bash will fail to source /dev/null (special
2266 # files actually), so we avoid doing that.
2267 if test -f "$cache_file"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2269 $as_echo "$as_me: loading cache $cache_file" >&6;}
2271 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2272 *) .
"./$cache_file";;
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2277 $as_echo "$as_me: creating cache $cache_file" >&6;}
2281 # Check that the precious variables saved in the cache have kept the same
2283 ac_cache_corrupted
=false
2284 for ac_var
in $ac_precious_vars; do
2285 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2286 eval ac_new_set
=\
$ac_env_${ac_var}_set
2287 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2288 eval ac_new_val
=\
$ac_env_${ac_var}_value
2289 case $ac_old_set,$ac_new_set in
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2292 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2293 ac_cache_corrupted
=: ;;
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2296 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2297 ac_cache_corrupted
=: ;;
2300 if test "x$ac_old_val" != "x$ac_new_val"; then
2301 # differences in whitespace do not lead to failure.
2302 ac_old_val_w
=`echo x $ac_old_val`
2303 ac_new_val_w
=`echo x $ac_new_val`
2304 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2306 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2307 ac_cache_corrupted
=:
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2310 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2311 eval $ac_var=\
$ac_old_val
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2314 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2316 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2319 # Pass precious variables to config.status.
2320 if test "$ac_new_set" = set; then
2322 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2323 *) ac_arg
=$ac_var=$ac_new_val ;;
2325 case " $ac_configure_args " in
2326 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2327 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2331 if $ac_cache_corrupted; then
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2335 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2336 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2338 ## -------------------- ##
2339 ## Main body of script. ##
2340 ## -------------------- ##
2343 ac_cpp
='$CPP $CPPFLAGS'
2344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2352 ac_config_headers
="$ac_config_headers auto-config.h"
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2360 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2361 # Check whether --enable-version-specific-runtime-libs was given.
2362 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2363 enableval
=$enable_version_specific_runtime_libs;
2364 case "$enableval" in
2366 *) as_fn_error
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2370 enable_version_specific_runtime_libs
=no
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2375 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2377 # We would like our source tree to be readonly. However when releases or
2378 # pre-releases are generated, the flex/bison generated files as well as the
2379 # various formats of manuals need to be included along with the rest of the
2380 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2383 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2384 # Check whether --enable-generated-files-in-srcdir was given.
2385 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2386 enableval
=$enable_generated_files_in_srcdir;
2387 case "$enableval" in
2389 *) as_fn_error
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2393 enable_generated_files_in_srcdir
=no
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2398 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2399 if test "$enable_generated_files_in_srcdir" = yes; then
2411 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2413 # You will slowly go insane if you do not grok the following fact: when
2414 # building this library, the top-level /target/ becomes the library's /host/.
2416 # configure then causes --target to default to --host, exactly like any
2417 # other package using autoconf. Therefore, 'target' and 'host' will
2418 # always be the same. This makes sense both for native and cross compilers
2419 # just think about it for a little while. :-)
2421 # Also, if this library is being configured as part of a cross compiler, the
2422 # top-level configure script will pass the "real" host as $with_cross_host.
2424 # Do not delete or change the following two lines. For why, see
2425 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2427 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2428 for ac_t
in install-sh
install.sh shtool
; do
2429 if test -f "$ac_dir/$ac_t"; then
2431 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2436 if test -z "$ac_aux_dir"; then
2437 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2440 # These three variables are undocumented and unsupported,
2441 # and are intended to be withdrawn in a future Autoconf release.
2442 # They can cause serious problems if a builder's source tree is in a directory
2443 # whose full name contains unusual characters.
2444 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2445 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2446 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2449 # Make sure we can run config.sub.
2450 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2451 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2454 $as_echo_n "checking build system type... " >&6; }
2455 if test "${ac_cv_build+set}" = set; then :
2456 $as_echo_n "(cached) " >&6
2458 ac_build_alias
=$build_alias
2459 test "x$ac_build_alias" = x
&&
2460 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2461 test "x$ac_build_alias" = x
&&
2462 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2463 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2464 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2468 $as_echo "$ac_cv_build" >&6; }
2469 case $ac_cv_build in
2471 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2474 ac_save_IFS
=$IFS; IFS
='-'
2480 # Remember, the first character of IFS is used to create $*,
2481 # except with old shells:
2484 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2488 $as_echo_n "checking host system type... " >&6; }
2489 if test "${ac_cv_host+set}" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 if test "x$host_alias" = x
; then
2493 ac_cv_host
=$ac_cv_build
2495 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2496 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2501 $as_echo "$ac_cv_host" >&6; }
2504 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2507 ac_save_IFS
=$IFS; IFS
='-'
2513 # Remember, the first character of IFS is used to create $*,
2514 # except with old shells:
2517 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2521 $as_echo_n "checking target system type... " >&6; }
2522 if test "${ac_cv_target+set}" = set; then :
2523 $as_echo_n "(cached) " >&6
2525 if test "x$target_alias" = x
; then
2526 ac_cv_target
=$ac_cv_host
2528 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2529 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2534 $as_echo "$ac_cv_target" >&6; }
2535 case $ac_cv_target in
2537 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2539 target
=$ac_cv_target
2540 ac_save_IFS
=$IFS; IFS
='-'
2546 # Remember, the first character of IFS is used to create $*,
2547 # except with old shells:
2550 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2553 # The aliases save the names the user supplied, while $host etc.
2554 # will get canonicalized.
2555 test -n "$target_alias" &&
2556 test "$program_prefix$program_suffix$program_transform_name" = \
2558 program_prefix
=${target_alias}-
2560 target_alias
=${target_alias-$host_alias}
2562 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2563 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2564 # 1.9.0: minimum required version
2565 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2566 # of other PACKAGE_* variables will, however, and there's nothing
2567 # we can do about that; they come from AC_INIT).
2568 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2569 # file in the top srcdir, etc, etc), so stop complaining.
2570 # -Wall: turns on all automake warnings...
2571 # -Wno-portability: ...except this one, since GNU make is required.
2572 # -Wno-override: ... and this one, since we do want this in testsuite.
2573 am__api_version
='1.11'
2575 # Find a good install program. We prefer a C program (faster),
2576 # so one script is as good as another. But avoid the broken or
2577 # incompatible versions:
2578 # SysV /etc/install, /usr/sbin/install
2579 # SunOS /usr/etc/install
2580 # IRIX /sbin/install
2582 # AmigaOS /C/install, which installs bootblocks on floppy discs
2583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2586 # OS/2's system install, which has a completely different semantic
2587 # ./install, which can be erroneously created by make from ./install.sh.
2588 # Reject install programs that cannot install multiple files.
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2590 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2591 if test -z "$INSTALL"; then
2592 if test "${ac_cv_path_install+set}" = set; then :
2593 $as_echo_n "(cached) " >&6
2595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir
=.
2600 # Account for people who put trailing slashes in PATH elements.
2601 case $as_dir/ in #((
2602 .
/ | .
// |
/[cC
]/* | \
2603 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2604 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2607 # OSF1 and SCO ODT 3.0 have their own names for install.
2608 # Don't use installbsd from OSF since it installs stuff as root
2610 for ac_prog
in ginstall scoinst
install; do
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2613 if test $ac_prog = install &&
2614 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2615 # AIX install. It has an incompatible calling convention.
2617 elif test $ac_prog = install &&
2618 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2619 # program-specific install script used by HP pwplus--don't use.
2622 rm -rf conftest.one conftest.two conftest.dir
2623 echo one
> conftest.one
2624 echo two
> conftest.two
2626 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2627 test -s conftest.one
&& test -s conftest.two
&&
2628 test -s conftest.dir
/conftest.one
&&
2629 test -s conftest.dir
/conftest.two
2631 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2644 rm -rf conftest.one conftest.two conftest.dir
2647 if test "${ac_cv_path_install+set}" = set; then
2648 INSTALL
=$ac_cv_path_install
2650 # As a last resort, use the slow shell script. Don't cache a
2651 # value for INSTALL within a source directory, because that will
2652 # break other packages using the cache if that directory is
2653 # removed, or if the value is a relative name.
2654 INSTALL
=$ac_install_sh
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2658 $as_echo "$INSTALL" >&6; }
2660 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2661 # It thinks the first close brace ends the variable substitution.
2662 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2666 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2669 $as_echo_n "checking whether build environment is sane... " >&6; }
2672 echo timestamp
> conftest.
file
2673 # Reject unsafe characters in $srcdir or the absolute working directory
2674 # name. Accept space and tab only in the latter.
2678 *[\\\"\
#\$\&\'\`$am_lf]*)
2679 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2682 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2683 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2686 # Do `set' in a subshell so we don't clobber the current shell's
2687 # arguments. Must try -L first in case configure is actually a
2688 # symlink; some systems play weird games with the mod time of symlinks
2689 # (eg FreeBSD returns the mod time of the symlink's containing
2692 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2693 if test "$*" = "X"; then
2695 set X
`ls -t "$srcdir/configure" conftest.file`
2698 if test "$*" != "X $srcdir/configure conftest.file" \
2699 && test "$*" != "X conftest.file $srcdir/configure"; then
2701 # If neither matched, then we have a broken ls. This can happen
2702 # if, for instance, CONFIG_SHELL is bash and it inherits a
2703 # broken ls alias from the environment. This has actually
2704 # happened. Such a system could not be considered "sane".
2705 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2706 alias in your environment" "$LINENO" 5
2709 test "$2" = conftest.
file
2715 as_fn_error
"newly created file is older than distributed files!
2716 Check your system clock" "$LINENO" 5
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2719 $as_echo "yes" >&6; }
2720 test "$program_prefix" != NONE
&&
2721 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2722 # Use a double $ so make ignores it.
2723 test "$program_suffix" != NONE
&&
2724 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2725 # Double any \ or $.
2726 # By default was `s,x,x', remove it if useless.
2727 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2728 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2730 # expand $ac_aux_dir to an absolute path
2731 am_aux_dir
=`cd $ac_aux_dir && pwd`
2733 if test x
"${MISSING+set}" != xset
; then
2736 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2738 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2741 # Use eval to expand $SHELL
2742 if eval "$MISSING --run true"; then
2743 am_missing_run
="$MISSING --run "
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2747 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2750 if test x
"${install_sh}" != xset
; then
2753 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2755 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2759 # Installed binaries are usually stripped using `strip' when the user
2760 # run `make install-strip'. However `strip' might not be the right
2761 # tool to use in cross-compilation environments, therefore Automake
2762 # will honor the `STRIP' environment variable to overrule this program.
2763 if test "$cross_compiling" != no
; then
2764 if test -n "$ac_tool_prefix"; then
2765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2766 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_STRIP+set}" = set; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$STRIP"; then
2773 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 STRIP
=$ac_cv_prog_STRIP
2793 if test -n "$STRIP"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2795 $as_echo "$STRIP" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2803 if test -z "$ac_cv_prog_STRIP"; then
2805 # Extract the first word of "strip", so it can be a program name with args.
2806 set dummy strip
; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$ac_ct_STRIP"; then
2813 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_ac_ct_STRIP
="strip"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2833 if test -n "$ac_ct_STRIP"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2835 $as_echo "$ac_ct_STRIP" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2841 if test "x$ac_ct_STRIP" = x
; then
2844 case $cross_compiling:$ac_tool_warned in
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2848 ac_tool_warned
=yes ;;
2853 STRIP
="$ac_cv_prog_STRIP"
2857 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2860 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2861 if test -z "$MKDIR_P"; then
2862 if test "${ac_cv_path_mkdir+set}" = set; then :
2863 $as_echo_n "(cached) " >&6
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2866 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2869 test -z "$as_dir" && as_dir
=.
2870 for ac_prog
in mkdir gmkdir
; do
2871 for ac_exec_ext
in '' $ac_executable_extensions; do
2872 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2873 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2874 'mkdir (GNU coreutils) '* | \
2875 'mkdir (coreutils) '* | \
2876 'mkdir (fileutils) '4.1*)
2877 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2887 if test "${ac_cv_path_mkdir+set}" = set; then
2888 MKDIR_P
="$ac_cv_path_mkdir -p"
2890 # As a last resort, use the slow shell script. Don't cache a
2891 # value for MKDIR_P within a source directory, because that will
2892 # break other packages using the cache if that directory is
2893 # removed, or if the value is a relative name.
2894 test -d .
/--version && rmdir .
/--version
2895 MKDIR_P
="$ac_install_sh -d"
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2899 $as_echo "$MKDIR_P" >&6; }
2903 [\\/$
]* | ?
:[\\/]*) ;;
2904 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2907 for ac_prog
in gawk mawk nawk
awk
2909 # Extract the first word of "$ac_prog", so it can be a program name with args.
2910 set dummy
$ac_prog; ac_word
=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_AWK+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$AWK"; then
2917 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_AWK
="$ac_prog"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$AWK"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2939 $as_echo "$AWK" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$AWK" && break
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2950 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2952 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2953 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2954 $as_echo_n "(cached) " >&6
2956 cat >conftest.
make <<\_ACEOF
2959 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2961 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2964 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2966 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2970 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2972 $as_echo "yes" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2977 SET_MAKE
="MAKE=${MAKE-make}"
2980 rm -rf .tst
2>/dev
/null
2981 mkdir .tst
2>/dev
/null
2982 if test -d .tst
; then
2987 rmdir .tst
2>/dev
/null
2989 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2990 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2991 # is not polluted with repeated "-I."
2992 am__isrc
=' -I$(srcdir)'
2993 # test to see if srcdir already configured
2994 if test -f $srcdir/config.status
; then
2995 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2999 # test whether we have cygpath
3000 if test -z "$CYGPATH_W"; then
3001 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3002 CYGPATH_W
='cygpath -w'
3009 # Define the identity of the package.
3014 cat >>confdefs.h
<<_ACEOF
3015 #define PACKAGE "$PACKAGE"
3019 cat >>confdefs.h
<<_ACEOF
3020 #define VERSION "$VERSION"
3023 # Some tools Automake needs.
3025 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3028 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3031 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3034 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3037 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3039 # We need awk for the "check" target. The system "awk" is bad on
3041 # Always define AMTAR for backward compatibility. Yes, it's still used
3042 # in the wild :-( We should find a proper way to deprecate it ...
3045 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3051 # Default to --enable-multilib
3052 # Check whether --enable-multilib was given.
3053 if test "${enable_multilib+set}" = set; then :
3054 enableval
=$enable_multilib; case "$enableval" in
3055 yes) multilib
=yes ;;
3057 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3064 # We may get other options which we leave undocumented:
3065 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3066 # See config-ml.in if you want the gory details.
3068 if test "$srcdir" = "."; then
3069 if test "$with_target_subdir" != "."; then
3070 multi_basedir
="$srcdir/$with_multisrctop../.."
3072 multi_basedir
="$srcdir/$with_multisrctop.."
3075 multi_basedir
="$srcdir/.."
3079 # Even if the default multilib is not a cross compilation,
3080 # it may be that some of the other multilibs are.
3081 if test $cross_compiling = no
&& test $multilib = yes \
3082 && test "x${with_multisubdir}" != x
; then
3083 cross_compiling
=maybe
3086 ac_config_commands
="$ac_config_commands default-1"
3089 # Calculate toolexeclibdir
3090 # Also toolexecdir, though it's only used in toolexeclibdir
3091 case ${enable_version_specific_runtime_libs} in
3093 # Need the gcc compiler version to know where to install libraries
3094 # and header files if --enable-version-specific-runtime-libs option
3096 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3097 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3100 if test -n "$with_cross_host" &&
3101 test x
"$with_cross_host" != x
"no"; then
3102 # Install a library built with a cross compiler in tooldir, not libdir.
3103 toolexecdir
='$(exec_prefix)/$(target_alias)'
3104 toolexeclibdir
='$(toolexecdir)/lib'
3106 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3107 toolexeclibdir
='$(libdir)'
3109 multi_os_directory
=`$CC -print-multi-os-directory`
3110 case $multi_os_directory in
3111 .
) ;; # Avoid trailing /.
3112 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3119 # Check the compiler.
3120 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3121 # We must force CC to /not/ be precious variables; otherwise
3122 # the wrong, non-multilib-adjusted value will be used in multilibs.
3123 # As a side effect, we have to subst CFLAGS ourselves.
3128 ac_cpp
='$CPP $CPPFLAGS'
3129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3134 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if test "${ac_cv_prog_CC+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$CC"; then
3141 ac_cv_prog_CC
="$CC" # Let the user override the test.
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir
=.
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 if test -n "$CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3163 $as_echo "$CC" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3171 if test -z "$ac_cv_prog_CC"; then
3173 # Extract the first word of "gcc", so it can be a program name with args.
3174 set dummy gcc
; ac_word
=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$ac_ct_CC"; then
3181 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190 ac_cv_prog_ac_ct_CC
="gcc"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3209 if test "x$ac_ct_CC" = x
; then
3212 case $cross_compiling:$ac_tool_warned in
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned
=yes ;;
3224 if test -z "$CC"; then
3225 if test -n "$ac_tool_prefix"; then
3226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3227 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if test "${ac_cv_prog_CC+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$CC"; then
3234 ac_cv_prog_CC
="$CC" # Let the user override the test.
3236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir
=.
3241 for ac_exec_ext
in '' $ac_executable_extensions; do
3242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 if test -n "$CC"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3256 $as_echo "$CC" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3265 if test -z "$CC"; then
3266 # Extract the first word of "cc", so it can be a program name with args.
3267 set dummy cc
; ac_word
=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_CC+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3273 if test -n "$CC"; then
3274 ac_cv_prog_CC
="$CC" # Let the user override the test.
3277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3281 test -z "$as_dir" && as_dir
=.
3282 for ac_exec_ext
in '' $ac_executable_extensions; do
3283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3285 ac_prog_rejected
=yes
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test $ac_prog_rejected = yes; then
3297 # We found a bogon in the path, so make sure we never use it.
3298 set dummy
$ac_cv_prog_CC
3300 if test $# != 0; then
3301 # We chose a different compiler from the bogus one.
3302 # However, it has the same basename, so the bogon will be chosen
3303 # first if we set CC to just the basename; use the full file name.
3305 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3311 if test -n "$CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313 $as_echo "$CC" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3321 if test -z "$CC"; then
3322 if test -n "$ac_tool_prefix"; then
3323 for ac_prog
in cl.exe
3325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3326 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if test "${ac_cv_prog_CC+set}" = set; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$CC"; then
3333 ac_cv_prog_CC
="$CC" # Let the user override the test.
3335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir
=.
3340 for ac_exec_ext
in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3362 test -n "$CC" && break
3365 if test -z "$CC"; then
3367 for ac_prog
in cl.exe
3369 # Extract the first word of "$ac_prog", so it can be a program name with args.
3370 set dummy
$ac_prog; ac_word
=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 if test -n "$ac_ct_CC"; then
3377 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir
=.
3384 for ac_exec_ext
in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386 ac_cv_prog_ac_ct_CC
="$ac_prog"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3397 if test -n "$ac_ct_CC"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3399 $as_echo "$ac_ct_CC" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3406 test -n "$ac_ct_CC" && break
3409 if test "x$ac_ct_CC" = x
; then
3412 case $cross_compiling:$ac_tool_warned in
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3416 ac_tool_warned
=yes ;;
3425 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 as_fn_error
"no acceptable C compiler found in \$PATH
3428 See \`config.log' for more details." "$LINENO" 5; }
3430 # Provide some information about the compiler.
3431 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3434 for ac_option
in --version -v -V -qversion; do
3435 { { ac_try
="$ac_compiler $ac_option >&5"
3437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441 $as_echo "$ac_try_echo"; } >&5
3442 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3444 if test -s conftest.err; then
3446 ... rest of stderr output deleted ...
3447 10q' conftest.err >conftest.er1
3448 cat conftest.er1 >&5
3449 rm -f conftest.er1 conftest.err
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3466 ac_clean_files_save=$ac_clean_files
3467 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3468 # Try to create an executable without -o first, disregard a.out.
3469 # It will help us diagnose broken compilers, and finding out an intuition
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3472 $as_echo_n "checking for C compiler default output file name... " >&6; }
3473 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3475 # The possible output files:
3476 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3479 for ac_file in $ac_files
3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3483 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3488 if { { ac_try="$ac_link_default"
3490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3491 *) ac_try_echo
=$ac_try;;
3493 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494 $as_echo "$ac_try_echo"; } >&5
3495 (eval "$ac_link_default") 2>&5
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }; then :
3499 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3500 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3501 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3502 # so that the user can short-circuit this test for compilers unknown to
3504 for ac_file
in $ac_files ''
3506 test -f "$ac_file" ||
continue
3508 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3511 # We found the default executable, but exeext='' is most
3515 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3517 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3519 # We set ac_cv_exeext here because the later test for it is not
3520 # safe: cross compilers may not add the suffix if given an `-o'
3521 # argument, so we may need to know it at that point already.
3522 # Even if this section looks crufty: it has the advantage of
3529 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3535 $as_echo "$ac_file" >&6; }
3536 if test -z "$ac_file"; then :
3537 $as_echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.
$ac_ext >&5
3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 { as_fn_set_status
77
3543 as_fn_error
"C compiler cannot create executables
3544 See \`config.log' for more details." "$LINENO" 5; }; }
3546 ac_exeext
=$ac_cv_exeext
3548 # Check that the compiler produces executables we can run. If not, either
3549 # the compiler is broken, or we cross compile.
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3551 $as_echo_n "checking whether the C compiler works... " >&6; }
3552 # If not cross compiling, check that we can run a simple program.
3553 if test "$cross_compiling" != yes; then
3554 if { ac_try
='./$ac_file'
3555 { { case "(($ac_try" in
3556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3557 *) ac_try_echo=$ac_try;;
3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560 $as_echo "$ac_try_echo"; } >&5
3561 (eval "$ac_try") 2>&5
3563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564 test $ac_status = 0; }; }; then
3567 if test "$cross_compiling" = maybe; then
3570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572 as_fn_error "cannot run C compiled programs.
3573 If you meant to cross compile
, use \
`--host'.
3574 See \`config.log
' for more details." "$LINENO" 5; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3579 $as_echo "yes" >&6; }
3581 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3582 ac_clean_files=$ac_clean_files_save
3583 # Check that the compiler produces executables we can run. If not, either
3584 # the compiler is broken, or we cross compile.
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3586 $as_echo_n "checking whether we are cross compiling... " >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3588 $as_echo "$cross_compiling" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3591 $as_echo_n "checking for suffix of executables... " >&6; }
3592 if { { ac_try="$ac_link"
3594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598 $as_echo "$ac_try_echo"; } >&5
3599 (eval "$ac_link") 2>&5
3601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602 test $ac_status = 0; }; then :
3603 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3604 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3605 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3607 for ac_file
in conftest.exe conftest conftest.
*; do
3608 test -f "$ac_file" ||
continue
3610 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3611 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3619 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3620 See \`config.log' for more details." "$LINENO" 5; }
3622 rm -f conftest
$ac_cv_exeext
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3624 $as_echo "$ac_cv_exeext" >&6; }
3626 rm -f conftest.
$ac_ext
3627 EXEEXT
=$ac_cv_exeext
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3630 $as_echo_n "checking for suffix of object files... " >&6; }
3631 if test "${ac_cv_objext+set}" = set; then :
3632 $as_echo_n "(cached) " >&6
3634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3645 rm -f conftest.o conftest.obj
3646 if { { ac_try
="$ac_compile"
3648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3649 *) ac_try_echo=$ac_try;;
3651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652 $as_echo "$ac_try_echo"; } >&5
3653 (eval "$ac_compile") 2>&5
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }; then :
3657 for ac_file in conftest.o conftest.obj conftest.*; do
3658 test -f "$ac_file" || continue;
3660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3661 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3666 $as_echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 as_fn_error "cannot compute suffix of object files
: cannot compile
3672 See \
`config.log' for more details." "$LINENO" 5; }
3674 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3677 $as_echo "$ac_cv_objext" >&6; }
3678 OBJEXT=$ac_cv_objext
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3681 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3682 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3683 $as_echo_n "(cached) " >&6
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3699 if ac_fn_c_try_compile "$LINENO"; then :
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3709 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3710 if test $ac_compiler_gnu = yes; then
3715 ac_test_CFLAGS=${CFLAGS+set}
3716 ac_save_CFLAGS=$CFLAGS
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3718 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3719 if test "${ac_cv_prog_cc_g+set}" = set; then :
3720 $as_echo_n "(cached) " >&6
3722 ac_save_c_werror_flag=$ac_c_werror_flag
3723 ac_c_werror_flag=yes
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3737 if ac_fn_c_try_compile "$LINENO"; then :
3741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3742 /* end confdefs.h. */
3752 if ac_fn_c_try_compile "$LINENO"; then :
3755 ac_c_werror_flag=$ac_save_c_werror_flag
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3768 if ac_fn_c_try_compile "$LINENO"; then :
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3776 ac_c_werror_flag=$ac_save_c_werror_flag
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3779 $as_echo "$ac_cv_prog_cc_g" >&6; }
3780 if test "$ac_test_CFLAGS" = set; then
3781 CFLAGS=$ac_save_CFLAGS
3782 elif test $ac_cv_prog_cc_g = yes; then
3783 if test "$GCC" = yes; then
3789 if test "$GCC" = yes; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3796 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3797 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3800 ac_cv_prog_cc_c89=no
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3806 #include <sys/types.h>
3807 #include <sys/stat.h>
3808 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3809 struct buf { int x; };
3810 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3811 static char *e (p, i)
3817 static char *f (char * (*g) (char **, int), char **p, ...)
3822 s = g (p, va_arg (v,int));
3827 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3828 function prototypes and stuff, but not '\xHH' hex character constants.
3829 These don't provoke an error unfortunately, instead are silently treated
3830 as 'x'. The following induces an error, until -std is added to get
3831 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3832 array size at least. It's necessary to write '\x00'==0 to get something
3833 that's true only with -std. */
3834 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3836 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3837 inside strings and character constants. */
3839 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3841 int test (int i, double x);
3842 struct s1 {int (*f) (int a);};
3843 struct s2 {int (*f) (double a);};
3844 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3850 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3855 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3856 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3858 CC="$ac_save_CC $ac_arg"
3859 if ac_fn_c_try_compile "$LINENO"; then :
3860 ac_cv_prog_cc_c89=$ac_arg
3862 rm -f core conftest.err conftest.$ac_objext
3863 test "x$ac_cv_prog_cc_c89" != "xno" && break
3865 rm -f conftest.$ac_ext
3870 case "x$ac_cv_prog_cc_c89" in
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3873 $as_echo "none needed" >&6; } ;;
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3876 $as_echo "unsupported" >&6; } ;;
3878 CC="$CC $ac_cv_prog_cc_c89"
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3880 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3882 if test "x$ac_cv_prog_cc_c89" != xno; then :
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891 DEPDIR="${am__leading_dot}deps"
3893 ac_config_commands="$ac_config_commands depfiles"
3896 am_make=${MAKE-make}
3897 cat > confinc << 'END'
3899 @echo this is the am__doit target
3902 # If we don't find an include directive, just comment out the code.
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3904 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3908 # First try GNU make style include.
3909 echo "include confinc" > confmf
3910 # Ignore all kinds of additional output from `make'.
3911 case `$am_make -s -f confmf 2> /dev/null` in #(
3912 *the\ am__doit\ target*)
3918 # Now try BSD make style include.
3919 if test "$am__include" = "#"; then
3920 echo '.include
"confinc"' > confmf
3921 case `$am_make -s -f confmf 2> /dev/null` in #(
3922 *the\ am__doit\ target*)
3923 am__include=.include
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3932 $as_echo "$_am_result" >&6; }
3933 rm -f confinc confmf
3935 # Check whether --enable-dependency-tracking was given.
3936 if test "${enable_dependency_tracking+set}" = set; then :
3937 enableval=$enable_dependency_tracking;
3940 if test "x$enable_dependency_tracking" != xno; then
3941 am_depcomp="$ac_aux_dir/depcomp"
3945 if test "x$enable_dependency_tracking" != xno
; then
3955 depcc
="$CC" am_compiler_list
=
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3958 $as_echo_n "checking dependency style of $depcc... " >&6; }
3959 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3960 $as_echo_n "(cached) " >&6
3962 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3963 # We make a subdir and do the tests there. Otherwise we can end up
3964 # making bogus files that we don't know about and never remove. For
3965 # instance it was reported that on HP-UX the gcc test will end up
3966 # making a dummy file named `D' -- because `-MD' means `put the output
3970 # Copy depcomp to subdir because otherwise we won't find it if we're
3971 # using a relative directory.
3972 cp "$am_depcomp" conftest.dir
3974 # We will build objects and dependencies in a subdirectory because
3975 # it helps to detect inapplicable dependency modes. For instance
3976 # both Tru64's cc and ICC support -MD to output dependencies as a
3977 # side effect of compilation, but ICC will put the dependencies in
3978 # the current directory while Tru64 will put them in the object
3982 am_cv_CC_dependencies_compiler_type
=none
3983 if test "$am_compiler_list" = ""; then
3984 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3987 case " $depcc " in #(
3988 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3991 for depmode
in $am_compiler_list; do
3992 # Setup a source with many dependencies, because some compilers
3993 # like to wrap large dependency lists on column 80 (with \), and
3994 # we should not choose a depcomp mode which is confused by this.
3996 # We need to recreate these files for each test, as the compiler may
3997 # overwrite some of them when testing with obscure command lines.
3998 # This happens at least with the AIX C compiler.
4000 for i
in 1 2 3 4 5 6; do
4001 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4002 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4003 # Solaris 8's {/usr,}/bin/sh.
4004 touch sub
/conftst
$i.h
4006 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4008 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4009 # mode. It turns out that the SunPro C++ compiler does not properly
4010 # handle `-M -o', and we need to detect this. Also, some Intel
4011 # versions had trouble with output in subdirs
4012 am__obj
=sub
/conftest.
${OBJEXT-o}
4013 am__minus_obj
="-o $am__obj"
4016 # This depmode causes a compiler race in universal mode.
4017 test "$am__universal" = false ||
continue
4020 # after this tag, mechanisms are not by side-effect, so they'll
4021 # only be used when explicitly requested
4022 if test "x$enable_dependency_tracking" = xyes
; then
4028 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4029 # This compiler won't grok `-c -o', but also, the minuso test has
4030 # not run yet. These depmodes are late enough in the game, and
4031 # so weak that their functioning should not be impacted.
4032 am__obj
=conftest.
${OBJEXT-o}
4037 if depmode
=$depmode \
4038 source=sub
/conftest.c object
=$am__obj \
4039 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4040 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4041 >/dev
/null
2>conftest.err
&&
4042 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4043 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4044 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4045 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4046 # icc doesn't choke on unknown options, it will just issue warnings
4047 # or remarks (even with -Werror). So we grep stderr for any message
4048 # that says an option was ignored or not supported.
4049 # When given -MP, icc 7.0 and 7.1 complain thusly:
4050 # icc: Command line warning: ignoring option '-M'; no argument required
4051 # The diagnosis changed in icc 8.0:
4052 # icc: Command line remark: option '-MP' not supported
4053 if (grep 'ignoring option' conftest.err ||
4054 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4055 am_cv_CC_dependencies_compiler_type
=$depmode
4064 am_cv_CC_dependencies_compiler_type
=none
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4069 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4070 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4073 test "x$enable_dependency_tracking" != xno \
4074 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4076 am__fastdepCC_FALSE
='#'
4078 am__fastdepCC_TRUE
='#'
4079 am__fastdepCC_FALSE
=
4083 # By default we simply use the C compiler to build assembly code.
4085 test "${CCAS+set}" = set || CCAS
=$CC
4086 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4090 depcc
="$CCAS" am_compiler_list
=
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4093 $as_echo_n "checking dependency style of $depcc... " >&6; }
4094 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4098 # We make a subdir and do the tests there. Otherwise we can end up
4099 # making bogus files that we don't know about and never remove. For
4100 # instance it was reported that on HP-UX the gcc test will end up
4101 # making a dummy file named `D' -- because `-MD' means `put the output
4105 # Copy depcomp to subdir because otherwise we won't find it if we're
4106 # using a relative directory.
4107 cp "$am_depcomp" conftest.dir
4109 # We will build objects and dependencies in a subdirectory because
4110 # it helps to detect inapplicable dependency modes. For instance
4111 # both Tru64's cc and ICC support -MD to output dependencies as a
4112 # side effect of compilation, but ICC will put the dependencies in
4113 # the current directory while Tru64 will put them in the object
4117 am_cv_CCAS_dependencies_compiler_type
=none
4118 if test "$am_compiler_list" = ""; then
4119 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4124 for depmode
in $am_compiler_list; do
4125 # Setup a source with many dependencies, because some compilers
4126 # like to wrap large dependency lists on column 80 (with \), and
4127 # we should not choose a depcomp mode which is confused by this.
4129 # We need to recreate these files for each test, as the compiler may
4130 # overwrite some of them when testing with obscure command lines.
4131 # This happens at least with the AIX C compiler.
4133 for i
in 1 2 3 4 5 6; do
4134 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4135 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4136 # Solaris 8's {/usr,}/bin/sh.
4137 touch sub
/conftst
$i.h
4139 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4141 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4142 # mode. It turns out that the SunPro C++ compiler does not properly
4143 # handle `-M -o', and we need to detect this. Also, some Intel
4144 # versions had trouble with output in subdirs
4145 am__obj
=sub
/conftest.
${OBJEXT-o}
4146 am__minus_obj
="-o $am__obj"
4149 # This depmode causes a compiler race in universal mode.
4150 test "$am__universal" = false ||
continue
4153 # after this tag, mechanisms are not by side-effect, so they'll
4154 # only be used when explicitly requested
4155 if test "x$enable_dependency_tracking" = xyes
; then
4161 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4162 # This compiler won't grok `-c -o', but also, the minuso test has
4163 # not run yet. These depmodes are late enough in the game, and
4164 # so weak that their functioning should not be impacted.
4165 am__obj
=conftest.
${OBJEXT-o}
4170 if depmode
=$depmode \
4171 source=sub
/conftest.c object
=$am__obj \
4172 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4173 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4174 >/dev
/null
2>conftest.err
&&
4175 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4176 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4177 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4178 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4179 # icc doesn't choke on unknown options, it will just issue warnings
4180 # or remarks (even with -Werror). So we grep stderr for any message
4181 # that says an option was ignored or not supported.
4182 # When given -MP, icc 7.0 and 7.1 complain thusly:
4183 # icc: Command line warning: ignoring option '-M'; no argument required
4184 # The diagnosis changed in icc 8.0:
4185 # icc: Command line remark: option '-MP' not supported
4186 if (grep 'ignoring option' conftest.err ||
4187 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4188 am_cv_CCAS_dependencies_compiler_type
=$depmode
4197 am_cv_CCAS_dependencies_compiler_type
=none
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4202 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4203 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4206 test "x$enable_dependency_tracking" != xno \
4207 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4208 am__fastdepCCAS_TRUE
=
4209 am__fastdepCCAS_FALSE
='#'
4211 am__fastdepCCAS_TRUE
='#'
4212 am__fastdepCCAS_FALSE
=
4220 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4221 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4222 # in both places for now and restore CFLAGS at the end of config.
4223 save_CFLAGS
="$CFLAGS"
4225 # Find other programs we need.
4226 if test -n "$ac_tool_prefix"; then
4227 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4228 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4230 $as_echo_n "checking for $ac_word... " >&6; }
4231 if test "${ac_cv_prog_AR+set}" = set; then :
4232 $as_echo_n "(cached) " >&6
4234 if test -n "$AR"; then
4235 ac_cv_prog_AR
="$AR" # Let the user override the test.
4237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4241 test -z "$as_dir" && as_dir
=.
4242 for ac_exec_ext
in '' $ac_executable_extensions; do
4243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4244 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 if test -n "$AR"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4257 $as_echo "$AR" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4265 if test -z "$ac_cv_prog_AR"; then
4267 # Extract the first word of "ar", so it can be a program name with args.
4268 set dummy
ar; ac_word
=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$ac_ct_AR"; then
4275 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_exec_ext
in '' $ac_executable_extensions; do
4283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4284 ac_cv_prog_ac_ct_AR
="ar"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4295 if test -n "$ac_ct_AR"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4297 $as_echo "$ac_ct_AR" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4303 if test "x$ac_ct_AR" = x
; then
4306 case $cross_compiling:$ac_tool_warned in
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4310 ac_tool_warned
=yes ;;
4318 if test -n "$ac_tool_prefix"; then
4319 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4320 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4322 $as_echo_n "checking for $ac_word... " >&6; }
4323 if test "${ac_cv_prog_NM+set}" = set; then :
4324 $as_echo_n "(cached) " >&6
4326 if test -n "$NM"; then
4327 ac_cv_prog_NM
="$NM" # Let the user override the test.
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4336 ac_cv_prog_NM
="${ac_tool_prefix}nm"
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 if test -n "$NM"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
4349 $as_echo "$NM" >&6; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352 $as_echo "no" >&6; }
4357 if test -z "$ac_cv_prog_NM"; then
4359 # Extract the first word of "nm", so it can be a program name with args.
4360 set dummy nm
; ac_word
=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
4364 $as_echo_n "(cached) " >&6
4366 if test -n "$ac_ct_NM"; then
4367 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 ac_cv_prog_ac_ct_NM
="nm"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
4387 if test -n "$ac_ct_NM"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
4389 $as_echo "$ac_ct_NM" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4395 if test "x$ac_ct_NM" = x
; then
4398 case $cross_compiling:$ac_tool_warned in
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4402 ac_tool_warned
=yes ;;
4410 if test -n "$ac_tool_prefix"; then
4411 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4412 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$RANLIB"; then
4419 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4428 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 RANLIB
=$ac_cv_prog_RANLIB
4439 if test -n "$RANLIB"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4441 $as_echo "$RANLIB" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4449 if test -z "$ac_cv_prog_RANLIB"; then
4450 ac_ct_RANLIB
=$RANLIB
4451 # Extract the first word of "ranlib", so it can be a program name with args.
4452 set dummy ranlib
; ac_word
=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4456 $as_echo_n "(cached) " >&6
4458 if test -n "$ac_ct_RANLIB"; then
4459 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4468 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4479 if test -n "$ac_ct_RANLIB"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4481 $as_echo "$ac_ct_RANLIB" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4487 if test "x$ac_ct_RANLIB" = x
; then
4488 RANLIB
="ranlib-not-found-in-path-error"
4490 case $cross_compiling:$ac_tool_warned in
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned
=yes ;;
4496 RANLIB
=$ac_ct_RANLIB
4499 RANLIB
="$ac_cv_prog_RANLIB"
4502 # Extract the first word of "perl", so it can be a program name with args.
4503 set dummy perl
; ac_word
=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if test "${ac_cv_path_PERL+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4511 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir
=.
4519 for ac_exec_ext
in '' $ac_executable_extensions; do
4520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
4533 PERL
=$ac_cv_path_PERL
4534 if test -n "$PERL"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4536 $as_echo "$PERL" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4549 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4554 macro_version
='2.2.7a'
4555 macro_revision
='1.3134'
4569 ltmain
="$ac_aux_dir/ltmain.sh"
4571 # Backslashify metacharacters that are still active within
4572 # double-quoted strings.
4573 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4575 # Same as above, but do not quote variable references.
4576 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4578 # Sed substitution to delay expansion of an escaped shell variable in a
4579 # double_quote_subst'ed string.
4580 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4582 # Sed substitution to delay expansion of an escaped single quote.
4583 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4585 # Sed substitution to avoid accidental globbing in evaled expressions
4586 no_glob_subst
='s/\*/\\\*/g'
4588 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4589 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4590 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4593 $as_echo_n "checking how to print strings... " >&6; }
4594 # Test print first, because it will be a builtin if present.
4595 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4596 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4598 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4601 # Use this function as a fallback that always works.
4602 func_fallback_echo ()
4604 eval 'cat <<_LTECHO_EOF
4608 ECHO='func_fallback_echo
'
4611 # func_echo_all arg...
4612 # Invoke $ECHO with all args, space-separated.
4619 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4620 $as_echo "printf" >&6; } ;;
4621 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4622 $as_echo "print -r" >&6; } ;;
4623 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4624 $as_echo "cat" >&6; } ;;
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4641 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4642 if test "${ac_cv_path_SED+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4646 for ac_i in 1 2 3 4 5 6 7; do
4647 ac_script="$ac_script$as_nl$ac_script"
4649 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4650 { ac_script=; unset ac_script;}
4651 if test -z "$SED"; then
4652 ac_path_SED_found=false
4653 # Loop through the user's path and
test for each of PROGNAME-LIST
4654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir
=.
4659 for ac_prog
in sed gsed
; do
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4662 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4663 # Check for GNU ac_path_SED and select it if it is found.
4664 # Check for GNU $ac_path_SED
4665 case `"$ac_path_SED" --version 2>&1` in
4667 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4670 $as_echo_n 0123456789 >"conftest.in"
4673 cat "conftest.in" "conftest.in" >"conftest.tmp"
4674 mv "conftest.tmp" "conftest.in"
4675 cp "conftest.in" "conftest.nl"
4676 $as_echo '' >> "conftest.nl"
4677 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4678 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4679 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4680 if test $ac_count -gt ${ac_path_SED_max-0}; then
4681 # Best one so far, save it but keep looking for a better one
4682 ac_cv_path_SED
="$ac_path_SED"
4683 ac_path_SED_max
=$ac_count
4685 # 10*(2^10) chars as input seems more than enough
4686 test $ac_count -gt 10 && break
4688 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4691 $ac_path_SED_found && break 3
4696 if test -z "$ac_cv_path_SED"; then
4697 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4705 $as_echo "$ac_cv_path_SED" >&6; }
4706 SED
="$ac_cv_path_SED"
4709 test -z "$SED" && SED
=sed
4710 Xsed
="$SED -e 1s/^X//"
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4723 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4724 if test "${ac_cv_path_GREP+set}" = set; then :
4725 $as_echo_n "(cached) " >&6
4727 if test -z "$GREP"; then
4728 ac_path_GREP_found
=false
4729 # Loop through the user's path and test for each of PROGNAME-LIST
4730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4731 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4734 test -z "$as_dir" && as_dir
=.
4735 for ac_prog
in grep ggrep
; do
4736 for ac_exec_ext
in '' $ac_executable_extensions; do
4737 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4738 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4739 # Check for GNU ac_path_GREP and select it if it is found.
4740 # Check for GNU $ac_path_GREP
4741 case `"$ac_path_GREP" --version 2>&1` in
4743 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4746 $as_echo_n 0123456789 >"conftest.in"
4749 cat "conftest.in" "conftest.in" >"conftest.tmp"
4750 mv "conftest.tmp" "conftest.in"
4751 cp "conftest.in" "conftest.nl"
4752 $as_echo 'GREP' >> "conftest.nl"
4753 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4754 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4755 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4756 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4757 # Best one so far, save it but keep looking for a better one
4758 ac_cv_path_GREP
="$ac_path_GREP"
4759 ac_path_GREP_max
=$ac_count
4761 # 10*(2^10) chars as input seems more than enough
4762 test $ac_count -gt 10 && break
4764 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4767 $ac_path_GREP_found && break 3
4772 if test -z "$ac_cv_path_GREP"; then
4773 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4776 ac_cv_path_GREP
=$GREP
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4781 $as_echo "$ac_cv_path_GREP" >&6; }
4782 GREP
="$ac_cv_path_GREP"
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4786 $as_echo_n "checking for egrep... " >&6; }
4787 if test "${ac_cv_path_EGREP+set}" = set; then :
4788 $as_echo_n "(cached) " >&6
4790 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4791 then ac_cv_path_EGREP
="$GREP -E"
4793 if test -z "$EGREP"; then
4794 ac_path_EGREP_found
=false
4795 # Loop through the user's path and test for each of PROGNAME-LIST
4796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4797 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4800 test -z "$as_dir" && as_dir
=.
4801 for ac_prog
in egrep; do
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4804 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4805 # Check for GNU ac_path_EGREP and select it if it is found.
4806 # Check for GNU $ac_path_EGREP
4807 case `"$ac_path_EGREP" --version 2>&1` in
4809 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4812 $as_echo_n 0123456789 >"conftest.in"
4815 cat "conftest.in" "conftest.in" >"conftest.tmp"
4816 mv "conftest.tmp" "conftest.in"
4817 cp "conftest.in" "conftest.nl"
4818 $as_echo 'EGREP' >> "conftest.nl"
4819 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4820 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4821 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4822 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4823 # Best one so far, save it but keep looking for a better one
4824 ac_cv_path_EGREP
="$ac_path_EGREP"
4825 ac_path_EGREP_max
=$ac_count
4827 # 10*(2^10) chars as input seems more than enough
4828 test $ac_count -gt 10 && break
4830 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4833 $ac_path_EGREP_found && break 3
4838 if test -z "$ac_cv_path_EGREP"; then
4839 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4842 ac_cv_path_EGREP
=$EGREP
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4848 $as_echo "$ac_cv_path_EGREP" >&6; }
4849 EGREP
="$ac_cv_path_EGREP"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4853 $as_echo_n "checking for fgrep... " >&6; }
4854 if test "${ac_cv_path_FGREP+set}" = set; then :
4855 $as_echo_n "(cached) " >&6
4857 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4858 then ac_cv_path_FGREP
="$GREP -F"
4860 if test -z "$FGREP"; then
4861 ac_path_FGREP_found
=false
4862 # Loop through the user's path and test for each of PROGNAME-LIST
4863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4864 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4867 test -z "$as_dir" && as_dir
=.
4868 for ac_prog
in fgrep
; do
4869 for ac_exec_ext
in '' $ac_executable_extensions; do
4870 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4871 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4872 # Check for GNU ac_path_FGREP and select it if it is found.
4873 # Check for GNU $ac_path_FGREP
4874 case `"$ac_path_FGREP" --version 2>&1` in
4876 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4879 $as_echo_n 0123456789 >"conftest.in"
4882 cat "conftest.in" "conftest.in" >"conftest.tmp"
4883 mv "conftest.tmp" "conftest.in"
4884 cp "conftest.in" "conftest.nl"
4885 $as_echo 'FGREP' >> "conftest.nl"
4886 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4887 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4888 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4889 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4890 # Best one so far, save it but keep looking for a better one
4891 ac_cv_path_FGREP
="$ac_path_FGREP"
4892 ac_path_FGREP_max
=$ac_count
4894 # 10*(2^10) chars as input seems more than enough
4895 test $ac_count -gt 10 && break
4897 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4900 $ac_path_FGREP_found && break 3
4905 if test -z "$ac_cv_path_FGREP"; then
4906 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4909 ac_cv_path_FGREP
=$FGREP
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4915 $as_echo "$ac_cv_path_FGREP" >&6; }
4916 FGREP
="$ac_cv_path_FGREP"
4919 test -z "$GREP" && GREP
=grep
4939 # Check whether --with-gnu-ld was given.
4940 if test "${with_gnu_ld+set}" = set; then :
4941 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4947 if test "$GCC" = yes; then
4948 # Check if gcc -print-prog-name=ld gives a path.
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4950 $as_echo_n "checking for ld used by $CC... " >&6; }
4953 # gcc leaves a trailing carriage return which upsets mingw
4954 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4956 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4959 # Accept absolute paths.
4961 re_direlt
='/[^/][^/]*/\.\./'
4962 # Canonicalize the pathname of ld
4963 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4964 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4965 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4967 test -z "$LD" && LD
="$ac_prog"
4970 # If it fails, then pretend we aren't using GCC.
4974 # If it is relative, then search for the first ld in PATH.
4978 elif test "$with_gnu_ld" = yes; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4980 $as_echo_n "checking for GNU ld... " >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4983 $as_echo_n "checking for non-GNU ld... " >&6; }
4985 if test "${lt_cv_path_LD+set}" = set; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -z "$LD"; then
4989 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4990 for ac_dir
in $PATH; do
4992 test -z "$ac_dir" && ac_dir
=.
4993 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4994 lt_cv_path_LD
="$ac_dir/$ac_prog"
4995 # Check to see if the program is GNU ld. I'd rather use --version,
4996 # but apparently some variants of GNU ld only accept -v.
4997 # Break only if it was the GNU/non-GNU ld that we prefer.
4998 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4999 *GNU
* |
*'with BFD'*)
5000 test "$with_gnu_ld" != no
&& break
5003 test "$with_gnu_ld" != yes && break
5010 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5015 if test -n "$LD"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5017 $as_echo "$LD" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5022 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5024 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5025 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5028 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5029 case `$LD -v 2>&1 </dev/null` in
5030 *GNU
* |
*'with BFD'*)
5031 lt_cv_prog_gnu_ld
=yes
5034 lt_cv_prog_gnu_ld
=no
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5039 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5040 with_gnu_ld
=$lt_cv_prog_gnu_ld
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5051 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5052 if test "${lt_cv_path_NM+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$NM"; then
5056 # Let the user override the test.
5059 lt_nm_to_check
="${ac_tool_prefix}nm"
5060 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5061 lt_nm_to_check
="$lt_nm_to_check nm"
5063 for lt_tmp_nm
in $lt_nm_to_check; do
5064 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5065 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5067 test -z "$ac_dir" && ac_dir
=.
5068 tmp_nm
="$ac_dir/$lt_tmp_nm"
5069 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5070 # Check to see if the nm accepts a BSD-compat flag.
5071 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5072 # nm: unknown option "B" ignored
5073 # Tru64's nm complains that /dev/null is an invalid object file
5074 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5075 */dev
/null
* |
*'Invalid file or object type'*)
5076 lt_cv_path_NM
="$tmp_nm -B"
5080 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5082 lt_cv_path_NM
="$tmp_nm -p"
5086 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5087 continue # so that we can try to find one that supports BSD flags
5096 : ${lt_cv_path_NM=no}
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5100 $as_echo "$lt_cv_path_NM" >&6; }
5101 if test "$lt_cv_path_NM" != "no"; then
5104 # Didn't find any BSD compatible name lister, look for dumpbin.
5105 if test -n "$DUMPBIN"; then :
5106 # Let the user override the test.
5108 if test -n "$ac_tool_prefix"; then
5109 for ac_prog
in dumpbin
"link -dump"
5111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5112 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$DUMPBIN"; then
5119 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 DUMPBIN
=$ac_cv_prog_DUMPBIN
5139 if test -n "$DUMPBIN"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5141 $as_echo "$DUMPBIN" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5148 test -n "$DUMPBIN" && break
5151 if test -z "$DUMPBIN"; then
5152 ac_ct_DUMPBIN
=$DUMPBIN
5153 for ac_prog
in dumpbin
"link -dump"
5155 # Extract the first word of "$ac_prog", so it can be a program name with args.
5156 set dummy
$ac_prog; ac_word
=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5160 $as_echo_n "(cached) " >&6
5162 if test -n "$ac_ct_DUMPBIN"; then
5163 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir
=.
5170 for ac_exec_ext
in '' $ac_executable_extensions; do
5171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5183 if test -n "$ac_ct_DUMPBIN"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5185 $as_echo "$ac_ct_DUMPBIN" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5192 test -n "$ac_ct_DUMPBIN" && break
5195 if test "x$ac_ct_DUMPBIN" = x
; then
5198 case $cross_compiling:$ac_tool_warned in
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202 ac_tool_warned
=yes ;;
5204 DUMPBIN
=$ac_ct_DUMPBIN
5208 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5210 DUMPBIN
="$DUMPBIN -symbols"
5218 if test "$DUMPBIN" != ":"; then
5222 test -z "$NM" && NM
=nm
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5230 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5231 if test "${lt_cv_nm_interface+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 lt_cv_nm_interface
="BSD nm"
5235 echo "int some_variable = 0;" > conftest.
$ac_ext
5236 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5237 (eval "$ac_compile" 2>conftest.err
)
5238 cat conftest.err
>&5
5239 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5240 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5241 cat conftest.err
>&5
5242 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5243 cat conftest.out
>&5
5244 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5245 lt_cv_nm_interface
="MS dumpbin"
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5250 $as_echo "$lt_cv_nm_interface" >&6; }
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5253 $as_echo_n "checking whether ln -s works... " >&6; }
5255 if test "$LN_S" = "ln -s"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5257 $as_echo "yes" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5260 $as_echo "no, using $LN_S" >&6; }
5263 # find the maximum length of command line arguments
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5265 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5266 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5267 $as_echo_n "(cached) " >&6
5274 # On DJGPP, this test can blow up pretty badly due to problems in libc
5275 # (any single argument exceeding 2000 bytes causes a buffer overrun
5276 # during glob expansion). Even if it were fixed, the result of this
5277 # check would be larger than it should be.
5278 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5282 # Under GNU Hurd, this test is not required because there is
5283 # no limit to the length of command line arguments.
5284 # Libtool will interpret -1 as no limit whatsoever
5285 lt_cv_sys_max_cmd_len
=-1;
5288 cygwin
* | mingw
* | cegcc
*)
5289 # On Win9x/ME, this test blows up -- it succeeds, but takes
5290 # about 5 minutes as the teststring grows exponentially.
5291 # Worse, since 9x/ME are not pre-emptively multitasking,
5292 # you end up with a "frozen" computer, even though with patience
5293 # the test eventually succeeds (with a max line length of 256k).
5294 # Instead, let's just punt: use the minimum linelength reported by
5295 # all of the supported platforms: 8192 (on NT/2K/XP).
5296 lt_cv_sys_max_cmd_len
=8192;
5300 # On MiNT this can take a long time and run out of memory.
5301 lt_cv_sys_max_cmd_len
=8192;
5305 # On AmigaOS with pdksh, this test takes hours, literally.
5306 # So we just punt and use a minimum line length of 8192.
5307 lt_cv_sys_max_cmd_len
=8192;
5310 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5311 # This has been around since 386BSD, at least. Likely further.
5312 if test -x /sbin
/sysctl
; then
5313 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5314 elif test -x /usr
/sbin
/sysctl
; then
5315 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5317 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5319 # And add a safety zone
5320 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5321 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5325 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5326 lt_cv_sys_max_cmd_len
=196608
5330 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5331 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5332 # nice to cause kernel panics so lets avoid the loop below.
5333 # First set a reasonable default.
5334 lt_cv_sys_max_cmd_len
=16384
5336 if test -x /sbin
/sysconfig
; then
5337 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5338 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5343 lt_cv_sys_max_cmd_len
=102400
5345 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5346 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5347 if test -n "$kargmax"; then
5348 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5350 lt_cv_sys_max_cmd_len
=32768
5354 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5355 if test -n "$lt_cv_sys_max_cmd_len"; then
5356 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5357 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5359 # Make teststring a little bigger before we do anything with it.
5360 # a 1K string should be a reasonable start.
5361 for i
in 1 2 3 4 5 6 7 8 ; do
5362 teststring
=$teststring$teststring
5364 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5365 # If test is not a shell built-in, we'll probably end up computing a
5366 # maximum length that is only half of the actual maximum length, but
5368 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5369 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5370 test $i != 17 # 1/2 MB should be enough
5373 teststring
=$teststring$teststring
5375 # Only check the string length outside the loop.
5376 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5378 # Add a significant safety factor because C++ compilers can tack on
5379 # massive amounts of additional arguments before passing them to the
5380 # linker. It appears as though 1/2 is a usable value.
5381 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5388 if test -n $lt_cv_sys_max_cmd_len ; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5390 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5393 $as_echo "none" >&6; }
5395 max_cmd_len
=$lt_cv_sys_max_cmd_len
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5407 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5408 # Try some XSI features
5411 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5413 && eval 'test $(( 1 + 1 )) -eq 2 \
5414 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5417 $as_echo "$xsi_shell" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5421 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5423 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5425 && lt_shell_append=yes
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5427 $as_echo "$lt_shell_append" >&6; }
5430 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5440 # test EBCDIC or ASCII
5441 case `echo X|tr X '\101'` in
5442 A) # ASCII based system
5443 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5444 lt_SP2NL='tr \040 \012'
5445 lt_NL2SP='tr \015\012 \040\040'
5447 *) # EBCDIC based system
5448 lt_SP2NL='tr \100 \n'
5449 lt_NL2SP='tr \r\n \100\100'
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5462 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5463 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5464 $as_echo_n "(cached
) " >&6
5466 lt_cv_ld_reload_flag='-r'
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5469 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5470 reload_flag=$lt_cv_ld_reload_flag
5471 case $reload_flag in
5473 *) reload_flag=" $reload_flag" ;;
5475 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5478 if test "$GCC" = yes; then
5479 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5481 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5494 if test -n "$ac_tool_prefix"; then
5495 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5496 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5498 $as_echo_n "checking
for $ac_word...
" >&6; }
5499 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5500 $as_echo_n "(cached
) " >&6
5502 if test -n "$OBJDUMP"; then
5503 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5512 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5522 OBJDUMP=$ac_cv_prog_OBJDUMP
5523 if test -n "$OBJDUMP"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5525 $as_echo "$OBJDUMP" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5528 $as_echo "no
" >&6; }
5533 if test -z "$ac_cv_prog_OBJDUMP"; then
5534 ac_ct_OBJDUMP=$OBJDUMP
5535 # Extract the first word of "objdump
", so it can be a program name with args.
5536 set dummy objdump; ac_word=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5538 $as_echo_n "checking
for $ac_word...
" >&6; }
5539 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5540 $as_echo_n "(cached
) " >&6
5542 if test -n "$ac_ct_OBJDUMP"; then
5543 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5552 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5562 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5563 if test -n "$ac_ct_OBJDUMP"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5565 $as_echo "$ac_ct_OBJDUMP" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5568 $as_echo "no
" >&6; }
5571 if test "x
$ac_ct_OBJDUMP" = x; then
5574 case $cross_compiling:$ac_tool_warned in
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5577 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5578 ac_tool_warned=yes ;;
5580 OBJDUMP=$ac_ct_OBJDUMP
5583 OBJDUMP="$ac_cv_prog_OBJDUMP"
5586 test -z "$OBJDUMP" && OBJDUMP=objdump
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5597 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5598 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5599 $as_echo_n "(cached
) " >&6
5601 lt_cv_file_magic_cmd='$MAGIC_CMD'
5602 lt_cv_file_magic_test_file=
5603 lt_cv_deplibs_check_method='unknown'
5604 # Need to set the preceding variable on all platforms that support
5605 # interlibrary dependencies.
5606 # 'none' -- dependencies not supported.
5607 # `unknown' -- same as none, but documents that we really don't know.
5608 # 'pass_all' -- all dependencies passed with no checks.
5609 # 'test_compile' -- check by making test program.
5610 # 'file_magic [[regex]]' -- check by looking for files in library path
5611 # which responds to the $file_magic_cmd with a given extended regex.
5612 # If you have `file' or equivalent on your system and you're not sure
5613 # whether `pass_all' will *always* work, you probably want this one.
5617 lt_cv_deplibs_check_method=pass_all
5621 lt_cv_deplibs_check_method=pass_all
5625 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5626 lt_cv_file_magic_cmd='/usr/bin/file -L'
5627 lt_cv_file_magic_test_file=/shlib/libc.so
5631 # func_win32_libid is a shell function defined in ltmain.sh
5632 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5633 lt_cv_file_magic_cmd='func_win32_libid'
5637 # Base MSYS/MinGW do not provide the 'file' command needed by
5638 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5639 # unless we find 'file', for example because we are cross-compiling.
5640 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5641 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5642 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5643 lt_cv_file_magic_cmd='func_win32_libid'
5645 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5646 lt_cv_file_magic_cmd='$OBJDUMP -f'
5651 # use the weaker test based on 'objdump'. See mingw*.
5652 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5653 lt_cv_file_magic_cmd='$OBJDUMP -f'
5656 darwin* | rhapsody*)
5657 lt_cv_deplibs_check_method=pass_all
5660 freebsd* | dragonfly*)
5661 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5664 # Not sure whether the presence of OpenBSD here was a mistake.
5665 # Let's accept both of them until this is cleared up.
5666 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5667 lt_cv_file_magic_cmd=/usr/bin/file
5668 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5672 lt_cv_deplibs_check_method=pass_all
5677 lt_cv_deplibs_check_method=pass_all
5681 lt_cv_deplibs_check_method=pass_all
5684 hpux10.20* | hpux11*)
5685 lt_cv_file_magic_cmd=/usr/bin/file
5688 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5689 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5692 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]'
5693 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5696 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5697 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5703 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5704 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5707 irix5* | irix6* | nonstopux*)
5709 *-32|*"-32 ") libmagic=32-bit;;
5710 *-n32|*"-n32 ") libmagic=N32;;
5711 *-64|*"-64 ") libmagic=64-bit;;
5712 *) libmagic=never-match;;
5714 lt_cv_deplibs_check_method=pass_all
5717 # This must be Linux ELF.
5718 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5719 lt_cv_deplibs_check_method=pass_all
5723 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5724 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5726 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5731 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5732 lt_cv_file_magic_cmd=/usr/bin/file
5733 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5737 lt_cv_deplibs_check_method=pass_all
5741 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5742 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5744 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5748 osf3* | osf4* | osf5*)
5749 lt_cv_deplibs_check_method=pass_all
5753 lt_cv_deplibs_check_method=pass_all
5757 lt_cv_deplibs_check_method=pass_all
5760 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5761 lt_cv_deplibs_check_method=pass_all
5765 case $host_vendor in
5767 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]'
5768 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5771 lt_cv_deplibs_check_method=pass_all
5774 lt_cv_file_magic_cmd='/bin/file'
5775 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5778 lt_cv_file_magic_cmd='/bin/file'
5779 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5780 lt_cv_file_magic_test_file=/lib/libc.so
5783 lt_cv_deplibs_check_method=pass_all
5786 lt_cv_deplibs_check_method=pass_all
5792 lt_cv_deplibs_check_method=pass_all
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5798 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5799 file_magic_cmd=$lt_cv_file_magic_cmd
5800 deplibs_check_method=$lt_cv_deplibs_check_method
5801 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}ar; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5818 $as_echo_n "checking
for $ac_word...
" >&6; }
5819 if test "${ac_cv_prog_AR+set}" = set; then :
5820 $as_echo_n "(cached
) " >&6
5822 if test -n "$AR"; then
5823 ac_cv_prog_AR="$AR" # Let the user override the test.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_prog_AR="${ac_tool_prefix}ar"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5843 if test -n "$AR"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5845 $as_echo "$AR" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5848 $as_echo "no
" >&6; }
5853 if test -z "$ac_cv_prog_AR"; then
5855 # Extract the first word of "ar", so it can be a program name with args.
5856 set dummy ar; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5858 $as_echo_n "checking
for $ac_word...
" >&6; }
5859 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5860 $as_echo_n "(cached
) " >&6
5862 if test -n "$ac_ct_AR"; then
5863 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_AR="ar"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5883 if test -n "$ac_ct_AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5885 $as_echo "$ac_ct_AR" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5888 $as_echo "no
" >&6; }
5891 if test "x
$ac_ct_AR" = x; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5897 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5898 ac_tool_warned=yes ;;
5906 test -z "$AR" && AR=ar
5907 test -z "$AR_FLAGS" && AR_FLAGS=cru
5919 if test -n "$ac_tool_prefix"; then
5920 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}strip; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5923 $as_echo_n "checking
for $ac_word...
" >&6; }
5924 if test "${ac_cv_prog_STRIP+set}" = set; then :
5925 $as_echo_n "(cached
) " >&6
5927 if test -n "$STRIP"; then
5928 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5937 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5947 STRIP=$ac_cv_prog_STRIP
5948 if test -n "$STRIP"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5950 $as_echo "$STRIP" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5953 $as_echo "no
" >&6; }
5958 if test -z "$ac_cv_prog_STRIP"; then
5960 # Extract the first word of "strip
", so it can be a program name with args.
5961 set dummy strip; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5963 $as_echo_n "checking
for $ac_word...
" >&6; }
5964 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5965 $as_echo_n "(cached
) " >&6
5967 if test -n "$ac_ct_STRIP"; then
5968 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977 ac_cv_prog_ac_ct_STRIP="strip
"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5987 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5988 if test -n "$ac_ct_STRIP"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5990 $as_echo "$ac_ct_STRIP" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5993 $as_echo "no
" >&6; }
5996 if test "x
$ac_ct_STRIP" = x; then
5999 case $cross_compiling:$ac_tool_warned in
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6002 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6003 ac_tool_warned=yes ;;
6008 STRIP="$ac_cv_prog_STRIP"
6011 test -z "$STRIP" && STRIP=:
6018 if test -n "$ac_tool_prefix"; then
6019 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6022 $as_echo_n "checking
for $ac_word...
" >&6; }
6023 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6024 $as_echo_n "(cached
) " >&6
6026 if test -n "$RANLIB"; then
6027 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6046 RANLIB=$ac_cv_prog_RANLIB
6047 if test -n "$RANLIB"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6049 $as_echo "$RANLIB" >&6; }
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6052 $as_echo "no
" >&6; }
6057 if test -z "$ac_cv_prog_RANLIB"; then
6058 ac_ct_RANLIB=$RANLIB
6059 # Extract the first word of "ranlib
", so it can be a program name with args.
6060 set dummy ranlib; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6062 $as_echo_n "checking
for $ac_word...
" >&6; }
6063 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6064 $as_echo_n "(cached
) " >&6
6066 if test -n "$ac_ct_RANLIB"; then
6067 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6087 if test -n "$ac_ct_RANLIB"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6089 $as_echo "$ac_ct_RANLIB" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6092 $as_echo "no
" >&6; }
6095 if test "x
$ac_ct_RANLIB" = x; then
6098 case $cross_compiling:$ac_tool_warned in
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6101 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6102 ac_tool_warned=yes ;;
6104 RANLIB=$ac_ct_RANLIB
6107 RANLIB="$ac_cv_prog_RANLIB"
6110 test -z "$RANLIB" && RANLIB=:
6117 # Determine commands to create old-style static archives.
6118 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6119 old_postinstall_cmds='chmod 644 $oldlib'
6120 old_postuninstall_cmds=
6122 if test -n "$RANLIB"; then
6125 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6128 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6131 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6136 lock_old_archive_extraction=yes ;;
6138 lock_old_archive_extraction=no ;;
6179 # If no C compiler was specified, use CC.
6182 # If no C compiler flags were specified, use CFLAGS.
6183 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6185 # Allow CC to be a program name with arguments.
6189 # Check for command to grab the raw symbol name followed by C symbol from nm.
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6191 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6192 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6193 $as_echo_n "(cached
) " >&6
6196 # These are sane defaults that work on at least a few old systems.
6197 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6199 # Character class describing NM global symbol codes.
6200 symcode='[BCDEGRST]'
6202 # Regexp to match symbols that can be accessed directly from C.
6203 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6205 # Define system-specific variables.
6210 cygwin* | mingw* | pw32* | cegcc*)
6211 symcode='[ABCDGISTW]'
6214 if test "$host_cpu" = ia64; then
6215 symcode='[ABCDEGRST]'
6219 symcode='[BCDEGRST]'
6222 symcode='[BCDEGQRST]'
6233 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6241 # If we're using GNU nm, then use its standard symbol codes.
6242 case `$NM -V 2>&1` in
6243 *GNU* | *'with BFD'*)
6244 symcode='[ABCDGIRSTW]' ;;
6247 # Transform an extracted symbol line into a proper C declaration.
6248 # Some systems (esp. on ia64) link data and code symbols differently,
6249 # so use this general approach.
6250 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6252 # Transform an extracted symbol line into symbol name and symbol address
6253 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6254 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'"
6256 # Handle CRLF in mingw tool chain
6260 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6264 # Try without a prefix underscore, then with it.
6265 for ac_symprfx in "" "_
"; do
6267 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6268 symxfrm="\\1 $ac_symprfx\\2 \\2"
6270 # Write the raw and C identifiers.
6271 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6272 # Fake it for dumpbin and say T for any non-static function
6273 # and D for any global variable.
6274 # Also find C++ and __fastcall symbols from MSVC++,
6275 # which start with @ or ?.
6276 lt_cv_sys_global_symbol_pipe="$AWK '"\
6277 " {last_section=section; section=\$ 3};"\
6278 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6279 " \$ 0!~/External *\|/{next};"\
6280 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6281 " {if(hide[section]) next};"\
6282 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6283 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6284 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6285 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6286 " ' prfx
=^
$ac_symprfx"
6288 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6291 # Check to see that the pipe works correctly.
6295 cat > conftest.$ac_ext <<_LT_EOF
6300 void nm_test_func(void);
6301 void nm_test_func(void){}
6305 int main(){nm_test_var='a';nm_test_func();return(0);}
6308 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6309 (eval $ac_compile) 2>&5
6311 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6312 test $ac_status = 0; }; then
6313 # Now try to grab the symbols.
6315 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6316 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6318 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6319 test $ac_status = 0; } && test -s "$nlist"; then
6320 # Try sorting and uniquifying the output.
6321 if sort "$nlist" | uniq > "$nlist"T; then
6322 mv -f "$nlist"T "$nlist"
6327 # Make sure that we snagged all the symbols we need.
6328 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6329 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6330 cat <<_LT_EOF > conftest.$ac_ext
6336 # Now generate the symbol file.
6337 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6339 cat <<_LT_EOF >> conftest.$ac_ext
6341 /* The mapping between symbol names and symbols. */
6346 lt__PROGRAM__LTX_preloaded_symbols[] =
6348 { "@PROGRAM@
", (void *) 0 },
6350 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6351 cat <<\_LT_EOF >> conftest.$ac_ext
6355 /* This works around a problem in FreeBSD linker */
6356 #ifdef FREEBSD_WORKAROUND
6357 static const void *lt_preloaded_setup() {
6358 return lt__PROGRAM__LTX_preloaded_symbols;
6366 # Now try linking the two files.
6367 mv conftest.$ac_objext conftstm.$ac_objext
6368 lt_save_LIBS="$LIBS"
6369 lt_save_CFLAGS="$CFLAGS"
6370 LIBS="conftstm.
$ac_objext"
6371 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6372 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6373 (eval $ac_link) 2>&5
6375 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6376 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6379 LIBS="$lt_save_LIBS"
6380 CFLAGS="$lt_save_CFLAGS"
6382 echo "cannot
find nm_test_func
in $nlist" >&5
6385 echo "cannot
find nm_test_var
in $nlist" >&5
6388 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6391 echo "$progname: failed program was
:" >&5
6392 cat conftest.$ac_ext >&5
6394 rm -rf conftest* conftst*
6396 # Do not use the global_symbol_pipe unless it works.
6397 if test "$pipe_works" = yes; then
6400 lt_cv_sys_global_symbol_pipe=
6406 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6407 lt_cv_sys_global_symbol_to_cdecl=
6409 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6411 $as_echo "failed
" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6414 $as_echo "ok
" >&6; }
6439 # Check whether --enable-libtool-lock was given.
6440 if test "${enable_libtool_lock+set}" = set; then :
6441 enableval=$enable_libtool_lock;
6444 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6446 # Some flags need to be propagated to the compiler or linker for good
6450 # Find out which ABI we are using.
6451 echo 'int i;' > conftest.$ac_ext
6452 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6453 (eval $ac_compile) 2>&5
6455 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6456 test $ac_status = 0; }; then
6457 case `/usr/bin/file conftest.$ac_objext` in
6469 # Find out which ABI we are using.
6470 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6471 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6472 (eval $ac_compile) 2>&5
6474 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6475 test $ac_status = 0; }; then
6476 if test "$lt_cv_prog_gnu_ld" = yes; then
6477 case `/usr/bin/file conftest.$ac_objext` in
6479 LD="${LD-ld} -melf32bsmip"
6482 LD="${LD-ld} -melf32bmipn32"
6485 LD="${LD-ld} -melf64bmip"
6489 case `/usr/bin/file conftest.$ac_objext` in
6505 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6506 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6507 # Find out which ABI we are using.
6508 echo 'int i;' > conftest.$ac_ext
6509 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6510 (eval $ac_compile) 2>&5
6512 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6513 test $ac_status = 0; }; then
6514 case `/usr/bin/file conftest.o` in
6517 x86_64-*kfreebsd*-gnu)
6518 LD="${LD-ld} -m elf_i386_fbsd
"
6521 LD="${LD-ld} -m elf_i386
"
6523 ppc64-*linux*|powerpc64-*linux*)
6524 LD="${LD-ld} -m elf32ppclinux
"
6527 LD="${LD-ld} -m elf_s390
"
6530 LD="${LD-ld} -m elf32_sparc
"
6536 x86_64-*kfreebsd*-gnu)
6537 LD="${LD-ld} -m elf_x86_64_fbsd
"
6540 LD="${LD-ld} -m elf_x86_64
"
6542 ppc*-*linux*|powerpc*-*linux*)
6543 LD="${LD-ld} -m elf64ppc
"
6545 s390*-*linux*|s390*-*tpf*)
6546 LD="${LD-ld} -m elf64_s390
"
6549 LD="${LD-ld} -m elf64_sparc
"
6559 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6560 SAVE_CFLAGS="$CFLAGS"
6561 CFLAGS="$CFLAGS -belf"
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6563 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6564 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6565 $as_echo_n "(cached
) " >&6
6568 ac_cpp='$CPP $CPPFLAGS'
6569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6584 if ac_fn_c_try_link "$LINENO"; then :
6585 lt_cv_cc_needs_belf=yes
6587 lt_cv_cc_needs_belf=no
6589 rm -f core conftest.err conftest.$ac_objext \
6590 conftest$ac_exeext conftest.$ac_ext
6592 ac_cpp='$CPP $CPPFLAGS'
6593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6599 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6600 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6601 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6602 CFLAGS="$SAVE_CFLAGS"
6606 # Find out which ABI we are using.
6607 echo 'int i;' > conftest.$ac_ext
6608 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6609 (eval $ac_compile) 2>&5
6611 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6612 test $ac_status = 0; }; then
6613 case `/usr/bin/file conftest.o` in
6615 case $lt_cv_prog_gnu_ld in
6616 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6618 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6630 need_locks="$enable_libtool_lock"
6634 rhapsody* | darwin*)
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6639 $as_echo_n "checking
for $ac_word...
" >&6; }
6640 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6641 $as_echo_n "(cached
) " >&6
6643 if test -n "$DSYMUTIL"; then
6644 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6663 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6664 if test -n "$DSYMUTIL"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6666 $as_echo "$DSYMUTIL" >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6669 $as_echo "no
" >&6; }
6674 if test -z "$ac_cv_prog_DSYMUTIL"; then
6675 ac_ct_DSYMUTIL=$DSYMUTIL
6676 # Extract the first word of "dsymutil
", so it can be a program name with args.
6677 set dummy dsymutil; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6679 $as_echo_n "checking
for $ac_word...
" >&6; }
6680 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6681 $as_echo_n "(cached
) " >&6
6683 if test -n "$ac_ct_DSYMUTIL"; then
6684 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6703 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6704 if test -n "$ac_ct_DSYMUTIL"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6706 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6709 $as_echo "no
" >&6; }
6712 if test "x
$ac_ct_DSYMUTIL" = x; then
6715 case $cross_compiling:$ac_tool_warned in
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6718 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6719 ac_tool_warned=yes ;;
6721 DSYMUTIL=$ac_ct_DSYMUTIL
6724 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6727 if test -n "$ac_tool_prefix"; then
6728 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6729 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6731 $as_echo_n "checking
for $ac_word...
" >&6; }
6732 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6733 $as_echo_n "(cached
) " >&6
6735 if test -n "$NMEDIT"; then
6736 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6745 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6755 NMEDIT=$ac_cv_prog_NMEDIT
6756 if test -n "$NMEDIT"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6758 $as_echo "$NMEDIT" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6761 $as_echo "no
" >&6; }
6766 if test -z "$ac_cv_prog_NMEDIT"; then
6767 ac_ct_NMEDIT=$NMEDIT
6768 # Extract the first word of "nmedit
", so it can be a program name with args.
6769 set dummy nmedit; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6771 $as_echo_n "checking
for $ac_word...
" >&6; }
6772 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6773 $as_echo_n "(cached
) " >&6
6775 if test -n "$ac_ct_NMEDIT"; then
6776 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6795 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6796 if test -n "$ac_ct_NMEDIT"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6798 $as_echo "$ac_ct_NMEDIT" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6801 $as_echo "no
" >&6; }
6804 if test "x
$ac_ct_NMEDIT" = x; then
6807 case $cross_compiling:$ac_tool_warned in
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6810 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6811 ac_tool_warned=yes ;;
6813 NMEDIT=$ac_ct_NMEDIT
6816 NMEDIT="$ac_cv_prog_NMEDIT"
6819 if test -n "$ac_tool_prefix"; then
6820 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6821 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6823 $as_echo_n "checking
for $ac_word...
" >&6; }
6824 if test "${ac_cv_prog_LIPO+set}" = set; then :
6825 $as_echo_n "(cached
) " >&6
6827 if test -n "$LIPO"; then
6828 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6847 LIPO=$ac_cv_prog_LIPO
6848 if test -n "$LIPO"; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6850 $as_echo "$LIPO" >&6; }
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6853 $as_echo "no
" >&6; }
6858 if test -z "$ac_cv_prog_LIPO"; then
6860 # Extract the first word of "lipo
", so it can be a program name with args.
6861 set dummy lipo; ac_word=$2
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6863 $as_echo_n "checking
for $ac_word...
" >&6; }
6864 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6865 $as_echo_n "(cached
) " >&6
6867 if test -n "$ac_ct_LIPO"; then
6868 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 test -z "$as_dir" && as_dir=.
6875 for ac_exec_ext in '' $ac_executable_extensions; do
6876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6877 ac_cv_prog_ac_ct_LIPO="lipo
"
6878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6887 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6888 if test -n "$ac_ct_LIPO"; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6890 $as_echo "$ac_ct_LIPO" >&6; }
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6893 $as_echo "no
" >&6; }
6896 if test "x
$ac_ct_LIPO" = x; then
6899 case $cross_compiling:$ac_tool_warned in
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6902 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6903 ac_tool_warned=yes ;;
6908 LIPO="$ac_cv_prog_LIPO"
6911 if test -n "$ac_tool_prefix"; then
6912 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6913 set dummy ${ac_tool_prefix}otool; ac_word=$2
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6915 $as_echo_n "checking
for $ac_word...
" >&6; }
6916 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6917 $as_echo_n "(cached
) " >&6
6919 if test -n "$OTOOL"; then
6920 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6939 OTOOL=$ac_cv_prog_OTOOL
6940 if test -n "$OTOOL"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6942 $as_echo "$OTOOL" >&6; }
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6945 $as_echo "no
" >&6; }
6950 if test -z "$ac_cv_prog_OTOOL"; then
6952 # Extract the first word of "otool
", so it can be a program name with args.
6953 set dummy otool; ac_word=$2
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6955 $as_echo_n "checking
for $ac_word...
" >&6; }
6956 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6957 $as_echo_n "(cached
) " >&6
6959 if test -n "$ac_ct_OTOOL"; then
6960 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 ac_cv_prog_ac_ct_OTOOL="otool
"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6979 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6980 if test -n "$ac_ct_OTOOL"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6982 $as_echo "$ac_ct_OTOOL" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6985 $as_echo "no
" >&6; }
6988 if test "x
$ac_ct_OTOOL" = x; then
6991 case $cross_compiling:$ac_tool_warned in
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6994 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6995 ac_tool_warned=yes ;;
7000 OTOOL="$ac_cv_prog_OTOOL"
7003 if test -n "$ac_tool_prefix"; then
7004 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7005 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7007 $as_echo_n "checking
for $ac_word...
" >&6; }
7008 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7009 $as_echo_n "(cached
) " >&6
7011 if test -n "$OTOOL64"; then
7012 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7031 OTOOL64=$ac_cv_prog_OTOOL64
7032 if test -n "$OTOOL64"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7034 $as_echo "$OTOOL64" >&6; }
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7037 $as_echo "no
" >&6; }
7042 if test -z "$ac_cv_prog_OTOOL64"; then
7043 ac_ct_OTOOL64=$OTOOL64
7044 # Extract the first word of "otool64
", so it can be a program name with args.
7045 set dummy otool64; ac_word=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7047 $as_echo_n "checking
for $ac_word...
" >&6; }
7048 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7049 $as_echo_n "(cached
) " >&6
7051 if test -n "$ac_ct_OTOOL64"; then
7052 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7071 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7072 if test -n "$ac_ct_OTOOL64"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7074 $as_echo "$ac_ct_OTOOL64" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7077 $as_echo "no
" >&6; }
7080 if test "x
$ac_ct_OTOOL64" = x; then
7083 case $cross_compiling:$ac_tool_warned in
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7086 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7087 ac_tool_warned=yes ;;
7089 OTOOL64=$ac_ct_OTOOL64
7092 OTOOL64="$ac_cv_prog_OTOOL64"
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7122 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7123 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7124 $as_echo_n "(cached
) " >&6
7126 lt_cv_apple_cc_single_mod=no
7127 if test -z "${LT_MULTI_MODULE}"; then
7128 # By default we will add the -single_module flag. You can override
7129 # by either setting the environment variable LT_MULTI_MODULE
7130 # non-empty at configure time, or by adding -multi_module to the
7132 rm -rf libconftest.dylib*
7133 echo "int foo
(void
){return 1;}" > conftest.c
7134 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7135 -dynamiclib -Wl,-single_module conftest.c
" >&5
7136 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7137 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7139 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7140 lt_cv_apple_cc_single_mod=yes
7142 cat conftest.err >&5
7144 rm -rf libconftest.dylib*
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7149 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7151 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7152 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7153 $as_echo_n "(cached
) " >&6
7155 lt_cv_ld_exported_symbols_list=no
7156 save_LDFLAGS=$LDFLAGS
7157 echo "_main
" > conftest.sym
7158 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7170 if ac_fn_c_try_link "$LINENO"; then :
7171 lt_cv_ld_exported_symbols_list=yes
7173 lt_cv_ld_exported_symbols_list=no
7175 rm -f core conftest.err conftest.$ac_objext \
7176 conftest$ac_exeext conftest.$ac_ext
7177 LDFLAGS="$save_LDFLAGS"
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7181 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7183 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7184 if test "${lt_cv_ld_force_load+set}" = set; then :
7185 $as_echo_n "(cached
) " >&6
7187 lt_cv_ld_force_load=no
7188 cat > conftest.c << _LT_EOF
7189 int forced_loaded() { return 2;}
7191 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7192 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7193 echo "$AR cru libconftest.a conftest.o
" >&5
7194 $AR cru libconftest.a conftest.o 2>&5
7195 cat > conftest.c << _LT_EOF
7196 int main() { return 0;}
7198 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7199 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7201 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7202 lt_cv_ld_force_load=yes
7204 cat conftest.err >&5
7206 rm -f conftest.err libconftest.a conftest conftest.c
7207 rm -rf conftest.dSYM
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7211 $as_echo "$lt_cv_ld_force_load" >&6; }
7213 rhapsody* | darwin1.[012])
7214 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7216 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7217 darwin*) # darwin 5.x on
7218 # if running on 10.5 or later, the deployment target defaults
7219 # to the OS version, if on x86, and 10.4, the deployment
7220 # target defaults to 10.4. Don't you love it?
7221 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7222 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7223 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7225 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7227 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7231 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7232 _lt_dar_single_mod='$single_module'
7234 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7235 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7237 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7239 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7240 _lt_dsymutil='~$DSYMUTIL $lib || :'
7248 ac_cpp='$CPP $CPPFLAGS'
7249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7253 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7254 # On Suns, sometimes $CPP names a directory.
7255 if test -n "$CPP" && test -d "$CPP"; then
7258 if test -z "$CPP"; then
7259 if test "${ac_cv_prog_CPP+set}" = set; then :
7260 $as_echo_n "(cached
) " >&6
7262 # Double quotes because CPP needs to be expanded
7263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7266 for ac_c_preproc_warn_flag in '' yes
7268 # Use a header file that comes with gcc, so configuring glibc
7269 # with a fresh cross-compiler works.
7270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7271 # <limits.h> exists even on freestanding compilers.
7272 # On the NeXT, cc -E runs the code through the compiler's parser,
7273 # not just through cpp. "Syntax error
" is here to catch this case.
7274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7275 /* end confdefs.h. */
7277 # include <limits.h>
7279 # include <assert.h>
7283 if ac_fn_c_try_cpp "$LINENO"; then :
7286 # Broken: fails on valid input.
7289 rm -f conftest.err conftest.$ac_ext
7291 # OK, works on sane cases. Now check whether nonexistent headers
7292 # can be detected and how.
7293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7294 /* end confdefs.h. */
7295 #include <ac_nonexistent.h>
7297 if ac_fn_c_try_cpp "$LINENO"; then :
7298 # Broken: success on invalid input.
7301 # Passes both tests.
7305 rm -f conftest.err conftest.$ac_ext
7308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7309 rm -f conftest.err conftest.$ac_ext
7310 if $ac_preproc_ok; then :
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7323 $as_echo "$CPP" >&6; }
7325 for ac_c_preproc_warn_flag in '' yes
7327 # Use a header file that comes with gcc, so configuring glibc
7328 # with a fresh cross-compiler works.
7329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7330 # <limits.h> exists even on freestanding compilers.
7331 # On the NeXT, cc -E runs the code through the compiler's parser,
7332 # not just through cpp. "Syntax error
" is here to catch this case.
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7336 # include <limits.h>
7338 # include <assert.h>
7342 if ac_fn_c_try_cpp "$LINENO"; then :
7345 # Broken: fails on valid input.
7348 rm -f conftest.err conftest.$ac_ext
7350 # OK, works on sane cases. Now check whether nonexistent headers
7351 # can be detected and how.
7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h. */
7354 #include <ac_nonexistent.h>
7356 if ac_fn_c_try_cpp "$LINENO"; then :
7357 # Broken: success on invalid input.
7360 # Passes both tests.
7364 rm -f conftest.err conftest.$ac_ext
7367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7368 rm -f conftest.err conftest.$ac_ext
7369 if $ac_preproc_ok; then :
7372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7374 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7375 See \`config.log' for more details.
" "$LINENO" 5; }
7379 ac_cpp='$CPP $CPPFLAGS'
7380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7386 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7387 if test "${ac_cv_header_stdc+set}" = set; then :
7388 $as_echo_n "(cached
) " >&6
7390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7391 /* end confdefs.h. */
7405 if ac_fn_c_try_compile "$LINENO"; then :
7406 ac_cv_header_stdc=yes
7408 ac_cv_header_stdc=no
7410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7412 if test $ac_cv_header_stdc = yes; then
7413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h. */
7419 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7420 $EGREP "memchr
" >/dev/null 2>&1; then :
7423 ac_cv_header_stdc=no
7429 if test $ac_cv_header_stdc = yes; then
7430 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7436 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7437 $EGREP "free
" >/dev/null 2>&1; then :
7440 ac_cv_header_stdc=no
7446 if test $ac_cv_header_stdc = yes; then
7447 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7448 if test "$cross_compiling" = yes; then :
7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7452 /* end confdefs.h. */
7455 #if ((' ' & 0x0FF) == 0x020)
7456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7459 # define ISLOWER(c) \
7460 (('a' <= (c) && (c) <= 'i') \
7461 || ('j' <= (c) && (c) <= 'r') \
7462 || ('s' <= (c) && (c) <= 'z'))
7463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7471 for (i = 0; i < 256; i++)
7472 if (XOR (islower (i), ISLOWER (i))
7473 || toupper (i) != TOUPPER (i))
7478 if ac_fn_c_try_run "$LINENO"; then :
7481 ac_cv_header_stdc=no
7483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7484 conftest.$ac_objext conftest.beam conftest.$ac_ext
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7490 $as_echo "$ac_cv_header_stdc" >&6; }
7491 if test $ac_cv_header_stdc = yes; then
7493 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7498 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7499 inttypes.h stdint.h unistd.h
7501 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7502 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7504 eval as_val
=\$
$as_ac_Header
7505 if test "x$as_val" = x
""yes; then :
7506 cat >>confdefs.h
<<_ACEOF
7507 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7515 for ac_header
in dlfcn.h
7517 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7519 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7520 cat >>confdefs.h
<<_ACEOF
7521 #define HAVE_DLFCN_H 1
7542 # Check whether --enable-shared was given.
7543 if test "${enable_shared+set}" = set; then :
7544 enableval
=$enable_shared; p
=${PACKAGE-default}
7546 yes) enable_shared
=yes ;;
7547 no
) enable_shared
=no
;;
7550 # Look at the argument we got. We use all the common list separators.
7551 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7552 for pkg
in $enableval; do
7554 if test "X$pkg" = "X$p"; then
7573 # Check whether --enable-static was given.
7574 if test "${enable_static+set}" = set; then :
7575 enableval
=$enable_static; p
=${PACKAGE-default}
7577 yes) enable_static
=yes ;;
7578 no
) enable_static
=no
;;
7581 # Look at the argument we got. We use all the common list separators.
7582 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7583 for pkg
in $enableval; do
7585 if test "X$pkg" = "X$p"; then
7605 # Check whether --with-pic was given.
7606 if test "${with_pic+set}" = set; then :
7607 withval
=$with_pic; pic_mode
="$withval"
7613 test -z "$pic_mode" && pic_mode
=default
7621 # Check whether --enable-fast-install was given.
7622 if test "${enable_fast_install+set}" = set; then :
7623 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7625 yes) enable_fast_install
=yes ;;
7626 no
) enable_fast_install
=no
;;
7628 enable_fast_install
=no
7629 # Look at the argument we got. We use all the common list separators.
7630 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7631 for pkg
in $enableval; do
7633 if test "X$pkg" = "X$p"; then
7634 enable_fast_install
=yes
7641 enable_fast_install
=yes
7654 # This can be used to rebuild libtool when needed
7655 LIBTOOL_DEPS
="$ltmain"
7657 # Always use our own libtool.
7658 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7685 test -z "$LN_S" && LN_S
="ln -s"
7700 if test -n "${ZSH_VERSION+set}" ; then
7701 setopt NO_GLOB_SUBST
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7705 $as_echo_n "checking for objdir... " >&6; }
7706 if test "${lt_cv_objdir+set}" = set; then :
7707 $as_echo_n "(cached) " >&6
7709 rm -f .libs
2>/dev
/null
7710 mkdir .libs
2>/dev
/null
7711 if test -d .libs
; then
7714 # MS-DOS does not allow filenames that begin with a dot.
7717 rmdir .libs
2>/dev
/null
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7720 $as_echo "$lt_cv_objdir" >&6; }
7721 objdir
=$lt_cv_objdir
7727 cat >>confdefs.h
<<_ACEOF
7728 #define LT_OBJDIR "$lt_cv_objdir/"
7736 # AIX sometimes has problems with the GCC collect2 program. For some
7737 # reason, if we set the COLLECT_NAMES environment variable, the problems
7738 # vanish in a puff of smoke.
7739 if test "X${COLLECT_NAMES+set}" != Xset
; then
7741 export COLLECT_NAMES
7748 can_build_shared
=yes
7750 # All known linkers require a `.a' archive for static linking (except MSVC,
7751 # which needs '.lib').
7754 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7757 old_CFLAGS
="$CFLAGS"
7759 # Set sane defaults for various variables
7760 test -z "$CC" && CC
=cc
7761 test -z "$LTCC" && LTCC
=$CC
7762 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7763 test -z "$LD" && LD
=ld
7764 test -z "$ac_objext" && ac_objext
=o
7766 for cc_temp
in $compiler""; do
7768 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7769 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7774 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7777 # Only perform the check for file, if the check method requires it
7778 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7779 case $deplibs_check_method in
7781 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7783 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7784 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7789 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7792 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7793 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7794 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7795 for ac_dir
in $ac_dummy; do
7797 test -z "$ac_dir" && ac_dir
=.
7798 if test -f $ac_dir/${ac_tool_prefix}file; then
7799 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7800 if test -n "$file_magic_test_file"; then
7801 case $deplibs_check_method in
7803 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7804 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7805 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7806 $EGREP "$file_magic_regex" > /dev
/null
; then
7811 *** Warning: the command libtool uses to detect shared libraries,
7812 *** $file_magic_cmd, produces output that libtool cannot recognize.
7813 *** The result is that libtool may fail to recognize shared libraries
7814 *** as such. This will affect the creation of libtool libraries that
7815 *** depend on shared libraries, but programs linked with such libtool
7816 *** libraries will work regardless of this problem. Nevertheless, you
7817 *** may want to report the problem to your system manager and/or to
7818 *** bug-libtool@gnu.org
7828 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7833 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7834 if test -n "$MAGIC_CMD"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7836 $as_echo "$MAGIC_CMD" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7846 if test -z "$lt_cv_path_MAGIC_CMD"; then
7847 if test -n "$ac_tool_prefix"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7849 $as_echo_n "checking for file... " >&6; }
7850 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7851 $as_echo_n "(cached) " >&6
7855 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7858 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7859 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7860 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7861 for ac_dir
in $ac_dummy; do
7863 test -z "$ac_dir" && ac_dir
=.
7864 if test -f $ac_dir/file; then
7865 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7866 if test -n "$file_magic_test_file"; then
7867 case $deplibs_check_method in
7869 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7870 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7871 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7872 $EGREP "$file_magic_regex" > /dev
/null
; then
7877 *** Warning: the command libtool uses to detect shared libraries,
7878 *** $file_magic_cmd, produces output that libtool cannot recognize.
7879 *** The result is that libtool may fail to recognize shared libraries
7880 *** as such. This will affect the creation of libtool libraries that
7881 *** depend on shared libraries, but programs linked with such libtool
7882 *** libraries will work regardless of this problem. Nevertheless, you
7883 *** may want to report the problem to your system manager and/or to
7884 *** bug-libtool@gnu.org
7894 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7899 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7900 if test -n "$MAGIC_CMD"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7902 $as_echo "$MAGIC_CMD" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7918 # Use C for the default configuration in the libtool script
7922 ac_cpp
='$CPP $CPPFLAGS'
7923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7928 # Source file extension for C test sources.
7931 # Object file extension for compiled C test sources.
7935 # Code to be used in simple compile tests
7936 lt_simple_compile_test_code
="int some_variable = 0;"
7938 # Code to be used in simple link tests
7939 lt_simple_link_test_code
='int main(){return(0);}'
7947 # If no C compiler was specified, use CC.
7950 # If no C compiler flags were specified, use CFLAGS.
7951 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7953 # Allow CC to be a program name with arguments.
7956 # Save the default compiler, since it gets overwritten when the other
7957 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7958 compiler_DEFAULT
=$CC
7960 # save warnings/boilerplate of simple test code
7961 ac_outfile
=conftest.
$ac_objext
7962 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7963 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7964 _lt_compiler_boilerplate
=`cat conftest.err`
7967 ac_outfile
=conftest.
$ac_objext
7968 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7969 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7970 _lt_linker_boilerplate
=`cat conftest.err`
7975 ## There is no encapsulation within the following macros, do not change
7976 ## the running order or otherwise move them around unless you know exactly
7977 ## what you are doing...
7978 if test -n "$compiler"; then
7980 lt_prog_compiler_no_builtin_flag
=
7982 if test "$GCC" = yes; then
7983 case $cc_basename in
7985 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7987 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7991 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7992 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7993 $as_echo_n "(cached) " >&6
7995 lt_cv_prog_compiler_rtti_exceptions
=no
7996 ac_outfile
=conftest.
$ac_objext
7997 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7998 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7999 # Insert the option either (1) after the last *FLAGS variable, or
8000 # (2) before a word containing "conftest.", or (3) at the end.
8001 # Note that $ac_compile itself does not contain backslashes and begins
8002 # with a dollar sign (not a hyphen), so the echo should work correctly.
8003 # The option is referenced via a variable to avoid confusing sed.
8004 lt_compile
=`echo "$ac_compile" | $SED \
8005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8007 -e 's:$: $lt_compiler_flag:'`
8008 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8009 (eval "$lt_compile" 2>conftest.err
)
8011 cat conftest.err
>&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 if (exit $ac_status) && test -s "$ac_outfile"; then
8014 # The compiler can only warn and ignore the option if not recognized
8015 # So say no if there are warnings other than the usual output.
8016 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8017 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8018 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8019 lt_cv_prog_compiler_rtti_exceptions
=yes
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8026 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8028 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8029 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8041 lt_prog_compiler_wl
=
8042 lt_prog_compiler_pic
=
8043 lt_prog_compiler_static
=
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8046 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8048 if test "$GCC" = yes; then
8049 lt_prog_compiler_wl
='-Wl,'
8050 lt_prog_compiler_static
='-static'
8054 # All AIX code is PIC.
8055 if test "$host_cpu" = ia64
; then
8056 # AIX 5 now supports IA64 processor
8057 lt_prog_compiler_static
='-Bstatic'
8064 # see comment about AmigaOS4 .so support
8065 lt_prog_compiler_pic
='-fPIC'
8068 # FIXME: we need at least 68020 code to build shared libraries, but
8069 # adding the `-m68020' flag to GCC prevents building anything better,
8071 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8076 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8077 # PIC is the default for these OSes.
8080 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8081 # This hack is so that the source file can tell whether it is being
8082 # built for inclusion in a dll (and should export symbols for example).
8083 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8084 # (--disable-auto-import) libraries
8085 lt_prog_compiler_pic
='-DDLL_EXPORT'
8088 darwin
* | rhapsody
*)
8089 # PIC is the default on this platform
8090 # Common symbols not allowed in MH_DYLIB files
8091 lt_prog_compiler_pic
='-fno-common'
8095 # PIC is the default for Haiku.
8096 # The "-static" flag exists, but is broken.
8097 lt_prog_compiler_static
=
8101 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8102 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8103 # sets the default TLS model and affects inlining.
8109 lt_prog_compiler_pic
='-fPIC'
8115 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8116 # Instead, we relocate shared libraries at runtime.
8120 # Just because we use GCC doesn't mean we suddenly get shared libraries
8121 # on systems that don't support them.
8122 lt_prog_compiler_can_build_shared
=no
8127 # QNX uses GNU C++, but need to define -shared option too, otherwise
8129 lt_prog_compiler_pic
='-fPIC -shared'
8133 if test -d /usr
/nec
; then
8134 lt_prog_compiler_pic
=-Kconform_pic
8139 lt_prog_compiler_pic
='-fPIC'
8143 case $cc_basename in
8144 nvcc
*) # Cuda Compiler Driver 2.2
8145 lt_prog_compiler_wl
='-Xlinker '
8146 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8150 # PORTME Check for flag to pass linker flags through the system compiler.
8153 lt_prog_compiler_wl
='-Wl,'
8154 if test "$host_cpu" = ia64
; then
8155 # AIX 5 now supports IA64 processor
8156 lt_prog_compiler_static
='-Bstatic'
8158 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8162 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8163 # This hack is so that the source file can tell whether it is being
8164 # built for inclusion in a dll (and should export symbols for example).
8165 lt_prog_compiler_pic
='-DDLL_EXPORT'
8168 hpux9
* | hpux10
* | hpux11
*)
8169 lt_prog_compiler_wl
='-Wl,'
8170 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8177 lt_prog_compiler_pic
='+Z'
8180 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8181 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8184 irix5
* | irix6
* | nonstopux
*)
8185 lt_prog_compiler_wl
='-Wl,'
8186 # PIC (with -KPIC) is the default.
8187 lt_prog_compiler_static
='-non_shared'
8190 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8191 case $cc_basename in
8192 # old Intel for x86_64 which still supported -KPIC.
8194 lt_prog_compiler_wl
='-Wl,'
8195 lt_prog_compiler_pic
='-KPIC'
8196 lt_prog_compiler_static
='-static'
8198 # icc used to be incompatible with GCC.
8199 # ICC 10 doesn't accept -KPIC any more.
8201 lt_prog_compiler_wl
='-Wl,'
8202 lt_prog_compiler_pic
='-fPIC'
8203 lt_prog_compiler_static
='-static'
8205 # Lahey Fortran 8.1.
8207 lt_prog_compiler_wl
='-Wl,'
8208 lt_prog_compiler_pic
='--shared'
8209 lt_prog_compiler_static
='--static'
8211 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8212 # Portland Group compilers (*not* the Pentium gcc compiler,
8213 # which looks to be a dead project)
8214 lt_prog_compiler_wl
='-Wl,'
8215 lt_prog_compiler_pic
='-fpic'
8216 lt_prog_compiler_static
='-Bstatic'
8219 lt_prog_compiler_wl
='-Wl,'
8220 # All Alpha code is PIC.
8221 lt_prog_compiler_static
='-non_shared'
8223 xl
* | bgxl
* | bgf
* | mpixl
*)
8224 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8225 lt_prog_compiler_wl
='-Wl,'
8226 lt_prog_compiler_pic
='-qpic'
8227 lt_prog_compiler_static
='-qstaticlink'
8230 case `$CC -V 2>&1 | sed 5q` in
8231 *Sun\ F
* |
*Sun
*Fortran
*)
8232 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8233 lt_prog_compiler_pic
='-KPIC'
8234 lt_prog_compiler_static
='-Bstatic'
8235 lt_prog_compiler_wl
=''
8239 lt_prog_compiler_pic
='-KPIC'
8240 lt_prog_compiler_static
='-Bstatic'
8241 lt_prog_compiler_wl
='-Wl,'
8249 lt_prog_compiler_pic
='-KPIC'
8250 lt_prog_compiler_static
='-Bstatic'
8254 # QNX uses GNU C++, but need to define -shared option too, otherwise
8256 lt_prog_compiler_pic
='-fPIC -shared'
8259 osf3
* | osf4
* | osf5
*)
8260 lt_prog_compiler_wl
='-Wl,'
8261 # All OSF/1 code is PIC.
8262 lt_prog_compiler_static
='-non_shared'
8266 lt_prog_compiler_static
='-non_shared'
8270 lt_prog_compiler_pic
='-KPIC'
8271 lt_prog_compiler_static
='-Bstatic'
8272 case $cc_basename in
8274 lt_prog_compiler_wl
='-Qoption ld ';;
8276 lt_prog_compiler_wl
='-Wl,';;
8281 lt_prog_compiler_wl
='-Qoption ld '
8282 lt_prog_compiler_pic
='-PIC'
8283 lt_prog_compiler_static
='-Bstatic'
8286 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8287 lt_prog_compiler_wl
='-Wl,'
8288 lt_prog_compiler_pic
='-KPIC'
8289 lt_prog_compiler_static
='-Bstatic'
8293 if test -d /usr
/nec
;then
8294 lt_prog_compiler_pic
='-Kconform_pic'
8295 lt_prog_compiler_static
='-Bstatic'
8299 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8300 lt_prog_compiler_wl
='-Wl,'
8301 lt_prog_compiler_pic
='-KPIC'
8302 lt_prog_compiler_static
='-Bstatic'
8306 lt_prog_compiler_wl
='-Wl,'
8307 lt_prog_compiler_can_build_shared
=no
8311 lt_prog_compiler_pic
='-pic'
8312 lt_prog_compiler_static
='-Bstatic'
8316 lt_prog_compiler_can_build_shared
=no
8322 # For platforms which do not support PIC, -DPIC is meaningless:
8324 lt_prog_compiler_pic
=
8327 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8331 $as_echo "$lt_prog_compiler_pic" >&6; }
8339 # Check to make sure the PIC flag actually works.
8341 if test -n "$lt_prog_compiler_pic"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8343 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8344 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8345 $as_echo_n "(cached) " >&6
8347 lt_cv_prog_compiler_pic_works
=no
8348 ac_outfile
=conftest.
$ac_objext
8349 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8350 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8351 # Insert the option either (1) after the last *FLAGS variable, or
8352 # (2) before a word containing "conftest.", or (3) at the end.
8353 # Note that $ac_compile itself does not contain backslashes and begins
8354 # with a dollar sign (not a hyphen), so the echo should work correctly.
8355 # The option is referenced via a variable to avoid confusing sed.
8356 lt_compile
=`echo "$ac_compile" | $SED \
8357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8359 -e 's:$: $lt_compiler_flag:'`
8360 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8361 (eval "$lt_compile" 2>conftest.err
)
8363 cat conftest.err
>&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 if (exit $ac_status) && test -s "$ac_outfile"; then
8366 # The compiler can only warn and ignore the option if not recognized
8367 # So say no if there are warnings other than the usual output.
8368 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8369 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8370 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8371 lt_cv_prog_compiler_pic_works
=yes
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8378 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8380 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8381 case $lt_prog_compiler_pic in
8383 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8386 lt_prog_compiler_pic
=
8387 lt_prog_compiler_can_build_shared
=no
8398 # Check to make sure the static flag actually works.
8400 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8402 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8403 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8404 $as_echo_n "(cached) " >&6
8406 lt_cv_prog_compiler_static_works
=no
8407 save_LDFLAGS
="$LDFLAGS"
8408 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8409 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8410 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8411 # The linker can only warn and ignore the option if not recognized
8412 # So say no if there are warnings
8413 if test -s conftest.err
; then
8414 # Append any errors to the config.log.
8415 cat conftest.err
1>&5
8416 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8417 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8418 if diff conftest.exp conftest.er2
>/dev
/null
; then
8419 lt_cv_prog_compiler_static_works
=yes
8422 lt_cv_prog_compiler_static_works
=yes
8426 LDFLAGS
="$save_LDFLAGS"
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8430 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8432 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8435 lt_prog_compiler_static
=
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8445 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8446 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8447 $as_echo_n "(cached) " >&6
8449 lt_cv_prog_compiler_c_o
=no
8450 $RM -r conftest
2>/dev
/null
8454 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8456 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8457 # Insert the option either (1) after the last *FLAGS variable, or
8458 # (2) before a word containing "conftest.", or (3) at the end.
8459 # Note that $ac_compile itself does not contain backslashes and begins
8460 # with a dollar sign (not a hyphen), so the echo should work correctly.
8461 lt_compile
=`echo "$ac_compile" | $SED \
8462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8464 -e 's:$: $lt_compiler_flag:'`
8465 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8466 (eval "$lt_compile" 2>out
/conftest.err
)
8468 cat out
/conftest.err
>&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8472 # The compiler can only warn and ignore the option if not recognized
8473 # So say no if there are warnings
8474 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8475 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8476 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8477 lt_cv_prog_compiler_c_o
=yes
8482 # SGI C++ compiler will create directory out/ii_files/ for
8483 # template instantiation
8484 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8485 $RM out
/* && rmdir out
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8492 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8500 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8501 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8502 $as_echo_n "(cached) " >&6
8504 lt_cv_prog_compiler_c_o
=no
8505 $RM -r conftest
2>/dev
/null
8509 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8511 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8512 # Insert the option either (1) after the last *FLAGS variable, or
8513 # (2) before a word containing "conftest.", or (3) at the end.
8514 # Note that $ac_compile itself does not contain backslashes and begins
8515 # with a dollar sign (not a hyphen), so the echo should work correctly.
8516 lt_compile
=`echo "$ac_compile" | $SED \
8517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8519 -e 's:$: $lt_compiler_flag:'`
8520 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8521 (eval "$lt_compile" 2>out
/conftest.err
)
8523 cat out
/conftest.err
>&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8527 # The compiler can only warn and ignore the option if not recognized
8528 # So say no if there are warnings
8529 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8530 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8531 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8532 lt_cv_prog_compiler_c_o
=yes
8537 # SGI C++ compiler will create directory out/ii_files/ for
8538 # template instantiation
8539 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8540 $RM out
/* && rmdir out
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8547 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8552 hard_links
="nottested"
8553 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8554 # do not overwrite the value of need_locks provided by the user
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8556 $as_echo_n "checking if we can lock with hard links... " >&6; }
8559 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8561 ln conftest.a conftest.b
2>&5 || hard_links
=no
8562 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8564 $as_echo "$hard_links" >&6; }
8565 if test "$hard_links" = no
; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8567 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8580 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8583 allow_undefined_flag
=
8584 always_export_symbols
=no
8586 archive_expsym_cmds
=
8587 compiler_needs_object
=no
8588 enable_shared_with_static_runtimes
=no
8589 export_dynamic_flag_spec
=
8590 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8591 hardcode_automatic
=no
8593 hardcode_direct_absolute
=no
8594 hardcode_libdir_flag_spec
=
8595 hardcode_libdir_flag_spec_ld
=
8596 hardcode_libdir_separator
=
8598 hardcode_shlibpath_var
=unsupported
8600 link_all_deplibs
=unknown
8603 old_archive_from_new_cmds
=
8604 old_archive_from_expsyms_cmds
=
8605 thread_safe_flag_spec
=
8606 whole_archive_flag_spec
=
8607 # include_expsyms should be a list of space-separated symbols to be *always*
8608 # included in the symbol list
8610 # exclude_expsyms can be an extended regexp of symbols to exclude
8611 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8612 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8613 # as well as any symbol that contains `d'.
8614 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8615 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8616 # platforms (ab)use it in PIC code, but their linkers get confused if
8617 # the symbol is explicitly referenced. Since portable code cannot
8618 # rely on this symbol name, it's probably fine to never include it in
8619 # preloaded symbol tables.
8620 # Exclude shared library initialization/finalization symbols.
8621 extract_expsyms_cmds
=
8624 cygwin
* | mingw
* | pw32
* | cegcc
*)
8625 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8626 # When not using gcc, we currently assume that we are using
8627 # Microsoft Visual C++.
8628 if test "$GCC" != yes; then
8633 # we just hope/assume this is gcc and not c89 (= MSVC++)
8643 # On some targets, GNU ld is compatible enough with the native linker
8644 # that we're better off using the native interface for both.
8645 lt_use_gnu_ld_interface
=no
8646 if test "$with_gnu_ld" = yes; then
8649 # The AIX port of GNU ld has always aspired to compatibility
8650 # with the native linker. However, as the warning in the GNU ld
8651 # block says, versions before 2.19.5* couldn't really create working
8652 # shared libraries, regardless of the interface used.
8653 case `$LD -v 2>&1` in
8654 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8655 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8656 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8658 lt_use_gnu_ld_interface
=yes
8663 lt_use_gnu_ld_interface
=yes
8668 if test "$lt_use_gnu_ld_interface" = yes; then
8669 # If archive_cmds runs LD, not CC, wlarc should be empty
8672 # Set some defaults for GNU ld with shared library support. These
8673 # are reset later if shared libraries are not supported. Putting them
8674 # here allows them to be overridden if necessary.
8675 runpath_var
=LD_RUN_PATH
8676 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8677 export_dynamic_flag_spec
='${wl}--export-dynamic'
8678 # ancient GNU ld didn't support --whole-archive et. al.
8679 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8680 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8682 whole_archive_flag_spec
=
8684 supports_anon_versioning
=no
8685 case `$LD -v 2>&1` in
8686 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8687 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8688 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8689 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8690 *\
2.11.
*) ;; # other 2.11 versions
8691 *) supports_anon_versioning
=yes ;;
8694 # See if GNU ld supports shared libraries.
8697 # On AIX/PPC, the GNU linker is very broken
8698 if test "$host_cpu" != ia64
; then
8702 *** Warning: the GNU linker, at least up to release 2.19, is reported
8703 *** to be unable to reliably create shared libraries on AIX.
8704 *** Therefore, libtool is disabling shared libraries support. If you
8705 *** really care for shared libraries, you may want to install binutils
8706 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8707 *** You will then need to restart the configuration process.
8716 # see comment about AmigaOS4 .so support
8717 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8718 archive_expsym_cmds
=''
8721 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)'
8722 hardcode_libdir_flag_spec
='-L$libdir'
8723 hardcode_minus_L
=yes
8729 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8730 allow_undefined_flag
=unsupported
8731 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8732 # support --undefined. This deserves some investigation. FIXME
8733 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8739 cygwin
* | mingw
* | pw32
* | cegcc
*)
8740 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8741 # as there is no search path for DLLs.
8742 hardcode_libdir_flag_spec
='-L$libdir'
8743 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8744 allow_undefined_flag
=unsupported
8745 always_export_symbols
=no
8746 enable_shared_with_static_runtimes
=yes
8747 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8749 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8750 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8751 # If the export-symbols file already is a .def file (1st line
8752 # is EXPORTS), use it as is; otherwise, prepend...
8753 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8754 cp $export_symbols $output_objdir/$soname.def;
8756 echo EXPORTS > $output_objdir/$soname.def;
8757 cat $export_symbols >> $output_objdir/$soname.def;
8759 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8766 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8767 link_all_deplibs
=yes
8772 hardcode_shlibpath_var
=no
8773 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8774 export_dynamic_flag_spec
='${wl}-E'
8775 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8776 # Instead, shared libraries are loaded at an image base (0x10000000 by
8777 # default) and relocated if they conflict, which is a slow very memory
8778 # consuming and fragmenting process. To avoid this, we pick a random,
8779 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8780 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8781 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8782 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'
8785 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8787 if test "$host_os" = linux-dietlibc
; then
8788 case $cc_basename in
8789 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8792 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8793 && test "$tmp_diet" = no
8796 tmp_sharedflag
='-shared'
8797 case $cc_basename,$host_cpu in
8798 pgcc
*) # Portland Group C compiler
8799 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'
8800 tmp_addflag
=' $pic_flag'
8802 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8803 # Portland Group f77 and f90 compilers
8804 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'
8805 tmp_addflag
=' $pic_flag -Mnomain' ;;
8806 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8807 tmp_addflag
=' -i_dynamic' ;;
8808 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8809 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8810 ifc
* | ifort
*) # Intel Fortran compiler
8811 tmp_addflag
=' -nofor_main' ;;
8812 lf95
*) # Lahey Fortran 8.1
8813 whole_archive_flag_spec
=
8814 tmp_sharedflag
='--shared' ;;
8815 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8816 tmp_sharedflag
='-qmkshrobj'
8818 nvcc
*) # Cuda Compiler Driver 2.2
8819 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'
8820 compiler_needs_object
=yes
8823 case `$CC -V 2>&1 | sed 5q` in
8824 *Sun\ C
*) # Sun C 5.9
8825 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'
8826 compiler_needs_object
=yes
8827 tmp_sharedflag
='-G' ;;
8828 *Sun\ F
*) # Sun Fortran 8.3
8829 tmp_sharedflag
='-G' ;;
8831 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8833 if test "x$supports_anon_versioning" = xyes
; then
8834 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8835 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8836 echo "local: *; };" >> $output_objdir/$libname.ver~
8837 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8840 case $cc_basename in
8841 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8842 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8843 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8844 hardcode_libdir_flag_spec
=
8845 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8846 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8847 if test "x$supports_anon_versioning" = xyes
; then
8848 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8849 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8850 echo "local: *; };" >> $output_objdir/$libname.ver~
8851 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8861 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8862 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8865 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8866 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8871 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8875 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8876 *** create shared libraries on Solaris systems. Therefore, libtool
8877 *** is disabling shared libraries support. We urge you to upgrade GNU
8878 *** binutils to release 2.9.1 or newer. Another option is to modify
8879 *** your PATH or compiler configuration so that the native linker is
8880 *** used, and then restart.
8883 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8884 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8885 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8891 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8892 case `$LD -v 2>&1` in
8893 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8897 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8898 *** reliably create shared libraries on SCO systems. Therefore, libtool
8899 *** is disabling shared libraries support. We urge you to upgrade GNU
8900 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8901 *** your PATH or compiler configuration so that the native linker is
8902 *** used, and then restart.
8907 # For security reasons, it is highly recommended that you always
8908 # use absolute paths for naming shared libraries, and exclude the
8909 # DT_RUNPATH tag from executables and libraries. But doing so
8910 # requires that you compile everything twice, which is a pain.
8911 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8912 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8913 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8914 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8923 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8926 hardcode_shlibpath_var
=no
8930 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8931 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8932 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8939 if test "$ld_shlibs" = no
; then
8941 hardcode_libdir_flag_spec
=
8942 export_dynamic_flag_spec
=
8943 whole_archive_flag_spec
=
8946 # PORTME fill in a description of your system's linker (not GNU ld)
8949 allow_undefined_flag
=unsupported
8950 always_export_symbols
=yes
8951 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'
8952 # Note: this linker hardcodes the directories in LIBPATH if there
8953 # are no directories specified by -L.
8954 hardcode_minus_L
=yes
8955 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8956 # Neither direct hardcoding nor static linking is supported with a
8958 hardcode_direct
=unsupported
8963 if test "$host_cpu" = ia64
; then
8964 # On IA64, the linker does run time linking by default, so we don't
8965 # have to do anything special.
8966 aix_use_runtimelinking
=no
8967 exp_sym_flag
='-Bexport'
8970 # If we're using GNU nm, then we don't want the "-C" option.
8971 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8972 # Also, AIX nm treats weak defined symbols like other global
8973 # defined symbols, whereas GNU nm marks them as "W".
8974 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8975 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'
8977 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8979 aix_use_runtimelinking
=no
8981 # Test if we are trying to use run time linking or normal
8982 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8983 # need to do runtime linking.
8984 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8985 for ld_flag
in $LDFLAGS; do
8986 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8987 aix_use_runtimelinking
=yes
8994 exp_sym_flag
='-bexport'
8995 no_entry_flag
='-bnoentry'
8998 # When large executables or shared objects are built, AIX ld can
8999 # have problems creating the table of contents. If linking a library
9000 # or program results in "error TOC overflow" add -mminimal-toc to
9001 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9002 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9006 hardcode_direct_absolute
=yes
9007 hardcode_libdir_separator
=':'
9008 link_all_deplibs
=yes
9009 file_list_spec
='${wl}-f,'
9011 if test "$GCC" = yes; then
9012 case $host_os in aix4.
[012]|aix4.
[012].
*)
9013 # We only want to do this on AIX 4.2 and lower, the check
9014 # below for broken collect2 doesn't work under 4.3+
9015 collect2name
=`${CC} -print-prog-name=collect2`
9016 if test -f "$collect2name" &&
9017 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9019 # We have reworked collect2
9022 # We have old collect2
9023 hardcode_direct
=unsupported
9024 # It fails to find uninstalled libraries when the uninstalled
9025 # path is not listed in the libpath. Setting hardcode_minus_L
9026 # to unsupported forces relinking
9027 hardcode_minus_L
=yes
9028 hardcode_libdir_flag_spec
='-L$libdir'
9029 hardcode_libdir_separator
=
9033 shared_flag
='-shared'
9034 if test "$aix_use_runtimelinking" = yes; then
9035 shared_flag
="$shared_flag "'${wl}-G'
9039 if test "$host_cpu" = ia64
; then
9040 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9041 # chokes on -Wl,-G. The following line is correct:
9044 if test "$aix_use_runtimelinking" = yes; then
9045 shared_flag
='${wl}-G'
9047 shared_flag
='${wl}-bM:SRE'
9052 export_dynamic_flag_spec
='${wl}-bexpall'
9053 # It seems that -bexpall does not export symbols beginning with
9054 # underscore (_), so it is better to generate a list of symbols to export.
9055 always_export_symbols
=yes
9056 if test "$aix_use_runtimelinking" = yes; then
9057 # Warning - without using the other runtime loading flags (-brtl),
9058 # -berok will link without error, but may produce a broken library.
9059 allow_undefined_flag
='-berok'
9060 # Determine the default libpath from the value encoded in an
9062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9063 /* end confdefs.h. */
9073 if ac_fn_c_try_link
"$LINENO"; then :
9075 lt_aix_libpath_sed
='
9076 /Import File Strings/,/^$/ {
9082 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9083 # Check for a 64-bit object if we didn't find anything.
9084 if test -z "$aix_libpath"; then
9085 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9088 rm -f core conftest.err conftest.
$ac_objext \
9089 conftest
$ac_exeext conftest.
$ac_ext
9090 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9092 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9093 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"
9095 if test "$host_cpu" = ia64
; then
9096 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9097 allow_undefined_flag
="-z nodefs"
9098 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"
9100 # Determine the default libpath from the value encoded in an
9102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9113 if ac_fn_c_try_link
"$LINENO"; then :
9115 lt_aix_libpath_sed
='
9116 /Import File Strings/,/^$/ {
9122 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9123 # Check for a 64-bit object if we didn't find anything.
9124 if test -z "$aix_libpath"; then
9125 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9128 rm -f core conftest.err conftest.
$ac_objext \
9129 conftest
$ac_exeext conftest.
$ac_ext
9130 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9132 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9133 # Warning - without using the other run time loading flags,
9134 # -berok will link without error, but may produce a broken library.
9135 no_undefined_flag
=' ${wl}-bernotok'
9136 allow_undefined_flag
=' ${wl}-berok'
9137 if test "$with_gnu_ld" = yes; then
9138 # We only use this code for GNU lds that support --whole-archive.
9139 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9141 # Exported symbols can be pulled into shared objects from archives
9142 whole_archive_flag_spec
='$convenience'
9144 archive_cmds_need_lc
=yes
9145 # This is similar to how AIX traditionally builds its shared libraries.
9146 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'
9154 # see comment about AmigaOS4 .so support
9155 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9156 archive_expsym_cmds
=''
9159 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)'
9160 hardcode_libdir_flag_spec
='-L$libdir'
9161 hardcode_minus_L
=yes
9167 export_dynamic_flag_spec
=-rdynamic
9170 cygwin
* | mingw
* | pw32
* | cegcc
*)
9171 # When not using gcc, we currently assume that we are using
9172 # Microsoft Visual C++.
9173 # hardcode_libdir_flag_spec is actually meaningless, as there is
9174 # no search path for DLLs.
9175 hardcode_libdir_flag_spec
=' '
9176 allow_undefined_flag
=unsupported
9177 # Tell ltmain to make .lib files, not .a files.
9179 # Tell ltmain to make .dll files, not .so files.
9181 # FIXME: Setting linknames here is a bad hack.
9182 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9183 # The linker will automatically build a .lib file if we build a DLL.
9184 old_archive_from_new_cmds
='true'
9185 # FIXME: Should let the user specify the lib program.
9186 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9187 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9188 enable_shared_with_static_runtimes
=yes
9191 darwin
* | rhapsody
*)
9194 archive_cmds_need_lc
=no
9196 hardcode_automatic
=yes
9197 hardcode_shlibpath_var
=unsupported
9198 if test "$lt_cv_ld_force_load" = "yes"; then
9199 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\"`'
9201 whole_archive_flag_spec
=''
9203 link_all_deplibs
=yes
9204 allow_undefined_flag
="$_lt_dar_allow_undefined"
9205 case $cc_basename in
9206 ifort
*) _lt_dar_can_shared
=yes ;;
9207 *) _lt_dar_can_shared
=$GCC ;;
9209 if test "$_lt_dar_can_shared" = "yes"; then
9210 output_verbose_link_cmd
=func_echo_all
9211 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9212 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9213 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}"
9214 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}"
9223 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9224 hardcode_libdir_flag_spec
='-L$libdir'
9225 hardcode_shlibpath_var
=no
9228 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9229 # support. Future versions do this automatically, but an explicit c++rt0.o
9230 # does not break anything, and helps significantly (at the cost of a little
9233 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9234 hardcode_libdir_flag_spec
='-R$libdir'
9236 hardcode_shlibpath_var
=no
9239 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9241 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9243 hardcode_minus_L
=yes
9244 hardcode_shlibpath_var
=no
9247 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9248 freebsd
* | dragonfly
*)
9249 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9250 hardcode_libdir_flag_spec
='-R$libdir'
9252 hardcode_shlibpath_var
=no
9256 if test "$GCC" = yes; then
9257 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'
9259 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'
9261 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9262 hardcode_libdir_separator
=:
9265 # hardcode_minus_L: Not really in the search PATH,
9266 # but as the default location of the library.
9267 hardcode_minus_L
=yes
9268 export_dynamic_flag_spec
='${wl}-E'
9272 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9273 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9275 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9277 if test "$with_gnu_ld" = no
; then
9278 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9279 hardcode_libdir_flag_spec_ld
='+b $libdir'
9280 hardcode_libdir_separator
=:
9282 hardcode_direct_absolute
=yes
9283 export_dynamic_flag_spec
='${wl}-E'
9284 # hardcode_minus_L: Not really in the search PATH,
9285 # but as the default location of the library.
9286 hardcode_minus_L
=yes
9291 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9294 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9297 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9300 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9306 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9309 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9313 # Older versions of the 11.00 compiler do not understand -b yet
9314 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9316 $as_echo_n "checking if $CC understands -b... " >&6; }
9317 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9318 $as_echo_n "(cached) " >&6
9320 lt_cv_prog_compiler__b
=no
9321 save_LDFLAGS
="$LDFLAGS"
9322 LDFLAGS
="$LDFLAGS -b"
9323 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9324 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9325 # The linker can only warn and ignore the option if not recognized
9326 # So say no if there are warnings
9327 if test -s conftest.err
; then
9328 # Append any errors to the config.log.
9329 cat conftest.err
1>&5
9330 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9331 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9332 if diff conftest.exp conftest.er2
>/dev
/null
; then
9333 lt_cv_prog_compiler__b
=yes
9336 lt_cv_prog_compiler__b
=yes
9340 LDFLAGS
="$save_LDFLAGS"
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9344 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9346 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9347 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9349 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9355 if test "$with_gnu_ld" = no
; then
9356 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9357 hardcode_libdir_separator
=:
9362 hardcode_shlibpath_var
=no
9366 hardcode_direct_absolute
=yes
9367 export_dynamic_flag_spec
='${wl}-E'
9369 # hardcode_minus_L: Not really in the search PATH,
9370 # but as the default location of the library.
9371 hardcode_minus_L
=yes
9377 irix5
* | irix6
* | nonstopux
*)
9378 if test "$GCC" = yes; then
9379 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'
9380 # Try to use the -exported_symbol ld option, if it does not
9381 # work, assume that -exports_file does not work either and
9382 # implicitly export all symbols.
9383 save_LDFLAGS
="$LDFLAGS"
9384 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9389 if ac_fn_c_try_link
"$LINENO"; then :
9390 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'
9393 rm -f core conftest.err conftest.
$ac_objext \
9394 conftest
$ac_exeext conftest.
$ac_ext
9395 LDFLAGS
="$save_LDFLAGS"
9397 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'
9398 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'
9400 archive_cmds_need_lc
='no'
9401 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9402 hardcode_libdir_separator
=:
9404 link_all_deplibs
=yes
9408 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9409 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9411 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9413 hardcode_libdir_flag_spec
='-R$libdir'
9415 hardcode_shlibpath_var
=no
9419 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9421 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9422 hardcode_libdir_separator
=:
9423 hardcode_shlibpath_var
=no
9430 if test -f /usr
/libexec
/ld.so
; then
9432 hardcode_shlibpath_var
=no
9433 hardcode_direct_absolute
=yes
9434 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9435 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9437 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9438 export_dynamic_flag_spec
='${wl}-E'
9441 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9442 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9443 hardcode_libdir_flag_spec
='-R$libdir'
9446 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9447 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9457 hardcode_libdir_flag_spec
='-L$libdir'
9458 hardcode_minus_L
=yes
9459 allow_undefined_flag
=unsupported
9460 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'
9461 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9465 if test "$GCC" = yes; then
9466 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9467 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'
9469 allow_undefined_flag
=' -expect_unresolved \*'
9470 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'
9472 archive_cmds_need_lc
='no'
9473 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9474 hardcode_libdir_separator
=:
9477 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9478 if test "$GCC" = yes; then
9479 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9480 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'
9481 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9483 allow_undefined_flag
=' -expect_unresolved \*'
9484 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'
9485 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~
9486 $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'
9488 # Both c and cxx compiler support -rpath directly
9489 hardcode_libdir_flag_spec
='-rpath $libdir'
9491 archive_cmds_need_lc
='no'
9492 hardcode_libdir_separator
=:
9496 no_undefined_flag
=' -z defs'
9497 if test "$GCC" = yes; then
9499 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9500 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9501 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9503 case `$CC -V 2>&1` in
9506 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9507 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9508 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9512 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9513 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9514 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9518 hardcode_libdir_flag_spec
='-R$libdir'
9519 hardcode_shlibpath_var
=no
9521 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9523 # The compiler driver will combine and reorder linker options,
9524 # but understands `-z linker_flag'. GCC discards it without `$wl',
9525 # but is careful enough not to reorder.
9526 # Supported since Solaris 2.6 (maybe 2.5.1?)
9527 if test "$GCC" = yes; then
9528 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9530 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9534 link_all_deplibs
=yes
9538 if test "x$host_vendor" = xsequent
; then
9539 # Use $CC to link under sequent, because it throws in some extra .o
9540 # files that make .init and .fini sections work.
9541 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9543 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9545 hardcode_libdir_flag_spec
='-L$libdir'
9547 hardcode_minus_L
=yes
9548 hardcode_shlibpath_var
=no
9552 case $host_vendor in
9554 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_direct
=yes # is this really true???
9558 ## LD is ld it makes a PLAMLIB
9559 ## CC just makes a GrossModule.
9560 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9561 reload_cmds
='$CC -r -o $output$reload_objs'
9565 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9566 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9569 runpath_var
='LD_RUN_PATH'
9570 hardcode_shlibpath_var
=no
9574 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9575 hardcode_shlibpath_var
=no
9576 export_dynamic_flag_spec
='-Bexport'
9580 if test -d /usr
/nec
; then
9581 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9582 hardcode_shlibpath_var
=no
9583 runpath_var
=LD_RUN_PATH
9584 hardcode_runpath_var
=yes
9589 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9590 no_undefined_flag
='${wl}-z,text'
9591 archive_cmds_need_lc
=no
9592 hardcode_shlibpath_var
=no
9593 runpath_var
='LD_RUN_PATH'
9595 if test "$GCC" = yes; then
9596 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9599 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9604 sysv5
* | sco3.2v5
* | sco5v6
*)
9605 # Note: We can NOT use -z defs as we might desire, because we do not
9606 # link with -lc, and that would cause any symbols used from libc to
9607 # always be unresolved, which means just about no library would
9608 # ever link correctly. If we're not using GNU ld we use -z text
9609 # though, which does catch some bad symbols but isn't as heavy-handed
9611 no_undefined_flag
='${wl}-z,text'
9612 allow_undefined_flag
='${wl}-z,nodefs'
9613 archive_cmds_need_lc
=no
9614 hardcode_shlibpath_var
=no
9615 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9616 hardcode_libdir_separator
=':'
9617 link_all_deplibs
=yes
9618 export_dynamic_flag_spec
='${wl}-Bexport'
9619 runpath_var
='LD_RUN_PATH'
9621 if test "$GCC" = yes; then
9622 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9625 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9626 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9632 hardcode_libdir_flag_spec
='-L$libdir'
9633 hardcode_shlibpath_var
=no
9641 if test x
$host_vendor = xsni
; then
9643 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9644 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9651 $as_echo "$ld_shlibs" >&6; }
9652 test "$ld_shlibs" = no
&& can_build_shared
=no
9654 with_gnu_ld
=$with_gnu_ld
9671 # Do we need to explicitly link libc?
9673 case "x$archive_cmds_need_lc" in
9675 # Assume -lc should be added
9676 archive_cmds_need_lc
=yes
9678 if test "$enable_shared" = yes && test "$GCC" = yes; then
9679 case $archive_cmds in
9681 # FIXME: we may have to deal with multi-command sequences.
9684 # Test whether the compiler implicitly links with -lc since on some
9685 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9686 # to ld, don't add -lc before -lgcc.
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9688 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9689 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9690 $as_echo_n "(cached) " >&6
9693 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9696 (eval $ac_compile) 2>&5
9698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9699 test $ac_status = 0; } 2>conftest.err
; then
9702 libobjs
=conftest.
$ac_objext
9704 wl
=$lt_prog_compiler_wl
9705 pic_flag
=$lt_prog_compiler_pic
9711 lt_save_allow_undefined_flag
=$allow_undefined_flag
9712 allow_undefined_flag
=
9713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9714 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9717 test $ac_status = 0; }
9719 lt_cv_archive_cmds_need_lc
=no
9721 lt_cv_archive_cmds_need_lc
=yes
9723 allow_undefined_flag
=$lt_save_allow_undefined_flag
9725 cat conftest.err
1>&5
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9731 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9732 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9896 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9898 if test "$GCC" = yes; then
9900 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9901 *) lt_awk_arg
="/^libraries:/" ;;
9904 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9905 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9907 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9908 case $lt_search_path_spec in
9910 # if the path contains ";" then we assume it to be the separator
9911 # otherwise default to the standard path separator (i.e. ":") - it is
9912 # assumed that no part of a normal pathname contains ";" but that should
9913 # okay in the real world where ";" in dirpaths is itself problematic.
9914 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9917 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9920 # Ok, now we have the path, separated by spaces, we can step through it
9921 # and add multilib dir if necessary.
9922 lt_tmp_lt_search_path_spec
=
9923 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9924 for lt_sys_path
in $lt_search_path_spec; do
9925 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9926 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9928 test -d "$lt_sys_path" && \
9929 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9932 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9933 BEGIN {RS=" "; FS="/|\n";} {
9936 for (lt_i = NF; lt_i > 0; lt_i--) {
9937 if ($lt_i != "" && $lt_i != ".") {
9938 if ($lt_i == "..") {
9941 if (lt_count == 0) {
9942 lt_foo="/" $lt_i lt_foo;
9949 if (lt_foo != "") { lt_freq[lt_foo]++; }
9950 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9952 # AWK program above erroneously prepends '/' to C:/dos/paths
9955 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9956 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9958 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9960 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9963 libname_spec
='lib$name'
9971 shlibpath_overrides_runpath
=unknown
9973 dynamic_linker
="$host_os ld.so"
9974 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9975 need_lib_prefix
=unknown
9976 hardcode_into_libs
=no
9978 # when you set need_version to no, make sure it does not cause -set_version
9979 # flags to be left without arguments
9980 need_version
=unknown
9985 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9986 shlibpath_var
=LIBPATH
9988 # AIX 3 has no versioning support, so we append a major version to the name.
9989 soname_spec
='${libname}${release}${shared_ext}$major'
9996 hardcode_into_libs
=yes
9997 if test "$host_cpu" = ia64
; then
9998 # AIX 5 supports IA64
9999 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10000 shlibpath_var
=LD_LIBRARY_PATH
10002 # With GCC up to 2.95.x, collect2 would create an import file
10003 # for dependence libraries. The import file would start with
10004 # the line `#! .'. This would cause the generated library to
10005 # depend on `.', always an invalid library. This was fixed in
10006 # development snapshots of GCC prior to 3.0.
10008 aix4 | aix4.
[01] | aix4.
[01].
*)
10009 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10011 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10014 can_build_shared
=no
10018 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10019 # soname into executable. Probably we can add versioning support to
10020 # collect2, so additional links can be useful in future.
10021 if test "$aix_use_runtimelinking" = yes; then
10022 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10023 # instead of lib<name>.a to let people know that these are not
10024 # typical AIX shared libraries.
10025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10027 # We preserve .a as extension for shared libraries through AIX4.2
10028 # and later when we are not doing run time linking.
10029 library_names_spec
='${libname}${release}.a $libname.a'
10030 soname_spec
='${libname}${release}${shared_ext}$major'
10032 shlibpath_var
=LIBPATH
10039 # Since July 2007 AmigaOS4 officially supports .so libraries.
10040 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10044 library_names_spec
='$libname.ixlibrary $libname.a'
10045 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10046 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'
10052 library_names_spec
='${libname}${shared_ext}'
10053 dynamic_linker
="$host_os ld.so"
10054 shlibpath_var
=LIBRARY_PATH
10060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec
='${libname}${release}${shared_ext}$major'
10062 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10063 shlibpath_var
=LD_LIBRARY_PATH
10064 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10065 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10066 # the default ld.so.conf also contains /usr/contrib/lib and
10067 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10068 # libtool to hard-code these into programs
10071 cygwin
* | mingw
* | pw32
* | cegcc
*)
10072 version_type
=windows
10077 case $GCC,$host_os in
10078 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10079 library_names_spec
='$libname.dll.a'
10080 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10081 postinstall_cmds
='base_file=`basename \${file}`~
10082 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10083 dldir=$destdir/`dirname \$dlpath`~
10084 test -d \$dldir || mkdir -p \$dldir~
10085 $install_prog $dir/$dlname \$dldir/$dlname~
10086 chmod a+x \$dldir/$dlname~
10087 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10088 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10090 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10091 dlpath=$dir/\$dldll~
10093 shlibpath_overrides_runpath
=yes
10097 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10098 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10100 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10103 # MinGW DLLs use traditional 'lib' prefix
10104 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10107 # pw32 DLLs use 'pw' prefix rather than 'lib'
10108 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10114 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10117 dynamic_linker
='Win32 ld.exe'
10118 # FIXME: first we should search . and the directory the executable is in
10122 darwin
* | rhapsody
*)
10123 dynamic_linker
="$host_os dyld"
10124 version_type
=darwin
10127 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10128 soname_spec
='${libname}${release}${major}$shared_ext'
10129 shlibpath_overrides_runpath
=yes
10130 shlibpath_var
=DYLD_LIBRARY_PATH
10131 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10133 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10134 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10142 soname_spec
='${libname}${release}${shared_ext}$major'
10143 shlibpath_var
=LD_LIBRARY_PATH
10146 freebsd
* | dragonfly
*)
10147 # DragonFly does not have aout. When/if they implement a new
10148 # versioning mechanism, adjust this.
10149 if test -x /usr
/bin
/objformat
; then
10150 objformat
=`/usr/bin/objformat`
10153 freebsd
[23].
*) objformat
=aout
;;
10154 *) objformat
=elf
;;
10157 version_type
=freebsd-
$objformat
10158 case $version_type in
10160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10169 shlibpath_var
=LD_LIBRARY_PATH
10172 shlibpath_overrides_runpath
=yes
10174 freebsd3.
[01]* | freebsdelf3.
[01]*)
10175 shlibpath_overrides_runpath
=yes
10176 hardcode_into_libs
=yes
10178 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10179 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10180 shlibpath_overrides_runpath
=no
10181 hardcode_into_libs
=yes
10183 *) # from 4.6 on, and DragonFly
10184 shlibpath_overrides_runpath
=yes
10185 hardcode_into_libs
=yes
10194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10195 soname_spec
='${libname}${release}${shared_ext}$major'
10196 shlibpath_var
=LD_LIBRARY_PATH
10197 hardcode_into_libs
=yes
10204 dynamic_linker
="$host_os runtime_loader"
10205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10206 soname_spec
='${libname}${release}${shared_ext}$major'
10207 shlibpath_var
=LIBRARY_PATH
10208 shlibpath_overrides_runpath
=yes
10209 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10210 hardcode_into_libs
=yes
10213 hpux9
* | hpux10
* | hpux11
*)
10214 # Give a soname corresponding to the major version so that dld.sl refuses to
10215 # link against other versions.
10222 hardcode_into_libs
=yes
10223 dynamic_linker
="$host_os dld.so"
10224 shlibpath_var
=LD_LIBRARY_PATH
10225 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10227 soname_spec
='${libname}${release}${shared_ext}$major'
10228 if test "X$HPUX_IA64_MODE" = X32
; then
10229 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10231 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10233 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10237 hardcode_into_libs
=yes
10238 dynamic_linker
="$host_os dld.sl"
10239 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10240 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10242 soname_spec
='${libname}${release}${shared_ext}$major'
10243 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10244 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10248 dynamic_linker
="$host_os dld.sl"
10249 shlibpath_var
=SHLIB_PATH
10250 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10252 soname_spec
='${libname}${release}${shared_ext}$major'
10255 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10256 postinstall_cmds
='chmod 555 $lib'
10257 # or fails outright, so override atomically:
10258 install_override_mode
=555
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10266 soname_spec
='${libname}${release}${shared_ext}$major'
10267 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10268 shlibpath_var
=LD_LIBRARY_PATH
10269 shlibpath_overrides_runpath
=no
10270 hardcode_into_libs
=yes
10273 irix5
* | irix6
* | nonstopux
*)
10275 nonstopux
*) version_type
=nonstopux
;;
10277 if test "$lt_cv_prog_gnu_ld" = yes; then
10285 soname_spec
='${libname}${release}${shared_ext}$major'
10286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10288 irix5
* | nonstopux
*)
10289 libsuff
= shlibsuff
=
10292 case $LD in # libtool.m4 will add one of these switches to LD
10293 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10294 libsuff
= shlibsuff
= libmagic
=32-bit;;
10295 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10296 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10297 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10298 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10299 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10303 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10304 shlibpath_overrides_runpath
=no
10305 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10306 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10307 hardcode_into_libs
=yes
10310 # No shared lib support for Linux oldld, aout, or coff.
10311 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10315 # This must be Linux ELF.
10316 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10321 soname_spec
='${libname}${release}${shared_ext}$major'
10322 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10323 shlibpath_var
=LD_LIBRARY_PATH
10324 shlibpath_overrides_runpath
=no
10326 # Some binutils ld are patched to set DT_RUNPATH
10327 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10328 $as_echo_n "(cached) " >&6
10330 lt_cv_shlibpath_overrides_runpath
=no
10331 save_LDFLAGS
=$LDFLAGS
10332 save_libdir
=$libdir
10333 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10334 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10346 if ac_fn_c_try_link
"$LINENO"; then :
10347 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10348 lt_cv_shlibpath_overrides_runpath
=yes
10351 rm -f core conftest.err conftest.
$ac_objext \
10352 conftest
$ac_exeext conftest.
$ac_ext
10353 LDFLAGS
=$save_LDFLAGS
10354 libdir
=$save_libdir
10358 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10360 # This implies no fast_install, which is unacceptable.
10361 # Some rework will be needed to allow for fast_install
10362 # before this can be enabled.
10363 hardcode_into_libs
=yes
10365 # Append ld.so.conf contents to the search path
10366 if test -f /etc
/ld.so.conf
; then
10367 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' ' '`
10368 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10371 # We used to test for /lib/ld.so.1 and disable shared libraries on
10372 # powerpc, because MkLinux only supported shared libraries with the
10373 # GNU dynamic linker. Since this was broken with cross compilers,
10374 # most powerpc-linux boxes support dynamic linking these days and
10375 # people can always --disable-shared, the test was removed, and we
10376 # assume the GNU/Linux dynamic linker is in use.
10377 dynamic_linker
='GNU/Linux ld.so'
10384 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10387 dynamic_linker
='NetBSD (a.out) ld.so'
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 dynamic_linker
='NetBSD ld.elf_so'
10393 shlibpath_var
=LD_LIBRARY_PATH
10394 shlibpath_overrides_runpath
=yes
10395 hardcode_into_libs
=yes
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 shlibpath_var
=LD_LIBRARY_PATH
10402 shlibpath_overrides_runpath
=yes
10409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10410 soname_spec
='${libname}${release}${shared_ext}$major'
10411 shlibpath_var
=LD_LIBRARY_PATH
10412 shlibpath_overrides_runpath
=no
10413 hardcode_into_libs
=yes
10414 dynamic_linker
='ldqnx.so'
10419 sys_lib_dlsearch_path_spec
="/usr/lib"
10421 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10423 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10424 *) need_version
=no
;;
10426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10427 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10428 shlibpath_var
=LD_LIBRARY_PATH
10429 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10431 openbsd2.
[89] | openbsd2.
[89].
*)
10432 shlibpath_overrides_runpath
=no
10435 shlibpath_overrides_runpath
=yes
10439 shlibpath_overrides_runpath
=yes
10444 libname_spec
='$name'
10447 library_names_spec
='$libname${shared_ext} $libname.a'
10448 dynamic_linker
='OS/2 ld.exe'
10449 shlibpath_var
=LIBPATH
10452 osf3
* | osf4
* | osf5
*)
10456 soname_spec
='${libname}${release}${shared_ext}$major'
10457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10458 shlibpath_var
=LD_LIBRARY_PATH
10459 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10460 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 soname_spec
='${libname}${release}${shared_ext}$major'
10473 shlibpath_var
=LD_LIBRARY_PATH
10474 shlibpath_overrides_runpath
=yes
10475 hardcode_into_libs
=yes
10476 # ldd complains unless libraries are executable
10477 postinstall_cmds
='chmod +x $lib'
10482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10483 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10484 shlibpath_var
=LD_LIBRARY_PATH
10485 shlibpath_overrides_runpath
=yes
10486 if test "$with_gnu_ld" = yes; then
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495 soname_spec
='${libname}${release}${shared_ext}$major'
10496 shlibpath_var
=LD_LIBRARY_PATH
10497 case $host_vendor in
10499 shlibpath_overrides_runpath
=no
10501 runpath_var
=LD_RUN_PATH
10509 shlibpath_overrides_runpath
=no
10510 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10516 if test -d /usr
/nec
;then
10518 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10519 soname_spec
='$libname${shared_ext}.$major'
10520 shlibpath_var
=LD_LIBRARY_PATH
10524 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10525 version_type
=freebsd-elf
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10529 soname_spec
='${libname}${release}${shared_ext}$major'
10530 shlibpath_var
=LD_LIBRARY_PATH
10531 shlibpath_overrides_runpath
=yes
10532 hardcode_into_libs
=yes
10533 if test "$with_gnu_ld" = yes; then
10534 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10536 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10539 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10543 sys_lib_dlsearch_path_spec
='/usr/lib'
10547 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 shlibpath_overrides_runpath
=no
10554 hardcode_into_libs
=yes
10559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 soname_spec
='${libname}${release}${shared_ext}$major'
10561 shlibpath_var
=LD_LIBRARY_PATH
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10569 $as_echo "$dynamic_linker" >&6; }
10570 test "$dynamic_linker" = no
&& can_build_shared
=no
10572 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10573 if test "$GCC" = yes; then
10574 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10577 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10578 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10580 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10581 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10676 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10678 if test -n "$hardcode_libdir_flag_spec" ||
10679 test -n "$runpath_var" ||
10680 test "X$hardcode_automatic" = "Xyes" ; then
10682 # We can hardcode non-existent directories.
10683 if test "$hardcode_direct" != no
&&
10684 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10685 # have to relink, otherwise we might link with an installed library
10686 # when we should be linking with a yet-to-be-installed one
10687 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10688 test "$hardcode_minus_L" != no
; then
10689 # Linking always hardcodes the temporary library directory.
10690 hardcode_action
=relink
10692 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10693 hardcode_action
=immediate
10696 # We cannot hardcode anything, or else we can only hardcode existing
10698 hardcode_action
=unsupported
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10701 $as_echo "$hardcode_action" >&6; }
10703 if test "$hardcode_action" = relink ||
10704 test "$inherit_rpath" = yes; then
10705 # Fast installation is not supported
10706 enable_fast_install
=no
10707 elif test "$shlibpath_overrides_runpath" = yes ||
10708 test "$enable_shared" = no
; then
10709 # Fast installation is not necessary
10710 enable_fast_install
=needless
10718 if test "x$enable_dlopen" != xyes
; then
10719 enable_dlopen
=unknown
10720 enable_dlopen_self
=unknown
10721 enable_dlopen_self_static
=unknown
10728 lt_cv_dlopen
="load_add_on"
10730 lt_cv_dlopen_self
=yes
10733 mingw
* | pw32
* | cegcc
*)
10734 lt_cv_dlopen
="LoadLibrary"
10739 lt_cv_dlopen
="dlopen"
10744 # if libdl is installed we need to link against it
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10746 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10747 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10748 $as_echo_n "(cached) " >&6
10750 ac_check_lib_save_LIBS
=$LIBS
10752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10770 if ac_fn_c_try_link
"$LINENO"; then :
10771 ac_cv_lib_dl_dlopen
=yes
10773 ac_cv_lib_dl_dlopen
=no
10775 rm -f core conftest.err conftest.
$ac_objext \
10776 conftest
$ac_exeext conftest.
$ac_ext
10777 LIBS
=$ac_check_lib_save_LIBS
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10780 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10781 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10782 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10785 lt_cv_dlopen
="dyld"
10787 lt_cv_dlopen_self
=yes
10794 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10795 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10796 lt_cv_dlopen
="shl_load"
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10799 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10800 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10801 $as_echo_n "(cached) " >&6
10803 ac_check_lib_save_LIBS
=$LIBS
10805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10818 return shl_load ();
10823 if ac_fn_c_try_link
"$LINENO"; then :
10824 ac_cv_lib_dld_shl_load
=yes
10826 ac_cv_lib_dld_shl_load
=no
10828 rm -f core conftest.err conftest.
$ac_objext \
10829 conftest
$ac_exeext conftest.
$ac_ext
10830 LIBS
=$ac_check_lib_save_LIBS
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10833 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10834 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10835 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10837 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10838 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10839 lt_cv_dlopen
="dlopen"
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10842 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10843 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10844 $as_echo_n "(cached) " >&6
10846 ac_check_lib_save_LIBS
=$LIBS
10848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10866 if ac_fn_c_try_link
"$LINENO"; then :
10867 ac_cv_lib_dl_dlopen
=yes
10869 ac_cv_lib_dl_dlopen
=no
10871 rm -f core conftest.err conftest.
$ac_objext \
10872 conftest
$ac_exeext conftest.
$ac_ext
10873 LIBS
=$ac_check_lib_save_LIBS
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10876 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10877 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10878 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10881 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10882 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10883 $as_echo_n "(cached) " >&6
10885 ac_check_lib_save_LIBS
=$LIBS
10886 LIBS
="-lsvld $LIBS"
10887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10890 /* Override any GCC internal prototype to avoid an error.
10891 Use char because int might match the return type of a GCC
10892 builtin and then its argument prototype would still apply. */
10905 if ac_fn_c_try_link
"$LINENO"; then :
10906 ac_cv_lib_svld_dlopen
=yes
10908 ac_cv_lib_svld_dlopen
=no
10910 rm -f core conftest.err conftest.
$ac_objext \
10911 conftest
$ac_exeext conftest.
$ac_ext
10912 LIBS
=$ac_check_lib_save_LIBS
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10915 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10916 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10917 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10920 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10921 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10922 $as_echo_n "(cached) " >&6
10924 ac_check_lib_save_LIBS
=$LIBS
10926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10939 return dld_link ();
10944 if ac_fn_c_try_link
"$LINENO"; then :
10945 ac_cv_lib_dld_dld_link
=yes
10947 ac_cv_lib_dld_dld_link
=no
10949 rm -f core conftest.err conftest.
$ac_objext \
10950 conftest
$ac_exeext conftest.
$ac_ext
10951 LIBS
=$ac_check_lib_save_LIBS
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10954 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10955 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10956 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10977 if test "x$lt_cv_dlopen" != xno
; then
10983 case $lt_cv_dlopen in
10985 save_CPPFLAGS
="$CPPFLAGS"
10986 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10988 save_LDFLAGS
="$LDFLAGS"
10989 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10992 LIBS
="$lt_cv_dlopen_libs $LIBS"
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10995 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10996 if test "${lt_cv_dlopen_self+set}" = set; then :
10997 $as_echo_n "(cached) " >&6
10999 if test "$cross_compiling" = yes; then :
11000 lt_cv_dlopen_self
=cross
11002 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11003 lt_status
=$lt_dlunknown
11004 cat > conftest.
$ac_ext <<_LT_EOF
11005 #line 11005 "configure"
11006 #include "confdefs.h"
11015 # define LT_DLGLOBAL RTLD_GLOBAL
11018 # define LT_DLGLOBAL DL_GLOBAL
11020 # define LT_DLGLOBAL 0
11024 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11025 find out it does not work in some platform. */
11026 #ifndef LT_DLLAZY_OR_NOW
11028 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11031 # define LT_DLLAZY_OR_NOW DL_LAZY
11034 # define LT_DLLAZY_OR_NOW RTLD_NOW
11037 # define LT_DLLAZY_OR_NOW DL_NOW
11039 # define LT_DLLAZY_OR_NOW 0
11046 /* When -fvisbility=hidden is used, assume the code has been annotated
11047 correspondingly for the symbols needed. */
11048 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11049 void fnord () __attribute__((visibility("default")));
11052 void fnord () { int i=42; }
11055 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11056 int status = $lt_dlunknown;
11060 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11063 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11064 else puts (dlerror ());
11066 /* dlclose (self); */
11074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11075 (eval $ac_link) 2>&5
11077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11078 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11079 (.
/conftest
; exit; ) >&5 2>/dev
/null
11081 case x
$lt_status in
11082 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11083 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11084 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11087 # compilation failed
11088 lt_cv_dlopen_self
=no
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11096 $as_echo "$lt_cv_dlopen_self" >&6; }
11098 if test "x$lt_cv_dlopen_self" = xyes
; then
11099 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11101 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11102 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11103 $as_echo_n "(cached) " >&6
11105 if test "$cross_compiling" = yes; then :
11106 lt_cv_dlopen_self_static
=cross
11108 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11109 lt_status
=$lt_dlunknown
11110 cat > conftest.
$ac_ext <<_LT_EOF
11111 #line 11111 "configure"
11112 #include "confdefs.h"
11121 # define LT_DLGLOBAL RTLD_GLOBAL
11124 # define LT_DLGLOBAL DL_GLOBAL
11126 # define LT_DLGLOBAL 0
11130 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11131 find out it does not work in some platform. */
11132 #ifndef LT_DLLAZY_OR_NOW
11134 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11137 # define LT_DLLAZY_OR_NOW DL_LAZY
11140 # define LT_DLLAZY_OR_NOW RTLD_NOW
11143 # define LT_DLLAZY_OR_NOW DL_NOW
11145 # define LT_DLLAZY_OR_NOW 0
11152 /* When -fvisbility=hidden is used, assume the code has been annotated
11153 correspondingly for the symbols needed. */
11154 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11155 void fnord () __attribute__((visibility("default")));
11158 void fnord () { int i=42; }
11161 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11162 int status = $lt_dlunknown;
11166 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11169 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11170 else puts (dlerror ());
11172 /* dlclose (self); */
11180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11181 (eval $ac_link) 2>&5
11183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11184 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11185 (.
/conftest
; exit; ) >&5 2>/dev
/null
11187 case x
$lt_status in
11188 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11189 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11190 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11193 # compilation failed
11194 lt_cv_dlopen_self_static
=no
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11202 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11205 CPPFLAGS
="$save_CPPFLAGS"
11206 LDFLAGS
="$save_LDFLAGS"
11211 case $lt_cv_dlopen_self in
11212 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11213 *) enable_dlopen_self
=unknown
;;
11216 case $lt_cv_dlopen_self_static in
11217 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11218 *) enable_dlopen_self_static
=unknown
;;
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11241 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11242 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11243 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11244 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11246 $as_echo "yes" >&6; }
11248 # FIXME - insert some real tests, host_os isn't really good enough
11251 if test -n "$STRIP" ; then
11252 striplib
="$STRIP -x"
11253 old_striplib
="$STRIP -S"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11255 $as_echo "yes" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11258 $as_echo "no" >&6; }
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11263 $as_echo "no" >&6; }
11279 # Report which library types will actually be built
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11281 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11283 $as_echo "$can_build_shared" >&6; }
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11286 $as_echo_n "checking whether to build shared libraries... " >&6; }
11287 test "$can_build_shared" = "no" && enable_shared
=no
11289 # On AIX, shared libraries and static libraries use the same namespace, and
11290 # are all built from PIC.
11293 test "$enable_shared" = yes && enable_static
=no
11294 if test -n "$RANLIB"; then
11295 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11296 postinstall_cmds
='$RANLIB $lib'
11301 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11302 test "$enable_shared" = yes && enable_static
=no
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11307 $as_echo "$enable_shared" >&6; }
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11310 $as_echo_n "checking whether to build static libraries... " >&6; }
11311 # Make sure either enable_shared or enable_static is yes.
11312 test "$enable_shared" = yes || enable_static
=yes
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11314 $as_echo "$enable_static" >&6; }
11321 ac_cpp
='$CPP $CPPFLAGS'
11322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11340 ac_config_commands
="$ac_config_commands libtool"
11345 # Only expand once:
11351 # For libtool versioning info, format is CURRENT:REVISION:AGE
11352 libtool_VERSION
=1:0:0
11355 # Get target configury.
11356 .
${srcdir}/configure.tgt
11357 if test -n "$UNSUPPORTED"; then
11358 as_fn_error
"Configuration ${target} is unsupported." "$LINENO" 5
11361 # Disable fallbacks to __sync routines from libgcc. Otherwise we'll
11362 # make silly decisions about what the cpu can do.
11363 CFLAGS
="$save_CFLAGS -fno-sync-libcalls $XCFLAGS"
11365 # Check header files.
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11367 $as_echo_n "checking for ANSI C header files... " >&6; }
11368 if test "${ac_cv_header_stdc+set}" = set; then :
11369 $as_echo_n "(cached) " >&6
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373 #include <stdlib.h>
11374 #include <stdarg.h>
11375 #include <string.h>
11386 if ac_fn_c_try_compile
"$LINENO"; then :
11387 ac_cv_header_stdc
=yes
11389 ac_cv_header_stdc
=no
11391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11393 if test $ac_cv_header_stdc = yes; then
11394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 #include <string.h>
11400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11401 $EGREP "memchr" >/dev
/null
2>&1; then :
11404 ac_cv_header_stdc
=no
11410 if test $ac_cv_header_stdc = yes; then
11411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 #include <stdlib.h>
11417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11418 $EGREP "free" >/dev
/null
2>&1; then :
11421 ac_cv_header_stdc
=no
11427 if test $ac_cv_header_stdc = yes; then
11428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11429 if test "$cross_compiling" = yes; then :
11432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 #include <stdlib.h>
11436 #if ((' ' & 0x0FF) == 0x020)
11437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11440 # define ISLOWER(c) \
11441 (('a' <= (c) && (c) <= 'i') \
11442 || ('j' <= (c) && (c) <= 'r') \
11443 || ('s' <= (c) && (c) <= 'z'))
11444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11452 for (i = 0; i < 256; i++)
11453 if (XOR (islower (i), ISLOWER (i))
11454 || toupper (i) != TOUPPER (i))
11459 if ac_fn_c_try_run
"$LINENO"; then :
11462 ac_cv_header_stdc
=no
11464 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11465 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11471 $as_echo "$ac_cv_header_stdc" >&6; }
11472 if test $ac_cv_header_stdc = yes; then
11474 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
11479 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
11480 if test "${gcc_cv_header_string+set}" = set; then :
11481 $as_echo_n "(cached) " >&6
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11485 #include <string.h>
11486 #include <strings.h>
11495 if ac_fn_c_try_compile
"$LINENO"; then :
11496 gcc_cv_header_string
=yes
11498 gcc_cv_header_string
=no
11500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
11503 $as_echo "$gcc_cv_header_string" >&6; }
11504 if test $gcc_cv_header_string = yes; then
11506 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
11512 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
11514 acx_cv_header_stdint
=stddef.h
11515 acx_cv_header_stdint_kind
="(already complete)"
11516 for i
in stdint.h
$inttype_headers; do
11517 unset ac_cv_type_uintptr_t
11518 unset ac_cv_type_uintmax_t
11519 unset ac_cv_type_int_least32_t
11520 unset ac_cv_type_int_fast32_t
11521 unset ac_cv_type_uint64_t
11522 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
11523 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
11526 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
11527 acx_cv_header_stdint
=$i
11532 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
11535 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
11538 acx_cv_header_stdint_kind
="(mostly complete)"
11541 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
11544 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
11547 acx_cv_header_stdint_kind
="(mostly complete)"
11550 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
11553 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
11556 acx_cv_header_stdint_kind
="(mostly complete)"
11559 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
11562 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
11565 acx_cv_header_stdint_kind
="(lacks uint64_t)"
11570 if test "$acx_cv_header_stdint" = stddef.h
; then
11571 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
11572 for i
in stdint.h
$inttype_headers; do
11573 unset ac_cv_type_uintptr_t
11574 unset ac_cv_type_uint32_t
11575 unset ac_cv_type_uint64_t
11576 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
11577 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
11580 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
11581 acx_cv_header_stdint
=$i
11586 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
11589 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
11593 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
11596 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
11603 if test "$acx_cv_header_stdint" = stddef.h
; then
11604 acx_cv_header_stdint_kind
="(u_intXX_t style)"
11605 for i
in sys
/types.h
$inttype_headers; do
11606 unset ac_cv_type_u_int32_t
11607 unset ac_cv_type_u_int64_t
11608 $as_echo_n "looking for u_intXX_t types in $i, " >&6
11609 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
11612 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
11613 acx_cv_header_stdint
=$i
11618 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
11621 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
11628 if test "$acx_cv_header_stdint" = stddef.h
; then
11629 acx_cv_header_stdint_kind
="(using manual detection)"
11632 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
11633 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
11634 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
11635 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
11636 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
11638 # ----------------- Summarize what we found so far
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
11641 $as_echo_n "checking what to include in gstdint.h... " >&6; }
11643 case `$as_basename -- gstdint.h ||
11644 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
11645 Xgstdint.h : 'X\(//\)$' \| \
11646 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
11647 $as_echo X/gstdint.h |
11648 sed '/^.*\/\([^/][^/]*\)\/*$/{
11661 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
11662 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11663 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
11664 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
11669 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
11671 # ----------------- done included file, check C basic types --------
11673 # Lacking an uintptr_t? Test size of void *
11674 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
11675 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
11676 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11677 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11678 # This bug is HP SR number 8606223364.
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
11680 $as_echo_n "checking size of void *... " >&6; }
11681 if test "${ac_cv_sizeof_void_p+set}" = set; then :
11682 $as_echo_n "(cached) " >&6
11684 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
11687 if test "$ac_cv_type_void_p" = yes; then
11688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11690 { as_fn_set_status
77
11691 as_fn_error
"cannot compute sizeof (void *)
11692 See \`config.log' for more details." "$LINENO" 5; }; }
11694 ac_cv_sizeof_void_p
=0
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
11700 $as_echo "$ac_cv_sizeof_void_p" >&6; }
11704 cat >>confdefs.h
<<_ACEOF
11705 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
11711 # Lacking an uint64_t? Test size of long
11712 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
11713 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
11714 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11715 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11716 # This bug is HP SR number 8606223364.
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11718 $as_echo_n "checking size of long... " >&6; }
11719 if test "${ac_cv_sizeof_long+set}" = set; then :
11720 $as_echo_n "(cached) " >&6
11722 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
11725 if test "$ac_cv_type_long" = yes; then
11726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11728 { as_fn_set_status
77
11729 as_fn_error
"cannot compute sizeof (long)
11730 See \`config.log' for more details." "$LINENO" 5; }; }
11732 ac_cv_sizeof_long
=0
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
11738 $as_echo "$ac_cv_sizeof_long" >&6; }
11742 cat >>confdefs.h
<<_ACEOF
11743 #define SIZEOF_LONG $ac_cv_sizeof_long
11749 if test $acx_cv_header_stdint = stddef.h
; then
11750 # Lacking a good header? Test size of everything and deduce all types.
11751 # The cast to long int works around a bug in the HP C Compiler
11752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11754 # This bug is HP SR number 8606223364.
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
11756 $as_echo_n "checking size of int... " >&6; }
11757 if test "${ac_cv_sizeof_int+set}" = set; then :
11758 $as_echo_n "(cached) " >&6
11760 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
11763 if test "$ac_cv_type_int" = yes; then
11764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11766 { as_fn_set_status
77
11767 as_fn_error
"cannot compute sizeof (int)
11768 See \`config.log' for more details." "$LINENO" 5; }; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
11776 $as_echo "$ac_cv_sizeof_int" >&6; }
11780 cat >>confdefs.h
<<_ACEOF
11781 #define SIZEOF_INT $ac_cv_sizeof_int
11785 # The cast to long int works around a bug in the HP C Compiler
11786 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11787 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11788 # This bug is HP SR number 8606223364.
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
11790 $as_echo_n "checking size of short... " >&6; }
11791 if test "${ac_cv_sizeof_short+set}" = set; then :
11792 $as_echo_n "(cached) " >&6
11794 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
11797 if test "$ac_cv_type_short" = yes; then
11798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11800 { as_fn_set_status
77
11801 as_fn_error
"cannot compute sizeof (short)
11802 See \`config.log' for more details." "$LINENO" 5; }; }
11804 ac_cv_sizeof_short
=0
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
11810 $as_echo "$ac_cv_sizeof_short" >&6; }
11814 cat >>confdefs.h
<<_ACEOF
11815 #define SIZEOF_SHORT $ac_cv_sizeof_short
11819 # The cast to long int works around a bug in the HP C Compiler
11820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11822 # This bug is HP SR number 8606223364.
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
11824 $as_echo_n "checking size of char... " >&6; }
11825 if test "${ac_cv_sizeof_char+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11828 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
11831 if test "$ac_cv_type_char" = yes; then
11832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11834 { as_fn_set_status
77
11835 as_fn_error
"cannot compute sizeof (char)
11836 See \`config.log' for more details." "$LINENO" 5; }; }
11838 ac_cv_sizeof_char
=0
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
11844 $as_echo "$ac_cv_sizeof_char" >&6; }
11848 cat >>confdefs.h
<<_ACEOF
11849 #define SIZEOF_CHAR $ac_cv_sizeof_char
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
11855 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
11856 case "$ac_cv_sizeof_char" in
11857 1) acx_cv_type_int8_t
=char
;;
11858 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
11861 $as_echo "$acx_cv_type_int8_t" >&6; }
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
11864 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
11865 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
11866 2:*) acx_cv_type_int16_t
=int
;;
11867 *:2) acx_cv_type_int16_t
=short
;;
11868 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
11871 $as_echo "$acx_cv_type_int16_t" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
11874 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
11875 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
11876 4:*) acx_cv_type_int32_t
=int
;;
11877 *:4) acx_cv_type_int32_t
=long
;;
11878 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
11881 $as_echo "$acx_cv_type_int32_t" >&6; }
11884 # These tests are here to make the output prettier
11886 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
11887 case "$ac_cv_sizeof_long" in
11888 8) acx_cv_type_int64_t
=long
;;
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
11891 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
11893 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
11896 # Now we can use the above types
11898 if test "$ac_cv_type_uintptr_t" != yes; then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
11900 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
11901 case $ac_cv_sizeof_void_p in
11902 2) acx_cv_type_intptr_t
=int16_t
;;
11903 4) acx_cv_type_intptr_t
=int32_t
;;
11904 8) acx_cv_type_intptr_t
=int64_t
;;
11905 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
11908 $as_echo "$acx_cv_type_intptr_t" >&6; }
11911 # ----------------- done all checks, emit header -------------
11912 ac_config_commands
="$ac_config_commands gstdint.h"
11917 # Check for common type sizes
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 1 byte integer" >&5
11920 $as_echo_n "checking for 1 byte integer... " >&6; }
11921 if test "${libat_cv_have_mode_QI+set}" = set; then :
11922 $as_echo_n "(cached) " >&6
11924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 int x __attribute__((mode(QI)));
11928 if ac_fn_c_try_compile
"$LINENO"; then :
11929 libat_cv_have_mode_QI
=yes
11931 libat_cv_have_mode_QI
=no
11933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_mode_QI" >&5
11936 $as_echo "$libat_cv_have_mode_QI" >&6; }
11938 yesno
=`echo $libat_cv_have_mode_QI | tr 'yesno' '1 0 '`
11940 cat >>confdefs.h
<<_ACEOF
11941 #define HAVE_INT1 $yesno
11945 if test x
$libat_cv_have_mode_QI = xyes
; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2 byte integer" >&5
11951 $as_echo_n "checking for 2 byte integer... " >&6; }
11952 if test "${libat_cv_have_mode_HI+set}" = set; then :
11953 $as_echo_n "(cached) " >&6
11955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11956 /* end confdefs.h. */
11957 int x __attribute__((mode(HI)));
11959 if ac_fn_c_try_compile
"$LINENO"; then :
11960 libat_cv_have_mode_HI
=yes
11962 libat_cv_have_mode_HI
=no
11964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_mode_HI" >&5
11967 $as_echo "$libat_cv_have_mode_HI" >&6; }
11969 yesno
=`echo $libat_cv_have_mode_HI | tr 'yesno' '1 0 '`
11971 cat >>confdefs.h
<<_ACEOF
11972 #define HAVE_INT2 $yesno
11976 if test x
$libat_cv_have_mode_HI = xyes
; then
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4 byte integer" >&5
11982 $as_echo_n "checking for 4 byte integer... " >&6; }
11983 if test "${libat_cv_have_mode_SI+set}" = set; then :
11984 $as_echo_n "(cached) " >&6
11986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11988 int x __attribute__((mode(SI)));
11990 if ac_fn_c_try_compile
"$LINENO"; then :
11991 libat_cv_have_mode_SI
=yes
11993 libat_cv_have_mode_SI
=no
11995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_mode_SI" >&5
11998 $as_echo "$libat_cv_have_mode_SI" >&6; }
12000 yesno
=`echo $libat_cv_have_mode_SI | tr 'yesno' '1 0 '`
12002 cat >>confdefs.h
<<_ACEOF
12003 #define HAVE_INT4 $yesno
12007 if test x
$libat_cv_have_mode_SI = xyes
; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 8 byte integer" >&5
12013 $as_echo_n "checking for 8 byte integer... " >&6; }
12014 if test "${libat_cv_have_mode_DI+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12019 int x __attribute__((mode(DI)));
12021 if ac_fn_c_try_compile
"$LINENO"; then :
12022 libat_cv_have_mode_DI
=yes
12024 libat_cv_have_mode_DI
=no
12026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_mode_DI" >&5
12029 $as_echo "$libat_cv_have_mode_DI" >&6; }
12031 yesno
=`echo $libat_cv_have_mode_DI | tr 'yesno' '1 0 '`
12033 cat >>confdefs.h
<<_ACEOF
12034 #define HAVE_INT8 $yesno
12038 if test x
$libat_cv_have_mode_DI = xyes
; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 16 byte integer" >&5
12044 $as_echo_n "checking for 16 byte integer... " >&6; }
12045 if test "${libat_cv_have_mode_TI+set}" = set; then :
12046 $as_echo_n "(cached) " >&6
12048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12050 int x __attribute__((mode(TI)));
12052 if ac_fn_c_try_compile
"$LINENO"; then :
12053 libat_cv_have_mode_TI
=yes
12055 libat_cv_have_mode_TI
=no
12057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_mode_TI" >&5
12060 $as_echo "$libat_cv_have_mode_TI" >&6; }
12062 yesno
=`echo $libat_cv_have_mode_TI | tr 'yesno' '1 0 '`
12064 cat >>confdefs.h
<<_ACEOF
12065 #define HAVE_INT16 $yesno
12069 if test x
$libat_cv_have_mode_TI = xyes
; then
12075 # Check for compiler builtins of atomic operations.
12077 # Do link tests if possible, instead asm tests, limited to some platforms
12078 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
12079 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
12080 atomic_builtins_link_tests
=no
12081 if test x
$gcc_no_link != xyes
; then
12082 # Can do link tests. Limit to some tested platforms
12084 *-*-linux* |
*-*-uclinux* |
*-*-kfreebsd*-gnu |
*-*-gnu*)
12085 atomic_builtins_link_tests
=yes
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_load/store for size 1" >&5
12093 $as_echo_n "checking for __atomic_load/store for size 1... " >&6; }
12094 if test "${libat_cv_have_at_ldst_1+set}" = set; then :
12095 $as_echo_n "(cached) " >&6
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12104 typedef int T __attribute__((mode(QI)));
12105 T *x; volatile T sink; asm("" : "=g"(x));
12106 sink = __atomic_load_n(x, 0);
12107 __atomic_store_n(x, sink, 0);
12112 if test x
$atomic_builtins_link_tests = xyes
; then
12113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12114 (eval $ac_link) 2>&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12117 test $ac_status = 0; }; then
12118 eval libat_cv_have_at_ldst_1
=yes
12120 eval libat_cv_have_at_ldst_1
=no
12123 old_CFLAGS
="$CFLAGS"
12124 # Compile unoptimized.
12126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12127 (eval $ac_compile) 2>&5
12129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12130 test $ac_status = 0; }; then
12131 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12132 eval libat_cv_have_at_ldst_1
=no
12134 eval libat_cv_have_at_ldst_1
=yes
12137 eval libat_cv_have_at_ldst_1
=no
12139 CFLAGS
="$old_CFLAGS"
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_ldst_1" >&5
12145 $as_echo "$libat_cv_have_at_ldst_1" >&6; }
12148 yesno
=`echo $libat_cv_have_at_ldst_1 | tr 'yesno' '1 0 '`
12150 cat >>confdefs.h
<<_ACEOF
12151 #define HAVE_ATOMIC_LDST_1 $yesno
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_load/store for size 2" >&5
12160 $as_echo_n "checking for __atomic_load/store for size 2... " >&6; }
12161 if test "${libat_cv_have_at_ldst_2+set}" = set; then :
12162 $as_echo_n "(cached) " >&6
12165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12171 typedef int T __attribute__((mode(HI)));
12172 T *x; volatile T sink; asm("" : "=g"(x));
12173 sink = __atomic_load_n(x, 0);
12174 __atomic_store_n(x, sink, 0);
12179 if test x
$atomic_builtins_link_tests = xyes
; then
12180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12181 (eval $ac_link) 2>&5
12183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12184 test $ac_status = 0; }; then
12185 eval libat_cv_have_at_ldst_2
=yes
12187 eval libat_cv_have_at_ldst_2
=no
12190 old_CFLAGS
="$CFLAGS"
12191 # Compile unoptimized.
12193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12194 (eval $ac_compile) 2>&5
12196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197 test $ac_status = 0; }; then
12198 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12199 eval libat_cv_have_at_ldst_2
=no
12201 eval libat_cv_have_at_ldst_2
=yes
12204 eval libat_cv_have_at_ldst_2
=no
12206 CFLAGS
="$old_CFLAGS"
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_ldst_2" >&5
12212 $as_echo "$libat_cv_have_at_ldst_2" >&6; }
12215 yesno
=`echo $libat_cv_have_at_ldst_2 | tr 'yesno' '1 0 '`
12217 cat >>confdefs.h
<<_ACEOF
12218 #define HAVE_ATOMIC_LDST_2 $yesno
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_load/store for size 4" >&5
12227 $as_echo_n "checking for __atomic_load/store for size 4... " >&6; }
12228 if test "${libat_cv_have_at_ldst_4+set}" = set; then :
12229 $as_echo_n "(cached) " >&6
12232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12238 typedef int T __attribute__((mode(SI)));
12239 T *x; volatile T sink; asm("" : "=g"(x));
12240 sink = __atomic_load_n(x, 0);
12241 __atomic_store_n(x, sink, 0);
12246 if test x
$atomic_builtins_link_tests = xyes
; then
12247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12248 (eval $ac_link) 2>&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12251 test $ac_status = 0; }; then
12252 eval libat_cv_have_at_ldst_4
=yes
12254 eval libat_cv_have_at_ldst_4
=no
12257 old_CFLAGS
="$CFLAGS"
12258 # Compile unoptimized.
12260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12261 (eval $ac_compile) 2>&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12264 test $ac_status = 0; }; then
12265 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12266 eval libat_cv_have_at_ldst_4
=no
12268 eval libat_cv_have_at_ldst_4
=yes
12271 eval libat_cv_have_at_ldst_4
=no
12273 CFLAGS
="$old_CFLAGS"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_ldst_4" >&5
12279 $as_echo "$libat_cv_have_at_ldst_4" >&6; }
12282 yesno
=`echo $libat_cv_have_at_ldst_4 | tr 'yesno' '1 0 '`
12284 cat >>confdefs.h
<<_ACEOF
12285 #define HAVE_ATOMIC_LDST_4 $yesno
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_load/store for size 8" >&5
12294 $as_echo_n "checking for __atomic_load/store for size 8... " >&6; }
12295 if test "${libat_cv_have_at_ldst_8+set}" = set; then :
12296 $as_echo_n "(cached) " >&6
12299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12305 typedef int T __attribute__((mode(DI)));
12306 T *x; volatile T sink; asm("" : "=g"(x));
12307 sink = __atomic_load_n(x, 0);
12308 __atomic_store_n(x, sink, 0);
12313 if test x
$atomic_builtins_link_tests = xyes
; then
12314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12315 (eval $ac_link) 2>&5
12317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318 test $ac_status = 0; }; then
12319 eval libat_cv_have_at_ldst_8
=yes
12321 eval libat_cv_have_at_ldst_8
=no
12324 old_CFLAGS
="$CFLAGS"
12325 # Compile unoptimized.
12327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12328 (eval $ac_compile) 2>&5
12330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12331 test $ac_status = 0; }; then
12332 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12333 eval libat_cv_have_at_ldst_8
=no
12335 eval libat_cv_have_at_ldst_8
=yes
12338 eval libat_cv_have_at_ldst_8
=no
12340 CFLAGS
="$old_CFLAGS"
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_ldst_8" >&5
12346 $as_echo "$libat_cv_have_at_ldst_8" >&6; }
12349 yesno
=`echo $libat_cv_have_at_ldst_8 | tr 'yesno' '1 0 '`
12351 cat >>confdefs.h
<<_ACEOF
12352 #define HAVE_ATOMIC_LDST_8 $yesno
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_load/store for size 16" >&5
12361 $as_echo_n "checking for __atomic_load/store for size 16... " >&6; }
12362 if test "${libat_cv_have_at_ldst_16+set}" = set; then :
12363 $as_echo_n "(cached) " >&6
12366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12372 typedef int T __attribute__((mode(TI)));
12373 T *x; volatile T sink; asm("" : "=g"(x));
12374 sink = __atomic_load_n(x, 0);
12375 __atomic_store_n(x, sink, 0);
12380 if test x
$atomic_builtins_link_tests = xyes
; then
12381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12382 (eval $ac_link) 2>&5
12384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12385 test $ac_status = 0; }; then
12386 eval libat_cv_have_at_ldst_16
=yes
12388 eval libat_cv_have_at_ldst_16
=no
12391 old_CFLAGS
="$CFLAGS"
12392 # Compile unoptimized.
12394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12395 (eval $ac_compile) 2>&5
12397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12398 test $ac_status = 0; }; then
12399 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12400 eval libat_cv_have_at_ldst_16
=no
12402 eval libat_cv_have_at_ldst_16
=yes
12405 eval libat_cv_have_at_ldst_16
=no
12407 CFLAGS
="$old_CFLAGS"
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_ldst_16" >&5
12413 $as_echo "$libat_cv_have_at_ldst_16" >&6; }
12416 yesno
=`echo $libat_cv_have_at_ldst_16 | tr 'yesno' '1 0 '`
12418 cat >>confdefs.h
<<_ACEOF
12419 #define HAVE_ATOMIC_LDST_16 $yesno
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_test_and_set for size 1" >&5
12429 $as_echo_n "checking for __atomic_test_and_set for size 1... " >&6; }
12430 if test "${libat_cv_have_at_tas_1+set}" = set; then :
12431 $as_echo_n "(cached) " >&6
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12440 typedef int T __attribute__((mode(QI))); T *x; asm("" : "=g"(x));
12441 __atomic_test_and_set(x, 0);
12446 if test x
$atomic_builtins_link_tests = xyes
; then
12447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12448 (eval $ac_link) 2>&5
12450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12451 test $ac_status = 0; }; then
12452 eval libat_cv_have_at_tas_1
=yes
12454 eval libat_cv_have_at_tas_1
=no
12457 old_CFLAGS
="$CFLAGS"
12458 # Compile unoptimized.
12460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12461 (eval $ac_compile) 2>&5
12463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12464 test $ac_status = 0; }; then
12465 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12466 eval libat_cv_have_at_tas_1
=no
12468 eval libat_cv_have_at_tas_1
=yes
12471 eval libat_cv_have_at_tas_1
=no
12473 CFLAGS
="$old_CFLAGS"
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_tas_1" >&5
12479 $as_echo "$libat_cv_have_at_tas_1" >&6; }
12482 yesno
=`echo $libat_cv_have_at_tas_1 | tr 'yesno' '1 0 '`
12484 cat >>confdefs.h
<<_ACEOF
12485 #define HAVE_ATOMIC_TAS_1 $yesno
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_test_and_set for size 2" >&5
12494 $as_echo_n "checking for __atomic_test_and_set for size 2... " >&6; }
12495 if test "${libat_cv_have_at_tas_2+set}" = set; then :
12496 $as_echo_n "(cached) " >&6
12499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12505 typedef int T __attribute__((mode(HI))); T *x; asm("" : "=g"(x));
12506 __atomic_test_and_set(x, 0);
12511 if test x
$atomic_builtins_link_tests = xyes
; then
12512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12513 (eval $ac_link) 2>&5
12515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12516 test $ac_status = 0; }; then
12517 eval libat_cv_have_at_tas_2
=yes
12519 eval libat_cv_have_at_tas_2
=no
12522 old_CFLAGS
="$CFLAGS"
12523 # Compile unoptimized.
12525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12526 (eval $ac_compile) 2>&5
12528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12529 test $ac_status = 0; }; then
12530 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12531 eval libat_cv_have_at_tas_2
=no
12533 eval libat_cv_have_at_tas_2
=yes
12536 eval libat_cv_have_at_tas_2
=no
12538 CFLAGS
="$old_CFLAGS"
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_tas_2" >&5
12544 $as_echo "$libat_cv_have_at_tas_2" >&6; }
12547 yesno
=`echo $libat_cv_have_at_tas_2 | tr 'yesno' '1 0 '`
12549 cat >>confdefs.h
<<_ACEOF
12550 #define HAVE_ATOMIC_TAS_2 $yesno
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_test_and_set for size 4" >&5
12559 $as_echo_n "checking for __atomic_test_and_set for size 4... " >&6; }
12560 if test "${libat_cv_have_at_tas_4+set}" = set; then :
12561 $as_echo_n "(cached) " >&6
12564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12570 typedef int T __attribute__((mode(SI))); T *x; asm("" : "=g"(x));
12571 __atomic_test_and_set(x, 0);
12576 if test x
$atomic_builtins_link_tests = xyes
; then
12577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12578 (eval $ac_link) 2>&5
12580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12581 test $ac_status = 0; }; then
12582 eval libat_cv_have_at_tas_4
=yes
12584 eval libat_cv_have_at_tas_4
=no
12587 old_CFLAGS
="$CFLAGS"
12588 # Compile unoptimized.
12590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12591 (eval $ac_compile) 2>&5
12593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12594 test $ac_status = 0; }; then
12595 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12596 eval libat_cv_have_at_tas_4
=no
12598 eval libat_cv_have_at_tas_4
=yes
12601 eval libat_cv_have_at_tas_4
=no
12603 CFLAGS
="$old_CFLAGS"
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_tas_4" >&5
12609 $as_echo "$libat_cv_have_at_tas_4" >&6; }
12612 yesno
=`echo $libat_cv_have_at_tas_4 | tr 'yesno' '1 0 '`
12614 cat >>confdefs.h
<<_ACEOF
12615 #define HAVE_ATOMIC_TAS_4 $yesno
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_test_and_set for size 8" >&5
12624 $as_echo_n "checking for __atomic_test_and_set for size 8... " >&6; }
12625 if test "${libat_cv_have_at_tas_8+set}" = set; then :
12626 $as_echo_n "(cached) " >&6
12629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12635 typedef int T __attribute__((mode(DI))); T *x; asm("" : "=g"(x));
12636 __atomic_test_and_set(x, 0);
12641 if test x
$atomic_builtins_link_tests = xyes
; then
12642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12643 (eval $ac_link) 2>&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646 test $ac_status = 0; }; then
12647 eval libat_cv_have_at_tas_8
=yes
12649 eval libat_cv_have_at_tas_8
=no
12652 old_CFLAGS
="$CFLAGS"
12653 # Compile unoptimized.
12655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12656 (eval $ac_compile) 2>&5
12658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12659 test $ac_status = 0; }; then
12660 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12661 eval libat_cv_have_at_tas_8
=no
12663 eval libat_cv_have_at_tas_8
=yes
12666 eval libat_cv_have_at_tas_8
=no
12668 CFLAGS
="$old_CFLAGS"
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_tas_8" >&5
12674 $as_echo "$libat_cv_have_at_tas_8" >&6; }
12677 yesno
=`echo $libat_cv_have_at_tas_8 | tr 'yesno' '1 0 '`
12679 cat >>confdefs.h
<<_ACEOF
12680 #define HAVE_ATOMIC_TAS_8 $yesno
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_test_and_set for size 16" >&5
12689 $as_echo_n "checking for __atomic_test_and_set for size 16... " >&6; }
12690 if test "${libat_cv_have_at_tas_16+set}" = set; then :
12691 $as_echo_n "(cached) " >&6
12694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12700 typedef int T __attribute__((mode(TI))); T *x; asm("" : "=g"(x));
12701 __atomic_test_and_set(x, 0);
12706 if test x
$atomic_builtins_link_tests = xyes
; then
12707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12708 (eval $ac_link) 2>&5
12710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12711 test $ac_status = 0; }; then
12712 eval libat_cv_have_at_tas_16
=yes
12714 eval libat_cv_have_at_tas_16
=no
12717 old_CFLAGS
="$CFLAGS"
12718 # Compile unoptimized.
12720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12721 (eval $ac_compile) 2>&5
12723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12724 test $ac_status = 0; }; then
12725 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12726 eval libat_cv_have_at_tas_16
=no
12728 eval libat_cv_have_at_tas_16
=yes
12731 eval libat_cv_have_at_tas_16
=no
12733 CFLAGS
="$old_CFLAGS"
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_tas_16" >&5
12739 $as_echo "$libat_cv_have_at_tas_16" >&6; }
12742 yesno
=`echo $libat_cv_have_at_tas_16 | tr 'yesno' '1 0 '`
12744 cat >>confdefs.h
<<_ACEOF
12745 #define HAVE_ATOMIC_TAS_16 $yesno
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_exchange for size 1" >&5
12755 $as_echo_n "checking for __atomic_exchange for size 1... " >&6; }
12756 if test "${libat_cv_have_at_exch_1+set}" = set; then :
12757 $as_echo_n "(cached) " >&6
12760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12766 typedef int T __attribute__((mode(QI))); T *x; asm("" : "=g"(x));
12767 __atomic_exchange_n(x, 0, 0);
12772 if test x
$atomic_builtins_link_tests = xyes
; then
12773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12774 (eval $ac_link) 2>&5
12776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12777 test $ac_status = 0; }; then
12778 eval libat_cv_have_at_exch_1
=yes
12780 eval libat_cv_have_at_exch_1
=no
12783 old_CFLAGS
="$CFLAGS"
12784 # Compile unoptimized.
12786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12787 (eval $ac_compile) 2>&5
12789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12790 test $ac_status = 0; }; then
12791 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12792 eval libat_cv_have_at_exch_1
=no
12794 eval libat_cv_have_at_exch_1
=yes
12797 eval libat_cv_have_at_exch_1
=no
12799 CFLAGS
="$old_CFLAGS"
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_exch_1" >&5
12805 $as_echo "$libat_cv_have_at_exch_1" >&6; }
12808 yesno
=`echo $libat_cv_have_at_exch_1 | tr 'yesno' '1 0 '`
12810 cat >>confdefs.h
<<_ACEOF
12811 #define HAVE_ATOMIC_EXCHANGE_1 $yesno
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_exchange for size 2" >&5
12820 $as_echo_n "checking for __atomic_exchange for size 2... " >&6; }
12821 if test "${libat_cv_have_at_exch_2+set}" = set; then :
12822 $as_echo_n "(cached) " >&6
12825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12831 typedef int T __attribute__((mode(HI))); T *x; asm("" : "=g"(x));
12832 __atomic_exchange_n(x, 0, 0);
12837 if test x
$atomic_builtins_link_tests = xyes
; then
12838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12839 (eval $ac_link) 2>&5
12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 test $ac_status = 0; }; then
12843 eval libat_cv_have_at_exch_2
=yes
12845 eval libat_cv_have_at_exch_2
=no
12848 old_CFLAGS
="$CFLAGS"
12849 # Compile unoptimized.
12851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12852 (eval $ac_compile) 2>&5
12854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12855 test $ac_status = 0; }; then
12856 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12857 eval libat_cv_have_at_exch_2
=no
12859 eval libat_cv_have_at_exch_2
=yes
12862 eval libat_cv_have_at_exch_2
=no
12864 CFLAGS
="$old_CFLAGS"
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_exch_2" >&5
12870 $as_echo "$libat_cv_have_at_exch_2" >&6; }
12873 yesno
=`echo $libat_cv_have_at_exch_2 | tr 'yesno' '1 0 '`
12875 cat >>confdefs.h
<<_ACEOF
12876 #define HAVE_ATOMIC_EXCHANGE_2 $yesno
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_exchange for size 4" >&5
12885 $as_echo_n "checking for __atomic_exchange for size 4... " >&6; }
12886 if test "${libat_cv_have_at_exch_4+set}" = set; then :
12887 $as_echo_n "(cached) " >&6
12890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12896 typedef int T __attribute__((mode(SI))); T *x; asm("" : "=g"(x));
12897 __atomic_exchange_n(x, 0, 0);
12902 if test x
$atomic_builtins_link_tests = xyes
; then
12903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12904 (eval $ac_link) 2>&5
12906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12907 test $ac_status = 0; }; then
12908 eval libat_cv_have_at_exch_4
=yes
12910 eval libat_cv_have_at_exch_4
=no
12913 old_CFLAGS
="$CFLAGS"
12914 # Compile unoptimized.
12916 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12917 (eval $ac_compile) 2>&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12920 test $ac_status = 0; }; then
12921 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12922 eval libat_cv_have_at_exch_4
=no
12924 eval libat_cv_have_at_exch_4
=yes
12927 eval libat_cv_have_at_exch_4
=no
12929 CFLAGS
="$old_CFLAGS"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_exch_4" >&5
12935 $as_echo "$libat_cv_have_at_exch_4" >&6; }
12938 yesno
=`echo $libat_cv_have_at_exch_4 | tr 'yesno' '1 0 '`
12940 cat >>confdefs.h
<<_ACEOF
12941 #define HAVE_ATOMIC_EXCHANGE_4 $yesno
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_exchange for size 8" >&5
12950 $as_echo_n "checking for __atomic_exchange for size 8... " >&6; }
12951 if test "${libat_cv_have_at_exch_8+set}" = set; then :
12952 $as_echo_n "(cached) " >&6
12955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12961 typedef int T __attribute__((mode(DI))); T *x; asm("" : "=g"(x));
12962 __atomic_exchange_n(x, 0, 0);
12967 if test x
$atomic_builtins_link_tests = xyes
; then
12968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12969 (eval $ac_link) 2>&5
12971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12972 test $ac_status = 0; }; then
12973 eval libat_cv_have_at_exch_8
=yes
12975 eval libat_cv_have_at_exch_8
=no
12978 old_CFLAGS
="$CFLAGS"
12979 # Compile unoptimized.
12981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12982 (eval $ac_compile) 2>&5
12984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12985 test $ac_status = 0; }; then
12986 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
12987 eval libat_cv_have_at_exch_8
=no
12989 eval libat_cv_have_at_exch_8
=yes
12992 eval libat_cv_have_at_exch_8
=no
12994 CFLAGS
="$old_CFLAGS"
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_exch_8" >&5
13000 $as_echo "$libat_cv_have_at_exch_8" >&6; }
13003 yesno
=`echo $libat_cv_have_at_exch_8 | tr 'yesno' '1 0 '`
13005 cat >>confdefs.h
<<_ACEOF
13006 #define HAVE_ATOMIC_EXCHANGE_8 $yesno
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_exchange for size 16" >&5
13015 $as_echo_n "checking for __atomic_exchange for size 16... " >&6; }
13016 if test "${libat_cv_have_at_exch_16+set}" = set; then :
13017 $as_echo_n "(cached) " >&6
13020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13026 typedef int T __attribute__((mode(TI))); T *x; asm("" : "=g"(x));
13027 __atomic_exchange_n(x, 0, 0);
13032 if test x
$atomic_builtins_link_tests = xyes
; then
13033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13034 (eval $ac_link) 2>&5
13036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13037 test $ac_status = 0; }; then
13038 eval libat_cv_have_at_exch_16
=yes
13040 eval libat_cv_have_at_exch_16
=no
13043 old_CFLAGS
="$CFLAGS"
13044 # Compile unoptimized.
13046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13047 (eval $ac_compile) 2>&5
13049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13050 test $ac_status = 0; }; then
13051 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13052 eval libat_cv_have_at_exch_16
=no
13054 eval libat_cv_have_at_exch_16
=yes
13057 eval libat_cv_have_at_exch_16
=no
13059 CFLAGS
="$old_CFLAGS"
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_exch_16" >&5
13065 $as_echo "$libat_cv_have_at_exch_16" >&6; }
13068 yesno
=`echo $libat_cv_have_at_exch_16 | tr 'yesno' '1 0 '`
13070 cat >>confdefs.h
<<_ACEOF
13071 #define HAVE_ATOMIC_EXCHANGE_16 $yesno
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_compare_exchange for size 1" >&5
13081 $as_echo_n "checking for __atomic_compare_exchange for size 1... " >&6; }
13082 if test "${libat_cv_have_at_cas_1+set}" = set; then :
13083 $as_echo_n "(cached) " >&6
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13092 typedef int T __attribute__((mode(QI))); T *x, *y;
13093 asm("" : "=g"(x), "=g"(y));
13094 __atomic_compare_exchange_n(x, y, 0, 0, 0, 0);
13099 if test x
$atomic_builtins_link_tests = xyes
; then
13100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13101 (eval $ac_link) 2>&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13104 test $ac_status = 0; }; then
13105 eval libat_cv_have_at_cas_1
=yes
13107 eval libat_cv_have_at_cas_1
=no
13110 old_CFLAGS
="$CFLAGS"
13111 # Compile unoptimized.
13113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13114 (eval $ac_compile) 2>&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13117 test $ac_status = 0; }; then
13118 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13119 eval libat_cv_have_at_cas_1
=no
13121 eval libat_cv_have_at_cas_1
=yes
13124 eval libat_cv_have_at_cas_1
=no
13126 CFLAGS
="$old_CFLAGS"
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_cas_1" >&5
13132 $as_echo "$libat_cv_have_at_cas_1" >&6; }
13135 yesno
=`echo $libat_cv_have_at_cas_1 | tr 'yesno' '1 0 '`
13137 cat >>confdefs.h
<<_ACEOF
13138 #define HAVE_ATOMIC_CAS_1 $yesno
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_compare_exchange for size 2" >&5
13147 $as_echo_n "checking for __atomic_compare_exchange for size 2... " >&6; }
13148 if test "${libat_cv_have_at_cas_2+set}" = set; then :
13149 $as_echo_n "(cached) " >&6
13152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13158 typedef int T __attribute__((mode(HI))); T *x, *y;
13159 asm("" : "=g"(x), "=g"(y));
13160 __atomic_compare_exchange_n(x, y, 0, 0, 0, 0);
13165 if test x
$atomic_builtins_link_tests = xyes
; then
13166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13167 (eval $ac_link) 2>&5
13169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13170 test $ac_status = 0; }; then
13171 eval libat_cv_have_at_cas_2
=yes
13173 eval libat_cv_have_at_cas_2
=no
13176 old_CFLAGS
="$CFLAGS"
13177 # Compile unoptimized.
13179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13180 (eval $ac_compile) 2>&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13183 test $ac_status = 0; }; then
13184 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13185 eval libat_cv_have_at_cas_2
=no
13187 eval libat_cv_have_at_cas_2
=yes
13190 eval libat_cv_have_at_cas_2
=no
13192 CFLAGS
="$old_CFLAGS"
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_cas_2" >&5
13198 $as_echo "$libat_cv_have_at_cas_2" >&6; }
13201 yesno
=`echo $libat_cv_have_at_cas_2 | tr 'yesno' '1 0 '`
13203 cat >>confdefs.h
<<_ACEOF
13204 #define HAVE_ATOMIC_CAS_2 $yesno
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_compare_exchange for size 4" >&5
13213 $as_echo_n "checking for __atomic_compare_exchange for size 4... " >&6; }
13214 if test "${libat_cv_have_at_cas_4+set}" = set; then :
13215 $as_echo_n "(cached) " >&6
13218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13224 typedef int T __attribute__((mode(SI))); T *x, *y;
13225 asm("" : "=g"(x), "=g"(y));
13226 __atomic_compare_exchange_n(x, y, 0, 0, 0, 0);
13231 if test x
$atomic_builtins_link_tests = xyes
; then
13232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13233 (eval $ac_link) 2>&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13236 test $ac_status = 0; }; then
13237 eval libat_cv_have_at_cas_4
=yes
13239 eval libat_cv_have_at_cas_4
=no
13242 old_CFLAGS
="$CFLAGS"
13243 # Compile unoptimized.
13245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13246 (eval $ac_compile) 2>&5
13248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13249 test $ac_status = 0; }; then
13250 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13251 eval libat_cv_have_at_cas_4
=no
13253 eval libat_cv_have_at_cas_4
=yes
13256 eval libat_cv_have_at_cas_4
=no
13258 CFLAGS
="$old_CFLAGS"
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_cas_4" >&5
13264 $as_echo "$libat_cv_have_at_cas_4" >&6; }
13267 yesno
=`echo $libat_cv_have_at_cas_4 | tr 'yesno' '1 0 '`
13269 cat >>confdefs.h
<<_ACEOF
13270 #define HAVE_ATOMIC_CAS_4 $yesno
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_compare_exchange for size 8" >&5
13279 $as_echo_n "checking for __atomic_compare_exchange for size 8... " >&6; }
13280 if test "${libat_cv_have_at_cas_8+set}" = set; then :
13281 $as_echo_n "(cached) " >&6
13284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13290 typedef int T __attribute__((mode(DI))); T *x, *y;
13291 asm("" : "=g"(x), "=g"(y));
13292 __atomic_compare_exchange_n(x, y, 0, 0, 0, 0);
13297 if test x
$atomic_builtins_link_tests = xyes
; then
13298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13299 (eval $ac_link) 2>&5
13301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13302 test $ac_status = 0; }; then
13303 eval libat_cv_have_at_cas_8
=yes
13305 eval libat_cv_have_at_cas_8
=no
13308 old_CFLAGS
="$CFLAGS"
13309 # Compile unoptimized.
13311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13312 (eval $ac_compile) 2>&5
13314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13315 test $ac_status = 0; }; then
13316 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13317 eval libat_cv_have_at_cas_8
=no
13319 eval libat_cv_have_at_cas_8
=yes
13322 eval libat_cv_have_at_cas_8
=no
13324 CFLAGS
="$old_CFLAGS"
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_cas_8" >&5
13330 $as_echo "$libat_cv_have_at_cas_8" >&6; }
13333 yesno
=`echo $libat_cv_have_at_cas_8 | tr 'yesno' '1 0 '`
13335 cat >>confdefs.h
<<_ACEOF
13336 #define HAVE_ATOMIC_CAS_8 $yesno
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_compare_exchange for size 16" >&5
13345 $as_echo_n "checking for __atomic_compare_exchange for size 16... " >&6; }
13346 if test "${libat_cv_have_at_cas_16+set}" = set; then :
13347 $as_echo_n "(cached) " >&6
13350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13356 typedef int T __attribute__((mode(TI))); T *x, *y;
13357 asm("" : "=g"(x), "=g"(y));
13358 __atomic_compare_exchange_n(x, y, 0, 0, 0, 0);
13363 if test x
$atomic_builtins_link_tests = xyes
; then
13364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13365 (eval $ac_link) 2>&5
13367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13368 test $ac_status = 0; }; then
13369 eval libat_cv_have_at_cas_16
=yes
13371 eval libat_cv_have_at_cas_16
=no
13374 old_CFLAGS
="$CFLAGS"
13375 # Compile unoptimized.
13377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13378 (eval $ac_compile) 2>&5
13380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13381 test $ac_status = 0; }; then
13382 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13383 eval libat_cv_have_at_cas_16
=no
13385 eval libat_cv_have_at_cas_16
=yes
13388 eval libat_cv_have_at_cas_16
=no
13390 CFLAGS
="$old_CFLAGS"
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_cas_16" >&5
13396 $as_echo "$libat_cv_have_at_cas_16" >&6; }
13399 yesno
=`echo $libat_cv_have_at_cas_16 | tr 'yesno' '1 0 '`
13401 cat >>confdefs.h
<<_ACEOF
13402 #define HAVE_ATOMIC_CAS_16 $yesno
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add for size 1" >&5
13412 $as_echo_n "checking for __atomic_fetch_add for size 1... " >&6; }
13413 if test "${libat_cv_have_at_fadd_1+set}" = set; then :
13414 $as_echo_n "(cached) " >&6
13417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13423 typedef int T __attribute__((mode(QI))); T *x, y;
13424 asm("" : "=g"(x), "=g"(y));
13425 __atomic_fetch_add (x, y, 0);
13426 __atomic_add_fetch (x, y, 0);
13431 if test x
$atomic_builtins_link_tests = xyes
; then
13432 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13433 (eval $ac_link) 2>&5
13435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13436 test $ac_status = 0; }; then
13437 eval libat_cv_have_at_fadd_1
=yes
13439 eval libat_cv_have_at_fadd_1
=no
13442 old_CFLAGS
="$CFLAGS"
13443 # Compile unoptimized.
13445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13446 (eval $ac_compile) 2>&5
13448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13449 test $ac_status = 0; }; then
13450 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13451 eval libat_cv_have_at_fadd_1
=no
13453 eval libat_cv_have_at_fadd_1
=yes
13456 eval libat_cv_have_at_fadd_1
=no
13458 CFLAGS
="$old_CFLAGS"
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fadd_1" >&5
13464 $as_echo "$libat_cv_have_at_fadd_1" >&6; }
13467 yesno
=`echo $libat_cv_have_at_fadd_1 | tr 'yesno' '1 0 '`
13469 cat >>confdefs.h
<<_ACEOF
13470 #define HAVE_ATOMIC_FETCH_ADD_1 $yesno
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add for size 2" >&5
13479 $as_echo_n "checking for __atomic_fetch_add for size 2... " >&6; }
13480 if test "${libat_cv_have_at_fadd_2+set}" = set; then :
13481 $as_echo_n "(cached) " >&6
13484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13490 typedef int T __attribute__((mode(HI))); T *x, y;
13491 asm("" : "=g"(x), "=g"(y));
13492 __atomic_fetch_add (x, y, 0);
13493 __atomic_add_fetch (x, y, 0);
13498 if test x
$atomic_builtins_link_tests = xyes
; then
13499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13500 (eval $ac_link) 2>&5
13502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13503 test $ac_status = 0; }; then
13504 eval libat_cv_have_at_fadd_2
=yes
13506 eval libat_cv_have_at_fadd_2
=no
13509 old_CFLAGS
="$CFLAGS"
13510 # Compile unoptimized.
13512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13513 (eval $ac_compile) 2>&5
13515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13516 test $ac_status = 0; }; then
13517 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13518 eval libat_cv_have_at_fadd_2
=no
13520 eval libat_cv_have_at_fadd_2
=yes
13523 eval libat_cv_have_at_fadd_2
=no
13525 CFLAGS
="$old_CFLAGS"
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fadd_2" >&5
13531 $as_echo "$libat_cv_have_at_fadd_2" >&6; }
13534 yesno
=`echo $libat_cv_have_at_fadd_2 | tr 'yesno' '1 0 '`
13536 cat >>confdefs.h
<<_ACEOF
13537 #define HAVE_ATOMIC_FETCH_ADD_2 $yesno
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add for size 4" >&5
13546 $as_echo_n "checking for __atomic_fetch_add for size 4... " >&6; }
13547 if test "${libat_cv_have_at_fadd_4+set}" = set; then :
13548 $as_echo_n "(cached) " >&6
13551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13557 typedef int T __attribute__((mode(SI))); T *x, y;
13558 asm("" : "=g"(x), "=g"(y));
13559 __atomic_fetch_add (x, y, 0);
13560 __atomic_add_fetch (x, y, 0);
13565 if test x
$atomic_builtins_link_tests = xyes
; then
13566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13567 (eval $ac_link) 2>&5
13569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13570 test $ac_status = 0; }; then
13571 eval libat_cv_have_at_fadd_4
=yes
13573 eval libat_cv_have_at_fadd_4
=no
13576 old_CFLAGS
="$CFLAGS"
13577 # Compile unoptimized.
13579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13580 (eval $ac_compile) 2>&5
13582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13583 test $ac_status = 0; }; then
13584 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13585 eval libat_cv_have_at_fadd_4
=no
13587 eval libat_cv_have_at_fadd_4
=yes
13590 eval libat_cv_have_at_fadd_4
=no
13592 CFLAGS
="$old_CFLAGS"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fadd_4" >&5
13598 $as_echo "$libat_cv_have_at_fadd_4" >&6; }
13601 yesno
=`echo $libat_cv_have_at_fadd_4 | tr 'yesno' '1 0 '`
13603 cat >>confdefs.h
<<_ACEOF
13604 #define HAVE_ATOMIC_FETCH_ADD_4 $yesno
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add for size 8" >&5
13613 $as_echo_n "checking for __atomic_fetch_add for size 8... " >&6; }
13614 if test "${libat_cv_have_at_fadd_8+set}" = set; then :
13615 $as_echo_n "(cached) " >&6
13618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13624 typedef int T __attribute__((mode(DI))); T *x, y;
13625 asm("" : "=g"(x), "=g"(y));
13626 __atomic_fetch_add (x, y, 0);
13627 __atomic_add_fetch (x, y, 0);
13632 if test x
$atomic_builtins_link_tests = xyes
; then
13633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13634 (eval $ac_link) 2>&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13637 test $ac_status = 0; }; then
13638 eval libat_cv_have_at_fadd_8
=yes
13640 eval libat_cv_have_at_fadd_8
=no
13643 old_CFLAGS
="$CFLAGS"
13644 # Compile unoptimized.
13646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13647 (eval $ac_compile) 2>&5
13649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13650 test $ac_status = 0; }; then
13651 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13652 eval libat_cv_have_at_fadd_8
=no
13654 eval libat_cv_have_at_fadd_8
=yes
13657 eval libat_cv_have_at_fadd_8
=no
13659 CFLAGS
="$old_CFLAGS"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fadd_8" >&5
13665 $as_echo "$libat_cv_have_at_fadd_8" >&6; }
13668 yesno
=`echo $libat_cv_have_at_fadd_8 | tr 'yesno' '1 0 '`
13670 cat >>confdefs.h
<<_ACEOF
13671 #define HAVE_ATOMIC_FETCH_ADD_8 $yesno
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add for size 16" >&5
13680 $as_echo_n "checking for __atomic_fetch_add for size 16... " >&6; }
13681 if test "${libat_cv_have_at_fadd_16+set}" = set; then :
13682 $as_echo_n "(cached) " >&6
13685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13691 typedef int T __attribute__((mode(TI))); T *x, y;
13692 asm("" : "=g"(x), "=g"(y));
13693 __atomic_fetch_add (x, y, 0);
13694 __atomic_add_fetch (x, y, 0);
13699 if test x
$atomic_builtins_link_tests = xyes
; then
13700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13701 (eval $ac_link) 2>&5
13703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13704 test $ac_status = 0; }; then
13705 eval libat_cv_have_at_fadd_16
=yes
13707 eval libat_cv_have_at_fadd_16
=no
13710 old_CFLAGS
="$CFLAGS"
13711 # Compile unoptimized.
13713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13714 (eval $ac_compile) 2>&5
13716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13717 test $ac_status = 0; }; then
13718 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13719 eval libat_cv_have_at_fadd_16
=no
13721 eval libat_cv_have_at_fadd_16
=yes
13724 eval libat_cv_have_at_fadd_16
=no
13726 CFLAGS
="$old_CFLAGS"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fadd_16" >&5
13732 $as_echo "$libat_cv_have_at_fadd_16" >&6; }
13735 yesno
=`echo $libat_cv_have_at_fadd_16 | tr 'yesno' '1 0 '`
13737 cat >>confdefs.h
<<_ACEOF
13738 #define HAVE_ATOMIC_FETCH_ADD_16 $yesno
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_op for size 1" >&5
13748 $as_echo_n "checking for __atomic_fetch_op for size 1... " >&6; }
13749 if test "${libat_cv_have_at_fop_1+set}" = set; then :
13750 $as_echo_n "(cached) " >&6
13753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13759 typedef int T __attribute__((mode(QI))); T *x, y;
13760 asm("" : "=g"(x), "=g"(y));
13761 __atomic_fetch_add (x, y, 0); __atomic_add_fetch (x, y, 0);
13762 __atomic_fetch_sub (x, y, 0); __atomic_sub_fetch (x, y, 0);
13763 __atomic_fetch_and (x, y, 0); __atomic_and_fetch (x, y, 0);
13764 __atomic_fetch_nand (x, y, 0); __atomic_nand_fetch (x, y, 0);
13765 __atomic_fetch_xor (x, y, 0); __atomic_xor_fetch (x, y, 0);
13766 __atomic_fetch_or (x, y, 0); __atomic_or_fetch (x, y, 0);
13771 if test x
$atomic_builtins_link_tests = xyes
; then
13772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13773 (eval $ac_link) 2>&5
13775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13776 test $ac_status = 0; }; then
13777 eval libat_cv_have_at_fop_1
=yes
13779 eval libat_cv_have_at_fop_1
=no
13782 old_CFLAGS
="$CFLAGS"
13783 # Compile unoptimized.
13785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13786 (eval $ac_compile) 2>&5
13788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13789 test $ac_status = 0; }; then
13790 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13791 eval libat_cv_have_at_fop_1
=no
13793 eval libat_cv_have_at_fop_1
=yes
13796 eval libat_cv_have_at_fop_1
=no
13798 CFLAGS
="$old_CFLAGS"
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fop_1" >&5
13804 $as_echo "$libat_cv_have_at_fop_1" >&6; }
13807 yesno
=`echo $libat_cv_have_at_fop_1 | tr 'yesno' '1 0 '`
13809 cat >>confdefs.h
<<_ACEOF
13810 #define HAVE_ATOMIC_FETCH_OP_1 $yesno
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_op for size 2" >&5
13819 $as_echo_n "checking for __atomic_fetch_op for size 2... " >&6; }
13820 if test "${libat_cv_have_at_fop_2+set}" = set; then :
13821 $as_echo_n "(cached) " >&6
13824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13830 typedef int T __attribute__((mode(HI))); T *x, y;
13831 asm("" : "=g"(x), "=g"(y));
13832 __atomic_fetch_add (x, y, 0); __atomic_add_fetch (x, y, 0);
13833 __atomic_fetch_sub (x, y, 0); __atomic_sub_fetch (x, y, 0);
13834 __atomic_fetch_and (x, y, 0); __atomic_and_fetch (x, y, 0);
13835 __atomic_fetch_nand (x, y, 0); __atomic_nand_fetch (x, y, 0);
13836 __atomic_fetch_xor (x, y, 0); __atomic_xor_fetch (x, y, 0);
13837 __atomic_fetch_or (x, y, 0); __atomic_or_fetch (x, y, 0);
13842 if test x
$atomic_builtins_link_tests = xyes
; then
13843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13844 (eval $ac_link) 2>&5
13846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13847 test $ac_status = 0; }; then
13848 eval libat_cv_have_at_fop_2
=yes
13850 eval libat_cv_have_at_fop_2
=no
13853 old_CFLAGS
="$CFLAGS"
13854 # Compile unoptimized.
13856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13857 (eval $ac_compile) 2>&5
13859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860 test $ac_status = 0; }; then
13861 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13862 eval libat_cv_have_at_fop_2
=no
13864 eval libat_cv_have_at_fop_2
=yes
13867 eval libat_cv_have_at_fop_2
=no
13869 CFLAGS
="$old_CFLAGS"
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fop_2" >&5
13875 $as_echo "$libat_cv_have_at_fop_2" >&6; }
13878 yesno
=`echo $libat_cv_have_at_fop_2 | tr 'yesno' '1 0 '`
13880 cat >>confdefs.h
<<_ACEOF
13881 #define HAVE_ATOMIC_FETCH_OP_2 $yesno
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_op for size 4" >&5
13890 $as_echo_n "checking for __atomic_fetch_op for size 4... " >&6; }
13891 if test "${libat_cv_have_at_fop_4+set}" = set; then :
13892 $as_echo_n "(cached) " >&6
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13901 typedef int T __attribute__((mode(SI))); T *x, y;
13902 asm("" : "=g"(x), "=g"(y));
13903 __atomic_fetch_add (x, y, 0); __atomic_add_fetch (x, y, 0);
13904 __atomic_fetch_sub (x, y, 0); __atomic_sub_fetch (x, y, 0);
13905 __atomic_fetch_and (x, y, 0); __atomic_and_fetch (x, y, 0);
13906 __atomic_fetch_nand (x, y, 0); __atomic_nand_fetch (x, y, 0);
13907 __atomic_fetch_xor (x, y, 0); __atomic_xor_fetch (x, y, 0);
13908 __atomic_fetch_or (x, y, 0); __atomic_or_fetch (x, y, 0);
13913 if test x
$atomic_builtins_link_tests = xyes
; then
13914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13915 (eval $ac_link) 2>&5
13917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13918 test $ac_status = 0; }; then
13919 eval libat_cv_have_at_fop_4
=yes
13921 eval libat_cv_have_at_fop_4
=no
13924 old_CFLAGS
="$CFLAGS"
13925 # Compile unoptimized.
13927 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13928 (eval $ac_compile) 2>&5
13930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13931 test $ac_status = 0; }; then
13932 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
13933 eval libat_cv_have_at_fop_4
=no
13935 eval libat_cv_have_at_fop_4
=yes
13938 eval libat_cv_have_at_fop_4
=no
13940 CFLAGS
="$old_CFLAGS"
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fop_4" >&5
13946 $as_echo "$libat_cv_have_at_fop_4" >&6; }
13949 yesno
=`echo $libat_cv_have_at_fop_4 | tr 'yesno' '1 0 '`
13951 cat >>confdefs.h
<<_ACEOF
13952 #define HAVE_ATOMIC_FETCH_OP_4 $yesno
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_op for size 8" >&5
13961 $as_echo_n "checking for __atomic_fetch_op for size 8... " >&6; }
13962 if test "${libat_cv_have_at_fop_8+set}" = set; then :
13963 $as_echo_n "(cached) " >&6
13966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13972 typedef int T __attribute__((mode(DI))); T *x, y;
13973 asm("" : "=g"(x), "=g"(y));
13974 __atomic_fetch_add (x, y, 0); __atomic_add_fetch (x, y, 0);
13975 __atomic_fetch_sub (x, y, 0); __atomic_sub_fetch (x, y, 0);
13976 __atomic_fetch_and (x, y, 0); __atomic_and_fetch (x, y, 0);
13977 __atomic_fetch_nand (x, y, 0); __atomic_nand_fetch (x, y, 0);
13978 __atomic_fetch_xor (x, y, 0); __atomic_xor_fetch (x, y, 0);
13979 __atomic_fetch_or (x, y, 0); __atomic_or_fetch (x, y, 0);
13984 if test x
$atomic_builtins_link_tests = xyes
; then
13985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13986 (eval $ac_link) 2>&5
13988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13989 test $ac_status = 0; }; then
13990 eval libat_cv_have_at_fop_8
=yes
13992 eval libat_cv_have_at_fop_8
=no
13995 old_CFLAGS
="$CFLAGS"
13996 # Compile unoptimized.
13998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13999 (eval $ac_compile) 2>&5
14001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14002 test $ac_status = 0; }; then
14003 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
14004 eval libat_cv_have_at_fop_8
=no
14006 eval libat_cv_have_at_fop_8
=yes
14009 eval libat_cv_have_at_fop_8
=no
14011 CFLAGS
="$old_CFLAGS"
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fop_8" >&5
14017 $as_echo "$libat_cv_have_at_fop_8" >&6; }
14020 yesno
=`echo $libat_cv_have_at_fop_8 | tr 'yesno' '1 0 '`
14022 cat >>confdefs.h
<<_ACEOF
14023 #define HAVE_ATOMIC_FETCH_OP_8 $yesno
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_op for size 16" >&5
14032 $as_echo_n "checking for __atomic_fetch_op for size 16... " >&6; }
14033 if test "${libat_cv_have_at_fop_16+set}" = set; then :
14034 $as_echo_n "(cached) " >&6
14037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14043 typedef int T __attribute__((mode(TI))); T *x, y;
14044 asm("" : "=g"(x), "=g"(y));
14045 __atomic_fetch_add (x, y, 0); __atomic_add_fetch (x, y, 0);
14046 __atomic_fetch_sub (x, y, 0); __atomic_sub_fetch (x, y, 0);
14047 __atomic_fetch_and (x, y, 0); __atomic_and_fetch (x, y, 0);
14048 __atomic_fetch_nand (x, y, 0); __atomic_nand_fetch (x, y, 0);
14049 __atomic_fetch_xor (x, y, 0); __atomic_xor_fetch (x, y, 0);
14050 __atomic_fetch_or (x, y, 0); __atomic_or_fetch (x, y, 0);
14055 if test x
$atomic_builtins_link_tests = xyes
; then
14056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14057 (eval $ac_link) 2>&5
14059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14060 test $ac_status = 0; }; then
14061 eval libat_cv_have_at_fop_16
=yes
14063 eval libat_cv_have_at_fop_16
=no
14066 old_CFLAGS
="$CFLAGS"
14067 # Compile unoptimized.
14069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14070 (eval $ac_compile) 2>&5
14072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14073 test $ac_status = 0; }; then
14074 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
14075 eval libat_cv_have_at_fop_16
=no
14077 eval libat_cv_have_at_fop_16
=yes
14080 eval libat_cv_have_at_fop_16
=no
14082 CFLAGS
="$old_CFLAGS"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_at_fop_16" >&5
14088 $as_echo "$libat_cv_have_at_fop_16" >&6; }
14091 yesno
=`echo $libat_cv_have_at_fop_16 | tr 'yesno' '1 0 '`
14093 cat >>confdefs.h
<<_ACEOF
14094 #define HAVE_ATOMIC_FETCH_OP_16 $yesno
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14103 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14104 if test "${ac_cv_c_bigendian+set}" = set; then :
14105 $as_echo_n "(cached) " >&6
14107 ac_cv_c_bigendian
=unknown
14108 # See if we're dealing with a universal compiler.
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 #ifndef __APPLE_CC__
14112 not a universal capable compiler
14117 if ac_fn_c_try_compile
"$LINENO"; then :
14119 # Check for potential -arch flags. It is not universal unless
14120 # there are at least two -arch flags with different values.
14123 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14124 if test -n "$ac_prev"; then
14126 i?
86 | x86_64 | ppc | ppc64
)
14127 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14130 ac_cv_c_bigendian
=universal
14136 elif test "x$ac_word" = "x-arch"; then
14141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14142 if test $ac_cv_c_bigendian = unknown
; then
14143 # See if sys/param.h defines the BYTE_ORDER macro.
14144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14146 #include <sys/types.h>
14147 #include <sys/param.h>
14152 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14153 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14155 bogus endian macros
14162 if ac_fn_c_try_compile
"$LINENO"; then :
14163 # It does; now see whether it defined to BIG_ENDIAN or not.
14164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14166 #include <sys/types.h>
14167 #include <sys/param.h>
14172 #if BYTE_ORDER != BIG_ENDIAN
14180 if ac_fn_c_try_compile
"$LINENO"; then :
14181 ac_cv_c_bigendian
=yes
14183 ac_cv_c_bigendian
=no
14185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14189 if test $ac_cv_c_bigendian = unknown
; then
14190 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14193 #include <limits.h>
14198 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14199 bogus endian macros
14206 if ac_fn_c_try_compile
"$LINENO"; then :
14207 # It does; now see whether it defined to _BIG_ENDIAN or not.
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 #include <limits.h>
14215 #ifndef _BIG_ENDIAN
14223 if ac_fn_c_try_compile
"$LINENO"; then :
14224 ac_cv_c_bigendian
=yes
14226 ac_cv_c_bigendian
=no
14228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14232 if test $ac_cv_c_bigendian = unknown
; then
14233 # Compile a test program.
14234 if test "$cross_compiling" = yes; then :
14235 # Try to guess by grepping values from an object file.
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14238 short int ascii_mm[] =
14239 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14240 short int ascii_ii[] =
14241 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14242 int use_ascii (int i) {
14243 return ascii_mm[i] + ascii_ii[i];
14245 short int ebcdic_ii[] =
14246 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14247 short int ebcdic_mm[] =
14248 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14249 int use_ebcdic (int i) {
14250 return ebcdic_mm[i] + ebcdic_ii[i];
14257 return use_ascii (foo) == use_ebcdic (foo);
14262 if ac_fn_c_try_compile
"$LINENO"; then :
14263 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14264 ac_cv_c_bigendian
=yes
14266 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14267 if test "$ac_cv_c_bigendian" = unknown
; then
14268 ac_cv_c_bigendian
=no
14270 # finding both strings is unlikely to happen, but who knows?
14271 ac_cv_c_bigendian
=unknown
14275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 $ac_includes_default
14284 /* Are we little or big endian? From Harbison&Steele. */
14288 char c[sizeof (long int)];
14291 return u.c[sizeof (long int) - 1] == 1;
14297 if ac_fn_c_try_run
"$LINENO"; then :
14298 ac_cv_c_bigendian
=no
14300 ac_cv_c_bigendian
=yes
14302 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14303 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14309 $as_echo "$ac_cv_c_bigendian" >&6; }
14310 case $ac_cv_c_bigendian in #(
14312 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14318 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14322 as_fn_error
"unknown endianness
14323 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14326 # I don't like the default behaviour of WORDS_BIGENDIAN undefined for LE.
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the word size" >&5
14331 $as_echo_n "checking for the word size... " >&6; }
14332 if test "${libat_cv_wordsize+set}" = set; then :
14333 $as_echo_n "(cached) " >&6
14335 if ac_fn_c_compute_int
"$LINENO" "sizeof(word)" "libat_cv_wordsize" "typedef int word __attribute__((mode(word)));"; then :
14338 as_fn_error
"Could not determine word size." "$LINENO" 5
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_wordsize" >&5
14343 $as_echo "$libat_cv_wordsize" >&6; }
14345 cat >>confdefs.h
<<_ACEOF
14346 #define WORDSIZE $libat_cv_wordsize
14351 # Check to see if -pthread or -lpthread is needed. Prefer the former.
14352 # In case the pthread.h system header is not found, this test will fail.
14353 case " $config_path " in
14356 CFLAGS
="$CFLAGS -pthread"
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 #include <pthread.h>
14360 void *g(void *d) { return NULL; }
14364 pthread_t t; pthread_create(&t,NULL,g,NULL);
14369 if ac_fn_c_try_link
"$LINENO"; then :
14370 XPCFLAGS
=" -pthread"
14372 CFLAGS
="$save_CFLAGS $XCFLAGS" LIBS
="-lpthread $LIBS"
14373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 #include <pthread.h>
14376 void *g(void *d) { return NULL; }
14380 pthread_t t; pthread_create(&t,NULL,g,NULL);
14385 if ac_fn_c_try_link
"$LINENO"; then :
14388 as_fn_error
"Pthreads are required to build libatomic" "$LINENO" 5
14390 rm -f core conftest.err conftest.
$ac_objext \
14391 conftest
$ac_exeext conftest.
$ac_ext
14393 rm -f core conftest.err conftest.
$ac_objext \
14394 conftest
$ac_exeext conftest.
$ac_ext
14395 CFLAGS
="$save_CFLAGS $XCFLAGS"
14399 # See what sort of export controls are available.
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
14402 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
14403 if test "${libat_cv_have_attribute_visibility+set}" = set; then :
14404 $as_echo_n "(cached) " >&6
14407 save_CFLAGS
="$CFLAGS"
14408 CFLAGS
="$CFLAGS -Werror"
14409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 void __attribute__((visibility("hidden"))) foo(void) { }
14420 if ac_fn_c_try_compile
"$LINENO"; then :
14421 libat_cv_have_attribute_visibility
=yes
14423 libat_cv_have_attribute_visibility
=no
14425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14426 CFLAGS
="$save_CFLAGS"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_attribute_visibility" >&5
14429 $as_echo "$libat_cv_have_attribute_visibility" >&6; }
14430 if test $libat_cv_have_attribute_visibility = yes; then
14432 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
14437 $as_echo_n "checking whether the target supports dllexport... " >&6; }
14438 if test "${libat_cv_have_attribute_dllexport+set}" = set; then :
14439 $as_echo_n "(cached) " >&6
14442 save_CFLAGS
="$CFLAGS"
14443 CFLAGS
="$CFLAGS -Werror"
14444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14446 void __attribute__((dllexport)) foo(void) { }
14455 if ac_fn_c_try_compile
"$LINENO"; then :
14456 libat_cv_have_attribute_dllexport
=yes
14458 libat_cv_have_attribute_dllexport
=no
14460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14461 CFLAGS
="$save_CFLAGS"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_attribute_dllexport" >&5
14464 $as_echo "$libat_cv_have_attribute_dllexport" >&6; }
14465 if test $libat_cv_have_attribute_dllexport = yes; then
14467 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
14472 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
14473 if test "${libat_cv_have_attribute_alias+set}" = set; then :
14474 $as_echo_n "(cached) " >&6
14477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14481 extern void bar(void) __attribute__((alias("foo")));
14490 if ac_fn_c_try_link
"$LINENO"; then :
14491 libat_cv_have_attribute_alias
=yes
14493 libat_cv_have_attribute_alias
=no
14495 rm -f core conftest.err conftest.
$ac_objext \
14496 conftest
$ac_exeext conftest.
$ac_ext
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_attribute_alias" >&5
14499 $as_echo "$libat_cv_have_attribute_alias" >&6; }
14500 if test $libat_cv_have_attribute_alias = yes; then
14502 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
14505 if test x
$try_ifunc = xyes
; then
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports funcs" >&5
14508 $as_echo_n "checking whether the target supports funcs... " >&6; }
14509 if test "${libat_cv_have_ifunc+set}" = set; then :
14510 $as_echo_n "(cached) " >&6
14513 save_CFLAGS
="$CFLAGS"
14514 CFLAGS
="$CFLAGS -Werror"
14515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14518 int foo_alt(void) { return 0; }
14519 void *foo_sel(void) { return foo_alt; }
14520 int foo(void) __attribute__((ifunc("foo_sel")));
14529 if ac_fn_c_try_link
"$LINENO"; then :
14530 libat_cv_have_ifunc
=yes
14532 libat_cv_have_ifunc
=no
14534 rm -f core conftest.err conftest.
$ac_objext \
14535 conftest
$ac_exeext conftest.
$ac_ext
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_cv_have_ifunc" >&5
14538 $as_echo "$libat_cv_have_ifunc" >&6; }
14540 yesno
=`echo $libat_cv_have_ifunc | tr 'yesno' '1 0 '`
14542 cat >>confdefs.h
<<_ACEOF
14543 #define HAVE_IFUNC $yesno
14550 # Check linker support.
14553 # Check whether --with-gnu-ld was given.
14554 if test "${with_gnu_ld+set}" = set; then :
14555 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
14561 if test "$GCC" = yes; then
14562 # Check if gcc -print-prog-name=ld gives a path.
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14564 $as_echo_n "checking for ld used by $CC... " >&6; }
14567 # gcc leaves a trailing carriage return which upsets mingw
14568 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14570 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14573 # Accept absolute paths.
14575 re_direlt
='/[^/][^/]*/\.\./'
14576 # Canonicalize the pathname of ld
14577 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14578 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
14579 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14581 test -z "$LD" && LD
="$ac_prog"
14584 # If it fails, then pretend we aren't using GCC.
14588 # If it is relative, then search for the first ld in PATH.
14589 with_gnu_ld
=unknown
14592 elif test "$with_gnu_ld" = yes; then
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14594 $as_echo_n "checking for GNU ld... " >&6; }
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14597 $as_echo_n "checking for non-GNU ld... " >&6; }
14599 if test "${lt_cv_path_LD+set}" = set; then :
14600 $as_echo_n "(cached) " >&6
14602 if test -z "$LD"; then
14603 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
14604 for ac_dir
in $PATH; do
14606 test -z "$ac_dir" && ac_dir
=.
14607 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14608 lt_cv_path_LD
="$ac_dir/$ac_prog"
14609 # Check to see if the program is GNU ld. I'd rather use --version,
14610 # but apparently some variants of GNU ld only accept -v.
14611 # Break only if it was the GNU/non-GNU ld that we prefer.
14612 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14613 *GNU
* |
*'with BFD'*)
14614 test "$with_gnu_ld" != no
&& break
14617 test "$with_gnu_ld" != yes && break
14624 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14628 LD
="$lt_cv_path_LD"
14629 if test -n "$LD"; then
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14631 $as_echo "$LD" >&6; }
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14634 $as_echo "no" >&6; }
14636 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14638 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14639 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14640 $as_echo_n "(cached) " >&6
14642 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14643 case `$LD -v 2>&1 </dev/null` in
14644 *GNU
* |
*'with BFD'*)
14645 lt_cv_prog_gnu_ld
=yes
14648 lt_cv_prog_gnu_ld
=no
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14653 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14654 with_gnu_ld
=$lt_cv_prog_gnu_ld
14662 # If we're not using GNU ld, then there's no point in even trying these
14663 # tests. Check for that first. We should have already tested for gld
14664 # by now (in libtool), but require it now just to be safe...
14665 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
14666 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
14670 # The name set by libtool depends on the version of libtool. Shame on us
14671 # for depending on an impl detail, but c'est la vie. Older versions used
14672 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
14673 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
14674 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
14675 # set (hence we're using an older libtool), then set it.
14676 if test x
${with_gnu_ld+set} != xset
; then
14677 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
14678 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
14681 with_gnu_ld
=$ac_cv_prog_gnu_ld
14685 # Start by getting the version number. I think the libtool test already
14686 # does some of this, but throws away the result.
14687 libat_ld_is_gold
=no
14688 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
14689 libat_ld_is_gold
=yes
14692 ldver
=`$LD --version 2>/dev/null |
14693 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'`
14695 libat_gnu_ld_version
=`echo $ldver | \
14696 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
14698 # Set --gc-sections.
14699 if test "$with_gnu_ld" = "notbroken"; then
14700 # GNU ld it is! Joy and bunny rabbits!
14702 # All these tests are for C++; save the language and the compiler flags.
14703 # Need to do this so that g++ won't try to link in libstdc++
14704 ac_test_CFLAGS
="${CFLAGS+set}"
14705 ac_save_CFLAGS
="$CFLAGS"
14706 CFLAGS
='-x c++ -Wl,--gc-sections'
14708 # Check for -Wl,--gc-sections
14709 # XXX This test is broken at the moment, as symbols required for linking
14710 # are now in libsupc++ (not built yet). In addition, this test has
14711 # cored on solaris in the past. In addition, --gc-sections doesn't
14712 # really work at the moment (keeps on discarding used sections, first
14713 # .eh_frame and now some of the glibc sections for iconv).
14714 # Bzzzzt. Thanks for playing, maybe next time.
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
14716 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
14717 if test "$cross_compiling" = yes; then :
14718 ac_sectionLDflags
=yes
14720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14731 if ac_fn_c_try_run
"$LINENO"; then :
14732 ac_sectionLDflags
=yes
14734 ac_sectionLDflags
=no
14736 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14737 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14740 if test "$ac_test_CFLAGS" = set; then
14741 CFLAGS
="$ac_save_CFLAGS"
14743 # this is the suspicious part
14746 if test "$ac_sectionLDflags" = "yes"; then
14747 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
14750 $as_echo "$ac_sectionLDflags" >&6; }
14753 # Set linker optimization flags.
14754 if test x
"$with_gnu_ld" = x
"yes"; then
14755 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
14763 # Check whether --enable-symvers was given.
14764 if test "${enable_symvers+set}" = set; then :
14765 enableval
=$enable_symvers;
14766 case "$enableval" in
14767 yes|no|gnu
*|sun
) ;;
14768 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
14777 # If we never went through the LIBAT_CHECK_LINKER_FEATURES macro, then we
14778 # don't know enough about $LD to do tricks...
14781 # Turn a 'yes' into a suitable default.
14782 if test x
$enable_symvers = xyes
; then
14783 # FIXME The following test is too strict, in theory.
14784 if test $enable_shared = no ||
test "x$LD" = x
; then
14787 if test $with_gnu_ld = yes ; then
14790 case ${target_os} in
14791 # Sun symbol versioning exists since Solaris 2.5.
14792 solaris2.
[5-9]* | solaris2.1
[0-9]*)
14793 enable_symvers
=sun
;;
14795 enable_symvers
=no
;;
14801 # Check if 'sun' was requested on non-Solaris 2 platforms.
14802 if test x
$enable_symvers = xsun
; then
14803 case ${target_os} in
14808 # Unlikely to work.
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
14810 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
14812 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
14814 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
14820 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
14821 if test $enable_symvers != no
; then
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
14823 $as_echo_n "checking for shared libgcc... " >&6; }
14824 ac_save_CFLAGS
="$CFLAGS"
14826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14837 if ac_fn_c_try_link
"$LINENO"; then :
14838 libat_shared_libgcc
=yes
14840 libat_shared_libgcc
=no
14842 rm -f core conftest.err conftest.
$ac_objext \
14843 conftest
$ac_exeext conftest.
$ac_ext
14844 CFLAGS
="$ac_save_CFLAGS"
14845 if test $libat_shared_libgcc = no
; then
14846 cat > conftest.c
<<EOF
14847 int main (void) { return 0; }
14849 libat_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
14850 -shared -shared-libgcc -o conftest.so \
14851 conftest.c -v 2>&1 >/dev/null \
14852 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
14853 rm -f conftest.c conftest.so
14854 if test x
${libat_libgcc_s_suffix+set} = xset
; then
14855 CFLAGS
=" -lgcc_s$libat_libgcc_s_suffix"
14856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14867 if ac_fn_c_try_link
"$LINENO"; then :
14868 libat_shared_libgcc
=yes
14870 rm -f core conftest.err conftest.
$ac_objext \
14871 conftest
$ac_exeext conftest.
$ac_ext
14872 CFLAGS
="$ac_save_CFLAGS"
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libat_shared_libgcc" >&5
14876 $as_echo "$libat_shared_libgcc" >&6; }
14879 # For GNU ld, we need at least this version. The format is described in
14880 # LIBAT_CHECK_LINKER_FEATURES above.
14881 libat_min_gnu_ld_version
=21400
14882 # XXXXXXXXXXX libat_gnu_ld_version=21390
14884 # Check to see if unspecified "yes" value can win, given results above.
14885 # Change "yes" into either "no" or a style name.
14886 if test $enable_symvers != no
&& test $libat_shared_libgcc = yes; then
14887 if test $with_gnu_ld = yes; then
14888 if test $libat_gnu_ld_version -ge $libat_min_gnu_ld_version ; then
14890 elif test $libat_ld_is_gold = yes ; then
14893 # The right tools, the right setup, but too old. Fallbacks?
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libat_gnu_ld_version is too old for" >&5
14895 $as_echo "$as_me: WARNING: === Linker version $libat_gnu_ld_version is too old for" >&2;}
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
14897 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
14899 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libat_min_gnu_ld_version or later and rebuild GCC." >&5
14901 $as_echo "$as_me: WARNING: === $libat_min_gnu_ld_version or later and rebuild GCC." >&2;}
14902 if test $libat_gnu_ld_version -ge 21200 ; then
14903 # Globbing fix is present, proper block support is not.
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
14905 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
14910 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
14914 elif test $enable_symvers = sun
; then
14915 : All interesting versions of Sun ld support sun style symbol versioning.
14917 # just fail for now
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
14919 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
14921 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
14923 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
14925 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
14929 if test $enable_symvers = gnu
; then
14931 $as_echo "#define LIBAT_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
14935 if test $enable_symvers != no
; then
14936 LIBAT_BUILD_VERSIONED_SHLIB_TRUE
=
14937 LIBAT_BUILD_VERSIONED_SHLIB_FALSE
='#'
14939 LIBAT_BUILD_VERSIONED_SHLIB_TRUE
='#'
14940 LIBAT_BUILD_VERSIONED_SHLIB_FALSE
=
14943 if test $enable_symvers = gnu
; then
14944 LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
14945 LIBAT_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
14947 LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
14948 LIBAT_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
14951 if test $enable_symvers = sun
; then
14952 LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
14953 LIBAT_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
14955 LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
14956 LIBAT_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
14960 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
14963 # Cleanup and exit.
14964 CFLAGS
="$save_CFLAGS"
14965 cat >confcache
<<\_ACEOF
14966 # This file is a shell script that caches the results of configure
14967 # tests run on this system so they can be shared between configure
14968 # scripts and configure runs, see configure's option --config-cache.
14969 # It is not useful on other systems. If it contains results you don't
14970 # want to keep, you may remove or edit it.
14972 # config.status only pays attention to the cache file if you give it
14973 # the --recheck option to rerun configure.
14975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14977 # following values.
14981 # The following way of writing the cache mishandles newlines in values,
14982 # but we know of no workaround that is simple, portable, and efficient.
14983 # So, we kill variables containing newlines.
14984 # Ultrix sh set writes to stderr and can't be redirected directly,
14985 # and sets the high bit in the cache file unless we assign to the vars.
14987 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14988 eval ac_val
=\$
$ac_var
14992 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14996 _ | IFS | as_nl
) ;; #(
14997 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14998 *) { eval $ac_var=; unset $ac_var;} ;;
15004 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15005 *${as_nl}ac_space
=\
*)
15006 # `set' does not quote correctly, so add quotes: double-quote
15007 # substitution turns \\\\ into \\, and sed turns \\ into \.
15010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15013 # `set' quotes correctly as required by POSIX, so do not add quotes.
15014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15027 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15028 if test -w "$cache_file"; then
15029 test "x$cache_file" != "x/dev/null" &&
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15031 $as_echo "$as_me: updating cache $cache_file" >&6;}
15032 cat confcache
>$cache_file
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15035 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15040 # Add -Wall -Werror if we are using GCC.
15041 if test "x$GCC" = "xyes"; then
15042 XCFLAGS
="$XCFLAGS -Wall -Werror"
15045 XCFLAGS
="$XCFLAGS $XPCFLAGS"
15053 if test x
$libat_cv_have_ifunc = xyes
; then
15055 HAVE_IFUNC_FALSE
='#'
15057 HAVE_IFUNC_TRUE
='#'
15061 if expr "$config_path" : ".* linux/arm .*" > /dev
/null
; then
15062 ARCH_ARM_LINUX_TRUE
=
15063 ARCH_ARM_LINUX_FALSE
='#'
15065 ARCH_ARM_LINUX_TRUE
='#'
15066 ARCH_ARM_LINUX_FALSE
=
15069 if test "$ARCH" = x86
&& test x
$libat_cv_wordsize = x4
; then
15071 ARCH_I386_FALSE
='#'
15077 if test "$ARCH" = x86
&& test x
$libat_cv_wordsize = x8
; then
15079 ARCH_X86_64_FALSE
='#'
15081 ARCH_X86_64_TRUE
='#'
15086 if test ${multilib} = yes; then
15087 multilib_arg
="--enable-multilib"
15092 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15094 cat >confcache
<<\_ACEOF
15095 # This file is a shell script that caches the results of configure
15096 # tests run on this system so they can be shared between configure
15097 # scripts and configure runs, see configure's option --config-cache.
15098 # It is not useful on other systems. If it contains results you don't
15099 # want to keep, you may remove or edit it.
15101 # config.status only pays attention to the cache file if you give it
15102 # the --recheck option to rerun configure.
15104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15106 # following values.
15110 # The following way of writing the cache mishandles newlines in values,
15111 # but we know of no workaround that is simple, portable, and efficient.
15112 # So, we kill variables containing newlines.
15113 # Ultrix sh set writes to stderr and can't be redirected directly,
15114 # and sets the high bit in the cache file unless we assign to the vars.
15116 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15117 eval ac_val
=\$
$ac_var
15121 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15122 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15125 _ | IFS | as_nl
) ;; #(
15126 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15127 *) { eval $ac_var=; unset $ac_var;} ;;
15133 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15134 *${as_nl}ac_space
=\
*)
15135 # `set' does not quote correctly, so add quotes: double-quote
15136 # substitution turns \\\\ into \\, and sed turns \\ into \.
15139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15142 # `set' quotes correctly as required by POSIX, so do not add quotes.
15143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15152 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15154 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15156 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15157 if test -w "$cache_file"; then
15158 test "x$cache_file" != "x/dev/null" &&
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15160 $as_echo "$as_me: updating cache $cache_file" >&6;}
15161 cat confcache
>$cache_file
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15164 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15169 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15170 # Let make expand exec_prefix.
15171 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15173 DEFS
=-DHAVE_CONFIG_H
15177 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15178 # 1. Remove the extension, and $U if already installed.
15179 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15180 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15181 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15182 # will be set to the directory where LIBOBJS objects are built.
15183 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15184 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15186 LIBOBJS
=$ac_libobjs
15188 LTLIBOBJS
=$ac_ltlibobjs
15191 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
15192 as_fn_error
"conditional \"GENINSRC\" was never defined.
15193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15195 if test -n "$EXEEXT"; then
15197 am__EXEEXT_FALSE
='#'
15199 am__EXEEXT_TRUE
='#'
15203 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15204 as_fn_error
"conditional \"AMDEP\" was never defined.
15205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15207 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15208 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15211 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
15212 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
15213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15216 if test -z "${LIBAT_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBAT_BUILD_VERSIONED_SHLIB_FALSE}"; then
15217 as_fn_error
"conditional \"LIBAT_BUILD_VERSIONED_SHLIB\" was never defined.
15218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15220 if test -z "${LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBAT_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
15221 as_fn_error
"conditional \"LIBAT_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
15222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15224 if test -z "${LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBAT_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
15225 as_fn_error
"conditional \"LIBAT_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
15226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15228 if test -z "${HAVE_IFUNC_TRUE}" && test -z "${HAVE_IFUNC_FALSE}"; then
15229 as_fn_error
"conditional \"HAVE_IFUNC\" was never defined.
15230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15232 if test -z "${ARCH_ARM_LINUX_TRUE}" && test -z "${ARCH_ARM_LINUX_FALSE}"; then
15233 as_fn_error
"conditional \"ARCH_ARM_LINUX\" was never defined.
15234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15236 if test -z "${ARCH_I386_TRUE}" && test -z "${ARCH_I386_FALSE}"; then
15237 as_fn_error
"conditional \"ARCH_I386\" was never defined.
15238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15240 if test -z "${ARCH_X86_64_TRUE}" && test -z "${ARCH_X86_64_FALSE}"; then
15241 as_fn_error
"conditional \"ARCH_X86_64\" was never defined.
15242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15245 : ${CONFIG_STATUS=./config.status}
15247 ac_clean_files_save
=$ac_clean_files
15248 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15250 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15252 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15254 # Generated by $as_me.
15255 # Run this file to recreate the current configuration.
15256 # Compiler output produced by configure, useful for debugging
15257 # configure, is in config.log if it exists.
15260 ac_cs_recheck=false
15263 SHELL=\${CONFIG_SHELL-$SHELL}
15266 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15267 ## -------------------- ##
15268 ## M4sh Initialization. ##
15269 ## -------------------- ##
15271 # Be more Bourne compatible
15272 DUALCASE
=1; export DUALCASE
# for MKS sh
15273 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15276 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15277 # is contrary to our usage. Disable this feature.
15278 alias -g '${1+"$@"}'='"$@"'
15279 setopt NO_GLOB_SUBST
15281 case `(set -o) 2>/dev/null` in #(
15293 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15294 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15297 # Prefer a ksh shell builtin over an external printf program on Solaris,
15298 # but without wasting forks for bash or zsh.
15299 if test -z "$BASH_VERSION$ZSH_VERSION" \
15300 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15301 as_echo='print
-r --'
15302 as_echo_n='print
-rn --'
15303 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15304 as_echo='printf %s
\n'
15305 as_echo_n='printf %s
'
15307 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15308 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15309 as_echo_n='/usr
/ucb
/echo -n'
15311 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15312 as_echo_n_body='eval
15316 expr "X$arg" : "X\\(.*\\)$as_nl";
15317 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15319 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15321 export as_echo_n_body
15322 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15324 export as_echo_body
15325 as_echo='sh
-c $as_echo_body as_echo
'
15328 # The user is always right.
15329 if test "${PATH_SEPARATOR+set}" != set; then
15331 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15332 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15339 # We need space, tab and new line, in precisely that order. Quoting is
15340 # there to prevent editors from complaining about space-tab.
15341 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15342 # splitting by setting IFS to empty value.)
15345 # Find who we are. Look in the path if we contain no directory separator.
15347 *[\\/]* ) as_myself=$0 ;;
15348 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15349 for as_dir in $PATH
15352 test -z "$as_dir" && as_dir=.
15353 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15359 # We did not find ourselves, most probably we were run as `sh COMMAND'
15360 # in which case we are not to be found in the path.
15361 if test "x$as_myself" = x
; then
15364 if test ! -f "$as_myself"; then
15365 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15369 # Unset variables that we do not need and which cause bugs (e.g. in
15370 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15371 # suppresses any "Segmentation fault" message there. '((' could
15372 # trigger a bug in pdksh 5.2.14.
15373 for as_var
in BASH_ENV ENV MAIL MAILPATH
15374 do eval test x\
${$as_var+set} = xset \
15375 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15388 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15391 # as_fn_error ERROR [LINENO LOG_FD]
15392 # ---------------------------------
15393 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15394 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15395 # script with status $?, using 1 if that was 0.
15398 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15400 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15401 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15403 $as_echo "$as_me: error: $1" >&2
15404 as_fn_exit
$as_status
15408 # as_fn_set_status STATUS
15409 # -----------------------
15410 # Set $? to STATUS, without forking.
15411 as_fn_set_status
()
15414 } # as_fn_set_status
15416 # as_fn_exit STATUS
15417 # -----------------
15418 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15422 as_fn_set_status
$1
15428 # Portably unset VAR.
15431 { eval $1=; unset $1;}
15433 as_unset
=as_fn_unset
15434 # as_fn_append VAR VALUE
15435 # ----------------------
15436 # Append the text in VALUE to the end of the definition contained in VAR. Take
15437 # advantage of any shell optimizations that allow amortized linear growth over
15438 # repeated appends, instead of the typical quadratic growth present in naive
15440 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15441 eval 'as_fn_append ()
15452 # as_fn_arith ARG...
15453 # ------------------
15454 # Perform arithmetic evaluation on the ARGs, and store the result in the
15455 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15456 # must be portable across $(()) and expr.
15457 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15458 eval 'as_fn_arith ()
15465 as_val
=`expr "$@" || test $? -eq 1`
15470 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15471 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15477 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15478 as_basename
=basename
15483 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15489 as_me
=`$as_basename -- "$0" ||
15490 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15491 X"$0" : 'X\(//\)$' \| \
15492 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15494 sed '/^.*\/\([^/][^/]*\)\/*$/{
15508 # Avoid depending upon Character Ranges.
15509 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15510 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15511 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15512 as_cr_digits
='0123456789'
15513 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15515 ECHO_C
= ECHO_N
= ECHO_T
=
15516 case `echo -n x` in #(((((
15518 case `echo 'xy\c'` in
15519 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15521 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15528 rm -f conf$$ conf$$.exe conf$$.
file
15529 if test -d conf$$.dir
; then
15530 rm -f conf$$.dir
/conf$$.
file
15533 mkdir conf$$.dir
2>/dev
/null
15535 if (echo >conf$$.
file) 2>/dev
/null
; then
15536 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15538 # ... but there are two gotchas:
15539 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15540 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15541 # In both cases, we have to default to `cp -p'.
15542 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15544 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15552 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15553 rmdir conf$$.dir
2>/dev
/null
15558 # Create "$as_dir" as a directory, including parents if necessary.
15563 -*) as_dir
=.
/$as_dir;;
15565 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15569 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15570 *) as_qdir
=$as_dir;;
15572 as_dirs
="'$as_qdir' $as_dirs"
15573 as_dir
=`$as_dirname -- "$as_dir" ||
15574 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15575 X"$as_dir" : 'X\(//\)[^/]' \| \
15576 X"$as_dir" : 'X\(//\)$' \| \
15577 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15578 $as_echo X"$as_dir" |
15579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15583 /^X\(\/\/\)[^/].*/{
15596 test -d "$as_dir" && break
15598 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15599 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15603 if mkdir
-p .
2>/dev
/null
; then
15604 as_mkdir_p
='mkdir -p "$as_dir"'
15606 test -d .
/-p && rmdir .
/-p
15610 if test -x / >/dev
/null
2>&1; then
15611 as_test_x
='test -x'
15613 if ls -dL / >/dev
/null
2>&1; then
15620 if test -d "$1"; then
15626 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15627 ???[sx]*):;;*)false;;esac;fi
15631 as_executable_p
=$as_test_x
15633 # Sed expression to map a string onto a valid CPP name.
15634 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15636 # Sed expression to map a string onto a valid variable name.
15637 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15641 ## ----------------------------------- ##
15642 ## Main body of $CONFIG_STATUS script. ##
15643 ## ----------------------------------- ##
15645 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15648 # Save the log message, to keep $0 and so on meaningful, and to
15649 # report actual input values of CONFIG_FILES etc. instead of their
15650 # values after options handling.
15652 This file was extended by GNU Atomic Library $as_me 1.0, which was
15653 generated by GNU Autoconf 2.64. Invocation command line was
15655 CONFIG_FILES = $CONFIG_FILES
15656 CONFIG_HEADERS = $CONFIG_HEADERS
15657 CONFIG_LINKS = $CONFIG_LINKS
15658 CONFIG_COMMANDS = $CONFIG_COMMANDS
15661 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15666 case $ac_config_files in *"
15667 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15670 case $ac_config_headers in *"
15671 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15676 # Files that config.status was made for.
15677 config_files="$ac_config_files"
15678 config_headers="$ac_config_headers"
15679 config_commands="$ac_config_commands"
15683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15685 \`$as_me' instantiates files and other configuration actions
15686 from templates according to the current configuration. Unless the files
15687 and actions are specified as TAGs, all are instantiated by default.
15689 Usage: $0 [OPTION]... [TAG]...
15691 -h, --help print this help, then exit
15692 -V, --version print version number and configuration settings, then exit
15693 -q, --quiet, --silent
15694 do not print progress messages
15695 -d, --debug don't remove temporary files
15696 --recheck update $as_me by reconfiguring in the same conditions
15697 --file=FILE[:TEMPLATE]
15698 instantiate the configuration file FILE
15699 --header=FILE[:TEMPLATE]
15700 instantiate the configuration header FILE
15702 Configuration files:
15705 Configuration headers:
15708 Configuration commands:
15711 Report bugs to the package provider.
15712 GNU Atomic Library home page: <http://www.gnu.org/software/libatomic/>.
15713 General help using GNU software: <http://www.gnu.org/gethelp/>."
15716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15718 GNU Atomic Library config.status 1.0
15719 configured by $0, generated by GNU Autoconf 2.64,
15720 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15722 Copyright (C) 2009 Free Software Foundation, Inc.
15723 This config.status script is free software; the Free Software Foundation
15724 gives unlimited permission to copy, distribute and modify it."
15731 test -n "\$AWK" || AWK=awk
15734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15735 # The default lists apply if the user does not specify any file.
15741 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15742 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15753 # Handling of the options.
15754 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15756 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15757 $as_echo "$ac_cs_version"; exit ;;
15758 --debug |
--debu |
--deb |
--de |
--d |
-d )
15760 --file |
--fil |
--fi |
--f )
15763 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15765 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15766 ac_need_defaults
=false
;;
15767 --header |
--heade |
--head |
--hea )
15770 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15772 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15773 ac_need_defaults
=false
;;
15775 # Conflict between --help and --header
15776 as_fn_error
"ambiguous option: \`$1'
15777 Try \`$0 --help' for more information.";;
15778 --help |
--hel |
-h )
15779 $as_echo "$ac_cs_usage"; exit ;;
15780 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15781 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15784 # This is an error.
15785 -*) as_fn_error
"unrecognized option: \`$1'
15786 Try \`$0 --help' for more information." ;;
15788 *) as_fn_append ac_config_targets
" $1"
15789 ac_need_defaults
=false
;;
15795 ac_configure_extra_args
=
15797 if $ac_cs_silent; then
15799 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15804 if \$ac_cs_recheck; then
15805 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15807 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15808 CONFIG_SHELL='$SHELL'
15809 export CONFIG_SHELL
15814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15818 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15819 ## Running $as_me. ##
15825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15833 with_multisubdir="$with_multisubdir"
15834 with_multisrctop="$with_multisrctop"
15835 with_target_subdir="$with_target_subdir"
15836 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15837 multi_basedir="$multi_basedir"
15838 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15841 GFORTRAN="$GFORTRAN"
15843 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15846 # The HP-UX ksh and POSIX shell print the target directory to stdout
15847 # if CDPATH is set.
15848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15850 sed_quote_subst='$sed_quote_subst'
15851 double_quote_subst='$double_quote_subst'
15852 delay_variable_subst='$delay_variable_subst'
15853 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15854 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15855 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15856 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15857 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15858 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15859 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15860 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15861 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15862 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15863 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15864 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15865 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15866 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15867 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15868 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15869 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15870 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15871 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15872 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15873 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15874 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15875 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15876 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15877 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15878 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15879 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15880 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15881 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15882 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15883 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15884 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15885 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15886 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15887 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15888 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15889 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15890 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15891 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15892 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15893 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15894 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15895 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15896 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15897 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15898 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15899 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15900 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15901 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"`'
15902 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15903 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15904 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15905 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15906 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15907 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15908 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15909 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15910 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15911 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15912 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15913 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15914 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15915 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15916 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15917 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15918 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15919 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15920 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15921 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15922 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15923 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15924 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15925 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15926 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15927 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15928 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15929 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15930 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15931 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15932 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15933 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15934 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15935 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15936 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15937 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15938 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15939 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15940 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15941 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15942 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15943 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15944 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15945 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15946 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15947 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15948 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15949 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15950 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15951 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15952 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15953 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15954 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15955 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15956 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15957 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15958 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15959 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15960 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15961 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15962 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15963 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15964 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15965 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15966 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15967 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15968 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15969 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15970 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15971 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15972 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15975 LTCFLAGS='$LTCFLAGS'
15976 compiler='$compiler_DEFAULT'
15978 # A function that is used when there is no print builtin or printf.
15979 func_fallback_echo ()
15981 eval 'cat <<_LTECHO_EOF
15986 # Quote evaled strings.
16000 deplibs_check_method \
16009 lt_cv_sys_global_symbol_pipe \
16010 lt_cv_sys_global_symbol_to_cdecl \
16011 lt_cv_sys_global_symbol_to_c_name_address \
16012 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16013 lt_prog_compiler_no_builtin_flag \
16014 lt_prog_compiler_wl \
16015 lt_prog_compiler_pic \
16016 lt_prog_compiler_static \
16017 lt_cv_prog_compiler_c_o \
16025 export_dynamic_flag_spec \
16026 whole_archive_flag_spec \
16027 compiler_needs_object \
16029 allow_undefined_flag \
16030 no_undefined_flag \
16031 hardcode_libdir_flag_spec \
16032 hardcode_libdir_flag_spec_ld \
16033 hardcode_libdir_separator \
16038 variables_saved_for_relink \
16040 library_names_spec \
16042 install_override_mode \
16046 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16047 *[\\\\\\\`\\"\\\$]*)
16048 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16051 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16056 # Double-quote double-evaled strings.
16057 for var in reload_cmds \
16058 old_postinstall_cmds \
16059 old_postuninstall_cmds \
16061 extract_expsyms_cmds \
16062 old_archive_from_new_cmds \
16063 old_archive_from_expsyms_cmds \
16065 archive_expsym_cmds \
16067 module_expsym_cmds \
16068 export_symbols_cmds \
16071 postuninstall_cmds \
16073 sys_lib_search_path_spec \
16074 sys_lib_dlsearch_path_spec; do
16075 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16076 *[\\\\\\\`\\"\\\$]*)
16077 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16080 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16085 ac_aux_dir='$ac_aux_dir'
16086 xsi_shell='$xsi_shell'
16087 lt_shell_append='$lt_shell_append'
16089 # See if we are running on zsh, and set the options which allow our
16090 # commands through without removal of \ escapes INIT.
16091 if test -n "\${ZSH_VERSION+set}" ; then
16092 setopt NO_GLOB_SUBST
16098 TIMESTAMP='$TIMESTAMP'
16107 acx_cv_header_stdint="$acx_cv_header_stdint"
16108 acx_cv_type_int8_t="$acx_cv_type_int8_t"
16109 acx_cv_type_int16_t="$acx_cv_type_int16_t"
16110 acx_cv_type_int32_t="$acx_cv_type_int32_t"
16111 acx_cv_type_int64_t="$acx_cv_type_int64_t"
16112 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
16113 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
16114 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
16115 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
16116 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
16117 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
16118 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
16119 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
16120 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
16125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16127 # Handling of arguments.
16128 for ac_config_target
in $ac_config_targets
16130 case $ac_config_target in
16131 "auto-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-config.h" ;;
16132 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16133 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16134 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16135 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
16136 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16137 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16139 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16144 # If the user did not use the arguments to specify the items to instantiate,
16145 # then the envvar interface is used. Set only those that are not.
16146 # We use the long form for the default assignment because of an extremely
16147 # bizarre bug on SunOS 4.1.3.
16148 if $ac_need_defaults; then
16149 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16150 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16154 # Have a temporary directory for convenience. Make it in the build tree
16155 # simply because there is no reason against having it here, and in addition,
16156 # creating and moving files from /tmp can sometimes cause problems.
16157 # Hook for its removal unless debugging.
16158 # Note that there is a small window in which the directory will not be cleaned:
16159 # after its creation but before its name has been assigned to `$tmp'.
16163 trap 'exit_status=$?
16164 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16166 trap 'as_fn_exit 1' 1 2 13 15
16168 # Create a (secure) tmp directory for tmp files.
16171 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16172 test -n "$tmp" && test -d "$tmp"
16175 tmp
=.
/conf$$
-$RANDOM
16176 (umask 077 && mkdir
"$tmp")
16177 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16179 # Set up the scripts for CONFIG_FILES section.
16180 # No need to generate them if there are no CONFIG_FILES.
16181 # This happens for instance with `./config.status config.h'.
16182 if test -n "$CONFIG_FILES"; then
16185 ac_cr
=`echo X | tr X '\015'`
16186 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16187 # But we know of no other shell where ac_cr would be empty at this
16188 # point, so we can use a bashism as a fallback.
16189 if test "x$ac_cr" = x
; then
16190 eval ac_cr
=\$
\'\\r
\'
16192 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16193 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16196 ac_cs_awk_cr
=$ac_cr
16199 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16204 echo "cat >conf$$subs.awk <<_ACEOF" &&
16205 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16207 } >conf$$subs.sh ||
16208 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16209 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16211 for ac_last_try in false false false false false :; do
16212 . ./conf$$subs.sh ||
16213 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16215 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16216 if test $ac_delim_n = $ac_delim_num; then
16218 elif $ac_last_try; then
16219 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16221 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16224 rm -f conf$$subs.sh
16226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16227 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16231 s/^/S["/; s
/!.
*/"]=/
16241 s/\(.\{148\}\).*/\1/
16243 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16248 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16255 s/\(.\{148\}\).*/\1/
16257 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16261 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16266 ' <conf$$subs.awk | sed '
16271 ' >>$CONFIG_STATUS || ac_write_fail=1
16272 rm -f conf$$subs.awk
16273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16275 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16276 for (key in S) S_is_set[key] = 1
16282 nfields = split(line, field, "@
")
16284 len = length(field[1])
16285 for (i = 2; i < nfields; i++) {
16287 keylen = length(key)
16288 if (S_is_set[key]) {
16290 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16291 len += length(value) + length(field[++i])
16302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16303 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16304 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16307 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16308 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16311 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16312 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16313 # trailing colons and then remove the whole line if VPATH becomes empty
16314 # (actually we leave an empty line to preserve line numbers).
16315 if test "x
$srcdir" = x.; then
16316 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16317 s/:*\$(srcdir):*/:/
16318 s/:*\${srcdir}:*/:/
16320 s/^\([^=]*=[ ]*\):*/\1/
16326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16327 fi # test -n "$CONFIG_FILES"
16329 # Set up the scripts for CONFIG_HEADERS section.
16330 # No need to generate them if there are no CONFIG_HEADERS.
16331 # This happens for instance with `./config.status Makefile'.
16332 if test -n "$CONFIG_HEADERS"; then
16333 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16337 # Transform confdefs.h into an awk script `defines.awk', embedded as
16338 # here-document in config.status, that substitutes the proper values into
16339 # config.h.in to produce config.h.
16341 # Create a delimiter string that does not exist in confdefs.h, to ease
16342 # handling of long lines.
16344 for ac_last_try in false false :; do
16345 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16346 if test -z "$ac_t"; then
16348 elif $ac_last_try; then
16349 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16351 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16355 # For the awk script, D is an array of macro values keyed by name,
16356 # likewise P contains macro parameters if any. Preserve backslash
16357 # newline sequences.
16359 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16361 s/.\{148\}/&'"$ac_delim"'/g
16364 s/^[ ]*#[ ]*define[ ][ ]*/ /
16371 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16373 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16377 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16378 D["\
1"]=" \
3\\\\\\n
"\\/p
16380 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16385 s/.\{148\}/&'"$ac_delim"'/g
16390 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16393 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16395 ' <confdefs.h | sed '
16396 s/'"$ac_delim"'/"\\\
16397 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16400 for (key in D) D_is_set[key] = 1
16403 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16405 split(line, arg, " ")
16406 if (arg[1] == "#") {
16410 defundef
= substr
(arg
[1], 2)
16413 split(mac1
, mac2
, "(") #)
16415 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16416 if (D_is_set
[macro
]) {
16417 # Preserve the white space surrounding the "#".
16418 print prefix
"define", macro P
[macro
] D
[macro
]
16421 # Replace #undef with comments. This is necessary, for example,
16422 # in the case of _POSIX_SOURCE, which is predefined and required
16423 # on some systems where configure will not decide to define it.
16424 if (defundef
== "undef") {
16425 print
"/*", prefix defundef
, macro
, "*/"
16433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16434 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16435 fi # test -n "$CONFIG_HEADERS"
16438 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16443 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16445 case $ac_mode$ac_tag in
16447 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16448 :[FH
]-) ac_tag
=-:-;;
16449 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16466 -) ac_f
="$tmp/stdin";;
16467 *) # Look for the file first in the build tree, then in the source tree
16468 # (if the path is not absolute). The absolute path cannot be DOS-style,
16469 # because $ac_f cannot contain `:'.
16473 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16475 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16477 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16478 as_fn_append ac_file_inputs
" '$ac_f'"
16481 # Let's still pretend it is `configure' which instantiates (i.e., don't
16482 # use $as_me), people would be surprised to read:
16483 # /* config.h. Generated by config.status. */
16484 configure_input
='Generated from '`
16485 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16487 if test x
"$ac_file" != x-
; then
16488 configure_input
="$ac_file. $configure_input"
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16490 $as_echo "$as_me: creating $ac_file" >&6;}
16492 # Neutralize special characters interpreted by sed in replacement strings.
16493 case $configure_input in #(
16494 *\
&* |
*\|
* |
*\\* )
16495 ac_sed_conf_input
=`$as_echo "$configure_input" |
16496 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16497 *) ac_sed_conf_input
=$configure_input;;
16501 *:-:* |
*:-) cat >"$tmp/stdin" \
16502 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16507 ac_dir
=`$as_dirname -- "$ac_file" ||
16508 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16509 X"$ac_file" : 'X\(//\)[^/]' \| \
16510 X"$ac_file" : 'X\(//\)$' \| \
16511 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16512 $as_echo X"$ac_file" |
16513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16517 /^X\(\/\/\)[^/].*/{
16530 as_dir
="$ac_dir"; as_fn_mkdir_p
16534 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16536 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16537 # A ".." for each directory in $ac_dir_suffix.
16538 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16539 case $ac_top_builddir_sub in
16540 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16541 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16544 ac_abs_top_builddir
=$ac_pwd
16545 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16546 # for backward compatibility:
16547 ac_top_builddir
=$ac_top_build_prefix
16550 .
) # We are building in place.
16552 ac_top_srcdir
=$ac_top_builddir_sub
16553 ac_abs_top_srcdir
=$ac_pwd ;;
16554 [\\/]* | ?
:[\\/]* ) # Absolute name.
16555 ac_srcdir
=$srcdir$ac_dir_suffix;
16556 ac_top_srcdir
=$srcdir
16557 ac_abs_top_srcdir
=$srcdir ;;
16558 *) # Relative name.
16559 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16560 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16561 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16563 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16573 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16574 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16576 ac_MKDIR_P
=$MKDIR_P
16578 [\\/$
]* | ?
:[\\/]* ) ;;
16579 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16584 # If the template does not know about datarootdir, expand it.
16585 # FIXME: This hack should be removed a few years after 2.60.
16586 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16597 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16598 *datarootdir
*) ac_datarootdir_seen
=yes;;
16599 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16601 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16604 ac_datarootdir_hack='
16605 s&@datadir@&$datadir&g
16606 s&@docdir@&$docdir&g
16607 s&@infodir@&$infodir&g
16608 s&@localedir@&$localedir&g
16609 s&@mandir@&$mandir&g
16610 s&\\\${datarootdir}&$datarootdir&g' ;;
16614 # Neutralize VPATH when `$srcdir' = `.'.
16615 # Shell code in configure.ac might set extrasub.
16616 # FIXME: do we really want to maintain this feature?
16617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16618 ac_sed_extra="$ac_vpsub
16621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16623 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16624 s|@configure_input@|
$ac_sed_conf_input|
;t t
16625 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16626 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16627 s
&@srcdir@
&$ac_srcdir&;t t
16628 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16629 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16630 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16631 s
&@builddir@
&$ac_builddir&;t t
16632 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16633 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16634 s
&@INSTALL@
&$ac_INSTALL&;t t
16635 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16636 $ac_datarootdir_hack
16638 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16639 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16641 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16642 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16643 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16645 which seems to be undefined. Please make sure it is defined." >&5
16646 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16647 which seems to be undefined. Please make sure it is defined." >&2;}
16651 -) cat "$tmp/out" && rm -f "$tmp/out";;
16652 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16654 || as_fn_error "could not create $ac_file" "$LINENO" 5
16660 if test x"$ac_file" != x-; then
16662 $as_echo "/* $configure_input */" \
16663 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16664 } >"$tmp/config.h" \
16665 || as_fn_error "could not create $ac_file" "$LINENO" 5
16666 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16668 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16671 mv "$tmp/config.h" "$ac_file" \
16672 || as_fn_error "could not create $ac_file" "$LINENO" 5
16675 $as_echo "/* $configure_input */" \
16676 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16677 || as_fn_error "could not create -" "$LINENO" 5
16679 # Compute "$ac_file"'s index
in $config_headers.
16682 for _am_header
in $config_headers :; do
16683 case $_am_header in
16684 $_am_arg |
$_am_arg:* )
16687 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16690 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16691 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16692 X"$_am_arg" : 'X\(//\)[^/]' \| \
16693 X"$_am_arg" : 'X\(//\)$' \| \
16694 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16695 $as_echo X"$_am_arg" |
16696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16700 /^X\(\/\/\)[^/].*/{
16712 s/.*/./; q'`/stamp-h
$_am_stamp_count
16715 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16716 $as_echo "$as_me: executing $ac_file commands" >&6;}
16721 case $ac_file$ac_mode in
16723 # Only add multilib support code if we just rebuilt the top-level
16725 case " $CONFIG_FILES " in
16727 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16730 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16731 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16732 # are listed without --file. Let's play safe and only enable the eval
16733 # if we detect the quoting.
16734 case $CONFIG_FILES in
16735 *\'*) eval set x
"$CONFIG_FILES" ;;
16736 *) set x
$CONFIG_FILES ;;
16741 # Strip MF so we end up with the name of the file.
16742 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16743 # Check whether this is an Automake generated Makefile or not.
16744 # We used to match only the files named `Makefile.in', but
16745 # some people rename them; so instead we look at the file content.
16746 # Grep'ing the first line is not enough: some people post-process
16747 # each Makefile.in and add a new line on top of each file to say so.
16748 # Grep'ing the whole file is not good either: AIX grep has a line
16749 # limit of 2048, but all sed's we know have understand at least 4000.
16750 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16751 dirpart
=`$as_dirname -- "$mf" ||
16752 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16753 X"$mf" : 'X\(//\)[^/]' \| \
16754 X"$mf" : 'X\(//\)$' \| \
16755 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16761 /^X\(\/\/\)[^/].*/{
16777 # Extract the definition of DEPDIR, am__include, and am__quote
16778 # from the Makefile without running `make'.
16779 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16780 test -z "$DEPDIR" && continue
16781 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16782 test -z "am__include" && continue
16783 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16784 # When using ansi2knr, U may be empty or an underscore; expand it
16785 U
=`sed -n 's/^U = //p' < "$mf"`
16786 # Find all dependency output files, they are included files with
16787 # $(DEPDIR) in their names. We invoke sed twice because it is the
16788 # simplest approach to changing $(DEPDIR) to its actual value in the
16790 for file in `sed -n "
16791 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16792 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16793 # Make sure the directory exists.
16794 test -f "$dirpart/$file" && continue
16795 fdir
=`$as_dirname -- "$file" ||
16796 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16797 X"$file" : 'X\(//\)[^/]' \| \
16798 X"$file" : 'X\(//\)$' \| \
16799 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16800 $as_echo X"$file" |
16801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16805 /^X\(\/\/\)[^/].*/{
16818 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16819 # echo "creating $dirpart/$file"
16820 echo '# dummy' > "$dirpart/$file"
16827 # See if we are running on zsh, and set the options which allow our
16828 # commands through without removal of \ escapes.
16829 if test -n "${ZSH_VERSION+set}" ; then
16830 setopt NO_GLOB_SUBST
16833 cfgfile
="${ofile}T"
16834 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16837 cat <<_LT_EOF >> "$cfgfile"
16840 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16841 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16842 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16843 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16845 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16846 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16847 # Written by Gordon Matzigkeit, 1996
16849 # This file is part of GNU Libtool.
16851 # GNU Libtool is free software; you can redistribute it and/or
16852 # modify it under the terms of the GNU General Public License as
16853 # published by the Free Software Foundation; either version 2 of
16854 # the License, or (at your option) any later version.
16856 # As a special exception to the GNU General Public License,
16857 # if you distribute this file as part of a program or library that
16858 # is built using GNU Libtool, you may include this file under the
16859 # same distribution terms that you use for the rest of that program.
16861 # GNU Libtool is distributed in the hope that it will be useful,
16862 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16863 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16864 # GNU General Public License for more details.
16866 # You should have received a copy of the GNU General Public License
16867 # along with GNU Libtool; see the file COPYING. If not, a copy
16868 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16869 # obtained by writing to the Free Software Foundation, Inc.,
16870 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16873 # The names of the tagged configurations supported by this script.
16876 # ### BEGIN LIBTOOL CONFIG
16878 # Which release of libtool.m4 was used?
16879 macro_version=$macro_version
16880 macro_revision=$macro_revision
16882 # Whether or not to build shared libraries.
16883 build_libtool_libs=$enable_shared
16885 # Whether or not to build static libraries.
16886 build_old_libs=$enable_static
16888 # What type of objects to build.
16891 # Whether or not to optimize for fast installation.
16892 fast_install=$enable_fast_install
16894 # Shell to use when invoking shell scripts.
16897 # An echo program that protects backslashes.
16901 host_alias=$host_alias
16905 # The build system.
16906 build_alias=$build_alias
16910 # A sed program that does not truncate output.
16913 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16914 Xsed="\$SED -e 1s/^X//"
16916 # A grep program that handles long lines.
16922 # A literal string matcher.
16925 # A BSD- or MS-compatible name lister.
16928 # Whether we need soft or hard links.
16931 # What is the maximum length of a command?
16932 max_cmd_len=$max_cmd_len
16934 # Object file suffix (normally "o").
16937 # Executable file suffix (normally "").
16940 # whether the shell understands "unset".
16943 # turn spaces into newlines.
16946 # turn newlines into spaces.
16949 # An object symbol dumper.
16950 OBJDUMP=$lt_OBJDUMP
16952 # Method to check whether dependent libraries are shared objects.
16953 deplibs_check_method=$lt_deplibs_check_method
16955 # Command to use when deplibs_check_method == "file_magic".
16956 file_magic_cmd=$lt_file_magic_cmd
16960 AR_FLAGS=$lt_AR_FLAGS
16962 # A symbol stripping program.
16965 # Commands used to install an old-style archive.
16967 old_postinstall_cmds=$lt_old_postinstall_cmds
16968 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16970 # Whether to use a lock for old archive extraction.
16971 lock_old_archive_extraction=$lock_old_archive_extraction
16976 # LTCC compiler flags.
16977 LTCFLAGS=$lt_CFLAGS
16979 # Take the output of nm and produce a listing of raw symbols and C names.
16980 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16982 # Transform the output of nm in a proper C declaration.
16983 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16985 # Transform the output of nm in a C name address pair.
16986 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16988 # Transform the output of nm in a C name address pair when lib prefix is needed.
16989 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16991 # The name of the directory that contains temporary libtool files.
16994 # Used to examine libraries when file_magic_cmd begins with "file".
16995 MAGIC_CMD=$MAGIC_CMD
16997 # Must we lock files when doing compilation?
16998 need_locks=$lt_need_locks
17000 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17001 DSYMUTIL=$lt_DSYMUTIL
17003 # Tool to change global to local symbols on Mac OS X.
17006 # Tool to manipulate fat objects and archives on Mac OS X.
17009 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17012 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17013 OTOOL64=$lt_OTOOL64
17015 # Old archive suffix (normally "a").
17018 # Shared library suffix (normally ".so").
17019 shrext_cmds=$lt_shrext_cmds
17021 # The commands to extract the exported symbol list from a shared archive.
17022 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17024 # Variables whose values should be saved in libtool wrapper scripts and
17025 # restored at link time.
17026 variables_saved_for_relink=$lt_variables_saved_for_relink
17028 # Do we need the "lib" prefix for modules?
17029 need_lib_prefix=$need_lib_prefix
17031 # Do we need a version for libraries?
17032 need_version=$need_version
17034 # Library versioning type.
17035 version_type=$version_type
17037 # Shared library runtime path variable.
17038 runpath_var=$runpath_var
17040 # Shared library path variable.
17041 shlibpath_var=$shlibpath_var
17043 # Is shlibpath searched before the hard-coded library search path?
17044 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17046 # Format of library name prefix.
17047 libname_spec=$lt_libname_spec
17049 # List of archive names. First name is the real one, the rest are links.
17050 # The last name is the one that the linker finds with -lNAME
17051 library_names_spec=$lt_library_names_spec
17053 # The coded name of the library, if different from the real name.
17054 soname_spec=$lt_soname_spec
17056 # Permission mode override for installation of shared libraries.
17057 install_override_mode=$lt_install_override_mode
17059 # Command to use after installation of a shared archive.
17060 postinstall_cmds=$lt_postinstall_cmds
17062 # Command to use after uninstallation of a shared archive.
17063 postuninstall_cmds=$lt_postuninstall_cmds
17065 # Commands used to finish a libtool library installation in a directory.
17066 finish_cmds=$lt_finish_cmds
17068 # As "finish_cmds", except a single script fragment to be evaled but
17070 finish_eval=$lt_finish_eval
17072 # Whether we should hardcode library paths into libraries.
17073 hardcode_into_libs=$hardcode_into_libs
17075 # Compile-time system search path for libraries.
17076 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17078 # Run-time system search path for libraries.
17079 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17081 # Whether dlopen is supported.
17082 dlopen_support=$enable_dlopen
17084 # Whether dlopen of programs is supported.
17085 dlopen_self=$enable_dlopen_self
17087 # Whether dlopen of statically linked programs is supported.
17088 dlopen_self_static=$enable_dlopen_self_static
17090 # Commands to strip libraries.
17091 old_striplib=$lt_old_striplib
17092 striplib=$lt_striplib
17095 # The linker used to build libraries.
17098 # How to create reloadable object files.
17099 reload_flag=$lt_reload_flag
17100 reload_cmds=$lt_reload_cmds
17102 # Commands used to build an old-style archive.
17103 old_archive_cmds=$lt_old_archive_cmds
17105 # A language specific compiler.
17108 # Is the compiler the GNU compiler?
17111 # Compiler flag to turn off builtin functions.
17112 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17114 # How to pass a linker flag through the compiler.
17115 wl=$lt_lt_prog_compiler_wl
17117 # Additional compiler flags for building library objects.
17118 pic_flag=$lt_lt_prog_compiler_pic
17120 # Compiler flag to prevent dynamic linking.
17121 link_static_flag=$lt_lt_prog_compiler_static
17123 # Does compiler simultaneously support -c and -o options?
17124 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17126 # Whether or not to add -lc for building shared libraries.
17127 build_libtool_need_lc=$archive_cmds_need_lc
17129 # Whether or not to disallow shared libs when runtime libs are static.
17130 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17132 # Compiler flag to allow reflexive dlopens.
17133 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17135 # Compiler flag to generate shared objects directly from archives.
17136 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17138 # Whether the compiler copes with passing no objects directly.
17139 compiler_needs_object=$lt_compiler_needs_object
17141 # Create an old-style archive from a shared archive.
17142 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17144 # Create a temporary old-style archive to link instead of a shared archive.
17145 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17147 # Commands used to build a shared archive.
17148 archive_cmds=$lt_archive_cmds
17149 archive_expsym_cmds=$lt_archive_expsym_cmds
17151 # Commands used to build a loadable module if different from building
17152 # a shared archive.
17153 module_cmds=$lt_module_cmds
17154 module_expsym_cmds=$lt_module_expsym_cmds
17156 # Whether we are building with GNU ld or not.
17157 with_gnu_ld=$lt_with_gnu_ld
17159 # Flag that allows shared libraries with undefined symbols to be built.
17160 allow_undefined_flag=$lt_allow_undefined_flag
17162 # Flag that enforces no undefined symbols.
17163 no_undefined_flag=$lt_no_undefined_flag
17165 # Flag to hardcode \$libdir into a binary during linking.
17166 # This must work even if \$libdir does not exist
17167 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17169 # If ld is used when linking, flag to hardcode \$libdir into a binary
17170 # during linking. This must work even if \$libdir does not exist.
17171 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17173 # Whether we need a single "-rpath" flag with a separated argument.
17174 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17176 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17177 # DIR into the resulting binary.
17178 hardcode_direct=$hardcode_direct
17180 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17181 # DIR into the resulting binary and the resulting library dependency is
17182 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17183 # library is relocated.
17184 hardcode_direct_absolute=$hardcode_direct_absolute
17186 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17187 # into the resulting binary.
17188 hardcode_minus_L=$hardcode_minus_L
17190 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17191 # into the resulting binary.
17192 hardcode_shlibpath_var=$hardcode_shlibpath_var
17194 # Set to "yes" if building a shared library automatically hardcodes DIR
17195 # into the library and all subsequent libraries and executables linked
17197 hardcode_automatic=$hardcode_automatic
17199 # Set to yes if linker adds runtime paths of dependent libraries
17200 # to runtime path list.
17201 inherit_rpath=$inherit_rpath
17203 # Whether libtool must link a program against all its dependency libraries.
17204 link_all_deplibs=$link_all_deplibs
17206 # Fix the shell variable \$srcfile for the compiler.
17207 fix_srcfile_path=$lt_fix_srcfile_path
17209 # Set to "yes" if exported symbols are required.
17210 always_export_symbols=$always_export_symbols
17212 # The commands to list exported symbols.
17213 export_symbols_cmds=$lt_export_symbols_cmds
17215 # Symbols that should not be listed in the preloaded symbols.
17216 exclude_expsyms=$lt_exclude_expsyms
17218 # Symbols that must always be exported.
17219 include_expsyms=$lt_include_expsyms
17221 # Commands necessary for linking programs (against libraries) with templates.
17222 prelink_cmds=$lt_prelink_cmds
17224 # Specify filename containing input files.
17225 file_list_spec=$lt_file_list_spec
17227 # How to hardcode a shared library path into an executable.
17228 hardcode_action=$hardcode_action
17230 # ### END LIBTOOL CONFIG
17236 cat <<\_LT_EOF
>> "$cfgfile"
17237 # AIX sometimes has problems with the GCC collect2 program. For some
17238 # reason, if we set the COLLECT_NAMES environment variable, the problems
17239 # vanish in a puff of smoke.
17240 if test "X${COLLECT_NAMES+set}" != Xset
; then
17242 export COLLECT_NAMES
17249 ltmain
="$ac_aux_dir/ltmain.sh"
17252 # We use sed instead of cat because bash on DJGPP gets confused if
17253 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17254 # text mode, it properly converts lines to CR/LF. This bash problem
17255 # is reportedly fixed, but why not run on old versions too?
17256 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17257 ||
(rm -f "$cfgfile"; exit 1)
17261 cat << \_LT_EOF
>> "$cfgfile"
17263 # func_dirname file append nondir_replacement
17264 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17265 # otherwise set result to NONDIR_REPLACEMENT.
17269 */*) func_dirname_result
="${1%/*}${2}" ;;
17270 * ) func_dirname_result
="${3}" ;;
17274 # func_basename file
17277 func_basename_result
="${1##*/}"
17280 # func_dirname_and_basename file append nondir_replacement
17281 # perform func_basename and func_dirname in a single function
17283 # dirname: Compute the dirname of FILE. If nonempty,
17284 # add APPEND to the result, otherwise set result
17285 # to NONDIR_REPLACEMENT.
17286 # value returned in "$func_dirname_result"
17287 # basename: Compute filename of FILE.
17288 # value retuned in "$func_basename_result"
17289 # Implementation must be kept synchronized with func_dirname
17290 # and func_basename. For efficiency, we do not delegate to
17291 # those functions but instead duplicate the functionality here.
17292 func_dirname_and_basename
()
17295 */*) func_dirname_result
="${1%/*}${2}" ;;
17296 * ) func_dirname_result
="${3}" ;;
17298 func_basename_result
="${1##*/}"
17301 # func_stripname prefix suffix name
17302 # strip PREFIX and SUFFIX off of NAME.
17303 # PREFIX and SUFFIX must not contain globbing or regex special
17304 # characters, hashes, percent signs, but SUFFIX may contain a leading
17305 # dot (in which case that matches only a dot).
17308 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17309 # positional parameters, so assign one to ordinary parameter first.
17310 func_stripname_result
=${3}
17311 func_stripname_result
=${func_stripname_result#"${1}"}
17312 func_stripname_result
=${func_stripname_result%"${2}"}
17318 func_opt_split_opt
=${1%%=*}
17319 func_opt_split_arg
=${1#*=}
17326 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17327 *) func_lo2o_result
=${1} ;;
17331 # func_xform libobj-or-source
17334 func_xform_result
=${1%.*}.lo
17337 # func_arith arithmetic-term...
17340 func_arith_result
=$
(( $
* ))
17344 # STRING may not start with a hyphen.
17347 func_len_result
=${#1}
17352 *) # Bourne compatible functions.
17353 cat << \_LT_EOF
>> "$cfgfile"
17355 # func_dirname file append nondir_replacement
17356 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17357 # otherwise set result to NONDIR_REPLACEMENT.
17360 # Extract subdirectory from the argument.
17361 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17362 if test "X$func_dirname_result" = "X${1}"; then
17363 func_dirname_result
="${3}"
17365 func_dirname_result
="$func_dirname_result${2}"
17369 # func_basename file
17372 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17376 # func_stripname prefix suffix name
17377 # strip PREFIX and SUFFIX off of NAME.
17378 # PREFIX and SUFFIX must not contain globbing or regex special
17379 # characters, hashes, percent signs, but SUFFIX may contain a leading
17380 # dot (in which case that matches only a dot).
17381 # func_strip_suffix prefix name
17385 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17386 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17391 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17392 my_sed_long_arg
='1s/^-[^=]*=//'
17397 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17398 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17404 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17407 # func_xform libobj-or-source
17410 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17413 # func_arith arithmetic-term...
17416 func_arith_result
=`expr "$@"`
17420 # STRING may not start with a hyphen.
17423 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17429 case $lt_shell_append in
17431 cat << \_LT_EOF
>> "$cfgfile"
17433 # func_append var value
17434 # Append VALUE to the end of shell variable VAR.
17442 cat << \_LT_EOF
>> "$cfgfile"
17444 # func_append var value
17445 # Append VALUE to the end of shell variable VAR.
17456 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17457 ||
(rm -f "$cfgfile"; exit 1)
17459 mv -f "$cfgfile" "$ofile" ||
17460 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17465 if test "$GCC" = yes; then
17466 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
17468 echo "/* generated for $CC */" > tmp-stdint.h
17471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17473 #ifndef GCC_GENERATED_STDINT_H
17474 #define GCC_GENERATED_STDINT_H 1
17476 #include <sys/types.h>
17479 if test "$acx_cv_header_stdint" != stdint.h
; then
17480 echo "#include <stddef.h>" >> tmp-stdint.h
17482 if test "$acx_cv_header_stdint" != stddef.h
; then
17483 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
17486 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17487 /* glibc uses these symbols as guards to prevent redefinitions. */
17488 #ifdef __int8_t_defined
17493 #ifdef __uint32_t_defined
17499 # ----------------- done header, emit basic int types -------------
17500 if test "$acx_cv_header_stdint" = stddef.h
; then
17501 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17505 #ifndef __uint8_t_defined
17506 #define __uint8_t_defined
17508 typedef unsigned $acx_cv_type_int8_t uint8_t;
17515 #ifndef __uint16_t_defined
17516 #define __uint16_t_defined
17518 typedef unsigned $acx_cv_type_int16_t uint16_t;
17525 #ifndef __uint32_t_defined
17526 #define __uint32_t_defined
17528 typedef unsigned $acx_cv_type_int32_t uint32_t;
17535 #ifndef __int8_t_defined
17536 #define __int8_t_defined
17538 typedef $acx_cv_type_int8_t int8_t;
17545 #ifndef __int16_t_defined
17546 #define __int16_t_defined
17548 typedef $acx_cv_type_int16_t int16_t;
17555 #ifndef __int32_t_defined
17556 #define __int32_t_defined
17558 typedef $acx_cv_type_int32_t int32_t;
17563 elif test "$ac_cv_type_u_int32_t" = yes; then
17564 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17566 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
17579 #ifndef __uint8_t_defined
17580 #define __uint8_t_defined
17582 typedef u_int8_t uint8_t;
17589 #ifndef __uint16_t_defined
17590 #define __uint16_t_defined
17592 typedef u_int16_t uint16_t;
17599 #ifndef __uint32_t_defined
17600 #define __uint32_t_defined
17602 typedef u_int32_t uint32_t;
17608 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17610 /* Some systems have guard macros to prevent redefinitions, define them. */
17632 # ------------- done basic int types, emit int64_t types ------------
17633 if test "$ac_cv_type_uint64_t" = yes; then
17634 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17636 /* system headers have good uint64_t and int64_t */
17644 elif test "$ac_cv_type_u_int64_t" = yes; then
17645 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17647 /* system headers have an u_int64_t (and int64_t) */
17653 #ifndef __uint64_t_defined
17654 #define __uint64_t_defined
17656 typedef u_int64_t uint64_t;
17661 elif test -n "$acx_cv_type_int64_t"; then
17662 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17664 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
17668 typedef $acx_cv_type_int64_t int64_t;
17673 #ifndef __uint64_t_defined
17674 #define __uint64_t_defined
17676 typedef unsigned $acx_cv_type_int64_t uint64_t;
17682 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17684 /* some common heuristics for int64_t, using compiler-specific tests */
17685 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
17688 #ifndef __int64_t_defined
17690 typedef long long int64_t;
17697 typedef unsigned long long uint64_t;
17701 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
17702 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
17703 does not implement __extension__. But that compiler doesn't define
17705 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
17706 # define __extension__
17712 __extension__ typedef long long int64_t;
17718 __extension__ typedef unsigned long long uint64_t;
17722 #elif !defined __STRICT_ANSI__
17723 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
17728 typedef __int64 int64_t;
17734 typedef unsigned __int64 uint64_t;
17737 # endif /* compiler */
17739 #endif /* ANSI version */
17743 # ------------- done int64_t types, emit intptr types ------------
17744 if test "$ac_cv_type_uintptr_t" != yes; then
17745 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17747 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
17748 #ifndef __uintptr_t_defined
17750 typedef u$acx_cv_type_intptr_t uintptr_t;
17753 #ifndef __intptr_t_defined
17755 typedef $acx_cv_type_intptr_t intptr_t;
17761 # ------------- done intptr types, emit int_least types ------------
17762 if test "$ac_cv_type_int_least32_t" != yes; then
17763 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17765 /* Define int_least types */
17766 typedef int8_t int_least8_t;
17767 typedef int16_t int_least16_t;
17768 typedef int32_t int_least32_t;
17770 typedef int64_t int_least64_t;
17773 typedef uint8_t uint_least8_t;
17774 typedef uint16_t uint_least16_t;
17775 typedef uint32_t uint_least32_t;
17777 typedef uint64_t uint_least64_t;
17782 # ------------- done intptr types, emit int_fast types ------------
17783 if test "$ac_cv_type_int_fast32_t" != yes; then
17784 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17786 /* Define int_fast types. short is often slow */
17787 typedef int8_t int_fast8_t;
17788 typedef int int_fast16_t;
17789 typedef int32_t int_fast32_t;
17791 typedef int64_t int_fast64_t;
17794 typedef uint8_t uint_fast8_t;
17795 typedef unsigned int uint_fast16_t;
17796 typedef uint32_t uint_fast32_t;
17798 typedef uint64_t uint_fast64_t;
17803 if test "$ac_cv_type_uintmax_t" != yes; then
17804 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17806 /* Define intmax based on what we found */
17809 typedef int64_t intmax_t;
17811 typedef long intmax_t;
17816 typedef uint64_t uintmax_t;
17818 typedef unsigned long uintmax_t;
17824 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17826 #endif /* GCC_GENERATED_STDINT_H */
17829 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
17832 mv -f tmp-stdint.h gstdint.h
17843 ac_clean_files
=$ac_clean_files_save
17845 test $ac_write_fail = 0 ||
17846 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17849 # configure is writing to config.log, and then calls config.status.
17850 # config.status does its own redirection, appending to config.log.
17851 # Unfortunately, on DOS this fails, as config.log is still kept open
17852 # by configure, so config.status won't be able to write to it; its
17853 # output is simply discarded. So we exec the FD to /dev/null,
17854 # effectively closing config.log, so it can be properly (re)opened and
17855 # appended to by config.status. When coming back to configure, we
17856 # need to make the FD available again.
17857 if test "$no_create" != yes; then
17859 ac_config_status_args
=
17860 test "$silent" = yes &&
17861 ac_config_status_args
="$ac_config_status_args --quiet"
17863 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17865 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17866 # would make configure fail if this is the last instruction.
17867 $ac_cs_success || as_fn_exit $?
17869 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17871 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}