I've just tried to compile the qt2 frontend, but gave up when I discovered 
that config.h now changes when configuring for the different frontends

I realise that it's daft to test for stuff that's not used, but feel that 
it's also daft to have to re-build my entire tree when changing frontends. 
Sort of defeats GUI-I in my view!

Would it be possible to generate gui-specific files
        src/frontends/xforms/config.h
        src/frontends/qt2/config.h
etc? All the necessary macros are now bundled in xforms.m4, qt2.m4 so it 
seems as if this is possible.

Incidentally, these config files suggest that we're testing twice for 
XPM_H_LOCATION, FORMS_H_LOCATION, USE_XFORMS_IMAGE_LOADER

Regards,
Angus

--- configxforms.h      Wed Aug 21 13:31:33 2002
+++ configqt2.h Wed Aug 21 13:26:09 2002
@@ -118,10 +118,10 @@
 /* #undef HAVE_FGETS_UNLOCKED */

 /* Define if you have the flimage_enable_jpeg function.  */
-#define HAVE_FLIMAGE_ENABLE_JPEG 1
+/* #undef HAVE_FLIMAGE_ENABLE_JPEG */

 /* Define if you have the flimage_enable_ps function.  */
-#define HAVE_FLIMAGE_ENABLE_PS 1
+/* #undef HAVE_FLIMAGE_ENABLE_PS */

 /* Define if you have the getcwd function.  */
 #define HAVE_GETCWD 1
@@ -324,22 +324,22 @@
 /* #undef USE_PSPELL */

 /* define this to the location of xpm.h to be used with #include, e.g. 
<xpm.h>
*/
-#define XPM_H_LOCATION <xpm.h>
+/* #undef XPM_H_LOCATION */

 /* define this to the location of forms.h to be used with #include, e.g. 
<forms.h> */
-#define FORMS_H_LOCATION <forms.h>
+/* #undef FORMS_H_LOCATION */

 /* Define if you want to use xforms built-in image loader */
-#define USE_XFORMS_IMAGE_LOADER 1
+/* #undef USE_XFORMS_IMAGE_LOADER */

 /* define this to the location of xpm.h to be used with #include, e.g. 
<xpm.h>
*/
-#define XPM_H_LOCATION <xpm.h>
+/* #undef XPM_H_LOCATION */

 /* define this to the location of forms.h to be used with #include, e.g. 
<forms.h> */
-#define FORMS_H_LOCATION <forms.h>
+/* #undef FORMS_H_LOCATION */

 /* Define if you want to use xforms built-in image loader */
-#define USE_XFORMS_IMAGE_LOADER 1
+/* #undef USE_XFORMS_IMAGE_LOADER */

Reply via email to