summaryrefslogtreecommitdiff
path: root/gnu/lib/libgmp/mpz
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-11-04 13:15:33 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-11-04 13:15:33 +0000
commit63e0bb54084bafb7f85c656131bff21559b7300b (patch)
tree2ef32e97167063517b41cc09c27945a05f2938ec /gnu/lib/libgmp/mpz
parent5ad50bbfb6dc3ce5fd0b2caf4c60e37984337a34 (diff)
GLOBAL_AUTCONF_CACHE
Diffstat (limited to 'gnu/lib/libgmp/mpz')
-rw-r--r--gnu/lib/libgmp/mpz/Makefile.bsd-wrapper16
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/lib/libgmp/mpz/Makefile.bsd-wrapper b/gnu/lib/libgmp/mpz/Makefile.bsd-wrapper
index eae43929598..62ee243ae63 100644
--- a/gnu/lib/libgmp/mpz/Makefile.bsd-wrapper
+++ b/gnu/lib/libgmp/mpz/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1997/06/24 21:28:30 provos Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.2 1997/11/04 13:15:32 kstailey Exp $
GNUCFLAGS= CFLAGS="${CFLAGS} ${COPTS}"
@@ -7,14 +7,24 @@ all: config.status
.FORCE: .IGNORE
+.include <bsd.own.mk>
+
+.ifdef GLOBAL_AUTOCONF_CACHE
+CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
+.else
+CF=
+.endif
+
config: .FORCE
+.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
+.endif
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
- --prefix=/usr --local-prefix=/usr
+ --prefix=/usr --local-prefix=/usr ${CF}
config.status: Makefile.in configure
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
- --prefix=/usr --local-prefix=/usr && touch config.status
+ --prefix=/usr --local-prefix=/usr ${CF} && touch config.status
clean cleandir:
-@if [ -e Makefile ]; then ${MAKE} distclean; fi