gucharmap r1940 - trunk
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gucharmap r1940 - trunk
- Date: Mon, 27 Oct 2008 14:57:43 +0000 (UTC)
Author: chpe
Date: Mon Oct 27 14:57:43 2008
New Revision: 1940
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1940&view=rev
Log:
Remove check testing if we can link to libpython. It doesn't seem to be
used, and breaks configure with libtool 2.2.
Modified:
   trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Mon Oct 27 14:57:43 2008
@@ -181,28 +181,6 @@
   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 $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS $PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
-          grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
-          AC_MSG_RESULT([yes])
-  else
-          AC_MSG_ERROR([Can't link to libpython])
-  fi
-  cd ..
-  rm -rf testpython
-  
   PYGTK_REQUIRED=2.7.1
   PKG_CHECK_MODULES([PYGTK],[pygtk-2.0 >= $PYGTK_REQUIRED])
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]