* Check for patch (NIX-59).

This commit is contained in:
Eelco Dolstra 2006-09-20 15:28:47 +00:00
parent 947e645789
commit 22d13d6ec2
2 changed files with 3 additions and 2 deletions

View file

@ -107,6 +107,7 @@ fi
NEED_PROG(curl, curl) NEED_PROG(curl, curl)
NEED_PROG(shell, sh) NEED_PROG(shell, sh)
NEED_PROG(patch, patch)
AC_PATH_PROG(xmllint, xmllint, false) AC_PATH_PROG(xmllint, xmllint, false)
AC_PATH_PROG(xsltproc, xsltproc, false) AC_PATH_PROG(xsltproc, xsltproc, false)
AC_PATH_PROG(jing, jing, false) # needed because xmllint --relaxng seems broken AC_PATH_PROG(jing, jing, false) # needed because xmllint --relaxng seems broken

View file

@ -11,7 +11,7 @@ $(DB).tar.gz:
$(DB): $(DB).tar.gz $(DB): $(DB).tar.gz
gunzip < $(srcdir)/$(DB).tar.gz | tar xvf - gunzip < $(srcdir)/$(DB).tar.gz | tar xvf -
(cd $(DB) && patch -p1) < $(srcdir)/bdb-cygwin.patch (cd $(DB) && $(patch) -p1) < $(srcdir)/bdb-cygwin.patch
have-db: have-db:
$(MAKE) $(DB) $(MAKE) $(DB)
@ -46,7 +46,7 @@ $(ATERM).tar.gz:
$(ATERM): $(ATERM).tar.gz $(ATERM): $(ATERM).tar.gz
gunzip < $(srcdir)/$(ATERM).tar.gz | tar xvf - gunzip < $(srcdir)/$(ATERM).tar.gz | tar xvf -
(cd $(ATERM) && patch -p1) < $(srcdir)/aterm-aliasing.patch (cd $(ATERM) && $(patch) -p1) < $(srcdir)/aterm-aliasing.patch
have-aterm: have-aterm:
$(MAKE) $(ATERM) $(MAKE) $(ATERM)