mirror of https://github.com/encounter/SDL.git
minor tidy-up to configury.
This commit is contained in:
parent
c97b721868
commit
1927c08036
|
@ -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 ()
|
||||
{
|
||||
|
|
15
configure.ac
15
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"
|
||||
],[])
|
||||
|
@ -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"
|
||||
],[])
|
||||
|
|
Loading…
Reference in New Issue