minor tidy-up to configury.

This commit is contained in:
Ozkan Sezer 2021-11-22 05:00:02 +03:00
parent c97b721868
commit 1927c08036
2 changed files with 6 additions and 16 deletions

5
configure vendored
View File

@ -16389,7 +16389,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
@ -16422,7 +16421,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
@ -16455,7 +16453,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
@ -16488,7 +16485,6 @@ case "$host" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
@ -26151,7 +26147,6 @@ $as_echo_n "checking for linker option --enable-new-dtags... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {

View File

@ -248,8 +248,7 @@ case "$host" in
*) *)
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--no-undefined" LDFLAGS="$LDFLAGS -Wl,--no-undefined"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
]],[])], [
have_no_undefined=yes have_no_undefined=yes
BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined" BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
],[]) ],[])
@ -264,8 +263,7 @@ case "$host" in
*) *)
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--dynamicbase" LDFLAGS="$LDFLAGS -Wl,--dynamicbase"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
]],[])], [
have_dynamicbase=yes have_dynamicbase=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--dynamicbase" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--dynamicbase"
],[]) ],[])
@ -280,8 +278,7 @@ case "$host" in
*) *)
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--nxcompat" LDFLAGS="$LDFLAGS -Wl,--nxcompat"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
]],[])], [
have_nxcompat=yes have_nxcompat=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--nxcompat" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--nxcompat"
],[]) ],[])
@ -296,8 +293,7 @@ case "$host" in
*) *)
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--high-entropy-va" LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
]],[])], [
have_high_entropy_va=yes have_high_entropy_va=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--high-entropy-va" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--high-entropy-va"
],[]) ],[])
@ -4516,8 +4512,7 @@ if test "x$enable_rpath" = "xyes" -a "x$enable_shared" = "xyes"; then
have_enable_new_dtags=no have_enable_new_dtags=no
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags" LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [
]],[])], [
have_enable_new_dtags=yes have_enable_new_dtags=yes
SDL_RLD_FLAGS="$SDL_RLD_FLAGS -Wl,--enable-new-dtags" SDL_RLD_FLAGS="$SDL_RLD_FLAGS -Wl,--enable-new-dtags"
],[]) ],[])