configuration updates for dlopen:

- cmake, configure (CheckDLOPEN): --enable-sdl-dlopen is now history..
  detach the dl api discovery from SDL_LOADSO_DLOPEN functionality.
  define HAVE_DLOPEN. also define DYNAPI_NEEDS_DLOPEN (CheckDLOPEN is
  called only for relevant platforms.)
- update SDL_config.in and SDL_config.cmake accordingly.
- SDL_dynapi.h: set SDL_DYNAMIC_API to 0 if DYNAPI_NEEDS_DLOPEN is
  defined, but HAVE_DLOPEN is not.
- pthread/SDL_systhread.c: conditionalize dl api use to HAVE_DLOPEN
- SDL_x11opengl.c, SDL_DirectFB_opengl.c, SDL_naclopengles.c: rely
  on HAVE_DLOPEN, not SDL_LOADSO_DLOPEN.
- SDL_config_android.h, SDL_config_iphoneos.h, SDL_config_macosx.h,
  SDL_config_pandora.h, and SDL_config_wiz.h: define HAVE_DLOPEN.

Closes: https://github.com/libsdl-org/SDL/pull/4351
17 files changed
tree: 0fcad4cbaebd4c8a8ded8c15c3571274acbff712
  1. .github/
  2. acinclude/
  3. android-project/
  4. android-project-ant/
  5. build-scripts/
  6. cmake/
  7. debian/
  8. docs/
  9. include/
  10. src/
  11. test/
  12. VisualC/
  13. VisualC-WinRT/
  14. visualtest/
  15. wayland-protocols/
  16. Xcode/
  17. Xcode-iOS/
  18. .gitignore
  19. Android.mk
  20. autogen.sh
  21. BUGS.txt
  22. cmake_uninstall.cmake.in
  23. CMakeLists.txt
  24. configure
  25. configure.ac
  26. CREDITS.txt
  27. INSTALL.txt
  28. LICENSE.txt
  29. Makefile.in
  30. Makefile.minimal
  31. Makefile.os2
  32. Makefile.pandora
  33. Makefile.psp
  34. Makefile.wiz
  35. README-SDL.txt
  36. README.md
  37. sdl2-config-version.cmake.in
  38. sdl2-config.cmake.in
  39. sdl2-config.in
  40. sdl2.m4
  41. sdl2.pc.in
  42. SDL2.spec.in
  43. SDL2Config.cmake
  44. TODO.txt
  45. WhatsNew.txt
README.md

Simple DirectMedia Layer (SDL) Version 2.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)