]> git.pld-linux.org Git - packages/gedit.git/commitdiff
- merged from DEVEL auto/th/gedit2-2_24_0-1 auto/ti/gedit2-2_24_0-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 9 Oct 2008 20:44:09 +0000 (20:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gedit2-python.patch -> 1.2

gedit2-python.patch [new file with mode: 0644]

diff --git a/gedit2-python.patch b/gedit2-python.patch
new file mode 100644 (file)
index 0000000..f3bc7e1
--- /dev/null
@@ -0,0 +1,34 @@
+--- gedit-2.23.92/configure.ac~        2008-09-12 23:25:45.000000000 +0200
++++ gedit-2.23.92/configure.ac 2008-09-12 23:29:40.082029119 +0200
+@@ -220,31 +220,6 @@
+       AC_SUBST([PYTHON_LIB_LOC])
+       AC_SUBST([PYTHON_CFLAGS])
+       AC_SUBST([PYTHON_EXTRA_LIBS])
+-
+-      dnl FIXME: do we really need this test?
+-      AC_MSG_CHECKING([whether we can build a shared library depending on libpython])
+-      rm -rf testpython
+-      mkdir testpython
+-      cd testpython
+-      cat > testpython.c <<EOF
+-#include <Python.h>
+-int testpython (void)
+-{
+-Py_Exit (0);
+-}
+-EOF
+-
+-      if /bin/sh ../libtool --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c >/dev/null 2>&1 && \
+-              /bin/sh ../libtool --mode=link ${CC} -o testpython.la -rpath `pwd` -module -avoid-version -no-undefined $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS $PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
+-              grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
+-              result=yes
+-      else
+-              result=no
+-              have_python=no
+-      fi
+-      cd ..
+-      rm -rf testpython
+-      AC_MSG_RESULT([$result])
+ fi
+ if test "x$have_python" != "xyes"; then
This page took 0.134938 seconds and 4 git commands to generate.