summaryrefslogtreecommitdiffstats
path: root/m4/nsl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/nsl.m4')
-rw-r--r--m4/nsl.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/nsl.m4 b/m4/nsl.m4
new file mode 100644
index 0000000..f0b9bf9
--- /dev/null
+++ b/m4/nsl.m4
@@ -0,0 +1,6 @@
+AC_DEFUN([DOVECOT_NSL], [
+ AC_SEARCH_LIBS([inet_aton], [resolv])
+ AC_SEARCH_LIBS([gethostbyname], [nsl])
+ AC_SEARCH_LIBS([socket], [socket])
+ AC_SEARCH_LIBS([gethostent], [nsl])
+])