GNU Emacs 23: Use Apple-GCC on Darwin.
svn path=/nixpkgs/trunk/; revision=33919
This commit is contained in:
parent
32d84a2338
commit
75f636067e
@ -6569,6 +6569,13 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
emacs23 = callPackage ../applications/editors/emacs-23 {
|
emacs23 = callPackage ../applications/editors/emacs-23 {
|
||||||
|
stdenv =
|
||||||
|
if stdenv.isDarwin
|
||||||
|
/* On Darwin, use Apple-GCC, otherwise:
|
||||||
|
configure: error: C preprocessor "cc -E -no-cpp-precomp" fails sanity check */
|
||||||
|
then overrideGCC stdenv gccApple
|
||||||
|
else stdenv;
|
||||||
|
|
||||||
# use override to select the appropriate gui toolkit
|
# use override to select the appropriate gui toolkit
|
||||||
libXaw = if stdenv.isDarwin then xlibs.libXaw else null;
|
libXaw = if stdenv.isDarwin then xlibs.libXaw else null;
|
||||||
Xaw3d = null;
|
Xaw3d = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user