From b9dd8d380902a9fb640f56d24d0809706c0ee56e Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sat, 3 Mar 2018 20:55:31 +0100 Subject: [PATCH] Give warning at configure.ac, if SDL/GLEW is not available --- configure.ac | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index baf06b8..06a906f 100644 --- a/configure.ac +++ b/configure.ac @@ -33,8 +33,22 @@ AS_IF([test "x$with_sdl2" != xno], [PKG_CHECK_MODULES(sdl2, sdl2 >= 2.0, with_sd AS_IF([test "x$with_glew" != xno], [PKG_CHECK_MODULES(glew, glew >= 1.13, with_glew=yes, with_glew=no)]) AM_CONDITIONAL(HAVE_SDL2, test "x$with_sdl2" == "xyes" ) AM_CONDITIONAL(HAVE_GLEW, test "x$with_glew" == "xyes" ) -AS_IF([test "x$with_sdl2" == "xyes"],[AC_MSG_NOTICE( Compiling with SDL2 support )], [AC_MSG_NOTICE( SDL2 not supported. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. )]) -AS_IF([test "x$with_glew" == "xyes"],[AC_MSG_NOTICE( Compiling with GLEW support )], [AC_MSG_NOTICE( GLEW not supported. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. )]) +AS_IF([test "x$with_sdl2" == "xyes"],[AC_MSG_NOTICE( Compiling with SDL2 support )], [AC_MSG_NOTICE( SDL2 not supported. + +Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. + +********************************************************************** +NOTE: This package is manatory. The games will not compile without it. +********************************************************************** +)]) +AS_IF([test "x$with_glew" == "xyes"],[AC_MSG_NOTICE( Compiling with GLEW support )], [AC_MSG_NOTICE( GLEW not supported. + +Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. + +********************************************************************** +NOTE: This package is manatory. The games will not compile without it. +********************************************************************** +)]) AC_OUTPUT( src/libcpu/Makefile -- 2.13.6