From 6167c043786e1e453adf6b6a63d977a22c869b45 Mon Sep 17 00:00:00 2001 From: bdc Date: Thu, 2 Nov 1995 01:45:35 +0000 Subject: [PATCH] ranlib fixes --- Makefile.in | 14 +++----------- configure.in | 3 ++- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/Makefile.in b/Makefile.in index 029549a..7f5257e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,7 +21,7 @@ LDFLAGS_AIX= @LDFLAGS_AIX@ RM = rm -f AR = @AR@ -RANLIB = ranlib +RANLIB = @RANLIB@ SHELL = /bin/sh @@ -182,11 +182,7 @@ $(LIBCIG): main.o $(OBJS) # $(CC) -r -o $@ main.o $(OBJS) $(RM) $@ $(AR) $@ main.o $(OBJS) - @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) $@ main.o: main.c $(CC) -c -o $@ -DDEFAULT_IMAGE_NAME=\"$(LIB)/scsh.image\" \ @@ -684,11 +680,7 @@ scsh/regexp/libregexp.a: echo \(scsh-do-it \"$<\" \"/homes/bdc/tmp\" \"$@\" \ \"$(CC) -c\" \"$(AR)\" \)) \ | ./$(VM) -o ./$(VM) -h 4000000 -i scsh/scsh.image - @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) $@ .a.vm: $(CC) $(LDFLAGS) -o $@ smain.o $< $(OBJS) $(LIBS) diff --git a/configure.in b/configure.in index 6f7f29e..91d4fab 100644 --- a/configure.in +++ b/configure.in @@ -188,8 +188,9 @@ AC_CONFIG_HEADER(sysdep.h) AC_CANONICAL_HOST AC_PROG_CC -AC_ISC_POSIX AC_PROG_INSTALL +AC_PROG_RANLIB +AC_ISC_POSIX AC_C_CONST AC_C_BIGENDIAN