1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Let configure handle ranlib.

* oldXMenu/Makefile.in (RANLIB): Let configure set it.
(libXMenu11.a): configure sets RANLIB = : on systems without it.
This commit is contained in:
Glenn Morris 2010-05-06 00:29:09 -07:00
parent e3cf0cded8
commit e49dca3dd4
2 changed files with 5 additions and 6 deletions

View file

@ -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.

View file

@ -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