From ca56f6f2636d0a36a1822f4df8dcb768cc46e4dc Mon Sep 17 00:00:00 2001 From: bvarner Date: Fri, 14 Jul 2017 12:30:53 -0400 Subject: [PATCH] Ah, yeah. whoopse. --- BasiliskII/src/Unix/configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/BasiliskII/src/Unix/configure.ac b/BasiliskII/src/Unix/configure.ac index a110094a..b893b52f 100644 --- a/BasiliskII/src/Unix/configure.ac +++ b/BasiliskII/src/Unix/configure.ac @@ -226,13 +226,12 @@ if [[ "x$WANT_SDL" = "xyes" ]]; then ac_cv_framework_SDL=no fi if [[ "x$ac_cv_framework_SDL" = "xno" ]]; then - PKG_CHECK_MODULES([sdl], [sdl >= 1.2], [ - CFLAGS="$CFLAGS $SDL_CFLAGS" - CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" - ], [ + PKG_CHECK_MODULES([sdl], [sdl >= 1.2], [], [ WANT_SDL=no ]) + CFLAGS="$CFLAGS $SDL_CFLAGS" + CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" + LIBS="$LIBS $SDL_LIBS" fi SDL_SUPPORT=`echo "$SDL_SUPPORT" | sed -e "s/^ //"` else