From: Nick Roberts Date: Wed, 4 May 2005 20:44:54 +0000 (+0000) Subject: (c-macro-preprocessor): Update for BSD and X-Git-Tag: ttn-vms-21-2-B4~539 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb3619679085d0c69cecfed60c0763da3a3af9a6;p=emacs.git (c-macro-preprocessor): Update for BSD and use gcc instead of cpp. --- diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el index 2e8b2bc9006..28d988961a6 100644 --- a/lisp/progmodes/cmacexp.el +++ b/lisp/progmodes/cmacexp.el @@ -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.