From ae565589c53c9b2f6882b6433e0ac6eb707a619e Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 21 Nov 1996 22:00:02 +0000 Subject: [PATCH] 1) moved find-provides to autodeps 2) added requires shell script CVS patchset: 1181 CVS date: 1996/11/21 22:00:02 --- Makefile.in | 3 ++- configure.in | 17 +++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 67dd4af..a339840 100644 --- a/Makefile.in +++ b/Makefile.in @@ -33,7 +33,7 @@ NLSPACKAGE=rpm # ----------------------------------------------------------------------- SUBDIRS = misc lib build tools @PO@ -OTHERSUBDIRS = docs find-provides +OTHERSUBDIRS = docs autodeps OBJS = rpm.o query.o install.o verify.o checksig.o ftp.o url.o @GETTEXTSTUB@ PROGS = @RPMSTATIC@ rpm.shared rpm2cpio LOADLIBES = -lbuild -lrpm @LIBMISC@ @LIBS@ @ZLIB@ @LIBINTL@ @LIBSOCKET@ @LIBDL@ @@ -105,6 +105,7 @@ install: all $(INSTALL) -m 755 -o 0 -g 0 $(srcdir)/gendiff $(installprefix)/$(BINDIR) $(INSTALL) -m 755 -o 0 -g 0 $(srcdir)/find-provides.sh $(installprefix)/$(BINDIR)/find-provides + $(INSTALL) -m 755 -o 0 -g 0 $(srcdir)/find-requires.sh $(installprefix)/$(BINDIR)/find-provides $(INSTALL) -s -m 755 -o 0 -g 0 rpm2cpio $(installprefix)/$(BINDIR) $(INSTALL) -m 644 -o 0 -g 0 $(srcdir)/rpm.8 $(installprefix)/$(MANDIR) $(INSTALL) -m 644 -o 0 -g 0 $(srcdir)/rpm2cpio.8 $(installprefix)/$(MANDIR) diff --git a/configure.in b/configure.in index b373643..8c48124 100644 --- a/configure.in +++ b/configure.in @@ -165,12 +165,21 @@ else fi rm -f ./find-provides.sh -if test -f find-provides/$build_os ; then - echo "using find-provides/$build_os for automatic provides generation" - ln -s find-provides/$build_os ./find-provides.sh +if test -f autodeps/${build_os}.prov ; then + echo "using autodeps/$build_os.prov for automatic provides generation" + ln -s autodeps/${build_os}.prov ./find-provides.sh else echo "*** no default provides information is available for $build_os" - ln -s find-provides/none ./find-provides.sh + ln -s autodeps/none ./find-provides.sh +fi + +rm -f ./find-requires.sh +if test -f autodeps/${build_os}.req ; then + echo "using autodeps/$build_os.req for automatic requires generation" + ln -s autodeps/$build_os.req ./find-requires.sh +else + echo "*** no default requires information is available for $build_os" + ln -s autodeps/none ./find-requires.sh fi AC_SUBST(MISCOBJS) -- 2.7.4