From 1927c08036db3cebb5e9e76d02ab837fbd18ef5f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 22 Nov 2021 05:00:02 +0300
Subject: [PATCH] minor tidy-up to configury.
---
configure | 5 -----
configure.ac | 17 ++++++-----------
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/configure b/configure
index 3f5880ee1e..5c688cc114 100755
--- a/configure
+++ b/configure
@@ -16389,7 +16389,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-
int
main ()
{
@@ -16422,7 +16421,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-
int
main ()
{
@@ -16455,7 +16453,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-
int
main ()
{
@@ -16488,7 +16485,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-
int
main ()
{
@@ -26151,7 +26147,6 @@ $as_echo_n "checking for linker option --enable-new-dtags... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-
int
main ()
{
diff --git a/configure.ac b/configure.ac
index 43df9299c3..7e4b92c72f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -248,8 +248,7 @@ case "$host" in
*)
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- ]],[])], [
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
have_no_undefined=yes
BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
],[])
@@ -264,8 +263,7 @@ case "$host" in
*)
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--dynamicbase"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- ]],[])], [
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
have_dynamicbase=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--dynamicbase"
],[])
@@ -280,8 +278,7 @@ case "$host" in
*)
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--nxcompat"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- ]],[])], [
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
have_nxcompat=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--nxcompat"
],[])
@@ -296,8 +293,7 @@ case "$host" in
*)
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- ]],[])], [
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
have_high_entropy_va=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--high-entropy-va"
],[])
@@ -3817,7 +3813,7 @@ case "$host" in
fi
# Set up files for udev hotplugging support
if test x$enable_libudev = xyes && test x$have_libudev_h_hdr = xyes; then
- SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c"
+ SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c"
fi
# Set up files for evdev input
if test x$use_input_events = xyes; then
@@ -4516,8 +4512,7 @@ if test "x$enable_rpath" = "xyes" -a "x$enable_shared" = "xyes"; then
have_enable_new_dtags=no
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- ]],[])], [
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
have_enable_new_dtags=yes
SDL_RLD_FLAGS="$SDL_RLD_FLAGS -Wl,--enable-new-dtags"
],[])