In article <[EMAIL PROTECTED]>
        Brian Fundakowski Feldman <[EMAIL PROTECTED]> said:
>> 1. /usr/libexec/cpp now has no predefined symbols like __FreeBSD__,
>>    which makes imake unable to detect OS type automatically.
>
>I'm certain XFree86 should build using gcc -E and not the C preprocessor
>itself.

Well, then, correct fix to imake should be as follows:

Index: config/imake/imakemdep.h
===================================================================
RCS file: /usr/local/cvs/xfree86/xc/config/imake/imakemdep.h,v
retrieving revision 1.1.1.5
diff -u -u -r1.1.1.5 imakemdep.h
--- imakemdep.h 1999/09/05 14:53:23     1.1.1.5
+++ imakemdep.h 1999/11/20 14:21:23
@@ -269,8 +269,11 @@
 #ifdef _CRAY
 #define DEFAULT_CPP "/lib/pcpp"
 #endif
-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || 
defined(__FreeBSD__)
+#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 #define DEFAULT_CPP "/usr/libexec/cpp"
+#endif
+#if defined(__FreeBSD__)
+#define USE_CC_E
 #endif
 #if defined(__sgi) && defined(__ANSI_CPP__)
 #define USE_CC_E

-- 
さねを <URL:mailto:[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to