summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-19 03:25:40 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-19 03:25:40 +0100
commitdd77c8383c1a759e909ac3185160cfed6e765b9c (patch)
treece13a44ec0e3d7e4b2c578e22a4488d66111551c /configure.ac
parent30b99053ed08eb6260b4f9fc6f39634e8953d6e5 (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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])