display warnings if autoconf version differs.

This commit is contained in:
espie 2007-03-30 13:55:07 +00:00
parent 949afb38a5
commit 5bc25e411a

View File

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