]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3752] backport #3697 to 2.6.2
authorRazvan Becheriu <razvan@isc.org>
Thu, 20 Feb 2025 09:20:42 +0000 (11:20 +0200)
committerRazvan Becheriu <razvan@isc.org>
Thu, 20 Feb 2025 09:20:42 +0000 (11:20 +0200)
configure.ac

index cc1b31af713292d81da059ab2a1badc442fa600c..28a6c69b48dc814fe8ad63d41adf58a625cedc20 100644 (file)
@@ -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)