} # ac_fn_cxx_try_compile
-# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
-# ----------------------------------------------------
-# Tries to find if the field MEMBER exists in type AGGR, after including
-# INCLUDES, setting cache variable VAR accordingly.
-ac_fn_c_check_member ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
-$as_echo_n "checking for $2.$3... " >&6; }
-if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$5
-int
-main ()
-{
-static $2 ac_aggr;
-if (ac_aggr.$3)
-return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval "$4=yes"
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$5
-int
-main ()
-{
-static $2 ac_aggr;
-if (sizeof ac_aggr.$3)
-return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval "$4=yes"
-else
- eval "$4=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$4
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
-} # ac_fn_c_check_member
-
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
;;
esac
-# Darwin needs a few extra special tests to deal with variation in the
-# system headers.
-case "$host" in
- powerpc*-*-darwin*)
-
-ac_fn_c_check_member "$LINENO" "ppc_thread_state_t" "r0" "ac_cv_member_ppc_thread_state_t_r0" "#include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_ppc_thread_state_t_r0" = x""yes; then :
-
-$as_echo "#define HAS_PPC_THREAD_STATE_R0 1" >>confdefs.h
-
-fi
-
- ac_fn_c_check_member "$LINENO" "ppc_thread_state_t" "__r0" "ac_cv_member_ppc_thread_state_t___r0" "#include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_ppc_thread_state_t___r0" = x""yes; then :
-
-$as_echo "#define HAS_PPC_THREAD_STATE___R0 1" >>confdefs.h
-
-fi
-
- ac_fn_c_check_member "$LINENO" "ppc_thread_state64_t" "r0" "ac_cv_member_ppc_thread_state64_t_r0" "#include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_ppc_thread_state64_t_r0" = x""yes; then :
-
-$as_echo "#define HAS_PPC_THREAD_STATE64_R0 1" >>confdefs.h
-
-fi
-
- ac_fn_c_check_member "$LINENO" "ppc_thread_state64_t" "__r0" "ac_cv_member_ppc_thread_state64_t___r0" "#include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_ppc_thread_state64_t___r0" = x""yes; then :
-
-$as_echo "#define HAS_PPC_THREAD_STATE64___R0 1" >>confdefs.h
-
-fi
-
- ;;
- i?86*-*-darwin*)
- ac_fn_c_check_member "$LINENO" "x86_thread_state32_t" "eax" "ac_cv_member_x86_thread_state32_t_eax" "#include <sys/cdefs.h>
- #include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_x86_thread_state32_t_eax" = x""yes; then :
-
-$as_echo "#define HAS_X86_THREAD_STATE32_EAX 1" >>confdefs.h
-
-fi
-
- ac_fn_c_check_member "$LINENO" "x86_thread_state32_t" "__eax" "ac_cv_member_x86_thread_state32_t___eax" "#include <sys/cdefs.h>
- #include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_x86_thread_state32_t___eax" = x""yes; then :
-
-$as_echo "#define HAS_X86_THREAD_STATE32___EAX 1" >>confdefs.h
-
-fi
-
- ;;
- x86_64-*-darwin*)
- ac_fn_c_check_member "$LINENO" "x86_thread_state64_t" "rax" "ac_cv_member_x86_thread_state64_t_rax" "#include <sys/cdefs.h>
- #include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_x86_thread_state64_t_rax" = x""yes; then :
-
-$as_echo "#define HAS_X86_THREAD_STATE64_RAX 1" >>confdefs.h
-
-fi
-
- ac_fn_c_check_member "$LINENO" "x86_thread_state64_t" "__rax" "ac_cv_member_x86_thread_state64_t___rax" "#include <sys/cdefs.h>
- #include <mach/thread_status.h>
-"
-if test "x$ac_cv_member_x86_thread_state64_t___rax" = x""yes; then :
-
-$as_echo "#define HAS_X86_THREAD_STATE64___RAX 1" >>confdefs.h
-
-fi
-
- ;;
- *) ;;
-esac
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlc" >&5
$as_echo_n "checking for xlc... " >&6; }
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:6384: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:6247: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:6387: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:6250: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:6390: output\"" >&5)
+ (eval echo "\"\$as_me:6253: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 7595 "configure"' > conftest.$ac_ext
+ echo '#line 7458 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9622: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9485: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:9626: \$? = $ac_status" >&5
+ echo "$as_me:9489: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9961: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9824: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:9965: \$? = $ac_status" >&5
+ echo "$as_me:9828: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10066: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9929: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10070: \$? = $ac_status" >&5
+ echo "$as_me:9933: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10121: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9984: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10125: \$? = $ac_status" >&5
+ echo "$as_me:9988: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12488 "configure"
+#line 12351 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12584 "configure"
+#line 12447 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14540: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14403: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:14544: \$? = $ac_status" >&5
+ echo "$as_me:14407: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14639: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14502: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14643: \$? = $ac_status" >&5
+ echo "$as_me:14506: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14691: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14554: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14695: \$? = $ac_status" >&5
+ echo "$as_me:14558: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_TARGET
AC_PREREQ(2.53)
-AC_REVISION($Revision: 1.59 $)
+AC_REVISION($Revision: 1.60 $)
GC_SET_VERSION
AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc])
AM_CONFIG_HEADER([include/private/config.h])
;;
esac
-# Darwin needs a few extra special tests to deal with variation in the
-# system headers.
-case "$host" in
- powerpc*-*-darwin*)
- AC_CHECK_MEMBER(ppc_thread_state_t.r0,
- AC_DEFINE(HAS_PPC_THREAD_STATE_R0,1,
- [ppc_thread_state_t has field r0]),,
- [#include <mach/thread_status.h>])
- AC_CHECK_MEMBER(ppc_thread_state_t.__r0,
- AC_DEFINE(HAS_PPC_THREAD_STATE___R0,1,dnl
- [ppc_thread_state_t has field __r0]),,
- [#include <mach/thread_status.h>])
- AC_CHECK_MEMBER(ppc_thread_state64_t.r0,
- AC_DEFINE(HAS_PPC_THREAD_STATE64_R0,1,dnl
- [ppc_thread_state64_t has field r0]),,
- [#include <mach/thread_status.h>])
- AC_CHECK_MEMBER(ppc_thread_state64_t.__r0,
- AC_DEFINE(HAS_PPC_THREAD_STATE64___R0,1,dnl
- [ppc_thread_state64_t has field __r0]),,
- [#include <mach/thread_status.h>])
- ;;
- i?86*-*-darwin*)
- AC_CHECK_MEMBER(x86_thread_state32_t.eax,
- AC_DEFINE(HAS_X86_THREAD_STATE32_EAX,1,dnl
- [x86_thread_state32_t has field eax]),,
- [#include <sys/cdefs.h>
- #include <mach/thread_status.h>])
- AC_CHECK_MEMBER(x86_thread_state32_t.__eax,
- AC_DEFINE(HAS_X86_THREAD_STATE32___EAX,1,dnl
- [x86_thread_state32_t has field __eax]),,
- [#include <sys/cdefs.h>
- #include <mach/thread_status.h>])
- ;;
- x86_64-*-darwin*)
- AC_CHECK_MEMBER(x86_thread_state64_t.rax,
- AC_DEFINE(HAS_X86_THREAD_STATE64_RAX,1,dnl
- [x86_thread_state64_t has field rax]),,
- [#include <sys/cdefs.h>
- #include <mach/thread_status.h>])
- AC_CHECK_MEMBER(x86_thread_state64_t.__rax,
- AC_DEFINE(HAS_X86_THREAD_STATE64___RAX,1,dnl
- [x86_thread_state64_t has field __rax]),,
- [#include <sys/cdefs.h>
- #include <mach/thread_status.h>])
- ;;
- *) ;;
-esac
-
AC_MSG_CHECKING(for xlc)
AC_TRY_COMPILE([],[
#ifndef __xlC__