diff options
author | Johnathan Corgan | 2010-07-29 16:14:00 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-07-29 16:14:00 -0700 |
commit | c76f5838e370ae71ec10d7eba0d30466a2caf73b (patch) | |
tree | 60168c9dc987b2174f7f12286ef5380926c26e8c | |
parent | 9df7bb4aafc6196f15d2d2b4f4458368c6a685e8 (diff) | |
parent | b128f6e083deadf39c51a9ab1c2623bdab0a0c02 (diff) | |
download | gnuradio-c76f5838e370ae71ec10d7eba0d30466a2caf73b.tar.gz gnuradio-c76f5838e370ae71ec10d7eba0d30466a2caf73b.tar.bz2 gnuradio-c76f5838e370ae71ec10d7eba0d30466a2caf73b.zip |
Merge branch 'maint'
* maint:
Fixes ./configure to allow grc to build without an X session
-rw-r--r-- | config/gr_python.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/gr_python.m4 b/config/gr_python.m4 index 43ccfc015..7aef1662e 100644 --- a/config/gr_python.m4 +++ b/config/gr_python.m4 @@ -153,14 +153,16 @@ AC_DEFUN([PYTHON_CHECK_MODULE],[ try: import $1 assert $5 -except: exit(1)' +except ImportError, AssertionError: exit(1) +except: pass' dnl ######################################## dnl # import checking only dnl ######################################## else python_cmd=' try: import $1 -except: exit(1)' +except ImportError: exit(1) +except: pass' fi if ! $PYTHON -c "$python_cmd" 2> /dev/null; then AC_MSG_RESULT([no]) |