minor tweak for a slightly smaller configure script

This commit is contained in:
Ozkan Sezer 2021-11-16 23:33:32 +03:00
parent 68ffd24c58
commit 29b79313a0
2 changed files with 21 additions and 14 deletions

7
configure vendored
View File

@ -21517,6 +21517,7 @@ fi
if test x$have_xfixes_h_hdr = xyes; then
if test x$enable_x11_shared = xyes && test x$xfixes_lib != x ; then
echo "-- dynamic libXfixes -> $xfixes_lib"
cat >>confdefs.h <<_ACEOF
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES "$xfixes_lib"
_ACEOF
@ -21571,6 +21572,7 @@ fi
fi
fi
if test x$definitely_enable_video_x11_xfixes = xyes; then
$as_echo "#define SDL_VIDEO_DRIVER_X11_XFIXES 1" >>confdefs.h
SUMMARY_video_x11="${SUMMARY_video_x11} xfixes"
@ -24225,6 +24227,7 @@ fi
CheckDLOPEN()
{
$as_echo "#define DYNAPI_NEEDS_DLOPEN 1" >>confdefs.h
@ -24325,9 +24328,11 @@ $as_echo_n "checking for dlopen... " >&6; }
$as_echo "$have_dlopen" >&6; }
if test x$have_dlfcn_h = xyes -a x$have_dlopen = xyes; then
$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
if test x$enable_loadso = xyes; then
$as_echo "#define SDL_LOADSO_DLOPEN 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/loadso/dlopen/*.c"
@ -24777,6 +24782,7 @@ $as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic li
if test x$libusb_lib = x; then
libusb_lib=`find_lib "libusb-1.0.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`
fi
cat >>confdefs.h <<_ACEOF
#define SDL_LIBUSB_DYNAMIC "$libusb_lib"
_ACEOF
@ -24792,6 +24798,7 @@ $as_echo "$hidapi_support" >&6; }
fi
if test x$enable_joystick = xyes -a x$hidapi_support = xyes -a x$enable_hidapi_joystick = xyes; then
$as_echo "#define SDL_JOYSTICK_HIDAPI 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"