diff m4/acinclude.m4 @ 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
parents d1751eee9a42
children a8cfbc1911e4
line wrap: on
line diff
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -158,7 +158,7 @@
         #include <Qsci/qsciglobal.h>
         ]], [[
         #if QSCINTILLA_VERSION < 0x020600
-          Old Form Found;
+        #error Old FindFirst function found.
         #endif
         ]])],
       octave_cv_func_findfirst_modern=yes,
@@ -236,7 +236,7 @@
         #include <Qt/qglobal.h>
         ]], [[
         #if QT_VERSION < 0x040700
-          No SetPlacholderText function available;
+        #error No SetPlacholderText function available.
         #endif
         ]])],
       octave_cv_func_setplaceholdertext=yes,