Alexandre Julliard : configure: Fix notice message for libSDL2.
Alexandre Julliard
julliard at winehq.org
Thu Feb 22 15:07:47 CST 2018
Module: wine
Branch: master
Commit: bdab9bd2c90f591490a3799663e8754eeb3718ec
URL: https://source.winehq.org/git/wine.git/?a=commit;h=bdab9bd2c90f591490a3799663e8754eeb3718ec
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Feb 22 20:35:42 2018 +0100
configure: Fix notice message for libSDL2.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index d5fce3c..7ef096d 100755
--- a/configure
+++ b/configure
@@ -13227,7 +13227,7 @@ test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)
test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
fi
-if test "x$SDL_LIBS" = "x"; then :
+if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
case "x$with_sdl" in
x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
xno) ;;
diff --git a/configure.ac b/configure.ac
index cd7a785..7b796ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1601,7 +1601,7 @@ then
[AC_CHECK_HEADERS([SDL2/SDL.h],
[WINE_CHECK_SONAME(SDL2,SDL_Init,,,,[[libSDL2-2.0*]])])])
fi
-WINE_NOTICE_WITH(sdl,[test "x$SDL_LIBS" = "x"],
+WINE_NOTICE_WITH(sdl,[test "x$ac_cv_lib_soname_SDL2" = "x"],
[libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.])
dnl **** Check for capi4linux ****
More information about the wine-cvs
mailing list