aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 7cc99b41..78ba44e1 100755
--- a/configure
+++ b/configure
@@ -318,6 +318,14 @@ fi;
echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
+for i in /lib /usr/lib /usr/local/lib; do
+ if [ -e $i/libresolv.a ]; then
+ echo '#define HAVE_RESOLV_A' >> config.h
+ echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
+ break
+ fi
+done
+
STORAGES="text xml"
if [ "$ldap" = "auto" ]; then