X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Fbuilddeps%2Fwin64%2Fsdl%2Fshare%2Faclocal%2Fsdl2.m4;fp=misc%2Fbuilddeps%2Fwin64%2Fsdl%2Fshare%2Faclocal%2Fsdl2.m4;h=0a73bc7d476a367011a3026f80afddc230c0ffb1;hp=b915f99edec28587c0aec12335849d08768475b6;hb=1e434bee7af23e6dfd2130a8eadd131e5da3d643;hpb=c40448285437999d5a83a3c9adb62c58ba8640bc diff --git a/misc/builddeps/win64/sdl/share/aclocal/sdl2.m4 b/misc/builddeps/win64/sdl/share/aclocal/sdl2.m4 index b915f99e..0a73bc7d 100644 --- a/misc/builddeps/win64/sdl/share/aclocal/sdl2.m4 +++ b/misc/builddeps/win64/sdl/share/aclocal/sdl2.m4 @@ -74,7 +74,7 @@ AC_ARG_VAR(SDL2_FRAMEWORK, [Path to SDL2.framework]) done fi - if test -d $sdl_framework; then + if test x"$sdl_framework" != x && test -d "$sdl_framework"; then AC_MSG_RESULT($sdl_framework) sdl_framework_dir=`dirname $sdl_framework` SDL_CFLAGS="-F$sdl_framework_dir -Wl,-framework,SDL2 -I$sdl_framework/include"