From dd77c8383c1a759e909ac3185160cfed6e765b9c Mon Sep 17 00:00:00 2001 From: "Diego E. 'Flameeyes' Pettenò" Date: Wed, 19 Nov 2008 03:25:40 +0100 Subject: Check if the linker has an option to refuse undefined references. This ensures that hte library will be built in a way that will not fail when --as-needed is used. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d6a505e..d08f1b9 100644 --- a/configure.ac +++ b/configure.ac @@ -83,6 +83,8 @@ ACF_SEARCH_FUNCTION([res_query], [-lresolv, -lbind], ACX_PTHREAD +CC_NOUNDEFINED + ZP_LYNX_DOC AC_CONFIG_FILES([Makefile libasyncns/Makefile doc/Makefile doc/README.html doxygen/Makefile doxygen/doxygen.conf libasyncns.pc]) -- cgit