summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-02-16 22:38:52 +0000
committerStefan Fritsch <sf@apache.org>2011-02-16 22:38:52 +0000
commit0db0515ac74d10bfabf7bfaa04159c55ddcf369f (patch)
tree8b8644638615c90c8fc6e09bd7dead20c5472db0 /configure.in
parentda84e719048691857ec81f7407c04efc45458559 (diff)
downloadhttpd-0db0515ac74d10bfabf7bfaa04159c55ddcf369f.tar.gz
Fix link errors for crypt() with --no-add-needed/--no-copy-dt-needed-entries,
which is the default for the gold linker. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1071426 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0f4142435f..6539f40cf7 100644
--- a/configure.in
+++ b/configure.in
@@ -414,6 +414,13 @@ MATH_LIBS="$LIBS"
APACHE_SUBST(MATH_LIBS)
LIBS="$saved_LIBS"
+saved_LIBS="$LIBS"
+LIBS=""
+AC_SEARCH_LIBS(crypt, crypt)
+CRYPT_LIBS="$LIBS"
+APACHE_SUBST(CRYPT_LIBS)
+LIBS="$saved_LIBS"
+
dnl See Comment #Spoon
AC_CHECK_FUNCS( \