Skip to content

Commit f228b4a

Browse files
committed
Plugins: configure.ac: Be more helpful in absence of autoconf-archive and/or pkg.m4
Suggested-by: Eli Schwartz <[email protected]>
1 parent d604ed8 commit f228b4a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

libvisual-plugins/configure.ac

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ m4_define([lv_plugins_version_micro], [2])
88
m4_define([lv_plugins_version], [lv_plugins_version_major.lv_plugins_version_minor.lv_plugins_version_micro])
99
m4_define([lv_plugins_version_suffix], [lv_plugins_version_major.lv_plugins_version_minor])
1010

11+
dnl We're collecting all names of used macros that are not core GNU Autoconf
12+
dnl (but e.g. from autoconf-archive or pkg.m4) so that users running autoconf
13+
dnl get proper error messages about missing macros at autoconf runtime rather
14+
dnl than weird error messages from broken shell code later at configure runtime.
15+
m4_pattern_forbid([^AX_CHECK_GL$])
16+
m4_pattern_forbid([^AX_CHECK_GLU$])
17+
m4_pattern_forbid([^AX_CXX_COMPILE_STDCXX_11$])
18+
m4_pattern_forbid([^PKG_CHECK_MODULES$])
19+
m4_pattern_forbid([^PKG_PROG_PKG_CONFIG$])
20+
1121
AC_INIT([Libvisual plugins], [lv_plugins_version], [https://github.com/Libvisual/libvisual/issues], [libvisual-plugins], [https://github.com/Libvisual/libvisual])
1222
AM_INIT_AUTOMAKE([1.7.0 dist-bzip2])
1323

0 commit comments

Comments
 (0)