mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(c-macro-preprocessor): Use "gcc -E" for
MS-DOS, since cpp might not be available.
This commit is contained in:
parent
0b61e47e94
commit
883310a731
2 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2001-09-02 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* progmodes/cmacexp.el (c-macro-preprocessor): Use "gcc -E" for
|
||||
MS-DOS, since cpp might not be available.
|
||||
|
||||
* menu-bar.el (menu-bar-edit-menu) <yank-menu, yank>: Mention
|
||||
"yank" in the help-echo text. Suggested by Pavel Jan,Bm(Bk
|
||||
<Pavel@Janik.cz>.
|
||||
|
|
|
|||
|
|
@ -108,8 +108,10 @@
|
|||
:group 'c-macro)
|
||||
|
||||
(defcustom c-macro-preprocessor
|
||||
;; Cannot rely on standard directory on MS-DOS to find CPP.
|
||||
(cond ((eq system-type 'ms-dos) "cpp -C")
|
||||
;; Cannot rely on standard directory on MS-DOS to find CPP. In
|
||||
;; fact, cannot rely on having cpp.exe, either, in latest GCC
|
||||
;; versions.
|
||||
(cond ((eq system-type 'ms-dos) "gcc -E -C -o - -")
|
||||
;; Solaris has it in an unusual place.
|
||||
((and (string-match "^[^-]*-[^-]*-\\(solaris\\|sunos5\\)"
|
||||
system-configuration)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue