diff options
| author | Glenn Morris | 2010-05-12 20:52:07 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-12 20:52:07 -0700 |
| commit | 472c5d6b4488f3214992db8126e6238255b65a40 (patch) | |
| tree | a79eeeac51174862b9844fffd5cf214e5888cb78 /src | |
| parent | 0116466b56b2cfee2f4e4bdf2aaa17a9ad0f56ea (diff) | |
| download | emacs-472c5d6b4488f3214992db8126e6238255b65a40.tar.gz emacs-472c5d6b4488f3214992db8126e6238255b65a40.zip | |
Let configure set OLDXMENU, LIBXMENU if !HAVE_MENUS.
* configure.in (OLDXMENU, LIBXMENU): Set to empty if !HAVE_MENUS.
* src/Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]:
Let configure set these variables (to empty) in this case as well.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 10 |
2 files changed, 4 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0afd7265922..a95c5b06f09 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-05-13 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-13 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]: | ||
| 4 | Let configure set these variables (to empty) in this case as well. | ||
| 5 | |||
| 3 | * Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp. | 6 | * Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp. |
| 4 | (LIBX_BASE): Use $LD_SWITCH_X_SITE. | 7 | (LIBX_BASE): Use $LD_SWITCH_X_SITE. |
| 5 | 8 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index 1df4d562551..bbc598c3391 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -289,20 +289,12 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS) | |||
| 289 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< | 289 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< |
| 290 | 290 | ||
| 291 | #ifdef HAVE_X_WINDOWS | 291 | #ifdef HAVE_X_WINDOWS |
| 292 | /* This test needs to say in cpp for the time being, since s/msdos.h | ||
| 293 | defines HAVE_MENUS, and does not use the configure script. */ | ||
| 294 | #ifdef HAVE_MENUS | ||
| 295 | OLDXMENU=@OLDXMENU@ | 292 | OLDXMENU=@OLDXMENU@ |
| 296 | LIBXMENU=@LIBXMENU@ | 293 | LIBXMENU=@LIBXMENU@ |
| 297 | #else /* not HAVE_MENUS */ | ||
| 298 | OLDXMENU= | ||
| 299 | LIBXMENU= | ||
| 300 | #endif /* not HAVE_MENUS */ | ||
| 301 | |||
| 302 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) | 294 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) |
| 303 | LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) | 295 | LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) |
| 304 | LIBX_OTHER=@LIBX_OTHER@ | 296 | LIBX_OTHER=@LIBX_OTHER@ |
| 305 | #endif /* not HAVE_X_WINDOWS */ | 297 | #endif /* HAVE_X_WINDOWS */ |
| 306 | 298 | ||
| 307 | 299 | ||
| 308 | /* A macro which other sections of Makefile can redefine to munge the | 300 | /* A macro which other sections of Makefile can redefine to munge the |