]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-macro-preprocessor): Update for BSD and
authorNick Roberts <nickrob@snap.net.nz>
Wed, 4 May 2005 20:44:54 +0000 (20:44 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Wed, 4 May 2005 20:44:54 +0000 (20:44 +0000)
use gcc instead of cpp.

lisp/progmodes/cmacexp.el

index 2e8b2bc900694575d586472dc9a572c15088388a..28d988961a604df5f95bf3bc3d9fb6f4ea8ff6f1 100644 (file)
              (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.