emacs: fix head build

Emacs HEAD no longer provides autogen/copy_autogen

Closes Homebrew/homebrew#23994.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Marten Veldthuis 2013-11-05 14:24:12 +01:00 committed by Adam Vandenberg
parent 748149ec04
commit aac7d39345

View file

@ -63,10 +63,7 @@ class Emacs < Formula
args << '--without-gnutls'
end
# See: https://github.com/mxcl/homebrew/issues/4852
if build.head? and File.exists? "./autogen/copy_autogen"
system "autogen/copy_autogen"
end
system "./autogen.sh" if build.head?
if build.include? "cocoa"
# Patch for color issues described here: