Turning --no-undefined back on, to see what platforms are still broken.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 14 Nov 2013 20:24:15 -0500
changeset 79889f15374d872d
parent 7987 0f8c3cbcec54
child 7989 c13adfce24a9
Turning --no-undefined back on, to see what platforms are still broken.
configure.in
     1.1 --- a/configure.in	Thu Nov 14 20:24:40 2013 -0500
     1.2 +++ b/configure.in	Thu Nov 14 20:24:15 2013 -0500
     1.3 @@ -204,19 +204,18 @@
     1.4      fi
     1.5  fi
     1.6  
     1.7 -# Actually this doesn't work on OpenBSD
     1.8 -#AC_MSG_CHECKING(for linker option --no-undefined)
     1.9 -#have_no_undefined=no
    1.10 -#save_LDFLAGS="$LDFLAGS"
    1.11 -#LDFLAGS="$LDFLAGS -Wl,--no-undefined"
    1.12 -#AC_TRY_LINK([
    1.13 -#],[
    1.14 -#],[
    1.15 -#have_no_undefined=yes
    1.16 -#EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
    1.17 -#])
    1.18 -#LDFLAGS="$save_LDFLAGS"
    1.19 -#AC_MSG_RESULT($have_no_undefined)
    1.20 +AC_MSG_CHECKING(for linker option --no-undefined)
    1.21 +have_no_undefined=no
    1.22 +save_LDFLAGS="$LDFLAGS"
    1.23 +LDFLAGS="$LDFLAGS -Wl,--no-undefined"
    1.24 +AC_TRY_LINK([
    1.25 +],[
    1.26 +],[
    1.27 +have_no_undefined=yes
    1.28 +EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
    1.29 +])
    1.30 +LDFLAGS="$save_LDFLAGS"
    1.31 +AC_MSG_RESULT($have_no_undefined)
    1.32  
    1.33  dnl See whether we are allowed to use the system C library
    1.34  AC_ARG_ENABLE(libc,