changeset 108266:b62300b6aaea

Let configure handle ranlib. * oldXMenu/Makefile.in (RANLIB): Let configure set it. (libXMenu11.a): configure sets RANLIB = : on systems without it.
author Glenn Morris <rgm@gnu.org>
date Thu, 06 May 2010 00:29:09 -0700
parents 39e86d46390a
children 16386d4adba0
files oldXMenu/ChangeLog oldXMenu/Makefile.in
diffstat 2 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/oldXMenu/ChangeLog	Thu May 06 00:24:18 2010 -0700
+++ b/oldXMenu/ChangeLog	Thu May 06 00:29:09 2010 -0700
@@ -1,5 +1,8 @@
 2010-05-06  Glenn Morris  <rgm@gnu.org>
 
+	* Makefile.in (RANLIB): Let configure set it.
+	(libXMenu11.a): configure sets RANLIB = : on systems without it.
+
 	* Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
 	(STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
 
--- a/oldXMenu/Makefile.in	Thu May 06 00:24:18 2010 -0700
+++ b/oldXMenu/Makefile.in	Thu May 06 00:29:09 2010 -0700
@@ -55,7 +55,7 @@
 CFLAGS=@CFLAGS@
 TAGS = etags
 RM = rm -f
-RANLIB = ranlib
+RANLIB = @RANLIB@
 # Solaris 2.1 ar doesn't accept the 'l' option.
 AR = ar cq
 
@@ -97,11 +97,7 @@
 libXMenu11.a: $(OBJS) $(EXTRA)
 	$(RM) $@
 	$(AR) $@ $(OBJS) $(EXTRA)
-	@echo Do not be alarmed if the following ranlib command
-	@echo fails due to the absence of a ranlib program on your system.
-	-$(RANLIB) $@ || true
-#If running ranlib fails, probably there is none.
-#That's ok.  So don't stop the build.
+	$(RANLIB) $@
 
 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h