summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-18 18:11:20 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-18 18:11:20 +0000
commitd21f1d5d888972af90264e9046697dd5e5c6247c (patch)
treee69b11c3e32c8abe96843a0af55cd4cfdddb3bfc /configure.in
parentc761a3a51067d80ee28ffefa36f1977663c5753d (diff)
downloademacs-d21f1d5d888972af90264e9046697dd5e5c6247c.tar.gz
Check for libmail, maillock.h and touchlock (for movemail).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f455391be2b..33a58b43a98 100644
--- a/configure.in
+++ b/configure.in
@@ -1462,6 +1462,12 @@ AC_FUNC_ALLOCA
# 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 \