00001 00002 // MathCore = a WYSIWYG equation editor + a powerful math engine // 00003 // Copyright (C) 2003 by Francesco Montorsi // 00004 // // 00005 // This library is free software; you can redistribute it and/or // 00006 // modify it under the terms of the GNU Lesser General Public // 00007 // License as published by the Free Software Foundation; either // 00008 // version 2.1 of the License, or (at your option) any later // 00009 // version. // 00010 // // 00011 // This library is distributed in the hope that it will be useful, // 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of // 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // 00014 // GNU Lesser General Public License for more details. // 00015 // // 00016 // You should have received a copy of the GNU Lesser General Public // 00017 // License along with this program; if not, write to the Free // 00018 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, // 00019 // MA 02111-1307, USA. // 00020 // // 00021 // For any comment, suggestion or feature request, please contact // 00022 // the administrator of the project at frm@users.sourceforge.net // 00023 // // 00025 00026 00027 00028 // this is generated automatically by configure script with autoconf... 00029 // we cannot embed all the stuff of this file into it... 00030 #include "mg/config.h" 00031 00032 // sanity check 00033 #ifndef mgVERSION_STRING 00034 #error The config.h file is not valid ! 00035 #endif 00036 00037 00038 00039 00040 // Conditional compilation 00041 // ----------------------- 00042 00043 #define mgMATHMENU_USE_OLDABOUT 00044 00045 00046 00047 00048 // External libraries dependencies 00049 // ------------------------------- 00050 00051 /* Without keybinder, MathGUI currently does not compile. */ 00052 #ifndef mgDISABLE_KEYBINDER 00053 #define mgUSE_KEYBINDER 00054 #endif 00055 00056 /* Without wxPaletteFrame, MathGUI uses wxMiniFrame instead. */ 00057 #ifndef mgDISABLE_PALETTEFRM 00058 #define mgUSE_PALETTEFRM 00059 #endif 00060 00061 00062 00063 00064 // Debug mode macros 00065 // ----------------- 00066 00067 /* If defined, various log messages will be sent using the mgLog function. */ 00068 #ifdef __MGDEBUG__ 00069 #define mgENABLE_LOG 00070 #endif 00071 00072 00073 00074 00075 // VERSION CONTROL - "inspired" from wxWidgets' one 00076 // ---------------------------------------------------- 00077 00078 /* check if the current version is at least major.minor.release */ 00079 #define mgCHECK_VERSION(major,minor,release) \ 00080 (mgMAJOR_VERSION > (major) || \ 00081 (mgMAJOR_VERSION == (major) && mgMINOR_VERSION > (minor)) || \ 00082 (mgMAJOR_VERSION == (major) && mgMINOR_VERSION == (minor) && \ 00083 mgRELEASE_NUMBER >= (release))) 00084
[ Top ] |