changeset 16720:e0000e05133f

Check for libmail, maillock.h and touchlock (for movemail).
author Richard M. Stallman <rms@gnu.org>
date Wed, 18 Dec 1996 18:11:20 +0000
parents 0bbc2e3d4bd7
children 66dd9b7649cc
files configure.in
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Dec 18 16:41:59 1996 +0000
+++ b/configure.in	Wed Dec 18 18:11:20 1996 +0000
@@ -1462,6 +1462,12 @@
 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
 AC_CHECK_LIB(m, sqrt)
 
+# Check for mail-locking functions in a "mail" library
+AC_CHECK_LIB(mail, maillock,
+	     AC_DEFINE(HAVE_LIBMAIL)
+	     AC_CHECK_FUNCS(touchlock)
+	     AC_CHECK_HEADERS(maillock.h))
+
 AC_CHECK_FUNCS(gettimeofday gethostname getdomainname dup2 \
 rename closedir mkdir rmdir sysinfo \
 random lrand48 bcopy bcmp logb frexp fmod ftime res_init setsid \