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

Rivet Mercurial rivet at projects.hepforge.org
Wed Sep 14 14:15:01 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/eaf6a4534a7b
branches:  release-2-5-x
changeset: 5480:eaf6a4534a7b
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Wed Sep 14 14:11:09 2016 +0100
description:
attempted fix for new python m4 Macports issue

diffs (22 lines):

--- a/m4/ax_python_devel.m4	Wed Sep 14 13:34:13 2016 +0100
+++ b/m4/ax_python_devel.m4	Wed Sep 14 14:11:09 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 Rivet-svn mailing list