Changeset 62e51f in git for m4/ax_python_devel.m4
- Timestamp:
- Aug 29, 2013, 11:21:02 PM (10 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- c43ab090c8ddfd806239f1a22762fa741b0864e7d51d87d0caa9eca085b3c3b0f09205679669ddf1
- Parents:
- b7f0f6186eab1c696b147ac57fcbd516815f9824
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-29 23:21:02+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-30 00:24:51+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/ax_python_devel.m4
rb7f0f6 r62e51f 271 271 AC_MSG_RESULT([$PYTHON_EXTRA_LIBS]) 272 272 AC_SUBST(PYTHON_EXTRA_LIBS) 273 274 # 275 # linking flags needed when embedding 273 274 # 275 # linking flags needed when embedding: LINKFORSHARED is buggy on OSX see http://bugs.python.org/issue3588 and http://stackoverflow.com/questions/6490513/vim-failing-to-compile-with-python-on-os-x 276 276 # 277 277 AC_MSG_CHECKING(python extra linking flags) 278 278 if test -z "$PYTHON_EXTRA_LDFLAGS"; then 279 PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ 280 conf = distutils.sysconfig.get_config_var; \ 281 print (conf('LINKFORSHARED'))"` 279 PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig;conf=distutils.sysconfig.get_config_var; l=conf('LINKFORSHARED'); \ 280 print(l if l!='-u _PyMac_Error Python.framework/Versions/2.7/Python' else '-u _PyMac_Error -framework Python -F'+conf('PYTHONFRAMEWORKPREFIX') );"` 282 281 fi 283 282 AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS])
Note: See TracChangeset
for help on using the changeset viewer.