changeset 62066:62b28da0d290

(c-macro-preprocessor): Update for BSD and use gcc instead of cpp.
author Nick Roberts <nickrob@snap.net.nz>
date Wed, 04 May 2005 20:44:54 +0000
parents 115b0152e8bb
children bee2af4a7427
files lisp/progmodes/cmacexp.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cmacexp.el	Wed May 04 20:44:02 2005 +0000
+++ b/lisp/progmodes/cmacexp.el	Wed May 04 20:44:54 2005 +0000
@@ -118,7 +118,7 @@
 	      (file-exists-p "/opt/SUNWspro/SC3.0.1/bin/acomp"))
 	 "/opt/SUNWspro/SC3.0.1/bin/acomp -C -E")
         ((file-exists-p "/usr/ccs/lib/cpp") "/usr/ccs/lib/cpp -C")
-	((eq system-type 'darwin) "cpp -C")
+	((memq system-type '(darwin berkeley-unix)) "gcc -E -C -")
 	(t "/lib/cpp -C"))
   "The preprocessor used by the cmacexp package.