]>
Commit | Line | Data |
---|---|---|
626b3a80 MB |
1 | --- gedit-2.23.92/configure.ac~ 2008-09-12 23:25:45.000000000 +0200 |
2 | +++ gedit-2.23.92/configure.ac 2008-09-12 23:29:40.082029119 +0200 | |
3 | @@ -220,31 +220,6 @@ | |
4 | AC_SUBST([PYTHON_LIB_LOC]) | |
5 | AC_SUBST([PYTHON_CFLAGS]) | |
6 | AC_SUBST([PYTHON_EXTRA_LIBS]) | |
7 | - | |
8 | - dnl FIXME: do we really need this test? | |
9 | - AC_MSG_CHECKING([whether we can build a shared library depending on libpython]) | |
10 | - rm -rf testpython | |
11 | - mkdir testpython | |
12 | - cd testpython | |
13 | - cat > testpython.c <<EOF | |
14 | -#include <Python.h> | |
15 | -int testpython (void) | |
16 | -{ | |
17 | -Py_Exit (0); | |
18 | -} | |
19 | -EOF | |
20 | - | |
21 | - if /bin/sh ../libtool --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c >/dev/null 2>&1 && \ | |
22 | - /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 && \ | |
23 | - grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then | |
24 | - result=yes | |
25 | - else | |
26 | - result=no | |
27 | - have_python=no | |
28 | - fi | |
29 | - cd .. | |
30 | - rm -rf testpython | |
31 | - AC_MSG_RESULT([$result]) | |
32 | fi | |
33 | ||
34 | if test "x$have_python" != "xyes"; then |