# HG changeset patch # User Roland McGrath # Date 821476373 0 # Node ID 9d42246240c37374ca808e2418e15b06d0009da8 # Parent 38606398dfa62a0ed77d67c493abfe27ab133bf1 ($(OLDXMENU) rules): Fix conditionals so no rules are defined when !HAVE_MENUS. diff -r 38606398dfa6 -r 9d42246240c3 src/Makefile.in --- a/src/Makefile.in Fri Jan 12 19:44:39 1996 +0000 +++ b/src/Makefile.in Fri Jan 12 19:52:53 1996 +0000 @@ -803,8 +803,8 @@ #define LWLIB_OPTIONS #endif -#ifdef HAVE_X_WINDOWS -#ifdef HAVE_X11 +#if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS) + #ifdef USE_X_TOOLKIT $(OLDXMENU): really-lwlib @@ -828,7 +828,6 @@ @true /* make -t should not create really-lwlib. */ .PHONY: really-lwlib #else /* not USE_X_TOOLKIT */ -#ifdef HAVE_MENUS $(OLDXMENU): really-oldXMenu /* Encode the values of these two macros in Make variables, @@ -850,10 +849,8 @@ "C_SWITCH_SYSTEM=$(C_SWITCH_SYSTEM_1)" @true /* make -t should not create really-oldXMenu. */ .PHONY: really-oldXMenu -#endif /* HAVE_MENUS */ #endif /* not USE_X_TOOLKIT */ -#endif /* HAVE_X11 */ -#endif /* HAVE_X_WINDOWS */ +#endif /* HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS */ paths.h: paths.in @echo "The file paths.h needs to be set up from paths.in."