From: Razvan Becheriu Date: Thu, 20 Feb 2025 09:20:42 +0000 (+0200) Subject: [#3752] backport #3697 to 2.6.2 X-Git-Tag: Kea-2.6.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5546de9b4f88abe7c622fc3c4944320f6a5e7b10;p=thirdparty%2Fkea.git [#3752] backport #3697 to 2.6.2 --- diff --git a/configure.ac b/configure.ac index cc1b31af71..28a6c69b48 100644 --- a/configure.ac +++ b/configure.ac @@ -141,7 +141,10 @@ INCLUDED_HOOKS= PREMIUM=no PREMIUM_DIR= DISTCHECK_PREMIUM_CONFIGURE_FLAG= -AC_DEFUN([AX_PREMIUM],[]) +AC_DEFUN([AX_PREMIUM], + [if test -f premium/config.m4; then + AC_MSG_ERROR([You appear to have added premium hooks after running autoreconf. Please run 'autoreconf -f -i' and then rerun this script.]) + fi]) # m4_sinclude includes the file if it exists at autoreconf time m4_sinclude(premium/config.m4) AC_SUBST(PREMIUM_DIR)