Skip to content

Commit 4900c24

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libvisual/configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ AC_HEADER_DIRENT
112112
AC_CHECK_HEADERS([fcntl.h sys/types.h stdlib.h string.h sys/time.h unistd.h sched.h sys/sched.h])
113113

114114
# Checks for typedefs, structures, and compiler characteristics.
115+
m4_pattern_forbid([^AX_CXX_COMPILE_STDCXX_11$])
115116
AX_CXX_COMPILE_STDCXX_11([noext], [mandatory])
116117
AC_C_CONST
117118
AC_C_INLINE
@@ -216,6 +217,7 @@ if test x$enable_threads = xyes; then
216217
[have_threads=dce],[])
217218
fi
218219
if test "x$have_threads" = xnone; then
220+
m4_pattern_forbid([^PKG_CHECK_MODULES$])
219221
PKG_CHECK_MODULES(GTHREAD2, gthread-2.0 >= 2.2.0, [have_gthread2="yes"], [have_gthread2="no"])
220222
if test x"$have_gthread2" = xyes; then
221223
have_threads=gthread2
@@ -396,6 +398,7 @@ fi
396398
if test x$lv_tool_enabled = xyes -o x$examples = xyes ; then
397399
# Find SDL 1.x.x
398400
# On success, this will set and substitute SDL_CFLAGS and SDL_LIBS
401+
m4_pattern_forbid([^PKG_CHECK_MODULES$])
399402
PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [], [
400403
AC_MSG_ERROR([*** SDL 1.2.x not installed - please install first])
401404
])

0 commit comments

Comments
 (0)