Mercurial > hg > octave-nkf
diff libgui/src/m-editor/file-editor-tab.h @ 16291:c22a6cecaedd
build: Use AMCOND to build GUI editor if Qscintilla available.
* configure.ac: Add new AMCOND_HAVE_QSCINTILLA Automake Conditional.
* libgui/src/m-editor/file-editor-interface.h,
libgui/src/m-editor/file-editor-tab.h, libgui/src/m-editor/file-editor.h,
libgui/src/m-editor/find-dialog.h, libgui/src/m-editor/lexer-octave-gui.h:
Remove '#ifdef HAVE_QSCINTILLA' declarations
* libgui/src/module.mk: Check AMCOND_HAVE_QSCINTILLA before adding
GUI editor files to octave_gui_MOC variable.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 12 Mar 2013 19:03:07 -0700 |
parents | d07aeecb2d22 |
children | f482302d81c9 |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.h +++ b/libgui/src/m-editor/file-editor-tab.h @@ -23,8 +23,6 @@ #ifndef FILEEDITORTAB_H #define FILEEDITORTAB_H -#ifdef HAVE_QSCINTILLA - #include <Qsci/qsciscintilla.h> #include <QWidget> #include <QCloseEvent> @@ -158,6 +156,4 @@ QRect _find_dialog_geometry; }; -#endif // HAVE_QSCINTILLA - -#endif // FILEEDITORTAB_H +#endif // FILEEDITORTAB_H