Skip to content

Commit

Permalink
Plugins: configure.ac: Be more helpful in absence of autoconf-archive…
Browse files Browse the repository at this point in the history
… and/or pkg.m4

Suggested-by: Eli Schwartz <eschwartz93@gmail.com>
  • Loading branch information
hartwork committed Nov 17, 2024
1 parent d604ed8 commit f228b4a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libvisual-plugins/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ m4_define([lv_plugins_version_micro], [2])
m4_define([lv_plugins_version], [lv_plugins_version_major.lv_plugins_version_minor.lv_plugins_version_micro])
m4_define([lv_plugins_version_suffix], [lv_plugins_version_major.lv_plugins_version_minor])

dnl We're collecting all names of used macros that are not core GNU Autoconf
dnl (but e.g. from autoconf-archive or pkg.m4) so that users running autoconf
dnl get proper error messages about missing macros at autoconf runtime rather
dnl than weird error messages from broken shell code later at configure runtime.
m4_pattern_forbid([^AX_CHECK_GL$])
m4_pattern_forbid([^AX_CHECK_GLU$])
m4_pattern_forbid([^AX_CXX_COMPILE_STDCXX_11$])
m4_pattern_forbid([^PKG_CHECK_MODULES$])
m4_pattern_forbid([^PKG_PROG_PKG_CONFIG$])

AC_INIT([Libvisual plugins], [lv_plugins_version], [https://github.com/Libvisual/libvisual/issues], [libvisual-plugins], [https://github.com/Libvisual/libvisual])
AM_INIT_AUTOMAKE([1.7.0 dist-bzip2])

Expand Down

0 comments on commit f228b4a

Please sign in to comment.