[Parted-commits] GNU Parted Official Repository: Changes to 'master'
Bastian Blank
waldi at alioth.debian.org
Mon Apr 7 11:08:03 UTC 2008
configure.ac | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
New commits:
commit fbab61bcead981b604d8d3969ab274b8c63809c2
Author: Bastian Blank <waldi at waldi.track.rz.uni-augsburg.de>
Date: Mon Apr 7 13:07:12 2008 +0200
Use host_cpu for s390 check.
diff --git a/configure.ac b/configure.ac
index 693b979..3281102 100644
--- a/configure.ac
+++ b/configure.ac
@@ -480,14 +480,7 @@ AC_CHECK_HEADER([execinfo.h], [
])
])
-dnl Checks for #defines.
-AC_COMPILE_IFELSE([
- AC_LANG_PROGRAM([[
- #if defined __s390__ || defined __s390x__
- # message s390 defined
- #endif
- ]])], [compile_for_s390="no"], [compile_for_s390="yes"])
-AM_CONDITIONAL([COMPILE_FOR_S390], [test "$compile_for_s390" = "yes"])
+AM_CONDITIONAL([COMPILE_FOR_S390], [test "$host_cpu" = s390 || test "$host_cpu" = s390x])
dnl check for "check", unit testing library/header
PKG_CHECK_MODULES([CHECK], [check >= 0.9.3], have_check=yes, have_check=no)
More information about the Parted-commits
mailing list