minor tidy-up to configury.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
diff --git a/configure b/configure
index 3f5880e..5c688cc 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 43df929..7e4b92c 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"
],[])