Mercurial > hg > octave-jordi
diff configure.ac @ 15295:43e484fa7e42
build: Clean up configure macros for building GUI.
* configure.ac: Don't bother to define HAVE_QSCINTILLA.
* m4/acinclude.m4: use #error function of CPP rather than relying on malformed
C code.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 04 Sep 2012 18:24:37 -0700 (2012-09-05) |
parents | 637e3b7d6a56 |
children | f19d0bce85da |
line wrap: on
line diff
--- a/configure.ac +++ b/configure.ac @@ -2231,10 +2231,7 @@ LIBS="$save_LIBS" AC_LANG_POP([C++]) ]) - if test $octave_cv_lib_qscintilla = "yes"; then - AC_DEFINE(HAVE_QSCINTILLA, 1, - [Define to 1 if you the Qscintilla library is available.]) - else + if test $octave_cv_lib_qscintilla = "no"; then AC_MSG_ERROR([Qscintilla library is required to build the GUI]) fi