]> git.sur5r.net Git - i3/i3/blobdiff - configure.ac
configure.ac: verify macros in m4/ are being replaced (Thanks sur5r) (#2571)
[i3/i3] / configure.ac
index 1a91b3b1d35202e1bdf10e72b9036505c44e16a1..b57f9efaf3eb793dcfe3d585ff641a6b768b342b 100644 (file)
@@ -15,6 +15,12 @@ AC_CONFIG_SRCDIR([libi3/ipc_recv_message.c])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
+dnl Verify macros defined in m4/ such as AX_SANITIZERS are not present in the
+dnl output, i.e. are replaced as expected. This line results in a better error
+dnl message when using aclocal < 1.13 (which does not understand
+dnl AC_CONFIG_MACRO_DIR) without passing the -I m4 parameter.
+m4_pattern_forbid([AX_SANITIZERS])
+
 # Verify we are using GNU make because we use '%'-style pattern rules in
 # Makefile.am, which are a GNU make extension. Pull requests to replace
 # '%'-style pattern rules with a more portable alternative are welcome.