From: Glenn Morris Date: Thu, 6 May 2010 07:29:09 +0000 (-0700) Subject: Let configure handle ranlib. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~262 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e49dca3dd47ecfbf821196272fc2b5906a92c2d6;p=emacs.git Let configure handle ranlib. * oldXMenu/Makefile.in (RANLIB): Let configure set it. (libXMenu11.a): configure sets RANLIB = : on systems without it. --- diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog index 365ff1f98a9..b17a3b2eda9 100644 --- a/oldXMenu/ChangeLog +++ b/oldXMenu/ChangeLog @@ -1,5 +1,8 @@ 2010-05-06 Glenn Morris + * 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. diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in index b1d6ea5d814..5e2e2f6fb9d 100644 --- a/oldXMenu/Makefile.in +++ b/oldXMenu/Makefile.in @@ -55,7 +55,7 @@ CC=@CC@ 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 @@ ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \ 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