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 7988 9f15374d872d
parent 7987 0f8c3cbcec54
child 7989 c13adfce24a9
Turning --no-undefined back on, to see what platforms are still broken.
configure.in
--- a/configure.in	Thu Nov 14 20:24:40 2013 -0500
+++ b/configure.in	Thu Nov 14 20:24:15 2013 -0500
@@ -204,19 +204,18 @@
     fi
 fi
 
-# Actually this doesn't work on OpenBSD
-#AC_MSG_CHECKING(for linker option --no-undefined)
-#have_no_undefined=no
-#save_LDFLAGS="$LDFLAGS"
-#LDFLAGS="$LDFLAGS -Wl,--no-undefined"
-#AC_TRY_LINK([
-#],[
-#],[
-#have_no_undefined=yes
-#EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
-#])
-#LDFLAGS="$save_LDFLAGS"
-#AC_MSG_RESULT($have_no_undefined)
+AC_MSG_CHECKING(for linker option --no-undefined)
+have_no_undefined=no
+save_LDFLAGS="$LDFLAGS"
+LDFLAGS="$LDFLAGS -Wl,--no-undefined"
+AC_TRY_LINK([
+],[
+],[
+have_no_undefined=yes
+EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
+])
+LDFLAGS="$save_LDFLAGS"
+AC_MSG_RESULT($have_no_undefined)
 
 dnl See whether we are allowed to use the system C library
 AC_ARG_ENABLE(libc,