We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 802a6aa commit 1b8a6efCopy full SHA for 1b8a6ef
1 file changed
configure.ac
@@ -219,7 +219,12 @@ if test x"$debug_enabled" != x"yes" ; then
219
CFLAGS="-DNDEBUG $CFLAGS"
220
fi
221
222
+AS_ECHO_N(["checking to see if linker understands -z,defs... "])
223
+LDFLAGS_OLD="-Wl $LDFLAGS"
224
LDFLAGS="-Wl,-z,defs $LDFLAGS"
225
+AC_LINK_IFELSE([AC_LANG_PROGRAM()],
226
+ AS_ECHO("yes"),
227
+ AS_ECHO("no"); LDFLAGS="$LDFLAGS_OLD")
228
229
dnl
230
dnl Make sure we can actually handle the "--with-*" and "--enable-*" stuff.
0 commit comments