[yoda-svn] yoda: attempted fix for new python m4 Macports issue

YODA Mercurial yoda at projects.hepforge.org
Wed Sep 14 14:15:01 BST 2016


details:   https://yoda.hepforge.org/hg/yoda/rev/230b678b3e43
branches:  release-1-6
changeset: 1293:230b678b3e43
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Wed Sep 14 14:08:39 2016 +0100
description:
attempted fix for new python m4 Macports issue

diffs (22 lines):

--- a/m4/ax_python_devel.m4	Tue Sep 06 12:49:36 2016 +0100
+++ b/m4/ax_python_devel.m4	Wed Sep 14 14:08:39 2016 +0100
@@ -274,11 +274,14 @@
 	# linking flags needed when embedding
 	#
 	AC_MSG_CHECKING(python extra linking flags)
-	if test -z "$PYTHON_EXTRA_LIBS"; then
-		PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
-			conf = distutils.sysconfig.get_config_var; \
-			print (conf('LINKFORSHARED'))"`
-	fi
+dnl
+dnl removed by dg to try to fix the issue described in https://trac.macports.org/ticket/39223 
+dnl
+dnl	if test -z "$PYTHON_EXTRA_LIBS"; then
+dnl		PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
+dnl			conf = distutils.sysconfig.get_config_var; \
+dnl			print (conf('LINKFORSHARED'))"`
+dnl	fi
 	AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
 	AC_SUBST(PYTHON_EXTRA_LIBS)
 


More information about the yoda-svn mailing list