gucharmap r1941 - branches/gnome-2-24



Author: chpe
Date: Mon Oct 27 14:58:20 2008
New Revision: 1941
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1941&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:
   branches/gnome-2-24/configure.ac

Modified: branches/gnome-2-24/configure.ac
==============================================================================
--- branches/gnome-2-24/configure.ac	(original)
+++ branches/gnome-2-24/configure.ac	Mon Oct 27 14:58:20 2008
@@ -178,28 +178,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]