From: Glenn Morris Date: Sun, 16 May 2010 00:30:14 +0000 (-0700) Subject: * src/Makefile.in (LIBX_BASE): Always define. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~208^2~32 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9beab9ced31b55d5f7fbed0c3651d10c64ae8af2;p=emacs.git * src/Makefile.in (LIBX_BASE): Always define. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3ead531896c..6847afcb9d6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2010-05-16 Glenn Morris + * Makefile.in (LIBX_BASE): Always define. + * Makefile.in (LIBX_OTHER): Move out of cpp section. * Makefile.in (LIBXT): Always define. diff --git a/src/Makefile.in b/src/Makefile.in index 61e2fbb671c..a55fd6ed058 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -193,6 +193,12 @@ LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) ## If HAVE_X11, $(LIBXT) $(LIBX_EXTRA), else empty. LIBX_OTHER=@LIBX_OTHER@ +## LIBXMENU is nil if !HAVE_X_WINDOWS. +## LD_SWITCH_X_SITE should not be used if not using X, but nothing +## sets it at present, and if something ever does, it should be +## configure, which should set it to nil in non-X builds. +LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) + LIBSOUND= @LIBSOUND@ CFLAGS_SOUND= @CFLAGS_SOUND@ @@ -310,9 +316,6 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS) #endif $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< -#ifdef HAVE_X_WINDOWS -LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) -#endif /* HAVE_X_WINDOWS */ /* A macro which other sections of Makefile can redefine to munge the flags before they are passed to LD. This is helpful if you have