]> git.pld-linux.org Git - packages/abiword.git/commitdiff
- modified to support both 2.3 and 2.4 at the time
authorsaq <saq@pld-linux.org>
Sun, 2 Jan 2005 16:17:17 +0000 (16:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    abiword-python24.patch -> 1.3

abiword-python24.patch

index cf5d7600227d37f4ab402dcee79997b17e78e1a3..030ac014c8e8c23ad11cb1bf95e8d5d59fc8b389 100644 (file)
                abi_plugin_disable=yes
        elif test "x$withval" != "xyes"; then
 -              ABI_GYPSY_CPPFLAGS="-I$withval/include/python2.3"
-+              ABI_GYPSY_CPPFLAGS="-I$withval/include/python2.4"
++              ABI_GYPSY_CPPFLAGS="-I$withval/include/python2.4 -I$withval/include/python2.3"
                ABI_GYPSY_LDFLAGS="-L$withval/lib"
 -              CPPFLAGS="$CPPFLAGS -I$withval/include/python2.3"
-+              CPPFLAGS="$CPPFLAGS -I$withval/include/python2.4"
++              CPPFLAGS="$CPPFLAGS -I$withval/include/python2.4 -I$withval/include/python2.3"
                LDFLAGS="$LDFLAGS -L$withval/lib"
        else
 -              ABI_GYPSY_CPPFLAGS="-I/usr/include/python2.3"
 -              CPPFLAGS="$CPPFLAGS -I/usr/include/python2.3"
-+              ABI_GYPSY_CPPFLAGS="-I/usr/include/python2.4"
-+              CPPFLAGS="$CPPFLAGS -I/usr/include/python2.4"
++              ABI_GYPSY_CPPFLAGS="-I/usr/include/python2.4 -I/usr/include/python2.3"
++              CPPFLAGS="$CPPFLAGS -I/usr/include/python2.4 -I/usr/include/python2.3"
        fi
 -],[   ABI_GYPSY_CPPFLAGS="-I/usr/include/python2.3"
 -      CPPFLAGS="$CPPFLAGS -I/usr/include/python2.3"
-+],[   ABI_GYPSY_CPPFLAGS="-I/usr/include/python2.4"
-+      CPPFLAGS="$CPPFLAGS -I/usr/include/python2.4"
++],[   ABI_GYPSY_CPPFLAGS="-I/usr/include/python2.4 -I/usr/include/python2.3"
++      CPPFLAGS="$CPPFLAGS -I/usr/include/python2.4 -I/usr/include/python2.3"
  ])
  
  if test $abi_plugin_disable != yes; then
        AC_CHECK_HEADER(Python.h,[
 -              AC_CHECK_LIB(python2.3,Py_Initialize,[
 -                      ABI_GYPSY_LDFLAGS="$ABI_GYPSY_LDFLAGS -lpython2.3"
-+              AC_CHECK_LIB(python2.4,Py_Initialize,[
-+                      ABI_GYPSY_LDFLAGS="$ABI_GYPSY_LDFLAGS -lpython2.4"
++              AC_CHECK_LIB(python,Py_Initialize,[
++                      ABI_GYPSY_LDFLAGS="$ABI_GYPSY_LDFLAGS -lpython"
                        ABI_PLUGIN_REPORT([gypsython: okay])
                ],[     ABI_PLUGIN_REPORT([gypsython: error - Python library not found])
                        abi_plugin_disable=yes
@@ -44,7 +44,7 @@
  #include "xap_Frame.h"
  
 -#include <python2.3/Python.h>
-+#include <python2.4/Python.h>
++#include <Python.h>
   
   
   
This page took 0.245503 seconds and 4 git commands to generate.