GNU Emacs 23: Use Apple-GCC on Darwin.

svn path=/nixpkgs/trunk/; revision=33919
This commit is contained in:
Ludovic Courtès 2012-04-25 14:21:41 +00:00
parent 32d84a2338
commit 75f636067e

View File

@ -6569,6 +6569,13 @@ let
};
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
libXaw = if stdenv.isDarwin then xlibs.libXaw else null;
Xaw3d = null;