From 5bc25e411a37c8f960b9ee04930e1d4048b6a478 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 30 Mar 2007 13:55:07 +0000 Subject: [PATCH] display warnings if autoconf version differs. --- infrastructure/mk/gnu.port.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infrastructure/mk/gnu.port.mk b/infrastructure/mk/gnu.port.mk index b4aa1b57b01..9b80ad2d60b 100644 --- a/infrastructure/mk/gnu.port.mk +++ b/infrastructure/mk/gnu.port.mk @@ -1,6 +1,6 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: gnu.port.mk,v 1.31 2006/12/02 00:10:24 espie Exp $ +# $OpenBSD: gnu.port.mk,v 1.32 2007/03/30 13:55:07 espie Exp $ # Based on bsd.port.mk, originally by Jordan K. Hubbard. # This file is in the public domain. @@ -96,6 +96,9 @@ _MODGNU_loop += echo "Running autoupdate-${AUTOCONF_VERSION} in $$d"; _MODGNU_loop += ${_SYSTRACE_CMD} ${SETENV} ${AUTOCONF_ENV} ${AUTOUPDATE}; . endif . if ${CONFIGURE_STYLE:L:Mautoconf} +_MODGNU_loop += grep -iq 'Generated by.*autoconf.*${AUTOCONF_VERSION}' $$d/configure || { \ + echo ">>> Can't find autoconf ${AUTOCONF_VERSION} signature in $$d/configure:"; \ + grep -i 'Generated by.*autoconf' $$d/configure; }; _MODGNU_loop += echo "Running autoconf-${AUTOCONF_VERSION} in $$d"; _MODGNU_loop += ${_SYSTRACE_CMD} ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}; . if ${CONFIGURE_STYLE:L:Mautoheader}