From a92cb89b5529728d9fce781aff85916b3879fbdd Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 15 Apr 2011 13:09:55 -0700 Subject: grc: added logic to discover the path to the python interpreter Rather than simply exec-ing the application w/ "python", use the same interpreter that executed grc w/ full path. Added code to handle the following exceptions: - for a wx app on mac osx, use the pythonw interpreter (this was in the m4 file, but its easier as a runtime check) - for a no gui app on linux, prepend xterm cuz its nice (we were already doing that but its now restricted to linux) --- config/grc_grc.m4 | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'config/grc_grc.m4') diff --git a/config/grc_grc.m4 b/config/grc_grc.m4 index c21acccff..0474c4e89 100644 --- a/config/grc_grc.m4 +++ b/config/grc_grc.m4 @@ -34,17 +34,6 @@ AC_DEFUN([GRC_GRC],[ PYTHON_CHECK_MODULE([numpy],[NumPy],[],[passed=no],[True]) fi - dnl ######################################## - dnl # platform dependency pythonw - dnl ######################################## - dnl FIXME: move this test to Python config m4 - if test `${PYTHON} -c "import sys; print sys.platform"` = 'darwin'; then - PYTHONW=pythonw - else - PYTHONW=python - fi - AC_SUBST(PYTHONW) - AC_CONFIG_FILES([ \ grc/Makefile \ grc/base/Makefile \ -- cgit