Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-06-03 20:32:11 +0400
committerNick Clifton <nickc@redhat.com>2011-06-03 20:32:11 +0400
commit5a0a571e0dd6afab7ef7b1cb4a432e65cbd9ac9d (patch)
tree0d32393b20931166a1911db844c5160d5bc4bc7b
parentee1f6b65a516cfda457f53e00b632596f3acd6cd (diff)
* configure.ac: Correct for minimum CLOOG version. * configure: Regenerate.
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f672eea8..767d17a67 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-03 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/12665
+ * configure.ac: Correct for minimum CLOOG version.
+ * configure: Regenerate.
+
2010-12-10 Tristan Gingold <gingold@adacore.com>
* src-release (ETC_SUPPORT): add gnu-oids.texi
diff --git a/configure b/configure
index 7212797be..57c32f095 100755
--- a/configure
+++ b/configure
@@ -5759,7 +5759,7 @@ int
main ()
{
- #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 5
+ #if ((CLOOG_VERSION_MAJOR < 0) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR < 15) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR == 15 && CLOOG_VERSION_REVISION < 5))
choke me
#endif
@@ -5775,7 +5775,7 @@ int
main ()
{
- #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 9
+ #if ((CLOOG_VERSION_MAJOR < 0) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR < 15) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR == 15 && CLOOG_VERSION_REVISION < 5))
choke me
#endif
diff --git a/configure.ac b/configure.ac
index 19cf53f6a..fa26f9afa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1666,11 +1666,11 @@ if test "x$with_cloog" != "xno" -a "${ENABLE_CLOOG_CHECK}" = "yes"; then
CFLAGS="$CFLAGS $clooginc $gmpinc $pplinc"
AC_MSG_CHECKING([for version 0.15.5 (or later revision) of CLooG])
AC_TRY_COMPILE([#include "cloog/cloog.h"],[
- #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 5
+ #if ((CLOOG_VERSION_MAJOR < 0) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR < 15) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR == 15 && CLOOG_VERSION_REVISION < 5))
choke me
#endif
], [AC_TRY_COMPILE([#include "cloog/cloog.h"],[
- #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 9
+ #if ((CLOOG_VERSION_MAJOR < 0) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR < 15) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR == 15 && CLOOG_VERSION_REVISION < 5))
choke me
#endif
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([buggy but acceptable])])],