From da6af1f5b2ec5a42a8271a0bea72e632fe3e4cce Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Sat, 19 Jan 2008 17:39:50 +0000 Subject: [PATCH] Applied niks-'s patch for Makefile.am Originally committed to SVN as r1781. --- aegisub/Makefile.am | 2 +- aegisub/win32/config0.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/aegisub/Makefile.am b/aegisub/Makefile.am index 6156e3788..3eeb472ef 100644 --- a/aegisub/Makefile.am +++ b/aegisub/Makefile.am @@ -13,7 +13,7 @@ DARCSREV := $(strip $(shell head -n 1 ../_darcs/inventory 2>/dev/null)) REVISION := $(if $(SVNREV),-DBUILD_SVN_REVISION=$(SVNREV)) $(if $(DARCSREV),-DBUILD_DARCS) BUILDINFO := -DBUILD_CREDIT="\"$(shell whoami)\"" $(REVISION) -AM_CPPFLAGS = -DAEGISUB -Iposix -include posix/defines.h $(BUILDINFO) +AM_CPPFLAGS = -DAEGISUB -Iposix -include posix/defines.h -include posix/config.h $(BUILDINFO) aegisub_LDADD = posix/libposix.a ../csri/lib/.libs/libcsri.a aegisub_LDFLAGS = diff --git a/aegisub/win32/config0.h b/aegisub/win32/config0.h index 1c7711105..3776ff22b 100644 --- a/aegisub/win32/config0.h +++ b/aegisub/win32/config0.h @@ -38,7 +38,9 @@ // Build credit: Set this to a string with your name as you want it to appear on the program +#ifndef BUILD_CREDIT #define BUILD_CREDIT "Anonymous" +#endif ////////////// HIGH PRIORITY /////////////