ranlib fixes

This commit is contained in:
bdc 1995-11-02 01:45:35 +00:00
parent e43cea328d
commit 6167c04378
2 changed files with 5 additions and 12 deletions

View File

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

View File

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