diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-11-29 06:58:58 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-11-29 06:58:58 +0800 |
commit | e365109fdc5f0fb5c2929c7fa14720fbcc86ad37 (patch) | |
tree | adba723835412f0622ea2b12a1e7521189533dd1 /configure.in | |
parent | 06a83735415c1cd4e037839ce352e7d2d074be37 (diff) | |
download | gsoc2013-evolution-e365109fdc5f0fb5c2929c7fa14720fbcc86ad37.tar.gz gsoc2013-evolution-e365109fdc5f0fb5c2929c7fa14720fbcc86ad37.tar.zst gsoc2013-evolution-e365109fdc5f0fb5c2929c7fa14720fbcc86ad37.zip |
Add USE_FLOCK, USE_FCNTL, USE_FLOCK
2000-11-28 JP Rosevear <jpr@helixcode.com>
* acconfig.h: Add USE_FLOCK, USE_FCNTL, USE_FLOCK
* configure.in: Auto* magic for various camel locking types
2000-11-28 JP Rosevear <jpr@helixcode.com>
* camel-lock.c: No longer hard code the enabled lock types
svn path=/trunk/; revision=6703
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 2065ce0cfa..4e616ee2b9 100644 --- a/configure.in +++ b/configure.in @@ -187,6 +187,33 @@ AC_SUBST(THREADS_LIBS) AC_SUBST(THREADS_CFLAGS) dnl ************************************************** +dnl * File locking +dnl ************************************************** + +AC_ARG_ENABLE(dot-locking, +[ --enable-dot-locking=[yes/no] Enable support for locking mail files with dot locking],,enable_dot_locking=yes) +if test "x$enable_dot_locking" = "xyes"; then + AC_DEFINE(USE_DOT) + msg_dot=Yes +else + msg_dot=No +fi + +AC_ARG_ENABLE(file-locking, +[ --enable-file-locking=[fcntl/flock/no] Enable support for locking mail files with file locking],,enable_file_locking=fcntl) +if test "x$enable_file_locking" = "xfcntl"; then + AC_DEFINE(USE_FCNTL) + msg_file=fcntl +else + if test "x$enable_file_locking" = "xflock"; then + AC_DEFINE(USE_FLOCK) + msg_file=flock + else + msg_file=No + fi +fi + +dnl ************************************************** dnl * Print check dnl ************************************************** AC_MSG_CHECKING(for GnomePrint libraries version either 0.20 or later) @@ -710,6 +737,8 @@ echo " LDAP support: $msg_ldap Pilot conduits: $msg_pilot Kerberos 4/5: $msg_krb4/$msg_krb5 - Use movemail: $with_movemail + Use movemail: $with_movemail + Dot Locking: $msg_dot + File Locking: $msg_file Crypto support: $msg_crypto " |