# HG changeset patch # User Nick Roberts # Date 1115239494 0 # Node ID 62b28da0d29079a1c0ac883759c31ebf59472714 # Parent 115b0152e8bbe8a7220afdb27713b078871292ff (c-macro-preprocessor): Update for BSD and use gcc instead of cpp. diff -r 115b0152e8bb -r 62b28da0d290 lisp/progmodes/cmacexp.el --- 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.