aboutsummaryrefslogtreecommitdiff
path: root/libgo/configure.ac
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-02-10 23:43:42 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-02-10 23:43:42 +0000
commit4a299bf4ff32f153cf07e684e177a97568325708 (patch)
tree84b86054220522da8c70a31cd877d98117cd4e0c /libgo/configure.ac
parentd5f3d14a4282516308125595fcc79d1b6d235f9c (diff)
downloadgcc-4a299bf4ff32f153cf07e684e177a97568325708.zip
gcc-4a299bf4ff32f153cf07e684e177a97568325708.tar.gz
gcc-4a299bf4ff32f153cf07e684e177a97568325708.tar.bz2
libgo/configure.ac: Use AC_COMPILE_IFELSE, not AC_PREPROC_IFELSE.
From-SVN: r170030
Diffstat (limited to 'libgo/configure.ac')
-rw-r--r--libgo/configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgo/configure.ac b/libgo/configure.ac
index da56610..c2ec80b 100644
--- a/libgo/configure.ac
+++ b/libgo/configure.ac
@@ -152,7 +152,7 @@ case ${host} in
changequote(,)dnl
i[34567]86-*-* | x86_64-*-*)
changequote([,])dnl
- AC_PREPROC_IFELSE([
+ AC_COMPILE_IFELSE([
#ifdef __x86_64__
#error 64-bit
#endif],
@@ -168,7 +168,7 @@ changequote([,])dnl
GOARCH=m68k
;;
mips*-*-*)
- AC_PREPROC_IFELSE([
+ AC_COMPILE_IFELSE([
#ifdef __mips64
#error 64-bit
#endif],
@@ -180,7 +180,7 @@ changequote([,])dnl
fi
;;
rs6000*-*-* | powerpc*-*-*)
- AC_PREPROC_IFELSE([
+ AC_COMPILE_IFELSE([
#ifdef _ARCH_PPC64
#error 64-bit
#endif],
@@ -192,7 +192,7 @@ changequote([,])dnl
fi
;;
sparc*-*-*)
- AC_PREPROC_IFELSE([
+ AC_COMPILE_IFELSE([
#if defined(__sparcv9) || defined(__arch64__)
#error 64-bit
#endif],