configure: enable sdl if sdl2 is enabled

sdl is supposed to be an alias, so it should have the same value.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
pull/242/head
Andreas Cadhalpun 8 years ago
parent 51c673a0d7
commit c50d591ce2
  1. 2
      configure

2
configure vendored

@ -5894,7 +5894,7 @@ if ! disabled sdl2; then
sdl2_libs="$sdl2_libs -mconsole" sdl2_libs="$sdl2_libs -mconsole"
fi fi
fi fi
enabled sdl2 && add_cflags $sdl2_cflags && add_extralibs $sdl2_libs enabled sdl2 && enable sdl && add_cflags $sdl2_cflags && add_extralibs $sdl2_libs
disabled securetransport || { check_func SecIdentityCreate "-Wl,-framework,CoreFoundation -Wl,-framework,Security" && disabled securetransport || { check_func SecIdentityCreate "-Wl,-framework,CoreFoundation -Wl,-framework,Security" &&
check_lib2 "Security/SecureTransport.h Security/Security.h" "SSLCreateContext SecItemImport" "-Wl,-framework,CoreFoundation -Wl,-framework,Security" && check_lib2 "Security/SecureTransport.h Security/Security.h" "SSLCreateContext SecItemImport" "-Wl,-framework,CoreFoundation -Wl,-framework,Security" &&

Loading…
Cancel
Save