]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: configure.ac: Allow all the versions greater than 0.10 of PPL.
authorRichard Guenther <rguenther@suse.de>
Tue, 25 Jan 2011 15:49:54 +0000 (15:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 25 Jan 2011 15:49:54 +0000 (15:49 +0000)
2011-01-25  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2010-05-05  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac: Allow all the versions greater than 0.10 of PPL.
* configure: Regenerated.

From-SVN: r169239

ChangeLog
configure
configure.ac

index f54828002b03eab53f8bd727ef46634575865adc..9d7022e1175aa37cb1357ea8c64d9b1d0782c5e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-01-25  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2010-05-05  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * configure.ac: Allow all the versions greater than 0.10 of PPL.
+       * configure: Regenerated.
+
 2010-12-16  Release Manager
 
        * GCC 4.5.2 released.
index 95b58566a20f6567b86675d1b5f638a05fb19808..c60f1b3eded813e5110575180fcb7dd884757f31 100755 (executable)
--- a/configure
+++ b/configure
@@ -5780,8 +5780,6 @@ fi
 
 
 # Check for PPL
-ppl_major_version=0
-ppl_minor_version=10
 ppllibs=" -lppl_c -lppl -lgmpxx"
 pplinc=
 
@@ -5838,8 +5836,8 @@ fi
 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
   saved_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS $pplinc $gmpinc"
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
-$as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
+$as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include "ppl_c.h"
@@ -5847,7 +5845,7 @@ int
 main ()
 {
 
-  #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
+  #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
   choke me
   #endif
 
index 81b5a724e1531929301817434764c46b7f7097e3..35812aa45c95ffee0ec53a91be1408dcacfe2305 100644 (file)
@@ -1510,8 +1510,6 @@ AC_ARG_WITH(boot-ldflags,
 AC_SUBST(poststage1_ldflags)
 
 # Check for PPL
-ppl_major_version=0
-ppl_minor_version=10
 ppllibs=" -lppl_c -lppl -lgmpxx"
 pplinc=
 
@@ -1552,9 +1550,9 @@ ENABLE_PPL_CHECK=yes)
 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
   saved_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS $pplinc $gmpinc"
-  AC_MSG_CHECKING([for version $ppl_major_version.$ppl_minor_version of PPL])
+  AC_MSG_CHECKING([for version 0.10 (or later revision) of PPL])
   AC_TRY_COMPILE([#include "ppl_c.h"],[
-  #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
+  #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
   choke me
   #endif
   ], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); ppllibs= ; pplinc= ; with_ppl=no ])