]> git.pld-linux.org Git - packages/beecrypt.git/commitdiff
- support python 2.4
authorsaq <saq@pld-linux.org>
Thu, 23 Dec 2004 20:36:10 +0000 (20:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    beecrypt-python.patch -> 1.4.2.1

beecrypt-python.patch

index 6479bb0d809e646077352fc075dc737746d3d777..6193ea5958620bc6d868e6bd3ccdb5bb1ad93522 100644 (file)
  
  # Check for Unix variants
  AC_AIX
-@@ -561,6 +555,49 @@
+@@ -561,6 +555,61 @@
    AC_DEFINE([JAVAGLUE],1)
  fi
  
 +# CHECK for python
 +if test $withval = yes ; then
-+AC_MSG_CHECKING(for python 2.2)
++AC_MSG_CHECKING(for python 2.4)
 +AC_TRY_RUN([
-+#include <python2.2/Python.h>
++#include <python2.4/Python.h>
 +main() {
-+  exit(strncmp("2.2", PY_VERSION, 3));
++  exit(strncmp("2.4", PY_VERSION, 3));
 +} ],
 +  withval=yes, withval=no, withval=yes)
 +  AC_MSG_RESULT($withval)
 +  if test $withval = yes ; then
-+    WITH_PYTHON_VERSION="2.2"
++    WITH_PYTHON_VERSION="2.4"
 +  else
-+
-+    AC_MSG_CHECKING(for python 1.5.2)
++    AC_MSG_CHECKING(for python 2.2)
 +    AC_TRY_RUN([
++#include <python2.2/Python.h>
++main() {
++  exit(strncmp("2.2", PY_VERSION, 3));
++} ],
++      withval=yes, withval=no, withval=yes)
++      AC_MSG_RESULT($withval)
++      if test $withval = yes ; then
++        WITH_PYTHON_VERSION="2.2"
++      else
++
++        AC_MSG_CHECKING(for python 1.5.2)
++        AC_TRY_RUN([
 +#include <python1.5/Python.h>
 +main() {
 +  exit(strcmp("1.5.2", PY_VERSION));
 +} ],
-+    withval=yes, withval=no, withval=yes)
-+    AC_MSG_RESULT($withval)
-+    if test $withval = yes ; then
-+      WITH_PYTHON_VERSION="1.5"
-+    else
-+        AC_MSG_CHECKING(for python 2.3)
-+    AC_TRY_RUN([
++        withval=yes, withval=no, withval=yes)
++        AC_MSG_RESULT($withval)
++        if test $withval = yes ; then
++          WITH_PYTHON_VERSION="1.5"
++        else
++         AC_MSG_CHECKING(for python 2.3)
++        AC_TRY_RUN([
 +      #include <python2.3/Python.h>
 +      main() {
 +       exit(strncmp("2.3", PY_VERSION, 3));
 +       } ],
-+      withval=yes, withval=no, withval=yes)
-+      AC_MSG_RESULT($withval)
-+      if test $withval = yes ; then
-+      WITH_PYTHON_VERSION="2.3"
-+      fi
++          withval=yes, withval=no, withval=yes)
++          AC_MSG_RESULT($withval)
++          if test $withval = yes ; then
++          WITH_PYTHON_VERSION="2.3"
++         fi
++      fi
 +    fi
 +  fi
 +fi
This page took 0.065866 seconds and 4 git commands to generate.