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
4 AC_SUBST([PYTHON_LIB_LOC])
5 AC_SUBST([PYTHON_CFLAGS])
6 AC_SUBST([PYTHON_EXTRA_LIBS])
8 - dnl FIXME: do we really need this test?
9 - AC_MSG_CHECKING([whether we can build a shared library depending on libpython])
13 - cat > testpython.c <<EOF
15 -int testpython (void)
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
31 - AC_MSG_RESULT([$result])
34 if test "x$have_python" != "xyes"; then