aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-07 19:46:28 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-07 19:46:28 +0200
commit36e9f62a6e6fdb1217b3b819320ac5a94025c448 (patch)
treec91d57d1f8fa144e1ffce2ae3143de5b30460b0c /configure
parent090f1cbe72373b31e753af4a1442ddd53b02791b (diff)
Added SRV lookups to automatically find out the correct server for a
domain.
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