From: Andrew B. <ab...@ee...> - 2001-12-29 01:49:02
|
I'm trying to configure XEmacs with MSYS. Part of the configure script does this: cat > $tempcname < confdefs.h cat >> $tempcname <<EOF #define NOT_C_CODE #define C_SWITCH_SITE #define C_SWITCH_X_SITE #define LD_SWITCH_SITE #define LD_SWITCH_X_SITE #define LD_SWITCH_X_SITE_AUX #define OS_RELEASE $os_release #ifdef config_opsysfile #include "$srcdir/src/$opsysfile" #endif #ifdef config_machfile #include "$srcdir/src/$machfile" #endif Where $srcdir is an MSYS path. It's put directly into a #include and then passed to MinGW's gcc. But gcc can't read MSYS paths when found in #includes.=20 Is there a good way to rewrite this form to work in MSYS? Andy |